{
 "problem_id": "TOYO-E0012-Q02-S03",
 "transcript": {
  "text": "2022年2月4日からちょうど34000日後は、西暦何年の何月何日ですか。ただし、現在の暦では、うるう年 (2月が29日までの年) を次の①、②のように定めています。\n① 西暦が4で割り切れる年をうるう年とする。\n② ①の例外として、西暦が100で割り切れて400で割り切れない年はうるう年ではないとする。",
  "status": "agent_visual_confirmed",
  "notes": null
 },
 "depends_on": [],
 "solution": {
  "final_answer": "2115年3月9日",
  "unit": null,
  "first_insight": "34000 ÷ 365 ≒ 93 年。『93 年後の同じ日付 (2115 年 2 月 4 日)』までの日数を 365 × 93 + うるう日の回数 で出し、残りを進める。",
  "insight_basis": "長い日数は『年単位でまとめて → 端数を日単位で』の 2 段階。うるう日の数え方に ② の例外 (2100 年) が含まれるのがこの問題の仕掛け。",
  "steps": [
   "34000 ÷ 365 = 93 あまり 55 → およそ 93 年先。2022 年 2 月 4 日 → 2115 年 2 月 4 日 までを考える",
   "この間に入る 2 月 29 日: 2024, 2028, …, 2112 年で (2112 − 2024) ÷ 4 + 1 = 23 回。ただし 2100 年は 100 で割り切れて 400 で割り切れないので平年 (②) → 22 回",
   "2115 年 2 月 4 日 までの日数 = 365 × 93 + 22 = 33945 + 22 = 33967 (日)",
   "残り 34000 − 33967 = 33 日。2115 年は 4 で割り切れないので平年 (2 月は 28 日まで)",
   "2 月 4 日 の 33 日後: 2 月 4 日 → 2 月 28 日 が 24 日後、3 月 1 日 が 25 日後、3 月 9 日 が 33 日後 → 2115 年 3 月 9 日"
  ],
  "why": "『○ 年後の同じ日付』までの日数は 365 × 年数 + その間の 2 月 29 日 の回数。起点が 2 月 4 日 なので、数えるうるう日は 2024 年から 2112 年まで (2022 年・2115 年の 2 月 29 日 は期間に入らないし、どちらも平年)。",
  "check": "検算: 2115 年 3 月 9 日 の 93 年前は 2022 年 3 月 9 日 で、2 月 4 日 の 33 日後 ✓ (2022 年は平年: 2 月 4 日 → 3 月 4 日 が 28 日後、3 月 9 日 が 33 日後)。暦ライブラリ (グレゴリオ暦) で 2022-02-04 + 34000 日 = 2115-03-09 ✓ (検証スクリプト)。",
  "common_errors": [
   {
    "error": "2100 年をうるう年として 23 回数え、3 月 8 日 とする",
    "where": "2手目",
    "detect": "問題文にわざわざ ② が書いてある → 2100 年が範囲に入っている合図"
   },
   {
    "error": "うるう日の回数を (2112 − 2024) ÷ 4 = 22 として『+1』を忘れ、2100 年の除外と打ち消して偶然合う／2100 を除いて 21 回にする",
    "where": "2手目",
    "detect": "2024, 2028, …, 2112 を『4 で割って並べる』と 506〜528 で 23 個"
   },
   {
    "error": "2115 年をうるう年として 2 月 29 日 を入れ、3 月 8 日 とする",
    "where": "5手目",
    "detect": "2115 ÷ 4 は割り切れない"
   },
   {
    "error": "『34000 日後』を『34000 日目』として 1 日ずれる",
    "where": "読解",
    "detect": "『後』は起点を 0 日目と数える"
   }
  ],
  "minimal_points": [
   "365 で割って『約 93 年後の同じ日付』まで",
   "うるう日は 2024〜2112 で 23 回、2100 を除いて 22 回",
   "残り 33 日を 2 月 4 日 から進める (2115 年は平年)"
  ],
  "related": []
 },
 "hints": [
  "34000 日はおよそ何年か (365 で割る)。まず『同じ日付 (2 月 4 日)』まで何年進めるかを決める",
  "その間の うるう日 (2 月 29 日) の回数を数える。ただし 100 で割り切れる年に注意",
  "残りの日数を 2 月 4 日 から進める (その年がうるう年かどうかも確認)"
 ],
 "analysis": {
  "primary_field": "規則性",
  "secondary_fields": [
   "数の性質"
  ],
  "cores": [
   "日暦算 (年単位→日単位)",
   "うるう年の判定 (400 年ルール)"
  ],
  "prerequisites": [
   "うるう年の規則",
   "等差数列の個数",
   "各月の日数"
  ],
  "insight_triggers": "『②』がわざわざ書いてある → 2100 年を数える問題",
  "core_explanation": "",
  "barrier": "条件整理・計算",
  "approach_comparison": ""
 },
 "learning": {
  "difficulty": "B",
  "difficulty_basis": "手順は定型だが、23 回 → 22 回の例外処理と残り日数の進め方の 2 か所で注意が要る",
  "difficulty_scale": "典型解法を組み合わせる・条件整理が必要 (3〜4段階)",
  "est_minutes": 5,
  "est_basis": "推定 (分析者の暫定値。実測値は学習履歴で別管理)",
  "error_types": [
   "条件の読み落とし",
   "計算ミス"
  ],
  "prereq_weight": 0
 },
 "teacher": {
  "background": "教師用: グレゴリオ暦の 400 年周期は 146097 日。34000 日 = 93 年 + 33 日 (うるう 22 回)。",
  "alternatives": "",
  "intent_estimate": "うるう年の 400 年ルール (② の例外) を実際に適用させるために 2100 年をまたぐ日数が選ばれていると推定。長期間の日暦算を『年 × 365 + うるう日』で処理できるかを見る",
  "confidence": "高"
 },
 "lecture_notes": null,
 "teaching_notes_refs": [
  {
   "page": 8,
   "principle": "日暦算 (○日後と△日目・うるう年)"
  }
 ],
 "verification_methods_declared": [],
 "notes": null,
 "defective": false,
 "content_version": 1,
 "changelog": [
  {
   "version": 1,
   "at": "2026-10-22T11:12:47+09:00",
   "reason": "初版"
  }
 ],
 "_sig": "0e27ecf478f8dfeec95b584a58710feca8262702503cb1d3c82112d7a547366f",
 "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": "datetime (グレゴリオ暦) で 2022-02-04 の 34000 日後を計算",
    "result": "計算値 2115年3月9 / 期待値 2115年3月9 → 一致",
    "by": "verification_script"
   },
   {
    "method": "学校公表の正解との照合",
    "result": "公式 '2115年3月9日' → 一致",
    "by": "verification_script"
   },
   {
    "method": "2023〜2115 のうるう年は 22 回 (2100 は平年)",
    "result": "成立",
    "by": "verification_script"
   },
   {
    "method": "93 年後の同日までが 365×93+22 日",
    "result": "成立",
    "by": "verification_script"
   },
   {
    "method": "カード解答(final_answer)と計算値の整合",
    "result": "一致",
    "by": "verification_script"
   }
  ],
  "script": "scripts/verify/TOYO-E0012.py",
  "verified_at": "2026-10-23T00:20:15+09:00",
  "verified_by": "verification_script+agent",
  "official_answer": "2115年3月9日",
  "computed": "2115年3月9",
  "conflicts_unresolved": false,
  "stale": false
 },
 "updated_at": "2026-10-23T00:21:24+09:00"
}