login
A037689
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.
0
1, 7, 35, 178, 891, 4457, 22285, 111428, 557141, 2785707, 13928535, 69642678, 348213391, 1741066957, 8705334785, 43526673928, 217633369641, 1088166848207, 5440834241035, 27204171205178, 136020856025891, 680104280129457
OFFSET
1,2
FORMULA
G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 2, 0, 3}], 5], {n, 30}] (* Harvey P. Dale, Nov 04 2024 *)
CROSSREFS
Sequence in context: A268990 A005055 A037506 * A051926 A297602 A289991
KEYWORD
nonn,base,easy
STATUS
approved