>> isprime(Y)
??? Error using ==> isprime
The maximum value of X allowed is 2^32. %2^(2^5) 就没法判断了
而且无法求2^(2^5) + 1的因子
>> factor(2^(2^5) + 1);
??? Error using ==> factor
The maximum value of n allowed is 2^32.
>>help factor
FACTOR Prime factors.
FACTOR(N) returns a vector containing the prime factors of N.
This function uses the simple sieve approach. It may require large
memory allocation if the number given is too big. Technically
it is possible to improve this algorithm, allocating less
memory for most cases and resulting in a faster execution
time. However, it will still have problems in the worst
case, so we choose to impose an upper bound on the input number
and error out for n > 2^32.