login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138401 a(n) = (n-th prime)^4)-(n-th prime). 14
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; internal format)
OFFSET

1,1

COMMENTS

Differences p^k-p^m such that k > m:

p^2-p is given in A036689

p^3-p is given in A127917

p^3-p^2 is given in A135177

p^4-p^2 is given in A138402

p^4-p^3 is given in A138403

p^5-p is given in A138404

p^5-p^2 is given in A138405

p^5-p^3 is given in A138406

p^5-p^4 is given in A138407

p^6-p is given in A138408

p^6-p^2 is given in A138409

p^6-p^3 is given in A138410

p^6-p^4 is given in A138411

p^6-p^5 is given in A138412

LINKS

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

MATHEMATICA

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

#^4-#&/@Prime[Range[30]] (* From 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: A044582 A058895 A166842 * A099360 A199912 A082971

Adjacent sequences:  A138398 A138399 A138400 * A138402 A138403 A138404

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Mar 19 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 07:42 EST 2012. Contains 205717 sequences.