Step-by-step derivation
S001 · implies
Before
n=8;k=8;distinct objects,without replacement
After
unordered k-subsets of an n-element set
Conditions: none
Each object is selected at most once and order is ignored;the ordered-selection count is not the requested answer.
Step identifiers and dependencies
Rule: unordered_selection_model · Uses: G001
S002 · calculation
Before
choices at position1 := sub(8, 0)
After
choices at position1 = 8
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S001
S003 · calculation
Before
ordered prefix count1 := mul(1, 8)
After
ordered prefix count1 = 8
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S002
S004 · calculation
Before
choices at position2 := sub(8, 1)
After
choices at position2 = 7
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S003
S005 · calculation
Before
ordered prefix count2 := mul(8, 7)
After
ordered prefix count2 = 56
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S004
S006 · calculation
Before
choices at position3 := sub(8, 2)
After
choices at position3 = 6
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S005
S007 · calculation
Before
ordered prefix count3 := mul(56, 6)
After
ordered prefix count3 = 336
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S006
S008 · calculation
Before
choices at position4 := sub(8, 3)
After
choices at position4 = 5
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S007
S009 · calculation
Before
ordered prefix count4 := mul(336, 5)
After
ordered prefix count4 = 1680
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S008
S010 · calculation
Before
choices at position5 := sub(8, 4)
After
choices at position5 = 4
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S009
S011 · calculation
Before
ordered prefix count5 := mul(1680, 4)
After
ordered prefix count5 = 6720
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S010
S012 · calculation
Before
choices at position6 := sub(8, 5)
After
choices at position6 = 3
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S011
S013 · calculation
Before
ordered prefix count6 := mul(6720, 3)
After
ordered prefix count6 = 20160
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S012
S014 · calculation
Before
choices at position7 := sub(8, 6)
After
choices at position7 = 2
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S013
S015 · calculation
Before
ordered prefix count7 := mul(20160, 2)
After
ordered prefix count7 = 40320
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S014
S016 · calculation
Before
choices at position8 := sub(8, 7)
After
choices at position8 = 1
Conditions: none
After i distinct selections,n−i objects remain available.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S015
S017 · calculation
Before
ordered prefix count8 := mul(40320, 1)
After
ordered prefix count8 = 40320
Conditions: none
The product rule accumulates the ordered count without repetition.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S016
S018 · calculation
Before
factorial through2 := mul(1, 2)
After
factorial through2 = 2
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S017
S019 · calculation
Before
factorial through3 := mul(2, 3)
After
factorial through3 = 6
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S018
S020 · calculation
Before
factorial through4 := mul(6, 4)
After
factorial through4 = 24
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S019
S021 · calculation
Before
factorial through5 := mul(24, 5)
After
factorial through5 = 120
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S020
S022 · calculation
Before
factorial through6 := mul(120, 6)
After
factorial through6 = 720
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S021
S023 · calculation
Before
factorial through7 := mul(720, 7)
After
factorial through7 = 5040
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S022
S024 · calculation
Before
factorial through8 := mul(5040, 8)
After
factorial through8 = 40320
Conditions: none
Accumulate k!,the number of orders of the same selected k-element set.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S023
S025 · implies
Before
ordered selections=40320;orders per subset=40320
After
C(8,8)=ordered selections/k!
Conditions: none
Every k-subset has exactly k! orderings,and different subsets have disjoint orderings;divide by this common positive factor.
Step identifiers and dependencies
Rule: uniform_order_fibers · Uses: G001, S024
S026 · calculation
Before
unordered subset count := div(40320, 40320)
After
unordered subset count = 1
Conditions: none
Exact division gives an integer;when k=0 both empty products are1 and there is exactly one empty selection.
Step identifiers and dependencies
Rule: exact_rational_arithmetic · Uses: G001, S025
S027 · implies
Before
C(8,8)=n!/(k!·(n−k)!)
After
C(8,8)=40320/(40320·1)=1
Conditions: none
Rewrite the falling product as n!/(n−k)! and audit the binomial formula,including boundary cases.
Step identifiers and dependencies
Rule: binomial_count_formula · Uses: G001, S026