|
|
A332476
|
|
The number of unitary divisors of n in Gaussian integers.
|
|
3
|
|
|
1, 2, 2, 2, 4, 4, 2, 2, 2, 8, 2, 4, 4, 4, 8, 2, 4, 4, 2, 8, 4, 4, 2, 4, 4, 8, 2, 4, 4, 16, 2, 2, 4, 8, 8, 4, 4, 4, 8, 8, 4, 8, 2, 4, 8, 4, 2, 4, 2, 8, 8, 8, 4, 4, 8, 4, 4, 8, 2, 16, 4, 4, 4, 2, 16, 8, 2, 8, 4, 16, 2, 4, 4, 8, 8, 4, 4, 16, 2, 8, 2, 8, 2, 8, 16
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Multiplicative with a(p^e) = 4 if p == 1 (mod 4) and 2 otherwise.
|
|
EXAMPLE
|
a(2) = 2 since 2 = -i * (1 + i)^2, so it has 2 unitary divisors (up to associates): 1 and (1 + i)^2.
|
|
MATHEMATICA
|
f[p_, e_] := If[Abs[p] == 1, 1, 2]; a[n_] := Times @@ f @@@ FactorInteger[n, GaussianIntegers -> True]; Array[a, 100]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,mult
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|