Is it possible to make a restriction for an integer to say that it cannot be a (ideal) square number?
I have:
square(Square):- N
How to determine notsquare(Notsquare):- ...
My first thought was to have P*P =Q*Q*NotsquareandRemainder #>0, Remainder #= P rem Q.
But P and Q must not be integers, so this did not work.
source
share