|
|
A162255
|
|
a(n) = 2*a(n-2) for n > 2; a(1) = 3, a(2) = 2.
|
|
10
|
|
|
3, 2, 6, 4, 12, 8, 24, 16, 48, 32, 96, 64, 192, 128, 384, 256, 768, 512, 1536, 1024, 3072, 2048, 6144, 4096, 12288, 8192, 24576, 16384, 49152, 32768, 98304, 65536, 196608, 131072, 393216, 262144, 786432, 524288, 1572864, 1048576, 3145728, 2097152
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Binomial transform is A135532 without initial term -1. Second binomial transform is A161938.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (2^(1/4))^(3+2*n+(-1)^n) * (2-(-1)^n)/2.
G.f.: x*(3+2*x)/(1-2*x^2).
|
|
MATHEMATICA
|
LinearRecurrence[{0, 2}, {3, 2}, 50] (* Harvey P. Dale, Aug 28 2012 *)
|
|
PROG
|
(PARI) m=42; u=concat([3, 2], vector(m-2)); for(n=3, m, u[n]=2*u[n-2]); u
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
G.f. corrected, comments and cross-references added by Klaus Brockhaus, Aug 08 2009
|
|
STATUS
|
approved
|
|
|
|