https://123dok.net/document/wyexv2rq-pascal-like-triangles-base-2-and-beyond.html