When you load the project, the list is pre-generated to the 3rd row. While in normal mode the list is fairly slow to generate, turn on turbo mode (shift click the flag) and it is quite fast, at least until you get into the REALLY big numbers. Press q and type a number to get that level of the triangle, and then press space to exit the dialogue.
I used only my own scripts. Any similarities between my or others scripts in this project is purely coincidental (or perhaps a technique I picked up from another project, but I don't remember seeing any other projects with similar scripts). Pascal's Triangle is useful when expanding polynomials to large powers. To expand (a+b)^n, you use the nth level of the triangle (note: in the list, the level is actually one less then the actual level of the list, as "1" is considered level 0). For instance, (a+b)^2 you use the second level, and expand it as a^2 +2ab + b^2. The numbers in the triangle are the coefficients, and each term you go forward you decrease the power of a by one (from the max power which is one less then n), and increase the power of b by one (starting in the first term at the power of 0). The triangle itself is fairly simple; if each term was centered, each number would be the sum of the two numbers above it, with the numbers on the outside of the triangle being one.