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.
%I A127920 #24 Mar 02 2023 16:44:52 %S A127920 1,4,20,56,220,364,816,1140,2024,4060,4960,8436,11480,13244,17296, %T A127920 24804,34220,37820,50116,59640,64824,82160,95284,117480,152096,171700, %U A127920 182104,204156,215820,240464,341376,374660,428536,447580,551300,573800,644956 %N A127920 1/6 of product of three numbers: n-th prime, previous and following number. %H A127920 Vincenzo Librandi, <a href="/A127920/b127920.txt">Table of n, a(n) for n = 1..1000</a> %F A127920 a(n) = A127918(n)/3. - _Michel Marcus_, Apr 09 2017 %t A127920 Table[(Prime[n] + 1) Prime[n](Prime[n] - 1)/6, {n, 1, 100}] %t A127920 ((#-1)#(#+1))/6&/@Prime[Range[40]] (* _Harvey P. Dale_, Dec 23 2019 *) %o A127920 (PARI) forprime(p=2,1e3,print1(binomial(p+1,3)", ")) \\ _Charles R Greathouse IV_, Jun 16 2011 %o A127920 (Python) %o A127920 from sympy import prime %o A127920 print([(prime(n) - 1)*prime(n)*(prime(n) + 1)//6 for n in range(1, 101)]) # _Indranil Ghosh_, Apr 09 2017 %o A127920 (Magma) [(NthPrime(n) + 1)*NthPrime(n)*(NthPrime(n) - 1)/6: n in [1..40]]; // _Vincenzo Librandi_, Apr 09 2017 %Y A127920 Cf. A036689, A034953, A127917, A127918, A127919. %K A127920 nonn,easy %O A127920 1,2 %A A127920 _Artur Jasinski_, Feb 06 2007