|
|
A037661
|
|
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0.
|
|
0
|
|
|
3, 16, 80, 403, 2016, 10080, 50403, 252016, 1260080, 6300403, 31502016, 157510080, 787550403, 3937752016, 19688760080, 98443800403, 492219002016, 2461095010080, 12305475050403, 61527375252016, 307636876260080
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+x) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
|
|
MATHEMATICA
|
Module[{nn=30, c}, c=PadRight[{}, nn, {3, 1, 0}]; Table[FromDigits[Take[c, n], 5], {n, nn}]] (* Harvey P. Dale, Feb 19 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|