Number representation and classification