[go: up one dir, main page]

login
A033143
Base-7 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,0.
1
1, 7, 49, 344, 2408, 16856, 117993, 825951, 5781657, 40471600, 283301200, 1983108400, 13881758801, 97172311607, 680206181249, 4761443268744, 33330102881208, 233310720168456, 1633175041179193, 11432225288254351, 80025577017780457, 560179039124463200, 3921253273871242400
OFFSET
1,2
FORMULA
a(n) = 7*a(n-1) + a(n-3) - 7*a(n-4).
G.f.: x / ((1-x)*(1-7*x)*(1+x+x^2)). - Colin Barker, Dec 24 2015
PROG
(PARI) Vec(x/((1-x)*(1-7*x)*(1+x+x^2)) + O(x^30)) \\ Colin Barker, Dec 24 2015
CROSSREFS
Sequence in context: A373283 A050737 A195908 * A024582 A024587 A351057
KEYWORD
nonn,base,easy
STATUS
approved