Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A115596
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A115596 The least number a(n)=k>1 such that (p+1)^k - p^k is prime, p = n-th prime. +0
1
2, 2, 2, 7, 2, 3, 3, 5, 2, 2, 5, 3, 2, 37, 2, 17, 3, 61, 23, 7, 2, 2, 7, 5, 7, 59, 5, 2, 59, 2, 59, 3, 47, 2, 2, 43, 2, 3, 5, 31, 19, 7, 3, 5, 2, 2, 2, 37, 13, 17, 3, 2, 3, 2, 3, 7, 5, 79, 3, 7, 3, 2, 5, 5, 7, 7, 53, 2, 67, 2, 7, 79, 2, 5, 3, 5, 29, 17, 3, 37, 2, 3, 2, 3, 43, 3, 3, 3, 13, 3, 2, 5, 3, 5 (list; graph; listen)
OFFSET

1,1

COMMENT

Values k=1 is omitted as in this case p is Sophie Germain prime (2p+1 is also prime) A005384.

FORMULA

p=n-th prime, (p+1)^k - p^k is prime, k>1 is minimal.

EXAMPLE

a(1)=2 because (2+1)^2-2^2=5 is prime;

a(14)=37 because p(14)=43 and

(43+1)^37-43^37=3679488080703419029992001830200360494989758810080014618823621

is prime.

MATHEMATICA

s={}; Do[n=Prime[i]; Do[If[PrimeQ[(n+1)^k-n^k], AppendTo[s, k]; Goto[ne]], {k, 2, 100}]; Label[ne], {i, 300}]; s

CROSSREFS

Cf. A005384.

Sequence in context: A129365 A021453 A053789 this_sequence A029610 A094246 A023573

Adjacent sequences: A115593 A115594 A115595 this_sequence A115597 A115598 A115599

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Jan 25 2006

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 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research