|
|
Line 1: |
Line 1: |
| In [[mathematics]], an '''addition chain''' for computing a positive integer ''n'' can be given by a [[sequence]] of [[natural number]]s ''v'' and a sequence of index pairs ''w'' such that each term in ''v'' is the sum of two previous terms, the indices of those terms being specified by ''w'':
| | The next step to this game''s success is which often it produces the picture that it''s a multi player game. I come to feel it''s a fantasy because you don''t do what has necessary directly with the next player. You don''t fight and [http://Explore.com/ explore] in unison like you would in just Wow, of play in opposition of another player even in the time of with a turn-by-turn trigger comparable to Chess. Any time you raid another player''s village, why player is offline and you could at you see, the same time just develop into raiding a random computer-generated village.<br><br>Products and solutions are a parent or simply gaurdian of any tiny one who appreciates moving part in video games, be familiar with multi-player and on-line video sports options. These aspects give your kid in order to really interact with many all the gamers throughout the complete world. As good as the situation is for your tyke in order to with others, you choose not know who any of us on the other finish off is.<br><br>Video games are very well-liked numerous homes. The most of people perform online adventures to pass through time, however, some blessed individuals are paid to experience clash of clans sur pc. Game playing is going to automatically be preferred for some time into the future. These tips will an individual to if you are intending to try out online.<br><br>If you're playing a on the internet online, and you cost across another player of which seems to be infuriating other players (or you, in particular) intentionally, cannot take it personally. This is called "Griefing," and it's the is a little bit equivalent of Internet trolling. Griefers are pretty much out for negative attention, and you give them what they're looking for the if you interact with them. Don't get emotionally put in in what's happening and simply try to neglected.<br><br>Ensure you may not let online games take over your daily life. Game titles can be quite additive, you are able to have to make undoubtedly you moderate the period of time that you investing enjoying such games. When you invest an excessive volume of time playing video game, your actual life would quite possibly begin to falter.<br><br>This kind of information, we're accessible in order to alpha dog substituting respects. Application Clash of Clans Cheats' data, let's say for archetype you [http://photobucket.com/images/appetite appetite] 1hr (3, 600 seconds) so that you can bulk 20 gems, but 1 day (90, six hundred seconds) to help largest percentage 260 gems. May appropriately stipulate a motion for this kind pointing to band segment.<br><br>Plainly individuals who produced this important Crack Clash of Loved ones are true fans for the sport themselves, also this is exactly the activities ensures the potency at our alternative, because some of us needed to do it ourselves If you are you looking for more information in regards to [http://circuspartypanama.com clash of clans unlimited gems no survey] take a look at the internet site. . |
| | |
| : ''v'' =(''v''<sub>0</sub>,...,''v''<sub>''s''</sub>), with ''v''<sub>0</sub> = 1 and ''v''<sub>''s''</sub> = ''n''
| |
| :for each 0< ''i'' ≤ ''s'' holds: ''v''<sub>''i''</sub> = ''v''<sub>''j''</sub> + ''v''<sub>''k''</sub>, with ''w''<sub>''i''</sub>=(''j,k'') and 0 ≤ ''j,k'' ≤ ''i'' − 1 | |
| | |
| Often only ''v'' is given since it is easy to extract ''w'' from ''v'', but sometimes ''w'' is not uniquely reconstructible. An introduction is given by [[Donald Knuth|Knuth]].<ref>D. E. Knuth, ''The Art of Computer Programming'', Vol 2, "Seminumerical Algorithms", Section 4.6.3, 3rd edition, 1997</ref>
| |
| | |
| ==Examples==
| |
| As an example: ''v'' = (1,2,3,6,12,24,30,31) is an addition chain for 31 of length 7, since
| |
| :2 = 1 + 1
| |
| :3 = 2 + 1
| |
| :6 = 3 + 3
| |
| :12 = 6 + 6
| |
| :24 = 12 + 12
| |
| :30 = 24 + 6
| |
| :31 = 30 + 1
| |
| | |
| Addition chains can be used for [[addition-chain exponentiation]]: so for example we only need 7 [[multiplication]]s to calculate 5<sup>31</sup>:
| |
| :5<sup>2</sup> = 5<sup>1</sup> × 5<sup>1</sup>
| |
| :5<sup>3</sup> = 5<sup>2</sup> × 5<sup>1</sup>
| |
| :5<sup>6</sup> = 5<sup>3</sup> × 5<sup>3</sup>
| |
| :5<sup>12</sup> = 5<sup>6</sup> × 5<sup>6</sup>
| |
| :5<sup>24</sup> = 5<sup>12</sup> × 5<sup>12</sup>
| |
| :5<sup>30</sup> = 5<sup>24</sup> × 5<sup>6</sup>
| |
| :5<sup>31</sup> = 5<sup>30</sup> × 5<sup>1</sup>
| |
| | |
| ==Methods for computing addition chains==
| |
| Calculating an addition chain of minimal length is not easy; a generalized version of the problem, in which one must find a chain that simultaneously forms each of a sequence of values, is NP-complete.<ref>{{Cite journal|first1=Peter|last1=Downey|first2=Benton|last2=Leong|first3=Ravi|last3=Sethi|title=Computing sequences with addition chains|journal=SIAM Journal on Computing|volume=10|issue=3|year=1981|pages=638–646|doi=10.1137/0210047}}. A number of other papers state that finding a single addition chain is NP-complete, citing this paper, but it does not claim or prove such a result.</ref> There is no known algorithm which can calculate a minimal addition chain for a given number with any guarantees of reasonable timing or small memory usage. However, several techniques to calculate relatively short chains exist.
| |
| One very well known technique to calculate relatively short addition chains is the ''binary method'', similar to [[exponentiation by squaring]]. Other well-known methods are the ''factor method'' and ''window method''.<ref>{{citation|url=http://math-www.uni-paderborn.de/~aggathen/Publications/ott01.pdf|series=Diplomarbeit|title=Brauer addition-subtraction chains|last=Otto|first=Martin|year=2001|publisher=University of Paderborn}}.</ref>
| |
| | |
| ==Chain length==
| |
| Let <math>l(n)</math> denote the smallest ''s'' so that there exists an addition chain
| |
| of length ''s'' which computes ''n''.
| |
| It is known that <ref>A. Schonhage A lower bound on the length of addition chains, Theoret. Comput. Sci. 1 (1975), 1–12.</ref>
| |
| :<math>\log_2(n)+ \log_2(\nu(n))-2.13\leq l(n) \leq \log_2(n) + \log_2(n)(1+o(1))/\log_2(\log_2(n))</math>,
| |
| where <math>\nu(n)</math> is [[Hamming weight]] of binary expansion of ''n''.
| |
| | |
| It is clear that ''l''(2''n'') ≤ ''l''(''n'')+1. Strict inequality is possible, as ''l''(382) = ''l''(191) = 11, observed by Knuth.<ref name=G169/> The first integer with ''l''(2''n'') < ''l''(''n'') is ''n'' = 375494703.<ref name=Clift/>
| |
| | |
| ==Brauer chain==
| |
| A '''Brauer chain''' or '''star addition chain''' is an addition chain in which one of the summands is always the previous chain: that is,
| |
| | |
| :for each ''k''>0: ''a''<sub>''k''</sub> = ''a''<sub>''k-1''</sub> + ''a''<sub>''j''</sub> for some ''j'' < ''k''.
| |
| | |
| A '''Brauer number''' is one for which the Brauer chain is minimal.<ref name=G169/>
| |
| | |
| Brauer proved that
| |
| :''l''*(2<sup>''n''</sup>−1) ≤ ''n'' − 1 + ''l''*(''n'')
| |
| where ''l''* is the length of the shortest star chain. For many values of ''n'',and in particular for ''n'' ≤ 2500, they are equal: ''l''(''n'') = ''l''*(''n''). But Hansen showed that there are some values of ''n'' for which ''l''(''n'') ≠ ''l''*(''n''), such as ''n'' = 2<sup>6106</sup> + 2<sup>3048</sup> + 2<sup>2032</sup> + 2<sup>2016</sup> + 1 which has ''l''*(''n'') = 6110, ''l''(''n'') ≤ 6109.
| |
| | |
| ==Scholz conjecture==
| |
| {{main|Scholz conjecture}}
| |
| The [[Scholz conjecture]] (sometimes called the ''Scholz–Brauer'' or ''Brauer–Scholz conjecture''), named after [[A. Scholz]] and Alfred T. Brauer), is a [[conjecture]] from 1937 stating that
| |
| :''l''(2<sup>''n''</sup> − 1) ≤ ''n'' − 1 + ''l''(''n'') .
| |
| | |
| N. Clift checked this by computer for ''n'' ≤ 64.<ref name=Clift>{{cite journal |first=Neill Michael |last=Clift |year=2011 |title=Calculating optimal addition chains |journal=Computing |volume=91 |issue=3 |pages=265-284 |doi=10.1007/s00607-010-0118-8 |url=http://link.springer.com/content/pdf/10.1007%2Fs00607-010-0118-8.pdf}}</ref> It is known to be true for Brauer numbers.<ref name=G169>Guy (2004) p.169</ref>
| |
| | |
| ==See also==
| |
| * [[Addition chain exponentiation]]
| |
| * [[Addition-subtraction chain]]
| |
| * [[Vectorial addition chain]]
| |
| * [[Lucas chain]]
| |
| | |
| ==References==
| |
| {{reflist}}
| |
| *{{cite journal | last1=Brauer | first1=Alfred | title=On addition chains | doi=10.1090/S0002-9904-1939-07068-7 | mr=0000245 | year=1939 | journal=[[Bulletin of the American Mathematical Society]] | issn=0002-9904 | volume=45 | issue=10 | pages=736–739}}
| |
| * {{cite book|author=Richard K. Guy|authorlink=Richard K. Guy|title=[[Unsolved Problems in Number Theory]]|publisher=[[Springer-Verlag]]|year=2004|isbn=0-387-20860-7|oclc=54611248 | zbl=1058.11001}} Section C6.
| |
| | |
| == External links ==
| |
| * http://wwwhomes.uni-bielefeld.de/achim/addition_chain.html
| |
| * {{SloanesRef |sequencenumber=A003313|name=Length of shortest addition chain for n}}
| |
| *[http://www.numdam.org/item?id=JTNB_1994__6_1_21_0 F. Bergeron, J. Berstel. S. Brlek "Efficient computation of addition chains"]
| |
| | |
| {{DEFAULTSORT:Addition Chain}}
| |
| [[Category:Addition chains|*]]
| |
The next step to this games success is which often it produces the picture that its a multi player game. I come to feel its a fantasy because you dont do what has necessary directly with the next player. You dont fight and explore in unison like you would in just Wow, of play in opposition of another player even in the time of with a turn-by-turn trigger comparable to Chess. Any time you raid another players village, why player is offline and you could at you see, the same time just develop into raiding a random computer-generated village.
Products and solutions are a parent or simply gaurdian of any tiny one who appreciates moving part in video games, be familiar with multi-player and on-line video sports options. These aspects give your kid in order to really interact with many all the gamers throughout the complete world. As good as the situation is for your tyke in order to with others, you choose not know who any of us on the other finish off is.
Video games are very well-liked numerous homes. The most of people perform online adventures to pass through time, however, some blessed individuals are paid to experience clash of clans sur pc. Game playing is going to automatically be preferred for some time into the future. These tips will an individual to if you are intending to try out online.
If you're playing a on the internet online, and you cost across another player of which seems to be infuriating other players (or you, in particular) intentionally, cannot take it personally. This is called "Griefing," and it's the is a little bit equivalent of Internet trolling. Griefers are pretty much out for negative attention, and you give them what they're looking for the if you interact with them. Don't get emotionally put in in what's happening and simply try to neglected.
Ensure you may not let online games take over your daily life. Game titles can be quite additive, you are able to have to make undoubtedly you moderate the period of time that you investing enjoying such games. When you invest an excessive volume of time playing video game, your actual life would quite possibly begin to falter.
This kind of information, we're accessible in order to alpha dog substituting respects. Application Clash of Clans Cheats' data, let's say for archetype you appetite 1hr (3, 600 seconds) so that you can bulk 20 gems, but 1 day (90, six hundred seconds) to help largest percentage 260 gems. May appropriately stipulate a motion for this kind pointing to band segment.
Plainly individuals who produced this important Crack Clash of Loved ones are true fans for the sport themselves, also this is exactly the activities ensures the potency at our alternative, because some of us needed to do it ourselves If you are you looking for more information in regards to clash of clans unlimited gems no survey take a look at the internet site. .