[math-fun] This will probably be incredibly stupid when we figure it out.