I like math questions so I looked at the problem for "Products of Sum". It was really interesting and evoked my thinking. In order to find the solutions, I followed the instructions of of "G. Polya, How to Solve It"
The first thing I need to do is to understand the questions and know what I am supposed to do to solve it.
For "Product of Sum", I need to find the maximum product in a list of positive integers that sum to n if n is a
positive integer. If n is 2, there are two lists: (1, 1) and (2) product of (1,1) is 1 and product of (2) is just 2 so the maximum product is 2. Therefore, I need to test many times and find the pattern.
For "Product of Sum", I need to find the maximum product in a list of positive integers that sum to n if n is a
positive integer. If n is 2, there are two lists: (1, 1) and (2) product of (1,1) is 1 and product of (2) is just 2 so the maximum product is 2. Therefore, I need to test many times and find the pattern.
2 DEVISING A PLAN
In order to find the pattern, I test numbers from 1 to 15:
5 : (1,1,1,1,1), (1,1,1,2), (1,1,3),(1,2,2),(2,3) max product is 6
6 : (1,1,1,1,1,1), (1,1,1,1,2), (1,1,1,3),(1,1,4),(2,1,3),(2,2,2),(3,3) max product is 9
7 : .... (3,2,2) max product
8 : .... (3,3,2) max product is 18
9 : .... (3,3,3) max product is 27
10: .... (3,3,2,2) max product is 36
11: .... (3,3,2,3) max product is 54
12: .... (3,3,3,3) max product is 81
13: .... (3,3,3,2,2) max product is 108
14: .... (3,3,3,3,2) max product is 162
15: .... (3,3,3,3,3) max product is 243
By carefully looking at the pattern, I find:
when the numbers are less than 4, the maximum product is just the number itself
when the numbers are greater than 4, the maximum product is achieved by using factors numbers 2, 3, or,4. Then, I tested number 10:
If I divide 10 by 2, it is 2*5, I can write the list :(2 2 2 2 2) or (5 5) and their products are 32 and 25 respectively.
if I divide 10 by 3, it is 3*3+1, so I can write its factor numbers: 3, 3, 2,2. The product of them is definitely greater than 32 and 25.
If I divide 10 by 4, it is 2*4+2, so the list is (4 4 2) and the product is 32.
I also test other numbers and I find the maximum product is by dividing the number by 3 and the remainder is less than 3.
1 : just 1 max product is 1
2 : (1,1), or (2) max product is 2
3 : (1,1,1) or (1,2) or (3) max product is 3
4 : (1,1,1,1),(1,1,2),(1,3), (4) max product is 4
6 : (1,1,1,1,1,1), (1,1,1,1,2), (1,1,1,3),(1,1,4),(2,1,3),(2,2,2),(3,3) max product is 9
7 : .... (3,2,2) max product
8 : .... (3,3,2) max product is 18
9 : .... (3,3,3) max product is 27
10: .... (3,3,2,2) max product is 36
11: .... (3,3,2,3) max product is 54
12: .... (3,3,3,3) max product is 81
13: .... (3,3,3,2,2) max product is 108
14: .... (3,3,3,3,2) max product is 162
15: .... (3,3,3,3,3) max product is 243
By carefully looking at the pattern, I find:
when the numbers are less than 4, the maximum product is just the number itself
when the numbers are greater than 4, the maximum product is achieved by using factors numbers 2, 3, or,4. Then, I tested number 10:
If I divide 10 by 2, it is 2*5, I can write the list :(2 2 2 2 2) or (5 5) and their products are 32 and 25 respectively.
if I divide 10 by 3, it is 3*3+1, so I can write its factor numbers: 3, 3, 2,2. The product of them is definitely greater than 32 and 25.
If I divide 10 by 4, it is 2*4+2, so the list is (4 4 2) and the product is 32.
I also test other numbers and I find the maximum product is by dividing the number by 3 and the remainder is less than 3.
3 CARRYING OUT THE PLAN
when n=1, 2, 3,and 4, the maximum of product is itself.
When n is greater than 4.
Suppose n/3=m+remainder
If there is no remainder, I can write a list of 3s and there are m*3s. Then the maximum product is 3^m.
If the remainder is 1, I can write a list of (m-1)*3s and (3+1), Then the maximum product is 3^(m-1)*4
If the remainder is 2, the maximum product is 3^m*2
4 LOOK BACK
I check my results by predicting number 16. 16/3=3*5+1
so the remainder is 1,the maximum product is 3^4*4=324
Then, I test the number 16 and I find it is true.
Through this experience, I think I can work very efficiently when I follow these instructions. I will use these steps when solving other math problems.
when n=1, 2, 3,and 4, the maximum of product is itself.
When n is greater than 4.
Suppose n/3=m+remainder
If there is no remainder, I can write a list of 3s and there are m*3s. Then the maximum product is 3^m.
If the remainder is 1, I can write a list of (m-1)*3s and (3+1), Then the maximum product is 3^(m-1)*4
If the remainder is 2, the maximum product is 3^m*2
4 LOOK BACK
I check my results by predicting number 16. 16/3=3*5+1
so the remainder is 1,the maximum product is 3^4*4=324
Then, I test the number 16 and I find it is true.
Through this experience, I think I can work very efficiently when I follow these instructions. I will use these steps when solving other math problems.