I am trying to find particular solutions to my inequality for two positive integers $a$ and $b$:


However I want $a$ and $b$ to to be both above $10^3$. How may I achieve this? Is there a way to use Assumptions for this or some sort of magic along the lines of:

FindInstance[a<f[etc...]*b,{a,b},Integers,a>10^3 && b>10^3]

Put the constraint in the expression.

FindInstance[a < a*b && a > 10^3 && b > 10^3, {a, b}]
(* {{a -> 1001, b -> 1001}} *)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.