|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|