|
|
A037714
|
|
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0.
|
|
0
|
|
|
1, 12, 110, 990, 8911, 80202, 721820, 6496380, 58467421, 526206792, 4735861130, 42622750170, 383604751531, 3452442763782, 31071984874040, 279647863866360, 2516830774797241, 22651476973175172, 203863292758576550, 1834769634827188950
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+2*x) ) / ( (x-1)*(9*x-1)*(x^2+1) ). - R. J. Mathar, Oct 14 2015
a(n) = 10*a(n-1) - 10*a(n-2) + 10*a(n-3) - 9*a(n-4). - Wesley Ivan Hurt, Sep 05 2022
|
|
MATHEMATICA
|
nn=20; With[{d=PadRight[{}, nn, {1, 3, 2, 0}]}, Table[FromDigits[Take[d, n], 9], {n, nn}]] (* Harvey P. Dale, Sep 20 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|