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!)
A178437 Numbers n such that 10^n - 81 is prime. 0

%I #16 Jan 17 2019 13:44:08

%S 2,3,17,19,31,37,43,91,339,367,407,1135,1175,8653,11987,15793

%N Numbers n such that 10^n - 81 is prime.

%C The next term, if one exists, is >100000. - _Robert Price_, Apr 25 2011

%H Makoto Kamada, <a href="https://stdkmd.net/nrr/aaaba.htm">Near-repdigit numbers of the form AA...AABA</a>.

%H Makoto Kamada, <a href="https://stdkmd.net/nrr/9/99919.htm#prime">Prime numbers of the form 99...9919</a>.

%H <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>.

%e 10^3 - 81 = 919 which is a prime number.

%t nMax=1000; Do[If[PrimeQ[10^n-81], Print[n]], {n, nMax}]

%o (PARI) is(n)=ispseudoprime(10^n-81) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A108330, A108328.

%K more,nonn

%O 1,1

%A _Robert Price_, Dec 21 2010

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 May 10 01:03 EDT 2024. Contains 372354 sequences. (Running on oeis4.)