A number is abundant if the sum of its proper factors exceeds the number. A number is deficient if the sum of its proper factors is less than the number. For example, the proper factors of 60 are 1,2,3,4,5,6,10,12,15,20,30. Two integers are friendly if the sum of the proper factors of each is the other. Two integers are realtively prime if the greatest common divisor of the two is 1.
Twin primes are consecutive prime numbers that differ by two.
For example 7 is a Mersenne prime. To test you code, use the Integer Analyzers . To turn a program in for this lab, login to dogbert and run turnin . Your file names must match those given in this lab- makefile , integers.cc and csintegers .