Inverse Digit Sum
Define to be the smallest number that has a digit sum of . For example .
Let . You are given .
Further let be the Fibonacci sequence defined by and for all .
Find . Give your answer modulo .
数字和的逆函数
记 为最小的数字和为的数。例如。
记。已知。
记为斐波那契数列,其中,,对任意有。
求。将你的答案对取余。
Gitalking ...