Problem 52769. Easy Sequences 22: Sum of Proper Fractions
Solution Stats
Problem Comments
-
2 Comments
Could not figure out how to speed up my code. Ended up having to use a lookup table to speed it up sufficiently.
Hi,
There is a shortcut using Mobius Inversion...
Solution Comments
-
2 Comments
I too had problems with the time limit for large arguments and had to resort to a few tricks. But my solution is still general.
There is a shortcut using Mobius Inversion...
Problem Recent Solvers4
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
386 Solvers
-
252 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
727 Solvers
-
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
124 Solvers
-
Find pairs of primes with the same digit sum
8 Solvers
More from this Author66
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!