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!)
A128447 Numbers k such that absolute value of 7^k - k^7 is prime. 9
2, 6, 20, 24, 18582, 20366 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
lst={}; k=7; Do[If[PrimeQ[Abs[k^n-n^k]], AppendTo[lst, n]], {n, 0, 10^4}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 10 2008 *)
PROG
(PARI) is(n)=isprime(abs(7^n-n^7)) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
Sequence in context: A370974 A370968 A343506 * A032622 A104749 A062281
KEYWORD
nonn,hard,more
AUTHOR
Alexander Adamchuk, Mar 03 2007
EXTENSIONS
a(5) and a(6) from Donovan Johnson, Mar 03 2008
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 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)