login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A096088
Triangle read by rows: row n lists quartic remainders modulo n.
1
0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 3, 4, 0, 1, 2, 4, 0, 1, 0, 1, 4, 7, 0, 1, 5, 6, 0, 1, 3, 4, 5, 9, 0, 1, 4, 9, 0, 1, 3, 9, 0, 1, 2, 4, 7, 8, 9, 11, 0, 1, 6, 10, 0, 1, 0, 1, 4, 13, 16, 0, 1, 4, 7, 9, 10, 13, 16, 0, 1, 4, 5, 6, 7, 9, 11, 16, 17, 0, 1, 5, 16, 0, 1, 4, 7, 9, 15, 16, 18, 0, 1, 3, 4, 5, 9, 11, 12
OFFSET
2,11
PROG
(PARI) maybefourth(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; print1(s[1]", "); for(j=2, b+1, if(s[j]<>s[j-1], c++; print1(s[j]", ") ) );
CROSSREFS
Cf. A096110.
Sequence in context: A087666 A061353 A016653 * A107681 A021298 A170952
KEYWORD
nonn,tabf
AUTHOR
Cino Hilliard, Jul 21 2004
EXTENSIONS
Edited by Don Reble, May 07 2006
STATUS
approved