<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>https://projecteuler.net/problem=3610進で回文数を出してそれが2進で回文数になっているか調べるくらいですが、2進で考えると回文数は必ず奇数になるんですね。 これを進めて考えると、例えば、17xxxという10進数を2進にすると10xx…となりますが、末尾を考えると10進で71で2進で01ですが、4で割ると余りが3と1になり、17xxxはありえないことが分かります。しかし、こうしても速くなりませんでした。 from collections import Set import sys #################### library ###########…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2024%2F06%2F15%2F213845&quot; title=&quot;MojoでProject Euler 36 - inamori’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>2024-06-15 21:38:45</published>
  <title>MojoでProject Euler 36</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/2024/06/15/213845</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
