Let be the -th positive integer that does not contain three consecutive ones in its binary representation.
For example, and .
Define to be the sum of for all where is odd. You are given .
Find giving your answer modulo .
912. 奇数在哪里?
记 为第 个满足二进制表示下没有连续的三个 1 的正整数,例如 、。
记 为:对所有满足 、 是奇数的正整数 ,其 的和。已知 。
求 模 的值。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。