editing
approved
editing
approved
fix[c_]:=If[Mod[Total[c], Length[c]]==0, Total[c]/Length[c], Length[c] Total[c]]; fix/@With[ {nn=50}, TakeList[ Range[(nn(nn+1))/2], Range[nn]]] (* Harvey P. Dale, Apr 05 2023 *)
approved
editing
proposed
approved
editing
proposed
(PARI) a(n) = if (n%2, (n^2+1)/2, n^2*(n^2+1)/2); \\ Michel Marcus, Aug 23 2022
proposed
editing
editing
proposed
Sum_{n>=1} 1/a(n) = 1 + Pi^2/12 - Pi*cosech(Pi). - Amiram Eldar, Aug 23 2022
approved
editing
editing
approved
LinearRecurrence[{0, 5, 0, -10, 0, 10, 0, -5, 0, 1}, {1, 10, 5, 136, 13, 666, 25, 2080, 41, 5050}, 50] (* Harvey P. Dale, May 01 2020 *)
approved
editing
<a href="/index/Rec#order_10">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (0,5,0,-10,0,10,0,-5,0,1).