Finite Field Power Table

A finite field F_p[x]/(f) as clickable elements. In the powers view the learner picks an element g and steps through g, g^2, g^3, ... until the cycle closes, seeing which nonzero elements are reached (all of them exactly when g generates), with optional orders panel, generator marks, test exponents and index table; in the Frobenius view every element carries its image a^p, the learner follows a ↦ a^p round its orbit, iterates φ^d to light up the subfield of fixed points, and lists the orbits with their polynomials.

Used in: Ring Theory

Props

PropTypeDefaultDescription
titlestring"Powers of an element" / "Frobenius map a ↦ aᵖ"Title bar text.
controlsstring[]all controls shownIds of the hideable controls and text blocks to show (see the controls registry: view.*, highlight.*, readout.*, panel.*). Core controls always show. Page building fills this from the subject's topic scope.
mode"powers" | "frobenius"inferred: "frobenius" when showAllOrbits, showOrbitPolynomials or subfieldDegree is set, else "powers"powers: the power table g^0, g^1, ... of one element (one cycle of length q - 1 when g generates). frobenius: every element with its image a^p, Frobenius orbits and fixed points of φ^d. The learner can switch when the other view's control is shown.
pnumber2The prime characteristic. With p alone (no modulus, no degree) the field is F_p itself.
modulusstring"x^4 + x + 1" (when p, modulus and degree are all absent)The polynomial f; the ring is F_p[x]/(f), with p^deg(f) elements (at most 1024). Any single letter works as the variable ("y^2 + y + 1"). A reducible f gives a ring that is not a field (at most 256 elements); a notice says so and non-units show powers that never return to 1.
degreenumbernoneInstead of modulus: use the first monic irreducible polynomial of this degree over F_p (e.g. p 3, degree 3 gives F_27).
selectedstring"x" (in F_p: a generator) in powers mode; none in frobenius modeAn element as a polynomial in the variable ("x^3 + 1", "x + 1", "2x", "(x+1)^2", "x^14"; reduced mod f). Powers mode: the element g whose powers are listed. Frobenius mode: the element whose path a, a^p, a^(p^2), ... is traced.
compareWithstringnoneA second element. Powers mode: its powers are listed next to those of selected (e.g. x of order 5 next to the generator x + 1). Frobenius mode: the element b in the additivity check (a + b)^p = a^p + b^p.
stepnumberall powers shownPowers mode: show only g^0 .. g^step at start, so the learner walks the cycle with the arrow buttons.
highlightGeneratorsbooleanfalsePowers mode (fields): outline every multiplicative generator (element of order q - 1) at start; the learner can switch it off.
showPeriodsbooleanfalsePowers mode: open the panel grouping the nonzero elements by multiplicative order d, with counts (and φ(d) when that readout is shown).
testPowersnumber[][]Powers mode: exponents e to test, e.g. [5, 3] in F_16 ((q-1)/ℓ for the primes ℓ | 15). The cells g^e are marked and a readout gives each g^e and the verdict on the order.
invertbooleanfalsePowers mode (fields): open the index (discrete logarithm) table, the exponent k with g^k = a for every nonzero a, when g is a generator.
showAllOrbitsbooleanfalseFrobenius mode: open the list of all orbits of a ↦ a^p (the field split into cycles).
showOrbitPolynomialsbooleanfalseFrobenius mode (fields): show for every orbit the polynomial ∏(X - b) over its elements (an irreducible factor over F_p), and that their product is X^q - X.
subfieldDegreenumbernone (φ itself)Frobenius mode: start with the iterate φ^d, d = subfieldDegree; every element shows a^(p^d) and the fixed points (the subfield F_(p^gcd(d,n))) are shaded. The learner picks d from 1 to n.