Isnochys Math Problem #5.1
Congratulations, and
!
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
(ij)=2
%k=0
i=12
break
k=3
j=1,2 (ij% 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
Leave Isnochys Math Problem #5.1 to:
Read more #imp posts
Best Posts From Isnochys
We have not curated any of isnochys's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Isnochys
- Crowded Calendar
- Adventskalender 2023 1-9
- Adventskalender 2023 1+2
- Wow - Nothing to see here
- Trenchrun
- Isnochys Quiz Alert: Harry Potter #14 [HSBI][SPOILER] Who is not Harry Potters roommate?
- IBooRP: Jim Knopf und Lukas der Lokomotivführer #17 [DEU/ENG][SPOILER]
- Web3 Going Great 2022-05-04
- Isnochys Quiz Alert:Jim Knopf #15 [HSBI] What natural spectacle do they discover in the desert?
- Isnochys Math Problem #5.1
- Isnochys Quiz Alert:Star Trek #12 [HSBI] What Captain did Picard never talk with?
- Isnochys Quiz Alert: Harry Potter #13 [HSBI][SPOILER] What House is Harry offered to join?
- Hive-Engine Witness active!
- IBooRP: Jim Knopf und Lukas der Lokomotivführer #16 [DEU/ENG][SPOILER]
- Isnochys Quiz Alert:Jim Knopf #14 [HSBI] What animals wait for Jim and Lukas in the desert?
- Isnochys Math Problem #5 [HBSI]
- Isnochys Quiz Alert:Star Trek #12 [HSBI] What law prohibits interaction with preWarp cultures?
- Tag des Bieres 🍻 und Buches 📚 Day of Beer 🍻 and Books 📚
- Isnochys Quiz Alert: Harry Potter #12 [HSBI][SPOILER] Students are choosen into different Houses by the Sorting ...?
- IBooRP: Jim Knopf und Lukas der Lokomotivführer #15 [DEU/ENG][SPOILER]