Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,1

COMMENT

Here we interpret 0^0 as 1.

MATHEMATICA

lst={}; Do[p=n^n+7; If[PrimeQ[p], AppendTo[lst, n]], {n, 2*5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Nov 01 2009]

PROGRAM

(PARI) f1(n, a) = for(x=0, n, y=x^x+a; if(ispseudoprime(y), print1(y", ")))

CROSSREFS

Sequence in context: A006933 A046847 A121069 this_sequence A056696 A045662 A084324

Adjacent sequences: A100835 A100836 A100837 this_sequence A100839 A100840 A100841

KEYWORD

hard,more,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Jan 07 2005

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 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research