<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>数学(整数問題)</anon>
    <anon>中国剰余定理</anon>
    <anon>Fermatの小定理</anon>
    <anon>考察：一部の変数を固定して考える</anon>
    <anon>数え上げ問題</anon>
    <anon>Codeforces</anon>
    <anon>CodeforcesR2100</anon>
    <anon>CodeforcesDIV2</anon>
  </categories>
  <description>中国剰余定理のことをあれこれ調べていたら勢いで解いたん 問題へのリンク 問題概要 整数 が与えられる。 mod. ) が成立するような 以上 以下の整数 を数え上げよ。 制約 は素数 &lt; 解法 Fermat の小定理から以下のことが言える: は mod. において周期 である は mod. において周期 である したがって、 と は互いに素だから、 mod. は全体として周期 となることがわかる。 ここで、 の方を固定して集計することを考える。すなわち、 (mod. ) の場合について数えて条件を満たす の個数を数え上げて、それを について合算する。 (mod. ) ⇔ (mod. ) となる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2018%2F06%2F26%2F180600&quot; title=&quot;Codeforces #460 (Div. 2) E. Congruence Equation (R2100) - けんちょんの競プロ精進記録&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://chart.apis.google.com/chart?cht=tx&amp;chl=%20a%2C%20b%2C%20p%2C%20x</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-26 18:06:00</published>
  <title>Codeforces #460 (Div. 2) E. Congruence Equation (R2100)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2018/06/26/180600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
