Skip to content

Welcome Sites Tools Teacher guide Help
  You are not logged in Join

Log in

Comment

Comment

Discussion icon This doesn't work because...

Posted by: Sofia at 16-03-05

George: But then you put into correspondence exactly one number to each input number. I think that Ken asks if it is possible to put into correspondence each input number with a couple of numbers so that the generated sequence would not have duplicates.

 

 

Ivan: O.K. – we could alternate their sign then.

1 -> 1, -2

2 -> 2, -3

3 -> 3, -4

. (no_duplocates.tt)





Comment

Discussion icon Nice

Posted by: Ken at 16-03-05

If I understood correctly how to use your robot it produces

1, -1

2, -2

etc.

which is even better since then the robots produce all the non-zero integers if they ran forever.

By the way, I wonder why you pair the numbers in boxes -- why not just give the first number to the bird and then the second one? This way the result is a sequence of numbers rather than a sequence of pairs of numbers. And then it is interesting to compare it with the robots of activity 2 (task B). Which style (merging two 1-to-1 streams or creating a 1-to-2 robot) do you think is better?