https://www.youtube.com/watch?v=SJtbeg_PZ30
If anyone has any abstractions that might help, maybe around the nome the author mentioned, I'd love to hear them!
https://en.wikipedia.org/wiki/Nome_(mathematics)