A088643 · Triangle read by rows: row n >= 1 is obtained as follows. Start with n, next term is always largest number m with 1 <= m < n which has not yet appeared in that row and such that m + previous term in the row is a prime. Stop when no further m can be found.
It is conjectured that row n is always a permutation of {1..n}. This has been verified for n <= 400000.
Triangle read by rows: row n >= 1 is obtained as follows. Start with n, next term is always largest number m with 1 <= m < n which has not yet appeared in that row and such that m + previous term in the row is a prime. Stop when no further m can be found.
See a worked example
For example, the 20th row is 20, 17, 14, 15, 16, 13, 18, 19, 12, 11, 8, 9, 10, 7, 6, 5, 2, 3, 4, 1.
Triangle begins:
1;
2, 1;
3, 2, 1;
4, 3, 2, 1;
5, 2, 3, 4, 1;
6, 5, 2, 3, 4, 1;
(...)