OFFSET
1,1
COMMENTS
p = q-k^4+k^2 where p and q are greater of twin primes and p < q.
EXAMPLE
7 = 2^2+3 and 19 = 2^4+3; 7 and 19 are greater of twin primes;
31 = 4^2+15 and 271 = 4^4+15; 31 and 271 are greater of twin primes.
PROG
(PARI) {m=42; v=[]; for(k=2, m, for(s=1, (m+1)^2-1, if((p=k^2+s)<m^2&&isprime(p)&&isprime(p-2)&&(q=k^4+s)>p&&isprime(q)&&isprime(q-2), v=concat(v, p)))); v=listsort(List(v), 1); for(j=1, #v, print1(v[j], ", "))} /* Klaus Brockhaus, Mar 09 2007 */
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Tomas Xordan, Mar 07 2007
EXTENSIONS
Edited and corrected by Klaus Brockhaus, Mar 09 2007
STATUS
approved