sigma.m
Version 1.0.0.0 (487 Bytes) by
David Terr
Given nonnegative integers k and n, sigma(k,n) is the sum of the kth powers of the divisors of n.
3.5K Downloads
Updated
26 May 2004
No License
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.
Cite As
David Terr (2024). sigma.m (https://www.mathworks.com/matlabcentral/fileexchange/4967-sigma-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Biological and Health Sciences in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | I updated this so that it works with my updated version of factor2.m (switched rows and columns). |