connected number sequencing