OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..995
Index entries for linear recurrences with constant coefficients, signature (15,-50).
FORMULA
MATHEMATICA
Table[10^n - 5^n, {n, 0, 30}]
CoefficientList[Series[5 x/((1-5 x)(1-10 x)), {x, 0, 30}], x]
PROG
(Magma) [10^n-5^n: n in [0..30]];
(Python)
def A248340(n): return pow(10, n) - pow(5, n)
print([A248340(n) for n in range(41)]) # G. C. Greubel, Nov 13 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 05 2014
STATUS
approved