{
 "problem_id": "TOYO-E0007-Q05-S03",
 "transcript": {
  "text": "次のように整数が並んでいます。\n4、6、9、12、15、20、…\nこの数の並びの中の隣り合う2つの数について、\n左の数に、その数を割り切る最も大きい素数を加えたものが右の数\nとなっています。\n例えば、隣り合う2つの数4と6について、左の数4に、4を割り切る最も大きい素数2を加えたものが右の数6です。また、隣り合う2つの数6と9について、左の数6に、6を割り切る最も大きい素数3を加えたものが右の数9です。\nこのとき、次の各問いの□に当てはまる数をそれぞれ答えなさい。\n(3) この数の並びの中の数のうち、3500に最も近い数は□です。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [
  {
   "problem_id": "TOYO-E0007-Q05-S01",
   "label": "足す数が変わるのは隣り合う素数の積のところ (規則)"
  }
 ],
 "solution": {
  "final_answer": "3481",
  "unit": null,
  "first_insight": "3500 の近くで『隣り合う素数の積』を探す: 53×59 = 3127、59×61 = 3599。3127 から 3599 までは 59 ずつ増える区間なので、3599 から 59 を引き戻して 3500 に近い数を見つける。",
  "insight_basis": "3500 を含む区間は 53×59 = 3127 〜 59×61 = 3599 で、足す数は 59。この区間の数は 59 の倍数。",
  "steps": [
   "3500 付近の隣り合う素数の積: 47×53 = 2491、53×59 = 3127、59×61 = 3599、61×67 = 4087",
   "3500 は 3127 〜 3599 の区間 (足す数 59、数は 59×53, 59×54, …, 59×61) にある",
   "3599 から 59 ずつ戻す: 3599 − 59 = 3540、3540 − 59 = 3481 (= 59×59)",
   "3500 との差: 3540 は 40、3481 は 19 → 最も近いのは 3481"
  ],
  "why": "区間内の数は 59 の倍数で等間隔に並ぶので、3500 の上下にある 2 つ (3481 と 3540) を比べればよい。",
  "check": "3481 = 59×59 (最大の素数 59) → 次は 3481 + 59 = 3540、その次 3599 = 59×61 ✓。定義どおりの逐次生成でも 3500 に最も近い項は 3481 (差 19)。",
  "common_errors": [
   {
    "error": "3500 ÷ 59 ≒ 59.3 から 59×59 を出さず、3540 (上側) だけ見て答える",
    "where": "4手目",
    "detect": "上下の候補 2 つの差を比べる"
   },
   {
    "error": "区間の足す数を 53 や 61 にする",
    "where": "2手目",
    "detect": "区間 p×q 〜 q×r で足すのは q。3127 = 53×59 〜 3599 = 59×61 なら 59"
   },
   {
    "error": "59×61 = 3599 の計算ミス",
    "where": "1手目",
    "detect": "(60−1)(60+1) = 3600 − 1"
   }
  ],
  "minimal_points": [
   "3500 をはさむ隣り合う素数の積 (3127, 3599)",
   "区間の数は 59 の倍数",
   "上下の候補 (3481, 3540) の差を比べる"
  ],
  "related": []
 },
 "hints": [
  "3500 の近くにある『隣り合う素数の積』を探し、3500 がどの区間に入るか決める",
  "その区間では数はいくつずつ増えるか (= 59 の倍数の列になる)",
  "3500 の上下にある区間の数を 2 つ出して、差を比べる"
 ],
 "analysis": {
  "primary_field": "規則性",
  "secondary_fields": [
   "数の性質"
  ],
  "cores": [
   "区間の特定 (隣り合う素数の積)",
   "等差の列から最も近い数",
   "上下の候補比較"
  ],
  "prerequisites": [
   "素数の列挙 (70 まで)",
   "(1) の規則"
  ],
  "insight_triggers": "『3500 に最も近い』 → どの区間かを素数の積で特定",
  "core_explanation": "",
  "barrier": "条件整理・計算",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "B",
  "difficulty_basis": "規則が分かっていれば『区間の特定 → 等差で戻す → 上下比較』の 3 段階。素数の積の計算量がやや多い",
  "difficulty_scale": "典型解法を組み合わせる・条件整理が必要 (3〜4段階)",
  "est_minutes": 5,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "計算ミス",
   "条件の読み落とし"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "",
  "alternatives": "",
  "intent_estimate": "(2) で理解した構造を使って、区間の特定と等差の処理を正確に行えるかを問う (確信度: 中)。",
  "confidence": "中"
 },
 "lecture_notes": "塾解説 (kakomon_v-tg-toshima21_5-3): 59×61 = 3599 から 59 を戻して 3540, 3481、差 19 の 3481。",
 "teaching_notes_refs": [
  {
   "page": 40,
   "principle": "素因数分解"
  },
  {
   "page": 24,
   "principle": "等差数列 (一定の差で並ぶ)"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T11:38:18+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "a071d6a3b01083beb57c67e914eab8482b7bcb12e8d82513827c59c157de512a",
 "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": "定義どおり 1 万まで逐次生成し、3500 に最も近い項を取る (一意性も確認)",
    "result": "計算値 3481 / 期待値 3481 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '3481' → 一致",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0007.py",
  "verified_at": "2026-10-23T00:20:02+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "3481",
  "computed": "3481",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}