Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #18 Jul 04 2021 22:08:56
%S 1,3,10,27,54,93,474,2079,4834,5844,12337,20193,49528,56988,71545,
%T 77308
%N Numbers k such that 40*R_k + 1 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
%C Also numbers k such that (4*10^(k+1)-31)/9 is prime.
%H Makoto Kamada, <a href="https://stdkmd.net/nrr/4/44441.htm#prime">Prime numbers of the form 44...441</a>.
%H <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>
%F a(n) = A099412(n+1) - 1. - _Robert Price_, Jan 30 2015
%t Do[ If[ PrimeQ[40*(10^n - 1)/9 + 1], Print[n]], {n, 0, 7000}]
%Y Cf. A002275, A099412.
%K hard,nonn
%O 1,2
%A _Robert G. Wilson v_, Aug 10 2000
%E a(11)-a(16) derived from A099412 by _Robert Price_, Jan 30 2015