SSC: Re: from the archives: another flame from greg

SSC: Re: from the archives: another flame from greg

Post by Adam Ha » Sat, 17 Jul 1993 05:26:01




|>

|> >|> rutgers!phoenix.princeton.edu!greg   Gregory A Nowak/Phoenix Gang/Princeton
|> >|> NJ
|> >|>     "Take 2*3*5*7*11*13.  It's divisible by 59." --Matt Crawford
|> >        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|> >I actually checked this.  Then thought, "well, ok, but not evenly".
|>
|> Sure it does.
|>
|> | Script started on Wed Jul 14 17:43:51 1993
|> |

|> | 30030

|> | 508

|> |
|> | script done on Wed Jul 14 17:44:05 1993
|>
|> Gerald

hmm,
I wonder what was the matter with my computation?

Adam
(fish on, fish on!)

 
 
 

SSC: Re: from the archives: another flame from greg

Post by Doug McLar » Sat, 17 Jul 1993 06:31:18





>|>

>|> >|> rutgers!phoenix.princeton.edu!greg   Gregory A Nowak/Phoenix Gang/Princeton
>|> >|> NJ
>|> >|>     "Take 2*3*5*7*11*13.  It's divisible by 59." --Matt Crawford
>|> >        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>|> >I actually checked this.  Then thought, "well, ok, but not evenly".
>|>
>|> Sure it does.
...

>|> | 508

>I wonder what was the matter with my computation?

Nothing. :)

2 x 3 x 5 x 7 x 11 x 13 = 30030

30030/59 = 508.98305 ...

It's *almost* 509, but not quite :)
--
----------------------- \  Zippy says:
Doug McLaren,            \  Do you think the ``Monkees'' should get gas on odd
DemoN on IRC              \  or even days?

-------------------------- /

 
 
 

SSC: Re: from the archives: another flame from greg

Post by Greg Gershowi » Sun, 18 Jul 1993 03:21:06





>|>

>|> >|> rutgers!phoenix.princeton.edu!greg   Gregory A Nowak/Phoenix Gang/Princeton
>|> >|> NJ
>|> >|>     "Take 2*3*5*7*11*13.  It's divisible by 59." --Matt Crawford
>|> >        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>|> >I actually checked this.  Then thought, "well, ok, but not evenly".
>|>
>|> Sure it does.
>|>
>|> | Script started on Wed Jul 14 17:43:51 1993
>|> |

>|> | 30030

>|> | 508

>|> |
>hmm,
>I wonder what was the matter with my computation?

   Simple.  expr only does INTEGER arithmetic.  Here's the REAL answer:

kryten# bc -l
2*3*5*7*11*13
30030
30030 / 59
508.98305084745762711864

   Read it and weep.

-Greg G
--
"No matter who you are, no matter what you look like, deep down in
the gunny sack of your soul, in the top drawer, in the back, on the
bottom, we all have a pair of pants with a pocket full of kryptonite."
"When God belches, it sounds OK" - Spin Doctors, Jones Beach, 7/9/93

 
 
 

SSC: Re: from the archives: another flame from greg

Post by Dik T. Wint » Mon, 19 Jul 1993 06:25:22


[ A lot attributions skipped. ]
 > >|> >|>     "Take 2*3*5*7*11*13.  It's divisible by 59." --Matt Crawford
 > >|> >        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 > >|> >I actually checked this.  Then thought, "well, ok, but not evenly".
 > >|>
Nobody thought that the quote can be incomplete?  Add one and it *is*
divisible by 59.  (Probably the original had something to do with the
divisibility of one plus the product of the first few primes.)
--
dik t. winter, cwi, kruislaan 413, 1098 sj  amsterdam, nederland