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 #21 Aug 03 2022 10:38:47
%S 3,23,139,113,1129,2477,1327,30593,81463,44293,34061,404597,265621,
%T 155921,1100977,1098847,1349533,3117299,6958667,10343761,6034247,
%U 49268581,83751121,39389989,166726367,107534587,232423823,253878403
%N a(n) is the smallest p prime such that the largest prime divisor of the difference nextprime(a(n))-a(n) equals the n-th prime, prime(n).
%C For n > 1, a(n) = A080082(n). - _Zak Seidov_, Jul 05 2013
%F a(n) = min{ prime(j) : A006530(prime(j+1)-prime(j)) = prime(n) }.
%t t=Table[0, {100}]; ma[n_]:=FactorInteger[n][[-1,1]];Do[s=ma[Prime[n+1]-Prime[n]]; If[s<101&&t[[PrimePi[s]]]==0, t[[PrimePi[s]]]=Prime[n]], {n, 2, 170000000}]; t
%Y Cf. A001223, A006530, A080082, A000230, A000040.
%K nonn
%O 1,1
%A _Labos Elemer_, Apr 02 2003
%E Three more terms added from A080082 by _Zak Seidov_, Jul 05 2013
%E Typo in Mathematica program fixed by _Zak Seidov_, Jul 06 2013