[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login
A218737
a(n) = (34^n - 1)/33.
4
0, 1, 35, 1191, 40495, 1376831, 46812255, 1591616671, 54114966815, 1839908871711, 62556901638175, 2126934655697951, 72315778293730335, 2458736461986831391, 83597039707552267295, 2842299350056777088031, 96638177901930420993055, 3285698048665634313763871
OFFSET
0,3
COMMENTS
Partial sums of powers of 34 (A009978).
FORMULA
From Vincenzo Librandi, Nov 07 2012: (Start)
G.f.: x/((1 - x)*(1 - 34*x)).
a(n) = 35*a(n-1) - 34*a(n-2).
a(n) = floor(34^n/33). (End)
E.g.f.: exp(x)*(exp(33*x) - 1)/33. - Stefano Spezia, Mar 26 2023
MATHEMATICA
LinearRecurrence[{35, -34}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) A218737(n)=34^n\33
(Magma) [n le 2 select n-1 else 35*Self(n-1)-34*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
(Maxima) A218737(n):=(34^n-1)/33$
makelist(A218737(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Nov 04 2012
STATUS
approved