Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:请问这句怎么理解,卡在这里了,"You are also to compute the number of values 0 < p <= N such that p is not part of any triple (not just relatively prime triples)." 谢谢

Posted by 306457592 at 2010-03-05 10:04:52 on Problem 1305
In Reply To:请问这句怎么理解,卡在这里了,"You are also to compute the number of values 0 < p <= N such that p is not part of any triple (not just relatively prime triples)." 谢谢 Posted by:youngtrips at 2007-08-26 12:02:02
让你辛苦等了两年半,我来解答你的问题吧。
对于方程x^2 + y^2 = z^2有解(triples)为(x,y,z),
p = |{k|k!=x && k!=y && k!=z for any(x,y,z) that fits x^2 + y^2 = z^2, k <= N, k为正整数}|

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator