Skip to content

Answer to question B in Wannabe cube dissections - Minecraft puzzle (results & prize)

Notifications You must be signed in to change notification settings

CrafterKolyan/wannabe-cubes-dissection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wannabe Cube Dissection

Original video
Solution to question B

Wannabe Cube

Wannabe cube is cuboid with sequential integer lengths (e.g. 41 × 42 × 43 )

Questions

Question A

Is there any dissection of 3D wannabe cube by smaller distinct wannabe cubes apart from cuboid 5 × 6 × 7 ?

Question B

Can 41 × 42 × 43 wannabe cube be dissected?

Answers

Question A (not solved)

All 3D cuboids up to 45 × 46 × 47 can't be dissected in smaller cuboids except for 5 × 6 × 7 . 43rd-45th wannabe cubes are not shown in the notebook in the repository but were checked by running code in the notebook for them separately.

Question B

No, it can't be dissected. Prove by program which uses SAT solver under the hood.
See main.ipynb for details.

Dependencies

  • z3-solver
  • jupyter (can be removed by refactoring into the script)
  • tqdm (can be removed by removing progress bar)
  • numpy (can be removed after refactoring of answer printing, nothing really important depends on it)
  • more-itertools (can be removed by changing more_itertools.distinct_permutations to itertools.permutations, but don't want to use unoptimized permutations function)

Reproduction

pip install -r requirements.txt
jupyter notebook

Run all cells in main.ipynb notebook.

About

Answer to question B in Wannabe cube dissections - Minecraft puzzle (results & prize)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published