In the TAOCP vol 1 section in the "Exercise Notes" section, there is a question that looks something like this:
"Prove that 13 ^ 3 = 2197. Summarize your answer. (This is a terrible problem that the author tried to avoid).
Questions:
How would you really prove it? (Direct multiplication is one way, another way is to use the formula (a + b) ^ 3). Is a solution required to use some method that allows us to make some kind of generalization?
What is the generalization here?
Why is this a terrible problem?
What are some other similar terrible issues you know about?
Please rate any answers.
PS We apologize if the above statement of the problem makes it look like a domestic problem, but it does not exist. Ask people not to flag this as a home problem so more people can give answers.
math algorithm taocp
vshenoy
source share