No need for a length test in Palindrome anymore.
Only need y till 500.
Improved slightly : starting with all factors.
New algorithm.