OFFSET
1,1
COMMENTS
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
The smallest n for which A282445(n)=0 is 44. Prime(44)=193. For q=5,7,..., 181, odd part of (p^2-q^2)/3 is 4653,775,...,187 respectively which are all composite numbers. But for q=191, we have 1. Therefore, 193 is not in the sequence.
PROG
(PARI) is(n)=if(!isprime(n), return(0)); my(p2=n^2, t); forprime(q=5, n-2, t=(p2-q^2)/3; t>>=valuation(t, 2); if(isprime(t) || t==1, return(0))); n > 5 \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, Feb 19 2017
STATUS
approved