login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers k such that R_k + 8 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
3

%I #25 May 03 2024 12:38:42

%S 2,5,6,8,17,50,684,720,1452,1679,3146,72821,111902,146063,180689,

%T 330906

%N Numbers k such that R_k + 8 is prime, where R_k = 11...1 is the repunit (A002275) of length k.

%C Also numbers k such that (10^k + 71)/9 is prime.

%C The corresponding values R_k + 8 are primes of the form "(k-1) ones followed by a nine". Related to the base-10 repunit primes.

%C a(13) > 10^5. - _Robert Price_, Nov 01 2014

%H Makoto Kamada, <a href="https://stdkmd.net/nrr/1/11119.htm#prime">Prime numbers of the form 11...119</a>.

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

%F a(n) = A056659(n) + 1.

%t Do[ If[ PrimeQ[(10^n - 1)/9 + 8], Print[n]], {n, 0, 5000}] (* _Robert G. Wilson v_, Oct 14 2004 *)

%Y Cf. A004023, A056659, A097683, A097684.

%K nonn,more,hard

%O 1,1

%A _Carl R. White_, Aug 19 2004

%E a(12) from _Robert Price_, Nov 01 2014

%E a(13)-a(16) from Kamada data by _Tyler Busby_, May 03 2024