Source: https://ramanujan.math.trinity.edu/rdaileda/teach/s20/m3326/lectures/bijections_handout.pdf