Thank you for response, Sir. But the question is correct. It requires us to get first N (6) perfect numbers. (where the divisors adds upto to the number. the quoted example is 28[1,2,4,7,14])
... View more
Can someone please help me answer this question. Write code in SAS that allows one to write to a csv file a data set with all natural numbers less than a given parameter N as well as a boolean variable indicating if the number is perfect or not. So the CSV must contain 1, False 2, False 6 True Im a first time SAS user and I cant seem to go anywhere with this.
... View more