<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>数学</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>http://blog.livedoor.jp/dankogai/archives/50958771.html O(1)の計算方法が紹介されているが、roundをつかうのはちょっと気持ち悪い（64ビット整数を求めるのに、80ビットの浮動小数点数の計算では追いつかない？）という人のために、O(logn)で計算する方法を紹介する。 たぶん、上では省略されただけだろう。 まず、次を考える。 ここで、a, bは奇数。 この形で得られる集合は乗法について閉じていることが簡単に確認できる。 間違えた。a, bは共に奇数、または偶数。すなわち、差が偶数。 右辺の分子の第1項はどちらも偶数で、差は偶数となる。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20071129%2Fp1&quot; title=&quot;フィボナッチ数列の計算法（1） - inamori’s diary&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>2007-11-29 00:00:00</published>
  <title>フィボナッチ数列の計算法（1）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20071129/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
