login
A333780
a(n) = g(-n) - g(n), where g corresponds to the inverse of A333773.
2
0, 1, 4, 3, 2, 11, 12, 13, 10, 9, 8, 5, 6, 7, 34, 33, 32, 35, 36, 37, 40, 39, 38, 29, 30, 31, 28, 27, 26, 23, 24, 25, 16, 15, 14, 17, 18, 19, 22, 21, 20, 101, 102, 103, 100, 99, 98, 95, 96, 97, 106, 105, 104, 107, 108, 109, 112, 111, 110, 119, 120, 121, 118
OFFSET
0,3
COMMENTS
This sequence appears to be a self-inverse permutation of the nonnegative integers.
LINKS
EXAMPLE
For n = 2:
- A333773(4) = 2, g(2) = 4,
- A333773(8) = -2, g(-2) = 8,
- so a(2) = 8 - 4 = 4.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A333773.
Sequence in context: A105109 A227182 A065367 * A033882 A062111 A181596
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 05 2020
STATUS
approved