login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A371246
Square array A(n, k), n, k > 0, read and filled in the greedy way by upward antidiagonals with distinct positive integers such that for any n > 0, the terms in the n-th row are congruent modulo n.
4
1, 2, 3, 4, 6, 5, 7, 10, 8, 9, 11, 15, 13, 12, 14, 16, 21, 19, 22, 18, 17, 20, 28, 26, 23, 25, 24, 27, 29, 34, 40, 31, 35, 37, 30, 32, 33, 45, 41, 46, 36, 39, 43, 38, 42, 44, 51, 53, 48, 52, 56, 47, 49, 50, 54, 55, 64, 60, 61, 62, 58, 66, 59, 67, 68, 57
OFFSET
1,2
COMMENTS
Every integer appears in the sequence (as each row starts with the least missing value).
EXAMPLE
Array A(n, k) begins:
n\k | 1 2 3 4 5 6 7 8 9 10
----+--------------------------------------------
1 | 1 3 5 9 14 17 27 32 42 54
2 | 2 6 8 12 18 24 30 38 50 68
3 | 4 10 13 22 25 37 43 49 67 73
4 | 7 15 19 23 35 39 47 59 75 79
5 | 11 21 26 31 36 56 66 71 81 106
6 | 16 28 40 46 52 58 70 82 100 112
7 | 20 34 41 48 62 76 83 90 118 139
8 | 29 45 53 61 85 93 101 109 125 149
9 | 33 51 60 69 96 105 123 141 150 168
10 | 44 64 74 84 94 114 124 134 144 164
PROG
(PARI) See Links section.
CROSSREFS
See A371236 and A371248 for similar sequences.
Cf. A371247 (inverse).
Sequence in context: A194969 A194981 A057027 * A090894 A371360 A175004
KEYWORD
nonn,tabl
AUTHOR
Rémy Sigrist, Mar 16 2024
STATUS
approved