<?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>PE</anon>
    <anon>数学</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>フィボナッチ数列Fnは次のように定義されます。 F1 = 1 F2 = 1 Fn+2 = Fn+1 + Fn F2 = 2とする流儀もあるようです。 フィボナッチ数列はいろいろなところに出てくるためか、Project Eulerでもしばしば取り上げられます。フィボナッチ数列をPythonで生成するには、F0 = 0と考えて、 def gen_fib(): a, b = 0, 1 while True: yield b a, b = b, a + b n項を求めるにこれを使うと、 N = 100000 print next(islice(gen_fib(), N - 1, None)) n項を直…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20101002%2Fp1&quot; title=&quot;フィボナッチ数列 - 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>2010-10-02 00:00:00</published>
  <title>フィボナッチ数列</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20101002/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
