login
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
OFFSET
1,2
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
Sequence in context: A094734 A094578 A130132 * A359087 A037681 A156760
KEYWORD
nonn,base,easy
STATUS
approved