<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Random_Fibonacci_sequence</id>
	<title>Random Fibonacci sequence - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Random_Fibonacci_sequence"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Random_Fibonacci_sequence&amp;action=history"/>
	<updated>2026-04-19T10:33:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Random_Fibonacci_sequence&amp;diff=257444&amp;oldid=prev</id>
		<title>imported&gt;E992481: /* growthexperiments-addlink-summary-summary:2|0|0 */</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Random_Fibonacci_sequence&amp;diff=257444&amp;oldid=prev"/>
		<updated>2025-06-23T08:35:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;growthexperiments-addlink-summary-summary:2|0|0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Randomized mathematical sequence based upon the Fibonacci sequence}}&lt;br /&gt;
In [[mathematics]], the &amp;#039;&amp;#039;&amp;#039;random Fibonacci sequence&amp;#039;&amp;#039;&amp;#039; is a [[stochastic]] analogue of the [[Fibonacci sequence]] defined by the [[recurrence relation]] &amp;lt;math&amp;gt;f_n=f_{n-1}\pm f_{n-2}&amp;lt;/math&amp;gt;, where the signs + or − are chosen [[Bernoulli distribution|at random]] with equal probability &amp;lt;math&amp;gt;\tfrac12&amp;lt;/math&amp;gt;, [[Independence (probability theory)|independently]] for different &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;. By a [[theorem]] of [[Harry Kesten]] and [[Hillel Furstenberg]], random recurrent sequences of this kind grow at a certain [[exponential growth|exponential rate]], but it is difficult to compute the rate explicitly. In 1999, [[Divakar Viswanath]] showed that the growth rate of the random Fibonacci sequence is equal to 1.1319882487943... {{OEIS|A078416}}, a [[mathematical constant]] that was later named Viswanath&amp;#039;s constant.&amp;lt;ref&amp;gt;{{Cite journal | last1 = Viswanath | first1 = D. | title = Random Fibonacci sequences and the number 1.13198824... | doi = 10.1090/S0025-5718-99-01145-X | journal = Mathematics of Computation | volume = 69 | issue = 231 | pages = 1131–1155 | year = 1999 | doi-access = free }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal | last1 = Oliveira | first1 = J. O. B. | last2 = De Figueiredo | first2 = L. H. | journal = Reliable Computing | volume = 8 | issue = 2 | pages = 131 |title=Interval Computation of Viswanath&amp;#039;s Constant| year = 2002 | doi = 10.1023/A:1014702122205 | s2cid = 29600050 }}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite journal | last1 = Makover | first1 = E. | last2 = McGowan | first2 = J. | doi = 10.1016/j.jnt.2006.01.002 | title = An elementary proof that random Fibonacci sequences grow exponentially | journal = Journal of Number Theory | volume = 121 | pages = 40–44 | year = 2006 |arxiv=math.NT/0510159| s2cid = 119169165 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
A random Fibonacci sequence is an [[integer]] [[random sequence]] given by the numbers &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; for [[natural number]]s &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;f_1=f_2=1&amp;lt;/math&amp;gt; and the subsequent terms are chosen randomly according to the random recurrence relation&lt;br /&gt;
&amp;lt;math display=block&amp;gt;&lt;br /&gt;
f_n = \begin{cases}&lt;br /&gt;
f_{n-1}+f_{n-2}, &amp;amp; \text{ with probability } \tfrac12; \\&lt;br /&gt;
f_{n-1}-f_{n-2}, &amp;amp; \text{ with probability } \tfrac12.&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
An instance of the random Fibonacci sequence starts with 1,1 and the value of the each subsequent term is determined by a [[fair coin]] toss: given two consecutive elements of the sequence, the next element is either their sum or their difference with probability 1/2, independently of all the choices made previously. If in the random Fibonacci sequence the plus sign is chosen at each step, the corresponding instance is the [[Fibonacci sequence]] (&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;),&lt;br /&gt;
&amp;lt;math display=block&amp;gt; 1,1,2,3,5,8,13,21,34,55,\ldots. &amp;lt;/math&amp;gt;&lt;br /&gt;
If the signs alternate in minus-plus-plus-minus-plus-plus-... pattern, the result is the sequence&lt;br /&gt;
&amp;lt;math display=block&amp;gt; 1,1,0,1,1,0,1,1,0,1,\ldots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, such patterns occur with vanishing probability in a random experiment. In a typical run, the terms will not follow a predictable pattern:&lt;br /&gt;
&amp;lt;math display=block&amp;gt; 1, 1, 2, 3, 1, -2, -3, -5, -2, -3, \ldots&lt;br /&gt;
\text{ for the signs } +, +, +, -, -, +, -, -, \ldots.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly to the deterministic case, the random Fibonacci sequence may be profitably described via [[matrix (mathematics)|matrices]]:&lt;br /&gt;
&amp;lt;math display=block&amp;gt;{f_{n-1} \choose f_{n}} = \begin{pmatrix} 0 &amp;amp; 1 \\ \pm 1 &amp;amp; 1 \end{pmatrix} {f_{n-2} \choose f_{n-1}},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where the signs are chosen independently for different &amp;#039;&amp;#039;n&amp;#039;&amp;#039; with equal probabilities for + or −. Thus&lt;br /&gt;
&amp;lt;math display=block&amp;gt;{f_{n-1} \choose f_{n}} =  M_{n}M_{n-1}\ldots M_3{f_{1} \choose f_{2}},&amp;lt;/math&amp;gt;&lt;br /&gt;
where (&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;k&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;) is a sequence of [[Independent and identically-distributed random variables|independent identically distributed random matrices]] taking values &amp;#039;&amp;#039;A&amp;#039;&amp;#039; or &amp;#039;&amp;#039;B&amp;#039;&amp;#039; with probability 1/2:&lt;br /&gt;
&amp;lt;math display=block&amp;gt; A=\begin{pmatrix} 0 &amp;amp; 1 \\ 1 &amp;amp; 1 \end{pmatrix}, \quad&lt;br /&gt;
B=\begin{pmatrix} 0 &amp;amp; 1 \\ -1 &amp;amp; 1 \end{pmatrix}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Growth rate==&lt;br /&gt;
[[Johannes Kepler]] discovered that as &amp;#039;&amp;#039;n&amp;#039;&amp;#039; increases, the ratio of the successive terms of the Fibonacci sequence (&amp;#039;&amp;#039;F&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;) [[limit of a sequence|approaches]] the [[golden ratio]] &amp;lt;math&amp;gt;\varphi=(1+\sqrt{5})/2,&amp;lt;/math&amp;gt; which is approximately 1.61803. In 1765, [[Leonhard Euler]] published an explicit formula, known today as the [[Binet formula]],&lt;br /&gt;
&amp;lt;math display=block&amp;gt;F_n = {{\varphi^n-(-1/\varphi)^{n}} \over {\sqrt 5}}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It demonstrates that the Fibonacci numbers grow at an exponential rate equal to the golden ratio &amp;#039;&amp;#039;φ&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
In 1960, [[Hillel Furstenberg]] and [[Harry Kesten]] showed that for a general class of [[random matrix]] products, the [[matrix norm|norm]] grows as &amp;#039;&amp;#039;λ&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sup&amp;gt;, where &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is the number of factors. Their results apply to a broad class of random sequence generating processes that includes the random Fibonacci sequence. As a consequence, the [[nth root|&amp;#039;&amp;#039;n&amp;#039;&amp;#039;th root]] of |&amp;#039;&amp;#039;f&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;lt;/sub&amp;gt;| converges to a constant value &amp;#039;&amp;#039;[[almost surely]]&amp;#039;&amp;#039;, or with probability one:&lt;br /&gt;
&amp;lt;math display=block&amp;gt; \sqrt[n]{|f_n|} \to 1.1319882487943\dots \text{ as } n \to \infty. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An explicit expression for this constant was found by Divakar Viswanath in 1999. It uses Furstenberg&amp;#039;s formula for the [[Lyapunov exponent]] of a random matrix product and integration over a certain [[fractal|fractal measure]] on the [[Stern–Brocot tree]]. Moreover, Viswanath computed the numerical value above using [[floating point]] arithmetic validated by an analysis of the [[rounding error]].&lt;br /&gt;
&lt;br /&gt;
==Generalization==&lt;br /&gt;
[[Mark Embree]] and [[Nick Trefethen]] showed in 1999 that the sequence&lt;br /&gt;
&amp;lt;math display=block&amp;gt; f_n=\pm f_{n-1}\pm \beta f_{n-2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
decays almost surely if &amp;#039;&amp;#039;β&amp;#039;&amp;#039; is less than a critical value {{math|&amp;#039;&amp;#039;β&amp;#039;&amp;#039;* ≈ 0.70258}}, known as the Embree–Trefethen constant, and otherwise grows almost surely. They also showed that the asymptotic ratio &amp;#039;&amp;#039;σ&amp;#039;&amp;#039;(&amp;#039;&amp;#039;β&amp;#039;&amp;#039;) between consecutive terms converges almost surely for every value of &amp;#039;&amp;#039;β&amp;#039;&amp;#039;. The graph of &amp;#039;&amp;#039;σ&amp;#039;&amp;#039;(&amp;#039;&amp;#039;β&amp;#039;&amp;#039;) appears to have a [[fractal]] structure, with a global minimum near {{math|&amp;#039;&amp;#039;β&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;min&amp;lt;/sub&amp;gt; ≈ 0.36747}} approximately equal to {{math|&amp;#039;&amp;#039;σ&amp;#039;&amp;#039;(&amp;#039;&amp;#039;β&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;min&amp;lt;/sub&amp;gt;) ≈ 0.89517}}.&amp;lt;ref&amp;gt;{{Cite journal | last1 = Embree | first1 = M. | author-link1 = Mark Embree| last2 = Trefethen | first2 = L. N. | author-link2  = Lloyd N. Trefethen| doi = 10.1098/rspa.1999.0412 | title = Growth and decay of random Fibonacci sequences | journal = Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences | volume = 455 | issue = 1987 | pages = 2471 | year = 1999 | url = http://people.maths.ox.ac.uk/~trefethen/publication/PDF/1999_86.pdf|bibcode = 1999RSPSA.455.2471T | s2cid = 16404862 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{MathWorld|urlname=RandomFibonacciSequence|title=Random Fibonacci Sequence}}&lt;br /&gt;
* {{OEIS el|sequencenumber=A078416|name=Decimal expansion of Viswanath&amp;#039;s constant}}&lt;br /&gt;
*[https://www.youtube.com/watch?v=ELA8gNNMHoU Random Fibonacci Numbers].  [[Numberphile]]&amp;#039;s video about the random Fibonnaci sequence.&lt;br /&gt;
&lt;br /&gt;
[[Category:Fibonacci numbers]]&lt;br /&gt;
[[Category:Mathematical constants]]&lt;br /&gt;
[[Category:Number theory]]&lt;br /&gt;
[[Category:Stochastic processes]]&lt;/div&gt;</summary>
		<author><name>imported&gt;E992481</name></author>
	</entry>
</feed>