# SPUG: FW: Help..Any Math GENIUS out there?

Pommert, Daniel Daniel.Pommert at verizonwireless.com
Thu Jul 25 14:51:48 CDT 2002

```Oops.  This one is simpler than I thought.  E must = 17.  The equation
reduces to:
A + (36*B) + (360*C) + (3600*D) = 103812.
This implies that D must a value from 25 through 28.
Now, you only have 36 * 36 * 4 choices to search.  That's a little over
5,000.

-- Daniel

-----Original Message-----
From: Orr, Chuck (NOC) [mailto:chuck.orr at attws.com]
Sent: Thursday, July 25, 2002 10:51 AM
To: 'spug-list at pm.org'
Subject: SPUG: FW: Help..Any Math GENIUS out there?

> Hello,
>
> I am hoping to use Perl to solve an equation like the below:
>
> A + (36*B) + (360*C) + (3600*D) + (129600*E) = 2,307,012
>
> I know that each of the variables A - E is a whole number in the range
> 1-36.
>
> Could I load those numbers (1 -36) in an array and substitute each number
> for each variable until this is solved?
>
> Any ideas would be greatly appreciated.
>
>
> Thanks,
> Chuck Orr
> AT&T Wireless Services
> 425 288 2386
> chuck.orr at attws.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
For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest