a. B is a positive integer no more than 20. If B of a is equal to 1 of 18, find the numbers represented by a and B

a. B is a positive integer no more than 20. If B of a is equal to 1 of 18, find the numbers represented by a and B

b/a²=1/18=2/36=4/144=18/324
36=6²
144=12²
324=18²
therefore
a=6,b=2
a=12,b=4
a=18,b=18