Recall the blancmange function from Problem 226: , where is the distance from to the nearest integer.
For positive integers , we write
It can be shown that is always an integer.
For example, , and .
Find . Give your answer modulo .
889. 有理数上的奶冻函数
考虑 第 226 题 中提及的奶冻函数:,其中 指的是 到离它最近的整数的距离。
对正整数 ,记
可以证明 始终是整数。例如,、、。
求 模 的值。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。