OFFSET
1,1
COMMENTS
Sequence is infinite, containing all primes congruent to 2, 4, 89, or 115 mod 147. - Charles R Greathouse IV, Oct 28 2014
997 is also a term in this sequence. - Kevin P. Thompson, Jun 13 2022
FORMULA
a(n) < (21 + e)*n log n for any e > 0 and all large enough n. - Charles R Greathouse IV, Oct 28 2014
EXAMPLE
2 is in this sequence because 2 is prime and 2^2 - 2^2 = 0 is not squarefree.
PROG
(Magma) [n: n in [3..269] | IsPrime(n) and not IsSquarefree(2^n - n^2)];
(PARI) is(n)=isprime(n) && !issquarefree(2^n-n^2) \\ Charles R Greathouse IV, Oct 28 2014
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Juri-Stepan Gerasimov, Oct 25 2014
EXTENSIONS
a(5)-a(6) from Charles R Greathouse IV, Oct 28 2014
a(7) from Kevin P. Thompson, Jun 13 2022
STATUS
approved