sigma.m

Given nonnegative integers k and n, sigma(k,n) is the sum of the kth powers of the divisors of n.

Vous suivez désormais cette soumission

Given nonnegative integers k and n, sigma(k,n) is the sum of the kth powers of the divisors of n. When k=0, this is just the number of divisors of n.

Note: This program requires first downloading factor2.m.

Citation pour cette source

David Terr (2026). sigma.m (https://fr.mathworks.com/matlabcentral/fileexchange/4967-sigma-m), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Biological and Health Sciences dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

I updated this so that it works with my updated version of factor2.m (switched rows and columns).