A Little NUmber Curiosity

For the Compleat Fan
Locked
DrDave
Posts: 126
Joined: Wed May 21, 2008 2:47 pm

A Little NUmber Curiosity

Post by DrDave »

Recently, I was doing some number crunching that involved 9 and multiples thereof. Just for fun, look at the digits for the INVERSE of each of these numbers. The "special properties" (whatever that might mean) of 9 have been studied and used since ancient times.

In the numbers below, they mostly show insertion of zeros. But the set begining with 81 runs a bit differently by inserting various digits. And it appears 81*9 =729 contiunes with the insertion of digits. I didn't pursue this one further.

I'm sure those of you that are pattern finders will see also that the sum of the digits reduce to 9.

Also, why don't ALL numbers that reduce to 9 give these "unusual" sequences? For example, 27 doesn't produce a very "pleasing" sequences of digits.

9, 99, 999, 9999, ...

18, 1818, 181818, ...

45, 4545, 454545, ...

36, 3636, 363636, ...

81, 8181, 818181, 81818181, ...

108, 108108, 108108108, ...

81*9 = 729

DrDave
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Re: A Little NUmber Curiosity

Post by cormullion »

I think there's a book about number 9. 9 is a bit odd in my view.

DrDave
Posts: 126
Joined: Wed May 21, 2008 2:47 pm

Re: A Little NUmber Curiosity

Post by DrDave »

cormullion wrote: 9 is a bit odd in my view.
You are so right. And it's also a little square.
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2

Kazimir Majorinc
Posts: 388
Joined: Thu May 08, 2008 1:24 am
Location: Croatia
Contact:

Re: A Little NUmber Curiosity

Post by Kazimir Majorinc »

When you speak about problems with 27, that means that 1/27 doesn't make nice output, right?

DrDave
Posts: 126
Joined: Wed May 21, 2008 2:47 pm

Re: A Little NUmber Curiosity

Post by DrDave »

Kazimir Majorinc wrote:When you speak about problems with 27, that means that 1/27 doesn't make nice output, right?
Essentially, yes. When you compare the inverse of 27, 27227, 27272, etc. with any of the others that I listed above, it doesn't seem to be inserting either zeros or other digits as the above numbers do.
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2

Locked