<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>Scheme</anon>
  </categories>
  <description>もうちょいいこう。Problem 71 - PukiWiki100万以下の真既約分数を小さい順に並べて、3/7の左側に来る分数の分子を答える。 素直に並べたら、100万の2乗回はかかるのでムリっぽい。んじゃ、と思って3/7以下に絞ってみたけど、1000分割位で破綻。100万 * 40万回なので当然ムリ。 ということで、例えば、3/7で検索するなら、1/3が最初に見つかる。次は2/5が引っかかる。次はよくわからんけど、3以上/dとなるので、最後に見つかった分子より大きい数が来るはず。 分子ベースで見ていけば100万*ちょっと回位でいけそう。 (define (problem71 splits r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20080516%2F1210882031&quot; title=&quot; Problem 71 - 3/7よりちょっと小さい分数 - ボクノス&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>2008-05-16 05:07:11</published>
  <title> Problem 71 - 3/7よりちょっと小さい分数</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20080516/1210882031</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
