<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oupo</author_name>
  <author_url>https://blog.hatena.ne.jp/oupo/</author_url>
  <blog_title>oupoの日記</blog_title>
  <blog_url>https://oupo.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>続きの記事: 線形合同法であるseedが0からいくつ進めたものかを得る その2 - oupoの日記 続きの続きの記事: 線形合同法であるseedが0からいくつ進めたものかを得る その3 (法が2のべきとは限らない一般の場合) - oupoの日記 sid-searchを作り直してみた - oupoの日記でも使ったアルゴリズムを解説する。 問題 線形合同法の漸化式に使われる関数(x * A + B) mod 2^Nをf(x)とおき、この線形合同法の数列は最大周期であるとする。 を初項を0としたこの線形合同法の数列とする。すなわちa_0 = 0, a_{n+1} = f(a_n) 与えられたseed…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foupo.hatenadiary.com%2Fentry%2F20121122%2F1353554591&quot; title=&quot; 線形合同法であるseedが0からいくつ進めたものかを得る - oupoの日記&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/o/oupo/20121122/20121122120936.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-11-22 12:23:11</published>
  <title> 線形合同法であるseedが0からいくつ進めたものかを得る</title>
  <type>rich</type>
  <url>https://oupo.hatenadiary.com/entry/20121122/1353554591</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
