login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A016296
Expansion of 1/((1-2x)(1-5x)(1-7x)).
2
1, 14, 137, 1162, 9165, 69342, 511393, 3709874, 26619989, 189594790, 1343438889, 9485451066, 66805055773, 469669890158, 3297861746225, 23135894831938, 162205576930917, 1136710604184246, 7963332057891001
OFFSET
0,2
FORMULA
a(n-2) = ((7^n - 2^n)/5 - (5^n - 2^n)/3)/2. - Zerinvary Lajos, Jun 05 2009
a(n) = 14*a(n-1) - 59*a(n-2) + 70*a(n-3), n >= 3. - Vincenzo Librandi, Mar 16 2011
a(n) = 12*a(n-1) - 35*a(n-2) + 2^n, n >= 2. - Vincenzo Librandi, Mar 16 2011
MATHEMATICA
CoefficientList[Series[1/((1 - 2 x) (1 - 5 x) (1 - 7 x)), {x, 0, 18}], x] (* Michael De Vlieger, Jan 31 2018 *)
LinearRecurrence[{14, -59, 70}, {1, 14, 137}, 30] (* Harvey P. Dale, Aug 11 2021 *)
PROG
(Sage) [((7^n - 2^n)/5-(5^n - 2^n)/3)/2 for n in range(2, 21)] # Zerinvary Lajos, Jun 05 2009
CROSSREFS
Sequence in context: A002753 A306301 A155625 * A021044 A338323 A121034
KEYWORD
nonn,easy
STATUS
approved