Ok, it's a pretty dumb title but represents well what I need to know. I'm pretty much a noob in programming and I found a problem about finding the first 3 perfect numbers. I got it solved, but I wanted to see how far I could go. My computer can compute the first 5 without problem, but the sixht I never reach, since the memory overflows.
Is there a way to give more space to my variables, in order to compute that number? If no, Is there an alternative?
Thnaks in advance for your answers :)