Bash Script wanted - ALL common denominators of a set of numbers
Steven M. Klass
plug-discuss@lists.PLUG.phoenix.az.us
Fri, 22 Jun 2001 10:16:31 -0700
Hello again,
Hey I have a script request. I am looking for a bash script that finds and
print all common (integer) denominators of a set of numbers.
Example:
Given the numbers 12, 18 and 24
You get back 1, 2, 3, 6
Could someone help me on this
Thanks
--
Steven M. Klass
Physical Design Engineering Manager
Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 480-940-6200 ext. 18
Fax: 480-940-4255
sklass@andigilog.com
http://www.andigilog.com