login
A037686
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3,2.
0
1, 9, 84, 758, 6823, 61407, 552666, 4973996, 44765965, 402893685, 3626043168, 32634388514, 293709496627, 2643385469643, 23790469226790, 214114223041112, 1927028007370009
OFFSET
1,2
FORMULA
G.f.: ( x*(1+3*x^2+2*x^3) ) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 3, 2}], 9], {n, 20}] (* Harvey P. Dale, Feb 05 2019 *)
CROSSREFS
Sequence in context: A203455 A272582 A037595 * A181353 A385251 A370029
KEYWORD
nonn,base,easy
STATUS
approved