Numbers were allocated by surname order within specialisation as we entered Dartmouth, so my SL aircrew mates are all within 15 of me. The format was CNNNNNX where N is a digit and X is a checksum letter.
The Army gave me a soldier's number when I went green. I've no idea if there's a checksum - 244NNNNN dates me