Had to think about that one a bit more...Code:Dim sum As Long, n As Integer sum = (2 * n + 1) * (n + 1) * n / 6
John
|
Results 1 to 12 of 12
Threaded View
|
Click Here to Expand Forum to Full Width |