165k views
3 votes
Determine the number of ways a computer can randomly generate one or more such integers from 1 through 30. Two distinct integers whose sum is 27.

User Kyle Dodge
by
4.6k points

1 Answer

3 votes

Answer:

There are 26 possible way to determine two distinct integers whose sum is 27.

Explanation:

To find : The number of ways a computer can randomly generate one or more such integers from 1 through 30. Two distinct integers whose sum is 27.

Solution :

We have given the numbers from 1,2,3,4......,29,30.

In order to get two distinct numbers having the sum 27,

There are the possibilities :

1+26=27

2+25=27

3+24=27

......

24+3=27

25+2=27

26+1=27

The maximum number taken is 26.

So, There are 26 possible way to determine two distinct integers whose sum is 27.

User Gempir
by
4.9k points