Quote (JDota72 @ Jan 12 2015 03:14pm)
isnt this just the Fibonnaci sequence
not entirely
consider 100
we want every set of consecutive whole numbers that add to 100
it has 1 | 2 | 4 | 5 | 10 | 20 | 25 | 50 | 100 (9 divisors) of which its prime factorization is 2^2 5^2
looking at the divisor 5 we have one set of consecutive whole numbers that add to 100 in which the average is 20 or 18+19+20+21+22
fibonnaci only added the previous two numbers to get the next --unless there is some generalized formula I am not aware of-- im looking for some kind of formula that I can just put some number in and it will tell me how many different sets of consecutive integers I can have to equal that number
if there isn't im stuck with prime factorization and odd factors