login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218740 a(n) = (37^n - 1)/36. 6
0, 1, 38, 1407, 52060, 1926221, 71270178, 2636996587, 97568873720, 3610048327641, 133571788122718, 4942156160540567, 182859777940000980, 6765811783780036261, 250335035999861341658, 9262396331994869641347, 342708664283810176729840, 12680220578500976539004081 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Partial sums of powers of 37 (A009981).
LINKS
FORMULA
From Vincenzo Librandi, Nov 07 2012: (Start)
G.f.: x/((1 - x)*(1 - 37*x)).
a(n) = 38*a(n-1) - 37*a(n-2).
a(n) = floor(37^n/36). (End)
E.g.f.: exp(x)*(exp(36*x) - 1)/36. - Stefano Spezia, Mar 28 2023
MATHEMATICA
LinearRecurrence[{38, -37}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) A218740(n)=37^n\36
(Magma) [n le 2 select n-1 else 38*Self(n-1)-37*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
(Maxima) A218740(n):=(37^n-1)/36$
makelist(A218740(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
CROSSREFS
Cf. A009981.
Sequence in context: A170671 A170719 A170757 * A158702 A239364 A078987
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Nov 04 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 07:56 EDT 2024. Contains 371905 sequences. (Running on oeis4.)