Exercise · ZW-OPEN-BALL-008 · ★★☆ Intermediate
How many points \((a,b)\) with integer coordinates lie in the Euclidean ball \(B((0,0),3)\)?
Choose one option.
Show answer
- B. 25
Exercise · ZW-OPEN-BALL-008 · ★★☆ Intermediate
Choose one option.
Count the integers with \(a^2+b^2<9\): for each \(a\in\{-2,\dots,2\}\) there are 5 values of \(b\), and \(a=\pm3\) fails. Total: 25 (the 4 points with \(a^2+b^2=9\) are outside).
The open ball \(B(x,r)\) with center \(x\) and radius \(r>0\) in a metric space \((X,d)\) is the set of points of \(X\) whose distance to \(x\) is less than \(r\).