MHB Whatzit? Number Fun - 144 / (1 + 4 + 4) = 1*4*4

  • Thread starter Thread starter Wilmer
  • Start date Start date
  • Tags Tags
    Fun
AI Thread Summary
The discussion centers around a mathematical relationship where a three-digit number can be expressed as the product of its digits multiplied by their sum. The example given is 144, which satisfies the equation 144 / (1 + 4 + 4) = 1 * 4 * 4. A Python code snippet is shared to identify such numbers, revealing that 144 and 135 are the only three-digit numbers that meet this criterion. Attempts to find similar relationships in two-digit and four-digit numbers yielded no results. The conversation highlights the effectiveness of the code in identifying these specific numbers, emphasizing the uniqueness of the findings.
Wilmer
Messages
303
Reaction score
0
144 / (1 + 4 + 4) = 1*4*4

There is another 3digit number that works similarly: whatzit?
 
Physics news on Phys.org
Simple python code found it:
[sp]
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)
It found 144 and 135. Those are the only ones!
[/sp]
 
Yepper!
Your code is exactly like mine; I use UBasic.

Tried with 2digit and 4digit numbers: none.
 
Ackbach said:
Simple python code found it:
[sp]
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)
It found 144 and 135. Those are the only ones!
[/sp]

Erm... range(1,9) = (1,...,8) in python.
It's a good thing there are no numbers with a 9 in it!
 
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!

Oops! How embarrassing.
 
Go stand in the corner for 13.5 minutes :)
 
Thread 'RIP Chen Ning Yang (1922-2025)'
https://en.wikipedia.org/wiki/Yang_Chen-Ning ( photo from http://insti.physics.sunysb.edu/~yang/ ) https://www.nytimes.com/2025/10/18/science/chen-ning-yang-dead.html https://www.bbc.com/news/articles/cdxrzzk02plo https://www.cpr.cuhk.edu.hk/en/press/mourning-professor-yang-chen-ning/ https://www.stonybrook.edu/commcms/physics/about/awards_and_prizes/_nobel_and_breakthrough_prizes/_profiles/yangc https://www.stonybrook.edu/commcms/physics/people/_profiles/yangc...
Thread 'In the early days of electricity, they didn't have wall plugs'
Hello scientists, engineers, etc. I have not had any questions for you recently, so have not participated here. I was scanning some material and ran across these 2 ads. I had posted them at another forum, and I thought you may be interested in them as well. History is fascinating stuff! Some houses may have had plugs, but many homes just screwed the appliance into the light socket overhead. Does anyone know when electric wall plugs were in widespread use? 1906 ad DDTJRAC Even big...
Back
Top