Explore related knowledge and questions →

Question 940: The First Positive Power Returning to One Defines the Order

On this page
  1. Original question and givens
  2. Definition and scope
  3. Step-by-step derivation
  4. Reverse checks
  5. Result
  6. This question review and source binding

Return to catalogue page 5

← Question derivation index · Original question batch

P1000-0940 · q-20261015-advance-20261116-r07-multiplicative-order-mod-n-0040

Original question and givens

Use exact modulus n=17 and integer a=2. First require n≥2 and normalize a modulo n into the canonical nonnegative residue, then require gcd(a,n)=1. The order is the least positive return exponent, not any return. Give (power_rows, order, no_earlier_return, returns_one, certificate).

  • G001 — Use exact modulus n=17 and integer a=2. First require n≥2 and normalize a modulo n into the canonical nonnegative residue, then require gcd(a,n)=1. The order is the least positive return exponent, not any return. Give (power_rows, order, no_earlier_return, returns_one, certificate).

Definition and scope

Require n≥2 and a normalized residue coprime to n. The order is the first positive exponent returning to 1.

Step-by-step derivation

S001 · implies

Before

n=17; 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,17)=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]

After

phi(17)=16

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 17=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 17=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 17=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 17=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 17=15

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(15, 2)

After

power product at k=6 = 30

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=30

After

a^6 mod 17=13

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(13, 2)

After

power product at k=7 = 26

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=26

After

a^7 mod 17=9

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(9, 2)

After

power product at k=8 = 18

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=18

After

a^8 mod 17=1

Conditions: none

The remainder is the next full power representative.

Step identifiers and dependencies

Rule: reduce_next_power · Uses: G001, S018

S020 · implies

Before

all positive k<=8: [[1, 2], [2, 4], [3, 8], [4, 16], [5, 15], [6, 13], [7, 9], [8, 1]]

After

first positive return to1 occurs at k=8

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, S019

Reverse checks

  • S020 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S019 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S018 · premise_and_result_audit — Recompute power product at k=8 with exact rational arithmetic, not rounded decimals.
  • S017 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S016 · premise_and_result_audit — Recompute power product at k=7 with exact rational arithmetic, not rounded decimals.
  • S015 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S014 · premise_and_result_audit — Recompute power product at k=6 with exact rational arithmetic, not rounded decimals.
  • S013 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S012 · premise_and_result_audit — Recompute power product at k=5 with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S010 · premise_and_result_audit — Recompute power product at k=4 with exact rational arithmetic, not rounded decimals.
  • S009 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S008 · premise_and_result_audit — Recompute power product at k=3 with exact rational arithmetic, not rounded decimals.
  • S007 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S006 · premise_and_result_audit — Recompute power product at k=2 with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S004 · premise_and_result_audit — Recompute power product at k=1 with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S002 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.
  • S001 · premise_and_result_audit — Order is the first positive return to1; check n≥2 and coprimality first, and do not assert order=phi.

Result

([[1, 2], [2, 4], [3, 8], [4, 16], [5, 15], [6, 13], [7, 9], [8, 1]], 8, Yes, Yes, order_is_the_first_positive_return)

The full substitutions and premise audits recover the original answer, retaining its field order and verdict meanings.

This question review and source binding

Review date: 2026-10-26

Original questions, answers, step expressions, numeric ASTs and historical records are retained. Source candidate labels remain historical and are not overwritten as formal proof.

Source hashes and review receipts
  • input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
  • original question SHA-256: 1a50ea7c913262e3281ec908dbf7eaddd18fbe7af9a8b0f2afa5ff5abfd84fc6
  • candidate record SHA-256: 2738f4da8e0fb928715872cebd8d937eb8108eb31c6049cad578fd9f4b92cc16
  • semantic review receipt SHA-256: 6c2c6d46aded7582a11ac41a8c0b3bdde2669a53bdb6e796eea2039994a02772
  • question-first witness SHA-256: 77e43898df9efdbf8094ad81fe4ab91cf4b4bd82f481eb9b4699b73cb4da612b
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON