<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yarb</author_name>
  <author_url>https://blog.hatena.ne.jp/yarb/</author_url>
  <blog_title>yarbの日記</blog_title>
  <blog_url>https://yarb.hatenadiary.org/</blog_url>
  <categories>
    <anon>euler</anon>
    <anon>clojure</anon>
  </categories>
  <description>Clojureでやってみるプロジェクトオイラーの29問目と27問目。29問目は「How many distinct terms are in the sequence generated by a^b for 2 ≤ a ≤ 100 and 2 ≤ b ≤ 100?」というもの。 (println (count (distinct (for [a (range 2 101) b (range 2 101)] (Math/pow a b))))) forマクロの使い方わかった。シーケンスを作るのね。多重ループの抽象化も簡単。distinctをuniqと名付けなかったのか。27問目は、絶対値が10…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyarb.hatenadiary.org%2Fentry%2F20100810%2Fp1&quot; title=&quot;プロジェクトオイラー27、29問目 - yarbの日記&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-08-10 00:00:00</published>
  <title>プロジェクトオイラー27、29問目</title>
  <type>rich</type>
  <url>https://yarb.hatenadiary.org/entry/20100810/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
