OFFSET
0,3
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (0,5,0,-6).
FORMULA
a(n) = ((5+(-1)^n)/2)^((2*n-1+(-1)^n)/4).
a(n) = 5*a(n-2)-6*a(n-4). - Colin Barker, May 30 2015
G.f.: -(3*x^3+2*x^2-x-1) / ((2*x^2-1)*(3*x^2-1)). - Colin Barker, May 30 2015
MAPLE
seq(op([3^n, 2^n]), n=0..20); # Muniru A Asiru, Jul 16 2018
MATHEMATICA
Flatten[Table[{3^n, 2^n}, {n, 0, 25}]] (* Vincenzo Librandi, Jul 17 2018 *)
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
(Magma) &cat[[3^n, 2^n]: n in [0..35]]; // Vincenzo Librandi, Jul 17 2018
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Luce ETIENNE, May 30 2015
STATUS
approved