看板 Math 關於我們 聯絡資訊
令a,b是正整數 則(1+2^(1/2))^100=a+b*2^(1/2) 則a*b的個位數字是多少 用矩陣很難算,跪求各位大大有沒有除了硬爆找規律的方法 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.51.126 ※ 文章網址: https://www.ptt.cc/bbs/Math/M.1542546087.A.F26.html
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