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

Table of n, a(n) for n=1..5.

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

Cf. A093713, A082103, A093717, A093793, A096185, A093794, A093795, A096186.

Sequence in context: A322157 A156454 A168669 * A152995 A273366 A053940

Adjacent sequences:  A271880 A271881 A271882 * A271884 A271885 A271886

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 01:28 EST 2022. Contains 350481 sequences. (Running on oeis4.)