[go: up one dir, main page]

login
A380185
Distinct nonpositive values of A380123, negated, in order of appearance and with offset 0.
3
0, 1, 2, 5, 4, 3, 10, 8, 9, 7, 6, 21, 20, 17, 16, 19, 15, 18, 14, 13, 12, 11, 42, 40, 34, 32, 41, 33, 39, 31, 38, 30, 37, 36, 35, 29, 28, 27, 26, 24, 25, 23, 22, 85, 84, 81, 80, 69, 68, 65, 64, 83, 79, 67, 63, 82, 66, 78, 62, 77, 76, 61, 60, 75, 59, 74, 72, 73
OFFSET
0,3
COMMENTS
This sequence is a permutation of the nonnegative integers with inverse A380186.
EXAMPLE
Sequence A380123 begins: 0, 0, 1, 0, 2, -1, 0, 3, 4, 0, 4, 0, 1, 4, 5, -2.
The present sequence begins: 0, 1, 2.
PROG
(PARI) \\ See Links section.
CROSSREFS
Cf. A380123, A380183, A380186 (inverse).
Sequence in context: A266415 A132664 A072029 * A380186 A309734 A309668
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 15 2025
STATUS
approved