OFFSET
0,3
COMMENTS
This sequence is a permutation of the nonnegative integers, with inverse A338254 (the offset has been set to 0 so as to have a permutation).
LINKS
EXAMPLE
A338251 = 0, 1, -1, -2, 2, 3, 5, 4, -4, -3, -5, -6, -10, -9, -7, -8, ...
We keep: 0, 1, 2, 4, 3, 5, 6, 10, 9, 7, 8, ...
PROG
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Oct 18 2020
STATUS
approved