<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ancient-v</author_name>
  <author_url>https://blog.hatena.ne.jp/ancient-v/</author_url>
  <blog_title>思いついたら書く日記 Ex</blog_title>
  <blog_url>https://ancient-v.hatenadiary.org/</blog_url>
  <categories>
    <anon>Project Euler</anon>
    <anon>Emacs Lisp</anon>
  </categories>
  <description>問題5: 1 から 20 までの整数全てで割り切れる数字の中で最小の値はいくらになるか[=&gt;原文和訳] 20の階乗は float型で正確な整数を扱える範囲を超えてしまいます。ですが、今回は階乗ではなく最小公倍数なので floatや、もしかしたら integer の範囲で収まるかもしれません。ダメもとでやってみましょう。 とりあえずやってみる (defun problem005 (N) &quot;1〜Nの整数の最小公倍数を求める&quot; (let ((n 0) (lis nil)) (dotimes (n N) (setq lis (cons (1+ n) lis))) (apply #'lcm lis)))…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fancient-v.hatenadiary.org%2Fentry%2F20091112%2F1258042698&quot; title=&quot; Project Euler Problem 5 - 思いついたら書く日記 Ex&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>2009-11-12 01:18:18</published>
  <title> Project Euler Problem 5</title>
  <type>rich</type>
  <url>https://ancient-v.hatenadiary.org/entry/20091112/1258042698</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
