OFFSET
1,4
COMMENTS
Note that a(n)=0 when n is in A004614, the product of real Gaussian primes. It appears that all terms are nonnegative.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from T. D. Noe)
MATHEMATICA
phi[z_] := Module[{f, k, prod}, If[Abs[z]==1, z, f=FactorInteger[z, GaussianIntegers->True]; If[Abs[f[[1, 1]]]==1, k=2; prod=f[[1, 1]], k=1; prod=1]; Do[prod=prod*(f[[i, 1]]-1)f[[i, 1]]^(f[[i, 2]]-1), {i, k, Length[f]}]; prod]]; Im[Table[phi[n], {n, 100}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jan 26 2005
STATUS
approved