While waiting for an answer you may want to check out this earlier great answer by /u/Ucumu: discussing Mesoamerican mathematics also in relation to astronomy, and the limits of our current knowledge of them. Examples of some Mayan codices are mentioned, of which sadly only a handful pre-Hispanic ones have come down to us through destruction and loss.