login
A371236
Triangle T(n, k), n > 0, k = 1..n, read and filled in the greedy way by rows with distinct positive integers such that for any n > 0, the terms in the n-th row are congruent modulo n.
4
1, 2, 4, 3, 6, 9, 5, 13, 17, 21, 7, 12, 22, 27, 32, 8, 14, 20, 26, 38, 44, 10, 24, 31, 45, 52, 59, 66, 11, 19, 35, 43, 51, 67, 75, 83, 15, 33, 42, 60, 69, 78, 87, 96, 105, 16, 36, 46, 56, 76, 86, 106, 116, 126, 136, 18, 29, 40, 62, 73, 84, 95, 117, 128, 139, 150
OFFSET
1,2
COMMENTS
Every integer appears in the sequence (as each row starts with the least missing value).
EXAMPLE
Triangle T(n, k) begins:
1
2 4
3 6 9
5 13 17 21
7 12 22 27 32
8 14 20 26 38 44
10 24 31 45 52 59 66
11 19 35 43 51 67 75 83
PROG
(PARI) See Links section.
CROSSREFS
See A075383, A371246 and A371248 for similar sequences.
Cf. A371237 (inverse).
Sequence in context: A361748 A377093 A372337 * A246366 A271865 A075652
KEYWORD
nonn,tabl
AUTHOR
Rémy Sigrist, Mar 16 2024
STATUS
approved