A375112 Triangle T(n, k), n > 0, k = 0..n-1, read by rows; T(n, k) is the unique m such that A375110(m+1) = n and A375110(m) mod A375110(m+1) = k.
1, 3, 2, 5, 7, 4, 10, 9, 14, 6, 12, 16, 18, 8, 11, 21, 23, 20, 30, 15, 13, 26, 25, 32, 36, 40, 17, 22, 28, 34, 38, 42, 44, 19, 24, 27, 47, 49, 51, 53, 46, 72, 31, 33, 29, 56, 58, 60, 55, 74, 82, 90, 37, 35, 48, 63, 65, 62, 76, 84, 92, 98, 41, 39, 50, 57, 68, 67, 78, 86, 94, 100, 104, 108, 43, 52, 59, 64
Offset: 1
Examples
Triangle T(n, k) begins: 1; 3, 2; 5, 7, 4; 10, 9, 14, 6; 12, 16, 18, 8, 11; 21, 23, 20, 30, 15, 13; 26, 25, 32, 36, 40, 17, 22; 28, 34, 38, 42, 44, 19, 24, 27; 47, 49, 51, 53, 46, 72, 31, 33, 29; ...
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10011 (rows for n = 1..141 flattened)
- Rémy Sigrist, Colored representation of the first 1000 rows
- Rémy Sigrist, PARI program
- Index entries for sequences that are permutations of the natural numbers
Programs
-
PARI
\\ See Links section.
Comments