查找相關知識與題目 →

第 23778 題:Legendre符號

本頁導覽
  1. 原題與已知條件
  2. 定義與適用範圍
  3. 逐步推導
  4. 逐步反向核對
  5. 結論
  6. 本題覆核與來源綁定

返回所在分頁 119

← 逐題詳解目錄 · 原題批次

R0046-23778 · q-20261014-advance-20261112-r06-legendre-symbol-0053

原題與已知條件

odd prime上的zero/residue/nonresidue三值完整分類。操作=legendre-zero-class;資料={"prime":7,"a":21}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。

  • G001 — odd prime上的zero/residue/nonresidue三值完整分類。操作=legendre-zero-class;資料={"prime":7,"a":21}。請依 exact_ordered_tuple_declared_by_interface 欄序回答。

定義與適用範圍

沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核,並由原始參數逐題獨立重算模型、答案與每個算術步驟;原題仍為 candidate。

逐步推導

S001 · implies

操作前

source operation=legendre-zero-class;original snapshot and mathematics retained

操作後

explicit ordered source output fields=[prime, a, normalized_class, Legendre_symbol, nonzero_roots, certificate]

條件:無

保留原題介面快照,本頁直接列來源欄序,不需JavaScript。radius由原mode選6/11欄,不補欄;No與實際否定依來源責任分清。

步驟識別與依賴

規則:source_ordered_interface_explicit_without_javascript · 依賴:G001

S002 · implies

操作前

Legendre ORIGINAL odd prime:ORIGINAL modulus=7;ALL possible trial divisors through square root=[2]

操作後

ALL [divisor,remainder] rows=[[2, 1]];prime=是

條件:無

先完整核prime資格,不用Legendre或Euler分類反過來猜prime;這是modulus前提,不是a的平方性。

步驟識別與依賴

規則:legendre_complete_prime_trial_not_Euler_classification · 依賴:G001, S001

S003 · calculation

操作前

Legendre ORIGINAL nonzero root1 exact square := mul(1, 1)

操作後

Legendre ORIGINAL nonzero root1 exact square = 1

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S002

S004 · implies

操作前

ORIGINAL root x=1 in1..6;exact square=1

操作後

square=0*7+1;canonical square class=1;ALL root indices retained

條件:無

每個非零root均列入,不能由少量平方樣本宣稱另一類無root;不預用Euler criterion。

步驟識別與依賴

規則:legendre_ALL_nonzero_square_rows_before_symbol_definition · 依賴:G001, S003

S005 · calculation

操作前

Legendre ORIGINAL nonzero root2 exact square := mul(2, 2)

操作後

Legendre ORIGINAL nonzero root2 exact square = 4

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S004

S006 · implies

操作前

ORIGINAL root x=2 in1..6;exact square=4

操作後

square=0*7+4;canonical square class=4;ALL root indices retained

條件:無

每個非零root均列入,不能由少量平方樣本宣稱另一類無root;不預用Euler criterion。

步驟識別與依賴

規則:legendre_ALL_nonzero_square_rows_before_symbol_definition · 依賴:G001, S005

S007 · calculation

操作前

Legendre ORIGINAL nonzero root3 exact square := mul(3, 3)

操作後

Legendre ORIGINAL nonzero root3 exact square = 9

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S006

S008 · implies

操作前

ORIGINAL root x=3 in1..6;exact square=9

操作後

square=1*7+2;canonical square class=2;ALL root indices retained

條件:無

每個非零root均列入,不能由少量平方樣本宣稱另一類無root;不預用Euler criterion。

步驟識別與依賴

規則:legendre_ALL_nonzero_square_rows_before_symbol_definition · 依賴:G001, S007

S009 · calculation

操作前

Legendre ORIGINAL nonzero root4 exact square := mul(4, 4)

操作後

Legendre ORIGINAL nonzero root4 exact square = 16

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S008

S010 · implies

操作前

ORIGINAL root x=4 in1..6;exact square=16

操作後

square=2*7+2;canonical square class=2;ALL root indices retained

條件:無

每個非零root均列入,不能由少量平方樣本宣稱另一類無root;不預用Euler criterion。

步驟識別與依賴

規則:legendre_ALL_nonzero_square_rows_before_symbol_definition · 依賴:G001, S009

S011 · calculation

操作前

Legendre ORIGINAL nonzero root5 exact square := mul(5, 5)

操作後

Legendre ORIGINAL nonzero root5 exact square = 25

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S010

S012 · implies

操作前

ORIGINAL root x=5 in1..6;exact square=25

操作後

square=3*7+4;canonical square class=4;ALL root indices retained

條件:無

每個非零root均列入,不能由少量平方樣本宣稱另一類無root;不預用Euler criterion。

步驟識別與依賴

規則:legendre_ALL_nonzero_square_rows_before_symbol_definition · 依賴:G001, S011

S013 · calculation

操作前

Legendre ORIGINAL nonzero root6 exact square := mul(6, 6)

操作後

Legendre ORIGINAL nonzero root6 exact square = 36

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S012

S014 · implies

操作前

ORIGINAL root x=6 in1..6;exact square=36

操作後

square=5*7+1;canonical square class=1;ALL root indices retained

條件:無

每個非零root均列入,不能由少量平方樣本宣稱另一類無root;不預用Euler criterion。

步驟識別與依賴

規則:legendre_ALL_nonzero_square_rows_before_symbol_definition · 依賴:G001, S013

S015 · implies

操作前

ORIGINAL prime=7;COMPLETE nonzero square table=[[1, 1], [2, 4], [3, 2], [4, 2], [5, 4], [6, 1]];nonzero square classes=[1, 2, 4]

操作後

for EACH normalized class r,first r0 ->symbol0;else square-table member ->symbol1;otherwise ->symbol-1;these cases partition ALL0..p-1

條件:無

先分離zero類,不能因0也是平方便給+1;非零類再依完整square table分residue/nonresidue。這是定義與完整見證,不靠後續乘法性或Euler公式。

步驟識別與依賴

規則:legendre_ZERO_then_residue_nonresidue_three_way_definition · 依賴:G001, S014

S016 · calculation

操作前

Legendre ORIGINAL candidate class quotient times modulus := mul(3, 7)

操作後

Legendre ORIGINAL candidate class quotient times modulus = 21

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S015

S017 · calculation

操作前

Legendre ORIGINAL candidate class ORIGINAL signed value minus multiple := sub(21, 21)

操作後

Legendre ORIGINAL candidate class ORIGINAL signed value minus multiple = 0

條件:無

依原始角色與已證中間量精確代值,不用浮點近似,也不把有限測試冒充全稱極限。

步驟識別與依賴

規則:exact_rational_arithmetic · 依賴:G001, S016

S018 · implies

操作前

Legendre ORIGINAL candidate class:ORIGINAL a=21,positive modulus=7;actual quotient=3

操作後

normalized class=0;a=quotient*modulus+class;ORIGINAL a retained in output where declared

條件:無

負a亦保同一congruence class,以0到p−1表示;不把負餘數直接當標準類。

步驟識別與依賴

規則:legendre_ORIGINAL_signed_class_Euclidean_normalization · 依賴:G001, S017

逐步反向核對

  • S018 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S017 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL candidate class ORIGINAL signed value minus multiple,不以小數近似替代。
  • S016 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL candidate class quotient times modulus,不以小數近似替代。
  • S015 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S014 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S013 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL nonzero root6 exact square,不以小數近似替代。
  • S012 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S011 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL nonzero root5 exact square,不以小數近似替代。
  • S010 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S009 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL nonzero root4 exact square,不以小數近似替代。
  • S008 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S007 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL nonzero root3 exact square,不以小數近似替代。
  • S006 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S005 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL nonzero root2 exact square,不以小數近似替代。
  • S004 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S003 · premise_and_result_audit — 以精確有理數重算 Legendre ORIGINAL nonzero root1 exact square,不以小數近似替代。
  • S002 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。
  • S001 · premise_and_result_audit — 回到原始資料與本步條件核對,不把單向推論誤稱等價。

結論

(7, 21, 0, 0, [], p_divides_a_so_Legendre_symbol_is_zero_before_residue_classification)

依上列完整代值及條件核對得到原題答案;原題編號、格式與狀態保持不變。

本題覆核與來源綁定

覆核日期:2026-10-26

原題、答案、步驟表達式、數值 AST 與既有歷史保持原樣;原來的候選狀態屬於來源歷史,不覆寫為形式化證明。

來源雜湊與覆核憑證
  • input commit: 0f7be61e2c22317a4075561dc822c87d881a50db
  • original question SHA-256: c921b719fafe0540f9650e18af44d8a80c1af94d1e83a0dde02bbab6c6a788ee
  • candidate record SHA-256: 50fe5f6fe565647d5e197c0c9c9fac3030cf7dda0beba3d51a25877d84614862
  • semantic review receipt SHA-256: a7c0d888ade6d307703c4222c4137c78c0d2448babdcba2fa3446fe6fdd343c1
  • question-first witness SHA-256: c9571f97a37d503ad6a61034cc00108543a05c37ef246d1c4962f55136a3de02
  • Lean: NOT_RUN · human review: NOT_PERFORMED
同源完整 JSON