https://wikimass.com/cpp/number-pattern-21