{
 "problem_id": "TOYO-E0005-Q01-S03",
 "transcript": {
  "text": "2020を割り切る最大の素数と2020の和をAとします。Aを割り切る最大の素数とAの和はいくつになりますか。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "2222",
  "unit": null,
  "first_insight": "2020 = 2×2×5×101 で最大の素数は 101。A = 2020 + 101 = 101×20 + 101 = 101×21 なので、A もまた 101 で割り切れる。",
  "insight_basis": "『ある数とその約数の和』はその約数で割り切れる (101×20 + 101×1 = 101×21)。21 = 3×7 は 101 より小さい素数だけなので、A の最大の素数も 101 のまま。",
  "steps": [
   "2020 を素因数分解: 2020 = 2 × 2 × 5 × 101 → 最大の素数は 101",
   "A = 2020 + 101 = 2121",
   "2121 = 101 × 21 = 3 × 7 × 101 → A を割り切る最大の素数も 101",
   "A + 101 = 2121 + 101 = 2222"
  ],
  "why": "2020 = 101×20 なので 101 を足しても 101 の倍数 (101×21) のまま。残りの因数 21 = 3×7 に 101 より大きい素数はないので、最大の素数は変わらない。",
  "check": "2222 = 2 × 11 × 101 で 101 の倍数になっている (101×22)。2121 ÷ 101 = 21 ✓、2020 ÷ 101 = 20 ✓。",
  "common_errors": [
   {
    "error": "101 を素数だと確信できず、2020 の最大の素数を 5 とする",
    "where": "1手目",
    "detect": "101 は 2, 3, 5, 7 で割れない (11×11 = 121 > 101) ので素数"
   },
   {
    "error": "2121 を素因数分解し直さず、最大の素数を 7 や 3 と答える",
    "where": "3手目",
    "detect": "2121 = 101 × 21 と、101 でまず割ってみる"
   }
  ],
  "minimal_points": [
   "2020 = 2²×5×101",
   "101 は素数 (11² = 121 まで調べればよい)",
   "A = 101×21 → 101 で割り切れる"
  ],
  "related": []
 },
 "hints": [
  "2020 を素因数分解する。101 が素数かどうかは 2, 3, 5, 7 で割れるか調べれば分かる",
  "A = 2020 + (最大の素数) は、その素数で割り切れないか",
  "A ÷ 101 の商を素因数分解して、101 より大きい素数が無いことを確かめる"
 ],
 "analysis": {
  "primary_field": "数の性質",
  "secondary_fields": [],
  "cores": [
   "素因数分解",
   "素数の判定",
   "倍数の和は倍数"
  ],
  "prerequisites": [
   "素因数分解",
   "素数の判定 (平方根まで試し割り)"
  ],
  "insight_triggers": "『数とその約数の和』→ その約数の倍数",
  "core_explanation": "",
  "barrier": "計算",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "A",
  "difficulty_basis": "2020 の素因数分解と 101 の素数判定ができれば一本道",
  "difficulty_scale": "典型問題の知識をそのまま使える (1〜2段階)",
  "est_minutes": 3,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "知識不足"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "年号 2020 を題材にした素因数分解の運用。101 を素数と見抜く力 (素数判定の範囲) を問うと推定",
  "confidence": "中"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [
  {
   "page": 40,
   "principle": "素因数分解はさくらんぼで"
  },
  {
   "page": 5,
   "principle": "倍数判定法・素数の判定"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T11:13:48+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "559103a5e96ce7eca4f3acdbdc6e7ce28fbdcd4af69ab043147167788f7c4830",
 "verification": {
  "checks": {
   "source_mapping_confirmed": true,
   "crop_visually_checked": true,
   "shared_context_confirmed": true,
   "answer_consistency_checked": true,
   "independent_verification_passed": true,
   "no_unresolved_conflicts": true,
   "explanation_reproducible": true,
   "no_answer_leak_on_front": true
  },
  "methods": [
   {
    "method": "sympy.factorint で最大素因数を取り、定義どおり 2 段階計算",
    "result": "計算値 2222 / 期待値 2222 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '2222' → 一致",
    "by": "verification_script"
   },
   {
    "method": "101 は素数、2121 = 3×7×101",
    "result": "成立",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0005.py",
  "verified_at": "2026-10-23T00:19:59+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "2222",
  "computed": "2222",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}