Perfect Numbers (1983)

#102 · ✸ 57 · 💬 5 · one month ago · fermatslibrary.com · sohkamyung
PERFECT NUMBERS. A perfect number is one such that all its factors, including one but excluding. 6 is a perfect number since 6 has factors. Euclid proved in his Elements that a number of the form 2. I used this fact to write a programme in Basic to find perfect numbers but. Rst we need a programme on prime numbers for checking if 2. 11 rem to calculate prime numbers up to a. 20 input a. 22 if a=2 then print"2": goto 100. So now let us see how we can use lines 40-60 to find perfect numbers.
Perfect Numbers (1983)



Archive | Send Feedback | WebAssembly Version (beta)