Explore related knowledge and questions →

Question 27713: Wilson Domain, Finite Testing, Fermat Comparison and the p=2 Exception Stay Separate

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-27713 · q-20261015-advance-20261118-r04-wilson-theorem-0088

Original question and givens

Use mode=fermat_confusion and exact integer n=41. Give (mode, n, running_factorial_residues, factorial_residue, minus_one_residue, Wilson_congruence, Wilson_statement, Fermat_statement, theorem_identification_claim, boundary).

  • G001 — Use mode=fermat_confusion and exact integer n=41. Give (mode, n, running_factorial_residues, factorial_residue, minus_one_residue, Wilson_congruence, Wilson_statement, Fermat_statement, theorem_identification_claim, boundary).

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-boundary]

After

derived = [[mode, n, running_factorial_residues, factorial_residue, minus_one_residue, Wilson_congruence, Wilson_statement, Fermat_statement, theorem_identification_claim, boundary]]

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 · calculation

Before

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

After

Wilson boundary ORIGINAL prime 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, S001

S003 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 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, S002

S004 · calculation

Before

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

After

Wilson boundary ORIGINAL prime 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, S003

S005 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 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, S004

S006 · calculation

Before

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

After

Wilson boundary ORIGINAL prime 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, S005

S007 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 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, S006

S008 · calculation

Before

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

After

Wilson boundary ORIGINAL prime 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, S007

S009 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 4, 6, 24]

After

derived = [0, 24, 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, S008

S010 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product5 = 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, S009

S011 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 5, 24, 120]

After

derived = [2, 38, 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, S010

S012 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product6 = 228

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

S013 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 6, 38, 228]

After

derived = [5, 23, 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, S012

S014 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product7 = 161

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

S015 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 7, 23, 161]

After

derived = [3, 38, 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, S014

S016 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product8 = 304

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

S017 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 8, 38, 304]

After

derived = [7, 17, 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, S016

S018 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product9 = 153

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 boundary ORIGINAL prime, 41, 9, 17, 153]

After

derived = [3, 30, 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 boundary ORIGINAL prime ORIGINAL running factorial product10 := mul(30, 10)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product10 = 300

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 boundary ORIGINAL prime, 41, 10, 30, 300]

After

derived = [7, 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, S020

S022 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product11 = 143

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 boundary ORIGINAL prime, 41, 11, 13, 143]

After

derived = [3, 20, 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 boundary ORIGINAL prime ORIGINAL running factorial product12 := mul(20, 12)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product12 = 240

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 boundary ORIGINAL prime, 41, 12, 20, 240]

After

derived = [5, 35, 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 boundary ORIGINAL prime ORIGINAL running factorial product13 := mul(35, 13)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product13 = 455

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 boundary ORIGINAL prime, 41, 13, 35, 455]

After

derived = [11, 4, 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 boundary ORIGINAL prime ORIGINAL running factorial product14 := mul(4, 14)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product14 = 56

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 boundary ORIGINAL prime, 41, 14, 4, 56]

After

derived = [1, 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, S028

S030 · calculation

Before

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

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product15 = 225

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 boundary ORIGINAL prime, 41, 15, 15, 225]

After

derived = [5, 20, 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 boundary ORIGINAL prime ORIGINAL running factorial product16 := mul(20, 16)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product16 = 320

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 boundary ORIGINAL prime, 41, 16, 20, 320]

After

derived = [7, 33, 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 boundary ORIGINAL prime ORIGINAL running factorial product17 := mul(33, 17)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product17 = 561

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 boundary ORIGINAL prime, 41, 17, 33, 561]

After

derived = [13, 28, 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 boundary ORIGINAL prime ORIGINAL running factorial product18 := mul(28, 18)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product18 = 504

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 boundary ORIGINAL prime, 41, 18, 28, 504]

After

derived = [12, 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, S036

S038 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product19 := mul(12, 19)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product19 = 228

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 boundary ORIGINAL prime, 41, 19, 12, 228]

After

derived = [5, 23, 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 boundary ORIGINAL prime ORIGINAL running factorial product20 := mul(23, 20)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product20 = 460

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 boundary ORIGINAL prime, 41, 20, 23, 460]

After

derived = [11, 9, 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 boundary ORIGINAL prime ORIGINAL running factorial product21 := mul(9, 21)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product21 = 189

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 boundary ORIGINAL prime, 41, 21, 9, 189]

After

derived = [4, 25, 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 boundary ORIGINAL prime ORIGINAL running factorial product22 := mul(25, 22)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product22 = 550

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 boundary ORIGINAL prime, 41, 22, 25, 550]

After

derived = [13, 17, 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 boundary ORIGINAL prime ORIGINAL running factorial product23 := mul(17, 23)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product23 = 391

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 boundary ORIGINAL prime, 41, 23, 17, 391]

After

derived = [9, 22, 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 boundary ORIGINAL prime ORIGINAL running factorial product24 := mul(22, 24)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product24 = 528

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 boundary ORIGINAL prime, 41, 24, 22, 528]

After

derived = [12, 36, 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 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product25 := mul(36, 25)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product25 = 900

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

S051 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 25, 36, 900]

After

derived = [21, 39, 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, S050

S052 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product26 := mul(39, 26)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product26 = 1014

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

S053 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 26, 39, 1014]

After

derived = [24, 30, 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, S052

S054 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product27 := mul(30, 27)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product27 = 810

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

S055 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 27, 30, 810]

After

derived = [19, 31, 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, S054

S056 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product28 := mul(31, 28)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product28 = 868

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

S057 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 28, 31, 868]

After

derived = [21, 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, S056

S058 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product29 := mul(7, 29)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product29 = 203

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

S059 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 29, 7, 203]

After

derived = [4, 39, 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, S058

S060 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product30 := mul(39, 30)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product30 = 1170

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

S061 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 30, 39, 1170]

After

derived = [28, 22, 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, S060

S062 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product31 := mul(22, 31)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product31 = 682

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

S063 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 31, 22, 682]

After

derived = [16, 26, 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, S062

S064 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product32 := mul(26, 32)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product32 = 832

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

S065 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 32, 26, 832]

After

derived = [20, 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, S064

S066 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product33 := mul(12, 33)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product33 = 396

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

S067 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 33, 12, 396]

After

derived = [9, 27, 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, S066

S068 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product34 := mul(27, 34)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product34 = 918

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

S069 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 34, 27, 918]

After

derived = [22, 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, S068

S070 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product35 := mul(16, 35)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product35 = 560

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

S071 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 35, 16, 560]

After

derived = [13, 27, 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, S070

S072 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product36 := mul(27, 36)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product36 = 972

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

S073 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 36, 27, 972]

After

derived = [23, 29, 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, S072

S074 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product37 := mul(29, 37)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product37 = 1073

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

S075 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 37, 29, 1073]

After

derived = [26, 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, S074

S076 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product38 := mul(7, 38)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product38 = 266

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

S077 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 38, 7, 266]

After

derived = [6, 20, 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, S076

S078 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product39 := mul(20, 39)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product39 = 780

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

S079 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 39, 20, 780]

After

derived = [19, 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, S078

S080 · calculation

Before

Wilson boundary ORIGINAL prime ORIGINAL running factorial product40 := mul(1, 40)

After

Wilson boundary ORIGINAL prime ORIGINAL running factorial product40 = 40

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

S081 · implies

Before

source roles = [Wilson boundary ORIGINAL prime, 41, 40, 1, 40]

After

derived = [0, 40, 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, S080

S082 · implies

Before

source roles = [41, [[1, 1], [2, 2], [3, 6], [4, 24], [5, 38], [6, 23], [7, 38], [8, 17], [9, 30], [10, 13], [11, 20], [12, 35], [13, 4], [14, 15], [15, 20], [16, 33], [17, 28], [18, 12], [19, 23], [20, 9], [21, 25], [22, 17], [23, 22], [24, 36], [25, 39], [26, 30], [27, 31], [28, 7], [29, 39], [30, 22], [31, 26], [32, 12], [33, 27], [34, 16], [35, 27], [36, 29], [37, 7], [38, 20], [39, 1], [40, 40]], 40]

After

derived = [40, Yes, No]

Conditions: none

Wilson concerns(n-1)!;Fermat concerns a^(n-1) when n does not divide a.This branch supplies no a or power computation.The named comparison neither identifies the theorems nor adds an executed power test.

Step identifiers and dependencies

Rule: Wilson_and_Fermat_DISTINCT_named_statements_NO_unprovided_a_power · Uses: G001, S081

Reverse checks

  • S082 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S081 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S080 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product40 with exact rational arithmetic, not rounded decimals.
  • S079 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S078 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product39 with exact rational arithmetic, not rounded decimals.
  • S077 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S076 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product38 with exact rational arithmetic, not rounded decimals.
  • S075 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S074 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product37 with exact rational arithmetic, not rounded decimals.
  • S073 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S072 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product36 with exact rational arithmetic, not rounded decimals.
  • S071 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S070 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product35 with exact rational arithmetic, not rounded decimals.
  • S069 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S068 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product34 with exact rational arithmetic, not rounded decimals.
  • S067 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S066 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product33 with exact rational arithmetic, not rounded decimals.
  • S065 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S064 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product32 with exact rational arithmetic, not rounded decimals.
  • S063 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S062 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product31 with exact rational arithmetic, not rounded decimals.
  • S061 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S060 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product30 with exact rational arithmetic, not rounded decimals.
  • S059 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S058 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product29 with exact rational arithmetic, not rounded decimals.
  • S057 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S056 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product28 with exact rational arithmetic, not rounded decimals.
  • S055 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S054 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product27 with exact rational arithmetic, not rounded decimals.
  • S053 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S052 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product26 with exact rational arithmetic, not rounded decimals.
  • S051 · premise_and_result_audit — Reverse-check original data,operands,complete scope and premises;finite witnesses,conditional theorem use and formal proof remain distinct.
  • S050 · premise_and_result_audit — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product25 with exact rational arithmetic, not rounded decimals.
  • 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 boundary ORIGINAL prime ORIGINAL running factorial product24 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 boundary ORIGINAL prime ORIGINAL running factorial product23 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 boundary ORIGINAL prime ORIGINAL running factorial product22 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 boundary ORIGINAL prime ORIGINAL running factorial product21 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 boundary ORIGINAL prime ORIGINAL running factorial product20 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 boundary ORIGINAL prime ORIGINAL running factorial product19 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 boundary ORIGINAL prime ORIGINAL running factorial product18 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 boundary ORIGINAL prime ORIGINAL running factorial product17 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 boundary ORIGINAL prime ORIGINAL running factorial product16 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 boundary ORIGINAL prime ORIGINAL running factorial product15 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 boundary ORIGINAL prime ORIGINAL running factorial product14 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 boundary ORIGINAL prime ORIGINAL running factorial product13 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 boundary ORIGINAL prime ORIGINAL running factorial product12 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 boundary ORIGINAL prime ORIGINAL running factorial product11 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 boundary ORIGINAL prime ORIGINAL running factorial product10 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 boundary ORIGINAL prime ORIGINAL running factorial product9 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product8 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product7 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product6 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product5 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product4 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product3 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product2 with exact rational arithmetic, not rounded decimals.
  • 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 — Recompute Wilson boundary ORIGINAL prime ORIGINAL running factorial product1 with exact rational arithmetic, not rounded decimals.
  • 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

(fermat_confusion, 41, [[1, 1], [2, 2], [3, 6], [4, 24], [5, 38], [6, 23], [7, 38], [8, 17], [9, 30], [10, 13], [11, 20], [12, 35], [13, 4], [14, 15], [15, 20], [16, 33], [17, 28], [18, 12], [19, 23], [20, 9], [21, 25], [22, 17], [23, 22], [24, 36], [25, 39], [26, 30], [27, 31], [28, 7], [29, 39], [30, 22], [31, 26], [32, 12], [33, 27], [34, 16], [35, 27], [36, 29], [37, 7], [38, 20], [39, 1], [40, 40]], 40, 40, Yes, Wilson:(n-1)!==-1_mod_41, Fermat:a^(41-1)==1_mod_41_when_n_does_not_divide_a, No, distinct_theorems_no_Fermat_power_claim_recomputed)

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