https://remp3indir.net/algorithm-92-triangular-numbers-python/
algorithm 92 triangular numbers python