Problem 643
Posted: Sat Nov 17, 2018 7:22 pm
What does g(100)=1031 mean in this problem?
Update: It seems that setting p<q gives the correct result.
Update: It seems that setting p<q gives the correct result.
A website dedicated to the puzzling world of mathematics and programming
https://projecteuler.chat/
The definition is wrong; the example values are correct. (Based on the expected answer.)
Thanks, Vamsi. This is fixed now.vamsikal3 wrote: Sun Nov 18, 2018 9:35 am The correct text is: For example, 24 and 40 are 2-friendly because ....
This part of the second sentence seems grammatically incorrect to me (a non-native English speaker). I would write... because $\gcd(24,36) = 12 = 2^2\cdot 3$ not a power of $2$.
... because $\gcd(24,36) = 12 = 2^2\cdot 3$ is not a power of $2$.
Thank you for pointing this out. I have corrected it, inserting the word "is" as you suggested.Derfellios wrote: Sat Oct 04, 2025 2:43 pmThis part of the second sentence seems grammatically incorrect to me (a non-native English speaker). I would write... because $\gcd(24,36) = 12 = 2^2\cdot 3$ not a power of $2$.... because $\gcd(24,36) = 12 = 2^2\cdot 3$ is not a power of $2$.