Identifying which numbers are similar