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.

A138427 a(n) = (prime(n)^5 - prime(n))/6.

This page as a plain text file.
%I A138427 #15 Sep 08 2022 08:45:33
%S A138427 5,40,520,2800,26840,61880,236640,412680,1072720,3418520,4771520,
%T A138427 11557320,19309360,24501400,38224160,69699240,119154040,140766040,
%U A138427 225020840,300704880,345511920,512842720,656506760,930676560,1431223360
%N A138427 a(n) = (prime(n)^5 - prime(n))/6.
%H A138427 Vincenzo Librandi, <a href="/A138427/b138427.txt">Table of n, a(n) for n = 1..200</a>
%F A138427 a(n) = A138404(n)/6. - _R. J. Mathar_, Oct 15 2017
%t A138427 a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p)/6], {n, 1, 50}]; a
%t A138427 (#^5-#)/6&/@Prime[Range[40]] (* _Harvey P. Dale_, Dec 17 2013 *)
%o A138427 (Magma) [(NthPrime((n))^5 - NthPrime((n)))/6: n in [1..30]]; // _Vincenzo Librandi_, Jun 18 2011
%o A138427 (PARI) forprime(p=2,1e3,print1((p^5-p)/6", ")) \\ _Charles R Greathouse IV_, Jul 15 2011
%K A138427 nonn,easy
%O A138427 1,1
%A A138427 _Artur Jasinski_, Mar 19 2008