Your generalized Fibonacci sequences and generalized Pascal's
Triangles are linear combinations of the standard sequences and
triangles with shifts.
m,n,m+n,m+2n, 2m+3n...
is the sum of the sequences
m,0,m,m,2m,...
0,n,n,2n,3n,...
and similarly, the coefficients of x, y, and z in this triangle
"""
Mosaics using Python generators...
by K. Urner
4dsolutions.net
based on a thread on mathfuture:
http://groups.google.com/group/mathfuture/msg/9d098696c2ea7426?hl=en
Just as the Fibonacci sequence generator might be "seeded" by any
two integers to start off, so might Pascal's Triangle be seeded