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!)
A138401 a(n) = prime(n)^4 - prime(n). 4
14, 78, 620, 2394, 14630, 28548, 83504, 130302, 279818, 707252, 923490, 1874124, 2825720, 3418758, 4879634, 7890428, 12117302, 13845780, 20151054, 25411610, 28398168, 38950002, 47458238, 62742152, 88529184, 104060300, 112550778 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

Index to sequences related to prime powers

MATHEMATICA

Table[p = Prime[n]; p^4 - p, {n, 50}]

#^4-#&/@Prime[Range[30]] (* Harvey P. Dale, Aug 14 2011 *)

PROG

(PARI) forprime(p=2, 1e3, print1(p^4-p", ")) \\ Charles R Greathouse IV, Jun 16 2011

(MAGMA) [NthPrime((n))^4 - NthPrime(n): n in [1..50] ]; // Vincenzo Librandi, Jun 17 2011

CROSSREFS

Sequence in context: A058895 A166842 A231241 * A099360 A329820 A239421

Adjacent sequences:  A138398 A138399 A138400 * A138402 A138403 A138404

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 March 28 15:03 EDT 2020. Contains 333089 sequences. (Running on oeis4.)