

A037656


Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2.


0



3, 21, 149, 1046, 7322, 51256, 358795, 2511565, 17580957, 123066702, 861466914, 6030268400, 42211878803, 295483151621, 2068382061349, 14478674429446, 101350721006122, 709455047042856, 4966185329299995
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

Table of n, a(n) for n=1..19.
Index entries for linear recurrences with constant coefficients, signature (7,0,1,7)


FORMULA

G.f.: x*(3+2*x^2) / ( (x1)*(7*x1)*(1+x+x^2) ).  R. J. Mathar, Apr 30 2015


MATHEMATICA

Table[FromDigits[PadRight[{}, n, {3, 0, 2}], 7], {n, 20}] (* Harvey P. Dale, Jul 27 2019 *)


CROSSREFS

Sequence in context: A037761 A037649 A037768 * A074577 A007566 A183412
Adjacent sequences: A037653 A037654 A037655 * A037657 A037658 A037659


KEYWORD

nonn,base,easy


AUTHOR

Clark Kimberling


STATUS

approved



