OFFSET
2,7
PROG
(PARI) maybefourthgcd1(n) = { for(x=2, n, b=floor(x-1); a=vector(b+1); for(y=1, b, z=y^4%x; if(z<>0, a[y]=z; ) ); s=vecsort(a); c=1; for(j=2, b+1, if(s[j]<>s[j-1], c++; if(gcd(s[j], x)==1, print1(s[j]", ")) ) ); ) }
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Cino Hilliard, Jul 22 2004
EXTENSIONS
Edited by Don Reble, May 07 2006
STATUS
approved