|
|
A037779
|
|
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,2,0.
|
|
0
|
|
|
3, 13, 54, 216, 867, 3469, 13878, 55512, 222051, 888205, 3552822, 14211288, 56845155, 227380621, 909522486, 3638089944, 14552359779, 58209439117, 232837756470, 931351025880, 3725404103523, 14901616414093, 59606465656374
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3+x+2*x^2) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 01 2015
|
|
MATHEMATICA
|
With[{c=PadRight[{}, 32, {3, 1, 2, 0}]}, Table[FromDigits[Take[c, n], 4], {n, 30}]] (* Harvey P. Dale, Feb 25 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|