

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

Jonathan Frech, Table of n, a(n) for n = 1..1661
Index entries for linear recurrences with constant coefficients, signature (5,5,5,4).


FORMULA

G.f.: x*(32*x+2*x^2) / ( (x1)*(4*x1)*(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

Cf. A007090 (numbers in base 4).
Sequence in context: A098619 A086608 A291182 * A037660 A122600 A063682
Adjacent sequences: A037769 A037770 A037771 * A037773 A037774 A037775


KEYWORD

nonn,base,easy


AUTHOR

Clark Kimberling


STATUS

approved



