|
|
A126109
|
|
a(n) = (5*10^n + 1)/3.
|
|
5
|
|
|
2, 17, 167, 1667, 16667, 166667, 1666667, 16666667, 166666667, 1666666667, 16666666667, 166666666667, 1666666666667, 16666666666667, 166666666666667, 1666666666666667, 16666666666666667, 166666666666666667, 1666666666666666667, 16666666666666666667, 166666666666666666667
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
a(n+1)*(10^n)*(10^n+1) is the sum of squares of the positive even numbers not exceeding 10^n. - Graeme McRae, Aug 22 2021
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 10*a(n-1) - 3.
a(n) = 11*a(n-1) - 10*a(n-2).
G.f.: (2-5*x)/((1-x)*(1-10*x)). (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
NestList[10#-3&, 2, 20] (* or *) LinearRecurrence[{11, -10}, {2, 17}, 20] (* Harvey P. Dale, Jan 14 2012 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Alex P. Lamoreux (Chamale_ic(AT)hotmail.com), Mar 05 2007
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|