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.

A138431 a(n) = ((n-th prime)^5-(n-th prime)^2)/2.

This page as a plain text file.
%I A138431 #14 Feb 18 2024 14:11:33
%S A138431 14,117,1550,8379,80465,185562,709784,1237869,3217907,10255154,
%T A138431 14314095,34671294,57927260,73503297,114671399,209096342,357460409,
%U A138431 422296290,675060309,902112155,1036533132,1538525079,1969516877,2792025764,4293665424,5255045150,5796365067
%N A138431 a(n) = ((n-th prime)^5-(n-th prime)^2)/2.
%H A138431 Harvey P. Dale, <a href="/A138431/b138431.txt">Table of n, a(n) for n = 1..1000</a>
%F A138431 a(n) = A138405(n)/2. - _R. J. Mathar_, Oct 15 2017
%t A138431 a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^2)/2], {n, 1, 50}]; a
%t A138431 (#^5-#^2)/2&/@Prime[Range[30]] (* _Harvey P. Dale_, Feb 18 2024 *)
%o A138431 (PARI) forprime(p=2,1e3,print1((p^5-p^2)/2", ")) \\ _Charles R Greathouse IV_, Jul 15 2011
%Y A138431 Cf. A138405.
%K A138431 nonn,easy
%O A138431 1,1
%A A138431 _Artur Jasinski_, Mar 19 2008