If we have 9 black blocks that stick together from 1-9 respectively to form a line and have another 9 blue blocks from 1-9 to put on a new line stick with the first line from 1-9. Find the probability of how you could stick the blue block with the black blocks so that the number won't be the same.
I dunno if what I'm doing is right or wrong at all but here is my idea. All the possible move could be $(9!)$ and the possible that we could do is 8[(8×6)+(7×5)+(6×4)+(5×3)+(3×1)]. The reason why I say that is because I think that the numbers can not be swap with neighbors ( sorry I'm not good at explaining ). Correct me if I'm wrong ( I dun think I could be right at all hahahah ) I hope everyone here could help me. Thank you