login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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.
a(n) = 2^A086275(n).
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
Sequence in context: A071472 A367120 A064135 * A179651 A139560 A192095
KEYWORD
nonn,mult
AUTHOR
Amiram Eldar, Feb 13 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)