<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>Problem 26この問題は以前に詳しく説明しました。Project Euler 26 - 桃の天然水要約すると、 dは素数でなければならない 10n ≡ 1(mod d)となる最小の自然数nはd-1でなければならない 上の合同式が成り立つnはd-1の約数のみ だから、d-1以外の全ての約数について上の合同式が成り立たないような最も大きいdを求めればよいのでした。 しかし、もう少し考えるとd-1から一つずつ素因数を取り除いた数、すなわち例えば d - 1 = 23・32・5 だとすると、 22・32・5 23・3・5 23・32 の3つについて調べていずれも合同式が成り立たないことを確かめれ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20110713%2Fp1&quot; title=&quot;ScalaでProject Euler（45） - inamori’s diary&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-07-13 00:00:00</published>
  <title>ScalaでProject Euler（45）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20110713/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
