<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atcoder</author_name>
  <author_url>https://blog.hatena.ne.jp/atcoder/</author_url>
  <blog_title>AtCoderInfo</blog_title>
  <blog_url>https://info.atcoder.jp/</blog_url>
  <categories>
    <anon>多項式・形式的べき級数</anon>
    <anon>線形代数</anon>
    <anon>線形漸化的数列</anon>
    <anon>C-recursive</anon>
    <anon>Berlekamp–Massey のアルゴリズム</anon>
    <anon>Reeds–Sloane のアルゴリズム</anon>
  </categories>
  <description>1. 概要 本講座では，正整数 $\boldsymbol{m}$ を法とする線形漸化式の復元問題を扱います． 線形漸化式の復元 では，数列から定数係数線形漸化式を復元する問題を，係数環が体である場合に解説しました．その場合のアルゴリズムの代表が Berlekamp–Massey アルゴリズムです．Berlekamp–Massey アルゴリズムは，入力列を先頭から順に処理し，各時点で数列が満たす最小位数の漸化式を更新していくアルゴリズムです． 一方で，競技プログラミングでもしばしば $\mathbb Z/m\mathbb Z$ を係数環として数列を扱います．$m$ が素数であればこれは体ですが，…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfo.atcoder.jp%2Fentry%2Falgorithm_lectures%2Flinearly_recurrent_sequence_reconstruction_mod&quot; title=&quot;線形漸化式の復元（mod m） - AtCoderInfo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/atcoder/20260626/20260626105145.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-26 10:51:45</published>
  <title>線形漸化式の復元（mod m）</title>
  <type>rich</type>
  <url>https://info.atcoder.jp/entry/algorithm_lectures/linearly_recurrent_sequence_reconstruction_mod</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
