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.
3098 Solvers
2214 Solvers
273 Solvers
Project Euler: Problem 16, Sums of Digits of Powers of Two
91 Solvers
Compute a dot product of two vectors x and y
754 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!