About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 46
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Abhisek Ukil
See full specifications

scripts default iconAmicable Number (Scripts) Publisher's description

Amicable numbers are two different numbers so related that the sum of the proper divisors of the one is equal to the other

Amicable numbers are two different numbers so related that the sum of the proper divisors of the one is equal to the other, one being considered as a proper divisor but not the number itself. Such a pair is (220, 284); for the proper divisors of 220 are 1, 2, 4, 5, 10, 11, 20, 22, 44, 55 and 110, of which the sum is 284; and the proper divisors of 284 are 1, 2, 4, 71, and 142, of which the sum is 220.

Check: http://en.wikipedia.org/wiki/Amicable_number

This is a function to compute amicable pairs between two intergers, upper & lower limits. Put the 'amicable.m' file into your MATLAB path or working directory and call the following syntax.

Function syntax:

where, N2 is the upper limit and N1 the lower limit, both positive integers.

If only one number is given, it is considered to be the upper limit and
the default lower limit is then 220 (as no amicable pair exists below 220).
If two numbers are given, the upper limit (1st number) must be greater than
the lower limit (2nd number).

The 'output' would be a matrix having two columns, for the amicable pairs.
The rows show the unique pairs. If no such pairs are found empty matrix is returned.

System Requirements:

MATLAB 7.3 (R2006b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Amicable Number (Scripts) Tags:

Click on a tag to find related softwares

Is Amicable Number (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.