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!)
A122727 Numbers n such that abs(9^n - 2^11) is prime. 0
1, 3, 4, 6, 15, 153, 159, 166, 832, 1123, 1294 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
C. Pomerance, Science News reference.
EXAMPLE
For n = 1, abs(9^1-2^11) = 2039 which is prime. So 1 is the first entry.
MATHEMATICA
Select[Range[1300], PrimeQ[Abs[9^#-2^11]]&] (* Harvey P. Dale, Apr 20 2022 *)
PROG
(PARI) g(n) = for(x=1, n, y=abs(9^x-2^11); if(ispseudoprime(y), print1(x", ")))
CROSSREFS
Sequence in context: A308533 A369735 A322956 * A347056 A089249 A173944
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Sep 23 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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)