View Single Post
Old 2003-10-13, 11:09   #8
smh's Avatar
Oct 2002

22458 Posts

I'm puzzeled about this line:

20 J=(2*A+1)*3326400+1

I changed that program to find factors of all numbers of the form 2^P-1 but didn't find any until i changed the above line in:

20 J=2*A*3326400+1

Factors of Mersenne numbers are of the form 2*A*P+1, why adding an extra 1?
smh is offline