[LON-CAPA-users] prime factorization

Roy Vson lon-capa-users@mail.lon-capa.org
Tue, 18 Mar 2008 22:00:37 -0500


Justin:  I don't have code to give you, but here are some citations with code
Perl Cookbook, 2nd ed. pp 87-89

Mastering Algorithms with Perl, pp505-510.

Also, look at CPAN:    google  prime factors site:cpan.org.

Have fun.

Roy


On Tue, Mar 18, 2008 at 9:14 PM, Justin Gray <jgray@math.sfu.ca> wrote:
> Does anyone know how to write a mathresponse problem with an answer
> algorithm that will check whether an integer has been factored into primes?
>
> Justin
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Justin Gray Tel. 778-782-4237
> Dept. of Mathematics Fax. 778-782-4947
> Simon Fraser University
> 8888 University Drive
> Burnaby, B.C. V5A 1S6
> Canada
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~