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 :)
 
"In 2013, after a series of hospitalizations due to magnets, New Zealand government officials permanently banned the sale of those made from neodymium-iron-boron (NIB)." https://www.sciencealert.com/new-zealand-teen-loses-part-of-his-bowel-after-swallowing-nearly-200-magnets "A 13-year-old boy in New Zealand has had part of his bowel surgically removed after he ingested nearly 200 high-powered magnets. (2025)" OK, this teen was a fool, but it is not always a teen, it is not always...
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...
Back
Top