<?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>
  </categories>
  <description>問題30: 2以上の自然数について、各桁を5乗した数の和が元の数と一致する数をすべて求め、その和を答えよ。[=&gt;問題文] 上限が与えられない問題です。左辺の値いくつまで調べればよいのか。注目するのは「桁数」です。 k 桁の数を考えます。各桁の最大値は 9 なので右辺 a のとりうる最大値 a-max は次のようになります。 [右辺 a 最大値] a-max(1): 9^5 a-max(2): 9^5 + 9^5 a-max(3): 9^5 + 9^5 + 9^5 : a-max(k-1): 9^5 + 9^5 + 9^5 ... 9^5 a-max(k) : 9^5 + 9^5 + 9^5 .…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fancient-v.hatenadiary.org%2Fentry%2F20091206%2F1260037004&quot; title=&quot; Project Euler Problem 30 - 思いついたら書く日記 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-12-06 03:16:44</published>
  <title> Project Euler Problem 30</title>
  <type>rich</type>
  <url>https://ancient-v.hatenadiary.org/entry/20091206/1260037004</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
