• Home
  • About
  • Contact
  • Sitemap
  • Converter
  • Calculator
  • HowTos
  • Topics

Articles from November, 2009

Seeing Powers of Five in Powers of Two and Vice Versa

By Rick Regan Contact e-mail icon (Published November 16th, 2009)

The decimal representations of oppositely signed powers of two and powers of five look alike, as seen in these examples: 2-3 = 0.125 and 53 = 125; 5-5 = 0.00032 and 25 = 32. The significant digits in each pair of powers is the same, even though one is a fraction and one is an integer. In other words, a negative power of one base looks like a positive power of the other.

Powers of Two and Powers of Five that Look Alike

Powers of Two and Powers of Five that Look Alike

This relationship is not coincidence; it’s a by-product of how fractions are represented as decimals. I’ll show you simple algebra that proves it, as well as algebra that proves similar properties — in products involving negative powers.

Continue reading …

Cycle Length of Powers of Two Mod Powers of Ten

By Rick Regan Contact e-mail icon (Published November 6th, 2009)

In my article “Patterns in the Last Digits of the Positive Powers of Two” I noted that the positive powers of two modulo 10m cycle with period 4·5m-1, starting at 2m. For example, the powers of two mod 10 cycle with period four: 2, 4, 8, 6, 2, 4, 8, 6, … . In this article, I’ll present my proof, which has two parts:

  • Part 1 shows that the powers of two mod 5m cycle with period 4·5m-1, starting at 20.
  • Part 2 shows that the powers of two mod 10m cycle with the same period as the powers of two mod 5m, starting at 2m.

Continue reading …


Subscribe

RSS feed icon
Get articles by RSS (What Is RSS?)
RSS e-mail icon
Get articles by e-mail

Featured Articles

  • Elements of Binary in the NCAA Basketball Tournament

    Is it basketball or binary?

  • What a Binary Counter Looks and Sounds Like

    See and hear the symmetry in binary counting.

  • Visualizing Consecutive Binary Integers

    Binary numbers in black and white.

  • Seeing Powers of Five in Powers of Two and Vice Versa

    2-3 = 0.125 and 53 = 125 -- why do they look similar?

Most Popular Articles

  • Java Hangs When Converting 2.2250738585072012e-308

    Java's decimal to floating-point conversion can lead to a DoS attack.

  • PHP Hangs On Numeric Value 2.2250738585072011e-308

    PHP's decimal to floating-point conversion can lead to a DoS attack.

Articles by Category

  • Powers of two
  • Binary numbers
  • Binary code
  • Binary logic
  • Numbers in computers
  • Background math

Articles by Tag

Algebra Binary-coded decimal Binary arithmetic Binary integers C Code Convert to binary Convert to decimal Convert to hexadecimal Decimals Education Exponents Floating-point Fractions Geekware Geometric series Java Modular arithmetic Pascal's triangle PHP Pop culture Proof

Articles by Date

  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008

Latest Articles

  • Binary Addition
  • Bigcomp: Deciding Truncated, Near Halfway Conversions
  • Exploring Binary: One Million Views
  • Using Integers to Check a Floating-Point Approximation
  • strtod()’s Initial Decimal to Floating-Point Approximation
  • Fast Path Decimal to Floating-Point Conversion
  • Why Powers of Ten Up to 1022 Are Exact As Doubles
  • Correct Decimal To Floating-Point Using Big Integers
  • Binary Numbers Haiku
  • How I Taught Third Graders Binary Numbers

Powered by WordPress

Copyright © 2008-2012 Exploring Binary