Question

In: Advanced Math

A zip code is a string of five digits (0,1,2,3,4,5,6,7,8,9). How many zip codes are there...

A zip code is a string of five digits (0,1,2,3,4,5,6,7,8,9). How many zip codes are there subject to the following restrictions?
(1) Only even digits are allowed.
(2) The first digital is even and the last digit is odd
(3) Digits cannot be repeated
(4) 0 appears exactly four times
(5) 0 appears at at least once

Solve the following discrete mathematics problem above. Show all work/explanations

Solutions

Expert Solution


Related Solutions

6) How many different 5-digits zip codes can we have? A) 100,000 B) 90,000 C) 81,000...
6) How many different 5-digits zip codes can we have? A) 100,000 B) 90,000 C) 81,000 D) 80,000 7) How many different 5-digits zip codes can we have with no zero as the first digit? A) 100,000 B) 90,000 C) 81,000 D) 80,000 8) How many different 5-digits zip codes can we have with no zero as the first and last digit? A) 100,000 B) 90,000 C) 81,000 D) 80,000 9) A security code consists of 4 parts, two digits...
Let X = the number of nonzero digits in a randomly selected zip code. What are...
Let X = the number of nonzero digits in a randomly selected zip code. What are the possible values of X? Is X discrete or continuous? Give three possible outcomes and their associated X values. A college professor always finishes his lectures within 2 minutes after the bell rings to end the period and the end of the lecture. Let X = the time that elapses between the bell and the end of the lecture. What could be the values...
How many base 10 numbers have five digits? How many five digit numbers have no two...
How many base 10 numbers have five digits? How many five digit numbers have no two consecutive digits equal? How many have at least one pair of consecutive digits equal?
how many five digit numbers include the digits 4 or 6 or both?
how many five digit numbers include the digits 4 or 6 or both?
1a) How many five digit number can be written with the digits 1,2,3,4 if there is...
1a) How many five digit number can be written with the digits 1,2,3,4 if there is an even number of twos? 1b) How many five digit number can be written with the digits 1,2,3,4 if two can be used either 4 times, or none?
The U.S. Postal Service began using five-digit zip codes in 1963. Every post office was given...
The U.S. Postal Service began using five-digit zip codes in 1963. Every post office was given its own zip code, which ranged from 00601 in Adjuntas, Puerto Rico, to 99950 in Ketchikan, Alaska. a. If the only five-digit zip code that could not be used was 00000, how many zip codes were possible in 1963? b. Some five-digit zip codes are prone to errors because they are still legal five-digit zip codes when read upside down. When this happens, a...
Based on the source code below, add codes to count how many times array has been...
Based on the source code below, add codes to count how many times array has been access by this program in sorting the array using the insertion sort. Explain how did you count the number of array access on this code. Note that this program tests on 100 until 5000 integers, with increment of 100. import random #create randomized array of length 'length' from range 0 up to max def create_array(length=100, max=5000): return [random.randint(0,max) for _ in range(length)] #executes insertion...
*** C language *** Make a  list of all of the different zip codes that the zombies...
*** C language *** Make a  list of all of the different zip codes that the zombies live at and a count of how many zombies live at that zip code. The list should be sorted based on the zip code with the smallest zip code printed first. Example: Zip Code # Zombies 31234 2 //variables int zip[] = {37643,31234,32785,32643,32785,32643,31234,31234,32643,32643,31234,32785,32785,32643,31234}; char zombie[]={'N','Y','Y','N','Y','Y','Y','N','Y','Y','N','Y','Y','Y','Y'}; Y = zombie N = Not zombie int zPatient = 0; int nonZpatient = 0; for(int pt = 0;...
Password consists of five characters: one lowercase letter and four digits 0 – 9. How many...
Password consists of five characters: one lowercase letter and four digits 0 – 9. How many possible combinations for the password are there if digits can be repeated? How many possible combinations for the password are there if digits can not be repeated? What is a percentage of passwords with repeated digits?
The sales prices of homes (in dollars) from a random sample of 10 zip codes in...
The sales prices of homes (in dollars) from a random sample of 10 zip codes in the United States are recorded in the following table. At the 0.10 level of significance, is there evidence of a difference in the mean selling price for homes between 2001 and 2002? ii.Determine the p-value in (i) and interpret its meaning. Town 2001 2002 Alexandria 245795 293266 Boston 391750 408803 Decatur 205270 227561 Kirkland 326524 333569 New York 545363 531098 Philadelphia 185736 197874 Phoenix...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT