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!)
A332447 a(n) = A007814(A087808(n)). 2
0, 1, 1, 2, 0, 2, 0, 3, 0, 1, 2, 3, 0, 1, 2, 4, 0, 1, 1, 2, 0, 3, 0, 4, 0, 1, 1, 2, 0, 3, 0, 5, 0, 1, 1, 2, 0, 2, 0, 3, 0, 1, 3, 4, 0, 1, 1, 5, 0, 1, 1, 2, 0, 2, 0, 3, 0, 1, 3, 4, 0, 1, 1, 6, 0, 1, 1, 2, 0, 2, 0, 3, 0, 1, 2, 3, 0, 1, 3, 4, 0, 1, 1, 2, 0, 4, 0, 5, 0, 1, 1, 2, 0, 2, 0, 6, 0, 1, 1, 2, 0, 2, 0, 3, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A007814(A087808(n)).
For n >= 0, a(2^n) = n. [These are the first occurrences of each n]
PROG
(PARI)
A087808(n) = if(n<1, 0, if(n%2==0, 2*A087808(n/2), A087808((n-1)/2)+1));
A332447(n) = valuation(A087808(n), 2);
CROSSREFS
Cf. A000079 (positions of records), A079523 (of zeros).
Sequence in context: A162660 A324848 A090330 * A132747 A301979 A183063
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 14 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 September 16 12:57 EDT 2024. Contains 375976 sequences. (Running on oeis4.)