a(n) is the smallest positive integer such that (the n-th prime)+a(n)! is prime, or -1 if no such prime exists.

A175193

a(n) is the smallest positive integer such that (the n-th prime)+a(n)! is prime, or -1 if no such prime exists.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =3a(4) =2a(5) =3a(6) =2a(7) =4a(8) =3a(9) =2a(10) =3a(11) =3a(12) =2a(13) =4a(14) =3a(15) =3a(16) =2a(17) =3a(18) =3a(19) =2a(20) =3a(21) =4a(22) =3a(23) =4a(24) =3a(25) =2a(26) =3a(27) =2a(28) =5a(29) =4

External references