Projecteuler (282) Ackermann function - 拼圖
By Mason
at 2010-03-15T19:32
at 2010-03-15T19:32
Table of Contents
Problem 282 The Ackermann function
http://projecteuler.net/index.php?section=problems&id=282
對於非負整數 m, n
A(m, n)被定義如下:
A(m,n) = n+1 當m=0
A(m-1, 1) 當m>0且 n=0
A(m-1, A(m, n-1)) 當m>0且n>0
例如 A(1,0)=2, A(2,2)=7, A(3,4)=125
6
Σ A(n,n) 除以14^8 之餘數為何?
n=0
------------------------
看起來只是要求A(0,0)~A(6,6)這7項之和除以14^8之餘數
似乎很簡單,不過.....
聽說這是計算機科學中非常有名的艾克曼函數
不過,我到現在才知道有這函數(汗)
附註: 經過24小時的時候,只有22人解出來,這題似乎比螞蟻搬種子那一題更難
--
http://projecteuler.net/index.php?section=problems&id=282
對於非負整數 m, n
A(m, n)被定義如下:
A(m,n) = n+1 當m=0
A(m-1, 1) 當m>0且 n=0
A(m-1, A(m, n-1)) 當m>0且n>0
例如 A(1,0)=2, A(2,2)=7, A(3,4)=125
6
Σ A(n,n) 除以14^8 之餘數為何?
n=0
------------------------
看起來只是要求A(0,0)~A(6,6)這7項之和除以14^8之餘數
似乎很簡單,不過.....
聽說這是計算機科學中非常有名的艾克曼函數
不過,我到現在才知道有這函數(汗)
附註: 經過24小時的時候,只有22人解出來,這題似乎比螞蟻搬種子那一題更難
--
Tags:
拼圖
All Comments
By Kristin
at 2010-03-19T00:15
at 2010-03-19T00:15
By James
at 2010-03-21T09:46
at 2010-03-21T09:46
By James
at 2010-03-26T08:34
at 2010-03-26T08:34
By Lauren
at 2010-03-28T09:58
at 2010-03-28T09:58
By Edith
at 2010-04-01T05:12
at 2010-04-01T05:12
By Andy
at 2010-04-03T12:19
at 2010-04-03T12:19
By Suhail Hany
at 2010-04-04T22:44
at 2010-04-04T22:44
By Jacob
at 2010-04-07T17:06
at 2010-04-07T17:06
By Genevieve
at 2010-04-10T14:30
at 2010-04-10T14:30
By Hazel
at 2010-04-13T18:49
at 2010-04-13T18:49
By Annie
at 2010-04-16T02:06
at 2010-04-16T02:06
By Isabella
at 2010-04-19T23:17
at 2010-04-19T23:17
By Irma
at 2010-04-23T03:45
at 2010-04-23T03:45
By Sandy
at 2010-04-24T15:31
at 2010-04-24T15:31
By Oscar
at 2010-04-25T06:20
at 2010-04-25T06:20
By Skylar DavisLinda
at 2010-04-26T17:13
at 2010-04-26T17:13
By Connor
at 2010-04-28T20:35
at 2010-04-28T20:35
By Odelette
at 2010-04-29T07:13
at 2010-04-29T07:13
By Hamiltion
at 2010-05-02T14:24
at 2010-05-02T14:24
Related Posts
九宮八卦
By Caitlin
at 2010-03-15T19:10
at 2010-03-15T19:10
不可能物體 008 - 凹槽中的釘子
By Tom
at 2010-03-15T19:04
at 2010-03-15T19:04
2010/04/11 協會杯第一屆全國五子棋大賽
By Michael
at 2010-03-15T12:09
at 2010-03-15T12:09
2010/04/11 第十一次台北晉段賽簡章
By Mary
at 2010-03-15T10:53
at 2010-03-15T10:53
杜鵑花節-數學系有獎徵答 2010
By Kelly
at 2010-03-15T00:28
at 2010-03-15T00:28