Question

In: Statistics and Probability

If you were to write out all the whole numbers from 1 to 1,000, how many...

If you were to write out all the whole numbers from 1 to 1,000, how many zeroes would you have written?

Solutions

Expert Solution

The digit zero appears only in the numbers 10, 20, 30, 40, 50, 60, 70, 80, 90, 100. Thus, there are 11 zeros among the digits from 1 to 99. This is the same as the number of digits in writing the numbers from 1 to 10

.Now let us look at the numbers from 1 to 1000. To write all these numbers down, we need to use 9+ 2(90) +3)900) +4 = 9 +180 + 2700 + 4 = 2893 digits to accommodate the 9 single-digit numbers, the 90 double-digit numbers, the 900 triple-digit numbers and the number 1000.

There are 9 numbers of the form a0. 9 numbers of the form a00 (each with two zeros), 81 numbers of the form a0k, 81 numbers of the form ak0, where a and k are one of the nine positive digits, and the number 1000.

So, answer=9 + 18 + 81 + 81 + 3 = 192.


Related Solutions

1: Answer these questions: (a) Write a Java program to print whole numbers between 1 to...
1: Answer these questions: (a) Write a Java program to print whole numbers between 1 to 1000 which are divisible by 3, 5 and by both numbers. (b) Differentiate between instance and local variable in Java (c) In a tabular form, differentiate between instance and class variable
This is a standard deviation contest. You must choose four numbers from the whole numbers 0...
This is a standard deviation contest. You must choose four numbers from the whole numbers 0 to 10, with repeats allowed. Step 1: Choose four numbers that have the smallest possible standard deviation. What is the numerical value of s in this case? Give your answer as a whole number (meaning no decimal places). Step 2: Is there more than one possibility for choosing four numbers that have the smallest possible standard deviation? No. Yes. Step 3: Choose four numbers...
Write a program that will print the whole numbers from a user-specified minimum to a user-specified...
Write a program that will print the whole numbers from a user-specified minimum to a user-specified maximum. Display the total amount of numbers printed.
How many sets of five numbers from 1 to 15 can you make in which exactly...
How many sets of five numbers from 1 to 15 can you make in which exactly two of the numbers are divisible by 3?
Write a program that prints out all numbers, less than or equal to 10,000,000, that are...
Write a program that prints out all numbers, less than or equal to 10,000,000, that are evenly divisible by all numbers between 5 and 15 (inclusive). Do not use any libraries besides stdio.h. Need it in 10 minutes, please.
Write a java code to find the following. For numbers 501 to 999, how many numbers...
Write a java code to find the following. For numbers 501 to 999, how many numbers will have the sum of the digits equal to 10. 501, sum of digits=6 502, sum of digits=7 503, sum of digits=8 504, sum of digits=9 505, sum of digits=10 506, sum of digits=11
Write an application named OddNums that displays all the odd numbers from 1 through 99. All...
Write an application named OddNums that displays all the odd numbers from 1 through 99. All ODD numbers should show all together(Should not need to scroll down), do it in 10 rows. FOR C#
a) How many 3-digit numbers are there? b) How many 3-digit numbers can you make with...
a) How many 3-digit numbers are there? b) How many 3-digit numbers can you make with all three digits different? c) How many of the numbers is part b) are odd?
Using the Python program: a/ Write a program that adds all numbers from 1 to 100...
Using the Python program: a/ Write a program that adds all numbers from 1 to 100 to a list (in order). Then remove the multiples of 3 from the list. Print the remaining values. b/ Write a program that initializes a list with ten random integers from 1 to 100. Then remove the multiples of 3 and 5 from the list. Print the remaining values. Please show your work and explain. Thanks
Write a program in c++ that merges numbers from two files and writes all the numbers...
Write a program in c++ that merges numbers from two files and writes all the numbers into a third file in ascending order. Each input file contains a list of 50 sorted double floating-point numbers from the smallest to largest. After the program is run, the output file will contain all 100 numbers between in the two input files, also sorted from smallest to largest. Format the output into two columns – the first column contains the numbers 1-100, and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT