Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #15 Sep 08 2022 08:46:11
%S 1,3,4,7,9,10,16,124,243,303,459,471,520,591,1726,2971,5560,5757,13222
%N Numbers k such that R_k + 70 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
%C Also, numbers k such that (10^k + 629)/9 is prime.
%C Terms from Kamada data. Note that Kamada does not recognize k=1 as 81 is a degenerate case of form AAA..ABA.
%C a(20) > 2.5*10^5.
%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/1/11181.htm#prime">Prime numbers of the form 11...1181</a>.
%H <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>.
%e For k=3, R_3 + 70 = 111 + 70 = 181 which is prime.
%t Select[Range[0, 250000], PrimeQ[(10^# + 629)/9] &]
%o (Magma) [n: n in [1..350] | IsPrime((10^n+629) div 9)]; // _Vincenzo Librandi_, Apr 10 2015
%Y Cf. A002275.
%K nonn,more,hard
%O 1,2
%A _Robert Price_, Apr 09 2015