Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,2

COMMENT

n={1, 2, 4, 5, 8, 10} yields primes p(n)={2, 3, 7, 11, 19, 29}. There are no more such n up to n=100. Computed in collaboration with Ray Chandler.

LINKS

J. V. Post, Math Pages.

EXAMPLE

a(1) = 1 because (prime(1)-1)! + prime(1)^8 = (2-1)! + 2^8 = 257 is the smallest prime of that form.

a(5) = 8 because (prime(8)-1)! + prime(8)^8 = (19-1)! + 19^8 = 304888344611713861001750412961 is the 5th smallest prime of that form.

MATHEMATICA

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

CROSSREFS

Cf. A100858.

Sequence in context: A092739 A101394 A095031 this_sequence A079537 A094591 A134191

Adjacent sequences: A100595 A100596 A100597 this_sequence A100599 A100600 A100601

KEYWORD

nonn,less

AUTHOR

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

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com) at the suggestion of Andrew Plewe, Jun 08 2007

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 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research