<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>UVa</anon>
  </categories>
  <description>問題 http://uva.onlinejudge.org/external/112/11287.html概要 Fermatの小定理：（または） であるが、pが素数でないときこの関係式が成り立つ p を 基数 a における pseudoprimes という。 p が 基数 a における pseudoprimes であるかどうか判定せよ。解法 そのまま。ただし、べき乗は蟻本の mod_pow() を使うと良い。※mod_pow() について（蟻本P.116とほぼ同じ内容） が 偶数のとき、より、に帰着可能。が奇数の場合は（をで整数除算しているのでが一個余る）となり、同様にに帰着する。この再帰によ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140412%2F1397326402&quot; title=&quot;UVa11287 Pseudoprime numbers - Logfiles&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>2014-04-12 03:13:22</published>
  <title>UVa11287 Pseudoprime numbers</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140412/1397326402</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
