login
A173833
10^n - 3.
5
7, 97, 997, 9997, 99997, 999997, 9999997, 99999997, 999999997, 9999999997, 99999999997, 999999999997, 9999999999997, 99999999999997, 999999999999997, 9999999999999997, 99999999999999997, 999999999999999997
OFFSET
1,1
FORMULA
a(n) = 10*a(n-1)+27 with n>1, a(1)=7.
G.f.: x*(20*x+7)/((x-1)*(10*x-1)). [Colin Barker, Jan 24 2013]
MATHEMATICA
LinearRecurrence[{11, -10}, {7, 97}, 20] (* Vincenzo Librandi, Feb 22 2012 *)
PROG
(PARI) a(n)=10^n-3 \\ Charles R Greathouse IV, Jan 11 2012
CROSSREFS
Sequence in context: A068694 A158579 A003618 * A093172 A074110 A155644
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 26 2010
STATUS
approved