|
|
A037640
|
|
Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1.
|
|
0
|
|
|
2, 13, 66, 332, 1663, 8316, 41582, 207913, 1039566, 5197832, 25989163, 129945816, 649729082, 3248645413, 16243227066, 81216135332, 406080676663, 2030403383316, 10152016916582, 50760084582913, 253800422914566
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(x+2)*(1+x) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {2, 3, 1}], 5], {n, 30}] (* or *) LinearRecurrence[ {5, 0, 1, -5}, {2, 13, 66, 332}, 30] (* Harvey P. Dale, Jul 06 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|