<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>emtubasa</author_name>
  <author_url>https://blog.hatena.ne.jp/emtubasa/</author_url>
  <blog_title>ツバサの備忘録</blog_title>
  <blog_url>https://emtubasa.hateblo.jp/</blog_url>
  <categories>
    <anon>エラトステネスの篩</anon>
    <anon>前計算</anon>
  </categories>
  <description>月曜土曜素因数 提出コード まずは、nの最大値である300000までの月曜土曜数を抽出し、動的配列に保存します。 愚直に1つずつ、7で割ったときの余りが1or6になっているかどうか調べて問題ありません。 そうしたら、次に月曜土曜素数を求めます。先ほど求めた動的配列の中でエラトステネスの篩を適用すればよいです そうしたら、最後にnを入力されるごとに素因数を求めます。 具体的には、求めた月曜土曜素数のなかで、nを割り切れるかつ商が月曜土曜素数であるような数が存在するかどうか、で判定をします。 月曜土曜素因数であれば、その都度出力していきましょう。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Femtubasa.hateblo.jp%2Fentry%2F2018%2F09%2F09%2F003000_1&quot; title=&quot;AOJ 1154 - 月曜土曜素因数 - ツバサの備忘録&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>2018-09-09 00:30:00</published>
  <title>AOJ 1154 - 月曜土曜素因数</title>
  <type>rich</type>
  <url>https://emtubasa.hateblo.jp/entry/2018/09/09/003000_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
