Unreal Engine World Partitioning Workflow(TerreSculptor, Unreal Engine, HeightMaps)

Hello! Currently I’m trying to create a world in Unreal Engine for world Partitioning. I have an area 10km² heightmap in PNG format. I recently came across the formula (511xN) - (N-1), but what do these variables mean? What is N, and how would I calculate the World Map size for UE5 using this formula?

Does the number derived from this calculation correlate to my pixel size? Once I import to TerreSculptor, what should my Width, and Height Tile counts be?

Thanks very much