|
| |
|
|
A154252
|
|
Expansion of (1-x+8x^2)/((1-x)(1-2x)) .
|
|
3
|
|
|
|
1, 2, 12, 32, 72, 152, 312, 632, 1272, 2552, 5112, 10232, 20472, 40952, 81912, 163832, 327672, 655352, 1310712, 2621432, 5242872, 10485752, 20971512, 41943032, 83886072, 167772152, 335544312, 671088632, 1342177272, 2684354552, 5368709112, 10737418232
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,2
|
|
|
COMMENTS
|
Binomial transform of 1,1,9,1,9,1,9,1,9,1,9,1,9,1,9,...
|
|
|
LINKS
|
Table of n, a(n) for n=0..31.
Index to sequences with linear recurrences with constant coefficients, signature (3,-2).
|
|
|
FORMULA
|
a(n)=3*a(n-1)-2*a(n-2), n>2 ; a(0)=1, a(1)=2, a(2)=12 . a(n)=2*a(n-1)+8, n>1 ; a(0)=1, a(1)=2 . a(n)=10*2^(n-1)-8, n>=1 ; a(0)=1 .
a(n)=-8+5*2^(n-1)+4*{C[2*(n-1),n-1] mod 2}, with n>=1 [From Paolo P. Lava, Jan 14 2009]
|
|
|
PROG
|
(PARI) Vec((1-x+8*x^2)/((1-x)*(1-2*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
|
|
|
CROSSREFS
|
Cf.: A094373, A000079, A083329, A095121, A154117, A131128, A154118, A131130, A154251
Sequence in context: A139323 A225525 A009331 * A013198 A092345 A212761
Adjacent sequences: A154249 A154250 A154251 * A154253 A154254 A154255
|
|
|
KEYWORD
|
nonn,easy
|
|
|
AUTHOR
|
Philippe DELEHAM, Jan 05 2009
|
|
|
EXTENSIONS
|
Two terms corrected by Johannes W. Meijer, May 26 2011
|
|
|
STATUS
|
approved
|
| |
|
|