login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138423 a(n) = (prime(n)^4 - prime(n)^3)/2. 3
4, 27, 250, 1029, 6655, 13182, 39304, 61731, 133837, 341446, 446865, 911754, 1378420, 1669647, 2387929, 3870802, 5955991, 6809430, 9925179, 12526885, 14004612, 19228521, 23443267, 31018636, 43808304, 51515050, 55729077 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..200

FORMULA

a(n) = A138403(n)/2. - R. J. Mathar, Oct 15 2017

MATHEMATICA

a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^3)/2], {n, 1, 50}]; a

PROG

(MAGMA) [(NthPrime((n))^4 - NthPrime((n))^3)/2: n in [1..30] ]; // Vincenzo Librandi, Jun 18 2011

(PARI) forprime(p=2, 1e3, print1((p^4-p^3)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011

CROSSREFS

Sequence in context: A229619 A051863 A000699 * A239372 A239375 A239370

Adjacent sequences:  A138420 A138421 A138422 * A138424 A138425 A138426

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 10 08:09 EDT 2021. Contains 342845 sequences. (Running on oeis4.)