<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Gabriel Miranda on Medium]]></title>
        <description><![CDATA[Stories by Gabriel Miranda on Medium]]></description>
        <link>https://medium.com/@gabrielmfern?source=rss-8ae6ff8bfe86------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lz1nlW14wFGrP83vEicJGA.jpeg</url>
            <title>Stories by Gabriel Miranda on Medium</title>
            <link>https://medium.com/@gabrielmfern?source=rss-8ae6ff8bfe86------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:47:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gabrielmfern/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[On numbers which are the sum of two squares — Leonhard Euler (part 5)]]></title>
            <link>https://medium.com/@gabrielmfern/on-numbers-which-are-the-sum-of-two-squares-leonhard-euler-part-5-17b9fdbe0743?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/17b9fdbe0743</guid>
            <category><![CDATA[prime-numbers]]></category>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[number-theory]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[primes]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Sun, 09 Jan 2022 13:39:06 GMT</pubDate>
            <atom:updated>2022-01-09T13:39:06.643Z</atom:updated>
            <content:encoded><![CDATA[<h3>On numbers which are the sum of two squares — Leonhard Euler (part 5)</h3><blockquote>To Fernanda</blockquote><p>Here is the promised part 5 of Euler’s article that speaks about numbers that are sums of two squares.</p><p>41. <strong>Corollary 1: </strong>Therefore, when the number N = aa + bb = cc + dd is composite, it will be of the form N = (pp + qq)(rr + ss). This, in turn, results in two ways to express it as a sum of two squares; these will certainly be a = pr+qs, b = ps−qr and c = ps + qr, d = pr − qs. Furthermore, from this is obtained a − d = 2qs and c − b = 2qr, so r/s = (c−b)/(a−d). Therefore, if the fraction (c−b)/(a−d) is reduced to lowest terms so that (c−b)/(a−d) = r/s , from the fraction r/s arises a divisor rr+ss of the number N, unless it is even, for if it is even, then it should be assumed to be half of this.<br>42. <strong>Corollary 2: </strong>In a similar way, when one permits a, b and c, d to be permuted between themselves and to take on negative values, if one reduces the fractions (a±c)/(b±d) or (a±d)/(b±c) to lowest terms, they become r/s, and rr + ss will always be a divisor of the given number N.<br>43. <strong>Corollary 3: </strong>Although from this more than two divisors appear to arise, different formulas lead to the same divisor, so not more than two are produced, if indeed the given number can be written in only two ways as a sum of two squares. Thus, if N = 85 = 9² + 2² = 7² + 6² , the formulas (9±7)/(6±2) , (9±6)/(7±2) supply only these four fractions in lowest terms: 2/1 , 4/1 , 5/3 , 3/1 , of which the last two generate such a double value, which arise from the first two. From this, it is clear that the factors will be the two numbers 2² + 1 = 5 and 4² + 1 = 17. Very briefly, these factors are found only if the roots of the odd and even squares are separately combined in turn, and the combination of the evens with the odds is totally omitted, because from this, fractions arise having odd numerator and denominator.<br>44. <strong>Problem: </strong>To explore whether a given number of the form 4n + 1 is prime or not.<br><strong>Solution: </strong>According to the operation to be explained shortly, let a given number be investigated as to whether or not it can be written as a sum of two squares, and if it can, whether more than one way is successful. If there is no way to write it as a sum of two squares, then by Section 32, this is a sure sign that the given number is not prime, even if this conclusion follows from Proposition 5, which was not satisfactorily proved. Indeed, in this case, nothing is known about its divisors. However, we can still certainly conclude that it has prime divisors of the form 4m − 1, because if all its divisors were of the form 4m + 1, these certainly could be written as sums of two squares. But if the given number can be written as a sum of two squares in only one way, then infallibly it will be regarded as a prime. However, if it can be successfully represented as a sum of squares in more than one way, then not only will it be known that it is not prime, but also its divisors can be distributed according to Section 43. With these matters carefully considered, I will pass on this rule with the help of which the representation as sum of two squares can be explored. A given number ends in 1, 3, 7, or 9. Here I omit the case in which it ends in 5, because then 5 is clearly a divisor, which indicates that the number is not prime. Then let square numbers starting with the greatest less than the given number itself be subtracted from it, so that it is evident whether a square number ever remains; indeed, however often this happens is the number of ways it can be successfully written as a sum of two squares. Now because square numbers cannot end in any of the numbers 2, 3, 7, or 8, the subtraction of the square numbers which produce residues ending in these numbers can be omitted. Consequently, the only work left is to find which squares produce residues ending in 0, 1, 4, 5, 6, or 9 when they are subtracted from the given number. Of course,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*vQdumnu23X7V0-DG3Nd1VQ.jpeg" /></figure><p>Therefore, for any given number 4n + 1 = N, however many operations are separately undertaken, that many are suitable endings of roots. So let pp be the greatest square of its kind which can be subtracted from a given number N; and then the squares (p−10)² ,(p−20)² ,(p−30)² ,(p−40)² , etc. are subtracted successively. Certainly from this, the residues emerging can be found readily in this way by continual addition:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*w8fGuI_dPG8D_hyaqrjdeQ.jpeg" /></figure><p>Therefore, the numbers to be added successively are 20p − 100, 20p − 300, 20p − 500, 20p − 700, etc. which decrease in an arithmetic progression with difference −200. Such an operation for individual numbers p, of which squares are just less than the given number and which end in some of the figures indicated above, is arranged and not contained beyond which half of the given number N is reached. Indeed, if the number N is a sum of two squares, it is certainly necessary for one to be less than half of N itself. When this is observed, however many squares will be produced by this operation, in that many ways the given number can be written as a sum of two squares.<br>The following examples will show that this long-anticipated operation is not very burdensome compared with all other methods of searching for prime numbers.<br>45. <strong>Example 1: </strong>To test whether or not the number 82421 is prime. The operation is arranged in the following six columns:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*MhIPwujqXxS-NMNUipL77g.png" /></figure><p>So then, because here a square, 625, occurs only once, and thus the given number 82421 can be written in only one way as a sum of two squares, namely, 252 + 2862 , the number 82421 will be prime.<br>46.<strong> Scholium: </strong>In this computation, four columns where the remaining numbers end in either 5 or 0 notably can be assembled omitting the columns which do not end in 25 or 00. Because of this, in the columns in which the remainders end in 5 or 0, first the next square which produces a remainder ending in 25 or 00 is subtracted, and let this square be designated pp so that the remainder is N − pp; then, in the same way, the squares from the remainders of which the endings arise will be (p − 50)² , (p − 100)² ,(p − 150)² , etc., and therefore these remainders will be obtained if, to N − pp, is continually added these numbers: 100p − 2500, 100p − 7500, 100p − 12500, which decrease arithmetically by a second constant difference 5000; from this, these columns are next spread out until the end, while the ones that are not more than half of the given number is a work to be continued. Therefore, one will have the shortened situation in numbers ending in 1 or 9, which are thus more easily arranged even if six columns are required, as long as four columns are sufficient for the remaining ones.<br>47. <strong>Example 2: </strong>To test whether or not the number 100981 is prime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*yBjs80UiYXb7AGghdgYA9A.jpeg" /></figure><p>Therefore, because only one square occurs (namely, 46225 = 215² ), 100981 = 215² + 234² will be a prime number.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17b9fdbe0743" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On numbers which are the sum of two squares — Leonhard Euler (part 4)]]></title>
            <link>https://medium.com/@gabrielmfern/on-numbers-which-are-the-sum-of-two-squares-leonhard-euler-part-4-1e676ca61848?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e676ca61848</guid>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[articles]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[leonhard-euler]]></category>
            <category><![CDATA[publication]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Sat, 08 Jan 2022 12:53:11 GMT</pubDate>
            <atom:updated>2022-01-08T12:53:11.882Z</atom:updated>
            <content:encoded><![CDATA[<h3>On numbers which are the sum of two squares — Leonhard Euler (part 4)</h3><blockquote>To Fernanda</blockquote><p>This is the part 4 for an article of Euler on numbers that are sums of two squares where he remarks many things like, for example, the cases on which prime numbers are sums of two squares. Let us continue:</p><p>32. <strong>Corollary 3: </strong>Therefore, if a number of the form 4n + 1 cannot be written in any way as the sum of two squares, this is a sure sign that the number is not prime. For if the number 4n + 1 were prime, it could certainly be written as the sum of two squares. Thus, since the numbers 21, 33, 57, 69, 77, 93, etc., which are contained in the form 4n + 1, are not sums of two squares, from this fact itself it is evident that they are not prime.<br>33.<strong> Corollary 4: </strong>Therefore, in the series of numbers which are sums of two squares, first, all prime numbers of the form 4n + 1 are included, and all products of two or more such prime numbers, and then products of these individual numbers in pairs and any square numbers.<br>34. <strong>Corollary 5: </strong>All numbers n for which a prime number is generated by the formula 4n + 1 are sums of two triangular numbers. For when 4n + 1 is a sum of two squares, its double 8n + 2 will be a sum of two unequal squares 8 . Therefore, let 8n + 2 = (2x + 1)² + (2y + 1)² so that n = (xx+x)/2+ (yy+y)/2 . Thus, if n is not a sum of two triangular numbers, then the number 4n + 1 is certainly not prime.<br>35. <strong>Proposition VI: </strong>If a number of the form 4n + 1 can be written in only one way as a sum of two squares prime between themselves, then it is certainly a prime number.<br><strong>Proof: </strong>Since this number is a sum of two squares prime between themselves, if it is not prime, then its individual factors are sums of two squares 9 . Thus, if this number is not prime, then at least two factors in such a number can be written so that 4n + 1 = (aa + bb)(cc + dd); in this case, however, there are two ways to write it as a sum of two squares 10, namely,<br>I. 4n + 1 = (ac + bd)² + (ad − bc)²<br>II. 4n + 1 = (ad + bc)²+ (ac − bd)².<br>And these resolutions are always different, unless either ac + bd = ad + bc or ac + bd = ac − bd. In the former case, ac + bd − ad − bc = 0, or namely, (a−b)(c−d) = 0, and therefore either a = b or c = d and hence either aa+bb or cc+dd is an even number which could not be a divisor of 4n+ 1 itself, since it is odd. In the latter case, either b = 0 or d = 0 and therefore 4n + 1 equals either aa(cc+dd) or cc(aa+bb), from which the two squares cannot be prime between themselves, contrary to hypothesis. By these cases which have been noted, it follows that 4n + 1 is a composite number if it can be written as a sum of two squares prime between themselves and can be written in at least two ways as the sum of two squares. Therefore, if the number 4n + 1 can be written in only one way as the sum of two squares, then it will certainly not be composite, but consequently will be prime. Q. E. D.<br>36. <strong>Corollary 1:</strong> If therefore one learns upon examination that some given number of the form 4n + 1 can be written in only one way as the sum of two squares prime between themselves, then from this we may safely conclude that the number is prime, even if we have not tested its divisibility by prime numbers as is usually done. Thus, because 73 is the sum of two squares in only one way, obviously 64 + 9, we know that it is certainly prime.<br>37. <strong>Corollary 2: </strong>Therefore, if a method is considered expedient, and with the use of it one may easily investigate whether and in how many ways a given number in the form 4n+ 1 can be written as the sum of two squares, then we can quickly judge whether the number is prime; for instance, if it can be written in only one way as the sum of two squares and the two squares are prime between themselves, then it will certainly be regarded as prime.<br>38. <strong>Corollary 3: </strong>Moreover, it is clear that if some number is written as a sum of two squares not prime between themselves, then that number is not prime. If however the given number is found to be nnaa + nnbb, then it will have divisors n and nn. Also, it is understood that if the given number is itself a square, say aa + 0, then it will have a as a divisor.<br>39. <strong>Scholium: </strong>This rule about testing prime numbers is restricted to odd numbers of the form 4n + 1; for instance, when even numbers can be written in one way as a sum of two squares, they are still not prime; so 10 can be written in only one way as a sum of two squares, and yet it is not prime, the reason of which is that in the product (aa + bb)(cc + dd), to which numbers of this form are equal, either a = b or c = d, in which case the twofold solution (which is seen to hold in general), reduces to a single one, just as explained in the demonstration. Neither is this given rule diminished by this exception, because the case of even numbers by themselves is easy. However, odd numbers of the other form, 4n−1 are thus themselves excluded, since they clearly cannot be written as a sum of two squares. As for the other form, if a number 4n + 1 either cannot be written as a sum of two squares or can successfully be written in several ways, we have already noted by the prior case that this number is certainly not prime, and yet this depends on the preceding proposition, which was not proved with sufficient rigor. Truly, this contention for the latter case will be conveyed in the following proposition.<br>40. <strong>Proposition VII: </strong>A number which can be written in two or more different ways as a sum of two squares is not prime but is composed of at least two factors.<br><strong>Proof:</strong> Let N be the proposed number which can be written in two ways as a sum of two squares , namely, N = aa + bb = cc + dd. Since these squares are not equal, otherwise N itself would not be prime, let a &gt; b and c &gt; d. Because these two representations are different, a is not equal to c and b not equal to d. Therefore, if a &gt; c, then b &lt; d, so that one can set a = c + x and d = b + y. So because aa + bb = cc + dd, 2cx + xx = 2by + yy as a result . Let either form be xyz, because one side is divisible by x and the other side is divisible by y. Then, c = (yz−x)/2 , b = (xz−y)/2 , a = (yz+x)/2 , d = (xz+y)/2 , so that N = aa + bb = (xxzz+yy+yyzz+xx)/4 , that is, N = (yy+xx)(1+zz)/4. Therefore, unless xx + yy is divisible by 4, xx + yy will be a divisor of N itself; but if xx + yy is divisible by 4 or is somehow a composite number, some factor of it will certainly be a divisor of N itself. Therefore, because x = a − c and y = d − b, the given number N = aa + bb = cc + dd will have as a divisor either the number (a−c)/2 + (d−b)/2 itself or a half or a quarter of it. And because one may permute the numbers a, b and c, d in any way, the factors of N itself will be also be (a−d)/2 + (c−b)/2 , or because the roots a, b, c, d may assume negative values, (a ± c)/2 + (d ± b)/2 or (a ± d)/2 + (c ± b)/2 or half of these formulas or some other portion. Thus, when a number can be written in more than one way as a sum of two squares, that number will certainly not be prime, but composite. Q. E. D.</p><p>This is for this part. I am going to post the next one tomorrow.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e676ca61848" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On numbers which are the sum of two squares — Leonhard Euler (part 3)]]></title>
            <link>https://medium.com/@gabrielmfern/on-numbers-which-are-the-sum-of-two-squares-leonhard-euler-part-3-7db6f28ccf90?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/7db6f28ccf90</guid>
            <category><![CDATA[leonhard-euler]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[square]]></category>
            <category><![CDATA[articles]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Wed, 15 Dec 2021 13:05:58 GMT</pubDate>
            <atom:updated>2021-12-15T13:05:58.437Z</atom:updated>
            <content:encoded><![CDATA[<h3>On numbers which are the sum of two squares — Leonhard Euler (part 3)</h3><blockquote>To Fernanda</blockquote><p>This is the part 3 of an article of Euler’s that is named “On numbers which are the sum of two squares”, on the second part we stoped at page 8. Let’s continue:</p><p>19. <strong>Proposition III:</strong> If the sum of two squares primes between themselves aa + bb is divisible by a prime number p, a sum of two other squares cc+dd can always be generated which is divisible by that same number p so that the sum cc + dd is not greater than pp/2.<br><strong>Proof: </strong>Let the sum of two squares prime between themselves aa + bb be divisible by the number p, and let a and b be numbers of any size. Therefore, because neither a nor b is divisible by p, the numbers a and b can be expressed as a = mp ± c and b = np ± d, where one may select m and n so that c and d do not exceed p?. Therefore aa + bb = mmpp ± 2mcp + cc + nnpp ± 2ndp + dd. Because both this whole expression is divisible by p, by hypothesis, and a part of it, mmpp ± 2mcp + nnpp ± 2ndp by itself has p as a divisor, it is necessary that the other part cc + dd, which is a sum of two squares, is similarly divisible by p. But because the roots c and d do not exceed p/2, neither of the formulas in the sum of squares cc + dd will exceed the square pp, and therefore a sum of two squares cc + dd can be produced which is not greater than pp/2, but is nonetheless divisible by p. Q. E. D.<br>20. <strong>Corollary 1: </strong>Therefore, if there is no sum of two squares prime between themselves, divisible by p, and not exceeding pp/2, then there is no sum of two squares prime between themselves which is divisible by the number p.<br>21. <strong>Corollary 2: </strong>Therefore, if there is no sum of squares prime between themselves, less than 3²/2 (namely 4/2), and divisible by 3, then it clearly follows that there is no sum of two squares prime between themselves which is divisible by 3. And in a similar way by the number 7, because there is no sum of two squares less than 7²/2(namely 24/2 ), and divisible by 7, it follows that certainly neither among larger numbers is there a sum of two squares prime between themselves which is divisible by 7.<br>22. <strong>Proposition IV:</strong> The sum of two squares prime between themselves cannot be divided by any number which itself is not a sum of two squares.<br><strong>Proof:</strong> Concerning what is to be proved, let us suppose that the sum of two squares prime between themselves aa+bb is divisible by the number p, which is not a sum of two squares. Therefore, another sum of two squares prime between themselves can be generated, cc + dd, which is not greater than 1 2 pp and is divisible by p. Therefore, let cc + dd = pq. Since p is not a sum of two squares, either the number q itself will not be such a sum or will have at least one factor r which is not a sum of two squares. Indeed, because pq&lt;pp/2, we have q&lt;p/2 and, furthermore, r&lt;p/2 Therefore because cc + dd is also divisible by r&lt;p/2 , by the preceding proposition, a sum of two squares ee+ff can be generated which is divisible by the same number r and does not exceed rr/2 or, furthermore, pp/8, And since r is not a sum of two squares, proceeding continuously in a similar way, one reaches smaller sums of two squares which are divisible by a number that is not a sum of two squares. On account of this, because there is no sum of two squares prime between themselves among the smallest numbers and divisible by a number that is not the sum of two squares, neither among the greatest numbers will there be such sums of two squares which are divisible by numbers that are not themselves sums of two squares. Q. E. D.<br>23.<strong> Corollary 1: </strong>If therefore the sum of two squares prime between themselves is not a prime number, all of its prime factors will also be sums of two squares. Therefore, just as the product of however many prime numbers which themselves are sums of two squares will similarly be a sum of two squares, so now the converse of this proposition is proved, that the sum of two squares prime between themselves cannot be created by multiplication except from numbers which themselves are sums of two squares.<br>24.<strong> Corollary 2: </strong>Therefore, all numbers which are sums of two squares prime between themselves are either themselves contained in this series of prime numbers: 2, 5, 13, 17, 29, 37, 41, 53, 61, 73, 89, 97, 101, 109, 113, etc. or are constructed by multiplication of two or more numbers from this series. Moreover, all these prime numbers except 2 exceed a multiple of 4 by 1, or namely, are contained in the form 4n + 1.<br>25. <strong>Corollary 3: </strong>Therefore, if the sum of two squares aa + bb is divisible by a number which is not a sum of two squares, then from this it is understood that those squares aa and bb are not prime between themselves, and thus neither are their roots, a and b.<br>26. <strong>Corollary 4: </strong>Let a = nc and b = nd. Since the sum of the two squares aa + bb = nn(cc + dd) can be divided by any number n that is not a sum of two squares, it is divisible not only by n but also by nn. It is evident that if the sum of two squares is divisible by some number which is not a sum of two squares, then it will also be divisible by the square of this number. Thus, because 45 = 36 + 9 is divisible by 3, it is also divisible by 9.<br>27. <strong>Corollary 4: </strong>Because no number contained in the form 4n−1 is a sum of two squares, it is also clear that no sum of two squares prime between themselves can be divided by any prime number contained in the form 4n − 1. These prime numbers are 3, 7, 11, 19, 23, 31, 43, 47, 59, 67, 71, 79, 83, 103, 107, etc.<br>28. <strong>Scholium: </strong>All prime numbers which are sums of two squares, except 2, form this series: 5, 13, 17, 29, 37, 41, 53, 61, 73, 89, 97, 101, 109, 113, 137, 149, etc. Not only are these contained in the form 4n + 1, but also, however far the series is continued, we find that every prime number of the form 4n+1 occurs. From this, we can conclude by induction that it is likely enough that there is no prime number of the form 4n+ 1 which is not also a sum of two squares. Nevertheless, induction, however extensive, cannot fulfill the role of proof. Even if no one doubts the truth of the statement that all prime numbers of the form 4n+ 1 are sums of two squares, until now mathematics could not add this to its established truths. Even Fermat declared that he had found a proof, but because he did not publish it anywhere, we properly extend confidence toward the assertion of this most profound man, and we believe that property of the numbers, but this recognition of ours rests on pure faith without knowledge. Although I labored much in vain on a proof to be discarded, nevertheless I have discovered another argument to be given for this truth, which, even it if it is not fully rigorous, still appears to be equivalent to induction connected with nearly rigorous proof.<br>28.<strong> Proposition V: </strong>Every prime number which exceeds a multiple of four by one is a sum of two squares.<br>29. <strong>Attempt at a proof: </strong>The prime numbers which this discussion concerns are contained in the form 4n + 1. Now if the number 4n + 1 is prime, I showed that the form a^(4n) − b^(4n) is always divisible by it, regardless of what numbers are substituted for a and b, provided that neither is divisible by 4n+1. Because a^(4n)−b^(4n) = (a^(2n)−b^(2n))(a^(2n)+ b^(2n)), it is necessary that one of the factors, either a^(2n) − b^(2n) or a^(2n) + b^(2n), be divisible by the prime number 4n + 1. Accordingly, as a and b assume some values or others, in some cases the formula a^(2n) − b^(2n) and in other cases the formula a^(2n) +b^(2n) will divisible by 4n+ 1. From this, one may assume, if indeed I am not yet able to overcome this with a solid proof, that such numbers can always be assigned for a and b so that the formula a^(2n) − b^(2n) is not divisible by 4n + 1; therefore, in these cases, the other formula a^(2n) + b^(2n) must necessarily be divisible by 4n + 1. Let a^n = p and b^n = q. The sum of two squares pp + qq obtained is divisible by 4n+ 1 even though neither square pp nor qq individually has 4n+1 as a divisor. And therefore, even if perhaps pp and qq have a common divisor mm, so that pp + qq = mm(rr + ss), because the common factor mm does not have 4n + 1 as a divisor, it is necessary that the sum of two squares prime between themselves rr+ss has 4n+1 as a divisor. Consequently, because such a sum of two squares does not allow other divisors, it is necessary that the prime number 4n + 1 be a sum of two squares.<br>29. <strong>Corollary 1: </strong>This proof would therefore be perfect if one could only prove that there always exist such values to be substituted for a and b for which the formula a 2n − b 2n would not be made divisible by the prime number 4n + 1, namely, in these cases, the formula a 2n + b 2n is necessarily divisible by 4n + 1.<br>30. <strong>Corollary 2: </strong>But if anyone attacks this matter by calculation, he will discover not only many cases but infinitely many cases of the formula a 2n − b 2n for which it is not divisible by a prime number 4n + 1, but also one can set b equal to one so that this simpler formula a 2n − 1 is again and again not divisible by 4n + 1.<br>31. <strong>Scholium:</strong> These cases of a for which the formula a 2n − 1 is divisible by the prime number 4n + 1 can be easily determined. First, for instance, if a = pp, then the formula a 2n −1 = p 4n −1 is always divisible by 4n+ 1, provided that p does not equal 4n + 1 or a multiple of it. Next, if a = pp ± (4n + 1)q, the formula a 2n − 1 also has 4n + 1 as a divisor, for a 2n = (pp ± (4n + 1)q) 2n can be broken up into a series of terms, of which the first is p 4n, and each of the subsequent terms is divisible by 4n + 1. From this, it is evident that the appropriate values for a are all the residues which remain after the squares p 2 are divided by 4n + 1. However, whether r or 4n + 1 + r or (4n + 1)q + r is substituted for a, these same residues occur, from which all possible residues are obtained if p is set equal to successive numbers 1, 2, 3, 4, 5, up to 4n. But setting p equal to the value 4n yields the same residue as the value 1, and in a similar way, the values 2 and 4n − 1 give the same residue; so do 3 and 4n − 2; so do 4 and 4n − 3, etc. Thus, whenever two residues arising from the numbers 1, 2, 3, up to 4n for the roots of squares are equal, the number of different such resulting residues will be 2n, and therefore this many numbers will be generated less than 4n + 1, numbers which cannot be residues arising from division of square numbers by 4n + 1. And these numbers substituted for a always produce a number a 2n − 1 which is not divisible by 4n + 1. Indeed, this similarly cannot be proven. And yet, because in making the attempt, however many numbers are explored in this way, not a single case will occur which contradicts this rule, its truth should be acknowledged. I will attach several examples in which these things are observed more clearly. First, let 4n+ 1 = 5; cases for which the formula a 2 −1 is divisible by 5 will be obtained if for a is substituted the residues arising from division of squares by 5; these residues are 1, 4. But if a is set equal to either 2 or 3, the formula a 2 − 1 will not be divisible by 5; in these cases therefore the formula a 2 + 1 will have 5 as a divisor. Now let 4n + 1 = 13, namely, let n = 3. The residues which are left after the division of square numbers by 13 are 1, 4, 9, 3, 12, 10. Consequently, if any of the remaining numbers 2, 5, 6, 7, 8, 11, are substituted for a, then not the formula a 6 − 1, but a 6 + 1 will be divisible by 13. Next, if 4n + 1 = 17, that is, if n = 4, because the residues of squares divided by 17 are 1, 4, 9, 16, 8, 2, 15, 13, if any of the remaining numbers 3, 5, 6, 7, 10, 11, 12, 14 is set equal to a, then the formula a 8 − 1 will not be divisible by 17, but a 8 + 1 will be. Therefore, because this principle is observed continually, this proof via induction will be judged almost complete. Hence, this proposition seems so confirmed that one may not voice much doubt about its truth. Nevertheless, it would be all the more worthwhile if anyone could show a rigorous proof of this proposition by which we are more certain of its truth. Indeed, there is no doubt that such a proof, sought in vain for so long, may lead us to many other important properties of the numbers. Although the truth of this proposition is beyond doubt, nevertheless, I will diligently note that I will distinguish the consequences which depend on it from the others which are supported by solid proof; however, from this unproved proposition follow these corollaries which I wish to be designated by that name.</p><p>This is it for this post, I will see you on part 4, we have gon through 13 out of 24 pages.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7db6f28ccf90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Properties of the roots of a polynomial function]]></title>
            <link>https://medium.com/@gabrielmfern/the-differential-of-an-infinite-product-87f1add81a1d?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/87f1add81a1d</guid>
            <category><![CDATA[product]]></category>
            <category><![CDATA[calculus]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[roots]]></category>
            <category><![CDATA[infinity]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Tue, 14 Dec 2021 14:15:55 GMT</pubDate>
            <atom:updated>2021-12-14T20:44:48.953Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>To Fernanda</blockquote><p>Here I am going to speak of polynomial functions — call them P(x) — such that they have some roots that it is possible to find in such a way that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*8fM_MJll7oYeKmA-WhDP3Q.png" /></figure><p>Because then, all the roots of this polynomial function are all the r inside of this set R of the roots of P(x). If x is in R, then P(x)=0. Now, this is as simple as it gets, but it is still interesting, if we were to take the logarithm on both sides of the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*NedVo2YoOGNBhC-PZxPxJg.png" /></figure><p>Because of the basic properties of the logarithm, and because the differential of the logarithm of some function, after differentiating both sides, we can say that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*ZpSSB0rkTkPvEcuYkWlImQ.png" /></figure><p>And, as you can see, this gives the ratio between the polynomial function and its differential based on the roots of the polynomial function, and as you might think this perhaps relates to Newton’s Method. But before we deal with Newton’s Method let us apply this to the sin function. Since:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/298/1*h3Vrm6hgy-KvtPqd7L6tbw.png" /></figure><p>We can apply the formula, and we will see that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*SEcGMGYUcXn1VCxA9l9BBw.png" /></figure><p>And that is pretty crazy if it hasn’t already been discovered before. Now, about the Newton’s Method part I have written a post on MatRel talking about it called “<a href="https://mat-rel.com/#/post/61b8a69d1c5416ceb9ae95f3">Newton’s Method and why it’s expression relates to roots</a>”.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87f1add81a1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On numbers which are the sum of two squares — Leonhard Euler (part 2)]]></title>
            <link>https://medium.com/@gabrielmfern/on-numbers-which-are-the-sum-of-two-squares-leonhard-euler-part-2-fdb8a4722734?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/fdb8a4722734</guid>
            <category><![CDATA[sum-of-squares]]></category>
            <category><![CDATA[leonhard-euler]]></category>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[square]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Sun, 12 Dec 2021 13:12:44 GMT</pubDate>
            <atom:updated>2021-12-12T13:12:44.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>On numbers which are the sum of two squares — Leonhard Euler (part 2)</h3><blockquote>To Fernanda</blockquote><p>This is the second part of an article of Euler’s that is about the numbers which are a sum of two squares. On it he presents many properties of these numbers relations between them and theorem about them. <a href="https://medium.com/@gabrielmfern/on-numbers-which-are-the-sum-of-two-squares-leonhard-euler-part-1-ca71c0b91781">Here</a> you can find the first part.</p><p>10.<strong> Corollary 2: </strong>Therefore, if the letters α, β, γ, δ, etc. denote such prime numbers which are sums of two squares, it is evident from this that if the product αq is a sum of two squares, then the factor q will also be a sum of two squares.<br>11. <strong>Corollary 3:</strong> Furthermore, from this it is easily obtained later on that if the product αβq is a sum of two squares, the factor q will also be a sum of two squares. Indeed, because αβq is a sum of two squares, by the corollary above, βq will also be a sum of two squares; and by the same reasoning q will also be a sum of two squares.<br>12.<strong> Corollary 4:</strong> In the same way, it is evident that if the product αβγδeq is a sum of two squares, then the factor q is also a sum of two squares; hence, if the product pq is a sum of two squares, and the factor p is a product of however many prime numbers, each of which is a sum of two squares, then the other factor q will also be a sum of two squares.<br>13.<strong> Scholium: </strong>The rules of logic do not permit this proposition to be inverted, that whenever the factor q is a sum of two squares,4 then the other factor p can be declared either a sum of two squares, if it is prime, or a product of prime numbers, each of which is a sum of two squares. Indeed, this itself has not yet been established, whether a product of several prime numbers which themselves are not sums of two squares cannot be a sum of two squares: rather, to the contrary, we already have a case that the product 45 = 3 · 3 · 5 is a sum of two squares although its factors 3 and 3 are not of this kind. In truth, the proposition can thus be inverted correctly only to the extent that if the consequent is negated, then the negation of the antecedent is concluded; because of its very great importance, I will deal with the converse in this proposition.<br>14. <strong>Proposition II:</strong> If the product pq is a sum of two squares but its factor q is not a sum of two squares, then the other factor p, if it is a prime number, will not be a sum of two squares, but if however it is not prime, it will certainly have at least one prime factor which is not a sum of two squares.<br><strong>Proof:</strong> Because one factor p is either a prime number or composite, it is proper to analyze each case separately. First, let p be a prime number; if it were a sum of two squares, the other factor q would also be a sum of two squares, which is false according to the hypothesis. It follows that the factor p is not a sum of two squares. Second, let p be a composite number; it has been established previously that if all of its prime factors are sums of squares, then the other factor q will also be of the same nature. Therefore, because according to hypothesis, q is not a sum of two squares, it follows that not all factors of p itself are sums of two squares. Q. E. D.<br>15.<strong> Corollary 1:</strong> If therefore the product pq is a sum of two squares, but one of its factors q cannot be expressed as two squares, then the other factor p is either itself not a sum of two squares or will have at least one prime factor which cannot be expressed as two squares. For example, if pq = 45 and q = 3, then p = 15, which has a factor 3 that is not the sum of two squares.<br>16. <strong>Corollary 2:</strong> From this however one cannot yet conclude that the other factor p is clearly not a sum of two squares, however certain this may be in the case when p is a prime number. It still has not yet been established in the case when p is a composite number, because p can have a factor which cannot be written as the sum of two squares even though p itself is a sum of two squares.<br>17. <strong>Corollary 3:</strong> However, one can conclude this: If p is a sum of two squares then it has not just one but at least two prime factors which cannot be written as the sum of two squares. For example, let p = αβγδ, where δ is that factor which cannot be written as a sum of two squares; it is clear that if p is a sum of two squares, then, in light of the deleted factor δ, in addition the remaining factor αβγ should have a factor which cannot be written as the sum of two squares.<br>18. <strong>Scholion:</strong> Although an inquiry has been undertaken concerning the divisors of numbers which are sums of two squares, about the sum of squares aa + bb, the cases are properly distinguished depending on whether the squares aa and bb, or, equivalently, their roots a and b, are prime between themselves or not. For instance, if a and b are not prime between themselves but have a common divisor n so that a = nc and b = nd, the sum of squares will be nncc + nndd = nn(cc + dd), and therefore will have a divisor n which can be any number. But if the roots a and b are numbers prime between themselves, then the sum of squares aa + bb does not admit many numbers as divisors. For example, it is evident that such a sum of two squares aa + bb is never divisible by 3. For by hypothesis, the squares cannot both be divisible by 3, because otherwise they would not be prime between themselves. If the sum were divisible by 3, then neither term could be divisible by 3. Therefore if either of these roots exist, they are of the form 3m + 1 or 3m − 1. But the sum of two such squares, divided by 3, always leaves a remainder 2, and is therefore never divisible by 3. In the same way, it is understood that the sum of two squares aa + bb, prime between themselves, is never divisible by 7 or 11 or 19, etc. In general, it is not easy to determine in this way which numbers can never be divisors of the sums of two squares prime between themselves. It is fitting therefore to prove the proposition certainly known well enough elsewhere, that the sum of two squares prime between themselves does not admit other prime divisors, unless they themselves are sums of two squares. But the following proposition should be given.</p><p>This is all for this post, see you on part 3. We are still only on the 8th page.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fdb8a4722734" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can an infinite space have a finite area?]]></title>
            <link>https://medium.com/@gabrielmfern/can-an-infinite-space-have-a-finite-area-76fc6e7f0b7c?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/76fc6e7f0b7c</guid>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[natural]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[calculus]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Sat, 11 Dec 2021 22:01:24 GMT</pubDate>
            <atom:updated>2021-12-11T22:02:27.686Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>To Fernanda</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WsGtHKTYsPnlTMzUWj8bvA.jpeg" /></figure><p>I have two answers for this. The short answer and the long answer. The short answer of curse, is yes. And the long one is not really an answer but rather an explanation to the short answer you could say.</p><p>To show such a infinite space exists I am going to show you one example of it that is quite beautiful. As a first step I am going to take you back all the way to your high school times.</p><p>If you remember a little bit of calculus you probably know that an integral — the symbol ∫ — is the area under some kind of curve. And the curve usually is the plot of some function. For example, we can take the function f(t)=t, in which case the area under the curve is going to be the area of the right triangle with equal sides. Therefore, the area of it is like t²/2. So:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/159/1*H4iz49VuCWp4CLxlldWX9Q.png" /></figure><p>Which is basically just saying that the area under the curve of the plot of the function f(t)=t (sorry for the change of variable) from 0 to x is x²/2. Even more you can get even crazy areas like this one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/181/1*ewI9f7onvtDffaIxcwNHzA.png" /></figure><p>If you know what “ln x” — or the natural logarithm of x — means then you will think this is kind of crazy. On another note saying this is kind of stupid because probably everyone who knows what the natural logarithm is, know this fact. This is almost a definition for the natural logarithm one could say.</p><p>But this isn’t the example I am going to show here. Actually this thing called “the natural logarithm” is actually quite important to mathematicians, and you will see one amazing thing about it. I am not going to explain what it is exactly, but you can guess from the integral I showed before. If we were to graph this thing on desmos we would have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N3rICwrxmNrUhh2UEkbrPA.png" /></figure><p>Yeah, I know this is kind of crazy close to 0 this thins out to infinity reeaaaaaaaaaly fast. And it is reaaaaly fast, when I say really, I mean reaaaaly. So much so that you might be trying to guess what I am going to say next and if you get it right you maybe think “what is the area arround there where the natural logarithm thins out?”. Well if you said that, I don’t like you, because you guessed right.</p><p>To be more specific let us ask a question here. What is the value of:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/115/1*KFNhgt9PJUvcMMJHJpHhjw.png" /></figure><p>Believe it or not this has a actual value. I mean, it actually does. It is actually quite small. The value is -1, exactly. Yes, negative one. Now to explain why this is true.</p><p>Integration by parts will yield that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*AZpxonVHFEzU2VxGoF2arw.png" /></figure><p>Now the first limit is easily defined to be just -1. The second one, as you might guess from the value I gave before, is going to be 0 because it tends to 0 as x approaches 0 from the positive side. In such a way that the area under that curve from 0 to 1 is exactly -1. Thus proving that there can exist a infinite space that contains finite area. Kind of crazy right?</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76fc6e7f0b7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On numbers which are the sum of two squares — Leonhard Euler (part 1)]]></title>
            <link>https://medium.com/@gabrielmfern/on-numbers-which-are-the-sum-of-two-squares-leonhard-euler-part-1-ca71c0b91781?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca71c0b91781</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[leonhard-euler]]></category>
            <category><![CDATA[number-theory]]></category>
            <category><![CDATA[diophantine-equations]]></category>
            <category><![CDATA[square]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Sat, 11 Dec 2021 18:16:56 GMT</pubDate>
            <atom:updated>2021-12-11T18:16:56.102Z</atom:updated>
            <content:encoded><![CDATA[<h3>On numbers which are the sum of two squares — Leonhard Euler (part 1)</h3><blockquote>To Fernanda</blockquote><p>Here I am going to write down what Euler wrote on the article named “On numbers which are the sum of two squares”, and since it is 24 pages long, I will separate it into 3 parts. Hope you enjoy!</p><ol><li>Arithmeticians are accustomed to investigating the nature of numbers in many ways where they show their source, either by addition or by multiplication. Of the aforementioned kind, the simplest is composition from units, by which all integers are understood to arise from units. Then numbers can also thus be considered as they are formed from the addition of two or more other integers, which pertains to the problem of the partition of numbers, the solution of which I have published in the last several years, in which is asked, in how many different ways any proposed number can result from the addition of two or more smaller numbers. This, however, creates an arrangement of numbers to analyze carefully, arising from the addition of two squares. In this way, seeing that not all numbers arise, since vast is the multitude which cannot be produced by the addition of two squares, I will investigate those which are sums of two squares, their nature and properties. Even though most of their properties are now known, elicited as it were by induction, still the greatest part remain without solid proof. Since a considerable part relies on the truth of Diophantine analysis, in this dissertation of many such propositions, which until now have been accepted without proofs, I will furnish proofs of their truth, while I will certainly also keep those in mind, which as far as I could see still could not be proved, although we cannot doubt their truth in any way.</li><li>First, therefore, since the square numbers are 0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, etc., it will be helpful to consider those numbers which arise from the sums of two squares, which, therefore, I list here, up to 200: 0, 1, 2, 4, 5, 8, 9, 10, 13, 16, 17, 18, 20, 25, 26, 29, 32, 34, 36, 37, 40, 41, 45, 49, 50, 52, 53, 58, 61, 64, 65, 68, 72, 73, 74, 80, 81, 82, 85, 89, 90, 97, 98, 100, 101, 104, 106, 109, 113, 116, 117, 121, 122, 125, 128, 130, 136, 137, 144, 145, 146, 148, 149, 153, 157, 160, 162, 164, 169, 170, 173, 178, 180, 181, 185, 193, 194, 196, 197, 200, etc. These truly are all the numbers up to 200 which arise from the addition of two squares: and these numbers with all in sequences to infinity I will call the sums of two squares, which therefore it is clear are expressed in this general formula xx + yy, where all integers 0, 1, 2, 3, 4, 5, 6, etc. are successively substituted for x and y. Numbers, therefore, which are not found among these are not sums of two squares, which up to 200 are thus: 3, 6, 7, 11, 12, 14, 15, 19, 21, 22, 23, 24, 27, 28, 30, 31, 33, 35, 38, 39, 42, 43, 44, 46, 47, 48, 51, 54, 55, 56, 57, 59, 60, 62, 63, 66, 67, 69, 70, 71, 75, 76, 77, 78, 79, 83, 84, 86, 87, 88, 91, 92, 93, 94, 95, 96, 99, 102, 103, 105, 107, 108, 110, 111, 112, 114, 115, 118, 119, 120, 123, 124, 126, 127, 129, 131, 132, 133, 134, 135, 138, 139, 140, 141, 142, 143, 147, 150, 151, 152, 154, 155, 156, 158, 159, 161, 163, 165, 166, 167, 168, 171, 172, 174, 175, 176, 177, 179, 182, 183, 184, 186, 187, 188, 189, 190, 191, 192, 195, 198, 199, etc. From this, it is evident, at least up to 200, that the multitude of numbers which are not sums of two squares is greater than the multitude which are sums of two squares. By examining the rest, it will be immediately clear that neither series of those numbers is to be composed by a fixed and assignable rule; and on account of this, it will be more difficult to investigate the nature of either.</li><li>Because each square number is either even, in which case it is divisible by 4 and contained in the form 4a, or odd, in which case it is contained in the form 8b + 1, each number formed from two squares will be either first, a sum of two even squares and will be of the form 4a + 4b, and will therefore be divisible by 4, or second, a sum of two squares, one odd and one even, and therefore of the form 4a + 8b + 1, or, really, will be contained in the form 4a + 1: it will exceed a multiple of four by one, or third, a sum of two odd squares and will thus be of the form 8a + 1 + 8b + 1, or, really, will be contained in the form 8a+ 2. Namely, this will be an unevenly even number 2 and will exceed a multiple of eight by two. Therefore because all odd numbers either exceed a multiple of four by one and are of the form 4n + 1 or are one less than a multiple of four and are of the form 4n − 1, it is evident that no odd numbers of the latter form 4n − 1 are sums of two squares, and all numbers contained in this form 4n−1 are excluded from the series of numbers which are sums of two squares. Then, because all unequally even numbers either exceed a multiple of eight by two so that they are 8n + 2 or are two less than a multiple of eight so that they are 8n−2, it is evident that no numbers of the latter form are sums of two squares, and thus numbers of this form 8n − 2 are excluded from the series of numbers which are sums of two squares. Nevertheless, it is still to be properly observed that not all numbers contained in this form 4n + 1 nor in this form 8n + 2 are sums of two squares. And so, for example, the numbers of the former form which are excluded are 21, 33, 57, 69, 77, 93, 105, 129, etc. and certainly of the latter form are those numbers 42, 66, 114, 138, 154, etc. I will investigate their rule in turn.</li><li>Nevertheless, still, numbers which are sums of two squares are so connected by a tie between themselves in a certain way that from one number of this kind, infinitely many others of the same nature can be formed. Because by it this will be more easily observed, I will add the following lemmas which are certainly known well enough by all.<br><strong>I. </strong>If a number p is a sum of two squares, then the numbers 4p, 9p, 16p and, in general, nnp will be sums of two squares. Certainly, because p = aa+bb, we will have 4p = 4aa+4bb, 9p = 9aa+9bb, 16p = 16aa+16bb and nnpp = nnaa+nnbb, which are similarly sums of two squares. <br><strong>II.</strong> If a number p is a sum of two squares, then so will be 2p and, in general, 2nnp will be a sum of two squares. Let p = aa+bb; we will have 2p = 2aa+ 2bb. But 2aa+2bb = (a+b)²+(a−b)², from which we will have 2p = (a+b)²+(a−b)² , and therefore also the sum of two squares. From this, moreover, we will have 2nnp = nn(a + b)²+ nn(a − b)². <br><strong>III. </strong>If the even number 2p is a sum of two squares, then half of it, p, will also be a sum of two squares. Let 2p = aa + bb; the numbers a and b will both be even or odd. From this, in either case, both (a + b)/2 and (a − b)/2 will be integers. Certainly aa+bb = 2((a+b)/2)²+2((a−b)/2)² , which, by substituting values, is p = ((a + b)/2)² + ((a − b)/2)² . From this, therefore, all even numbers which are sums of two squares, by continual halving, are finally returned to odd numbers of the same nature. Therefore, again, if only odd numbers which are sums of two squares are known, all such even numbers will be derived from these as well, by continual duplication.</li><li>Next it is proper to record the following theorem, by which the nature of the numbers which are sums of two squares is not usually shown.<br><strong>Theorem:</strong> If p and q are two numbers, each of which is the sum of two squares, then their product pq will also be the sum of two squares.<br><strong>Proof:</strong> Let p = aa + bb and q = cc + dd. We will have pq = (aa + bb)(cc + dd) = aacc + aadd + bbcc + bbdd, which expression can be represented in this way so that pq = aacc + 2abcd + bbdd + aadd − 2abcd + bbcc and for that reason pq = (ac + bd) 2 + (ad − bc) 2 , from which the product pq will be a sum of two squares. Q. E. D.<br>From this proposition it follows that when however many numbers which individually are sums of two squares are multiplied together, the product will always be a sum of two squares. And from the given general form, it is evident that the product of two such numbers doubled just recently3 can be partitioned into two squares: so if p = aa+bb and q = cc+dd, then pq = (ac+bd)²+(ad−bc)² and pq = (ac − bd)² + (ad + bc)² , which will be a different formula, unless either a = b or c = d. Thus, since 5 = 1 + 4 and 13 = 4 + 9, the product 5·13 will be the sum of two squares in two ways, namely 65 = (1·3+2·2)²+(2·3−1·2)² = 49+16, and 65 = (2 · 2 − 1 · 3)² + (2 · 3 + 1 · 2)² = 1 + 64. Also, if a product of many numbers is considered, the terms of which are sums of two squares, it can be partitioned in many ways into the sum of two squares. So if the number 1105 = 5 · 13 · 17 is put forward, its partitions into two squares will be these: 1105 = 332 + 42 = 322 + 92 = 312 + 122 = 242 + 232 , namely, the four partitions here.</li><li>Although it happens that if the factors p and q are sums of two squares then the product pq will also be a sum of two squares, the converse of this proposition does not follow from this; so if the product is a sum of two squares, neither the rules of logic prove the conclusion that its factors are also numbers of the same nature, nor does the nature itself of the thing. For example, the number 45 = 36 + 9 is a sum of two squares, nevertheless, neither of its factors 3·15 is a sum of two squares. Rather, however, this firm conclusion is seen: if the product pq and one factor p are the sum of two squares, then the other factor q will be a sum of two squares also. Even though this conclusion is perhaps true, it is not confirmed by the rules of reasoning, nor because has been proved that if both factors p and q of the product pq are sums of two squares then pq itself will be a sum of two squares can the legitimate consequence therefore be inferred: if the product pq and one factor p are sums of two squares, then the other factor q will also be a sum of two squares. Truly, such a consequence is not legitimate; indeed this example clearly contradicts it: it is certain that if two factors p and q are even numbers, then their product will also be even. If however one wishes to conclude by this that if the product pq and one factor p are even numbers then the other factor q will also be even, that person is quite mistaken.</li><li>Therefore if it is true that when the product pq and either factor, say p, are the sum of two squares then the other factor q will be a sum of two squares also, this proposition cannot be inferred from what was shown above, but should be defended by a special proof. This proof however is not as clear as the preceding one and cannot be constructed apart from many details, and certainly the proof which I found seems to be constructed so that it does not require average reasoning ability. On account of this matter, the propositions, from which not only this truth is obtained but also other notable properties of numbers which are the sum of two squares, are known when I put forward here their own proofs sequentially, and I will be careful so that nothing whatsoever can be desired in rigor of proof. Though up to this point, these facts about the given numbers are trivial and in common knowledge, nevertheless I will use them in the form of lemmas for the following proofs.</li><li><strong>Proposition I: </strong>If the product pq is a sum of two squares and one factor p is a prime number and similarly a sum of two squares, then the other factor q will also be a sum of two squares.<br><strong>Proof: </strong>Let pq = aa+bb and p = cc+dd; because p is a prime number, the numbers c and d will be prime between themselves. And so, q = (aa+bb)/ (cc+dd) , and for this reason, because q is an integer, the numerator aa + bb will be divisible by the denominator cc + dd. From this, the number cc(aa + bb) = aacc + bbcc will also be divisible by cc + dd; and because the number aa(cc + dd) = aacc + aadd is also divisible by cc + dd, it is necessary for the difference of these numbers, aacc + bbcc − aacc − aadd, or bbcc − aadd, to be divisible by cc + dd. However, because cc + dd is a prime number, and bbcc − aadd has factors bc + ad and bc − ad, one of these factors, certainly bc ± ad, will be divisible by cc + dd. So let bc ± ad = mcc + mdd: however, whatever numbers a and b may be, they can expressed as b = mc + x and a = ±md + y, x and y appearing as either positive or negative integers. Certainly having substituted these values for b and a, the equation bc ± ad = mcc + mdd will take on this form: mcc + cx + mdd ± dy = mcc + mdd, or, cx ± dy = 0. From this, x/y = ∓ d/c , and because d and c are prime between themselves, it is necessary that x = nd and y = ∓nc, from which is obtained a = ±md ∓ nc and b = mc + nd, namely, the numbers a and b ought to have values such that the number pq = aa + bb is divisible by the prime number p = cc+dd. However, substituting those values for a and b makes pq = mmdd−2mncd+nncc+mmcc+2mncd+nndd, or, pq = (mm+nn)(cc+dd). Now because p = cc+dd, we will have q = mm+nn; and therefore if the product pq is the sum of two squares and one factor p is a prime number and similarly a sum of two squares cc + dd, it necessarily follows that the other factor q will be a sum of two squares. Q. E. D.</li><li><strong>Corollary 1:</strong> Therefore, if the sum of two squares is divisible by a prime number which itself is a sum of two squares, the quotient resulting from the division will also be a sum of two squares. So if the sum of two squares is divisible by some number from these prime numbers 2, 5, 13, 17, 29, 37, 41, 53, 61, 73, 89, 97, etc., the quotient will always be a sum of two squares.</li></ol><p>See you on the next part when ti comes tomorrow.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca71c0b91781" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A formula for the nth Fibonacci number and for like sequeneces based on the fundamental triangle…]]></title>
            <link>https://medium.com/@gabrielmfern/a-formula-for-the-nth-fibonacci-number-and-for-like-sequeneces-based-on-the-fundamental-triangle-51971a955f36?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/51971a955f36</guid>
            <category><![CDATA[number-theory]]></category>
            <category><![CDATA[fibonacci-sequence]]></category>
            <category><![CDATA[pascal]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[fibonacci]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Wed, 08 Dec 2021 21:21:20 GMT</pubDate>
            <atom:updated>2021-12-08T22:45:10.869Z</atom:updated>
            <content:encoded><![CDATA[<h3>A formula for the nth Fibonacci number and for like sequences based on the fundamental triangle of summation</h3><blockquote>To Fernanda</blockquote><p>I would like to show here a proof of a very famous thorem regarding the Fibonacci’s sequence, this theorem is based on a simple triangle that you already probably are aware of. The triangle I am speaking of here, is Pascal’s Triangle which if you do not know what it is, it consists of starting with a one, then writing down two ones below it, and then, going by summing two numbers and on the below center to them put the result and on the edges going putting a one, in such a way that you will get something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*CKHkQbzLHXeDW9gYy0CPGw.png" /></figure><p>As you can see this is a very interesting triangle with many interesting properties that you will notice upon looking closely and carefully. “Now where is the Fibonacci Sequence then?”, you might ask. The answer to that is quite crazy one could say.</p><p>If you were to sum the diagonals of this triangle, say, starting on the fifth row here, and go summing, not going up the rows without going further in the collumns, but going up the row as you go further on the collumns. The result will be 1+3+1=5. Starting on the fourth row you would have 1+2=3. Starting on the third row you would have 1+1=2. And, again on the second row, we will just have a 1 as well as we will only have 1 again on the first row.</p><p>Now, listing the numbers we have gotten up to here, we have 1, 1, 2, 3, 5 respective to the rows 1,2,3,4,5. If you know exactly what is the Fibonacci Sequence and are acquainted with its numbers, you will note that these are indeed the Fibonacci Numbers.</p><p>The proof for this is actually quite not very usual and I found this proof sometime ago, like 12 months, before I actually knew the theorem and knew it was already proven. Upon some searching I found out some other proofs of it, and found it is actually a very common theorem. The proof of it — and a more general form of it — I will not show it here, but on a MatRel publication you can find the publication “<a href="https://mat-rel.com/#/post/61b120db44e5044096773393"><strong><em>Pascal’s Triangle and Fibonacci-like Sequences</em></strong></a>” that contains my proof of it.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51971a955f36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why the gaps between primes can get as large as you wish]]></title>
            <link>https://medium.com/@gabrielmfern/why-the-gaps-between-primes-can-get-as-large-as-you-wish-1c7f938e3050?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c7f938e3050</guid>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[primes]]></category>
            <category><![CDATA[prime-gaps]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[number-theory]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Tue, 07 Dec 2021 21:05:34 GMT</pubDate>
            <atom:updated>2021-12-07T21:05:34.412Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>To Fernanda</blockquote><p>The way to understand this is not actually to look at the actual primes. To understand this we need to look at the composite numbers, moreover, the most composite numbers there are one could say, namely, the factorial numbers.</p><p>Say we wish to find what would be the place upon which there is a 100 gap between primes. To find such a place we just need to find a place where there are at least 100 consecutive composite numbers, this is much more easier than it seems with, as I have said before, the factorial numbers. Why? Well, wait just a little more, I will show you.</p><p>Take 10! for example 10x9x8x7x6x5x4x3x2x1, if you have trained mathematical eyes you will probably already have seen it at a glance, but, if we take this number and add 2 to it, for example, the result will be another even number. Furthermore if we add 3,4,5,6,7,8,9 or 10 to it we will have another composite number, therefore, after this factorial number there are 9 garanteed composite numbers. Even more, if we were looking for the place with a 100 gap just take 101! (which is extremely large but proves the point), after this number, again, we will have 100 garanteed composite numbers.</p><p>In summary, we can take a number <em>g</em>, independent of how large it is, and we can find a number for which there are <em>g </em>consecutive composite numbers, that is, that there is at least a <em>g</em> gap between two prime numbers. Thus proving it.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c7f938e3050" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The tie between all numbers that are x²+y²]]></title>
            <link>https://medium.com/@gabrielmfern/the-tie-between-all-numbers-that-are-x%C2%B2-y%C2%B2-b77412ecb4d5?source=rss-8ae6ff8bfe86------2</link>
            <guid isPermaLink="false">https://medium.com/p/b77412ecb4d5</guid>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[number-theory]]></category>
            <category><![CDATA[sequence]]></category>
            <category><![CDATA[numbers]]></category>
            <category><![CDATA[random]]></category>
            <dc:creator><![CDATA[Gabriel Miranda]]></dc:creator>
            <pubDate>Mon, 06 Dec 2021 21:27:53 GMT</pubDate>
            <atom:updated>2021-12-06T21:27:53.346Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>To Fernanda</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D575Qo8Sar01L_kw6ogncw.png" /></figure><p>The tie I am speaking of here is one classical tie, or identity, that connects two numbers that are x²+y² in such a way that together in a certain way will form a new number. This is going to very short and simple so lets start.</p><p>Say n=x²+y² and m=z²+w², then:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*fpaZllWpL3prMB04UYuU3A.png" /></figure><p>And now from this we just have to add and subtract a specific value from the right-side that will not change the equation and we will have something very cool, namely:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*MdZCNji5NPQX-fMKYHMdbA.png" /></figure><p>And because both of these will be expansions of a binomial, we will have:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*VBeQk8AS1H1GxeQqykgfNA.png" /></figure><p>And thus shows that the product of two numbers which are a sum of two squares is also a sum of two squares. And you can also get the two squares which form the new number from the ways to write the other two original numbers.</p><p>Soli Deo Gloria</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b77412ecb4d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>