Exact-k no-adjacent strings vs exact-k no-adjacent finsets
ProvedNoAdjString.noAdjacentStringsCard_imagebinary-stringscombinatoricsequivalence
Under , the family of length- no-adjacent strings with exactly ones maps exactly onto the family of -element finsets with no consecutive elements:
Preamble
import Definitions.Def_NoAdjacentBinaryStrings open Finset Function
Formal statement
namespace NoAdjString
theorem noAdjacentStringsCard_image (n k : ℕ) :
(noAdjacentStringsCard n k).image (boolFinsetEquiv n) = noAdjacentFinsetCard n k := by sorry
end NoAdjStringSource
Kenneth H. Rosen, Discrete Mathematics and Its Applications, 8th ed., McGraw-Hill 2019. The no-consecutive-ones count is the worked example on bit strings without consecutive 1s in Section 8.1 (Applications of Recurrence Relations); the exact-k binomial count is the restricted-combinations (gap) argument of Chapter 6.