Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100604
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A100604 Numbers n such that (prime(n)-1)! + prime(n)^3 is prime. +0
1
2, 3, 4, 28 (list; graph; listen)
OFFSET

1,1

COMMENT

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 this_sequence A062931 A114333 A059614

Adjacent sequences: A100601 A100602 A100603 this_sequence A100605 A100606 A100607

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research