OFFSET
0,2
COMMENTS
A transform of 10^n under the matrix A103452.
Except for n = 0, the same as A002283. - Felix Fröhlich, Jun 22 2021
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..450
Index entries for linear recurrences with constant coefficients, signature (11,-10).
FORMULA
G.f.: (1 - 2*x + 10*x^2)/((1 - x)*(1 - 10*x));
a(n) = Sum_{k = 0..n} A103452(n, k)*10^k;
a(n) = Sum_{k = 0..n} (2*0^(n-k) - 1)*0^(k*(n-k))*10^k.
a(n) = A002283(n), n > 0. - R. J. Mathar, Aug 30 2008
E.g.f.: 1 - exp(x) + exp(10*x). - G. C. Greubel, Jun 21 2021
MATHEMATICA
Table[Boole[n==0] + 10^n -1, {n, 0, 40}] (* Alonso del Arte, Nov 03 2019 *)
PROG
(Magma) [1] cat [10^n -1: n in [1..40]]; // G. C. Greubel, Jun 21 2021
(Sage) [1]+[10^n -1 for n in (1..40)] # G. C. Greubel, Jun 21 2021
(PARI) a(n) = 0^n + 10^n - 1 \\ Felix Fröhlich, Jun 22 2021
(PARI) Vec((1 - 2*x + 10*x^2)/((1 - x)*(1 - 10*x)) + O(x^20)) \\ Felix Fröhlich, Jun 22 2021
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 06 2005
STATUS
approved