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!)
A303809 Multiplicative with a(p^k) = 2^a(k). 3
1, 2, 2, 4, 2, 4, 2, 4, 4, 4, 2, 8, 2, 4, 4, 16, 2, 8, 2, 8, 4, 4, 2, 8, 4, 4, 4, 8, 2, 8, 2, 4, 4, 4, 4, 16, 2, 4, 4, 8, 2, 8, 2, 8, 8, 4, 2, 32, 4, 8, 4, 8, 2, 8, 4, 8, 4, 4, 2, 16, 2, 4, 8, 16, 4, 8, 2, 8, 4, 8, 2, 16, 2, 4, 8, 8, 4, 8, 2, 32, 16, 4, 2, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence contains every power of 2; see A303819 for the corresponding least indices.
For any n > 0, a(n) only depends on the prime signature of n.
LINKS
FORMULA
a(n) <= n with equality iff n = A014221(k) for some k >= 0.
a(A002110(k)) = 2^k for any k >= 0.
a(n) = 2 iff n is prime.
PROG
(PARI) a(n) = my (f=factor(n)); prod (i=1, #f~, 2^a(f[i, 2]))
CROSSREFS
Sequence in context: A327730 A365348 A372330 * A193562 A249868 A255311
KEYWORD
nonn,easy,mult
AUTHOR
Rémy Sigrist, Apr 30 2018
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 10 17:06 EDT 2024. Contains 372388 sequences. (Running on oeis4.)