#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::TAOCP Vol 1::1.2.6 Binomial Coefficients (part 1)
#columns:Front	Back	Tags
TAOCP §1.2.6 Binomial Coefficients (part 1): what does it cover?	Part 1 covers what binomial coefficients count, their definition for general upper index, and the core toolbox of identities: symmetry, absorption, the addition formula (Pascal's rule) and the binomial theorem. Aim to get through the main list of basic properties.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::about
TAOCP §1.2.6 (part 1): why does it matter?	Binomial coefficients are the vocabulary of combinatorics and of probability analysis for algorithms. Half the derivations in Vol 3 lean on these identities.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::why
TAOCP §1.2.6 (part 1), a common trap: “Assuming the upper index must be a nonnegative integer.” What's the catch?	Knuth allows general values, and that generality matters.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::trap
TAOCP §1.2.6 (part 1): what traps should you watch for?	<ul><li>Trying to memorize identities instead of understanding them through Pascal's triangle.</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::traps
TAOCP §1.2.6 (part 1), exercise 5 (rated 05, recommended): what is it asking?	Explain a power-of-eleven pattern with Pascal's triangle.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 6 (rated 10, recommended): what is it asking?	Extend Pascal's triangle upward to negative rows with the addition formula. Shows why general upper indices are natural.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 7 (rated 12): what is it asking?	Find which k makes a binomial coefficient largest.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 36 (rated M10): what is it asking?	Row sums and alternating row sums of Pascal's triangle.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 11 (rated M20, recommended): what is it asking?	Show the power of p dividing a binomial coefficient counts carries when adding in base p.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 12 (rated M22): what is it asking?	Which rows of Pascal's triangle are all odd. A nice tie to binary.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 67 (rated M20, recommended): what is it asking?	Prove the easy upper bound for binomial coefficients that you will actually use when estimating.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1), exercise 10 (rated M25, recommended): what is it asking?	Binomial coefficients modulo a prime. The facts behind a lot of modular tricks; the harder one this week.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercise
TAOCP §1.2.6 (part 1): how many exercises, and how are they rated?	68 exercises, rated 00 to HM35.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::exercises
TAOCP §1.2.6 (part 1): what should you be comfortable with first?	<ul><li>1.2.5 Permutations and Factorials</li><li>1.2.3 Sums and Products</li></ul>	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::prereqs
TAOCP §1.2.6 (part 1): how should you work through it?	This is one of the densest sections in Vol 1, so it is split over two weeks. This week: build Pascal's triangle up to row 10 by hand and verify each basic identity against it. Make your own one-page summary of the identities with a numeric example next to each. Stop around the point where the text turns to harder summation techniques.	cracked.guide cracked.guide::phase::taocp-1 cracked.guide::section::1.2.6 cracked.guide::kind::approach
