a(n) = n^d+d^n where d = A013632(n) is the distance to the next prime.

A171240

a(n) = n^d+d^n where d = A013632(n) is the distance to the next prime.

Terms

    a(0) =2a(1) =3a(2) =17a(3) =5a(4) =57a(5) =7a(6) =18785a(7) =7073a(8) =593a(9) =11a(10) =2169a(11) =13a(12) =67137425a(13) =4785713a(14) =32993a(15) =17a(16) =131361a(17) =19a(18) =274878037265a(19) =3486792401a(20) =2097593a(21) =23a(26) =134218457a(27) =29a(28) =536871753a(29) =31

External references