Composition Operations of Generalized Entropies Applied to the Study of Numbers