<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yamaimo0625</author_name>
  <author_url>https://blog.hatena.ne.jp/yamaimo0625/</author_url>
  <blog_title>いものやま。</blog_title>
  <blog_url>https://yamaimo.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>CodeIQで出題された「ロング・ロング・ストリング」問題。 https://codeiq.jp/q/2683 自分もRubyで解いたので、コードを公開してみる。 問題 問題は、以下のとおり： 自然数 に対して、関数 を、（ の 乗）を 10 進数で表したときの桁数と定義します。 例えば、 ですので、 です。同様に、 です。 さらに、2 以上の自然数 に対して、 となる の値を と定義します。 もしそのような が存在しない場合は、 と定義します。 例えば 、 です。同様に、、、 となることが確かめられます。 標準入力から、自然数 が与えられます。 標準出力に の値を出力するプログラムを書いてく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamaimo.hatenablog.jp%2Fentry%2F2016%2F03%2F12%2F200000&quot; title=&quot;CodeIQ「ロング・ロング・ストリング」問題を解いてみた。 - いものやま。&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-12 20:00:00</published>
  <title>CodeIQ「ロング・ロング・ストリング」問題を解いてみた。</title>
  <type>rich</type>
  <url>https://yamaimo.hatenablog.jp/entry/2016/03/12/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
