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
Answer quick please!
Mashcka [7]

B because B is the answer

7 0
2 years ago
Please helpppp !!!!!!!!!!!! Will<br> Mark Brianliest !!!!!!!!!!!!!!!!!!!!
Alexxx [7]

Answer:

71

Step-by-step explanation:

7 0
3 years ago
Someone help me plzzz. Quickkkkkk
Nuetrik [128]

Answer:

They can make 5 posters.

8 0
3 years ago
John bought new headphones originally listed for $ 80.99 . They are \(35\%)| off. Which equation can be used to find the amount
Katarina [22]

Answer:

$28.35

Step-by-step explanation:

The headphones are $80.99 and are 35% off. To find the amount he will save, change the 35% to a decimal by moving it two times to the left, which is 0.35. Multiply 80.99 and 0.35 to get 28.3465. Round to get $28.35.

7 0
2 years ago
vlad a economiit o suma de bani.A cheltuit 20 lei pentru felicitari apoi tatal i-a dublat suma. A cheltuit 40 lei pe martioare a
timurjin [86]

He had saved 320 initially

Step-by-step explanation:

Let the amount he saved be 'a'

Amount spent = 20 + 40 + 30

= 90

His grand father gave 50

At the end he has 280

280 = a - 90 +50

a = 280 -50 +90

= 320

He had saved 320 initially

7 0
4 years ago
Other questions:
  • Williams lunch at Buffalo wild wings cost $13 without tax he leaves the waitress a tip of 17% of the cost of the launch without
    15·1 answer
  • -44 + 27 =help..................................
    6·2 answers
  • What is the common denominator of 1/8 and 9/5​
    11·1 answer
  • The price of a television increased from $325 to $390. By what percentage was the price of the television increased?
    11·1 answer
  • PLEASE HELP ASAP <br> Which angle is important using the SAS postulate?
    14·1 answer
  • Just select yes and no for all three pls help
    12·2 answers
  • Pls help it’s 30 points :)
    11·1 answer
  • Help me with this please
    12·1 answer
  • Will give BRAINLIEST
    6·2 answers
  • The equation of the cables for a suspension bridge is modeled by the equation
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!