Chapter 1: Q1E (page 48)
Show that in any base , the sum of any three single-digit numbers is at most two digits long.
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 1: Q1E (page 48)
Show that in any base , the sum of any three single-digit numbers is at most two digits long.
All the tools & learning materials you need for study success - in one app.
Get started for free
Show that if and if Divides
A positive integer is a power if it is of the form , where ,role="math" localid="1658399000008" are positive integers and .
(a) Give an efficient algorithm that takes as input a number and determines whether it is a square, that is, whether it can be written as for some positive integer . What is the running time of your algorithm?
(b) Show that if (with role="math" localid="1658399171717" , , and all positive integers), then either role="math" localid="1658399158890" .
(c) Give an efficient algorithm for determining whether a positive integer is a power. Analyze its running time.
Show that
(Hint: To show an upper bound, compare with . To show a lower bound, compare it with ).
Is the difference of a multiple of ?
Determine necessary and sufficient conditions on so that the following holds: for any if , then .
What do you think about this solution?
We value your feedback to improve our textbook solutions.