login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A218729
a(n) = (26^n - 1)/25.
3
0, 1, 27, 703, 18279, 475255, 12356631, 321272407, 8353082583, 217180147159, 5646683826135, 146813779479511, 3817158266467287, 99246114928149463, 2580398988131886039, 67090373691429037015, 1744349715977154962391, 45353092615406029022167, 1179180408000556754576343
OFFSET
0,3
COMMENTS
Partial sums of powers of 26 (A009970); q-integers for q=26.
FORMULA
From Vincenzo Librandi, Nov 07 2012: (Start)
G.f.: x/((1-x)*(1-26*x)).
a(n) = floor(26^n/25).
a(n) = 27*a(n-1) - 26*a(n-2). (End)
E.g.f.: exp(x)*(exp(25*x) - 1)/25. - Elmo R. Oliveira, Aug 29 2024
MATHEMATICA
LinearRecurrence[{27, -26}, {0, 1}, 30] (* Vincenzo Librandi, Nov 07 2012 *)
PROG
(PARI) A218729(n)=26^n\25
(Magma) [n le 2 select n-1 else 27*Self(n-1)-26*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 07 2012
(Maxima) A218729(n):=(26^n-1)/25$
makelist(A218729(n), n, 0, 30); /* Martin Ettl, Nov 07 2012 */
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Nov 04 2012
STATUS
approved