login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A241427 Smallest prime of the form n^k - k^n for some k, or 0 if no such prime exists. 1
7, 2, 3, 6102977801, 5, 79792265017612001, 7, 2486784401 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
Conjecture: a(n) > 0 for all n not in A097764.
More terms in b-file. If n > 4 and in A097764, n^k - k^n is factorable and won't be prime.
a(17) > 17^7500 - 7500^17. See A239279.
LINKS
PROG
(PARI)
a(n)=k=1; if(n>4, forprime(p=1, 100, if(ispower(n)&&ispower(n)%p==0&&n%p==0, return(0)); if(n%p==n, break))); k=1; while(!ispseudoprime(n^k-k^n), k++); return(n^k-k^n)
vector(15, n, a(n+1))
CROSSREFS
Cf. A078201.
Sequence in context: A248288 A248287 A233929 * A197761 A199269 A021584
KEYWORD
nonn
AUTHOR
Derek Orr, Aug 08 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 12:31 EDT 2024. Contains 371937 sequences. (Running on oeis4.)