in reply to Math fun.
1 plus N quantity times N divided by 2.
so
sum 1..100001 == 5000150001 #and (100001+1)*(100001/2) == 5000150001 [download]
- Ant - Some of my best work - (1 2 3)