OFFSET
0,3
COMMENTS
Partial sums of powers of 50 (A165800).
Converges in a 10-adic sense to ...734693877551.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..600
Index entries for linear recurrences with constant coefficients, signature (51,-50).
FORMULA
a(n) = floor(50^n/49).
G.f.: x/((1-x)(1-50x)).
a(0)=0, a(n) = 50*a(n-1) + 1. - Vincenzo Librandi, Nov 08 2012
E.g.f.: exp(x)*(exp(49*x) - 1)/49. - Elmo R. Oliveira, Aug 29 2024
MATHEMATICA
LinearRecurrence[{51, -50}, {0, 1}, 30] (* Vincenzo Librandi, Nov 08 2012 *)
(50^Range[0, 20]-1)/49 (* Harvey P. Dale, Sep 12 2022 *)
PROG
(PARI) a(n)=50^n\49
(Maxima) makelist(floor(50^n/49), n, 0, 30); /* Martin Ettl, Nov 06 2012 */;
(Magma) [n le 2 select n-1 else 51*Self(n-1) - 50*Self(n-2): n in [1..20]]; // Vincenzo Librandi, Nov 08 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Nov 04 2012
STATUS
approved