Question 1134602
.
It can be solved simpler.


See the link in the @MathLover1 post.