0. Now in every subsequent row, we look at the previous row and replace each occurrence of
01, and each occurrence of
K, return the
K-th indexed symbol in row
N. (The values of
Kare 1-indexed.) (1 indexed).
Nwill be an integer in the range
Kwill be an integer in the range