Fractals/Mathematics/binary

Binary fraction in the theory of discrete dynamical systems ( number conversions and binary expansion of the decimal fraction ) =Notation=

general math notation
A binary fraction is a sum of negative powers of two


 * $$ b_0.b_1 b_2 b_3\dots. = \sum_{i=0}^\infty b_i 2^{-i} = b_0 2^0 + b_1 2^{-1} + b_2 2^{-2} +  b_3 2^{-3}  + \dots $$


 * $$b_i2^{-i} = \frac{b_i}{2^i}$$

Subscript number denotes number base ( radix of the positional numeral system)


 * $$0.1_2 = 0.5_{10}$$


 * $$0.1_{10} = (0.0\overline{0011})_2$$

Sometimes round brackets are used for greater clarity:


 * $$(0.1)_{10} = 0.1_{10} $$

Infinitely repeating part of binary expansion denoted by
 * round brackets
 * overline

infinite sequence is denoted by ellipsis ( = 3 dots)


 * $$0.10(00101010) = 0.10\overline{00101010} = 0.10001010100010101000101010001010100010101000101010 \dots$$

exponent ( superscript) with or without brackets: '''
 * denotes how many times the series repeats
 * will be used to indicate symbols (or groups of symbols) that are to be '''repeated a finite number of times
 * $$0.11(11101010) = 0.11(11(10)^3) $$


 * $$0.((001)^{88}010)_2 = 0.(001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001001010)$$


 * $$ 0.(01^3) = 0.(0111)$$

The leading zero is sometimes omitted


 * $$.1 = 0.1$$

Trailing zeros to the right of a radix point (a small dot .), do not affect the value of a number and here will be omitted:


 * $$0.1(0) = 0.1$$

Special notation
Special notation used in programs:
 * program Mandel uses: 0p01 which in general math notation is 0.0(01). Generally apb = 0.a(b)
 * program Book program uses: .0(01) which in general math notation is 0.0(01). Generally .a(b) = 0.a(b)

preperiod and period
Preperiod is used in 2 meanings :
 * T = preperiod of critical point $$z_{cr} = 0$$
 * t = preperiod of critical value $$z_{cv} = c$$

Note that :

$$ t = T - 1$$

Period p is the same for critical value and critical point

Preperiod:
 * preperiod of critical value
 * Wolf Jung uses : "... the usual convention is to use the preperiod of the critical value. This has the advantage, that the angles of the critical value have the same preperiod under doubling as the point, and the same angles are found in the parameter plane."
 * preperiod of critical point
 * Pastor uses preperiod of critical point : "all the Misiurewicz points are given with one unit more in their preperiods, therefore this $$M_{2,1}$$ is given as $$M_{3,1}$$"
 * Demidov
 * Claude Heiland-Allen

=Key words=
 * period
 * smallest length of periodic part of binary expansion ( binary sequence )
 * lentgh of the orbit of the angle (decimal ratio) under doubling map = period under doubling map
 * preperiod
 * smallest length of preperiodic part of binary expansion ( binary sequence )

=Types of binary expansions=

Binary expansion can be :
 * finite - decimal ratio number with even denominator which is a power of 2. Note that it has also equal infinite preperiodic representation
 * infinite
 * periodic : preperiod = 0, period > 0, rational number with odd denominator which is not a power of 2
 * preperiodic ( = eventually periodic) : preperiod > 0, period > 0, rational number with even denominator
 * aperiodic : preperiod = 0, period = 0 ( or infinity), irrational number

If the decimal number is rational number check it's form. Is it is in the lowest terms ( irreducible = reduced = numerator and denominator are coprime )?

How to find expansion type
=Description =

finite
A decimal ratio m/n has a finite binary representation if and only if it can be written as a fraction whose denominator n is a power of 2 ( also even):

$$\frac{m}{n} = \frac{m}{2^t}$$

for some integer m and some non-negative integer t."

In other words :
 * fractions in binary arithmetic terminate only if 2 is the only prime factor in the denominator = dyadic rational.
 * The dyadic rationals are precisely those numbers possessing finite binary expansions

It is because of binary fraction construction:


 * $$ r=b_0.b_1 b_2 b_3\dots. = \sum_{i=0}^\infty \frac{b_i}{2^i} = \frac{b_0}{2^0} + \frac{b_1}{2^1} + \frac{b_2}{2^2} +\frac{b_3}{2^3}  + \dots $$

Binary expansion of the unitary fraction:

$$r = \frac{1}{2^t} = 0.\overbrace{b...b}^{t-1}1 = 0.0^{t-1}1$$

This finite binary expansion has second equal representation: infinite and preperiodic ! Because this 2 representations have different preperiod and period then in the theory of discrete dynamical systems is better to use infinite version.



infinite

 * periodic : preperiod = 0, period > 0
 * preperiodic : preperiod > 0, period > 0
 * aperiodic : preperiod = 0, period = 0

periodic
Here decimal number is a rational number with odd denominator.

There are 2 possible types ( complete classification):
 * denominator is a odd prime (prime number other then 2)
 * denominator is an odd composite number

There is special case which is not exclusive from th.e other two cases : denominator is integer one less than a power of two:


 * $$r = \frac{1}{2^p-1} = 0.((0)^{p-1}1)$$

So binary fraction has:
 * period = p
 * preperiod = 0

Binary fraction 1/(2^p-1) has the same form in binary expansion as fraction 1/(2^p), but repeating.

Example 1/(2^5)=0.00001 and 1/(2^5-1)=0.(00001)

denominator is an odd prime
Rational number with odd prime denominator ( prime number other then 2 )

Period of binary expansion of reduced rational fraction m/n is equal to the multiplicative order of 2 modulo n:

$$ k = Period_2(m/n) = {ord}_n(2)$$

The longest possible period k is:

$$ k = n-1$$

when 2 is a primitive root of denominator n :

Im Maxima CAS one can use :
 * ifactors(n)
 * zn_order(2,n)
 * zn_primroot_p(2,n)

1/9949 computed with the knowledgedoor calculator: convert_a_ratio_of_integers ( it allows for computations up to 100000 fractional digits in the new number):

1/9949 = 0.(0.000000000000011010010110010100100110010000110010100010010100000 000011000101100111011010011110111101111011000001010110000010111001 010000111100110101000010000011010101010000101010101101101011111001 000001101101111011000111111011101000000010110101001001011101100111 000011011011011011111001100010101001110100110111110000100111001101 101110001001111100011111001101100100010001100100110000110111010001 010100101101010000101110000000011110011101110011110100001111011010 011011101011001000011100100011111100100100111110011100110001111100 011011111010110001101100110010101010100010111110110100101010001011 000110100101111111011111111000110010111001010111100010011010001011 100111100001111001001111101101110010000100010000100010111001000011 110001101010101110111010111011111111100000101101011111100010100100 000011111111010000001111100010101010101001100100011001110011101111 010011001110100100011111111110111110001000001100100000010110000001 101010001101111111000010001111101011101110010100101001100011100101 000111000110000110101100111111011011010110111101010110110010101001 101110010010001011011101101001100001100001010111011111000111011001 000010101111110010111011011011010010000001001010111011011110100100 110011101111101101100100111001000110001111110000101010100000100000 101110101110100101100001110110110001100111110110011110101011110011 101011001011101111010110100001010111000100110001000100011100011111 000000011001000111010001101000011110000000001010101101000100010111 100010110100100001111100001000001010000010010000000110000100101001 001111110100010111101001011010000111000101101100010110101010110101 000110001010110100011110101001010101100101010000001001110001110010 001001001100101110110000001110111011001001001010101011000000100111 111011110101001101111111011100100110000000010100100101011100000101 111001000111011110110011101000010011010011000110010101100001100011 000000111000011001110010000101111001111100001011011100110100110100 111000001010111101100010010100011010101111000001100001100100101010 010001101100001011001001000100000101011011011110010111101000100101 011010011100011111110101000101110000011110001010000011000100110010 101101110101110001011001011100010001011010111000011111100010111110 011010010011110110100000010101001100111101100100110010100000101010 100111000110010011111000001001101110011111010110100111111100101001 111010101000101001000111100101011001001101011100110111010010111110 000110100011000111000011101000100111000011110101110010001110001000 111010100111011010000100100111100110011011000101010000010110111100 111100011100010101001000000001011000111011010101100001001000101010 100011110011100001010011010111101000001011000100000111111001100100 010011001110001010001001101010010111110111011001111110000010000001 010001100001000011101110010111111100010110001001111001001100011010 111111011111011110011100100100110001010001100111101001010011100001 100000100010110010011110001100100001001010101110010011011010100000 100111010100010011101111000110000011011010001100110110100100110111 000010100000001001101011001100100100000011001010100011100110010110 001001000100011111110001110010111101111001010111111100110000100000 001101110010101011110010000001110010011100111101011110001100111011 100001000010111001101011010011001001101000010100000111110010111110 101110000100100101111101000001110010110111010011110010110011001100 010011100101001101101011101011110110100011100111111111100010010110 111000110100111101000111001001011001011111100100001101011101010001 101001010010101100110011111001100101111100100111011100100010101101 100010000000101001111111100100110100111110110000100010101011111000 100111010111100110100001101010110101100000100001001001000100111010 001000000111100100001010001010011111000100100000100110011111100111 000101111001100001110101001000001110100100000101101000101001100001 111011101101110011101101101001110101010010000110111011110011111110 111100011110110011001101111100111110100000000100101111000000101100 111000000001000101001010100110000100011100000100101010000100100001 000000110101111011101100001010010100010111011100001110111100110010 100011111101011001101011000101111110011110000000111111011001101101 100100000100011001100110100100001000111011011100000110101101110100 001000000000001001111000010111101110010110010010111100110111100000 001001010000110110001111011100111001110001000100000010001000101011 110010110110011111000110001001111111110010000000001001000011101011 000101001001110001010111110010111000001000011111011100011000110101 001010010010010011101100100111111101011110100111010001110101101001 001010011101110101011101101000101100110100101110010010100101110011 111110000111110010001010000001011011011001011011011100101110001111 010011000001011001010101101011110101101110111011010110010101110101 010011110000010101000110010111111111101000111100011101111110100001 010011110001111110011111101010011000101100000110100111001110100010 110110100101101011101111001001010110001100110001101000101011001011 010101000000001100110000110011111110100010001000011110100111101100 001011111101110000101110100111111111111100101101001101011011001101 111001101011101101011111111100111010011000100101100001000010000100 111110101001111101000110101111000011001010111101111100101010101111 010101010010010100000110111110010010000100111000000100010111111101 001010110110100010011000111100100100100100000110011101010110001011 001000001111011000110010010001110110000011100000110010011011101110 011011001111001000101110101011010010101111010001111111100001100010 001100001011110000100101100100010100110111100011011100000011011011 000001100011001110000011100100000101001110010011001101010101011101 000001001011010101110100111001011010000000100000000111001101000110 101000011101100101110100011000011110000110110000010010001101111011 101111011101000110111100001110010101010001000101000100000000011111 010010100000011101011011111100000000101111110000011101010101010110 011011100110001100010000101100110001011011100000000001000001110111 110011011111101001111110010101110010000000111101110000010100010001 101011010110011100011010111000111001111001010011000000100100101001 000010101001001101010110010001101101110100100010010110011110011110 101000100000111000100110111101010000001101000100100100101101111110 110101000100100001011011001100010000010010011011000110111001110000 001111010101011111011111010001010001011010011110001001001110011000 001001100001010100001100010100110100010000101001011110101000111011 001110111011100011100000111111100110111000101110010111100001111111 110101010010111011101000011101001011011110000011110111110101111101 101111111001111011010110110000001011101000010110100101111000111010 010011101001010101001010111001110101001011100001010110101010011010 101111110110001110001101110110110011010001001111110001000100110110 110101010100111111011000000100001010110010000000100011011001111111 101011011010100011111010000110111000100001001100010111101100101100 111001101010011110011100111111000111100110001101111010000110000011 110100100011001011001011000111110101000010011101101011100101010000 111110011110011011010101101110010011110100110110111011111010100100 100001101000010111011010100101100011100000001010111010001111100001 110101111100111011001101010010001010001110100110100011101110100101 000111100000011101000001100101101100001001011111101010110011000010 011011001101011111010101011000111001101100000111110110010001100000 101001011000000011010110000101010111010110111000011010100110110010 100011001000101101000001111001011100111000111100010111011000111100 001010001101110001110111000101011000100101111011011000011001100100 111010101111101001000011000011100011101010110111111110100111000100 101010011110110111010101011100001100011110101100101000010111110100 111011111000000110011011101100110001110101110110010101101000001000 100110000001111101111110101110011110111100010001101000000011101001 110110000110110011100101000000100000100001100011011011001110101110 011000010110101100011110011111011101001101100001110011011110110101 010001101100100101011111011000101011101100010000111001111100100101 110011001001011011001000111101011111110110010100110011011011111100 110101011100011001101001110110111011100000001110001101000010000110 101000000011001111011111110010001101010100001101111110001101100011 000010100001110011000100011110111101000110010100101100110110010111 101011111000001101000001010001111011011010000010111110001101001000 101100001101001100110011101100011010110010010100010100001001011100 011000000000011101101001000111001011000010111000110110100110100000 011011110010100010101110010110101101010011001100000110011010000011 011000100011011101010010011101111111010110000000011011001011000001 001111011101010100000111011000101000011001011110010101001010011111 011110110110111011000101110111111000011011110101110101100000111011 011111011001100000011000111010000110011110001010110111110001011011 111010010111010110011110000100010010001100010010010110001010101101 111001000100001100000001000011100001001100110010000011000001011111 111011010000111111010011000111111110111010110101011001111011100011 111011010101111011011110111111001010000100010011110101101011101000 100011110001000011001101011100000010100110010100111010000001100001 111111000000100110010010011011111011100110011001011011110111000100 100011111001010010001011110111111111110110000111101000010001101001 101101000011001000011111110110101111001001110000100011000110001110 111011111101110111010100001101001001100000111001110110000000001101 111111110110111100010100111010110110001110101000001101000111110111 100000100011100111001010110101101101101100010011011000000010100001 011000101110001010010110110101100010001010100010010111010011001011 010001101101011010001100000001111000001101110101111110100100100110 100100100011010001110000101100111110100110101010010100001010010001 000100101001101010001010101100001111101010111001101000000000010111 000011100010000001011110101100001110000001100000010101100111010011 111001011000110001011101001001011010010100010000110110101001110011 001110010111010100110100101010111111110011001111001100000001011101 110111100001011000010011110100000010001111010001011)

Nonunitary fraction ( numerator is greater then 1 ) have :
 * the same period k ( length of periodic part )
 * if $$k = \phi(n) $$
 * then periodic part cyclically shifted with respect to the corresponding unitary fraction
 * else there are $$\phi(n)/k $$ different cycles ( periodic parts) all of length k

where
 * $$\phi $$ is the Euler totient function. In Maxima CAS it is totient(n)

denominator is an odd composite number
period of binary expansion of $ \frac{m}{n}$= period of the angle $$ \frac{m}{n}$$ under doubling map

Hard case: 1/99007599 = 1 / (3*33002533), written as a binary fraction, have a period of nearly 50 million 0’s and 1’s

Tests:
 * knowledgedoor calculator - "There are more than 100000 fractional digits in the new number. We are sorry, but we had to abort the calculation to control the loading on our server."
 * In Maxima CAS : zn_order(2,99007599) = 33002532

preperiodic
Here denominator n of fraction r


 * $$r = \frac{m}{n}$$

is even:


 * $$n = 2^tq$$

and q is odd.

Cases by preperiod and period
$$\{t,p\} $$ where t is preperiod and p period
 * $$\{1,1\} = 0.0(1) = 1/2 = 0.5$$
 * $$\{1,2\}$$
 * $$ 0.0(01) = 1/6 = 2/12 = 0.1666666666666667$$
 * $$ 0.0(10) = 1/3 = 4/12 = 0.3333333333333333$$
 * $$ 0.1(01) = 2/3 = 8/12 = 0.6666666666666667$$
 * $$ 0.1(10) = 5/6 = 10/12 = 0.8333333333333333$$
 * $$\{2,1\}$$
 * $$ 0.00(1) = 1/4 = 0.25$$
 * $$ 0.10(1) = 3/4 = 0.75$$
 * $$\{2,2\}$$
 * $$ 0.00(01) = 1/12 = 0.0833333333333333$$
 * $$ 0.01(10) = 5/12 = 0.4166666666666667$$
 * $$ 0.10(01) = 7/12 = 0.5833333333333333$$
 * $$\{4,4\}$$
 * $$ 0.0110(1001) = 99/240 = 0.4125$$
 * $$ 0.1001(0110) = 141/240 = 0.5875$$
 * $$\{5,2\}$$
 * $$ 0.01101(10) = 41/96 = 0,42708333333333333$$

Cases by q type

 * q = 1, dyadic fractions. It is equal infinite representation of finite binary fraction. See black rows int the table below
 * q is a prime number, See green rows int the table below
 * q = 2^p - 1 then period = p
 * if q is not integer one less the a power of two then period p = ( minimal length of repeating part) $$p =\phi(q) $$
 * q is a composite number, period p "is the same as for the denominator q. It is either Phi(q) or a strict divisor of  Phi(q) . You can determine it numerically when you double  1/q  again and again until you get  1/q." ( Wolf Jung ). See red rows int the table below

q is an integer one less than the power of two
If q is an integer one less than the power of two ( even):


 * $$q = 2^p-1$$

then fraction r has a form:


 * $$r = \frac{m}{n} = \frac{m}{2^t(2^p-1) } = 0.\overbrace{b...b}^{t}(\overbrace{b...b}^{p})$$

has:
 * period ( minimal length of repeating part) $$p$$
 * preperiod ( length of non-repeating part) = t

Examples:
 * $$\frac{1}{6} = \frac{1}{2*3} = \frac{1}{2(2^2-1)} = {0.0(01)}_2$$
 * $$\frac{7}{24} = \frac{7}{2^3*3} = \frac{7}{2^3(2^2-1)} = {0.010(01)}_2$$
 * $$\frac{9}{56} = \frac{9}{2^3*7} = \frac{9}{2^3(2^3-1)} = {0.001(010)}_2$$

How to check if q is an integer one less than the power of two:
 * $$ q = 2^k -1 $$
 * $$ q+1 = 2^k $$
 * $$ k = {log}_2(q+1) $$

In Maxima cas one can use function

Give_k(q):=float(log(q+1)/log(2));

If k is near integer ( fractional part is 0 or near 0)
 * then $$ q = 2^k -1 $$ and use above method
 * else use below method

q is a prime number
If $$q \ne 2^k-1$$then fraction r


 * $$r = \frac{m}{n} = \frac{m}{2^tq} = 0.\overbrace{b...b}^{t}(\overbrace{b...b}^{k})$$

where :
 * q is odd
 * $$\phi $$ is the Euler totient function. In Maxima CAS it is totient(n)

has:
 * period ( minimal length of repeating part) $$k =\phi(q) $$
 * preperiod ( length of non-repeating part) = t

Examples:


 * $$\frac{9}{20} = \frac{9}{2^25} = {0.01(1100)}_2 $$ here period $$ = \phi(5) = 4$$ and preperiod  t = 1


 * $${0.1416}_{10} = \frac{1416}{10000} = \frac{117}{1250} = \frac{117}{2(5^4)} = {0.0(00101111111011000101011011010101110011111010101011001101100111 101000001111100100001001011010111011100110001100011111100010100000 100100000010110111100000000011010001101101110001011101011000111000 100001100101100101001010111101001111000011011000010001001101000000 010011101010010010101000110000010101010011001001100001011111000001 101111011010010100010001100111001110000001110101111101101111110100 100001111111110010111001001000111010001010011100011101111001101001 101011010100001011000011110010011110111011)}_2$$

here:
 * period $$ = \phi(5^4) = 500$$
 * preperiod = 1

aperiodic
If expansion is:
 * infinite
 * aperiodic ( period = 0 or infinity )

then it is an irrational number.

Irrational number features (not a complete classification) :
 * normality - normal number in wikipedia / non-normal number ( sequence)
 * linearizability: not linearizable / linearizable, check Brjuno condition
 * Transcendental(non-algebraic) /algebraic

Applications
 * internal angle

normal
Random sequences
 * pseudorandom
 * true random

Examples from |Gaussian Random Number Generator:
 * 10 bytes: 10001000111010111111001111010111101000110001010110010010011111100101110101011001
 * 15 bytes: 100110100001100101010100001010100110110000100111001100110001101100101111100001001111101001011011101011110100011011000000
 * 20 bytes: 1010100101110110001100111101101001001100001011111011001010000100100110010000001010110000101100100111111111011000001001110110000110111011100001101110001000101110

Binary Champernowne constant C2 = 110111001011101111000100110101011110011011110111110000100011001010011101001010110110101111

non-normal
Binary Liouville's constant (binary Liouville number ):

$$L = \sum_{n=1}^{\infty}2^{-n!} = \frac{1}{2^{1!}} + \frac{1}{2^{2!}} + \cdots + \frac{1}{2^{n!}} + \cdots = \frac{1}{2} + \frac{1}{2^2} + \frac{1}{2^6} + \cdots +  \frac{1}{2^{n!}} + \cdots = 0.11000100000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001\ldots$$

where:
 * ! denotes factorial
 * $$ \sum$$ denotes sum of infinite series

So binary digits on position:

$$1, 2, 6, 24, 120, 720, 5040, 40 320, 362 880, 39 916 800, 479 001 600\ldots$$

are 1, others are 0.

the Thue–Morse sequence = binary expansion of Prouhet–Thue–Morse constant:


 * $$ \tau = \sum_{i=0}^{\infty} \frac{t_i}{2^{i+1}} = {0.01101001100101101001011001101001\ldots}_2 $$

where:
 * $$t_i$$ is the ith element of the Prouhet–Thue–Morse sequence

It obtained by starting with 0 and successively appending the Boolean complement of the sequence obtained thus far.

Define a sequence of strings of 0 and 1 as follows:
 * $$t_0 = 0$$
 * $$ t_{n+1} = t_n \overline{t_n}$$

where:
 * $$\overline{t}$$ means change all the 0’s in x to 1’s and vice-versa

First 5 sequences
 * $$ t_0= 0$$
 * $$ t_1= 01$$
 * $$ t_2= 0110$$
 * $$ t_3= 01101001$$
 * $$ t_4 = 0110100110010110$$

The Rabbit constant (The limiting Rabbit Sequence) given by the continued fraction

$$R = [0, 2^{F_0}, 2^{F_1}, 2^{F_2}, 2^{F_3}, ...] = 0.1011010110110...$$

where:
 * $$F_n$$ are Fibonacci numbers with $$F_0$$ taken as 0

=Multiple representations= The representations are:
 * equal in general meaning, because give the same decimal fraction
 * nonequal here, because have different period/preperiod of binary fraction, so describe different dynamical system

Periodic
periodic angles have multiple possible ways of writing down, one of which is special in having the smallest period

$$ 1/3 = .0101010101010101... = .(01) = .(0101) = .(010101) = ... $$

So "period" really means minimal possible period

Orbit of 1/3 under doubling map is periodic {1/3, 2/3 }

preperiodic
preperiodic angles have multiple possible ways of writing down ( infinite forms), one of which is special in having the smallest preperiod:

$$ \frac{1}{6} = 0.0(01) = 0.00(10) = 0.001(01) = ...$$

$$\frac{3}{14} = 0.0(011) = 0.00(110)$$

$$\frac{1}{5} = 0.0\overline{0110}=0.\overline{0011}$$

finite

 * every nonzero terminating binary number ( = rational number with odd denominator which is a power of 2 )   has two equal representations
 * The binary expansions of dyadic rationals are not unique; there is one finite and one infinite representation of each dyadic rational other than 0 (ignoring terminal 0s). For example, 0.112 = 0.10111...2, giving two different representations for 3/4. The dyadic rationals are the only numbers whose binary expansions are not unique.

$$ 0.0^{t-1}1_2 = 0.0^{t}(1)_2 $$

Examples:
 * "The angle 1/4  or  01 has  preperiod = 2  and  period = 1." program from program Mandel. Here finite version is used

=Relation between binary numbers and the dynamical systems =

Maps
 * binary fraction, doubling map = left shift = Bernoulli shift
 * complex number, complex quadratic map

Doubling map
"The map $$\lambda : \mathbb{R}/\mathbb{Z} \to J_c$$  is called the Caratheodory semiconjugacy, with the associated identity $$\lambda(2*t) = f_c(\lambda(t))$$ in the degree 2 case. This identity allows us to easily track forward iteration of external rays and their landing points in $$J_c$$ by doubling the angle of their associated external rays modulo 1." Mary Wilkerson

Orbits of fraction under doubling map for :
 * decimal rational fractions
 * fractions with odd denominators are periodic
 * fractions with even denominators are preperiodic
 * decimal irrational fractions are non periodic and dense

the relationship between external angles and binary decomposition rendering for quadratic polynomials
 * Removing the first bit is the same as doubling mod 1

when tracing external ray and passing dwell band ( boundary of escape time level set): of binary expansion of external angle
 * inwards ( toward Julia/Mandelbrot set): add bit at the end
 * outwards ( toward point at infinity): add the bit at the beginning

external angles
There are two kinds of rational angles ( decimal fractions):
 * When the denominator is odd, the sequence of binary digits will be periodic, and the angle is periodic under doubling. The dynamic ray with this angle lands at a periodic point of the Julia set. The parameter ray lands at the root of a hyperbolic component.
 * When the denominator is even, the sequence of binary digits will be preperiodic, and the angle is preperiodic under doubling. The dynamic ray lands at a preperiodic point of the Julia set, and the parameter ray lands at a Misiurewicz point.

Relation between point and external angle ? Using binary decomposition:
 * start with an unknown location and finds the external angles from the image
 * start with angles and find the location that matches

The external arguments of the rays landing at z = −0.15255 + 1.03294i are:

$$(\theta^- _{20}, \theta^+_{20} ) = (0.\overline{00110011001100110100}, 0.\overline{00110011001101000011})$$

where:

$$\theta^- _{20} = 0.\overline{00110011001100110100}_2 = 0.\overline{20000095367522590181913549340772}_{10} = \frac{209716}{1048575} = \frac{209716}{2^{20}-1}$$

collecting bits
Collecting bits of binary expansion of external angle when tracing externla rays on the binary decomposition of exterior of the Mandelbrot/Julia set



See also
 * binary decomposition
 * parameter plane
 * dynamic plane
 * reading bits from binary decomposition = collecting bits of external angle's binary expansion

patterns
Patterns are sculpted in the intricate shape of the boundary the Mandelbrot set when zooming ( especially deep zooming). Zooming are reflected in the complex dynamics, in particular in the binary expansions of the pairs of external rays landing on the cusp of each baby Mandelbrot set copy at the centre of each phase.

=Conversions=
 * Convert binary fraction to decimal ratio
 * convert decimal fraction to binary
 * knowledgedoor calculators

Can all decimal fractions be converted exactly to binary?
Not all. Only those for which denominator is a power of 2 ( finite ) have exact decimal representation. "In every other case, there will be an error in the representation. The error's magnitude depends on the number of digits used to represent it."

decimal to binary
=See also=
 * Bit numbering in wikipedia
 * Bit_manipulation in wikipedia
 * ENT A Pseudorandom Number Sequence Test Program in C by John Walker
 * Continued fraction representation of real number

=References=
 * Binary Numbers by Jamie King on YT