|
|
A037590
|
|
Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
|
|
0
|
|
|
1, 4, 19, 77, 308, 1235, 4941, 19764, 79059, 316237, 1264948, 5059795, 20239181, 80956724, 323826899, 1295307597, 5181230388, 20724921555, 82899686221, 331598744884, 1326394979539, 5305579918157, 21222319672628, 84889278690515
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+3*x^2) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {1, 0, 3}], 4], {n, 30}] (* Harvey P. Dale, Apr 28 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|