A144832 Distance from nxtprm(n^2) to (n+1)^2 in A144831 is prime.
2, 5, 7, 11, 17, 17, 23, 29, 31, 41, 47, 67, 71, 71, 89, 89, 97, 113, 109, 107, 127, 131, 137, 157, 167, 173, 173, 191, 197, 193, 197, 227, 233, 227, 251, 257, 271, 293, 271, 307, 313, 317, 331, 349, 353, 383, 383, 409, 419, 431, 449, 463, 467, 487, 503, 509
Offset: 1
Examples
a(2)=5 because 3^2=9 and 4^2=16. Nxtprm(3^2)=11 and 16-11=5, a prime.
Formula
Terms in this sequence are from A144831 iff the distance from nxtprm n^2 to (n+1)^2 is prime.
Comments