|
|
A258439
|
|
Powers of 3 alternating with powers of 2.
|
|
1
|
|
|
1, 1, 3, 2, 9, 4, 27, 8, 81, 16, 243, 32, 729, 64, 2187, 128, 6561, 256, 19683, 512, 59049, 1024, 177147, 2048, 531441, 4096, 1594323, 8192, 4782969, 16384, 14348907, 32768, 43046721, 65536, 129140163, 131072, 387420489, 262144, 1162261467
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = ((5+(-1)^n)/2)^((2*n-1+(-1)^n)/4).
G.f.: -(3*x^3+2*x^2-x-1) / ((2*x^2-1)*(3*x^2-1)). - Colin Barker, May 30 2015
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) Vec(-(3*x^3+2*x^2-x-1)/((2*x^2-1)*(3*x^2-1)) + O(x^100)) \\ Colin Barker, May 30 2015
(GAP) Flat(List([0..20], n->[3^n, 2^n])); # Muniru A Asiru, Jul 16 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|