login
A081413
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).
2
3, 23, 139, 113, 1129, 2477, 1327, 30593, 81463, 44293, 34061, 404597, 265621, 155921, 1100977, 1098847, 1349533, 3117299, 6958667, 10343761, 6034247, 49268581, 83751121, 39389989, 166726367, 107534587, 232423823, 253878403
OFFSET
1,1
COMMENTS
For n > 1, a(n) = A080082(n). - Zak Seidov, Jul 05 2013
FORMULA
a(n) = min{ prime(j) : A006530(prime(j+1)-prime(j)) = prime(n) }.
MATHEMATICA
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
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 02 2003
EXTENSIONS
Three more terms added from A080082 by Zak Seidov, Jul 05 2013
Typo in Mathematica program fixed by Zak Seidov, Jul 06 2013
STATUS
approved