login
A301683
Partial sums of A301682.
1
1, 7, 13, 31, 49, 67, 103, 133, 163, 217, 259, 301, 373, 427, 481, 571, 637, 703, 811, 889, 967, 1093, 1183, 1273, 1417, 1519, 1621, 1783, 1897, 2011, 2191, 2317, 2443, 2641, 2779, 2917, 3133, 3283, 3433, 3667, 3829, 3991, 4243, 4417, 4591, 4861, 5047, 5233, 5521, 5719, 5917, 6223, 6433, 6643, 6967, 7189, 7411, 7753, 7987
OFFSET
0,2
COMMENTS
Linear recurrence and g.f. confirmed by Shutov/Maleev link in A301682. - Ray Chandler, Aug 30 2023
FORMULA
From Chai Wah Wu, Feb 03 2021: (Start)
a(n) = a(n-1) + 2*a(n-3) - 2*a(n-4) - a(n-6) + a(n-7) for n > 6.
G.f.: (-x^6 - 6*x^5 - 6*x^4 - 16*x^3 - 6*x^2 - 6*x - 1)/((x - 1)^3*(x^2 + x + 1)^2). (End)
CROSSREFS
Cf. A301682.
Sequence in context: A306889 A181141 A031158 * A091431 A060800 A272204
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 25 2018
STATUS
approved