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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138405 a(n) = (n-th prime)^5-(n-th prime)^2. 14
28, 234, 3100, 16758, 160930, 371124, 1419568, 2475738, 6435814, 20510308, 28628190, 69342588, 115854520, 147006594, 229342798, 418192684, 714920818, 844592580, 1350120618, 1804224310, 2073066264, 3077050158, 3939033754 (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 is given in A138401

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^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

a = {}; Do[p = Prime[n]; AppendTo[a, p^5 - p^2], {n, 1, 50}]; a

PROG

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

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

CROSSREFS

Sequence in context: A126523 A115224 A135497 * A024015 A119544 A112797

Adjacent sequences:  A138402 A138403 A138404 * A138406 A138407 A138408

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 17 16:49 EST 2012. Contains 206058 sequences.