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!)
A085682 Numbers k such that k^k - (k-1)^k is prime. 3
2, 3, 7, 43, 79, 463, 1277 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Each term of the sequence must be prime.
LINKS
C. Rivera, Puzzle 185
EXAMPLE
7 is in the sequence because 7^7 - 6^7 = 543607 is prime.
PROG
(PARI) isok(k) = ispseudoprime(k^k - (k-1)^k); \\ Jinyuan Wang, Mar 19 2020
CROSSREFS
Sequence in context: A106864 A282027 A255595 * A267505 A267506 A218467
KEYWORD
nonn,more
AUTHOR
Farideh Firoozbakht, Jul 17 2003
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 March 28 15:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)