login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265330 Zero-based row index to A265345; 2-adic valuation of bijective base-3 reversal of n: a(n) = A007814(A263273(n)). 4
0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 6, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 5, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 6, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 4, 0, 1, 0, 2, 0, 1, 0, 3, 0, 1, 0, 2, 0, 1, 0, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..6561

FORMULA

a(n) = A007814(A263273(n)).

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

EXAMPLE

For n = 32, in base-3 "1012" [= A007089(32)], when we reverse it, we get "2101" [= A007089(64)], and 2-adic valuation of 64 [= "1000000" = A007088(64)] is 6, thus a(32) = 6.

PROG

(Scheme, two variants)

(definec (A265330 n) (if (odd? n) 0 (+ 1 (A265330 (A265352 (/ n 2))))))

(define (A265330 n) (A007814 (A263273 n)))

CROSSREFS

One less than A265331.

Cf. A007088, A007089, A263273, A265345, A265352.

Cf. A265910 (corresponding other index).

Cf. also A265336, A265337, A265340.

Differs from A007814 for the first time at n=32, where a(32) = 6, while A007814(32) = 5.

Sequence in context: A254990 A191255 A007814 * A272216 A225345 A083280

Adjacent sequences:  A265327 A265328 A265329 * A265331 A265332 A265333

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 21 04:43 EST 2018. Contains 299389 sequences. (Running on oeis4.)