login
A037668
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0.
0
3, 17, 85, 428, 2142, 10710, 53553, 267767, 1338835, 6694178, 33470892, 167354460, 836772303, 4183861517, 20919307585, 104596537928, 522982689642, 2614913448210, 13074567241053, 65372836205267, 326864181026335
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Module[{nn=30, t}, t=PadRight[{}, nn, {3, 2, 0}]; Table[FromDigits[Take[t, n], 5], {n, nn}]] (* Harvey P. Dale, Dec 18 2012 *)
CROSSREFS
Sequence in context: A216681 A350456 A037787 * A119884 A143549 A037794
KEYWORD
nonn,base,easy
STATUS
approved