The following Matlab project contains the source code and Matlab examples used for the divisors of a number, perfect, amicable, and sociable numbers.
This submission was written purely for fun, as an introduction to some simple things you can do with integers in MATLAB.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
aliquotparts.m | 1575 |
aliquotsum.m | 4959 |
amicablecycles.m | 3135 |
demo_aliquot_parts.m | 8464 |
demo_aliquot_parts.html | 26902 |
license.txt | 1313 |