3 ms·
It's worth being a little careful of some of the utilities available in Linux (et al). For example: $ primes 1154487209300 | head -1 > 1154487209303
by ColinWright 7y ago
It's worth being a little careful of some of the utilities available in Linux (et al). For example:
$ primes 1154487209300 | head -1
> 1154487209303
$ factor 1154487209303
> 1154487209303: 89669 12874987
In fact, this command is interesting:
$ factor $( primes 1154487209300 | head -n 200 ) \
| grep " .* " \
| head -n 30
YMMV, some care required.