A141728 Triangle read by rows T(n,k). Triangle elements are 0 and 1. Starting with 1 in the top add below a second row of (2n-1) elements (with n=2 -> 3). Moving from left to right add 1 if the number of adjacent 1's is even or add 0 if it is odd. See example below.
1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1
Offset: 0
Examples
.....................................1 First Row ..................................0 ... Add 0 to have an odd number of adjacent 1's .....................................1 First Row ...................................0.0 ... Add again 0 to have an odd number of adjacent 1's ......................................1 First Row ...................................0.0.0 ... Again add 0 to have an odd number of adjacent 1's The second row is now complete. .....................................1 First Row ...................................0.0.0 Second Row .................................1 ... Add 1 because there are no adjacent 1's .....................................1 First Row ...................................0.0.0 Second Row .................................1.0 ... Add 0 because there is one adjacent 1 (third row) .....................................1 First Row ...................................0.0.0 Second Row .................................1.0.1 ... Add 1 because there is no adjacent 1 .....................................1 First Row ...................................0.0.0 Second Row .................................1.0.1.0 ... Add 0 because there is only an 1 adjacent (third row) .....................................1 First Row ...................................0.0.0 Second Row .................................1.0.1.0.1 ... Add 1 because there is no adjacent 1 The third row is now complete. Then repeat the process for the other rows.
Links
- Paolo P. Lava, Picture of Triangle A141728
Comments