Real Numbers Base…Factorials! And A By-product

PROPOSITION 1:  For a real number  x  there exists a sequence x1,x2,x3, of integers such that

x=x1+x22!+x33!++xnn!+,()

where x1 can be any integer, but for n2, xn{0,1,,n1}. Furthermore, if we require that the partial sums be strictly smaller than  x, then such a representation is unique.

Remark: One cannot help recalling decimal or binary expansion of numbers. Notice that nn!=1(n1)! (drops back to previous digit), so the bound on xn is logical.

Proof:

Choose the biggest integer x1 strictly smaller than x. If x1+12! is strictly less than x then choose x2=1, otherwise, choose x2=0. Assume we have picked x1,x2,,xn, then we’ll choose xn+1 to be the largest of {0,1,2,,n} so that

x1+x22!++xnn!+xn+1(n+1)!<x.

We’ll prove that this inductive choice of {xn}n=1 satisfies the expansion ().

Claim: For every n,

0<x(x1+x22!++xnn!)1n!(ES)

Proof of the claim: If xnn1, this is an immediate consequence of the choice of xn: by optimality of xn we have

x1+x22!++xnn!<xx1+x22!++xn+1n!

Subtracting  x1+x22!++xnn! from each term yields (ES).

If xn=n1, the maximum possible, then we have the identity

x1++xnn!+1n!=x1++xn1(n1)!+n1n!+1n!=x1++xn1(n1)!+1(n1)!

To obtain (ES) it suffices to show that this quantity is bigger than or equal to x. Comparing the first and last expressions, we see that we have reduced case n to (n-1). Thus, either we work backwards to reach n=1, considering cases for xn1 for this current step and so on,  or we switch to an inductive proof, to attain (ES). Case n=1 is obviously true.

The uniqueness part’s proof: Assume that some x has two different representations:

x1+x22!+x33!++xnn!+=y1+y22!+y33!++ynn!+

We’ll prove that one of them is a finite sum. Assume that k is the first index where xkyk, and, without loss of generality, that xk>yk  . Then,

xkykk!=n=k+1ynxnn!(EQ)

Notice that while xkykk!1k!,

|k+1ynxnn!|n=k+1|ynxn|n!n=k+1n1n!=n=k+1(1(n1)!1n!)=1k!.

Thus, the only way for (EQ) to hold is to have xk=yk+1 and for all n>k, xn=0 and yn=n1 ; an analogous situation to 1.73=1.7299999 in decimal base.

Note that out of the two representations only one is strictly increasing to its limit, proving the uniqueness claim.

The Backstory: My independent discovery of this expansion was triggered by my search for a compact set in R with no isolated points (every point’s every neighborhood contains other points of the set as well) and no rationals. This was a question my favorite analysis professor, Dr. Rezaee, had asked me to think about.

For months my approach had been to start with [0,1] and then try to remove successively more and more subsets. But I had failed to land on the right set. Then there was this morning that I was sitting in a different class when suddenly I recalled an exercise from Tom M. Apostol’s Mathematical Analysis book:

Exercise: The number x=x1+x22!+x33!++xnn!+ (as in proposition 1) is rational if and only if there exists an NN such that

n>Nxn=n1.

“I know so many irrational numbers!” I said to myself and there I was with a set.

Solution to the exercise: Suppose the condition holds. Then, as shown by uniqueness part’s proof above, the sum is equal to a finite sum, each of whose terms are rational.

For the other direction, suppose x is rational then, for relatively prime pZ,qN we have

x=pq=i=1xii!

Multiplying the sides by q! yields

q!q+1xii!=p(q1)!q!qi=1xii!.

The right hand side is an integer. If for even only one index i>q the equality xi=i1 failed to hold, then we would have

0<q!q+1xii!<q!q+1i1i!=1

Which contradicts it being an integer. (The strict positivity is due to strictly increasing assumption on the series.)

A Perfect Set

Proposition: 2 The set

S={i=4 xii!| xi1,3}

is a “perfect set” (closed, and each point is a limit point) without rationals.

Proof: The idea is hidden in the arguments we have already made. The point is that when we change one digit by 1, the tail has to go full speed to catch up. Since here we have restricted to choices 1 and 3, when we change a digit then the new number is by a significant distance away from any member of S.

Take yRS. Let’s restrict to y’s of the form

y=i=4yii!.

Other cases where y has earlier digits are just as easy, but we want to avoid complications in notation! Since y is not in S, there is an index j such that yj{1,3}. For any given xS, the representations of x and y will differ somewhere earlier than j, say at k’th component, 4kj. Therefore,

|xy|=|i=kxiyii!||xkyk|k!i=k+1|xiyi|i!1k!|i=k+1i2i!|.

It follows that

|xy|1(k+1)!1(j+1)!

The index j depends on y only, thus we proved that within radius 1/(j+1)! of y there are no points of S, or, equivalently, Sc is open, S is closed.

Now, pick any xS. Given ϵ>0, in order to find another point in S, ϵ-close to x, move far enough in the representation of x, and switch xN to 1 if it is 3, or to 3 if it is 1. Keep all other digits the same. The new number is again is S, closer than ϵ much to x provided that 2N!<ϵ. Thus, every point in S is a limit point.

Questions:

Do you know of other perfect sets without rationals (in the usual topology of R)?

What else can be done with the factorials representation of numbers?!

We have proved that e is an irrational number! Do you see where?

About Behnam Esmayli

I started PhD in Mathematics at Pitt in Fall 2015. I have come to grow a passion for metric spaces -- a set and a distance function that satisfies the triangle inequality -- simple and beautiful! These spaces when equipped with other structures, such as a measure, becomes extremely fun to play with!
This entry was posted in Math, Topology and tagged , . Bookmark the permalink.