<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>quasistatic</author_name>
  <author_url>https://blog.hatena.ne.jp/quasistatic/</author_url>
  <blog_title>借りてきた猫のように静か</blog_title>
  <blog_url>https://quasistatic.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C</anon>
    <anon>Graphviz</anon>
  </categories>
  <description>操作後の値が100以下のノードを全て含み、かつ、 その全てがエッジ伝いに1のノードへ到達できるようなグラフを得たい場合、 単純にやるなら、100以下の全ての値について、 これをそれぞれ初期値として、 その1に至る経路を出力したものを一つのグラフとして出力すればいい。 collatz8.c #include &lt;gmp.h&gt; void collatz_route(mpz_t x); void collatz_route(mpz_t x) { mpz_t n; mpz_init_set(n, x); while (mpz_cmp_ui(n, 1UL) &gt; 0) { gmp_printf(&quot; %Zu …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquasistatic.hatenadiary.jp%2Fentry%2F20110927%2Fp1&quot; title=&quot; Collatz問題 #12 - 借りてきた猫のように静か&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>2011-09-27 00:00:00</published>
  <title> Collatz問題 #12</title>
  <type>rich</type>
  <url>https://quasistatic.hatenadiary.jp/entry/20110927/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
