Explore related knowledge and questions →

Question 27782: All Nonzero Prime Residues Pair with Inverses, with a Special p=2 Case

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 139

← Question derivation index · Original question batch

R0054-27782 · q-20261015-advance-20261118-r04-wilson-theorem-0032

Original question and givens

Use prime modulus p=17. Give (p, all_inverse_pairs, self_inverse_residues, distinct_cancelling_pairs, self_inverse_scope, factorial_residue, Wilson_congruence).

  • G001 — Use prime modulus p=17. Give (p, all_inverse_pairs, self_inverse_residues, distinct_cancelling_pairs, self_inverse_scope, factorial_residue, Wilson_congruence).

Definition and scope

Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate.

Step-by-step derivation

S001 · implies

Before

source roles = [wilson-prime-inverse-pairing]

After

derived = [[p, all_inverse_pairs, self_inverse_residues, distinct_cancelling_pairs, self_inverse_scope, factorial_residue, Wilson_congruence]]

Conditions: none

List the complete operation/mode field order without JavaScript or answer-shape inference;Boolean,string,null and an unclaimed result remain distinct.

Step identifiers and dependencies

Rule: source_ordered_fields_without_JS · Uses: G001

S002 · implies

Before

source roles = [17, 1]

After

derived = [1, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S001

S003 · implies

Before

source roles = [17, 2]

After

derived = [9, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S002

S004 · implies

Before

source roles = [17, 3]

After

derived = [6, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S003

S005 · implies

Before

source roles = [17, 4]

After

derived = [13, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S004

S006 · implies

Before

source roles = [17, 5]

After

derived = [7, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S005

S007 · implies

Before

source roles = [17, 6]

After

derived = [3, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S006

S008 · implies

Before

source roles = [17, 7]

After

derived = [5, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S007

S009 · implies

Before

source roles = [17, 8]

After

derived = [15, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S008

S010 · implies

Before

source roles = [17, 9]

After

derived = [2, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S009

S011 · implies

Before

source roles = [17, 10]

After

derived = [12, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S010

S012 · implies

Before

source roles = [17, 11]

After

derived = [14, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S011

S013 · implies

Before

source roles = [17, 12]

After

derived = [10, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S012

S014 · implies

Before

source roles = [17, 13]

After

derived = [4, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S013

S015 · implies

Before

source roles = [17, 14]

After

derived = [11, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S014

S016 · implies

Before

source roles = [17, 15]

After

derived = [8, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S015

S017 · implies

Before

source roles = [17, 16]

After

derived = [16, 1]

Conditions: none

Every nonzero residue at a prime modulus is a unit.For each a find the first source inverse;two inverses coincide by cancellation of a.

Step identifiers and dependencies

Rule: Wilson_EVERY_nonzero_prime_residue_unique_inverse · Uses: G001, S016

S018 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product1 := mul(1, 1)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product1 = 1

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S017

S019 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 1, 1, 1]

After

derived = [0, 1, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S018

S020 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product2 := mul(1, 2)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product2 = 2

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S019

S021 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 2, 1, 2]

After

derived = [0, 2, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S020

S022 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product3 := mul(2, 3)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product3 = 6

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S021

S023 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 3, 2, 6]

After

derived = [0, 6, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S022

S024 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product4 := mul(6, 4)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product4 = 24

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S023

S025 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 4, 6, 24]

After

derived = [1, 7, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S024

S026 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product5 := mul(7, 5)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product5 = 35

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S025

S027 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 5, 7, 35]

After

derived = [2, 1, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S026

S028 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product6 := mul(1, 6)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product6 = 6

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S027

S029 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 6, 1, 6]

After

derived = [0, 6, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S028

S030 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product7 := mul(6, 7)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product7 = 42

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S029

S031 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 7, 6, 42]

After

derived = [2, 8, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S030

S032 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product8 := mul(8, 8)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product8 = 64

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S031

S033 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 8, 8, 64]

After

derived = [3, 13, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S032

S034 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product9 := mul(13, 9)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product9 = 117

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S033

S035 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 9, 13, 117]

After

derived = [6, 15, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S034

S036 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product10 := mul(15, 10)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product10 = 150

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S035

S037 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 10, 15, 150]

After

derived = [8, 14, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S036

S038 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product11 := mul(14, 11)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product11 = 154

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S037

S039 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 11, 14, 154]

After

derived = [9, 1, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S038

S040 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product12 := mul(1, 12)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product12 = 12

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S039

S041 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 12, 1, 12]

After

derived = [0, 12, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S040

S042 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product13 := mul(12, 13)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product13 = 156

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S041

S043 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 13, 12, 156]

After

derived = [9, 3, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S042

S044 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product14 := mul(3, 14)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product14 = 42

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S043

S045 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 14, 3, 42]

After

derived = [2, 8, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S044

S046 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product15 := mul(8, 15)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product15 = 120

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S045

S047 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 15, 8, 120]

After

derived = [7, 1, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S046

S048 · calculation

Before

Wilson ORIGINAL prime factorial ORIGINAL running factorial product16 := mul(1, 16)

After

Wilson ORIGINAL prime factorial ORIGINAL running factorial product16 = 16

Conditions: none

Substitute original roles and established intermediates exactly,not approximations or internally consistent changed operands;extra teaching algebra adds no source-domain gate.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S047

S049 · implies

Before

source roles = [Wilson ORIGINAL prime factorial, 17, 16, 1, 16]

After

derived = [0, 16, Yes, Yes]

Conditions: none

Retain the prior residue and full product at every k,then its unique Euclidean remainder in0..n-1.The invariant is value congruent to k! mod n,not an assumed last table entry.

Step identifiers and dependencies

Rule: Wilson_EACH_running_factorial_exact_Euclidean_remainder · Uses: G001, S048

S050 · implies

Before

source roles = [17, [[1, 1], [2, 9], [3, 6], [4, 13], [5, 7], [6, 3], [7, 5], [8, 15], [9, 2], [10, 12], [11, 14], [12, 10], [13, 4], [14, 11], [15, 8], [16, 16]]]

After

derived = [[1, 16], [[2, 9, 1], [3, 6, 1], [4, 13, 1], [5, 7, 1], [8, 15, 1], [10, 12, 1], [11, 14, 1]], 16, Yes]

Conditions: none

Nonself inverse pairs multiply to1.A self-inverse satisfies(r-1)(r+1)=0 modulo a prime,so is±1.For p>2 their product is-1;at p2 only the single1=-1 remains.This general teaching argument does not turn the finite table/program into a Lean proof.

Step identifiers and dependencies

Rule: Wilson_GENERAL_inverse_pairing_and_p2_exception · Uses: G001, S049

Reverse checks

  • S050 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S049 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S048 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product16 with exact rational arithmetic, not rounded decimals.
  • S047 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S046 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product15 with exact rational arithmetic, not rounded decimals.
  • S045 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S044 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product14 with exact rational arithmetic, not rounded decimals.
  • S043 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S042 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product13 with exact rational arithmetic, not rounded decimals.
  • S041 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S040 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product12 with exact rational arithmetic, not rounded decimals.
  • S039 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S038 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product11 with exact rational arithmetic, not rounded decimals.
  • S037 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S036 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product10 with exact rational arithmetic, not rounded decimals.
  • S035 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S034 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product9 with exact rational arithmetic, not rounded decimals.
  • S033 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S032 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product8 with exact rational arithmetic, not rounded decimals.
  • S031 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S030 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product7 with exact rational arithmetic, not rounded decimals.
  • S029 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S028 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product6 with exact rational arithmetic, not rounded decimals.
  • S027 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S026 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product5 with exact rational arithmetic, not rounded decimals.
  • S025 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S024 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product4 with exact rational arithmetic, not rounded decimals.
  • S023 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S022 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product3 with exact rational arithmetic, not rounded decimals.
  • S021 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S020 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product2 with exact rational arithmetic, not rounded decimals.
  • S019 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S018 · premise_and_result_audit — Recompute Wilson ORIGINAL prime factorial ORIGINAL running factorial product1 with exact rational arithmetic, not rounded decimals.
  • S017 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S016 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S015 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S014 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S013 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S012 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S011 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S010 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S009 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S008 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S007 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S006 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S005 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S004 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S003 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S002 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S001 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.

Result

(17, [[1, 1], [2, 9], [3, 6], [4, 13], [5, 7], [6, 3], [7, 5], [8, 15], [9, 2], [10, 12], [11, 14], [12, 10], [13, 4], [14, 11], [15, 8], [16, 16]], [1, 16], [[2, 9, 1], [3, 6, 1], [4, 13, 1], [5, 7, 1], [8, 15, 1], [10, 12, 1], [11, 14, 1]], self_inverse_residues_1_and_p_minus_1, 16, Yes)

The full substitutions and premise checks give the original answer; source identity,format and status are unchanged.

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: a78ff92645e28b00153ad30d1944c4a234a2dc568c9e86f22f884fc7d247e9a0
  • candidate record SHA-256: e8e0ffe1ca8ece7050e2d847dd5a353a86bf7cd41fe810fc4071b157c2abb97f
  • semantic review receipt SHA-256: 0a76d8e93c08bb16998a0483f3dfc0504f269fc3e1982e6cd868cab0a2856d54
  • question-first witness SHA-256: 09127b736c225714dfa0b7ceb0e6a6e66df27438b480cad8217d3c2f99ce9437
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON