|
|
A037550
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,2.
|
|
0
|
|
|
1, 11, 101, 910, 8192, 73730, 663571, 5972141, 53749271, 483743440, 4353690962, 39183218660, 352648967941, 3173840711471, 28564566403241, 257081097629170, 2313729878662532
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+2*x+2*x^2) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
|
|
MATHEMATICA
|
With[{c=PadRight[{}, 21, {1, 2, 2}]}, Table[FromDigits[Take[c, n], 9], {n, 20}]] (* Harvey P. Dale, Feb 19 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|