Problem 52764. Easy Sequences 24: Number of Coprime Lattice Points
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
Rafael S.T. Vieira
on 25 Nov 2022
Nice solution using the Euler's totient function. I've tried it too, but I couldn't figure out a friendly algorithm like this. I've resorted to my probability knowledge :)
Problem Recent Solvers6
Suggested Problems
-
Find the sum of all the numbers of the input vector
41446 Solvers
-
213 Solvers
-
65 Solvers
-
Is this triangle right-angled?
4628 Solvers
-
Pattern Recognition 2 - Known Unit Length, Various Array Length (including cell arrays)
38 Solvers
More from this Author90
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!