OFFSET
1,2
COMMENTS
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,3,0,0,0,0,0,-3,0,0,0,0,0,1).
FORMULA
G.f.: (x^17 + x^15 + 5*x^14 + 7*x^13 + 6*x^12 + 52*x^11 + 13*x^10 + 32*x^9 + 53*x^8 + 36*x^7 + 17*x^6 + 91*x^5 + 11*x^4 + 15*x^3 + 14*x^2 + 5*x + 1)/(1-x^6)^3. - Ralf Stephan, Sep 20 2013
Sum_{k=1..n} a(k) ~ (5/18)*n^3. - Amiram Eldar, Oct 07 2023
EXAMPLE
a(10) = 11*21*2 / 6 = 77.
MATHEMATICA
Module[{nn=60, sqs}, sqs=Range[nn]^2; Table[Numerator[Mean[Take[sqs, n]]], {n, nn}]] (* Harvey P. Dale, Nov 06 2021 *)
PROG
(PARI) a(n)=(n+1)*(2*n+1)*gcd(n, 6)/6 \\ Ralf Stephan, Sep 20 2013
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Jaroslav Krizek, May 27 2010
EXTENSIONS
More terms from Ralf Stephan, Sep 20 2013
STATUS
approved