ProjectEuler 365 A huge binomial coefficient - 拼圖
By Selena
at 2012-01-01T02:03
at 2012-01-01T02:03
Table of Contents
365. A huge binomial coefficient
http://projecteuler.net/problem=365
C(10^18,10^9) 這個二項式係數是個超過九十億位的大數字。
令 M(n,k,m) 表示 C(n,k) 除以 m 的餘數。
求 ΣM(10^18,10^9,p*q*r) 的結果,其中 1000<p<q<r<5000 且 p,q,r 皆為質數。
--
這題的討論串上提到的那個定理我竟然沒聽過...(暴汗)
(連這樣也給我矇了個第十真是不好意思 XD)
--
LPH [acronym]
= Let Program Heal us
-- New Uncyclopedian Dictionary, Minmei Publishing Co.
--
Tags:
拼圖
All Comments
By Andy
at 2012-01-01T20:42
at 2012-01-01T20:42
By Selena
at 2012-01-04T02:19
at 2012-01-04T02:19
By Agatha
at 2012-01-09T01:51
at 2012-01-09T01:51
By Bethany
at 2012-01-13T21:36
at 2012-01-13T21:36
By John
at 2012-01-16T06:21
at 2012-01-16T06:21
By Dinah
at 2012-01-19T19:22
at 2012-01-19T19:22
Related Posts
年度最怪面試題 就想考倒你
By Quanna
at 2011-12-29T22:50
at 2011-12-29T22:50
The finding of moses-WENTWORTH -500p
By Connor
at 2011-12-29T18:41
at 2011-12-29T18:41
ProjectEuler 364 Comfortable distance
By Kyle
at 2011-12-25T00:08
at 2011-12-25T00:08
玩拼圖不用錢,飲料喝免費啦!!~
By Dora
at 2011-12-24T20:37
at 2011-12-24T20:37
翌陽 長頸鹿木頭拼圖
By Charlotte
at 2011-12-23T22:52
at 2011-12-23T22:52