<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
  </categories>
  <description>問題 arc023.contest.atcoder.jp 解法 まず少し考察です。区間 [s, t] にある最大公約数は, s が t から 0 に動くにつれて単調減少します。そして, その最大公約数の減少の仕方は, 素因数が 少しずつ減少していくことで生じます(例えば 6 -&gt; 3 -&gt; 1 と最大公約数が減少したとすると, これは素因数 2 がなくなる -&gt; 素因数 3 がなくなる, という感じで最大公約数が減っています)。では, 区間 [s, t] にある最大公約数は, s が t から 0 に動く場合に何通りほど考えられるかというと, およそ 30 であることがわかります(10^9 は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2015%2F09%2F27%2F213643&quot; title=&quot;AtCoder Regular Contest 023 D - GCD区間 - mayoko’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>2015-09-27 21:36:43</published>
  <title>AtCoder Regular Contest 023 D - GCD区間</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2015/09/27/213643</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
