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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A151871 a(0)=1; a(1)=0; a(2)=2; for n>=3 if n=2^i + j with 0<=j<2^i then a(n)=2*a(j) + 2*a(j + 1) except we add 1 if j=2^i-1. 1
1, 0, 2, 5, 2, 4, 14, 15, 2, 4, 14, 14, 12, 36, 58, 35, 2, 4, 14, 14, 12, 36, 58, 34, 12, 36, 56, 52, 96, 188, 186, 75, 2, 4, 14, 14, 12, 36, 58, 34, 12, 36, 56, 52, 96, 188, 186, 74, 12, 36, 56, 52, 96, 188, 184, 92, 96, 184, 216, 296, 568, 748, 522, 155, 2, 4, 14, 14, 12, 36, 58 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

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

FORMULA

I would very much like a g.f. for this sequence!

CROSSREFS

Cf. A151843-A151874.

Sequence in context: A275748 A216625 A122581 * A220247 A220319 A220342

Adjacent sequences:  A151868 A151869 A151870 * A151872 A151873 A151874

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Jul 17 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 October 2 06:43 EDT 2022. Contains 357191 sequences. (Running on oeis4.)