answersLogoWhite

0


Best Answer

Take the numbers, factor them, then make a list of all the proper divisors and add them up.
To factor use a Computer Algebra System like Maple, Mathematica or Axiom, if you like.

http://en.wikipedia.org/wiki/Amicable_number
http://en.wikipedia.org/wiki/Divisor
http://axiom-wiki.newsynthesis.org/uploads/chapter-9.13-26.xhtml#sec-9.22

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to check given two numbers are amicable or not?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Shell program for gcd of three given numbers?

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html


Could you write a assembly language program in tasm To check whether a given number present in a sequence of given memory location containing the string to be checked in 8086?

8086 assembly language program to check wether given number is perfect or not


How do you write a program that removes all occurrences of a given X in a given sequence of numbers?

You do nothing! A sequence of numbers will contain no X and so nothing needs doing!


How do you write a c program sum of ODD Numbers in the Given Range?

Reference: cprogramming-bd.com/c_page4.aspx#ODD%20 Numbers


How do you write a program to read set of numbers using by an array and display the ascending order of the given input numbers?

To write a C++ program to display the student details using class and array of object.


How do you write a program to find out the percentage of given numbers using the structure in C?

Count all the given numbers then count all the numbers of a given value. Divide one by the other and multiply by 100. For instance, if there are 50 numbers in total and 5 of them have the value 42, then the percentage of numbers with the value 42 is 5 / 50 * 100 = 10%.


Shell script to find amstrong numbers within a given range?

Check below link


How do you write a program that calculates the sum of the matrix elements given numbers?

ring me and ill explain - 086 22222222222222227 ring me


How do you find the quotient and then check your answer?

quotient is the answer to a division problem so after dividing, to check your answer, you need to take the quotient and multiply it to one of the given numbers.


Lab manual in mca 1st sem from ignou?

write a program in C to check whether a given number is apalindrome or not


Write a java program to find sum of even and odd numbers in given array?

for(int i = 1; i < 100; i+=2) { System.out.println(i); }


What are the two given numbers of 56?

No numbers are given!