A359752 Lexicographically earliest array of distinct positive integers read by antidiagonals such that integers in cells which are a knight's move apart are coprime.
1, 2, 3, 4, 5, 7, 6, 8, 9, 11, 13, 17, 19, 23, 10, 12, 15, 21, 27, 16, 14, 22, 25, 29, 31, 37, 20, 33, 18, 24, 35, 26, 39, 41, 43, 47, 49, 53, 59, 61, 32, 55, 67, 45, 28, 30, 51, 57, 63, 34, 36, 71, 73, 38, 44, 40, 65, 79, 83, 89, 85, 77, 91, 69, 42, 75
Offset: 1
Examples
The array begins: 1 2 4 6 13 12 22 18 ... 3 5 8 17 15 25 24 ... 7 9 19 21 29 35 ... 11 23 27 31 26 ... 10 16 37 39 ... 14 20 41 ... 33 43 ... 47 ...
Links
- Jodi Spitz, Table of n, a(n) for n = 1..5499
- Rémy Sigrist, Colored representation of the first 500 antidiagonals (plus-shaped patterns correspond to even values)
- Rémy Sigrist, PARI program
Crossrefs
Cf. A097883.
Programs
-
PARI
See Links section.
Extensions
More terms from Rémy Sigrist, Mar 09 2023
More terms from Jodi Spitz, Mar 10 2023