Question: match rational function

s:=1/(y+a)^2;

s2:=1/(y+a)^(2/3);

type(s, smth rational)  should return true and type(s2, smth rational) -false. How to do that?

Please Wait...