You probably know the trick that a number is a multiple of 9 if and only...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You probably know the trick that a number is a multiple of 9 if and only if the sum of its decimal digits is a multiple of 9. Here is a similar trick for multiples of 3 in binary. Prove that a number is a multiple of 3 if and only if writing that number backwards in binary is also a multiple of 3. Example: 0011bin = 3dec is a multiple of 3, and so is 1100bin = 12dec. However, 100101bin = 37 dec is not a multiple of 3, and neither is 101001bin = 41dec. Hint: First transform this to a statement about regular languages over alphabet {0, 1}. You probably know the trick that a number is a multiple of 9 if and only if the sum of its decimal digits is a multiple of 9. Here is a similar trick for multiples of 3 in binary. Prove that a number is a multiple of 3 if and only if writing that number backwards in binary is also a multiple of 3. Example: 0011bin = 3dec is a multiple of 3, and so is 1100bin = 12dec. However, 100101bin = 37 dec is not a multiple of 3, and neither is 101001bin = 41dec. Hint: First transform this to a statement about regular languages over alphabet {0, 1}.
Expert Answer:
Related Book For
Introduction to Mathematical Statistics and Its Applications
ISBN: 978-0321693945
5th edition
Authors: Richard J. Larsen, Morris L. Marx
Posted Date:
Students also viewed these accounting questions
-
Prove that A neither attracts nor repels B if and only if A and B are independent.
-
In this exercise you will prove Theorem 9.8.2. a. Prove that the joint p.d.f. of the data given the parameters 1, 2, and can be written as a constant times b. Multiply the prior p.d.f. times the...
-
Prove that if two matrices are similar then their k-th powers are similar when k > 0. What if k 0?
-
What are the main advantages and disadvantages of using 360 degree appraisal?
-
What are the advantages in petitioning the Tax Court versus other trial-level courts?
-
Orient each of the following drawings so that the lowest-priority group is toward the rear, and then assign R or Sconfiguration: (b) (a) (c) 2 2
-
Zachary and Carrie Sexton (the Buyers) were searching for a home in the Kings wood neighborhood of Atlanta, Georgia. The Buyers real estate agent learned that Russell and Linda Sewell (the Sellers)...
-
The following information is available for Shanika Company for 2014: Instructions 1. Prepare the 2014 statement of cost of goods manufactured. 2. Prepare the 2014 incomestatement. Inventories...
-
produce a reflective comparison of China and the U.S. in terms of social/political/economic systems. Given the focus of this course and this particular module, what is the fundamental basis for the...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
1. Ohm's Law states that for some circuits the voltage is proportional to the current. In other words, if you double the voltage, you will double the current. Which of these equations agrees with...
-
The president has just signed a new budget that drastically cuts taxes without decreasing government spending. When asked about the dramatic increase in deficits that will occur due to the tax cuts,...
-
Predict how the Fed would likely respond if the output gap became more positive, so that output moved from being 0.1% above potential output to being 3% above potential output, and inflation rose...
-
Determine if the following changes to the economy are examples of financial, spending, or supply shocks. For each case, explain whether the IS, MP, or Phillips curve will shift, and in what...
-
Discuss the advantages and disadvantages of ratio analysis. Montgomery Organizations plc, whose annual accounts are given below. The firm has 14,685,856 shares and the share price is 2.78. Fixed...
-
Calculating Future Values Calculate the future value of a 100 cash flow for the following combinations of rates and times: (a) r = 8%; t = 10 years (b) r = 8%; t = 20 years (c) r = 4%; t = 10 years...
-
Define satire. In what way is Swift's "A Modest Proposal" a satire? Explain his "modest" proposal and what it satirizes concerning England. Besides the satire, what does Swift seriously propose...
-
A number of years ago the United Food and Commercial Workers Union organized 800 workers of the 1035 employees at one of the Wilson Brothers food operations in Toronto, Ontario. The employees include...
-
Show that the common belief in the propensity of babies to choose an inconvenient hour for birth has a basis in observation. A maternity hospital reported that out of one years total of 2650 births,...
-
In Mendels classical experiments with peas, he produced hybrids in such a way that the probabilities of observing the different phenotypes listed below were 9/16, 3/16, 3/16, and 1 /16, respectively....
-
A stock analyst claims to have devised a mathematical technique for selecting high-quality mutual funds and promises that a clients portfolio will have higher average ten-year annualized returns and...
-
Explore whether the original Bell inequality can be violated at large angles as well.
-
Consider an EPR state \(|\phiangle_{A B}\); Alice measures the spin on \(z\), then Bob measures it on \(x\), and then Alice measures it again on \(z\). Classify the possible answers for the second...
-
In quantum cosmology, one can define a "wave function of the Universe" \(\Psi[a(t)]\), whose variable is the expanding scale factor of the Universe, \(a(t)\), and which satisfies a general relativity...
Study smarter with the SolutionInn App