Sunday, December 26, 2021

The 3n+1 Problem in 5 minutes<br>    A Quick Introduction   

The 3n + 1 Problem

A transformation

This is about the transformation (or function) which takes a given positive integer n and produces another as follows:

n3n+1ifnis oddn2ifnis even It is sometimes called the Syracuse transformation.

Iteration

One may pick a positive integer as starting point, apply the Syracuse transformation, then apply it again to the result, apply it yet again to the result of that, and so on, to see what eventually happens.

Here is a table of examples:

1421
21
3105168421
5168421
7221134175226134020105168421
175226134020105168421
216432168421
23703510653160804020105168421

An open question

Since the 1930s it has been an open question whether for any starting point the sequence generated will eventually reach 1.

There is a conjecture that every such sequence will eventually reach 1. It is known by various names, including the “3n + 1 Conjecture”, the “Collatz Conjecture”, the “Syracuse Conjecture”, and others. More information may be found at Wikipedia, https://en.wikipedia.org/wiki/Collatz_conjecture.

Saturday, October 20, 2018

Example of 'align' (20181020)

Sylvain G. writes: I just want to report that I was not able to add the following line with mathjax on my blogger:

Trying this: \begin{align*}\frac{x^n- a^n}{x-a} &= \frac{a^n\left((\frac{x}{a})^n - 1\right)}{a\left(\frac{x}{a}-1\right)}\\ &= a^{n-1}\left( \left(\frac{x}{a}\right)^{n-1} + \left(\frac{x}{a}\right)^{n-2} +\ldots + \frac{x}{a} + 1 \right) \\ &= x^{n-1} + x^{n-2}a + +\ldots + xa^{n-2} + a^{n-1}. \end{align*}

Saturday, May 25, 2013

Baby Test No. 4

Testing MathJax with TeX Input

Now let's try some displayed math using MathJax (so suitable for most commonly used browsers) with TeX input. \[ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]

That should be it.

Baby Test No. 3

Testing MathJax with MathML Input

Now let's try the same displayed math with MathJax enabled (so suitable for most commonly used engines). This time the "math" element has no xmlns attribute. x = b ± b2 4ac 2a

That should be it.

Baby Test No. 2

Testing MathML Without MathJax

Now let's try some displayed math without MathJax (so suitable for some Gecko and some Webkit engines). I will use the xmlns attribute, which should be inert with HTML5, in case it helps. x = b ± b2 4ac 2a

That should be it.

A Baby Test

Baby Test No. 1

This is a very simple test addressed to the question of how Blogger can be coaxed into accepting raw HTML.

There is no math for now.