Extract digits and check if array is smooth

Extract digits and check if array is smooth