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!)
A254046 Column index of n in A191450: a(3n) = 1, a(3n+1) = 1, a(3n+2) = 1 + a(n+1). 10
1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 5, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1, 2, 1, 1, 6, 1, 1, 2, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Equally, the row index of n in A254051.

a(n) is the 3-adic valuation of A087289(n-1). - Fred Daniel Kline, Jan 11 2017

LINKS

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

FORMULA

a(3n) = 1, a(3n+1) = 1, a(3n+2) = 1 + a(n+1).

a(n) = A253786(n) + 1.

a(n) = A253786(3n-1). - Cyril Damamme, Aug 04 2015

a(n) = A051064(2n-1), i.e., the 3-adic valuation of 6n-3. - Cyril Damamme, Aug 04 2015

PROG

(Scheme, with memoization-macro definec)

(definec (A254046 n) (if (= 2 (modulo n 3)) (+ 1 (A254046 (/ (+ 1 n) 3))) 1))

CROSSREFS

One more than A253786.

Cf. A253887 (the corresponding row index).

Cf. A191450, A254047, A254051, A254052.

Odd bisection of A051064.

Cf. A087289.

Sequence in context: A098824 A181651 A124032 * A137457 A275699 A305633

Adjacent sequences:  A254043 A254044 A254045 * A254047 A254048 A254049

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 24 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 May 11 19:29 EDT 2021. Contains 343808 sequences. (Running on oeis4.)