On the use of the least common multiple to build a prime-generating recurrence