Thanks. Got me on right tracks:
solve gcd(n, 30) = 1 1<=n<=100 for n
And
n such that gcd(n, 30)=1, n=1 to 100