# Isnochys Math Problem #2 [HSBI]

in STEMGeeks5 months ago

Last week I asked for the multiples of 5 and 7 until 1000.
Congratiulations, @dkmathstats, you got it right.
Sorry, @lammbock, you almost got it:)

``````156361
``````

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!
:)))

Don't forget to witness vote for me!:)

Posted with STEMGeeks

Sort:

Congratulations @isnochys! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

 You got more than 11500 replies.Your next target is to reach 12000 replies.

If you no longer want to receive notifications, reply to this comment with the word `STOP`

###### Support the HiveBuzz project. Vote for our proposal!

Sorry, @lammbock, you almost got it:)

Ich bin froh, dass zumindest mein 2. Versuch richtig war und mein Ansatz nicht komplett falsch war :)

P.S. Ich lese immer "Isnochys Meth Problem"...

Willkommen zur virtuellen Selbsttherapiegruppe "Meth Problems and its impact on society":)

!BEER

5 months ago Reveal Comment