By way of as 'PS' to my last. Fred said: "This algorithm holds only for neighbouring bells, ...... i.e. you can only apply it one change at a time. For example, 324156 gives 21100[0] = 270 624153 gives 51201[0] = 637" Who would want to ring these two changes successively? Robin.