Add Wolfram Mathematica notebook solving the 27-matchstick division puzzle#3
Draft
Add Wolfram Mathematica notebook solving the 27-matchstick division puzzle#3
Conversation
…puzzle Co-authored-by: calculuscalculus <120034106+calculuscalculus@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Resolve segment problem with matches
Add Wolfram Mathematica notebook solving the 27-matchstick division puzzle
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
88 ÷ 31 = 14uses 27 matchstick segments (7-segment display digits) but is mathematically invalid. The task is to rearrange those 27 segments into a valid equation with no segments added or removed.Changes
cerillos.nb— Mathematica notebook that:A ÷ B = Cfor all integer triples ≤ 999 wherecontarSegmentos(A) + contarSegmentos(B) + contarSegmentos(C) == 27Key findings
8 solutions preserve the 2-digit ÷ 2-digit structure; the closest to the original (keeping
88unchanged):In
88 ÷ 44 = 2: divisor31→44(digit 3 gains a segment to become 4; digit 1 gains two segments to become 4) and result14→2(digit 1 disappears; digit 4 loses one segment to become 2). Net segment delta: zero.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.