|
|
A037710
|
|
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0.
|
|
0
|
|
|
1, 8, 42, 210, 1051, 5258, 26292, 131460, 657301, 3286508, 16432542, 82162710, 410813551, 2054067758, 10270338792, 51351693960, 256758469801, 1283792349008, 6418961745042, 32094808725210, 160474043626051, 802370218130258
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: ( x*(1+2*x) ) / ( (x-1)*(5*x-1)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
a(n) = 6*a(n-1) - 6*a(n-2) + 6*a(n-3) - 5*a(n-4). - Wesley Ivan Hurt, Dec 29 2023
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {1, 3, 2, 0}], 5], {n, 30}] (* Harvey P. Dale, Jan 14 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|