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 #35 Apr 30 2024 05:26:57
%S 0,2,4,11,28,55,94,475,2080,4835,5845,12338,20194,49529,56989,71546,
%T 77309,284330
%N 0 together with numbers k such that 4*R_k - 3 is prime, where R_k = 11...1 is the repunit (A002275) of length k.
%C Also numbers k such that abs((4*10^k - 31))/9 is prime.
%C a(18) > 10^5. - _Robert Price_ Sep 06 2014
%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) = A056681(n-1) + 1.
%t Do[ If[ PrimeQ[ 4(10^n - 1)/9 - 3], Print[n]], {n, 0, 7000}]
%o (PARI)
%o for(n=0,10^4,if(ispseudoprime(abs(4*(10^n-1)/9-3)),print1(n,", "))) \\ _Derek Orr_, Sep 06 2014
%Y Cf. A002275, A056681, A104659.
%K nonn
%O 1,2
%A _Robert G. Wilson v_, Oct 14 2004
%E a(12)-a(17) from Kamada data by _Robert Price_, Sep 06 2014
%E a(18) from Kamada data by _Tyler Busby_, Apr 30 2024