login
A133472
6 followed by numbers with n-1 0's between 1 and 5.
1
6, 15, 105, 1005, 10005, 100005, 1000005, 10000005, 100000005, 1000000005, 10000000005, 100000000005, 1000000000005, 10000000000005, 100000000000005, 1000000000000005, 10000000000000005, 100000000000000005
OFFSET
0,1
FORMULA
From R. J. Mathar, Nov 30 2007: (Start)
O.g.f.: -3*(-2+17*x)/((-1+x)*(-1+10*x)) = -5/(-1+x) - 1/(-1+10*x).
a(n) = 10*a(n-1) - 45. (End)
a(n) = 10^n + 5. - Vincenzo Librandi, Aug 10 2011
MATHEMATICA
Join[{6}, Table[10*FromDigits[PadRight[{1}, n, 0]]+5, {n, 20}]] (* or *) LinearRecurrence[{11, -10}, {6, 15}, 20] (* Harvey P. Dale, Sep 06 2020 *)
PROG
(Magma) [10^n+5: n in [0..20]]; // Vincenzo Librandi, Aug 10 2011
CROSSREFS
Sequence in context: A068128 A013222 A013228 * A213873 A372990 A219771
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Nov 29 2007
STATUS
approved