Dear All,(adsbygoogle = window.adsbygoogle || []).push({});

I have to test if a binary number is divisible to

2^n - 1 where n is even.

Is there a test available for binary numbers like to test a divisibility by 3.

Thanks in advance...

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Binary 2^n - 1 divisibility

Loading...

Similar Threads - Binary divisibility | Date |
---|---|

I Division Rings & Ring Homomorphisms ... A&W Corollary 2.4 .. | Tuesday at 3:51 AM |

Proof that all information can be coded in binary? | Aug 15, 2015 |

What are some simple non-associative binary operations? | Jul 28, 2013 |

Is there an example for a binary operation which is commtative and not associative ? | Nov 17, 2012 |

Evaluating the rank of combined binary circulant matrices | Apr 2, 2012 |

**Physics Forums - The Fusion of Science and Community**