The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A218730 a(n) = (27^n-1)/26. 3
0, 1, 28, 757, 20440, 551881, 14900788, 402321277, 10862674480, 293292210961, 7918889695948, 213810021790597, 5772870588346120, 155867505885345241, 4208422658904321508, 113627411790416680717, 3067940118341250379360, 82834383195213760242721 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Partial sums of powers of 27 (A009971); q-integers for q=27.
LINKS
FORMULA
G.f.: x/((1-x)*(1-27*x)). - Vincenzo Librandi, Nov 07 2012
a(n) = floor(27^n/26). - Vincenzo Librandi, Nov 07 2012
a(n) = 28*a(n-1) - 27*a(n-2). - Vincenzo Librandi, Nov 07 2012
MATHEMATICA
LinearRecurrence[{28, -27}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) a(n)=27^n\26
(Magma) [n le 2 select n-1 else 28*Self(n-1)-27*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
(Maxima) A218730(n):=(27^n-1)/26$
makelist(A218730(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
CROSSREFS
Sequence in context: A170661 A170709 A170747 * A152127 A113532 A158545
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 June 1 11:18 EDT 2024. Contains 373016 sequences. (Running on oeis4.)