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!)
A218741 a(n) = (38^n-1)/37. 3
0, 1, 39, 1483, 56355, 2141491, 81376659, 3092313043, 117507895635, 4465300034131, 169681401296979, 6447893249285203, 245019943472837715, 9310757851967833171, 353808798374777660499, 13444734338241551098963 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Partial sums of powers of 38 (A009982).
LINKS
FORMULA
G.f.: x/((1-x)*(1-38*x)). - Vincenzo Librandi, Nov 07 2012
a(n) = 39*a(n-1) - 38*a(n-2). - Vincenzo Librandi, Nov 07 2012
a(n) = floor(38^n/37). - Vincenzo Librandi, Nov 07 2012
MATHEMATICA
LinearRecurrence[{39, -38}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) A218741(n)=38^n\37
(Magma) [n le 2 select n-1 else 39*Self(n-1) - 38*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
(Maxima) A218741(n):=(38^n-1)/37$
makelist(A218741(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
CROSSREFS
Sequence in context: A170672 A170720 A170758 * A112617 A009983 A269028
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 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)