Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A077659
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A077659 a(n) = smallest k>1 such that the sum n^k + (n+1)^k is prime, or -1 if no such k exists. +0
3
2, 2, 4, 2, 2, 4, 2, 4, 2, 32 (list; graph; listen)
OFFSET

1,1

COMMENT

Checking k up through 1024 suggests that the sequence may continue -1, 2, 4, 2, -1, 4, 2, -1, 2, -1, 16, 2, 8, 2, 2, 4, 4, -1, 2, 2, 4, 2, 4, 2, 2, 4, 4, 4, 2, ...

For any a>1 and b>1, a^k + b^k is composite for all odd k>1. Hence if n^k + (n+1)^k is prime then k must be a power of 2.

It is known that a(11) > 2^20. Is it possible that 11^2^n + 12^2^n is composite for all n?

It is known that a(11) > 2^22. Is it possible that 11^2^m + 12^2^m is composite for all m > 0?

LINKS

T. D. Noe, Factorizations of Generalized Fermat Numbers 12^2^k + 11^2^k

EXAMPLE

a(3)=4 because 3^2 + 4^2 = 25 is not prime, but 3^4 + 4^4 = 337 is prime.

MATHEMATICA

lst={}; For[n=1, n<=100, n++, k=2; While[k<=2^10 && !PrimeQ[n^k+(n+1)^k], k=2*k]; If[k<=2^10, AppendTo[lst, k], AppendTo[lst, -1]]]; lst

CROSSREFS

Cf. A078902.

Cf. A080121.

Sequence in context: A088200 A073103 A069177 this_sequence A087692 A093621 A143230

Adjacent sequences: A077656 A077657 A077658 this_sequence A077660 A077661 A077662

KEYWORD

hard,more,nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Nov 14 2002

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research