Explore related knowledge and questions →

Question 19880: Use the Prime-Coprime Fermat Form Only under Both Hypotheses

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 100

← Question derivation index · Original question batch

R0038-19880 · q-20261014-advance-20261106-r05-fermat-little-theorem-0005

Original question and givens

Use integer base a=6 and modulus=11, normalized residues in [0,modulus). Exact integer square-and-multiply computes powers; trial division checks primality. Every equality of residues here is a congruence modulo the stated modulus, not an unrestricted integer equality. The coprime form requires prime modulus and an invertible base; the all-integer form for prime p also allows p to divide a. Never cancel a noninvertible residue. Give (p, normalized_base, power_p_minus_1, congruence_certificate, boundary).

  • G001 — Use integer base a=6 and modulus=11, normalized residues in [0,modulus). Exact integer square-and-multiply computes powers; trial division checks primality. Every equality of residues here is a congruence modulo the stated modulus, not an unrestricted integer equality. The coprime form requires prime modulus and an invertible base; the all-integer form for prime p also allows p to divide a. Never cancel a noninvertible residue. Give (p, normalized_base, power_p_minus_1, congruence_certificate, 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 operation=flt-prime-coprime;original snapshot and mathematics retained

After

explicit ordered source output fields=[p, normalized_base, power_p_minus_1, congruence_certificate, boundary]

Conditions: none

Keep the historical interface marker in the original snapshot while listing ordered source fields here,without JavaScript or external lookup.Field labels are not mathematical evidence,and No retains the operation's claim scope.

Step identifiers and dependencies

Rule: source_ordered_interface_explicit_without_javascript · Uses: G001

S002 · implies

Before

ACTUAL integer modulus=11;complete trial range2..floor_sqrt=3

After

checked rows[divisor,quotient,remainder]=[[2, 5, 1], [3, 3, 2]];first exact factor=null;prime=Yes

Conditions: none

An exact factor in the trial range witnesses compositeness.If the entire range has no factor,any composite decomposition would require one at most sqrt(n),so all composite cases are excluded.The empty range for2 is valid.This is not a primality inference from a Fermat test.

Step identifiers and dependencies

Rule: flt_primality_complete_trial_or_actual_factor_not_Fermat_test · Uses: G001, S001

S003 · implies

Before

original signed base=6;positive modulus=11;use nonnegative gcd inputs=[6, 11]

After

ALL Euclidean rows[left,right,q,r]=[[6, 11, 0, 6], [11, 6, 1, 5], [6, 5, 1, 1], [5, 1, 5, 0]];terminal nonnegative gcd=1;coprime=Yes

Conditions: none

Euclidean replacements preserve common divisors and give the terminal gcd,including gcd(0,m)=m.Primality of the modulus and invertibility of the base remain separate flags.

Step identifiers and dependencies

Rule: flt_actual_gcd_coprime_separate_from_primality · Uses: G001, S002

S004 · calculation

Before

Fermat original signed base exact quotient := div(6, 11)

After

Fermat original signed base exact quotient = 6/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S003

S005 · calculation

Before

Fermat original signed base floor quotient multiple := mul(0, 11)

After

Fermat original signed base floor quotient multiple = 0

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S004

S006 · calculation

Before

Fermat original signed base normalized remainder := sub(6, 0)

After

Fermat original signed base normalized remainder = 6

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S005

S007 · implies

Before

Fermat original signed base:signed integer value=6;positive modulus=11;exact quotient=6/11;floor q=0

After

value=q*modulus+remainder;normalized remainder=6 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S006

S008 · implies

Before

Fermat original modular exponent:original normalized base=6;original exponent=10;modulus=11

After

initialize accumulator1,current_base=base,remaining=exponent;invariant accumulator*current_base^remaining congruent to original power

Conditions: none

The multiplicative identity gives the exponent0 convention.Each step preserves congruence to the same original power without constructing huge ordinary powers or replacing modular relations with real equalities.

Step identifiers and dependencies

Rule: flt_modular_power_initial_invariant · Uses: G001, S007

S009 · calculation

Before

Fermat original modular exponent bit0 current base square := mul(6, 6)

After

Fermat original modular exponent bit0 current base square = 36

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S008

S010 · calculation

Before

Fermat original modular exponent bit0 squared base reduction exact quotient := div(36, 11)

After

Fermat original modular exponent bit0 squared base reduction exact quotient = 36/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S009

S011 · calculation

Before

Fermat original modular exponent bit0 squared base reduction floor quotient multiple := mul(3, 11)

After

Fermat original modular exponent bit0 squared base reduction floor quotient multiple = 33

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S010

S012 · calculation

Before

Fermat original modular exponent bit0 squared base reduction normalized remainder := sub(36, 33)

After

Fermat original modular exponent bit0 squared base reduction normalized remainder = 3

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S011

S013 · implies

Before

Fermat original modular exponent bit0 squared base reduction:signed integer value=36;positive modulus=11;exact quotient=36/11;floor q=3

After

value=q*modulus+remainder;normalized remainder=3 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S012

S014 · implies

Before

Fermat original modular exponent:step=0;previous[accumulator,base,exponent]=[1, 6, 10];low bit=0

After

next[accumulator,base,exponent]=[1, 3, 5];split exponent=2*q+bit preserves original-power invariant

Conditions: none

Replace an even power by a squared base;an odd power also contributes one base factor to the accumulator.Exact reductions preserve congruence and halving the remaining nonnegative exponent guarantees termination.

Step identifiers and dependencies

Rule: flt_each_binary_power_step_exact_invariant · Uses: G001, S013

S015 · calculation

Before

Fermat original modular exponent bit1 accumulator product := mul(1, 3)

After

Fermat original modular exponent bit1 accumulator product = 3

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S014

S016 · calculation

Before

Fermat original modular exponent bit1 accumulator reduction exact quotient := div(3, 11)

After

Fermat original modular exponent bit1 accumulator reduction exact quotient = 3/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S015

S017 · calculation

Before

Fermat original modular exponent bit1 accumulator reduction floor quotient multiple := mul(0, 11)

After

Fermat original modular exponent bit1 accumulator reduction floor quotient multiple = 0

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S016

S018 · calculation

Before

Fermat original modular exponent bit1 accumulator reduction normalized remainder := sub(3, 0)

After

Fermat original modular exponent bit1 accumulator reduction normalized remainder = 3

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S017

S019 · implies

Before

Fermat original modular exponent bit1 accumulator reduction:signed integer value=3;positive modulus=11;exact quotient=3/11;floor q=0

After

value=q*modulus+remainder;normalized remainder=3 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S018

S020 · calculation

Before

Fermat original modular exponent bit1 current base square := mul(3, 3)

After

Fermat original modular exponent bit1 current base square = 9

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S019

S021 · calculation

Before

Fermat original modular exponent bit1 squared base reduction exact quotient := div(9, 11)

After

Fermat original modular exponent bit1 squared base reduction exact quotient = 9/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S020

S022 · calculation

Before

Fermat original modular exponent bit1 squared base reduction floor quotient multiple := mul(0, 11)

After

Fermat original modular exponent bit1 squared base reduction floor quotient multiple = 0

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S021

S023 · calculation

Before

Fermat original modular exponent bit1 squared base reduction normalized remainder := sub(9, 0)

After

Fermat original modular exponent bit1 squared base reduction normalized remainder = 9

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S022

S024 · implies

Before

Fermat original modular exponent bit1 squared base reduction:signed integer value=9;positive modulus=11;exact quotient=9/11;floor q=0

After

value=q*modulus+remainder;normalized remainder=9 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S023

S025 · implies

Before

Fermat original modular exponent:step=1;previous[accumulator,base,exponent]=[1, 3, 5];low bit=1

After

next[accumulator,base,exponent]=[3, 9, 2];split exponent=2*q+bit preserves original-power invariant

Conditions: none

Replace an even power by a squared base;an odd power also contributes one base factor to the accumulator.Exact reductions preserve congruence and halving the remaining nonnegative exponent guarantees termination.

Step identifiers and dependencies

Rule: flt_each_binary_power_step_exact_invariant · Uses: G001, S024

S026 · calculation

Before

Fermat original modular exponent bit2 current base square := mul(9, 9)

After

Fermat original modular exponent bit2 current base square = 81

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S025

S027 · calculation

Before

Fermat original modular exponent bit2 squared base reduction exact quotient := div(81, 11)

After

Fermat original modular exponent bit2 squared base reduction exact quotient = 81/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S026

S028 · calculation

Before

Fermat original modular exponent bit2 squared base reduction floor quotient multiple := mul(7, 11)

After

Fermat original modular exponent bit2 squared base reduction floor quotient multiple = 77

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S027

S029 · calculation

Before

Fermat original modular exponent bit2 squared base reduction normalized remainder := sub(81, 77)

After

Fermat original modular exponent bit2 squared base reduction normalized remainder = 4

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S028

S030 · implies

Before

Fermat original modular exponent bit2 squared base reduction:signed integer value=81;positive modulus=11;exact quotient=81/11;floor q=7

After

value=q*modulus+remainder;normalized remainder=4 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S029

S031 · implies

Before

Fermat original modular exponent:step=2;previous[accumulator,base,exponent]=[3, 9, 2];low bit=0

After

next[accumulator,base,exponent]=[3, 4, 1];split exponent=2*q+bit preserves original-power invariant

Conditions: none

Replace an even power by a squared base;an odd power also contributes one base factor to the accumulator.Exact reductions preserve congruence and halving the remaining nonnegative exponent guarantees termination.

Step identifiers and dependencies

Rule: flt_each_binary_power_step_exact_invariant · Uses: G001, S030

S032 · calculation

Before

Fermat original modular exponent bit3 accumulator product := mul(3, 4)

After

Fermat original modular exponent bit3 accumulator product = 12

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S031

S033 · calculation

Before

Fermat original modular exponent bit3 accumulator reduction exact quotient := div(12, 11)

After

Fermat original modular exponent bit3 accumulator reduction exact quotient = 12/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S032

S034 · calculation

Before

Fermat original modular exponent bit3 accumulator reduction floor quotient multiple := mul(1, 11)

After

Fermat original modular exponent bit3 accumulator reduction floor quotient multiple = 11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S033

S035 · calculation

Before

Fermat original modular exponent bit3 accumulator reduction normalized remainder := sub(12, 11)

After

Fermat original modular exponent bit3 accumulator reduction normalized remainder = 1

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S034

S036 · implies

Before

Fermat original modular exponent bit3 accumulator reduction:signed integer value=12;positive modulus=11;exact quotient=12/11;floor q=1

After

value=q*modulus+remainder;normalized remainder=1 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S035

S037 · calculation

Before

Fermat original modular exponent bit3 current base square := mul(4, 4)

After

Fermat original modular exponent bit3 current base square = 16

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S036

S038 · calculation

Before

Fermat original modular exponent bit3 squared base reduction exact quotient := div(16, 11)

After

Fermat original modular exponent bit3 squared base reduction exact quotient = 16/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S037

S039 · calculation

Before

Fermat original modular exponent bit3 squared base reduction floor quotient multiple := mul(1, 11)

After

Fermat original modular exponent bit3 squared base reduction floor quotient multiple = 11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S038

S040 · calculation

Before

Fermat original modular exponent bit3 squared base reduction normalized remainder := sub(16, 11)

After

Fermat original modular exponent bit3 squared base reduction normalized remainder = 5

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S039

S041 · implies

Before

Fermat original modular exponent bit3 squared base reduction:signed integer value=16;positive modulus=11;exact quotient=16/11;floor q=1

After

value=q*modulus+remainder;normalized remainder=5 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S040

S042 · implies

Before

Fermat original modular exponent:step=3;previous[accumulator,base,exponent]=[3, 4, 1];low bit=1

After

next[accumulator,base,exponent]=[1, 5, 0];split exponent=2*q+bit preserves original-power invariant

Conditions: none

Replace an even power by a squared base;an odd power also contributes one base factor to the accumulator.Exact reductions preserve congruence and halving the remaining nonnegative exponent guarantees termination.

Step identifiers and dependencies

Rule: flt_each_binary_power_step_exact_invariant · Uses: G001, S041

S043 · implies

Before

Fermat original modular exponent:remaining exponent0;final normalized accumulator=1

After

EXACT original base^10 modulo11=1

Conditions: none

At remaining exponent0 the invariant leaves exactly the accumulator,giving the original power's residue.The arithmetic result alone does not certify a prime modulus.

Step identifiers and dependencies

Rule: flt_modular_power_terminal_not_primality_converse · Uses: G001, S042

S044 · calculation

Before

Fermat actual unit inverse product := mul(6, 2)

After

Fermat actual unit inverse product = 12

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S043

S045 · calculation

Before

Fermat actual inverse identity exact quotient := div(12, 11)

After

Fermat actual inverse identity exact quotient = 12/11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S044

S046 · calculation

Before

Fermat actual inverse identity floor quotient multiple := mul(1, 11)

After

Fermat actual inverse identity floor quotient multiple = 11

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S045

S047 · calculation

Before

Fermat actual inverse identity normalized remainder := sub(12, 11)

After

Fermat actual inverse identity normalized remainder = 1

Conditions: none

Substitute original roles and established intermediates exactly,retaining signs,denominators,indices and the relevant carrier.

Step identifiers and dependencies

Rule: exact_rational_arithmetic · Uses: G001, S046

S048 · implies

Before

Fermat actual inverse identity:signed integer value=12;positive modulus=11;exact quotient=12/11;floor q=1

After

value=q*modulus+remainder;normalized remainder=1 in[0,11)

Conditions: none

Use a positive modulus and floor quotient to obtain the nonnegative representative even for a negative base.Equal remainders express congruence modulo this modulus,not unrestricted integer equality.

Step identifiers and dependencies

Rule: flt_exact_signed_modulo_not_integer_equality · Uses: G001, S047

S049 · implies

Before

VERIFIED prime p=11;nonzero original base residue=6;ACTUAL inverse witness=2

After

multiplication r->a*r mod p permutes ALL nonzero residues1..p-1:inverse gives injectivity and finite self-injection gives surjectivity

Conditions: none

The actual inverse permits cancellation,so multiplication by a is a bijection of the full nonzero residue set.This is an argument for arbitrary residues,not a million-point enumeration or sampled permutation test.

Step identifiers and dependencies

Rule: flt_prime_unit_permutation_all_residues_not_samples · Uses: G001, S048

S050 · implies

Before

same verified prime p=11;ALL nonzero residues permuted by multiplication by a=6

After

product over r=1..p-1 gives a^(p-1)*(p-1)! congruent to (p-1)!;EVERY factor is a prime-field unit,so factorial is a UNIT;cancel ONLY this nonzero unit to obtain a^(p-1) congruent1

Conditions: none

For a prime modulus every factor1 through p−1 is coprime to p and has an inverse;their finite product is invertible as well.Cancel that factorial unit to obtain Fermat's coprime form.Never cancel0 or apply this argument to nonunits under a composite modulus.

Step identifiers and dependencies

Rule: flt_nonzero_factorial_unit_cancellation_not_zero_or_composite · Uses: G001, S049

Reverse checks

  • S050 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S049 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S048 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S047 · premise_and_result_audit — Recompute Fermat actual inverse identity normalized remainder with exact rational arithmetic, not rounded decimals.
  • S046 · premise_and_result_audit — Recompute Fermat actual inverse identity floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S045 · premise_and_result_audit — Recompute Fermat actual inverse identity exact quotient with exact rational arithmetic, not rounded decimals.
  • S044 · premise_and_result_audit — Recompute Fermat actual unit inverse product with exact rational arithmetic, not rounded decimals.
  • S043 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S042 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S041 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S040 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 squared base reduction normalized remainder with exact rational arithmetic, not rounded decimals.
  • S039 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 squared base reduction floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S038 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 squared base reduction exact quotient with exact rational arithmetic, not rounded decimals.
  • S037 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 current base square with exact rational arithmetic, not rounded decimals.
  • S036 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S035 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 accumulator reduction normalized remainder with exact rational arithmetic, not rounded decimals.
  • S034 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 accumulator reduction floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S033 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 accumulator reduction exact quotient with exact rational arithmetic, not rounded decimals.
  • S032 · premise_and_result_audit — Recompute Fermat original modular exponent bit3 accumulator product with exact rational arithmetic, not rounded decimals.
  • S031 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S030 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S029 · premise_and_result_audit — Recompute Fermat original modular exponent bit2 squared base reduction normalized remainder with exact rational arithmetic, not rounded decimals.
  • S028 · premise_and_result_audit — Recompute Fermat original modular exponent bit2 squared base reduction floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S027 · premise_and_result_audit — Recompute Fermat original modular exponent bit2 squared base reduction exact quotient with exact rational arithmetic, not rounded decimals.
  • S026 · premise_and_result_audit — Recompute Fermat original modular exponent bit2 current base square with exact rational arithmetic, not rounded decimals.
  • S025 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S024 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S023 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 squared base reduction normalized remainder with exact rational arithmetic, not rounded decimals.
  • S022 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 squared base reduction floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S021 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 squared base reduction exact quotient with exact rational arithmetic, not rounded decimals.
  • S020 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 current base square with exact rational arithmetic, not rounded decimals.
  • S019 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S018 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 accumulator reduction normalized remainder with exact rational arithmetic, not rounded decimals.
  • S017 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 accumulator reduction floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S016 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 accumulator reduction exact quotient with exact rational arithmetic, not rounded decimals.
  • S015 · premise_and_result_audit — Recompute Fermat original modular exponent bit1 accumulator product with exact rational arithmetic, not rounded decimals.
  • S014 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S013 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S012 · premise_and_result_audit — Recompute Fermat original modular exponent bit0 squared base reduction normalized remainder with exact rational arithmetic, not rounded decimals.
  • S011 · premise_and_result_audit — Recompute Fermat original modular exponent bit0 squared base reduction floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S010 · premise_and_result_audit — Recompute Fermat original modular exponent bit0 squared base reduction exact quotient with exact rational arithmetic, not rounded decimals.
  • S009 · premise_and_result_audit — Recompute Fermat original modular exponent bit0 current base square with exact rational arithmetic, not rounded decimals.
  • S008 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S007 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S006 · premise_and_result_audit — Recompute Fermat original signed base normalized remainder with exact rational arithmetic, not rounded decimals.
  • S005 · premise_and_result_audit — Recompute Fermat original signed base floor quotient multiple with exact rational arithmetic, not rounded decimals.
  • S004 · premise_and_result_audit — Recompute Fermat original signed base exact quotient with exact rational arithmetic, not rounded decimals.
  • S003 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S002 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.
  • S001 · premise_and_result_audit — Check against the original data and this step's premises; a one-way implication is not an equivalence.

Result

(11, 6, 1, Yes, prime_coprime_form)

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: db5574997ae7f7e1db254eeacebb450b3ac9de7bb202d19e7a20f5c1d1163777
  • candidate record SHA-256: ab8b2384b03ab3eb3714892abff9f7e1e2877852717146fa55bc703baf0f69e2
  • semantic review receipt SHA-256: d165cad30849a3aba67390a59c572c0d965269d4b405e43df36da19e28d85612
  • question-first witness SHA-256: c222ca47a07939c019865a1e4d9ce633205cdee68db92bf96a96f5683a62ebc7
  • Lean: NOT_RUN · human review: NOT_PERFORMED
Same-source full JSON