login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A254111 One-based column index of n in A254105: If A234017(n) = 0, then a(n) = 1, otherwise a(n) = 1 + a(A234017(n)). 8
1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 5, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 6, 5, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 5, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 4, 3, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2, 1, 1, 7, 6, 5, 4, 3, 2, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

If A234017(n) = 0, then a(n) = 1, otherwise a(n) = 1 + a(A234017(n)).

PROG

(Scheme, with memoizing macro definec)

(definec (A254111 n) (if (zero? (A234017 n)) 1 (+ 1 (A254111 (A234017 n)))))

CROSSREFS

One more than A254110.

Column index of n in A254105, Row index for A254107.

Cf. A234017, A254112.

Sequence in context: A337243 A296774 A066099 * A234246 A006375 A327520

Adjacent sequences: A254108 A254109 A254110 * A254112 A254113 A254114

KEYWORD

nonn

AUTHOR

Antti Karttunen, Jan 27 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 30 05:38 EST 2022. Contains 358431 sequences. (Running on oeis4.)