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

我的推导过程

Posted by stephtan at 2008-09-04 21:39:16 on Problem 1183
1/a = (1/b + 1/c)/ (1 - 1/(b*c))
=> bc-1 = a(b+c)
assume b=a+m and c=a+n (b and c is always bigger than a)
(a+m)(a+n)-1=a(a+m+a+n)
=> a*a+a*n+a*m+m*n-1=2*a*a+m*a+n*a
=> m*n=a*a+1
and then
for(m=a;m>=1;m--)
   if((a*a+1)%m==0)
      break;
n=(a*a+1)/m

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