Puzzles

Puzzle #1: Performmence

Question: Find the 2 prime numbers that were multiplied together to get this number: 992474117


    function find() {
      // your code here ...
    }

    find();

Challenge: It can take time...


      function find() {
        const num = 992474117;
        let i = 1;
        while (num % ++i != 0);
        console.log(`${i}, ${num / i}`);
      }
  
      find();