a(n) is the smallest prime p where |d(p-1) - d(p+1)| = n. (d(m) = the number of divisors of m.)

A145338

a(n) is the smallest prime p where |d(p-1) - d(p+1)| = n. (d(m) = the number of divisors of m.)

Terms

    a(0) =7a(1) =2a(2) =11a(3) =197a(4) =23a(5) =37a(6) =47a(7) =401a(8) =59a(9) =1601a(10) =181a(11) =16901a(12) =167a(13) =3137a(14) =179a(15) =577a(16) =419a(17) =1297a(18) =1051a(19) =12101a(20) =359a(21) =739601a(22) =1009a(23) =4357a(24) =1511a(25) =50177a(26) =719a(27) =171610001a(28) =839a(29) =67601

External references