→ Ricestone : x^2-2x-1=0 11/18 21:57
→ Ricestone : 然後設2x+1=y 則 y^2-6y+1 = 0 ,依此類推 11/18 22:15
→ Ricestone : 我目前想到是這樣啦... 11/18 22:15
→ Ricestone : 看起來還是遞迴算矩陣比較快 11/18 22:23
→ Ricestone : 感覺將上面多項式,換成overZ_10 可行? 11/18 23:07
推 remember : 二項式定理展開很多1吧 11/18 23:12
→ Ricestone : 那樣寫開來會容易取mod嗎? 11/18 23:22
→ Ricestone : 嗯...看起來可以用Lucas's Theorem分別對2,5作mod 11/18 23:43
→ Ricestone : 2很快,5也只要一下子 11/18 23:43
→ Ricestone : 不過,C(100,25) C(100,50) 這些還是超大啊 11/18 23:55
推 Vulpix : 4, by M$ Excel(誤) 遞迴其實很快。 11/19 00:22
→ Vulpix : 找規律的話,循環節長度才6,算輕鬆的了。 11/19 00:28