Neeldhara
  • About
  • Research
    • Overview
    • People
    • Publications
    • Surveys
  • Teaching
    • Courses
    • Materials
  • Lists
    • Puzzles
    • Bookmarks
  • Exposition
    • Talks
    • Videos
  • Events
  • Blog

Worksheet 01 Combinatorics with Applications in Computer Science

CS607. Combinatorics with Applications in Computer Science

Worksheet 01

Released: 04 Jan, 2024

Back to course page

Problem 1. Relationship between Hamming Distance and Error Correction

Recall that a code CCC is a subset of SnS^nSn, where SSS is a fixed, finite alphabet and SnS^nSn denotes the set of all strings of length nnn over SSS. Recall also that the hamming distance between two nnn-length strings uuu and vvv over SSS is the number of indicies on which uuu and vvv differ, and d(C)d(C)d(C) denotes the smallest hamming distance between any pair of strings in CCC. Finally, a code CCC is said to correct ttt errors if for every u∈Snu \in S^nu∈Sn there is at most one w∈Cw \in Cw∈C such that d(u,w)≤td(u,w) \leq td(u,w)≤t.

Now consider the following statement.

A code CCC corrects ddd errors if and only if: d(C)≥⋆d(C) \geq {\color{red}{\star}}d(C)≥⋆.

What is ⋆{\color{red}\star}⋆?

Problem 2. The (Nearly) Impossible Chessboard Puzzle

Is it possible to color the edges of a 64-dimensional hypercube with 64 colors so that the following property holds?

For every vertex of the hypercube, all its neighbors are colored with 64 distinct colors.

Note. A 64-dimensional hypercube is a graph that has one vertex for every bit string of length 64, and two vertices are adjacent if and only if their hamming distance is one.


© 2022 • Neeldhara Misra • Credits •

 

Corrections? Please leave a comment here or a PR in this repository, thanks!

I’d rather be a failure at something I love than a success at something I hate.

George Burns

You live and you learn — at any rate, you live.

Douglas Adams

A problem worthy of attack proves its worth by fighting back.

Paul Erdos

×