[go: up one dir, main page]

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!)
A368885 The number of unitary divisors of n that are squares of a squarefree number (A062503). 2
1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
First differs from A294932 at n = 32.
The largest of these divisors is A368884(n).
LINKS
FORMULA
Multiplicative with a(p^e) = 2 if e = 2, and 1 otherwise.
a(n) >= 1, with equality if and only if n is in A337050.
a(n) <= A034444(n), with equality if and only if n is in A062503.
Dirichlet g.f.: zeta(s) * Product_{p prime} (1 + 1/p^(2*s) - 1/p^(3*s)).
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = Product_{p prime} (1 + 1/p^2 - 1/p^3) = 1.30596827416754083231... .
MATHEMATICA
f[p_, e_] := If[e == 2, 2, 1]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = vecprod(apply(x->if(x==2, 2, 1), factor(n)[, 2]));
(Python)
from sympy import factorint
def A368885(n): return 1<<sum(1 for e in factorint(n).values() if e==2) # Chai Wah Wu, Jan 09 2024
CROSSREFS
Sequence in context: A122934 A072170 A373819 * A294932 A327804 A056624
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Jan 09 2024
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 August 28 23:11 EDT 2024. Contains 375508 sequences. (Running on oeis4.)