Finding double number in a sequence of single numbers