i hope this helps. this is something i used to make a binomial factoring program a while ago. jimi :If int (d/x)==d/x :Then :<<x is a factor of d>> :Else :<<x is not a factor of d>> :End <<I have an easy question that i can't figure out. In basic, if the user entered a,b,c&d, and x=1, how do i make it find out if x is a factor of d?>>