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”).
%I #17 May 25 2024 17:39:35
%S 1,2,3,9,10,12,15,44,64,464,646,879,938,1006,1644,2172,2290,2348,2880,
%T 4291,17686,31167,57543
%N Numbers k such that (17*10^k - 29)/3 is prime.
%C For k > 1, numbers k such that the digit 5 followed by k-2 occurrences of the digit 6 followed by the digits 57 is prime (see Example section).
%C a(25) > 3*10^5.
%H Makoto Kamada, <a href="https://stdkmd.net/nrr">Factorization of near-repdigit-related numbers</a>.
%H Makoto Kamada, <a href="https://stdkmd.net/nrr/prime/prime_difficulty.txt">Search for 56w57</a>.
%e 3 is in this sequence because (17*10^3 - 29)/3 = 5657 is prime.
%e Initial terms and associated primes:
%e a(1) = 1, 47;
%e a(2) = 2, 557;
%e a(3) = 3, 5657;
%e a(4) = 9, 5666666657;
%e a(5) = 10, 56666666657; etc.
%t Select[Range[1, 100000], PrimeQ[(17*10^# - 29)/3] &]
%Y Cf. A056654, A268448, A269303, A270339, A270613, A270831, A270890, A270929, A271269.
%K nonn,more,hard
%O 1,2
%A _Robert Price_, Sep 05 2017