Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Examples and counterexamples in mathematics/Infinite sequences

From Wikibooks, open books for an open world
<Examples and counterexamples in mathematics

296280 more-or-less notable sequences are collected onThe On-Line Encyclopedia of Integer Sequences. See alsomathigon,mathsisfun etc.

A sequence of equal members

[edit |edit source]

(0,0,0,0,...)

Unlike a set, a sequence may contain nothing but zero and still be infinite. That is, all members (in other words, elements or terms) of a sequence may be equal to 0; or, say, to 71, if you prefer: (71,71,71,71,...).

The sequence of natural numbers

[edit |edit source]

(1,2,3,...)

Then-th member is equal ton.

This sequence is strictly increasing (that is, each member is less than the next member).

The odd subsequence (1,3,5,...) contains all odd natural numbers; the even subsequence (2,4,6,...) contains all even natural numbers. More generally, for every sequence(a1,a2,a3,){\displaystyle (a_{1},a_{2},a_{3},\dots )} one may consider its odd subsequence(a1,a3,a5,){\displaystyle (a_{1},a_{3},a_{5},\dots )} and even subsequence(a2,a4,a6,).{\displaystyle (a_{2},a_{4},a_{6},\dots ).}

All integers in a sequence

[edit |edit source]

(0,1,-1,2,-2,...)

Existence of such sequence shows that the set of all integers (including negative) is countable.

This sequence is non-monotone (that is, neither increasing nor decreasing). All integers cannot be contained in a monotone sequence, since an increasing sequence is bounded from below, and a decreasing sequence is bounded from above (think, why).

Then-th member is equal to

{(n1)/2for odd n,n/2for even n.{\displaystyle {\begin{cases}-(n-1)/2&{\text{for odd }}n,\\n/2&{\text{for even }}n.\end{cases}}}

Just for fun, these two formulas may be combined,

1+(1)n(2n1)4,{\displaystyle {\frac {1+(-1)^{n}(2n-1)}{4}},}

but this is not required. Two (and more) formulas are a legitimate way to define a sequence. More generally, any two sequences(a1,a2,){\displaystyle (a_{1},a_{2},\dots )} and(b1,b2,){\displaystyle (b_{1},b_{2},\dots )} may be interspersed into a single sequence(c1,c2,)=(a1,b1,a2,b2,);{\displaystyle (c_{1},c_{2},\dots )=(a_{1},b_{1},a_{2},b_{2},\dots );} here

cn={a(n+1)/2for odd n,bn/2for even n.{\displaystyle c_{n}={\begin{cases}a_{(n+1)/2}&{\text{for odd }}n,\\b_{n/2}&{\text{for even }}n.\end{cases}}}

The odd subsequence(c1,c3,c5,){\displaystyle (c_{1},c_{3},c_{5},\dots )} of the new sequence(c1,c2,){\displaystyle (c_{1},c_{2},\dots )} is equal to the first sequence(a1,a2,);{\displaystyle (a_{1},a_{2},\dots );} similarly, the even subsequence(c2,c4,c6,){\displaystyle (c_{2},c_{4},c_{6},\dots )} equals(b1,b2,).{\displaystyle (b_{1},b_{2},\dots ).}

A sequence containing every natural number infinitely many times

[edit |edit source]

(1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,5,1,2,...)

The odd subsequence (1,1,1,...) contains only 1. The even subsequence (2,3,2,4,2,3,2,5,2,...) differs from the whole sequence only by 1 added to every member. Thus, the odd subsequence of the even subsequence contains only 2. And so on... That is, denotingn-th member byan,{\displaystyle a_{n},} we havea2n=an+1.{\displaystyle a_{2n}=a_{n}+1.}

Then-th member is equal to the numberq such thatn2q1{\displaystyle {\frac {n}{2^{q-1}}}} is an odd integer. Thus,n2q1=2p1{\displaystyle {\frac {n}{2^{q-1}}}=2p-1} for some integerp. Using thisp instead ofq we get another sequence containing every natural number infinitely many times:
(1,1,2,1,3,2,4,1,5,3,6,2,7,4,...)
The odd subsequence is just (1,2,3,...). The even subsequence (1,1,2,1,3,2,4,...) is equal to the whole sequence. That is, denotingn-th member bybn,{\displaystyle b_{n},} we haveb2n=bn.{\displaystyle b_{2n}=b_{n}.}

In contrast, a monotone sequence cannot contain both 1 and 2 infinitely many times (think, why).

All positive rationals in a sequence

[edit |edit source]

(1,12,2,13,3,1,4,14,5,32,6,23,){\displaystyle \textstyle {\Big (}1,{\frac {1}{2}},2,{\frac {1}{3}},3,1,4,{\frac {1}{4}},5,{\frac {3}{2}},6,{\frac {2}{3}},\dots {\Big )}}

Then-th member is equal topq{\displaystyle {\frac {p}{q}}} for positive integersp,q such thatn=(2p1)2q1.{\displaystyle n=(2p-1)\cdot 2^{q-1}.} That is,a(2p1)2q1=pq.{\displaystyle a_{(2p-1)\cdot 2^{q-1}}={\frac {p}{q}}.} Thus,a1=a120=a(211)211=11=1;{\displaystyle \textstyle a_{1}=a_{1\cdot 2^{0}}=a_{(2\cdot 1-1)\cdot 2^{1-1}}={\frac {1}{1}}=1;}a2=a121=a(211)221=12;{\displaystyle \textstyle a_{2}=a_{1\cdot 2^{1}}=a_{(2\cdot 1-1)\cdot 2^{2-1}}={\frac {1}{2}};}a3=a320=a(221)211=21=2;{\displaystyle \textstyle a_{3}=a_{3\cdot 2^{0}}=a_{(2\cdot 2-1)\cdot 2^{1-1}}={\frac {2}{1}}=2;}a4=a122=a(211)231=13;{\displaystyle \textstyle a_{4}=a_{1\cdot 2^{2}}=a_{(2\cdot 1-1)\cdot 2^{3-1}}={\frac {1}{3}};}a5=a520=a(231)211=31=3;{\displaystyle \textstyle a_{5}=a_{5\cdot 2^{0}}=a_{(2\cdot 3-1)\cdot 2^{1-1}}={\frac {3}{1}}=3;}a6=a321=a(221)221=22=1;{\displaystyle \textstyle a_{6}=a_{3\cdot 2^{1}}=a_{(2\cdot 2-1)\cdot 2^{2-1}}={\frac {2}{2}}=1;}and so on. Every positive rational numberpq{\displaystyle {\frac {p}{q}}} appears in this sequence asn-th memberan{\displaystyle a_{n}} forn=(2p1)2q1.{\displaystyle n=(2p-1)\cdot 2^{q-1}.}

Existence of such sequence shows that the set of all positive rational numbers is countable.

And moreover,pq{\displaystyle {\frac {p}{q}}} appears infinitely many times, not only forn=(2p1)2q1,{\displaystyle n=(2p-1)\cdot 2^{q-1},} but also forn=(4p1)22q1,{\displaystyle n=(4p-1)\cdot 2^{2q-1},}n=(6p1)23q1{\displaystyle n=(6p-1)\cdot 2^{3q-1}} and so on.

Every number is an accumulation point of this sequence (that is, every neighborhood of the given number contains infinitely many members of the sequence; equivalently, the given number is the limit of some subsequence). In contrast, a monotone sequence may have only one accumulation point, namely, the limit of the whole sequence (think, why).

The functionf defined byf(q1,p1)+1=(2p1)2q1{\displaystyle f(q-1,p-1)+1=(2p-1)\cdot 2^{q-1}} for integerp,q>0,{\displaystyle p,q>0,} that is,f(x,y)=(2y+1)2x1{\displaystyle f(x,y)=(2y+1)\cdot 2^{x}-1} for integerx,y0,{\displaystyle x,y\geq 0,} is an example of the so-called pairing function.

Factorials

[edit |edit source]

(1,2,6,24,120,720,...)

Then-th member is equaln times the (n-1)-th member:an=nan1{\displaystyle a_{n}=na_{n-1}} for alln>1.{\displaystyle n>1.} This is a so-called recurrence relation: each further member is defined as a function of its number and the preceding member.

And the first member is equal to one:a1=1.{\displaystyle a_{1}=1.}Thus, then-th member is the product of all natural numbers from 1 ton; it is called the factorial ofn and denoted byn!.{\displaystyle n!\,.} For instance,5!=12345=120.{\displaystyle 5!=1\cdot 2\cdot 3\cdot 4\cdot 5=120.}

Factorials are widely used. They appear in the binomial theorem, Taylor's theorem, most of well-known discrete probability distributions (binomial, negative binomial, multinomial, Poisson, hypergeometric) etc.

A wonderful approximation for large factorials is given by Stirling's formulan!2πnnnen.{\displaystyle \textstyle n!\sim {\sqrt {2\pi n}}\,n^{n}e^{-n}.}Its relative error|12πnnnenn!|{\displaystyle \textstyle {\big |}1-{\frac {{\sqrt {2\pi n}}\,n^{n}e^{-n}}{n!}}{\big |}} tends to zero (asn tends to infinity), but the absolute error|n!2πnnnen|{\displaystyle |n!-{\sqrt {2\pi n}}\,n^{n}e^{-n}|} tends to infinity.

Fibonacci numbers

[edit |edit source]

(1,1,2,3,5,8,13,21,...)

Then-th member is equal the (n-1)-th member plus the (n-2)-th member:an=an1+an2{\displaystyle a_{n}=a_{n-1}+a_{n-2}} for alln>2{\displaystyle n>2} (a recurrence relation, again). And the first two members are equal to one:a1=a2=1.{\displaystyle a_{1}=a_{2}=1.} Thus,a3=a2+a1=1+1=2;{\displaystyle a_{3}=a_{2}+a_{1}=1+1=2;}a4=a3+a2=2+1=3;{\displaystyle a_{4}=a_{3}+a_{2}=2+1=3;}a5=a4+a3=3+2=5;{\displaystyle a_{5}=a_{4}+a_{3}=3+2=5;} and so on.

In the 17th century Johannes Kepler observed that ratios of consecutive Fibonacci numbers(11,21,32,53,){\displaystyle \textstyle {\big (}{\frac {1}{1}},{\frac {2}{1}},{\frac {3}{2}},{\frac {5}{3}},\dots {\big )}} converge to a limit:an+1anφ{\displaystyle {\tfrac {a_{n+1}}{a_{n}}}\to \varphi } (asn{\displaystyle n\to \infty }) for some numberφ.{\displaystyle \varphi .} If so, then necessarilyan+2an+1φ,{\displaystyle {\tfrac {a_{n+2}}{a_{n+1}}}\to \varphi ,} thereforean+1+anan+1φ,{\displaystyle {\tfrac {a_{n+1}+a_{n}}{a_{n+1}}}\to \varphi ,} that is,1+anan+1φ;{\displaystyle 1+{\tfrac {a_{n}}{a_{n+1}}}\to \varphi ;} taking into account thatanan+11φ{\displaystyle {\tfrac {a_{n}}{a_{n+1}}}\to {\tfrac {1}{\varphi }}} we get1+1φ=φ,{\displaystyle 1+{\tfrac {1}{\varphi }}=\varphi ,} that is,φ+1=φ2;{\displaystyle \varphi +1=\varphi ^{2};} a quadratic equation onφ.{\displaystyle \varphi .} It has two roots,(1±5)/2,{\displaystyle (1\pm {\sqrt {5}})/2,} one greater than 1, another smaller than 1. Clearly, the limitφ{\displaystyle \varphi } cannot be smaller than 1 (sincean+1an{\displaystyle {\tfrac {a_{n+1}}{a_{n}}}} cannot); thus, this limit (if exists) must beφ=(1+5)/2.{\displaystyle \varphi =(1+{\sqrt {5}})/2.} This number is the famous "golden ratio" treated already by Euclid about 2300 years ago.

We wonder about the error of the approximate equalityan+1anφ{\displaystyle {\tfrac {a_{n+1}}{a_{n}}}\approx \varphi } (for largen), that is,an+1φan.{\displaystyle a_{n+1}\approx \varphi a_{n}.} The absolute error being|an+1φan|,{\displaystyle |a_{n+1}-\varphi a_{n}|,} we investigate the differencean+1φan;{\displaystyle a_{n+1}-\varphi a_{n};} how does it change withn? Isan+2φan+1{\displaystyle a_{n+2}-\varphi a_{n+1}} greater or smaller (in absolute value) thanan+1φan?{\displaystyle a_{n+1}-\varphi a_{n}?}

Using the recurrence relation and the property ofφ{\displaystyle \varphi } we getan+2φan+1=an+1+anφan+1=(1φ)an+1+an=1φan+1+an=1φ(an+1φan),{\displaystyle a_{n+2}-\varphi a_{n+1}=a_{n+1}+a_{n}-\varphi a_{n+1}=(1-\varphi )a_{n+1}+a_{n}=-{\frac {1}{\varphi }}a_{n+1}+a_{n}=-{\frac {1}{\varphi }}(a_{n+1}-\varphi a_{n}),} which shows that the investigated difference changes the sign and decreases in the absolute value. By induction,an+1φan=(1φ)n1(a2φa1){\displaystyle a_{n+1}-\varphi a_{n}={\big (}-{\tfrac {1}{\varphi }}{\big )}^{n-1}(a_{2}-\varphi a_{1})} for alln. Introducingψ=1φ,{\displaystyle \psi =-{\tfrac {1}{\varphi }},} noting thatψ=1φ{\displaystyle \psi =1-\varphi } and recalling thata1=a2=1{\displaystyle a_{1}=a_{2}=1} we getan+1φan=ψn,{\displaystyle a_{n+1}-\varphi a_{n}=\psi ^{n},} which shows that the absolute error is decreasing and converges to 0 (since1<ψ<0{\displaystyle -1<\psi <0}).Existence of the limit follows:an+1an=φ+an+1φananφ.{\displaystyle {\tfrac {a_{n+1}}{a_{n}}}=\varphi +{\tfrac {a_{n+1}-\varphi a_{n}}{a_{n}}}\to \varphi .}

Interestingly, the property1+1φ=φ{\displaystyle 1+{\tfrac {1}{\varphi }}=\varphi } ofφ{\displaystyle \varphi } leads to a similar property1+1ψ=ψ{\displaystyle 1+{\tfrac {1}{\psi }}=\psi } ofψ,{\displaystyle \psi ,} as follows:1+1ψ=1φ=1φ=ψ.{\displaystyle 1+{\tfrac {1}{\psi }}=1-\varphi =-{\tfrac {1}{\varphi }}=\psi .} Thus,ψ{\displaystyle \psi } is nothing but the other root of the quadratic equation:ψ=(15)/2.{\displaystyle \psi =(1-{\sqrt {5}})/2.}

The proof of the equalityan+1φan=(1φ)n1(a2φa1){\displaystyle a_{n+1}-\varphi a_{n}={\big (}-{\tfrac {1}{\varphi }}{\big )}^{n-1}(a_{2}-\varphi a_{1})} given above does not use any other property ofφ,{\displaystyle \varphi ,} and therefore it holds forψ{\displaystyle \psi } as well:an+1ψan=(1ψ)n1(a2ψa1),{\displaystyle a_{n+1}-\psi a_{n}={\big (}-{\tfrac {1}{\psi }}{\big )}^{n-1}(a_{2}-\psi a_{1}),} that is (as before)an+1ψan=φn.{\displaystyle a_{n+1}-\psi a_{n}=\varphi ^{n}.}

Having explicit formulas foran+1φan=ψn{\displaystyle a_{n+1}-\varphi a_{n}=\psi ^{n}} andan+1ψan=φn{\displaystyle a_{n+1}-\psi a_{n}=\varphi ^{n}} it is easy to get an explicit formula foran.{\displaystyle a_{n}.} We just subtract the first formula from the second and get(φψ)an=φnψn,{\displaystyle (\varphi -\psi )a_{n}=\varphi ^{n}-\psi ^{n},} that is, the wonderful formula

an=(1+5)n(15)n2n5.{\displaystyle a_{n}={\frac {(1+{\sqrt {5}})^{n}-(1-{\sqrt {5}})^{n}}{2^{n}{\sqrt {5}}}}.}

It follows thatan{\displaystyle a_{n}} is the closest integer toφn/5.{\displaystyle \varphi ^{n}/{\sqrt {5}}.}

The decimal digits of the numberπ{\displaystyle \pi }

[edit |edit source]

(3,1,4,1,5,9,2,6,5,...)
By definition,n-th member of this sequence is equal to10{10n2π};{\displaystyle \lfloor 10\cdot \{10^{n-2}\pi \}\rfloor ;} herex{\displaystyle \lfloor x\rfloor } is the integral part ofx, and{x}=xx{\displaystyle \{x\}=x-\lfloor x\rfloor } is the fractional part ofx. Thus,
the first member is10{101π}=10{0.3141}=100.3141=3.141=3;{\displaystyle \lfloor 10\cdot \{10^{-1}\pi \}\rfloor =\lfloor 10\cdot \{0.3141\dots \}\rfloor =\lfloor 10\cdot 0.3141\dots \rfloor =\lfloor 3.141\dots \rfloor =3;}
the second member is10{100π}=10{3.141}=100.141=1.41=1;{\displaystyle \lfloor 10\cdot \{10^{0}\pi \}\rfloor =\lfloor 10\cdot \{3.141\dots \}\rfloor =\lfloor 10\cdot 0.141\dots \rfloor =\lfloor 1.41\dots \rfloor =1;}
the third member is10{101π}=10{31.41}=100.41=4.1=4;{\displaystyle \lfloor 10\cdot \{10^{1}\pi \}\rfloor =\lfloor 10\cdot \{31.41\dots \}\rfloor =\lfloor 10\cdot 0.41\dots \rfloor =\lfloor 4.1\dots \rfloor =4;} and so on.

In order to calculateπ{\displaystyle \pi } one may use the formulaπ=3+42344456+467848910+.{\displaystyle \textstyle \pi =3+{\frac {4}{2\cdot 3\cdot 4}}-{\frac {4}{4\cdot 5\cdot 6}}+{\frac {4}{6\cdot 7\cdot 8}}-{\frac {4}{8\cdot 9\cdot 10}}+\dots .} Trillions (that is, millions of millions) of decimal digits ofπ{\displaystyle \pi } are calculated using better formulas. They look as if they are random! On one hand, this is natural, since we do not know any reason for any regularity in this sequence. On the other hand, this is paradoxical, since in these digits there is not the slightest chance. The equality10{101π}=4{\displaystyle \lfloor 10\cdot \{10^{1}\pi \}\rfloor =4} is a mathematical theorem, as well as the equality10{1041π}=9{\displaystyle \lfloor 10\cdot \{10^{41}\pi \}\rfloor =9}, and the same can be said about10{10n2π}{\displaystyle \lfloor 10\cdot \{10^{n-2}\pi \}\rfloor } for everyn. (See alsoNumerical calculations and rigorous mathematics.) Each of these (seemingly random) digits, being an eternal mathematical truth, could not be different. Тhis puzzling situation is vividly discussed, seeWicklin,Preuss,mathoverfow etc. "To put our ignorance in perspective, note that it is not even known that all digits appear infinitely often: perhaps Pi = 3.1415926.....01001000100001000001..." (Stan Wagon,Is Pi normal?)

Retrieved from "https://en.wikibooks.org/w/index.php?title=Examples_and_counterexamples_in_mathematics/Infinite_sequences&oldid=3454093"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp