Am Freitag, 18. Juni 2021, 21:10:27 CEST schrieb Michael Orlitzky:
> > This depends on the actual domain of numbers. If the primes involved
> > have 20 digits as in your example, then factor should be used of course.
> > 
> > I suspect though that we're talking about small numbers (below 100?)
> > here, in which case a solution in pure bash would be preferable.
> 
> If so, we could just list them all.

The primes are usually small, the default is 23, and I have never seen anyone 
_lowering_ that number. The whole point is: the algorithm does much more than 
it should, which makes it needlessly verbose. The simpler the solution the 
better, preferably without restricting the actual number.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to