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!)
A304089 Binary weight of A304083. 4
0, 1, 2, 1, 3, 2, 1, 2, 4, 3, 2, 1, 3, 2, 3, 2, 5, 4, 3, 2, 1, 4, 3, 2, 4, 3, 2, 4, 3, 2, 3, 6, 3, 5, 4, 3, 2, 1, 5, 4, 3, 2, 5, 4, 3, 2, 5, 4, 3, 2, 4, 3, 5, 4, 3, 2, 4, 3, 4, 3, 7, 4, 3, 4, 3, 6, 5, 4, 3, 2, 1, 6, 5, 4, 3, 2, 6, 5, 4, 3, 2, 6, 5, 4, 3, 2, 5, 4, 3, 6, 5, 4, 3, 2, 5, 4, 3, 5, 4, 3, 6, 5, 4, 3, 2, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = A000120(A304083(n)).
For all n >= 0, abs(a(n+1)-a(n)) = A000120(A304083(n+1) XOR A304083(n)), where XOR is a bitwise exclusive or, A003987.
PROG
(PARI) A304089(n) = hammingweight(A304083(n)); \\ Needs also code from A304083.
CROSSREFS
Cf. also A303780.
Sequence in context: A126597 A261867 A076081 * A209281 A240554 A107338
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, May 06 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 April 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)