阅读背景:

CSU - 1895(矩阵快速幂(a+b*sqrt(x))的通用方法+找规律)

来源:互联网 

Apache is a student of CSU. There is a math class every Sunday morning, but he is a very hard man who learns late every night. Unfortunate, he was late for maths on Monday. Last week the math teacher gave a question to let him answer as a punishment, but he was easily resolved. So the math teacher prepared a problem for him to solve. Although Apache is very smart, but also was stumped. So he wants to ask you to solve the problem. Questions are as follows: You can find a m made (1 + sqrt (2)) ^ n can be decomposed into sqrt (m) + sqrt (m-1), if you can output m% 100,000,007 otherwise output No.Apache is a student of CSU. There is a math cla




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: