|
| |
|
|
A151687
|
|
G.f.: x + x^2 * Prod_{ n >= 0} (1 + x^(2^n-1) + x^(2^n)).
|
|
2
| |
|
|
0, 1, 2, 3, 3, 3, 5, 6, 4, 3, 5, 6, 6, 8, 11, 10, 5, 3, 5, 6, 6, 8, 11, 10, 7, 8, 11, 12, 14, 19, 21, 15, 6, 3, 5, 6, 6, 8, 11, 10, 7, 8, 11, 12, 14, 19, 21, 15, 8, 8, 11, 12, 14, 19, 21, 17, 15, 19, 23, 26, 33, 40, 36, 21, 7, 3, 5, 6, 6, 8, 11, 10, 7, 8, 11, 12, 14, 19, 21, 15, 8, 8
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
COMMENTS
| Apart from initial terms and offset, same as A160573, but has a slightly nice recurrence.
|
|
|
FORMULA
| a(0) = 0, a(2^k) = k+1; for n >= 3, if n = 2^i + j, 1 <= j < 2^i, a(n) = a(j) + a(j+1).
|
|
|
MAPLE
| G:= x + x^2 * mul( 1 + x^(2^n-1) + x^(2^n), n=0..20);
|
|
|
CROSSREFS
| Rows of triangle in A118977 converge to this.
Sequence in context: A014202 A145281 * A160573 A141418 A130499 A020910
Adjacent sequences: A151684 A151685 A151686 * A151688 A151689 A151690
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), Jun 03 2009
|
| |
|
|