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.
이제 너 계산기는 이것을 해결하지 않지만, 그 조각은 계산 가능합니다. 아래의 하나를 시도하거나 자신의 것을 입력하십시오.
여기서 사용된 기호
기호를 탭하면 전체 정의, 이미지 및 각 문자의 의미를 확인할 수 있습니다.
사람들이 묻는 질문
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.
이 페이지의 일부는 다음에서 변경되었습니다. Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). 여기서 압축하고 다시 설명; 오류는 우리의.
에 더 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