SPUG: Math GENIUS topic

cel1 cel1 at ix.netcom.com
Thu Jul 25 18:29:27 CDT 2002


The problem submitted by Chuck Orr falls under what is called
Diophantine analysis, which includes equations with integral
coefficients and integral values for the unknowns, like this one.  In
general, there are no analytic solutions which allow you to plug in
coefficients and crank out results, after the fashion of (for example)
the known solution to quadratic equations.

Some Diophantine equations have one and only one solution, but in
general this is not so.  Writing a script to go through the
possibilities is probably as good as you can do, and there were several
responses showing how to do this, with one response actually exhibiting
the multiple solutions possible for the problem as stated.

I echo one piece of curiosity expressed by another of the responders:
What is the problem domain?

Curtis Lacy
cel1 at ix.netcom.com



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org




More information about the spug-list mailing list