login
A016166
Expansion of 1/((1-5x)(1-12x)).
1
1, 17, 229, 2873, 35101, 424337, 5107669, 61370153, 736832461, 8843942657, 106137077509, 1273693758233, 15284569239421, 183416051576177, 2200998722429749, 26412015186735113, 316944334828711981, 3803332780883996897, 45639997185305228389, 547679985297149068793
OFFSET
0,2
FORMULA
G.f.: 1/((1-5x)(1-12x)).
a(n) = (12^(n+1) - 5^(n+1))/7. - Bruno Berselli, Feb 09 2011
a(n) = 12*a(n-1) + 5^n, a(0)=1. - Vincenzo Librandi, Feb 09 2011
a(n) = 17*a(n-1) - 60*a(n-2), n > 1. - Wesley Ivan Hurt, Aug 28 2015
MAPLE
A016166:=n->(12^(n+1)-5^(n+1))/7: seq(A016166(n), n=0..30); # Wesley Ivan Hurt, Aug 28 2015
MATHEMATICA
Join[{a=1, b=17}, Table[c=17*b-60*a; a=b; b=c, {n, 40}]] (* Vladimir Joseph Stephan Orlovsky, Feb 08 2011 *)
Table[(12^(n + 1) - 5^(n + 1))/7, {n, 0, 20}] (* Wesley Ivan Hurt, Aug 28 2015 *)
PROG
(Magma) [(12^(n+1)-5^(n+1))/7 : n in [0..20]]; // Wesley Ivan Hurt, Aug 28 2015
CROSSREFS
Sequence in context: A142547 A243229 A329015 * A358712 A206354 A119273
KEYWORD
nonn,easy
STATUS
approved