GlassKnees
New member
- Joined
- Jul 14, 2022
- Messages
- 6
I am trying to solve a problem in an old textbook. I am given a function of two variables that map ordered pairs of positive integers to the set of positive integers:
[math]F(x,y) = (x+y-1)(x+y-2)/2+y[/math]
I am asked to find inverse functions K and L with the property K(F(x,y)) = x and L(F(x,y)) = y.
To help myself, I created a table with x's across the top and y's down the side and filled in values for F(x,y) and here's what I'm seeing:
K(1) = 1, K(2) = 1, K(3) = 2, K(4) = 1, K(5) = 2, K(6) = 3, K(7) = 1, K(8) = 2, K(9) = 3, K10) = 4, K(11) = 1, K(12) = 2, K(13) = 3
And L(1) = 1, L(2) = 2, L(3) = 1, L(4) = 3, L(5) = 2, L(6) = 1, L(7) = 4, L(8) = 3, L(9) = 2, L(10) = 1, L(11) = 5, L(12) = 4, L(13) = 3
See attached file. Can anyone help me?
[math]F(x,y) = (x+y-1)(x+y-2)/2+y[/math]
I am asked to find inverse functions K and L with the property K(F(x,y)) = x and L(F(x,y)) = y.
To help myself, I created a table with x's across the top and y's down the side and filled in values for F(x,y) and here's what I'm seeing:
K(1) = 1, K(2) = 1, K(3) = 2, K(4) = 1, K(5) = 2, K(6) = 3, K(7) = 1, K(8) = 2, K(9) = 3, K10) = 4, K(11) = 1, K(12) = 2, K(13) = 3
And L(1) = 1, L(2) = 2, L(3) = 1, L(4) = 3, L(5) = 2, L(6) = 1, L(7) = 4, L(8) = 3, L(9) = 2, L(10) = 1, L(11) = 5, L(12) = 4, L(13) = 3
See attached file. Can anyone help me?