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!)
A218731 a(n) = (28^n-1)/27. 3
0, 1, 29, 813, 22765, 637421, 17847789, 499738093, 13992666605, 391794664941, 10970250618349, 307167017313773, 8600676484785645, 240818941573998061, 6742930364071945709, 188802050194014479853, 5286457405432405435885, 148020807352107352204781 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Partial sums of powers of 28 (A009972).
LINKS
FORMULA
G.f.: x/((1-x)*(1-28*x)). - Vincenzo Librandi, Nov 07 2012
a(n) = floor(28^n/27). - Vincenzo Librandi, Nov 07 2012
a(n) = 29*a(n-1) - 28*a(n-2). - Vincenzo Librandi, Nov 07 2012
MATHEMATICA
LinearRecurrence[{29, -28}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) A218731(n)=28^n\27
(Magma) [n le 2 select n-1 else 29*Self(n-1)-28*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
(Maxima) A218731(n):=(28^n-1)/27$
makelist(A218731(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
CROSSREFS
Sequence in context: A170710 A170748 A170086 * A171334 A097782 A223643
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 30 09:09 EDT 2024. Contains 372131 sequences. (Running on oeis4.)