Identify Wagstaff primes
The numbers 3, 43, and 2731 are examples of <https://mathworld.wolfram.com/WagstaffPrime.html Wagstaff primes>.
Write a func...
5 years ago
Solved
Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon.
Remember the area of pentagon is calculate ...
5 years ago
Solved
Compute the harmonic numbers
The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...
5 years ago
Solved
Compute the perimeter of an ellipse
While the area of an ellipse is straightforward to compute, the perimeter (or circumference) is more complicated. The perimeter ...