login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A037616
Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2.
0
1, 12, 110, 991, 8922, 80300, 722701, 6504312, 58538810, 526849291, 4741643622, 42674792600, 384073133401, 3456658200612, 31109923805510, 279989314249591, 2519903828246322, 22679134454216900, 204112210087952101, 1837009890791568912, 16533089017124120210
OFFSET
1,2
FORMULA
G.f.: x*(1+x)*(2*x+1) / ( (x-1)*(9*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
A007095(a(n)) = A037617(n). - R. J. Mathar, Apr 27 2015
MATHEMATICA
Module[{nn=30, t}, t=PadRight[{}, nn, {1, 3, 2}]; Table[FromDigits[ Take[ t, n], 9], {n, nn}]] (* Harvey P. Dale, May 06 2014 *)
CROSSREFS
Sequence in context: A069294 A000559 A037714 * A048532 A049102 A075231
KEYWORD
nonn,base,easy
STATUS
approved