maths.free › Combinatorics & Graph Theory › Induction › Discussion
Discussion
The group was debating the value of combinatorial proofs versus formal proofs by induction.
Discussion
The group was debating the value of combinatorial proofs versus formal proofs by induction. Xing said that he actually preferred to do a proof by induction, as a combinatorial proof, it could be argued, wasn't really a proof. Dave mumbled Combinatorial proofs can always be made rigorous. They went back and forth for a while and then Alice said But the professor never explained that weird sequence \[\begin{aligned}\end{aligned}\] did he?
Dave was on a roll. He asked, Who has change for a dollar? but nobody understood why he would derail an argument over proofs when everybody had already paid for the coffee. Alice was more to the point You know Dave, sometimes I just don't understand why you say the things you do. Dave smiled (maybe it was more of a smirk) It's about making change. The terms in this sequence are the fewest number of coins required to make change. Bob said I don't get it. Dave continued The term \(a_n\) is the fewest number of U.S. coins required to total to \(n\) cents. Now everyone groaned, everyone except Carlos, who thought that at least this time, Dave was really clever.
Well, said Bob, that takes care of the strange sequence, but I still don't see any difference between induction and recursion. Dave couldn't keep quiet No one does. Xing thought differently and said In many programming languages, you try to avoid recursion, preferring to use loops instead. Otherwise, you wind up overloading the stack. As just one example, you can compute the greatest common divisor \(d\) of \(m\) and \(n\), as well as find \(a\) and \(b\) so that \(d=am+bn\) using a loopwith very little storage. The recursive approach discussed previously, with the inherent back tracking at the end, isn't really necessary. Yolanda was impressed with Xing's extensive programming experience and knowledge, but Alice was less so.
Condensed: the full section is in Keller & Trotter, Applied Combinatorics.
Now you Không máy tính nào có thể tính toán được nó, nhưng các mảnh của nó có thể tính toán được. Thử một trong những cách dưới đây, hoặc gõ theo ý bạn.
Ký hiệu được dùng ở đây
Nhấn vào bất kỳ ký hiệu nào để xem định nghĩa đầy đủ, một bức ảnh, và ý nghĩa của từng chữ cái trong nó.
Câu hỏi người ta hỏi
Permutation or combination?
Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).
What is a graph in this sense?
Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.
Một số phần của trang này được chuyển từ Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). Được nén lại và giải thích lại ở đây; lỗi là của chúng tôi.
More in Combinatorics & Graph Theory
The counting principlesPigeonhole principle and inclusion, exclusionBinomial coefficients and Pascal's triangleRecurrences and generating functionsGraphs: vertices, edges, degreesPaths, cycles, trees, Euler and HamiltonColouring and planar graphs