https://codeworld19.blogspot.com/2020/03/small-triangles-large-triangles-in-c.html