OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..300
MAPLE
q:= 2: count:= 0:
for n from 1 while count < 100 do
p:= q; q:= nextprime(p);
if q^4 - p^4 mod n = 0 then count:= count+1; A[count]:= n; fi;
od:
seq(A[i], i=1..count); # Robert Israel, May 16 2017
MATHEMATICA
Select[Range[100], Mod[Prime[# + 1]^4 , #] == Mod[Prime[#]^4, #] &] (* G. C. Greubel, May 17 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 06 2002
STATUS
approved