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
-
Create a matrix X, where each column is a shifted copy of the vector v
178 Solvers
-
120 Solvers
-
95 Solvers
-
673 Solvers
-
Replace secondary diagonal elements of a square array
145 Solvers
More from this Author104
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!