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 #6 Oct 15 2013 22:31:55
%S 7,359,199,1831,887,2179,2971,5591,9551,33247,15683,106543,25471,
%T 153191,43331,288583,372539,360091,873787,542603,637939,544279,
%U 1291691,860143,1313467,1388483,2238823,2637799,6695747,1895359,6752623,3851459
%N a(n) is the smallest prime p of the form 4k+3 such that nextprime[p]-p=4n.
%e nextprime[a(9)]-a(9)=9587-9551=36=4.9
%t {m=4, r=3}; f[x_] := (Prime[x+1]-Prime[x])/m t=Table[0, {100}]; Do[s=f[n]; s1=Mod[Prime[n+1], m]; If[IntegerQ[s]&&Equal[s1, r]&&s<101&&t[[s]]==0, t[[s]]=Prime[n]], {n, 1, 1000000}]; t
%Y Cf. A002144, A002145, A082073-A082076, A082099.
%K nonn
%O 1,1
%A _Labos Elemer_, Apr 14 2003