a(n) is the least k such that k^j+2 is prime for j = 1 to n but not n+1.

A359396

a(n) is the least k such that k^j+2 is prime for j = 1 to n but not n+1.

Terms

    a(0) =5a(1) =9a(2) =105a(3) =3a(4) =909a(5) =4995825a(6) =28212939

External references