# Number fun...

#### Wilmer

##### In Memoriam
144 / (1 + 4 + 4) = 1*4*4

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

#### Ackbach

##### Indicium Physicus
Staff member
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
Yepper!
Your code is exactly like mine; I use UBasic.

Tried with 2digit and 4digit numbers: none.

#### Klaas van Aarsen

##### MHB Seeker
Staff member
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
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.

#### Wilmer

##### In Memoriam
Go stand in the corner for 13.5 minutes