Perfect numbers are rare. There are only 51 known. They get big fast ... The first five are: 6, 28, 496, 8128 and 33550336. There are no known odd perfect numbers; it has not been proven that odd perfect numbers do not exist. Slightly less rare are numbers that are close to perfect.
Send the names of the two people in your group to gtowell@brynmawr.edu.
Perfect and near perfect (within 6) numbers below 100000 (Only even numbers considered) -6 ---> [592, 52] -5 ---> [] -4 ---> [18632, 8384, 2144, 884, 152, 110, 44, 14] -3 ---> [] -2 ---> [32896, 136, 10] -1 ---> [8192, 32768, 2048, 512, 128, 32, 8, 2] 0 ---> [8128, 496, 28, 6] 1 ---> [4] 2 ---> [1952, 650, 464, 104, 20] 3 ---> [18, 16] 4 ---> [32128, 5830, 4030, 1888, 88, 70, 12] 5 ---> [] 6 ---> []
time elixir perfect.ex > perr.out real 1466m55.366s user 10852m14.119s sys 5m49.169sThis shows that my program used 10852 CPU minutes in 1466 clock minutes. That is a speedup of about 7.4 times (on an 8 core machine). Report your speedup(s) in your readme file for a run finding perfect numbers less than 1,000,000.
Your submission will be handed in using the submit script.
If you write your program on computers other than those in the lab, be aware that your program will be graded based on how it runs on the department’s Linux server, not how it runs on your computer. The most likely problem is not submitting everything or hard coding file locations that are not correct on the Linux servers.The submission should include the following items:
Again: Once you have everything you want to submit in the a5 directory within /home/YOU/cs245/