First logic feature to see is that it is always symmetric about the central value in one sequence, so you will probably just need to store or compute one half of each row (from start to middle) and repeat in reverse for the remainder of the row (taking into account even and odd number of elements).
The second logic feature to see is more evident in the normal display of the pascal triangle (forgive the ASCII art):
1
/ \
1 1
/ \/ \
1 2 1
/ \/ \/ \
1 3 3 1
/ \/ \/ \/ \
1 4 6 4 1
....
From this it's clear that the operation that joins a \/ segment is the addition. So like in ganesh's pseudo-code, the basic idea is to add two adjacent elements of the previous row to get the corresponding element of the next row (except for the first element which is always 1 and the centre element of an odd-row which might be twice the element closest to centre of the even-row above it).
Show us some code of your own, and we can help you further.
mike_2000_17
Posting Virtuoso
2,126 posts since Jul 2010
Reputation Points: 1,634
Solved Threads: 456