login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers k such that 11*10^k - 1 is prime.
2

%I #15 Apr 14 2024 03:44:59

%S 1,9,11,17,22,29,36,37,52,166,448,2011,3489,4871,6982,10024,16974,

%T 33287,47364,58873,126160,234424,382881,524706

%N Numbers k such that 11*10^k - 1 is prime.

%C Numbers k such that 10^(k+1) + (10^k-1) is a prime.

%H Gary Barnes, <a href="http://www.noprimeleftbehind.net/gary/primes-kx10n-1.htm">Primes of the form k*10^n-1</a>

%H Makoto Kamada, <a href="https://stdkmd.net/nrr/prime/prime_difficulty.txt">Search for 109w.</a>

%t Do[ If[ PrimeQ[10^(n + 1) + (10^n - 1)], Print[n]], {n, 9500}]

%o (PARI) is(n)=ispseudoprime(11*10^n-1) \\ _Charles R Greathouse IV_, Jun 12 2017

%Y Cf. A096209.

%K more,nonn

%O 1,2

%A _Robert G. Wilson v_, Nov 15 2005

%E a(16)-a(19) from _Ray Chandler_, Sep 16 2013

%E a(20)-a(21) from P. Kurtovic submitted by _Ray Chandler_, Sep 17 2013

%E a(22)-a(24) from Kamada data by _Tyler Busby_, Apr 14 2024