- --- In primenumbers@yahoogroups.com,

Dana Edgecomb <dedgecomb@...> wrote:

> Any base two number with an even number of zeroes is naturally

Not so.

> a multiple of two smaller numbers, and hence not prime.

print(binary(97))

[1, 1, 0, 0, 0, 0, 1]

David - --- In primenumbers@yahoogroups.com, Dana Edgecomb <dedgecomb@...> wrote:
>

How about 2^43112609-1? It has zero -- an even number -- of 0's and an odd number of 1's, in base 2.

>

> Prime numbers greater than two are those numbers, expressed in base two,

> which contain a one in the rightmost position and and odd number of

> ones, or (excluding leading zeroes) an odd number of zeroes, if there

> are any.

>

>

> Any base two number greater than two, with a zero in the rightmost

> position is naturally a multiple of two, and hence not prime.

>

>

> Any base two number with an even number of zeroes is naturally a

> multiple of two smaller numbers, and hence not prime.

>

7 = (111)_2 also fits,

Paul - --- In primenumbers@yahoogroups.com, Dana Edgecomb <dedgecomb@...> wrote:
>

Although Mr. Edgecomb is incorrect in this particular, the general principle that we can eyeball some numbers and quickly exclude them from primeness, holds.

>

> Prime numbers greater than two are those numbers, expressed in base two,

> which contain a one in the rightmost position and and odd number of

> ones, or (excluding leading zeroes) an odd number of zeroes, if there

> are any.

>

>

> Any base two number greater than two, with a zero in the rightmost

> position is naturally a multiple of two, and hence not prime.

>

>

> Any base two number with an even number of zeroes is naturally a

> multiple of two smaller numbers, and hence not prime.

>

> Dana E. Edgecomb

For instance, take any arrangement of digits yielding a number greater than one. If that digit arrangement occurs in a number more than once (and not overlapping), and the rest of the digits are zeros, we can know that the number is not prime.

Specifically, the number 101000101 is not prime because it has the digit arrangement 101 more than once, and the rest are zeros. This holds whether the number above was in binary notation or (say) decimal notation.

The mathematical reason for this should be clear. :)

Every composite number has its weakness. There will be some base in which to express such a number, which eyeballing will reveal to be composite. Of course, the number must be humanly sized. :) - --- In primenumbers@yahoogroups.com,

"Mark" <mark.underwood@...> wrote:

> Every composite number has its weakness.

This is true, in a unhelpful way. Suppose that N is divisible

> There will be some base in which to express such a number,

> which eyeballing will reveal to be composite.

by b, where N > b > 1. Then N ends in 0, when written in base b.

As remarked, this not particularly helpful :-)

David