Wikipedia:Reference desk/Archives/Mathematics/2023 June 10

From Wikipedia, the free encyclopedia
Mathematics desk
< June 9 << May | June | Jul >> June 11 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


June 10[edit]

Other questions about generalized pentagonal numbers[edit]

After Wikipedia:Reference desk/Archives/Mathematics/2023 May 12#Sum of the reciprocals of numbers in a set and Wikipedia:Reference desk/Archives/Mathematics/2023 May 20#For which natural numbers n, this sequence contains infinitely many primes?, I also have other questions about the generalized pentagonal numbers:

1. For given natural number n, how many possible residues of a generalized pentagonal numbers mod n?

2. The pentagonal number theorem seems to be not only for the partition function (sequence A000041 in the OEIS), but also for the sum-of-divisors function (sequence A000203 in the OEIS), the only difference is when the last term is , then change it to instead of 1 or 0, right? If so, please edit the pentagonal number theorem page, see the articles [1] and [2] and [3].

3. Are generalized pentagonal numbers the exponents of ? If so, which have coefficients +1 and which have coefficients -1? Are there any coefficient other than 0, +1, and -1?

4. What is the sum of reciprocals of all generalized pentagonal numbers (of course not including 0)? Also, what is the sum of the alternating series of unit fractions with the generalized pentagonal numbers as denominators? And what is the sum of -1/1-1/2+1/5+1/7-1/12-1/15+1/22+1/26-… (the sign of 1/k is the same as the sign of in )? Also, in Wikipedia:Reference desk/Archives/Mathematics/2023 May 12#Sum of the reciprocals of numbers in a set, I know that the sum of reciprocals of “generalized pentagonal numbers * n + 1” is , but what is the sum of the alternating series of unit fractions with the “generalized pentagonal numbers * n + 1” as denominators? And what is the sum of -1/(n+1)-1/(2*n+1)+1/(5*n+1)+1/(7*n+1)-1/(12*n+1)-1/(15*n+1)+1/(22*n+1)+1/(26*n+1)-… (the sign of 1/(k*n+1) is the same as the sign of in )?

5. Are there any formula of the sum of the first n generalized pentagonal numbers?

6. All natural numbers are the sum of four squares (Lagrange's four-square theorem), and all natural numbers are the sum of how many (choose the smallest such natural number) generalized pentagonal numbers?

7. I found that “generalized pentagonal numbers * k” or/and “generalized pentagonal numbers * k + 1” is also figurate number for some natural numbers k:

generalized pentagonal numbers * k:

generalized pentagonal numbers * k + 1:

Do I miss other k such that “generalized pentagonal numbers * k” or/and “generalized pentagonal numbers * k + 1” is also figurate number (of course, “generalized pentagonal numbers * k” cannot be primes, even if k = 1 when the generalized pentagonal number is > 7, and according to Wikipedia:Reference desk/Archives/Mathematics/2023 May 20#For which natural numbers n, this sequence contains infinitely many primes?, “generalized pentagonal numbers * k + 1” contains infinitely many primes assuming Bunyakovsky conjecture is true except k = 24, 25, 27, 32, 49, and for these five values of k this sequence contains no primes)? 210.66.124.167 (talk) 00:57, 10 June 2023 (UTC)[reply]

Question 1: see oeis:A290732. In particular, the number of distinct residues for pentagonal numbers (and also generalized pentagonal numbers) mod is multiplicative, with for prime . GalacticShoe (talk) 22:47, 10 June 2023 (UTC)[reply]
Question 2: how do you mean? From my limited playing around with the formula, I don't think that seems to yield anything -related. GalacticShoe (talk) 23:54, 10 June 2023 (UTC)[reply]
Please see the articles [4] and [5] and [6]. 210.243.206.107 (talk) 02:41, 12 June 2023 (UTC)[reply]
Ah, it does seem to hold specifically for with the base case set to . In fact, Divisor function#Other properties and identities already has this written. Feel free to edit the page for the pentagonal number theorem if you want. GalacticShoe (talk) 03:48, 12 June 2023 (UTC)[reply]
Question 3: yes, and the coefficients are always . In particular, for the -th pentagonal number (where can be negative as per the generalized pentagonal numbers), the coefficient is ; see the formula in pentagonal number theorem. GalacticShoe (talk) 22:50, 10 June 2023 (UTC)[reply]
So the sign is +, +, -, -, +, +, -, -, +, +, -, -, …, with period 4? 210.243.206.107 (talk) 02:46, 12 June 2023 (UTC)[reply]
Yup. GalacticShoe (talk) 03:48, 12 June 2023 (UTC)[reply]
Question 4: , and . You may obtain the regular and alternating sum of reciprocals as needed by taking sums and differences of these values. . GalacticShoe (talk) 00:10, 11 June 2023 (UTC)[reply]
In Wikipedia:Reference desk/Archives/Mathematics/2023 May 12#Sum of the reciprocals of numbers in a set, I know that the sum of reciprocals of “generalized pentagonal numbers * n + 1” is , but what is the sum of the alternating series of unit fractions with the “generalized pentagonal numbers * n + 1” as denominators? 210.243.206.107 (talk) 02:40, 12 June 2023 (UTC)[reply]
Also you have typos, ? 210.243.206.107 (talk) 02:42, 12 June 2023 (UTC)[reply]
Whoops, corrected. GalacticShoe (talk) 03:48, 12 June 2023 (UTC)[reply]
Question 6: 3 generalized pentagonal numbers suffice, see Guy, R. K. "Every Number Is Expressible as the Sum of How Many Polygonal Numbers?." Amer. Math. Monthly 101, 169-172, 1994a. In fact, if we were to use only (positive-index) pentagonal numbers, it is conjectured that there are exactly numbers which require at least pentagonal numbers (see oeis:A003679), and exactly which require (see oeis:A133929.) GalacticShoe (talk) 23:12, 10 June 2023 (UTC)[reply]
In general, Fermat stated (and Cauchy proved) that every number is the sum of at most -gonal; see Fermat polygonal number theorem. is not always a perfect bound, however.
Gauss, in 1792, proved that every natural number can be written as the sum of three triangular numbers, so for this is the case. See oeis:A061336, and in particular note that the sequence of numbers which require one triangular number (which is the sequence of triangular numbers) is infinite, the sequence of numbers which require two triangular numbers (which includes the sequence of triangular numbers + 1) is infinite, and the sequence of numbers which require three triangular numbers (which includes all numbers congruent to or ) is infinite.
The case of four squares being sufficient and necessary infinitely often is famous, as per the earlier mention of Lagrange's four-square theorem. Three squares also happen infinitely often, as per Fermat's theorem on sums of two squares, as do two squares, thanks to Fermat's theorem on sums of two squares.
The case of pentagonal numbers is interesting, specifically because three suffices if one uses generalized pentagonal numbers, and it appears that all sufficiently large numbers can be decomposed into at most three pentagonal numbers, but there is the aforementioned finite set that requires up to five.
The case of hexagonal number is also interesting, since apparently a number is generalized hexagonal if and only if it is triangular, so precisely three generalized hexagonal numbers suffice (and each number up to three is required infinitely often as per the earlier triangular numbers argument.) However, if one only examines (positive-index) hexagonal numbers, then it again boils down to finite sets of counterexamples, although this time we know for sure that there are finitely many. In particular, Legendre proved in 1830 that every number greater than can be written as the sum of at most four hexagonal numbers, while Duke and Schulze-Pillot proved in 1990 that after some sufficiently large number, three suffice. Two numbers, and , require six hexagonal numbers, while exactly thirteen numbers require at least five (see oeis:A007527.) It is suspected that exactly 638 numbers require at least four (see oeis:A007536.) GalacticShoe (talk) 23:40, 10 June 2023 (UTC)[reply]
I know that for positive-index pentagonal numbers, the answer is 5, but what about the generalized pentagonal numbers? 210.243.206.107 (talk) 02:44, 12 June 2023 (UTC)[reply]
3, see beginning of above comment. GalacticShoe (talk) 03:50, 12 June 2023 (UTC)[reply]

Equation in wikimarkup[edit]

Humongous number

Hi all, and happy Saturday to yous. I wonder, can someone translate this equation into mark up fit for an article, please? 0.995 x 107% =4.64 x 10 (that 107% is actually 10 to the power of 32,768, no idea why it came out like that though.) Thanks in advance to all who can help! SN54129 15:19, 10 June 2023 (UTC)[reply]

10 to the power 32,768, written out as a decimal number, is a digit 1 followed by a tail of 32,768 digits 0. That is a truly humongous number. Multiplying it by 0.995 replaces the first four digits 1000 by 995, still humongous and nowhere near 4.64 × 10 = 46.4. Where did this equation come from, what is it supposed to represent (an incredibly false statement?), and where should it be used?  --Lambiam 16:45, 10 June 2023 (UTC)[reply]
Hi Lambiam, this is the original (reliable!) source for the equation---> thanks for your help! SN54129 18:08, 10 June 2023 (UTC)[reply]
If we omit the "×10" we get , which is more accurate and more obviously relevant to the problem. —Tamfang (talk) 18:21, 10 June 2023 (UTC)[reply]
Instead of LaTeX-style markup you can also use pure wikitext markup:
0.99532768 = 4.64 × 10−72.
I'm sorry to say, though, that the calculation made in the "reliable" source is bogus. First off, if one could trace all of a person's great13grandparents, 15 generations back, their number would be substantially smaller than 215; for example, one of the greatgrandfathers of the mother could also be a greatgrandfather of the father, and you would in fact see many branches of the family tree merge as you go back in time, especially to a time when people were much less mobile than they are today and possibly never even travelled outside of their village of birth. Secondly, the 0.5 percent of the population referred to will not be spread uniformly and fully at random over the population, so even if all 15th-generation ancestors were distinct, their probabilities of belonging to the 0.5 percent may not be assumed to be independent.  --Lambiam 20:23, 10 June 2023 (UTC)[reply]
Eh, I just realised that when I typed it above, I didn't realise that that 10 at the end is actually to the power of minus 72! D'oh. SN54129

Thanks everyone, interesting stuff! I'll be taking each and everyone's opinion onboard with this. All the best! SN54129 20:30, 10 June 2023 (UTC)[reply]

https://www.waterstones.com/blog/family-fortunes-adam-rutherford-on-how-were-all-related-to-royalty has background. It claims to calculate the probability that a Brit born in the 1970s is descended from Edward III (1312–1377). The calculation is based on bad assumptions and I don't think it belongs in Wikipedia. For something more encyclopedic and interesting (at least to non-Brits), Most recent common ancestor#TMRCA of all living humans says: "A study by mathematicians Joseph T. Chang, Douglas Rohde and Steve Olson used a theoretical model to calculate that the MRCA may have lived remarkably recently, possibly as recently as 2,000 years ago." PrimeHunter (talk) 23:52, 10 June 2023 (UTC)[reply]
See also Identical ancestors point#Of Homo sapiens for a related question. PrimeHunter (talk) 23:55, 10 June 2023 (UTC)[reply]