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
7.5k 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
6.8k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories