<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kureduki_Maari</author_name>
  <author_url>https://blog.hatena.ne.jp/Kureduki_Maari/</author_url>
  <blog_title>c4se記：さっちゃんですよ☆</blog_title>
  <blog_url>https://c4se.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>keyword:線形合同法を書いたので、勢い余って転載。 keyword:線形合同法 英語で、linear congruential generator (LCG)。 乱数列の生成方法は、漸化式で、 x0 = Seed xn = (axn-1 + b) mod m である。a、b、mは定数。 周期は高々mであり、 bとmは互いに素 a-1が、mの全ての素因数で割り切れる mが4の倍数の場合、a-1も4の倍数である m &gt; xn 以上4つの条件が満たされるとき、周期は最大値mとなる。 それぞれの数は下位ビットであるほど周期が短く、最下位ビットは高々2である。 一般に、下からnビット目の周期は高々…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F20090122%2F1232561466&quot; title=&quot;はてなキーワード　線形合同法 - c4se記：さっちゃんですよ☆&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-01-22 03:11:06</published>
  <title>はてなキーワード　線形合同法</title>
  <type>rich</type>
  <url>https://c4se.hatenablog.com/entry/20090122/1232561466</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
