AdditionTable
The addition table of ℤ/n, R = QuotientRing(Integers, n): the matrix whose (i, j) entry is aᵢ + aⱼ, its rows and columns ℤ/n's elements in the order ElementOrder lists them.
AdditionTable(R)the n × n matrix of sums, as ResidueClass entries, for 2 ≤ n ≤ 64AdditionTable(R, ElementOrder -> order)rows and columns listed Natural (0, 1, …), by their ChineseRemainder residues, or by their p-adic digits (Adic)Typed signatures
| Type | Package | Applies |
|---|---|---|
(value, value*) -> list | residues | always |
Details
- A circulant: each row is the one above shifted by one place, so every value appears once in each row and column
- Listed by Chinese remainders, ℤ/mn's table (m, n coprime) is ℤ/m's with a copy of ℤ/n's in each cell; listed by digits, ℤ/pᵏ's is p × p blocks of ℤ/pᵏ⁻¹'s
- A
Showdraws it at any size asArrayPlot(AdditionTable(R)), its cells colored by their values; as a value it stops at n = 64
Examples
1 more kept as data, checked against the oraclesAbout
| Examples | 3 |
|---|
Implementation
mapped
wolframpackages/oracle/src/mappings.tsWolfram's GroupMultiplicationTable[CyclicGroup[n]] tabulates the same group, by element indices in GroupElements' order rather than by residues.
See also: MultiplicationTable, QuotientRing, ResidueClass