|
Search: id:A063987
|
|
|
| A063987 |
|
Triangle in which n-th row gives quadratic residues modulo the n-th prime. |
|
+0 6
|
|
| 1, 1, 1, 4, 1, 2, 4, 1, 3, 4, 5, 9, 1, 3, 4, 9, 10, 12, 1, 2, 4, 8, 9, 13, 15, 16, 1, 4, 5, 6, 7, 9, 11, 16, 17, 1, 2, 3, 4, 6, 8, 9, 12, 13, 16, 18, 1, 4, 5, 6, 7, 9, 13, 16, 20, 22, 23, 24, 25, 28, 1, 2, 4, 5, 7, 8, 9, 10, 14, 16, 18, 19, 20, 25, 28, 1, 3, 4, 7, 9, 10, 11, 12, 16, 21, 25
(list; graph; listen)
|
|
|
OFFSET
|
1,4
|
|
|
LINKS
|
T. D. Noe, Rows n=1..100 of triangle, flattened
|
|
EXAMPLE
|
Mod the 5-th prime, 11, the quadratic rseidues are 1,3,4,5,9 and the non-residues are 2,6,7,8,10.
1; 1; 1,4; 1,2,4; 1,3,4,5,9; ...
|
|
MAPLE
|
with(numtheory): for n from 1 to 20 do for j from 1 to ithprime(n)-1 do if legendre(j, ithprime(n)) = 1 then printf(`%d, `, j) fi; od: od:
|
|
CROSSREFS
|
Cf. A063988.
Sequence in context: A127812 A100353 A080508 this_sequence A010126 A021712 A014571
Adjacent sequences: A063984 A063985 A063986 this_sequence A063988 A063989 A063990
|
|
KEYWORD
|
nonn,tabf,nice,easy
|
|
AUTHOR
|
Suggested by Gary W. Adamson, Sep 18 2001
|
|
EXTENSIONS
|
More terms from James A. Sellers (sellersj(AT)math.psu.edu), Sep 25 2001
|
|
|
Search completed in 0.002 seconds
|