<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akihiro4chawon</author_name>
  <author_url>https://blog.hatena.ne.jp/akihiro4chawon/</author_url>
  <blog_title>akihiro4chawonの日記</blog_title>
  <blog_url>https://akihiro4chawon.hatenadiary.org/</blog_url>
  <categories>
    <anon>scala</anon>
  </categories>
  <description>素因数分解が の形式になる数をハミング数という*1。この手の問題は、やはり Haskell で書くとスッキリする。Hamming numbers - Rosetta Code から Haskell のコードを引用する。 hamming = 1 : map (2*) hamming `merge` map (3*) hamming `merge` map (5*) hamming where merge (x:xs) (y:ys) | x &lt; y = x : xs `merge` (y:ys) | x &gt; y = y : (x:xs) `merge` ys | otherwise = x : x…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakihiro4chawon.hatenadiary.org%2Fentry%2F20110424%2F1303626015&quot; title=&quot; ハミング数の算法 3種 - infinite list, imperative queue, cyclical iteration - akihiro4chawonの日記&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-04-24 15:20:15</published>
  <title> ハミング数の算法 3種 - infinite list, imperative queue, cyclical iteration</title>
  <type>rich</type>
  <url>https://akihiro4chawon.hatenadiary.org/entry/20110424/1303626015</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
