回复 4#abababa
这个结论是正确的。
任意整数表为相继整数之和的方法数同它的奇因子个数一样多。(这种计数是将自身也算上的)
参见《History of the Theory of Numbers, Volume II Diophantine Analysis》第139页。
在Oeis上,有奇因子个数序列 A001227
Number of odd divisors of n.
Also number of partitions of n into consecutive positive integers
including the trivial partition of length 1
(e.g., 9 = 2+3+4 or 4+5 or 9 so a(9)=3).
(Useful for cribbage players.)