|
|
A037766
|
|
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2,1.
|
|
0
|
|
|
3, 15, 77, 386, 1933, 9665, 48327, 241636, 1208183, 6040915, 30204577, 151022886, 755114433, 3775572165, 18877860827, 94389304136, 471946520683, 2359732603415, 11798663017077, 58993315085386, 294966575426933
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+2*x^2+x^3) / ( (x-1)*(5*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 02 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 0, 2, 1}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 0, 1, -5}, {3, 15, 77, 386, 1933}, 30] (* Harvey P. Dale, May 28 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|