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!)
A151759 G.f.: Theta^3, where Theta = Sum_{k>=0} x^(2^k). 5
0, 0, 0, 1, 3, 3, 4, 6, 3, 3, 6, 6, 4, 6, 6, 0, 3, 3, 6, 6, 6, 6, 6, 0, 4, 6, 6, 0, 6, 0, 0, 0, 3, 3, 6, 6, 6, 6, 6, 0, 6, 6, 6, 0, 6, 0, 0, 0, 4, 6, 6, 0, 6, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 3, 3, 6, 6, 6, 6, 6, 0, 6, 6, 6, 0, 6, 0, 0, 0, 6, 6, 6, 0, 6, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 4, 6, 6, 0, 6, 0, 0, 0, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

Number of ways to write n as an ordered sum of 3 powers of 2. - Ilya Gutkovskiy, Feb 02 2021

LINKS

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

MAPLE

b:= proc(n, t) option remember; `if`(n=0, `if`(t=0, 1, 0),

      `if`(t<1, 0, add(b(n-2^j, t-1), j=0..ilog2(n))))

    end:

a:= n-> b(n, 3):

seq(a(n), n=0..104);  # Alois P. Heinz, Feb 02 2021

CROSSREFS

Cf. A151758.

Sequence in context: A043551 A162888 A337402 * A008443 A196456 A196485

Adjacent sequences:  A151756 A151757 A151758 * A151760 A151761 A151762

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Jun 22 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 25 10:28 EDT 2021. Contains 345453 sequences. (Running on oeis4.)