login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,2
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
Sequence in context: A081183 A069294 A000559 * A037616 A048532 A049102
KEYWORD
nonn,base
STATUS
approved