1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
insens350 [35]
3 years ago
14

The First National Bank of Zyzzlvaria requires each customer to choose a code comprising four distinct digits from 1 to 5, inclu

sive, where the positive difference between any two consecutive digits must be at least 2. How many such codes are possible?
Mathematics
1 answer:
jeka943 years ago
6 0

Answer:

Our answer is 20 codes

Step-by-step explanation:

We can not apply normal permutation or combination to solve this question. Thus we list all the possible cases and count them.

Things to note while making a code:

Rule 1. The four digit code must have distinct digits out of the set {1,2,3,4,5}.

Rule 2. Positive difference between any two consecutive digits must be atleast 2.

Now, we enlist all the codes possible starting with 1:

Because of Rule 1 and 2, the possible starting two digits of code are : 13, 14 and 15.

13 : The third digit can only be 5, Hence 135X. Now, the fourth digit can only be 2. Thus, 1352 (1 code)

14 : The third digit can only be 2. Hence 142X. Now, the fourth digit can only be 5. Hence, 1425 (1 code)

15 : Third digit can be either 2 or 3. When the initial three digits are 152, there are no possible choices for fourth digit. When the initial three digits are 153, the only possible fourth digit is 4. Hence, 1524 (1 code)

Thus there are 3 codes starting with 1.

Proceeding in similar manner for 2,3,4 and 5 as initial digits, we get the following codes:

Initial digit 2 : 2413, 2415, 2531, 2513, 2514 (5 codes)

Initial digit 3 : 3142, 3152, 3524, 3514 (4 codes)

Initial digit 4 : 4253, 4251, 4135, 4153, 4152 (5 codes)

Initial digit 5 : 5142, 5241, 5314 (3 codes)

Thus no. of possible codes : 3+5+4+5+3 = 20 codes

You might be interested in
Find five numbers that have a mean of 10 and a median of 12.
Zigmanuir [339]

Answer:

There are infinitely many solutions. Start with five data, in size order: a < b < c < d < e. Then c=11, the median. To get the mode of 12, we must have d=e=12. Thus far, we have (a+b+11+24)/5 = 10 the mean. But now we have run out of requirements, and we still have two unknowns. They satisfy a+b+35 = 50. Thus, pick any two values a not equal to b that add to 15 and are both less than 11.

The full set of solutions are points (a,b) run along a line joining the points (4,11) and (11,4) on graph paper, except (7.5, 7.5) and the endpoints. That would make competing modes. Try a=5.6 and b = 9.4 for instance!

4 0
3 years ago
Read 2 more answers
What is the inverse of y=1/4X-4
madam [21]
Answer is -1/4x+4=-y
7 0
4 years ago
What is 5.027 + 4.68r if r= 0.034m
sattari [20]
5.027+4.68r\\\\r=0.034m\\\\5.027+4.68(0.034m)\\\\\\5.027+(.15912m)
6 0
4 years ago
For the basic function f(x)=x, what conclusions can you make about f(x) and f(x)-5? Select all that apply.
babunello [35]

Answer:The ansewers are c and d.

Step-by-step explanation:

The function f(x)=x is really y=x.

7 0
3 years ago
Which of the following is the range of function based on the input-output table below.
tamaranim1 [39]

Answer:

B)  {1000, 1100, 1200, 1300, 1400, 1500, 1600}


Step-by-step explanation:

Domain is the set of x values (input)

and

Range is the set of y values (output)

In this case, y = pay per month

so Range = {1000, 1100, 1200, 1300, 1400, 1500, 1600}

5 0
4 years ago
Other questions:
  • Mario was given some birthday money. He puts the money in an account. Every month after that, he deposits the same amount of mon
    9·2 answers
  • How do u turn 67÷100 into a fraction need help plz
    9·1 answer
  • Find the measure of ∠ 4. Round your answer to the nearest tenth. <br><br> degrees
    10·1 answer
  • 3/4 + (1/3 ÷ 1/6) - (-1/2)<br> Please give answer as a fraction
    13·2 answers
  • How many lives does a cat have, also there are 20cats in the room, how many cat lives are in the room
    8·1 answer
  • Answer fast helpp.........................
    8·1 answer
  • PLEASE HELP ASAP WILL MARK BRAINLIEST
    7·2 answers
  • What is the area of the composite figure
    7·1 answer
  • Helpppppppp asap 89points
    7·2 answers
  • Which of the following is the balance for a single $2.520 deposit in an account with an APR of 1.16% that compounds interest mon
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!