f(n)=f(n-1)+12*(n-1), f%2