login
A037780
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,2,0.
0
3, 16, 82, 410, 2053, 10266, 51332, 256660, 1283303, 6416516, 32082582, 160412910, 802064553, 4010322766, 20051613832, 100258069160, 501290345803, 2506451729016, 12532258645082, 62661293225410, 313306466127053
OFFSET
1,1
FORMULA
G.f.: x*(3+x+2*x^2) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 01 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1, 2, 0}], 5], {n, 30}] (* Harvey P. Dale, May 17 2018 *)
CROSSREFS
Sequence in context: A290587 A072615 A020871 * A163012 A164100 A041707
KEYWORD
nonn,base,easy
STATUS
approved