Re: prime numbers and African artifact

Arne Rohde (arne@pinn.gen.nz)
Fri, 14 Jul 95 11:54:30 GMT

In article <3tso8h$giu@netaxs.com> mikeh@netaxs.com writes:

> Rick Hawkins (rhawkins@iastate.edu) wrote:
> : >> Prime numbers are those numbers which can NOT be divided evenly by
> : >> another whole number... 1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31...
>
> : >Hurrah!
> : But only half- credit, since it's the wrong answer. 1 is not prime.
>
> On a related topic, the binary system has the interesting property that
> all numbers which end in 1 are prime: 001, 011, 101, 111, ...

In a Mac, 0xBEEF is not considered prime (and may not even be real).
That's 1011 1110 1110 1111 in binary, which ends in 1.

+---------------------------------------------------------------------------+
| Arne Rohde Internet: arne@pinn.gen.nz or: arne@kcbbs.gen.nz |
| The surest way of making a monkey of a man is to quote him. |
| -Robert Benchley |
+---------------------------------------------------------------------------+