OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Min{x; A085341(x)=n}.
MATHEMATICA
m = 100; seq = Table[0, {m}]; c = 0; n = 0; While[c < m, n++; i = PrimePi[ DivisorSigma[1, n]] - PrimePi[n]; If[i <= m && seq[[i]] == 0, c++; seq[[i]] = n]]; seq (* Amiram Eldar, Mar 01 2020 *)
PROG
(PARI) a(n) = {my(x=1); while (primepi(sigma(x)) - primepi(x) != n, x++); x; } \\ Michel Marcus, Mar 01 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 10 2003
STATUS
approved