login
Smallest k such that n^4+k^4, n^2+k^2, n+k are simultaneously primes.
0

%I #6 Mar 30 2012 18:39:02

%S 1,1,2,1,2,1,10,3,10,7,6,25,10,15,14,1,2,5,10,3,10,15,8,19,6,11,2,13,

%T 120,11,76,5,20,9,68,65,30,3,34,43,66,5,10,149,2,21,20,893,34,17,20,

%U 27,20,85,58,141,2,55,20,37,10,47,110,85,18,41,40,35,10,223,26,7,240,9,8

%N Smallest k such that n^4+k^4, n^2+k^2, n+k are simultaneously primes.

%o (PARI) for(n=1,100,s=1; while(isprime(s^2+n^2)*isprime(s+n)*isprime(s^4+n^4)==0,s++); print1(s,","))

%K easy,nonn

%O 1,3

%A _Benoit Cloitre_, May 30 2002