|
|
|
|
7, 97, 997, 9997, 99997, 999997, 9999997, 99999997, 999999997, 9999999997, 99999999997, 999999999997, 9999999999997, 99999999999997, 999999999999997, 9999999999999997, 99999999999999997, 999999999999999997
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 1..100
Index entries for linear recurrences with constant coefficients, signature (11,-10).
|
|
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
Adjacent sequences: A173830 A173831 A173832 * A173834 A173835 A173836
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Vincenzo Librandi, Feb 26 2010
|
|
STATUS
|
approved
|
|
|
|