https://alandroidnet.com/related/infinite math pattern