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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100604 Numbers n such that (prime(n)-1)! + prime(n)^3 is prime. 0
2, 3, 4, 28 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

n={2, 3, 4, 28} yields primes p(n)={3, 5, 7, 107}. There are no more such n up to n=100. Verified by Ray Chandler.

LINKS

J. V. Post, Math Pages.

FORMULA

Numbers n such that (prime(n)-1)! + prime(n)^3 is prime, where prime(n) is the n-th prime.

EXAMPLE

a(3) = 4 because (prime(4)-1)! + prime(4)^3 = (7-1)! + 7^3 = 720 + 343 = 1063 is the 3rd prime of this form.

MATHEMATICA

lst={}; Do[p=Prime[n]; If[PrimeQ[(p-1)!+p^3], AppendTo[lst, n]], {n, 10^2}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Sep 08 2008]

CROSSREFS

Cf. A100858.

Sequence in context: A044906 A141565 A098549 * A062931 A114333 A059614

Adjacent sequences:  A100601 A100602 A100603 * A100605 A100606 A100607

KEYWORD

nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Nov 30 2004

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 16 12:15 EST 2012. Contains 205909 sequences.