Given equation of the circle is
x2+y2+2λx−2λy+18=0
g=−λ,f=λ,c=18
We know that,
r≤6
⇒√λ2+λ2−18≤6
For the square root to be defined,
2λ2−18≥0⇒λ2≥9⇒λ∈(−∞,−3]∪[3,∞)⋯(1)
Now,
2λ2−18≤362λ2≤54⇒λ2≤27⇒λ∈[−3√3,3√3]⋯(2)
From equation (1) and (2), we get
λ∈[−3√3,−3]∪[3,3√3]⇒λ=−5,−4,−3,3,4,5
Hence, the required number of values of λ is 6.