<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tsz</author_name>
  <author_url>https://blog.hatena.ne.jp/tsz/</author_url>
  <blog_title>tszの日記</blog_title>
  <blog_url>https://tsz.hatenadiary.org/</blog_url>
  <categories>
    <anon>L-99</anon>
    <anon>Common Lisp</anon>
  </categories>
  <description>g000001さんの解法を参考にさせてもらいました。まずは、次の素数を見つける関数next-primeを定義。 例によって、P31のprime-pを使います。 (defun next-prime (n) (if (prime-p (1+ n)) (1+ n) (next-prime (1+ n)))) (next-prime 40) ;; =&gt; 41 奇数と2は対象外なので、nilを返します。 ;; P40 (defun goldbach (m) (if (or (oddp m) (&lt;= m 2)) nil (do ((l 2 (next-prime l))) ((or (prime-p (-…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftsz.hatenadiary.org%2Fentry%2F20080328%2F1206717801&quot; title=&quot;P40: goldbach conjecture - tszの日記&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-03-28 00:23:21</published>
  <title>P40: goldbach conjecture</title>
  <type>rich</type>
  <url>https://tsz.hatenadiary.org/entry/20080328/1206717801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
