<?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>行列累乗</anon>
    <anon>Berlekamp–Massey のアルゴリズム</anon>
    <anon>Euclid の互除法</anon>
    <anon>Half-GCD</anon>
  </categories>
  <description>1. 概要 本講座では，数列から定数係数線形漸化式を復元する問題について解説します． 例えば，Fibonacci 数列の先頭項 $$ S=(0,1,1,2,3,5,8,13) $$ を入力として，この数列が満たす漸化式 $$ S _ i = S _ {i-1} + S _ {i-2} $$ を出力するような問題を考えます．より正確には，有限数列が与えられたとき，その列と矛盾しない定数係数線形漸化式のうち，位数が最小のものを求める問題を扱います．この問題を，本講座では復元問題と呼びます． 復元問題を解く代表的なアルゴリズムが Berlekamp–Massey アルゴリズムです．Berlekamp…</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&quot; title=&quot;線形漸化式の復元 - 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/20260619/20260619101617.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-19 10:16:16</published>
  <title>線形漸化式の復元</title>
  <type>rich</type>
  <url>https://info.atcoder.jp/entry/algorithm_lectures/linearly_recurrent_sequence_reconstruction</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
