ProjectEuler 372 Pencils of rays - 拼圖

By Edward Lewis
at 2012-02-18T21:13
at 2012-02-18T21:13
Table of Contents
372. Pencils of rays
http://projecteuler.net/problem=372
使 R(M,N) 為整數點 (x,y),符合 M < x ≦ N , M < y ≦ N 且 |_ y^2/x^2 _| 為
奇數。
我們可以知道 R( 0 , 100 ) = 3019 且 R( 100 , 10000 ) = 29750422
請算出 R( 2*10^6 , 10^9 )
PS: |_ x _| 表示為 取不大於 x 之最大整數
--
http://projecteuler.net/problem=372
使 R(M,N) 為整數點 (x,y),符合 M < x ≦ N , M < y ≦ N 且 |_ y^2/x^2 _| 為
奇數。
我們可以知道 R( 0 , 100 ) = 3019 且 R( 100 , 10000 ) = 29750422
請算出 R( 2*10^6 , 10^9 )
PS: |_ x _| 表示為 取不大於 x 之最大整數
--
Tags:
拼圖
All Comments
Related Posts
ProjectEuler 371 Licence plates

By Charlotte
at 2012-02-14T19:34
at 2012-02-14T19:34
拼圖 購置拼圖存放裱框

By William
at 2012-02-13T15:50
at 2012-02-13T15:50
ProjectEuler 371 Licence plates

By Frederica
at 2012-02-13T09:28
at 2012-02-13T09:28
LP開團

By George
at 2012-02-12T22:20
at 2012-02-12T22:20
ProjectEuler 371 Licence plates

By Tom
at 2012-02-12T18:10
at 2012-02-12T18:10