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!)
A059803 Numbers n such that 9^n - 8^n is prime or a strong pseudoprime. 13
2, 7, 29, 31, 67, 149, 401, 2531, 19913, 30773, 53857, 170099 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Some of the larger entries may only correspond to probable primes.
In general, for any positive integers n, a and b, a>b, a necessary condition for a^n-b^n to be prime is that either a-b=1 and n be a prime or n=1 and a-b be prime (from Arturo Magidin and Hagman in Sci.Math, Sep 11, 2010). - Vincenzo Librandi, Sep 12 2010
LINKS
PROG
(PARI) is(n)=ispseudoprime(9^n-8^n) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A321181 A122118 A337429 * A076043 A180448 A116968
KEYWORD
nonn,hard
AUTHOR
Mike Oakes, Feb 23 2001
EXTENSIONS
Three more terms found by Jean-Louis Charton in 2004-2005: a(9) = 30773, a(10) = 53857, a(11) = 170099. - Alexander Adamchuk, Dec 08 2006
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 July 12 16:40 EDT 2024. Contains 374251 sequences. (Running on oeis4.)