Each of the main quadrants (e.g. AM) is divided into 9 smaller ones. Each of those is further divided into 9 quadrants, which gives a basic two digit grid (i.e. AM 39). Take that quadrant and divide it in a same manner, and you will get a 4 digit grid.
If it doesn't make any sense, take a look
here. It is much better explained.