|
|
A037772
|
|
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2.
|
|
1
|
|
|
3, 13, 52, 210, 843, 3373, 13492, 53970, 215883, 863533, 3454132, 13816530, 55266123, 221064493, 884257972, 3537031890, 14148127563, 56592510253, 226370041012, 905480164050, 3621920656203, 14487682624813, 57950730499252
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(3-2*x+2*x^2) / ( (x-1)*(4*x-1)*(x^2+1) ). - R. J. Mathar, May 02 2015
|
|
MATHEMATICA
|
Table[FromDigits[PadRight[{}, n, {3, 1, 0, 2}], 4], {n, 30}] (* or *) LinearRecurrence[{5, -5, 5, -4}, {3, 13, 52, 210}, 30] (* Harvey P. Dale, Dec 31 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|