Whats the logic behind the series : 0,1,7,28,84,210,426,924 and so on..
As I figured it, it is basically sum of consecutive terms of (5+r)Cr where r range from 0 to whatever term I need to find(my requirement is 999998). I need to calculate this series till 10^6 which will certainly overflow by this method. Any other logic or technique?