English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

the positive integer 4 can be represented as a sum of 1s or 2s in five ways,such as 1+2+1 and 1+1+2.in how many ways can the positive integer 5 be represented as a sum of 1s or 2s?

2006-09-02 02:14:03 · 13 answers · asked by Ninik 3 in Science & Mathematics Mathematics

13 answers

1+1+1+2
1+2+1+1
2+1+1+1
1+1+2+1
1+2+2
2+1+2
2+2+1

Ans, 7 ways
:-)

2006-09-02 02:25:55 · answer #1 · answered by Anonymous · 0 0

8 ways:
1+1+1+1+1
1+1+1+2
1+1+2+1
1+2+1+1
2+1+1+1
1+2+2
2+1+2
2+2+1

2006-09-02 03:32:42 · answer #2 · answered by bob h 3 · 0 0

2+2+1
2+1+2
1+2+2
2+1+1+1
1+2+1+1
1+1+2+1
1+1+1+2

2006-09-02 02:38:41 · answer #3 · answered by sandy p 2 · 0 0

There are only two sets that can produce arrangements resulting in a sum of five. The sets are: {1, 1, 1, 2} and {1, 2, 2} given that you can only use 1 and 2.

Suppose that order is important, then we have 24 possible arrangements for {1, 1, 1, 2} and 6 possible arrangements for {1, 2, 2}. In other words 30 (24+6) ways. However, if order is not important, then we have 24/3! for the set {1, 1, 1, 2} and 6/2! for the set {1, 2, 2}.
In other words a total of 4+3 or 7 ways.

You can devise a general solving procedure for this sort of problem as follows:

1. You write down the possible sets.
2. For each set, you calculate n!/s! where n is the number of elements in each set and s is the number of elements that are the same. Call this value t.
3. Add all the t values for each set and this will represent the total number of ways.

2006-09-02 02:40:53 · answer #4 · answered by Anonymous · 0 0

For 4, in 5 ways:
1:2+2
2:1+1+2
3:1+2+1
4:2+1+1
5:1+1+1+1


For 5 in 8 ways:
1:1+2+2
2:2+1+2
3:2+2+1
4:1+1+1+2
5:1+1+2+1
6:1+2+1+1
7:2+1+1+1
8:1+1+1+1+1

2006-09-02 02:55:12 · answer #5 · answered by artist 2 · 0 0

8 ways
1+1+1+1+1
1+1+1+2
1+1+2+1
1+2+1+1
2+1+1+1
2+2+1
2+1+2
1+2+2

:)

2006-09-02 03:30:26 · answer #6 · answered by disgruntledpostal 3 · 0 0

1 + 1 + 1 + 1
1 + 1 + 2
2 + 1 + 1
1 + 2 + 1
2 + 2

5 ways

-------------------------------------------------

1 + 1 + 1 + 1 + 1
1 + 1 + 1 + 2
1 + 1 + 2 + 1
1 + 2 + 1 + 1
2 + 1 + 1 + 1
2 + 2 + 1
2 + 1 + 2
1 + 2 + 2

8 Ways

2006-09-02 06:44:18 · answer #7 · answered by Sherman81 6 · 0 0

1+1+1+1+1 (1 way)
1+1+1+2 (4 ways)
1+2+2 (3 ways)

8 ways

2006-09-02 05:35:48 · answer #8 · answered by Kyrix 6 · 0 0

1+1+1+1+1
1+1+1+2
1+1+2+1
1+2+1+1
2+1+1+1
2+2+1
2+1+2
1+2+2

i've got 8 so far

2006-09-02 02:42:53 · answer #9 · answered by Lacy B 2 · 1 0

1+1+1+2
1+1+2+1
1+2+1+1
2+1+1+1
1+2+2
2+1+2
2+2+1

Ans, 7 ways.

2006-09-02 02:22:47 · answer #10 · answered by nayanmange 4 · 1 0

fedest.com, questions and answers