[go: up one dir, main page]

login
A016181
Expansion of 1/((1-7x)(1-10x)).
3
1, 17, 219, 2533, 27731, 294117, 3058819, 31411733, 319882131, 3239174917, 32674224419, 328719570933, 3301036996531, 33107258975717, 331750812830019, 3322255689810133, 33255789828670931, 332790528800696517
OFFSET
0,2
FORMULA
(10^(n+1) - 7^(n+1))/3. - Lambert Klasen (lambert.klasen(AT)gmx.net), Feb 05 2005
a(n) = 10*a(n-1) + 7^n, a(0)=1. - Vincenzo Librandi, Feb 09 2011
a(n) = 17*a(n-1) - 70*a(n-2), a(0)=1, a(1)=17. - Vincenzo Librandi, Feb 09 2011
MATHEMATICA
Join[{a=1, b=17}, Table[c=17*b-70*a; a=b; b=c, {n, 40}]] (* Vladimir Joseph Stephan Orlovsky, Feb 09 2011 *)
CoefficientList[Series[1/((1-7x)(1-10x)), {x, 0, 30}], x] (* or *) LinearRecurrence[ {17, -70}, {1, 17}, 30] (* Harvey P. Dale, Nov 16 2020 *)
PROG
(PARI) for(n=1, 10, print1((10^n-7^n)/3, ", "))
CROSSREFS
Sequence in context: A125452 A322538 A016238 * A285233 A063043 A016174
KEYWORD
nonn,easy
STATUS
approved