login
A037775
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0,2.
1
3, 22, 154, 1080, 7563, 52942, 370594, 2594160, 18159123, 127113862, 889797034, 6228579240, 43600054683, 305200382782, 2136402679474, 14954818756320, 104683731294243, 732786119059702, 5129502833417914
OFFSET
1,1
FORMULA
a(n) = 8a(n-1) - 8a(n-2) + 8a(n-3) - 7a(n-4)
G.f.: x*(3-2*x+2*x^2) / ( (x-1)*(7*x-1)*(x^2+1) ). - R. J. Mathar, May 02 2015
CROSSREFS
Sequence in context: A110469 A121723 A372199 * A037663 A091167 A037782
KEYWORD
nonn,base,easy
STATUS
approved