cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A108495 a(n) = (n^7 - n)/6.

This page as a plain text file.
%I A108495 #26 Jun 07 2025 08:10:43
%S A108495 0,0,21,364,2730,13020,46655,137256,349524,797160,1666665,3247860,
%T A108495 5971966,10458084,17568915,28476560,44739240,68389776,102036669,
%U A108495 148978620,213333330,300181420,415726311,567470904,764411900,1017252600
%N A108495 a(n) = (n^7 - n)/6.
%C A108495 Also integer sequences for (n^2-n)/1 (A002378 offset), (n^3-n)/2 (A027480 offset), (n^43-n)/42 (A108496) and (n^1807-n)/1806.
%H A108495 Vincenzo Librandi, <a href="/A108495/b108495.txt">Table of n, a(n) for n = 0..1000</a>
%H A108495 D. Zagier, <a href="https://mathshistory.st-andrews.ac.uk/EMS/Zagier/Problems/">Problems posed at the St Andrews Colloquium, 1996</a>.
%H A108495 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (8,-28,56,-70,56,-28,8,-1).
%F A108495 a(n) = (n-1)*A059721(n) = -A024004(n)*n/6.
%F A108495 G.f.: 7*x^2*(3 + 28*x + 58*x^2 + 28*x^3 + 3*x^4)/(1-x)^8. [_Colin Barker_, May 08 2012]
%e A108495 a(2) = (2^7 - 2)/6 = 126/6 = 21.
%t A108495 Table[(n^7-n)/6,{n,0,30}] (* or *) LinearRecurrence[ {8,-28,56,-70,56,-28,8,-1},{0,0,21,364,2730,13020,46655,137256},30] (* _Harvey P. Dale_, Apr 16 2014 *)
%o A108495 (Magma) [(n^7-n)/6: n in [0..40]]; // _Vincenzo Librandi_, May 02 2011
%o A108495 (Python) [(n**7-n)//6 for n in range(41)] # _David Radcliffe_, Jun 06 2025
%Y A108495 Cf. A014117, A108497, A108499.
%K A108495 nonn,easy
%O A108495 0,3
%A A108495 _Henry Bottomley_, Jun 06 2005