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!)
A271883 Numbers n such that 9^n-8^(n-1) is prime. 10
2, 22, 58, 496, 2740 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(6) > 10^5.
LINKS
EXAMPLE
2 is a member since 9^2 - 8^1 = 81 - 8 = 73 which is a prime number.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[9^# - 8^(# - 1)] &]
PROG
(PARI) lista(nn) = for(n=1, nn, if(ispseudoprime(9^n-8^(n-1)), print1(n, ", "))); \\ Altug Alkan, Apr 16 2016
CROSSREFS
Sequence in context: A322157 A156454 A168669 * A152995 A273366 A053940
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 16 2016
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 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)