Search this site


Metadata

Articles

Projects

Presentations

Finding multiplicative inverses using perl

perl -le 'while (++$x) { print $x and exit if (($ARGV[0] * $x) % $ARGV[1] == 1) }' -- -215 26