This problem is looking for the number of vertices on the hexagonal grid inside the circle of radius r. The center of the hexagon is not counted as a point for this problem, and this is true for every hexagon inside the circle.
Find relatively common elements in matrix rows
897 Solvers
First non-zero element in each column
637 Solvers
498 Solvers
Create a Multiplication table matrix...
290 Solvers
Number of digits in an integer
343 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!