Last week I asked for the multiples of 5 and 7 until 1000.
Congratiulations, , you got it right.
Sorry, , you almost got it:)
156361
Is the correct answer.
How did I solve it?
I used Python:
result = 0
for i in range(1,1000):
if i % 7 == 0 or i % 5 == 0:
result = result + i
print(result)
And now for our next question:
This is the Fibonacci sequence, starting with 1 and 2, and the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
Take all odd numbers in the Fibonacci sequence whose values do not exceed ten million, and find their sum.
In our example, below 100, it would be:
1+3+5+13+21+55+89 = 187
How to send me the answer?
By encrypted memo.
If you do not have 0.001 HIVE to spare, just write it in the comment, I will give that change to you.
Also, write a comment, if you did send me an answer, otherwise I cannot give BEER to you!
:)))