Welcome to our community

Be a part of something great, join today!

Number fun...

Wilmer

In Memoriam
Mar 19, 2012
376
144 / (1 + 4 + 4) = 1*4*4

There is another 3digit number that works similarly: whatzit?
 

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,197
Simple python code found it:

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)
[/FONT]
It found 144 and 135. Those are the only ones!
 

Wilmer

In Memoriam
Mar 19, 2012
376
Yepper!
Your code is exactly like mine; I use UBasic.

Tried with 2digit and 4digit numbers: none.
 

Klaas van Aarsen

MHB Seeker
Staff member
Mar 5, 2012
8,789
Simple python code found it:

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)
[/FONT]
It found 144 and 135. Those are the only ones!
Erm... range(1,9) = (1,...,8) in python.
It's a good thing there are no numbers with a 9 in it!
 

Ackbach

Indicium Physicus
Staff member
Jan 26, 2012
4,197

Wilmer

In Memoriam
Mar 19, 2012
376
Go stand in the corner for 13.5 minutes :)