Chapter 2: Q2E (page 83)
Show that for any positive integers n and any base b , there must some power of b lying in the range .
Short Answer
To show that some power of b falls in the range of
/*! 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 2: Q2E (page 83)
Show that for any positive integers n and any base b , there must some power of b lying in the range .
To show that some power of b falls in the range of
All the tools & learning materials you need for study success - in one app.
Get started for free
What is the sum of the nth roots of unity? What is their product if n is odd? If n is even?
You are given an array of elements, and you notice that some of the elements are duplicates; that is, they appear more than once in the array. Show how to remove all duplicates from the array in time .
Given a sorted array of distinct integers , you want to find out whether there is an index for which . Give a divide-and-conquer algorithm that runs in time .
Practice with the fast Fourier transform.
(a) What is the FFT of (1,0,0,0)? What is the appropriate value of in this case? And of which sequence is (1,0,0,0)the FFT?
(b)Repeat for (1,0,1,-1).
This problem illustrates how to do the Fourier Transform (FT) in modular arithmetic, for example, modulo .(a) There is a number such that all the powers are distinct (modulo ). Find this role="math" localid="1659339882657" , and show that . (Interestingly, for any prime modulus there is such a number.)
(b) Using the matrix form of the FT, produce the transform of the sequence modulo 7; that is, multiply this vector by the matrix , for the value of you found earlier. In the matrix multiplication, all calculations should be performed modulo 7.
(c) Write down the matrix necessary to perform the inverse FT. Show that multiplying by this matrix returns the original sequence. (Again all arithmetic should be performed modulo 7.)
(d) Now show how to multiply the polynomials and using the FT modulo 7.
What do you think about this solution?
We value your feedback to improve our textbook solutions.