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:公式的推导

Posted by skogt at 2010-07-28 09:11:56 on Problem 2140
In Reply To:公式的推导 Posted by:Ly86 at 2010-04-25 19:03:36
> 假设a,a+1,a+2...a+k ,为一组符合的答案
> 有
> (k+1)a+0.5*k*(k+1)=n成立
> 划成
> (a + 0.5*k)(k+1)=n
> 观察等式发现必须满足
> 1. 0.5*k为整数. 所以k是偶数
> 2. (k+1) 为n的因数,并且 (k+1) 为奇数
> 所以综上
> n有多少个奇因数,就是本题的答案

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