A269356 Permutation of natural numbers: a(n) = A268674(A269379(n)).
1, 2, 3, 4, 5, 6, 7, 8, 17, 10, 11, 12, 13, 14, 15, 16, 19, 18, 29, 20, 25, 22, 9, 24, 23, 26, 27, 28, 31, 30, 21, 32, 73, 34, 53, 36, 37, 38, 39, 40, 41, 42, 43, 44, 107, 46, 47, 48, 33, 50, 51, 52, 59, 54, 71, 56, 137, 58, 101, 60, 61, 62, 63, 64, 109, 66, 67, 68, 121, 70, 35, 72, 97, 74, 75, 76, 79, 78, 131, 80, 197
Offset: 1
Keywords
Examples
For n=9 we first find what number is below 9 in square array A255127, which is 19, then we find what number is above 19 in square array A083221, which is 17, thus a(9) = 17.