login
A037586
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 3,1.
1
3, 22, 157, 1100, 7703, 53922, 377457, 2642200, 18495403, 129467822, 906274757, 6343923300, 44407463103, 310852241722, 2175965692057, 15231759844400, 106622318910803, 746356232375622, 5224493626629357
OFFSET
1,1
FORMULA
G.f.: x*(3+x) / ( (x-1)*(7*x-1)*(1+x) ). - R. J. Mathar, Apr 26 2015
a(n) = 7*a(n-1) + a(n-2) - 7*a(n-3). - Wesley Ivan Hurt, Jul 11 2023
MATHEMATICA
CoefficientList[Series[(3 + x)/((x - 1)*(7*x - 1)*(1 + x)), {x, 0, 30}], x] (* Wesley Ivan Hurt, Jul 11 2023 *)
CROSSREFS
Sequence in context: A091167 A037782 A041661 * A183259 A218668 A164021
KEYWORD
nonn,base,easy
STATUS
approved