gepa71 / whuts-solver

Code to find solutions for tiling the space by any of the 3d unfoldings of a 4d hypercube. See Matt Parker's video for details: https://www.youtube.com/watch?v=Yq3P-LhlcQo
GNU General Public License v3.0
3 stars 0 forks source link

Fix generation of unique matrices for specific volume #1

Closed gepa71 closed 3 years ago

gepa71 commented 3 years ago

From https://oeis.org/A001001 :

These sublattices are in 1-1 correspondence with matrices

[a b d]
[0 c e]
[0 0 f]

with acf = n, b = 0..c-1, d = 0..f-1, e = 0..f-1. The sublattice is primitive if gcd(a,b,c,d,e,f) = 1.

gepa71 commented 3 years ago

fixed