Computer Science, asked by asitjyotishi26, 1 year ago

Write a statement to generate a random number between 0 and 1..

Answers

Answered by 1YASHU
1
Amicable numbersare two differentnumbersso related that thesumof theproper divisorsof each is equal to the other number. (A proper divisor of a number is a positive factor of that number other than the number itself. For example, the proper divisors of 6 are 1, 2, and 3.) A pair of amicable numbers constitutes analiquot sequenceofperiod2. A related concept is that of aperfect number, which is a number that equals the sum ofits ownproper divisors, in other words a number which forms an aliquot sequence of period 1. Numbers that are members of an aliquot sequence with period greater than 2 are known associable numbers.The smallest pair of amicable numbers is (220,284). They are amicable because 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.
Similar questions