Problem 809 题目发布于 2022-09-25 翻译更新于 2022-10-23 Problem 809 Rational Recurrence RelationThe following is a function defined for all positive rational values of x.f(x)={xx is integralf(11−x)x<1f(1⌈x⌉−x−1+f(x−1))otherwise For example, f(3/2)=3, f(1/6)=65533 and f(13/10)=7625597484985. Find f(22/7). Give your answer modulo 1015. 有理数递归关系式如下是定义在所有正有理数x上的函数:若是整数若其余情况f(x)={x若x是整数f(11−x)若x<1f(1⌈x⌉−x−1+f(x−1))其余情况 例如,f(3/2)=3,f(1/6)=65533,f(13/10)=7625597484985。 求f(22/7),并将你的答案对1015取余。
Gitalking ...