RosettaCodeData/Task/Jacobi-symbol/Mathematica/jacobi-symbol.math

4 lines
162 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
TableForm[Table[JacobiSymbol[n, k], {n, 1, 17, 2}, {k, 16}],
TableHeadings -> {ReplacePart[Range[1, 17, 2], 1 -> "n=1"],
ReplacePart[Range[16], 1 -> "k=1"]}]