Thanks for your kindly reply. This is very helpful and figuring out my mistake. The keywords are extremely useful to let me understand the topics behind. May I ask you a few more questions, if you have time to answer.
Is it to avoid the same number be picked here?
It seems there are difference generated even without ‘numA’ being added.
Is here using % to give a reverse series of number? But why + 1 ? Because the floor function is used?
Sorry for my English.
Very appreciate your time on my work befoe. Thank you again.