login
A037500
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2.
2
1, 7, 51, 358, 2506, 17544, 122809, 859663, 6017643, 42123502, 294864514, 2064051600, 14448361201, 101138528407, 707969698851, 4955787891958, 34690515243706, 242833606705944, 1699835246941609
OFFSET
1,2
FORMULA
G.f.: x*(1+2*x^2) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 2}], 7], {n, 20}] (* Harvey P. Dale, Aug 13 2012 *)
CROSSREFS
Sequence in context: A056581 A039308 A029525 * A037677 A034354 A015555
KEYWORD
nonn,base,easy
STATUS
approved