You are viewing a single comment's thread from:

RE: Brainsteem Compute #1 Prize Computational Maths Puzzle [Win 40% and 10% in SBD]

in #mathematics8 years ago

same answer here with one small difference in the calculation:
To find for example the multiples of 5 below 2000, we notice the first is 5 and the last is 1995 and there are 399 such numbers. The first + the last = 5 + 1995 = 2000, so is the second + the second last = 10 + 1990 = 2000. This can be repeated 199 times and then we are left with 1000. So the sum is 199 x 2000 + 1000 = 399000.
The same can be done for 7 and 35, and the answer is 626430 as @doughtaker wrote.

Coin Marketplace

STEEM 0.09
TRX 0.30
JST 0.037
BTC 106006.61
ETH 3568.89
USDT 1.00
SBD 0.55