FS01 · TARGET 116
| Symbol | Frequency |
|---|---|
| A | 4 |
| B | 4 |
| C | 4 |
| D | 4 |
| E | 4 |
| F | 4 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
Round & Revel / Unequal-cost prefix-code optimization
A cheap label is useful only if it leaves room for the other five.
1–4 players · solo or cooperative · Estimated 20–45 minutes for two challenges
Give six symbols unambiguous zero-and-one labels of up to four digits. Trade label cost against the space it reserves, and reach each traffic card’s checked minimum total.
Original authored prototype using established mathematical ideas. Times are planning estimates excluding preparation. No human playtest or physical print test has been conducted; difficulty, enjoyment and timing remain unverified.
Print or copy two traffic cards, the public reference and two build sheets. Keep solutions covered. No cutting or coding experience is needed.
Choose two different cards FS01–FS06 and keep their solutions covered. Work alone or as one cooperative group. All six frequencies and the TARGET stay public. In a group choose a starting designer, rotate that role after each proposed code change, and let everyone discuss and check. Use a fresh build sheet per card. The symbol names A–F are just labels; no language, computer or electrical knowledge is required.
Write one code for each of A, B, C, D, E and F. Each code contains from one to four digits, using only 0 and 1. Leading zeros matter: 01 is a two-digit code, not the number one. No blank code, other characters, separators, punctuation or fifth digit is allowed inside a code. Every symbol has exactly one code, and all six codes must be different.
Most importantly, no complete code may be the beginning of another code. For example, 0 and 01 cannot both be used, since 0 already ends a symbol before the second code has finished. Likewise 10 and 1011 conflict. But 01 and 10 do not, and 001 and 010 do not. This “no-prefix” rule lets a reader decode a stream without spaces: scan from the left until a whole code is reached, read its symbol, then start the next code. Never pause at an unassigned partial code.
Each 0 in a code costs 1 unit. Each 1 costs 3 units. Add digit costs to get that code’s cost. Thus 000 costs 3, 01 costs 4, 10 also costs 4, and 11 costs 6. A shorter code can cost more: 1 costs 3, while 00 costs 2.
A card’s frequency says how many times its symbol will be sent. Multiply each symbol’s frequency by its code cost, then add all six products. That is the TOTAL to minimize. The order of the message does not change this total, so no actual message needs to be sent. These are fictional effort units, with no real payment or transmission involved.
Try a set of six codes, check every pair for a prefix conflict, then calculate its total. Erase, replace, lengthen, shorten or reassign codes freely before closing a card. You may change several codes together; there are no locked moves, purchase costs or turn penalties. A partial set may be useful while thinking but cannot score.
For a safe starting set, use 000, 001, 010, 011, 100 and 101, assigned in any order. Distinct codes of the same length cannot prefix each other. Improving beyond that may mean giving a frequent symbol a cheap code and rebuilding several others. Choosing 0 prevents ALL other codes beginning with 0, including 00, 01 and every longer descendant; its cheapness comes with a large reservation.
You may sketch a branching tree. Every route starts at the same root; a 0 branch costs 1 and a 1 branch costs 3. Stop a route to assign its complete code. Once a route stops, no other assigned route may continue below it. The tree is only a planning aid: written codes are authoritative. You do not have to use every possible branch or fill the tree. Codes that are never sent incur no cost because they are not assigned.
Each TARGET is the lowest achievable total under these exact rules, computationally checked over all valid six-code sets with lengths 1–4. At least one solution is supplied; optimal solutions need not be unique. To claim 2 shared points, submit six legal codes with total at or below TARGET without viewing that card’s solution or already knowing an optimal codebook. A total below TARGET would contradict the checked minimum, so recheck arithmetic and legality rather than assuming a bonus.
Earn 1 point for any complete legal six-code set above TARGET, or for any complete legal set after viewing the solution, using a solver, or already knowing an optimal codebook. Earn 0 for a missing or illegal set when you voluntarily close the card. Reaching TARGET is the full goal; partial credit recognizes a decodable design. You may keep improving a legal above-target set before deciding to close it. An unsuccessful check is not a final submission.
For each code pair, compare the shorter code with the same-length beginning of the longer. If they match, the set is illegal; equal-length identical codes are also illegal. After that audit, recompute all six costs and products. Stop once both chosen cards are completed or voluntarily closed and total 0–4. There is no timer, individual winner or tiebreak. Keep card IDs and excess cost with your record; different cards are not difficulty-ranked.
For this miniature only, use A three times, B twice and C once. Choose A = 0, B = 10 and C = 11. These are prefix-free: B and C begin with 1, while A is 0. Costs are 1, 4 and 6. The total is 3 × 1 + 2 × 4 + 1 × 6 = 17.
The message AABABC becomes 0 | 0 | 10 | 0 | 10 | 11, or 001001011 without separators. Read left to right to recover AABABC. The bars here explain the example; they are not transmitted and have no cost.
Replacing B with 01 would look cheap but would be illegal, because A’s 0 is now the beginning of B’s 01. A valid alternative A = 00, B = 01, C = 1 also costs 3 × 2 + 2 × 4 + 1 × 3 = 17. Different legal designs can have the same total. Main challenge cards always require all SIX symbols.
Six traffic cards provide three fresh two-card sessions. Known optimal codebooks use the assisted 1-point score. Try a new traffic card rather than treating a new assignment of the same optimal codes as an unseen puzzle. For custom practice choose six positive whole-number frequencies and compare two legal designs. Without an independently established minimum, do not label a custom result “optimal” or invent a target; simply record its cost and try to improve it.
Use large written digits, read codes digit by digit (“zero, zero, one”), dictate to a scribe, or use a calculator. The cost reference below avoids mental arithmetic. No color, memory of hidden information, spoken performance or programming skill is required. Keep leading zeros when copying; fix a copying error from the original card before continuing.
Use every listed symbol. TARGET includes its full printed frequency. Codes may contain one to four digits; 0 costs 1 and 1 costs 3.
| Symbol | Frequency |
|---|---|
| A | 4 |
| B | 4 |
| C | 4 |
| D | 4 |
| E | 4 |
| F | 4 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
| Symbol | Frequency |
|---|---|
| A | 1 |
| B | 4 |
| C | 2 |
| D | 18 |
| E | 8 |
| F | 13 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
| Symbol | Frequency |
|---|---|
| A | 2 |
| B | 3 |
| C | 10 |
| D | 10 |
| E | 2 |
| F | 1 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
| Symbol | Frequency |
|---|---|
| A | 20 |
| B | 18 |
| C | 12 |
| D | 3 |
| E | 2 |
| F | 18 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
| Symbol | Frequency |
|---|---|
| A | 20 |
| B | 7 |
| C | 19 |
| D | 6 |
| E | 20 |
| F | 2 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
| Symbol | Frequency |
|---|---|
| A | 4 |
| B | 9 |
| C | 4 |
| D | 5 |
| E | 10 |
| F | 5 |
0 costs 1 · 1 costs 3 · Up to four digits · No code begins another
Total ____ · Excess above target ____ · Guide known or viewed? Yes / No.
Six legal codes? ____ · Points ____ /2.
These are all 30 available codes, with individual costs in parentheses. Choose six together that pass the no-prefix check; availability alone does not make a combination legal.
| Digits | Available codes (individual cost) |
|---|---|
| 1 | 0 (1) · 1 (3) |
| 2 | 00 (2) · 01 (4) · 10 (4) · 11 (6) |
| 3 | 000 (3) · 001 (5) · 010 (5) · 011 (7) · 100 (5) · 101 (7) · 110 (7) · 111 (9) |
| 4 | 0000 (4) · 0001 (6) · 0010 (6) · 0011 (8) · 0100 (6) · 0101 (8) · 0110 (8) · 0111 (10) · 1000 (6) · 1001 (8) · 1010 (8) · 1011 (10) · 1100 (8) · 1101 (10) · 1110 (10) · 1111 (12) |
Card ____ · Target ____ · Keep leading zeros.
| Symbol | Frequency | My code | Code cost | Product |
|---|---|---|---|---|
| A | ____ | ________ | ____ | ____ |
| B | ____ | ________ | ____ | ____ |
| C | ____ | ________ | ____ | ____ |
| D | ____ | ________ | ____ | ____ |
| E | ____ | ________ | ____ | ____ |
| F | ____ | ________ | ____ | ____ |
Total of six products ____ · Excess above target ____ (zero if target met).
All codes 1–4 digits? ____ · All six distinct? ____ · All 15 pairs prefix-free? ____
Pairs to check: AB, AC, AD, AE, AF, BC, BD, BE, BF, CD, CE, CF, DE, DF, EF.
Guide known/viewed or solver used? ____ · Completed / Closed · Points ____ /2.
| Card | Final total | Target | Points /2 |
|---|---|---|---|
| ____ | ____ | ____ | ____ |
| ____ | ____ | ____ | ____ |
Shared total ____ /4.
One optimal legal codebook per card. Read each string literally, including leading zeros. Other optimal codebooks count. Costs and frequencies refer to the matching card only.
| Symbol | Frequency | Code | Code cost | Product |
|---|---|---|---|---|
| A | 4 | 0000 | 4 | 16 |
| B | 4 | 11 | 6 | 24 |
| C | 4 | 10 | 4 | 16 |
| D | 4 | 001 | 5 | 20 |
| E | 4 | 01 | 4 | 16 |
| F | 4 | 0001 | 6 | 24 |
| Symbol | Frequency | Code | Code cost | Product |
|---|---|---|---|---|
| A | 1 | 1011 | 10 | 10 |
| B | 4 | 11 | 6 | 24 |
| C | 2 | 1010 | 8 | 16 |
| D | 18 | 00 | 2 | 36 |
| E | 8 | 100 | 5 | 40 |
| F | 13 | 01 | 4 | 52 |
| Symbol | Frequency | Code | Code cost | Product |
|---|---|---|---|---|
| A | 2 | 011 | 7 | 14 |
| B | 3 | 001 | 5 | 15 |
| C | 10 | 000 | 3 | 30 |
| D | 10 | 1 | 3 | 30 |
| E | 2 | 0100 | 6 | 12 |
| F | 1 | 0101 | 8 | 8 |
| Symbol | Frequency | Code | Code cost | Product |
|---|---|---|---|---|
| A | 20 | 000 | 3 | 60 |
| B | 18 | 01 | 4 | 72 |
| C | 12 | 001 | 5 | 60 |
| D | 3 | 110 | 7 | 21 |
| E | 2 | 111 | 9 | 18 |
| F | 18 | 10 | 4 | 72 |
| Symbol | Frequency | Code | Code cost | Product |
|---|---|---|---|---|
| A | 20 | 01 | 4 | 80 |
| B | 7 | 0010 | 6 | 42 |
| C | 19 | 10 | 4 | 76 |
| D | 6 | 11 | 6 | 36 |
| E | 20 | 000 | 3 | 60 |
| F | 2 | 0011 | 8 | 16 |
| Symbol | Frequency | Code | Code cost | Product |
|---|---|---|---|---|
| A | 4 | 101 | 7 | 28 |
| B | 9 | 01 | 4 | 36 |
| C | 4 | 11 | 6 | 24 |
| D | 5 | 001 | 5 | 25 |
| E | 10 | 000 | 3 | 30 |
| F | 5 | 100 | 5 | 25 |
The proof includes incomplete code trees, so you are not being asked to guess an unstated full-tree condition. The six cards have different optimal sorted code-cost profiles; the supplied answers are examples rather than a universal one-size-fits-all arrangement.
Try another game: Counterweight CafĂ© · Branch Ledger