Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You probably know the trick that a number is a multiple of 9 if and only if the sum of its decimal digits is

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}.

Step by Step Solution

3.43 Rating (156 Votes )

There are 3 Steps involved in it

Step: 1

Requir... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Mathematical Statistics And Its Applications

Authors: Richard J. Larsen, Morris L. Marx

5th Edition

321693949, 978-0321694027, 321694023, 978-0321693945

More Books

Students also viewed these Accounting questions

Question

Explain the action potential.

Answered: 1 week ago

Question

Recall the role of various endocrine glands.

Answered: 1 week ago