This might help you to clarify the issue... http://en.wikipedia.org/wiki/Triangular_number thank you guy every thing is there here