login
A257271
Inverse of the permutation A257470.
1
0, 1, 2, 5, 3, 8, 6, 11, 4, 14, 9, 17, 7, 20, 12, 23, 26, 29, 15, 32, 10, 35, 18, 38, 41, 44, 21, 47, 13, 50, 24, 53, 27, 56, 30, 59, 16, 62, 33, 65, 68, 71, 36, 74, 19, 77, 39, 80, 42, 83, 45, 86, 22, 89, 48, 92, 95, 98, 51, 101, 25, 104, 54, 107
OFFSET
0,3
PROG
(PARI) vecsort(A257470[1..-1], , 1)[1..150]-vector(150, i, 1-A257470[1]) \\ Assuming that A257470 is a vector with enough terms of that sequence. The adjustment -vector(...) is only necessary (due to PARI's indexing conventions) if the vector starts with a(0)=0.
CROSSREFS
Sequence in context: A300896 A191732 A197393 * A257280 A050171 A258406
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 25 2015
STATUS
approved