login
A037677
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2,3.
1
1, 7, 51, 360, 2521, 17647, 123531, 864720, 6053041, 42371287, 296599011, 2076193080, 14533351561, 101733460927, 712134226491, 4984939585440, 34894577098081, 244262039686567, 1709834277805971
OFFSET
1,2
FORMULA
a(n) = 8a(n-1) - 8a(n-2) + 8a(n-3) - 7a(n-4).
G.f.: ( x*(1-x+3*x^2) ) / ( (x-1)*(7*x-1)*(x^2+1) ). - R. J. Mathar, May 04 2015
CROSSREFS
Sequence in context: A039308 A029525 A037500 * A034354 A015555 A137382
KEYWORD
nonn,base,easy
STATUS
approved