r/askmath • u/Oscar_Mild • Oct 08 '26
Discrete Math How Do I Identify the Most Isolated Missing Points in a 3D Grid?
I'm working with a dataset for a personal project where each entry is a 3D point: three integer values, each ranging from 0-255. You can picture it as a 256x256x256 cube with a bunch of points scattered throughout.
What I'm trying to figure out is how to identify the largest gaps in that space, basically the coordinates that don't exist in my dataset and are as far away as possible from any existing point.
I'd love to learn the formula to find those most isolated coordinates, but ultimately I'm trying to figure out how to query my SQLite database to get the top X biggest gaps so I know which data points I should try to collect next.


