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!)
A162407 a(n) = A162406(n+1) - A162406(n). 2
1, 2, 1, 4, 5, 2, 1, 4, 9, 5, 5, 4, 5, 14, 1, 16, 17, 9, 9, 5, 21, 5, 5, 4, 9, 5, 5, 14, 14, 30, 1, 16, 16, 17, 35, 9, 9, 9, 9, 40, 9, 21, 21, 44, 5, 14, 5, 16, 49, 9, 9, 5, 21, 5, 5, 14, 14, 14, 14, 30, 30, 30, 63, 64, 16, 16, 16, 17, 17, 35, 35, 9, 9, 9, 9, 9, 9, 14, 9, 80, 40, 9, 9, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

a(j) can only equal some A162406(k). [Robert G. Wilson v, Aug 01 2009]

LINKS

Table of n, a(n) for n=0..83.

MATHEMATICA

a[0] = 1; a[n_] := a[n] = a[n - 1] + Max@ Select[ Table[a@i, {i, 0, n - 1}], StringPosition[ ToString@ FromDigits@ IntegerDigits[n, 2], ToString@ FromDigits@ IntegerDigits[ #, 2]] != {} &]; t = Table[ a@n, {n, 0, 100}]; Rest@t - Most@t (* Robert G. Wilson v, Aug 01 2009 *)

CROSSREFS

Cf. A162405, A162406.

Sequence in context: A159971 A114158 A248666 * A352458 A132741 A072436

Adjacent sequences: A162404 A162405 A162406 * A162408 A162409 A162410

KEYWORD

base,nonn

AUTHOR

Leroy Quet, Jul 02 2009

EXTENSIONS

More terms beginning with a(11) from Robert G. Wilson v, Aug 01 2009

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 December 1 05:02 EST 2022. Contains 358454 sequences. (Running on oeis4.)