|
Search: id:A096107
|
|
|
| A096107 |
|
Triangle read by rows: row n lists cubic residues modulo n. |
|
+0 2
|
|
| 1, 1, 2, 1, 3, 1, 2, 3, 4, 1, 5, 1, 6, 1, 3, 5, 7, 1, 8, 1, 3, 7, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 5, 7, 11, 1, 5, 8, 12, 1, 13, 1, 2, 4, 7, 8, 11, 13, 14, 1, 3, 5, 7, 9, 11, 13, 15, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 17, 1, 7, 8, 11, 12, 18, 1, 3, 7, 9, 11, 13, 17, 19, 1, 8
(list; table; graph; listen)
|
|
|
OFFSET
|
2,3
|
|
|
PROGRAM
|
(PARI) maybecubegcd1(n) = { for(x=2, n, b=floor(x-1); a=vector(b+1); for(y=1, b, z=y^3%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
|
Cf. A096087.
Sequence in context: A054843 A038566 A020652 this_sequence A128487 A056609 A014673
Adjacent sequences: A096104 A096105 A096106 this_sequence A096108 A096109 A096110
|
|
KEYWORD
|
nonn,tabl
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Jul 22 2004
|
|
EXTENSIONS
|
Edited by Don Reble (djr(AT)nk.ca), May 07 2006
|
|
|
Search completed in 0.002 seconds
|