login
A037684
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3,2.
1
1, 7, 52, 366, 2563, 17941, 125590, 879132, 6153925, 43077475, 301542328, 2110796298, 14775574087, 103429018609, 724003130266, 5068021911864, 35476153383049, 248333073681343, 1738331515769404
OFFSET
1,2
FORMULA
a(n) = 7a(n-1) + a(n-4) - 7a(n-5)
G.f.: ( x*(1+3*x^2+2*x^3) ) / ( (x-1)*(7*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
CROSSREFS
Sequence in context: A254946 A258845 A037593 * A246513 A015559 A097180
KEYWORD
nonn,base,easy
STATUS
approved