Isnochys Math Problem #5.1

Congratulations, @servelle and @enforcer48!
You send an answer, that was OK.
;)

3099044504245996706400

That is the calculated number I got.
How was this done?

i = 1
for k in (range(1, 51)):
    if i % k > 0:
        for j in range(1, 51):
            if (i*j) % k == 0:
                i *= j
                break
print(i)

We take k as a number going from 1 to 50.
I is a number, that we just need as check and printout later.
Now, k is slowly going up, one step each time the first for loop goes around.
The inner for loop is only reached, if k and that number i have a rest bigger 0 when you divide i by k.

Let's start with i=1.
k=1
i%k=0
k=2
i%k=1
j=1
(ij)=1
%k =1
j=2
(i
j)=2
%k=0
i=12
break
k=3
j=1,2 (i
j% k!=0)
i = 2*3
break
...
etc.

OOPH.
That one is a headscratcher, isn't it?
You need all prime numbers and mulitple of it, "other numbers" but not those, that could be already build out of the existing ones inside:))))

Don't worry, it will only get harder from now on!
:D

Don't forget to witness vote for me!:)
And comment to get some BEER

Posted with STEMGeeks

3.03503528 BEE
6 comments

Great explaination
!CTP

0.00438539 BEE

Great Post!

!1UP

0.00001692 BEE

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

You distributed more than 58000 upvotes.
Your next target is to reach 59000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Check out the last post from @hivebuzz:

Support the HiveBuzz project. Vote for our proposal!
0E-8 BEE

!BEER

0E-8 BEE

Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment !STOP below

0E-8 BEE

Hello @bluerobo
This is my own !BEER
Have fun with it!:)

0E-8 BEE

Hey @bluerobo, here is a little bit of BEER from @isnochys for you. Enjoy it!

Do you want to win SOME BEER together with your friends and draw the BEERKING.

0E-8 BEE

Hey @bluerobo, here is a little bit of BEER from @witnessbot for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

0E-8 BEE

Hey @isnochys, here is a little bit of BEER from @bluerobo for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

0E-8 BEE

WwW hot's house ? 🌀

0E-8 BEE