21 = 6+5+4+3+2+1. Help : )
Posted by Phil Ridley on January 31, 2001 9:44 PM
Hi,
I require a formula or a function that can take an input like "21" and tell me what the highest number is in the set of sequential numbers starting at one that adds up to it (eg 10 = 4+3+2+1).
Thanks in advance