Moderators: jestingrabbit, Moderators General, Prelates
xkcd wrote:(Technical note -- the function is a bijection. That is, every positive integer N has one F(N) and every integer is evenutally generated by this function -- it's a complete one-to-one mapping.)
Erasmus wrote:xkcd wrote:(Technical note -- the function is a bijection. That is, every positive integer N has one F(N) and every integer is evenutally generated by this function -- it's a complete one-to-one mapping.)
Sounds like you've described it to be a surjection, not a bijection. For any function f, for any x in the domain of f, there is only one value of f(x) -- that's what makes it a function. The fact that every integer is generated by F makes F surjective. If F is also injective -- every F(N) has one N -- then it's bijective.
jestingrabbit wrote:It sounds like a bijection to me, especially given the use of the word 'one'.
xkcd wrote:34 110111 51 (not 55)
35 110101 49 (not 53)
beard0 wrote:xkcd wrote:34 110111 51 (not 55)
35 110101 49 (not 53)
I just wanted to check that when you made the correction, you just forgot to change the binary - the discrepancy isn't part of the problem, is it?
Toeofdoom wrote:EDIT: k, i think me and my brother have got F(40) and F(42)... (mainly my work of course ...)
ameretrifle wrote:Magic space feudalism is therefore a viable idea.