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

  • Context: MHB 
  • Thread starter Thread starter Wilmer
  • Start date Start date
  • Tags Tags
    Fun
Click For Summary
SUMMARY

The discussion centers around a mathematical property of three-digit numbers, specifically the equation 144 / (1 + 4 + 4) = 1*4*4, which leads to the discovery of two unique numbers: 144 and 135. Participants utilized Python code to identify these numbers, confirming that they are the only solutions within the specified range. The code iterates through combinations of digits from 1 to 8, validating the equation for three-digit numbers.

PREREQUISITES
  • Basic understanding of Python programming
  • Familiarity with mathematical equations and properties
  • Knowledge of number theory concepts
  • Experience with iterative algorithms
NEXT STEPS
  • Explore advanced Python techniques for number generation
  • Research mathematical properties of three-digit numbers
  • Learn about optimization in Python for large-scale number searches
  • Investigate other mathematical puzzles involving digit manipulation
USEFUL FOR

Mathematicians, educators, Python programmers, and enthusiasts interested in number theory and algorithmic problem-solving.

Wilmer
Messages
303
Reaction score
0
144 / (1 + 4 + 4) = 1*4*4

There is another 3digit number that works similarly: whatzit?
 
Mathematics 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 :)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 59 ·
2
Replies
59
Views
76K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 48 ·
2
Replies
48
Views
4K
  • · Replies 6 ·
Replies
6
Views
678
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K