<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jeneshicc</author_name>
  <author_url>https://blog.hatena.ne.jp/jeneshicc/</author_url>
  <blog_title>落書き、時々落学</blog_title>
  <blog_url>https://jeneshicc.hatenadiary.org/</blog_url>
  <categories>
    <anon>Project Euler</anon>
    <anon>Haskell</anon>
  </categories>
  <description>http://projecteuler.net/index.php?section=problems&amp;id=160 階乗の非零末尾の数字をk個求める。 n!に含まれる5の数をp(n)とすると n!/10^p(n) mod (10^k) が分かればよい。 まず、n!/10^p(n) = 0 (mod 2^k) であるから n!/10^p(n) mod (5^k) を求めて、あとは連立合同式 x = 0 (mod 2^k), x = ? (mod 5^k) を解けばよい。 n!/5^p(n) mod (5^k) から n!/10^p(n) mod (5^k) を求めている。 import Data…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20081226%2F1230271460&quot; title=&quot;Problem 160 （階乗の非零末尾数字) - 落書き、時々落学&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>2008-12-26 15:04:20</published>
  <title>Problem 160 （階乗の非零末尾数字)</title>
  <type>rich</type>
  <url>https://jeneshicc.hatenadiary.org/entry/20081226/1230271460</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
