login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138431 a(n) = ((n-th prime)^5-(n-th prime)^2)/2. 4
14, 117, 1550, 8379, 80465, 185562, 709784, 1237869, 3217907, 10255154, 14314095, 34671294, 57927260, 73503297, 114671399, 209096342, 357460409, 422296290, 675060309, 902112155, 1036533132, 1538525079, 1969516877, 2792025764, 4293665424, 5255045150, 5796365067 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A138405(n)/2. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^5 - p^2)/2], {n, 1, 50}]; a
(#^5-#^2)/2&/@Prime[Range[30]] (* Harvey P. Dale, Feb 18 2024 *)
PROG
(PARI) forprime(p=2, 1e3, print1((p^5-p^2)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Cf. A138405.
Sequence in context: A155647 A279855 A128569 * A175874 A359184 A006223
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Mar 19 2008
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 05:28 EDT 2024. Contains 371264 sequences. (Running on oeis4.)