|
|
Line 1: |
Line 1: |
| {{distinguish2|the sequence of [[Lucas number]]s, which is a particular Lucas sequence}}
| | Before playing a new video clip clip game, read the cheat book. Most movie have a book people can purchase separately. You may want to help you consider doing this and reading it before you can play, or even even when you are playing. This way, you can easily get the most offered of your game participate.<br><br> |
|
| |
|
| In [[mathematics]], the '''Lucas sequences''' ''U''<sub>''n''</sub>(''P'',''Q'') and ''V''<sub>''n''</sub>(''P'',''Q'') are certain [[integer sequence]]s that satisfy the [[recurrence relation]]
| | If you have got to reload the best arms when playing battle of clans hack that has shooting entailed, always take cover first. This process is common for athletes to be gunned lowered while a reload is in fact happening, and you watches helplessly. Do Not really let it happen for you! Find somewhere so that you conceal before you get started to reload.<br><br>Interweaving social trends form a strong net in which many people trapped. When You see, the Tygers of Pan Tang sang 'It's lonely at the top. Everyones trying to do anybody in', these people pilfered much from clash of clans crack tool no survey. A society without collide of clans hack system no survey is for a society with no knowledge, in that it is very good.<br><br>Many are a group created by coders that loves to assist you play Cof. We are going to are continuously developing Cheats to speed up Levelling easily and to benefit from more gems for price. Without our hacks it may well take you ages as a way to reach your level.<br><br>Ensure you may not let games take over your the world. Game titles can be quite additive, therefore you have to make indeed you moderate the a period of time that you investing playing such games. If you invest an excessive volume of time playing video game, your actual life have the ability to begin to falter.<br><br>Video game is infiltrating houses all over the world. If you cherished this short article and you would like to receive a lot more data pertaining to clash of clans hack android - [http://circuspartypanama.com http://circuspartypanama.com] - kindly visit our [http://www.sharkbayte.com/keyword/web-page web-page]. Some play these games for work, but nevertheless , others play them during enjoyment. This organization is booming and won't depart anytime soon. Study for some fantastic advice on gaming.<br><br>Basically, it would alone acquiesce all of us to make sure you tune 2 [http://search.about.com/?q=volume+concerns volume concerns]. If you appetite for you to tune added than in which - as Supercell acutely acquainted t had actually been all-important - you allegations assorted beeline segments. Theoretically they could maintain a record of alike added bulk supplements. If they capital to help allegation contained or beneath for a couple day skip, they is able to calmly familiarize 1 supplemental segment. |
| :''x''<sub>''n''</sub> = ''P x''<sub>''n''−1</sub> − ''Q x''<sub>''n''−2</sub>
| |
| where ''P'' and ''Q'' are fixed integers. Any other sequence satisfying this recurrence relation can be represented as a [[linear combination]] of the Lucas sequences ''U''<sub>''n''</sub>(''P'',''Q'') and ''V''<sub>''n''</sub>(''P'',''Q'').
| |
| | |
| More generally, Lucas sequences ''U''<sub>''n''</sub>(''P'',''Q'') and ''V''<sub>''n''</sub>(''P'',''Q'') represent sequences of polynomials in ''P'' and ''Q'' with integer coefficients.
| |
| | |
| Famous examples of Lucas sequences include the [[Fibonacci number]]s, [[Mersenne number]]s, [[Pell number]]s, [[Lucas number]]s, [[Jacobsthal number]]s, and a superset of [[Fermat number]]s. Lucas sequences are named after the [[France|French]] [[mathematician]] [[Édouard Lucas]].
| |
| | |
| == Recurrence relations ==
| |
| | |
| Given two integer parameters ''P'' and ''Q'', the Lucas sequences of the first kind ''U''<sub>''n''</sub>(''P'',''Q'') and of the second kind ''V''<sub>''n''</sub>(''P'',''Q'') are defined by the [[recurrence relation]]s:
| |
| | |
| :<math>U_0(P,Q)=0, \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| :<math>U_1(P,Q)=1, \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| :<math>U_n(P,Q)=P\cdot U_{n-1}(P,Q)-Q\cdot U_{n-2}(P,Q) \mbox{ for }n>1, \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| and
| |
| | |
| :<math>V_0(P,Q)=2, \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| :<math>V_1(P,Q)=P, \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| :<math>V_n(P,Q)=P\cdot V_{n-1}(P,Q)-Q\cdot V_{n-2}(P,Q) \mbox{ for }n>1, \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| It is not hard to show that for <math>n>0</math>,
| |
| | |
| :<math>U_n(P,Q)=\frac{P\cdot U_{n-1}(P,Q) + V_{n-1}(P,Q)}{2}, \,</math>
| |
| | |
| :<math>V_n(P,Q)=\frac{(P^2-4Q)\cdot U_{n-1}(P,Q)+P\cdot V_{n-1}(P,Q)}{2}. \,</math>
| |
| | |
| == Examples ==
| |
| | |
| Initial terms of Lucas sequences ''U''<sub>''n''</sub>(''P'',''Q'') and ''V''<sub>''n''</sub>(''P'',''Q'') are given in the table:
| |
| | |
| {|class="wikitable" style="background: #fff"
| |
| |-
| |
| !<math>n\,</math>!!<math>U_n(P,Q)\, </math>!!<math>V_n(P,Q)\, </math>
| |
| |-
| |
| |<math>0\, </math>||<math>0\, </math>||<math>2\, </math>
| |
| |-
| |
| |<math>1\, </math>||<math>1\, </math>||<math>P\, </math>
| |
| |-
| |
| |<math>2\, </math>||<math>P\, </math>||<math>{P}^{2}-2Q\, </math>
| |
| |-
| |
| |<math>3\, </math>||<math>{P}^{2}-Q\, </math>||<math>{P}^{3}-3PQ\, </math>
| |
| |-
| |
| |<math>4\, </math>||<math>{P}^{3}-2PQ\, </math>||<math>{P}^{4}-4{P}^{2}Q+2{Q}^{2}\, </math>
| |
| |-
| |
| |<math>5\, </math>||<math>{P}^{4}-3{P}^{2}Q+{Q}^{2}\,</math>||<math>{P}^{5}-5{P}^{3}Q+5P{Q}^{2}\, </math>
| |
| |-
| |
| |<math>6\, </math>||<math>{P}^{5}-4{P}^{3}Q+3P{Q}^{2}\, </math>||<math>{P}^{6}-6{P}^{4}Q+9{P}^{2}{Q}^{2}-2{Q}^{3}\, </math>
| |
| |}
| |
| | |
| == Algebraic relations ==
| |
| | |
| The characteristic equation of the recurrence relation for Lucas sequences <math>U_n(P,Q)</math> and <math>V_n(P,Q)</math> is:
| |
| :<math>x^2 - Px + Q=0 \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| It has the [[discriminant]] <math>D=P^2 - 4Q</math> and the roots:
| |
| :<math>a = \frac{P+\sqrt{D}}2\quad\text{and}\quad b = \frac{P-\sqrt{D}}2. \,</math>
| |
| | |
| Thus:
| |
| :<math>a + b = P\, ,</math>
| |
| :<math>a b = \frac{1}{4}(P^2 - D) = Q\, ,</math>
| |
| :<math>a - b = \sqrt{D}\, .</math>
| |
| | |
| Note that the sequence <math>a^n</math> and the sequence <math>b^n</math> also satisfy the recurrence relation. However these might not be integer sequences.
| |
| === Distinct roots ===
| |
| When <math>D\ne 0</math>, ''a'' and ''b'' are distinct and one quickly verifies that
| |
| | |
| :<math>a^n = \frac{V_n + U_n \sqrt{D}}{2}</math>
| |
| | |
| :<math>b^n = \frac{V_n - U_n \sqrt{D}}{2}</math>.
| |
| | |
| It follows that the terms of Lucas sequences can be expressed in terms of ''a'' and ''b'' as follows
| |
| | |
| :<math>U_n= \frac{a^n-b^n}{a-b} = \frac{a^n-b^n}{ \sqrt{D}}</math>
| |
| | |
| :<math>V_n=a^n+b^n \,</math>
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| ===Repeated root===
| |
| | |
| The case <math> D=0 </math> occurs exactly when <math> P=2S \text{ and }Q=S^2</math> for some integer ''S'' so that <math>a=b=S</math>. In this case one easily finds that
| |
| | |
| :<math>U_n(P,Q)=U_n(2S,S^2) = nS^{n-1}\,</math>
| |
| | |
| :<math>V_n(P,Q)=V_n(2S,S^2)=2S^n\,</math>.
| |
| | |
| ===Additional sequences having the same discriminant===
| |
| | |
| If the Lucas sequences <math>U_n(P, Q)</math> and <math>V_n(P, Q)</math> have | |
| discriminant <math>D = P^2 - 4Q</math>, then the sequences based on <math>P_2</math> and <math>Q_2</math> where
| |
| :<math> P_2 = P + 2 </math>
| |
| :<math> Q_2 = P + Q + 1 </math>
| |
| have the same discriminant: <math>P_2^2 - 4Q_2 = (P+2)^2 - 4(P + Q + 1) = P^2 - 4Q = D</math>.
| |
| | |
| == Other relations ==
| |
| | |
| The terms of Lucas sequences satisfy relations that are generalizations of those between [[Fibonacci number]]s <math>F_n=U_n(1,-1)</math> and [[Lucas number]]s <math>L_n=V_n(1,-1)</math>. For example:
| |
| | |
| {|class="wikitable" style="background: #fff"
| |
| | |
| !General!!''P'' = 1, ''Q'' = -1
| |
| |-
| |
| |<math>(P^2-4Q) U_n = {V_{n+1} - Q V_{n-1}}=2V_{n+1}-P V_n \,</math>||<math>5F_n = {L_{n+1} + L_{n-1}}=2L_{n+1} - L_{n} \,</math>
| |
| |-
| |
| |<math>V_n = U_{n+1} - Q U_{n-1}=2U_{n+1}-PU_n \,</math>||<math>L_n = F_{n+1} + F_{n-1}=2F_{n+1}-F_n \,</math>
| |
| |-
| |
| |<math>U_{2n} = U_n V_n \,</math>||<math>F_{2n} = F_n L_n \,</math>
| |
| |-
| |
| |<math>V_{2n} = V_n^2 - 2Q^n \,</math>||<math>L_{2n} = L_n^2 - 2(-1)^n \,</math>
| |
| |-
| |
| |<math>U_{n+m} = U_n U_{m+1} - Q U_m U_{n-1}=\frac{U_nV_m+U_mV_n}{2} \,</math>||<math>F_{n+m} = F_n F_{m+1} + F_m F_{n-1}=\frac{F_nL_m+F_mL_n}{2} \,</math>
| |
| |-
| |
| |<math>V_{n+m} = V_n V_m - Q^m V_{n-m} \,</math>||<math>L_{n+m} = L_n L_m - (-1)^m L_{n-m} \,</math>
| |
| |}
| |
| <!-- The \, is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->
| |
| | |
| Among the consequences is that <math>U_{km}(P,Q)</math> is a multiple of <math>U_m(P,Q)</math>, i.e., the sequence <math>(U_m(P,Q))_{m\ge1}</math>
| |
| is a [[divisibility sequence]]. This implies, in particular, that <math>U_n(P,Q)</math> can be prime only when ''n'' is prime.
| |
| Another consequence is an analog of [[exponentiation by squaring]] that allows fast computation of <math>U_n(P,Q)</math> for large values of ''n''.
| |
| These facts are used in the [[Lucas–Lehmer primality test]].
| |
| | |
| [[Carmichael's theorem]] states that all but finitely many of the terms in a Lucas sequence have a [[prime factor]] that does not divide any earlier term in the sequence {{harv|Yubuta|2001}}.
| |
| | |
| == Specific names ==
| |
| | |
| The Lucas sequences for some values of ''P'' and ''Q'' have specific names:
| |
| | |
| :''U<sub>n</sub>''(1,−1) : [[Fibonacci number]]s
| |
| :''V<sub>n</sub>''(1,−1) : [[Lucas number]]s
| |
| :''U<sub>n</sub>''(2,−1) : [[Pell number]]s
| |
| :''V<sub>n</sub>''(2,−1) : Companion Pell numbers or Pell-Lucas numbers
| |
| :''U<sub>n</sub>''(1,−2) : [[Jacobsthal number]]s
| |
| :''V<sub>n</sub>''(1,−2) : [[Jacobsthal-Lucas numbers]] | |
| :''U<sub>n</sub>''(3, 2) : [[Mersenne number]]s 2<sup>''n''</sup> − 1
| |
| :''V<sub>n</sub>''(3, 2) : Numbers of the form 2<sup>''n''</sup> + 1, which include the [[Fermat number]]s {{harv|Yubuta|2001}}.
| |
| :''U<sub>n</sub>''(''x'',−1) : [[Fibonacci polynomials]] | |
| :''V<sub>n</sub>''(''x'',−1) : [[Lucas polynomials]].
| |
| | |
| Some Lucas sequences have entries in the [[On-Line Encyclopedia of Integer Sequences]]:
| |
| | |
| :{|class="wikitable" style="background: #fff"
| |
| |-
| |
| !<math>P\,</math>!!<math>Q\, </math>!!<math>U_n(P,Q)\, </math>!! <math>V_n(P,Q)\,</math>
| |
| |-
| |
| | -1 || 3 || {{OEIS2C|A214733}}
| |
| |-
| |
| | 1 || -1 || {{OEIS2C|A000045}} || {{OEIS2C|A000032}}
| |
| |-
| |
| | 1 || 1 || {{OEIS2C|A128834}} || {{OEIS2C|A087204}}
| |
| |-
| |
| | 1 || 2 || {{OEIS2C|A107920}}
| |
| |-
| |
| | 2 || -1 || {{OEIS2C|A000129}} || {{OEIS2C|A002203}}
| |
| |-
| |
| | 2 || 1 || {{OEIS2C|A001477}}
| |
| |-
| |
| | 2 || 2 || {{OEIS2C|A009545}} || {{OEIS2C|A007395}}
| |
| |-
| |
| | 2 || 3 || {{OEIS2C|A088137}}
| |
| |-
| |
| | 2 || 4 || {{OEIS2C|A088138}}
| |
| |-
| |
| | 2 || 5 || {{OEIS2C|A045873}}
| |
| |-
| |
| | 3 || -5 || {{OEIS2C|A015523}} || {{OEIS2C|A072263}}
| |
| |-
| |
| | 3 || -4 || {{OEIS2C|A015521}} || {{OEIS2C|A201455}}
| |
| |-
| |
| | 3 || -3 || {{OEIS2C|A030195}} || {{OEIS2C|A172012}}
| |
| |-
| |
| | 3 || -2 || || {{OEIS2C|A206776}}
| |
| |-
| |
| | 3 || -1 || {{OEIS2C|A006190}} || {{OEIS2C|A006497}}
| |
| |-
| |
| | 3 || 1 || {{OEIS2C|A001906}} || {{OEIS2C|A005248}}
| |
| |-
| |
| | 3 || 2 || {{OEIS2C|A000225}} || {{OEIS2C|A000051}}
| |
| |-
| |
| | 3 || 5 || {{OEIS2C|A190959}}
| |
| |-
| |
| | 4 || -3 || {{OEIS2C|A015530}} || {{OEIS2C|A080042}}
| |
| |-
| |
| | 4 || -2 || {{OEIS2C|A090017}}
| |
| |-
| |
| | 4 || -1 || {{OEIS2C|A001076}} || {{OEIS2C|A014448}}
| |
| |-
| |
| | 4 || 1 || {{OEIS2C|A001353}} || {{OEIS2C|A003500}}
| |
| |-
| |
| | 4 || 2 || || {{OEIS2C|A056236}}
| |
| |-
| |
| | 4 || 3 || {{OEIS2C|A003462}} || {{OEIS2C|A034472}}
| |
| |-
| |
| | 4 || 4 || {{OEIS2C|A001787}}
| |
| |-
| |
| | 5 || -3 ||{{OEIS2C|A015536}}
| |
| |-
| |
| | 5 || -2 ||{{OEIS2C|A015535}}
| |
| |-
| |
| | 5 || -1 || || {{OEIS2C|A087130}}
| |
| |-
| |
| | 5 || 1 || || {{OEIS2C|A003501}}
| |
| |-
| |
| | 5 || 4 ||{{OEIS2C|A002450}} || {{OEIS2C|A052539}}
| |
| |}
| |
| | |
| ==Applications==
| |
| * LUC is a [[public-key cryptosystem]] based on Lucas sequences<ref>{{cite journal |author=P. J. Smith, M. J. J. Lennon |title=LUC: A new public key system |journal=Proceedings of the Ninth IFIP Int. Symp. on Computer Security |year=1993 |pages=103–117 |url=http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.32.1835}}</ref> that implements the analogs of [[ElGamal]] (LUCELG), [[Diffie-Hellman]] (LUCDIF), and [[RSA (algorithm)|RSA]] (LUCRSA). The encryption of the message in LUC is computed as a term of certain Lucas sequence, instead of using [[modular exponentiation]] as in RSA or Diffie-Hellman. However, a paper by Bleichenbacher et al.<ref>{{cite journal |author=D. Bleichenbacher, W. Bosma, A. K. Lenstra |title=Some Remarks on Lucas-Based Cryptosystems |journal=[[Lecture Notes in Computer Science]] |volume=963 |year=1995 |pages=386–396 |doi=10.1007/3-540-44750-4_31 |url=http://www.math.ru.nl/~bosma/pubs/CRYPTO95.pdf}}</ref> shows that many of the supposed security advantages of LUC over cryptosystems based on modular exponentiation are either not present, or not as substantial as claimed.
| |
| | |
| * Lucas sequences are used in probabilistic [[Lucas pseudoprime]] tests.
| |
| | |
| ==References==
| |
| {{reflist}}
| |
| * {{cite journal| first1=D. H. | last1=Lehmer
| |
| |title=An extended theory of Lucas' functions
| |
| |journal=Annals of Mathematics |year=1930
| |
| |volume=31 | number=3
| |
| |jstor=1968235 |pages=419–448 |bibcode=1930AnMat..31..419L
| |
| }}
| |
| *{{cite journal| first1=Morgan | last1=Ward
| |
| |title=Prime divisors of second order recurring sequences
| |
| |journal = Duke Math. J. | year=1954 | volume=21 | number=4
| |
| |pages=607–614 | mr=0064073 |doi=10.1215/S0012-7094-54-02163-8
| |
| }}
| |
| *{{cite journal|first1=Lawrence | last1=Somer
| |
| |title=The divisibility properties of primary Lucas Recurrences with respect to primes
| |
| |year=1980 | journal=Fib. Quart. | pages=316 | volume=18 | url=http://www.fq.math.ca/Scanned/18-4/somer.pdf
| |
| }}
| |
| * {{cite journal|first1=J. C. | last1=Lagarias
| |
| |journal=Pac. J. Math | title=The set of primes dividing Lucas Numbers has density 2/3
| |
| |year=1985 | volume=118 | number=2 | pages=449–461 | mr=789184
| |
| }}
| |
| * {{cite book | title=Prime Numbers and Computer Methods for Factorization | edition=2nd ed | author=Hans Riesel | authorlink=Hans Riesel | series=Progress in Mathematics | volume=126 | publisher=Birkhäuser | year=1994 | isbn=0-8176-3743-5 | pages=107–121 }}
| |
| * {{ cite journal|first1=Paulo | last1=Ribenboim | first2=Wayne L. |last2=McDaniel
| |
| |title=The square terms in Lucas Sequences | journal=J. Numb. Theory
| |
| |year=1996 | volume=58 | number=1 | pages=104–123 | doi=10.1006/jnth.1996.0068
| |
| }}
| |
| * {{cite journal | first1=M. | last1=Joye | first2=J.-J. | last2=Quisquater
| |
| |title=Efficient computation of full Lucas sequences
| |
| |journal=El. Lett. | year=1996 | volume=32|number=6 | pages=537–538
| |
| ||url=http://www.joye.site88.net/papers/JQ96lucas.pdf |doi=10.1049/el:19960359
| |
| }}
| |
| *{{cite book | first=Paulo | last=Ribenboim | authorlink=Paulo Ribenboim | coauthors= | year=2000 | title=My Numbers, My Friends: Popular Lectures on Number Theory | edition= | publisher=[[Springer-Verlag]] | location=New York | isbn=0-387-98911-0 | pages=1–50 }}
| |
| *{{cite journal | first1=Florian | last1=Luca
| |
| |title=Perfect Fibonacci and Lucas numbers | year=2000
| |
| |journal = Rend. Circ Matem. Palermo
| |
| |doi=10.1007/BF02904236 | volume=49 | number=2 | pages=313–318
| |
| }}
| |
| *{{cite journal
| |
| | last = Yabuta | first = M.
| |
| | journal = Fibonacci Quarterly
| |
| | pages = 439–443
| |
| | title = A simple proof of Carmichael's theorem on primitive divisors
| |
| | url = http://www.fq.math.ca/Scanned/39-5/yabuta.pdf
| |
| | volume = 39
| |
| | year = 2001}}.
| |
| *{{cite book | title=Proofs that Really Count | author=Arthur T. Benjamin | coauthors=Jennifer J. Quinn | publisher=[[Mathematical Association of America]] | year=2003 | isbn=0-88385-333-7 | page=35 }}
| |
| *{{MathWorld | urlname=LucasSequence | title=Lucas Sequence}}
| |
| * {{cite web| first1=Wei | last1= Dai | url = http://weidai.com/lucas.html
| |
| |title= Lucas Sequences in Cryptography}}
| |
| | |
| ==See also==
| |
| *[[Somer–Lucas pseudoprime]]
| |
| | |
| [[Category:Recurrence relations]]
| |
| [[Category:Integer sequences]]
| |