A297673 Triangular array T(n, k) read by rows, n > 0, 0 < k <= n: T(n, k) = least unused positive value (reading rows from left to right) such that T(n, k) + T(n+1, k) + T(n+1, k+1) is prime.
1, 2, 4, 3, 6, 7, 5, 9, 8, 14, 10, 16, 12, 11, 18, 13, 20, 17, 24, 26, 15, 19, 21, 30, 32, 23, 22, 34, 25, 27, 31, 28, 29, 37, 38, 35, 33, 39, 41, 55, 44, 36, 40, 49, 43, 42, 52, 46, 50, 58, 47, 48, 51, 57, 63, 45, 62, 53, 64, 59, 56, 54, 61, 67, 69, 65, 60
Offset: 1
Examples
Triangle begins: 1: 1 2: 2, 4 3: 3, 6, 7 4: 5, 9, 8, 14 5: 10, 16, 12, 11, 18 6: 13, 20, 17, 24, 26, 15 7: 19, 21, 30, 32, 23, 22, 34 8: 25, 27, 31, 28, 29, 37, 38, 35 9: 33, 39, 41, 55, 44, 36, 40, 49, 43 10: 42, 52, 46, 50, 58, 47, 48, 51, 57, 63 The term T(1, 1) = 1 is involved in the following sum: - 1 + 2 + 4 = 7. The term T(3, 3) = 7 is involved in the following sums: - 4 + 6 + 7 = 17, - 7 + 8 + 14 = 29. The term T(4, 2) = 9 is involved in the following sums: - 3 + 5 + 9 = 17, - 6 + 9 + 8 = 23, - 9 + 16 + 12 = 37.
Links
- Rémy Sigrist, Rows n = 1..100, flattened
- Rémy Sigrist, Colored representation of the first 500 rows (where the color is function of the parity of T(n, k))
- Rémy Sigrist, PARI program for A297673
Programs
-
PARI
See Links section.
Comments