|
|
A037646
|
|
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1.
|
|
1
|
|
|
3, 12, 49, 199, 796, 3185, 12743, 50972, 203889, 815559, 3262236, 13048945, 52195783, 208783132, 835132529, 3340530119, 13362120476, 53448481905, 213793927623, 855175710492, 3420702841969, 13682811367879, 54731245471516
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+x^2) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 29 2015
|
|
MATHEMATICA
|
With[{c=PadRight[{}, 60, {3, 0, 1}]}, Table[FromDigits[Take[c, n], 4], {n, 30}]] (* Harvey P. Dale, Feb 27 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|