For an integer n, the prime big omega function,
, is defined as the total number of prime factors of n. So, if
, since
, therefore
.
Given an integer n, write a function that evaluates the following summation:
For example for
:
In this case therefore, the function should return
.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
4490 Solvers
-
The Hitchhiker's Guide to MATLAB
3412 Solvers
-
Flip the main diagonal of a matrix
914 Solvers
-
Compute the nth term from the golden sieve
19 Solvers
-
Easy Sequences 45: Second Derivative of Inverse Polynomial Function
6 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!