Wilmer
- 303
- 0
144 / (1 + 4 + 4) = 1*4*4
There is another 3digit number that works similarly: whatzit?
There is another 3digit number that works similarly: whatzit?
The discussion revolves around a mathematical curiosity involving three-digit numbers that satisfy the equation 144 / (1 + 4 + 4) = 1*4*4. Participants explore whether other three-digit numbers exhibit similar properties and share code snippets to identify such numbers.
Participants generally agree on the findings of the Python code, identifying 144 and 135 as the only three-digit numbers that satisfy the equation. However, there is no consensus on the existence of other qualifying numbers beyond these two.
The discussion is limited to three-digit numbers, and attempts to extend the search to two-digit and four-digit numbers have not yielded results. There is also a potential for confusion due to the repetition of code snippets.
Readers interested in number theory, programming, or mathematical curiosities may find this discussion relevant.
[FONT=Courier New]
for i in range(1,9):
for j in range(1,9):
for k in range(1,9):
if 100*i + 10*j + k == i*j*k*(i + j + k):
print(i,j,k)
Ackbach said:Simple python code found it:
[sp]
It found 144 and 135. Those are the only ones!Code:[FONT=Courier New] for i in range(1,9): for j in range(1,9): for k in range(1,9): if 100*i + 10*j + k == i*j*k*(i + j + k): print(i,j,k)
[/sp]
I like Serena said:Erm... range(1,9) = (1,...,8) in python.
It's a good thing there are no numbers with a 9 in it!