High School Four Digit Numbers from 2x2 Digits - Simple Math Puzzle

  • Thread starter Thread starter bob012345
  • Start date Start date
  • Tags Tags
    Puzzle
Click For Summary
The discussion centers on how many four-digit numbers can be expressed as the product of two two-digit numbers. Participants initially debate the validity of the claim that there are no such products, with one contributor calculating that there are 3,339 valid four-digit products out of 9,000 possibilities. The conversation also touches on the need to consider permutations and duplicates when counting products, leading to confusion about the correct methodology. Additionally, a simpler case involving two-digit numbers produced by one-digit factors is mentioned, revealing that 32 out of 90 two-digit numbers fit this criterion. The thread highlights the importance of clarity in problem formulation and the challenges of accurately counting unique products.
bob012345
Gold Member
Messages
2,299
Reaction score
1,021
TL;DR
How many four digit numbers are the product of two two digit numbers?
Of all the possible four digit numbers how many are the produce of two two digit numbers? Can the process be easily generalized to other combinations? Thanks.
 
  • Like
Likes Janosh89
Mathematics news on Phys.org
bob012345 said:
Summary:: How many four digit numbers are the product of two two digit numbers?
None. Think about it. (No, don't think about it. In fact, I was never here :smile:)
 
Last edited:
  • Haha
  • Like
Likes nuuskur, FactChecker and bob012345
phinds said:
None. Think about it.
50*50=2500?

@bob012345: I don't know if this is homework or not, but either way you should at least make some effort to find an answer. It's really not difficult. In what range can the first factor be? For a given first factor, what range can the second factor have? Do you count different ways to get products as different results or not? E.g. 20*80 vs. 40*40.
 
  • Like
Likes FactChecker and etotheipi
mfb said:
50*50=2500?
egg_small.jpg

Looks like I slipped a digit somewhere

(Actually, I know where but I'm embarrassed to say)
 
  • Like
Likes bob012345
mfb said:
50*50=2500?

@bob012345: I don't know if this is homework or not, but either way you should at least make some effort to find an answer. It's really not difficult. In what range can the first factor be? For a given first factor, what range can the second factor have? Do you count different ways to get products as different results or not? E.g. 20*80 vs. 40*40.

Thanks. That counts as one case as do permutations. I don't care how many ways get to 1600 for example as long as 1600 is only counted once. I made this up for fun and it's not homework. I have an answer but if I gave the answer upfront it wouldn't be a puzzle! Also, I want to see if anyone has a better than brute force method.

Also, for the simpler case of how many two digit numbers are the product of two one digit numbers, the answer is 32 out of a total 90 possible two digit numbers.
 
phinds said:
View attachment 266430
Looks like I slipped a digit somewhere

(Actually, I know where but I'm embarrassed to say)
No problem. :smile:
 
The answer I get is that there are 3339 numbers that are a product of two double digit numbers out of possible 9000 four digit numbers (1000 to 9999 inclusive). But there could be a counting error. I think it will scale by 100 for each higher level (xxx*xxx=xxxxxx, xxxx*xxxx=xxxxxxxx ect.) but also grow slightly because the 'grid' is finer as the ratio of allowable numbers/total possibilities converges to an asymptotic limit i.e. 32/90=0.3556, 3339/9000=0.371, ...).
 
Last edited:
bob012345 said:
Also, for the simpler case of how many two digit numbers are the product of two one digit numbers, the answer is 32 out of a total 90 possible two digit numbers.
I don't think it is: are you counting the squares twice?
 
  • Like
Likes etotheipi
pbuk said:
I don't think it is: are you counting the squares twice?
That would be 58. You can easily do it graphically and see you get 32.
 
  • #10
58 - 32 = 26. There aren't 26 2 digit squares so I clearly don't understand the problem. What are your 32?
 
  • #11
pbuk said:
58 - 32 = 26. There aren't 26 2 digit squares so I clearly don't understand the problem. What are your 32?
The bold is the diagonal elements. Originally, I was thinking no permutations which I mean upper and lower elements around the diagonal but I did forget that several elements also have duplicate values so my number was too high. It should be 27. I think the problem is better framed and my answer for the original case would be correct if I allowed multiple instances of the same value as long as it wasn't from a permutation of the same two numbers. Sorry about that!
91827364554637281
81624324048566472
71421283542495663
61218243036424854
51015202530354045
412162024283236
3121518212427
21012141618
1
123456789
 
Last edited:
  • #12
1594941288143.png
 
  • Like
Likes bob012345
  • #13
You have 3 x 6 = 18 and 2 x 9 = 18.
 
  • #14
 
  • Like
Likes Janosh89, etotheipi and bob012345
  • #15
pbuk said:

Thanks! I forgot about identical values from non-permutations. Sorry. :eek:

But, I could not do the original case by hand if I didn't allow duplicates!
 
Last edited:
  • #16
pbuk said:
You have 3 x 6 = 18 and 2 x 9 = 18.
Yeah. OOPS. I misinterpreted the question
 
  • #17
bob012345 said:
But, I could not do the original case by hand if I didn't allow duplicates!
When posing puzzles you either need to cross-check your solutions using a different method or show them to a friend or small group first to check.
 
  • #18
bob012345 said:
But, I could not do the original case by hand if I didn't allow duplicates!
I don't wish to be rude, but that's ridiculous. If you had done it by hand, the duplicated should have been obvious and you should have eliminated them from the total.

When I did it, I just looked to see if the boxes contained a 2-digit # and didn't even think about WHAT the number was, or duplicates, which was wrong.
 
  • #19
phinds said:
I don't wish to be rude, but that's ridiculous. If you had done it by hand, the duplicated should have been obvious and you should have eliminated them from the total.

When I did it, I just looked to see if the boxes contained a 2-digit # and didn't even think about WHAT the number was, or duplicates, which was wrong.

The original problem came first and had thousands of cases. I did not think about duplicates because I only thought about getting 4 digits but I did think about permutations. Later, when I was asked about duplicates, I should've just said they are ok. At that point I didn't consider the need to evaluate each value. So, if I had thought of that I would not have done the problem by hand (without writing script). I added the simpler case later and only then did I think about the problem of duplicates.

Sorry again about the confusion.
 
  • #20
pbuk said:
When posing puzzles you either need to cross-check your solutions using a different method or show them to a friend or small group first to check.
Sorry, I should have just posed it as a problem and not a puzzle which assumes it was completely understood!
 
  • #21
bob012345 said:
The original problem came first and had thousands of cases. I did not think about duplicates ...
A reasonable point. I was only thinking of the smaller case.
 
  • Like
Likes DifferentialGalois and bob012345

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
9K
  • · Replies 3 ·
Replies
3
Views
824
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K