login
A037794
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,1,0.
0
3, 17, 86, 430, 2153, 10767, 53836, 269180, 1345903, 6729517, 33647586, 168237930, 841189653, 4205948267, 21029741336, 105148706680, 525743533403, 2628717667017, 13143588335086, 65717941675430, 328589708377153
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x+x^2) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 2, 1, 0}], 5], {n, 30}] (* Harvey P. Dale, Nov 15 2020 *)
CROSSREFS
Sequence in context: A037668 A119884 A143549 * A203851 A198766 A240652
KEYWORD
nonn,base,easy
STATUS
approved