The Geometric Series of 1/(d+1) is a Fraction in Base-d

post by lsusr · 2022-03-03T05:06:45.837Z · LW · GW · 4 comments

Suppose is a positive number less than 1. What is the sum of the positive powers of ?

For example, suppose .

The case where is intuitively obvious in base-10, but it's even more intuitively obvious in base-2. I will use a subscript to indicate base e.g. , , and .

The above trick works for the inverse of any positive integer. Suppose .

We can generalize to any denominator .

The relationship holds even when is not an integer. Let .

This is the equation for a geometric series.

4 comments

Comments sorted by top scores.

comment by TLW · 2022-03-03T06:14:40.421Z · LW(p) · GW(p)

Nit: strictly speaking this only applies when 

(Which nicely corresponds to any base . Hm. I wonder if this works in e.g. negabinary?)

Replies from: Maximum_Skull
comment by Maximum_Skull · 2022-03-04T10:45:00.981Z · LW(p) · GW(p)

It does work for negative bases. Representation of a number in any base is in essence a sum of base powers multiplied by coefficients. The geometric series just has all coefficients equal to 1 after the radix point (and a 1 before it, if we start addition from the 0th power).

comment by jimv · 2022-03-03T09:19:32.031Z · LW(p) · GW(p)

Are these slips or am I misunderstanding the notation?

Replies from: lsusr
comment by lsusr · 2022-03-03T09:32:05.603Z · LW(p) · GW(p)

They are mistakes. Fixed. Thanks.