login
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
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x^2) / ( (x-1)*(7*x-1)*(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
KEYWORD
nonn,base,easy
STATUS
approved