login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A368671 For any k >= 0, let P(k) = A368357(k) and P(-k) = A368358(k); for any n > 0, a(n) is the unique k such that P(k) = n. 1
0, 1, 2, -1, -3, -2, -4, 3, 7, 5, 9, 4, 8, 6, 10, -5, -13, -9, -17, -7, -15, -11, -19, -6, -14, -10, -18, -8, -16, -12, -20, 11, 27, 19, 35, 15, 31, 23, 39, 13, 29, 21, 37, 17, 33, 25, 41, 12, 28, 20, 36, 16, 32, 24, 40, 14, 30, 22, 38, 18, 34, 26, 42, -21 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
This sequence is a bijection from the positive integers to the integers (Z).
LINKS
Rémy Sigrist, PARI program
EXAMPLE
P(2) = A368357(2) = 3, so a(3) = 2.
P(-4) = A368358(4) = 7, so a(7) = -4.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A008584 A352833 A034390 * A183912 A144693 A328399
KEYWORD
sign,look
AUTHOR
Rémy Sigrist, Jan 02 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 24 00:02 EDT 2024. Contains 373661 sequences. (Running on oeis4.)