OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
V. Shevelev, On monotonic strengthening of Newman-like phenomenon on (2m+1)-multiples in base 2m, arXiv:0710.3177 [math.NT], 2007.
Index entries for linear recurrences with constant coefficients, signature (8,-28,56,-70,56,-28,8,-1).
FORMULA
a(n) = 2/(2*n+1) * Sum_{i=1..n} tan^9(Pi*i/(2*n+1)) * sin(2*Pi*i/(2*n+1)).
a(n) = 1+n/315*(4352*n^6 + 15232*n^5 + 12992*n^4 - 5600*n^3 - 5152*n^2 + 5488*n - 2112).
G.f.: x*(81+5177*x+29413*x^2+29917*x^3+4883*x^4+171*x^5-9*x^6-x^7) / (1-x)^8. - Colin Barker, Dec 01 2015
MATHEMATICA
Table[1 + n/315 (4352 n^6 + 15232 n^5 + 12992 n^4 - 5600 n^3 - 5152 n^2 + 5488 n - 2112), {n, 30}] (* Vincenzo Librandi, Dec 02 2015 *)
PROG
(PARI) Vec(x*(81+5177*x+29413*x^2+29917*x^3+4883*x^4+171*x^5-9*x^6-x^7)/(1-x)^8 + O(x^40)) \\ Colin Barker, Dec 01 2015
(Magma) [1+n/315*(4352*n^6+15232*n^5+12992*n^4-5600*n^3- 5152*n^2+5488*n-2112): n in [1..25]]; // Vincenzo Librandi, Dec 02 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, May 24 2012
EXTENSIONS
Typo in data fixed by Colin Barker, Dec 01 2015
STATUS
approved