Well, I am trying to do the following: I have two functions $y(r,a)$ and $z(r,a)$ and I want to check of the division of both those functions leads to an integer. In order to do that I want to choose the value of $r$ run through $0\le a\le n$ and go to $r+1$ and test again $0\le a\le n$. And so on. How can I do that?
I also want to use the Monitor[] function to visually see what the current status is $r$ and $a$. I know that I can do that using Monitor[Parallelize[While[True,If[IntegerQ[...],Print[...]];...++];...],...]. But from that point on I do not know.
Example:
$y(r,a)$:
-34 + Sqrt[3] Sqrt[
3 (-4 + r)^2 + 45 a^2 (-2 + r) - 2 a (-11 + r) (-2 + r) +
4 a^3 (-8 + r)^2] + 3 r
$z(r,a)$
9 (-a + r)
So it has to check when $\frac{y(r,a)}{z(r,a)}$ is an integer. For $3\le r\le10^3$ and $0\le a\le10^4$
nand show what values you wantaandrto go through.Range[0,n]gets you the values from 0 to n, but what does it mean forrto go tor+1? – Syed Jan 15 '22 at 17:36