login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265337 Number of 1-bits in base-3 reversal of n: a(n) = A000120(A263273(n)). 4
0, 1, 1, 2, 1, 3, 2, 2, 1, 2, 2, 3, 2, 3, 3, 3, 1, 3, 2, 3, 2, 4, 3, 4, 2, 2, 3, 4, 3, 5, 4, 3, 1, 4, 4, 3, 2, 5, 4, 4, 2, 3, 2, 3, 3, 6, 2, 5, 2, 4, 3, 4, 3, 5, 4, 4, 3, 2, 3, 2, 4, 5, 3, 4, 1, 5, 3, 3, 2, 3, 3, 4, 2, 3, 5, 4, 3, 4, 4, 4, 2, 3, 3, 4, 3, 5, 6, 4, 2, 5, 4, 5, 4, 6, 5, 5, 2, 3, 4, 5, 3, 5, 3, 7, 3, 6, 4, 6, 4, 4, 4, 5, 3, 3, 5, 4, 5, 5, 5, 6, 4, 5, 4, 4, 3, 5, 4, 5, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..16384

FORMULA

a(n) = A000120(A263273(n)).

a(0) = 0, a(2n) = a(A265339(n)), a(2n+1) = 1 + a(A265339(n)).

a(n) = A265340(n) - A265336(n).

PROG

(Scheme) (definec (A265337 n) (if (zero? n) 0 (+ (A265337 (A265339 n)) (if (odd? n) 1 0))))

CROSSREFS

Cf. A000120, A263273, A265336, A265339, A265340.

Sequence in context: A057515 A300712 A282463 * A096852 A096857 A303639

Adjacent sequences:  A265334 A265335 A265336 * A265338 A265339 A265340

KEYWORD

nonn,base

AUTHOR

Antti Karttunen, Dec 18 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 13:25 EST 2020. Contains 332044 sequences. (Running on oeis4.)