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
How would I set up this equation?
wlad13 [49]

Answer:I think it's 88 idk

Step-by-step explanation:

6 0
3 years ago
Can someone help me solve this
egoroff_w [7]

Answer:

to blurry

Step-by-step explanation:

i cant tell, sorry.

7 0
3 years ago
Shelby uses 8 cm of tape for every present she wraps. How much tape will Shelby need in all if she has to wrap 4 presents
dalvyx [7]

Answer:

32cm of tape

Step-by-step explanation:

8cm*4= 32cm

7 0
4 years ago
Please help I'm so bad at fractions
Artyom0805 [142]

Answer:

j=38

Step-by-step explanation:

j/-2+7=-12

j/-2+7-7=-12-7

j/-2=-19

-2 times j/-2=(-19)

7 0
3 years ago
Read 2 more answers
What is 5 divided by 3
Ray Of Light [21]
That would be either 1.66 repeat or 1.67 it doesn’t really matter unless teachers want a specific
6 0
3 years ago
Read 2 more answers
Other questions:
  • For what value of x would the quotient (2x^2+3x-4÷(×+4) not make sense​
    7·1 answer
  • A grocery store sells 6 bottles of water for $4 and 18 bottles of water for $10 is the cost of the water proportional to the num
    12·1 answer
  • A study of voting chose 663 registered voters at random shortly after an election. Of these, 72% said they had voted in the elec
    14·1 answer
  • From least to greatest???
    15·1 answer
  • Which of the following pairs of equations are perpendicular
    14·1 answer
  • What single decimal multiplier would you use to decrease by 14% followed by a 9% decrease?
    7·1 answer
  • A baseball pitcher won 65% of the games he pitched in his career If he pitched 120 games, how many games did he win?​
    6·2 answers
  • Please help 327-8246=?????nah this is just a place for memes post memes after your answer!
    7·2 answers
  • Evaluate P(3, 3)<br><br> A. 1<br> B. 9<br> C. 6
    14·1 answer
  • 55 mi / h = ____ ft / s
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!