The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A372381 The number of divisors of the largest divisor of n whose number of divisors is a power of 2. 2
1, 2, 2, 2, 2, 4, 2, 4, 2, 4, 2, 4, 2, 4, 4, 4, 2, 4, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 4, 4, 2, 4, 4, 8, 2, 8, 2, 4, 4, 4, 2, 8, 2, 4, 4, 4, 2, 8, 4, 8, 4, 4, 2, 8, 2, 4, 4, 4, 4, 8, 2, 4, 4, 8, 2, 8, 2, 4, 4, 4, 4, 8, 2, 8, 4, 4, 2, 8, 4, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
First differs from A286324 at n = 32, and from A331109 at n = 64.
Also, the number of infinitary divisors of the largest divisor of n whose number of divisors is a power of 2.
LINKS
FORMULA
Multiplicative with a(p^e) = 2^floor(log_2(e+1)).
a(n) = A000005(A372379(n)).
a(n) = A037445(A372379(n)).
a(n) = A000005(n) if and only if n is in A036537.
a(n) <= A372380(n), with equality if and only if n is cubefree (A004709).
MATHEMATICA
f[p_, e_] := 2^Floor[Log2[e + 1]]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = vecprod(apply(x -> 2^exponent(x+1), factor(n)[, 2]));
(Python)
from math import prod
from sympy import factorint
def A372381(n): return prod(1<<(e+1).bit_length()-1 for e in factorint(n).values()) # Chai Wah Wu, Apr 30 2024
CROSSREFS
Sequence in context: A335385 A037445 A318307 * A331109 A286324 A318472
KEYWORD
nonn,easy,mult
AUTHOR
Amiram Eldar, Apr 29 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 May 28 19:55 EDT 2024. Contains 372919 sequences. (Running on oeis4.)