<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>phyllo_algo</author_name>
  <author_url>https://blog.hatena.ne.jp/phyllo_algo/</author_url>
  <blog_title>れどこだ目指すよ！　(；`・ω・）</blog_title>
  <blog_url>https://phyllo-algo.hatenadiary.org/</blog_url>
  <categories>
    <anon>とぷこだ</anon>
    <anon>過去問</anon>
  </categories>
  <description>問題 Xが非負の整数であるとき、以下の性質を持つ無限列をXのKleofas tailという。 数列の最初はX 偶数の数字の次の要素は、その数字の半分にしたもの 奇数の数字の次の要素は、その数字から1引いたもの 例えば、X=60の場合は、60,30,15,14,7,6,...となる。 AからBの間の数字で、1度以上数字Kが出現するものの個数を答える。 考え方 逆に1から偶数の時は2倍、奇数の時は2倍にしたものと1を足したものを書き出していってみる。 すると、各数字は1回ずつしかでてこないことがわかる。 さらに2倍していく方は2の累乗で増えていくことから、O(log N)で探索していっている。与え…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenadiary.org%2Fentry%2F20120701%2F1341110789&quot; title=&quot;SRM546 Div1 250 - れどこだ目指すよ！　(；`・ω・）&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>2012-07-01 11:46:29</published>
  <title>SRM546 Div1 250</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenadiary.org/entry/20120701/1341110789</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
