Step-by-step derivation
S001 · implies
Before
n=19; a=2
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=2
After
normalized residue=2; gcd(2,19)=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, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
After
phi(19)=18
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, 2)
After
power product at k=1 = 2
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=2
After
a^1 mod 19=2
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(2, 2)
After
power product at k=2 = 4
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=4
After
a^2 mod 19=4
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(4, 2)
After
power product at k=3 = 8
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=8
After
a^3 mod 19=8
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(8, 2)
After
power product at k=4 = 16
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=16
After
a^4 mod 19=16
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(16, 2)
After
power product at k=5 = 32
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=32
After
a^5 mod 19=13
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(13, 2)
After
power product at k=6 = 26
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=26
After
a^6 mod 19=7
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S014
S016 · calculation
Before
power product at k=7 := mul(7, 2)
After
power product at k=7 = 14
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · implies
Before
product=14
After
a^7 mod 19=14
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S016
S018 · calculation
Before
power product at k=8 := mul(14, 2)
After
power product at k=8 = 28
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · implies
Before
product=28
After
a^8 mod 19=9
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S018
S020 · calculation
Before
power product at k=9 := mul(9, 2)
After
power product at k=9 = 18
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · implies
Before
product=18
After
a^9 mod 19=18
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S020
S022 · calculation
Before
power product at k=10 := mul(18, 2)
After
power product at k=10 = 36
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · implies
Before
product=36
After
a^10 mod 19=17
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S022
S024 · calculation
Before
power product at k=11 := mul(17, 2)
After
power product at k=11 = 34
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · implies
Before
product=34
After
a^11 mod 19=15
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S024
S026 · calculation
Before
power product at k=12 := mul(15, 2)
After
power product at k=12 = 30
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · implies
Before
product=30
After
a^12 mod 19=11
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S026
S028 · calculation
Before
power product at k=13 := mul(11, 2)
After
power product at k=13 = 22
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S027
S029 · implies
Before
product=22
After
a^13 mod 19=3
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S028
S030 · calculation
Before
power product at k=14 := mul(3, 2)
After
power product at k=14 = 6
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S029
S031 · implies
Before
product=6
After
a^14 mod 19=6
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S030
S032 · calculation
Before
power product at k=15 := mul(6, 2)
After
power product at k=15 = 12
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S031
S033 · implies
Before
product=12
After
a^15 mod 19=12
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S032
S034 · calculation
Before
power product at k=16 := mul(12, 2)
After
power product at k=16 = 24
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S033
S035 · implies
Before
product=24
After
a^16 mod 19=5
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S034
S036 · calculation
Before
power product at k=17 := mul(5, 2)
After
power product at k=17 = 10
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S035
S037 · implies
Before
product=10
After
a^17 mod 19=10
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S036
S038 · calculation
Before
power product at k=18 := mul(10, 2)
After
power product at k=18 = 20
Conditions: none
Multiply the preceding power representative by the same normalized base.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S037
S039 · implies
Before
product=20
After
a^18 mod 19=1
Conditions: none
The remainder is the next full power representative.
Step identifiers and dependencies
Rule: reduce_next_power · Uses: G001, S038
S040 · implies
Before
all positive k<=18: [[1, 2], [2, 4], [3, 8], [4, 16], [5, 13], [6, 7], [7, 14], [8, 9], [9, 18], [10, 17], [11, 15], [12, 11], [13, 3], [14, 6], [15, 12], [16, 5], [17, 10], [18, 1]]
After
first positive return to1 occurs at k=18
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, S039
S041 · implies
Before
multiply unit 1 successively by 2
After
orbit=[1, 2, 4, 8, 16, 13, 7, 14, 9, 18, 17, 15, 11, 3, 6, 12, 5, 10]; length=18
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, S040
S042 · implies
Before
complete disjoint unit orbits=[[1, 2, 4, 8, 16, 13, 7, 14, 9, 18, 17, 15, 11, 3, 6, 12, 5, 10]]
After
phi=18=1·18; 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, S041
Result
(18, 18, Yes, [[1, 2], [2, 4], [3, 8], [4, 16], [5, 13], [6, 7], [7, 14], [8, 9], [9, 18], [10, 17], [11, 15], [12, 11], [13, 3], [14, 6], [15, 12], [16, 5], [17, 10], [18, 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.