The Fibonacci sequence is the unique sequence such that
Similarly, there is a unique function such that
Define . For example
You are also given .
Find , giving your answer modulo .
940. 二维递推关系
斐波那契数列 指的是满足如下条件的惟一数列:
类似的,记 为惟一一个满足如下条件的函数:
记 ,例如:
你还知道 。
求 模 的值。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。