Thread:King Dragonhoff/@comment-7964552-20160507015949/@comment-24531999-20160507135529

I was just going to use b*(n*(n+1)/2). That way, there is no need for any loops or arrays.