login
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
OFFSET
1,2
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
Sequence in context: A045624 A125399 A163146 * A138894 A287832 A122105
KEYWORD
nonn,base,easy
STATUS
approved