Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
公式的推导假设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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator