Sum powers of e-divisors - MATLAB Cody - MATLAB Central

Problem 60845. Sum powers of e-divisors

Difficulty:Rate
In number theory the function sigma_m(n) produces the sum of divisors of an integer n raised to the power m. Setting m = 1 sums the divisors, as in Cody Problem 46898, and setting m = 0 counts the divisors, as in Cody Problem 2664.
This problem involves e-divisors of an integer, which you listed in Cody Problem 60843 and counted in Cody Problem 60844.
Write a function to sum powers of e-divisors of an integer. If the argument m is not specified, take it to be 1.

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Apr 15, 2025

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers4

Suggested Problems

More from this Author298

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!