You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
237 B
11 lines
237 B
// This program prints the largest now known perfect number.
|
|
|
|
#include <cl_integer.h>
|
|
#include <cl_integer_io.h>
|
|
|
|
int main ()
|
|
{
|
|
int p = 1398269; // previous one was 1257787
|
|
cl_I x = (((cl_I)1 << p) - 1) << (p-1);
|
|
cout << x << endl;
|
|
}
|