New answers tagged

2 votes

Algorithm to calculate lower incomplete gamma function

It seems that the algorithm is based on the approximation of the following continued fraction: (The image from the Boost C++ Library documentation) To approximate such a fraction one can use the ...
user avatar
  • 131
-1 votes

Factor a number in the longest possible product of distinct numbers

A nice problem. You will have to do some rather exhaustive / exhausting search :-) First, ignore the number 1. Make all your factors products of one or more primes, and add the number 1 at the end. ...
user avatar
  • 24.9k

Top 50 recent answers are included