Step-by-step derivation
S001 · implies
Before
n=18; a=5
After
order is defined here only for n≥2 and units modulo n
Conditions: none
Fix this node's domain first; do not confuse additive and multiplicative order.
Step identifiers and dependencies
Rule: order_domain · Uses: G001
S002 · implies
Before
a=5
After
normalized residue=5; gcd(5,18)=1
Conditions: none
Normalize even a negative representative into[0,n), then test coprimality.
Step identifiers and dependencies
Rule: normalize_and_qualify · Uses: G001, S001
S003 · implies
Before
gcd(residue,n)=1; units=[1, 5, 7, 11, 13, 17]
After
phi(18)=6
Conditions: none
Enumerate every coprime class from0 through n−1; phi is the complete unit-carrier size.
Step identifiers and dependencies
Rule: complete_unit_enumeration · Uses: G001, S002
S004 · calculation
Before
power product at k=1 := mul(1, 5)
After
power product at k=1 = 5
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · implies
Before
product=5
After
a^1 mod 18=5
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S004
S006 · calculation
Before
power product at k=2 := mul(5, 5)
After
power product at k=2 = 25
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · implies
Before
product=25
After
a^2 mod 18=7
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S006
S008 · calculation
Before
power product at k=3 := mul(7, 5)
After
power product at k=3 = 35
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · implies
Before
product=35
After
a^3 mod 18=17
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S008
S010 · calculation
Before
power product at k=4 := mul(17, 5)
After
power product at k=4 = 85
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · implies
Before
product=85
After
a^4 mod 18=13
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S010
S012 · calculation
Before
power product at k=5 := mul(13, 5)
After
power product at k=5 = 65
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · implies
Before
product=65
After
a^5 mod 18=11
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S012
S014 · calculation
Before
power product at k=6 := mul(11, 5)
After
power product at k=6 = 55
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · implies
Before
product=55
After
a^6 mod 18=1
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S014
S016 · implies
Before
all positive k<=6: [[1, 5], [2, 7], [3, 17], [4, 13], [5, 11], [6, 1]]
After
first positive return to1 occurs at k=6
Conditions: none
Every smaller positive exponent has been checked not to return to1; the identity at exponent0 is not the order.
Step identifiers and dependencies
Rule: least_positive_return · Uses: G001, S015
S017 · implies
Before
multiply unit 1 successively by 5
After
orbit=[1, 5, 7, 17, 13, 11]; length=6
Conditions: none
Multiplication by a unit is bijective; an earlier return would cancel the starting unit and contradict the least positive order.
Step identifiers and dependencies
Rule: unit_orbit_partition · Uses: G001, S016
S018 · implies
Before
complete disjoint unit orbits=[[1, 5, 7, 17, 13, 11]]
After
phi=6=1·6; remainder=0
Conditions: none
The unit set is partitioned into equal-length orbits, so order divides phi; equality or a primitive-root claim does not follow.
Step identifiers and dependencies
Rule: order_divides_totient · Uses: G001, S017
Result
(6, 6, Yes, [[1, 5], [2, 7], [3, 17], [4, 13], [5, 11], [6, 1]], ord_n_a_divides_phi_n_without_claiming_equality_or_primitive_root)
The full substitutions and premise audits recover the original answer, retaining its field order and verdict meanings.