Man Linux: Main Page and Category List

matho-pascal - display Pascal’s triangle

matho-pascal[number-of-lines]

This command line utility is optionally part of themathomatic(1) package. It calculates up to 1000 lines of Pascal’s triangle, dumping them to standard output. The default is to center one screen full. Every number inside Pascal’s triangle is the sum of the two numbers immediately above it. Each line of Pascal’s triangle is the same as the binomial coefficients for a given power. The sum of all numbers in each line of Pascal’s triangle is a power of 2.

mathomatic(1),matho-primes(1),matho-sumsq(1)

George Gesslein II (gesslein@linux.com)