Testwiki:Reference desk/Archives/Mathematics/2025 January 5

From testwiki
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < January 4 ! width="25%" align="center"|<< Dec | January | Feb >> ! width="20%" align="right" |Current desk > |}

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.


January 5

Reference request:coherence condition (adjoint functor)

Previously, in WPM (Coecke and Moore (2000)) taught me a statement of coherence condition for adjoint functors. This is sometimes called triangle identities or zigzag identities, and I'm looking for some references. I am also trying to find where to find the Wikipedia article that explains coherence conditions (adjoint functors). Also, I'm looking for a Wikipedia article that explains coherence conditions (adjoint functors). (e.g. coherence condition, adjoint functor, or new draft ?)

SilverMatsu (talk) 02:41, 5 January 2025 (UTC)

Can you identify more precisely for which statement(s) you want a reference? Is it for the definition of counit–unit adjunction given in section Template:Section link?
Explanations in mathematics can be of different kinds. One kind are explanations of definitions. Definitions are true by definition; an explanation generally means helping build up an intuition of the concept defined by showing familiar structures satisfying the definition. Another kind are explanations of statements. These typically offer a reformulation of a statements as an equivalent statement in terms of simpler concepts. Then there are explanations of proofs. These can include showing the proof "in action" on specific examples, using familiar structures as when explaining definitions. And they can assist in verifying the validity of proof steps, by unfolding definitions until the step becomes obvious. In general, all explanations can involve a combination of these.
For example, in our article Adjoint functors, the ramifications of the definition in the lead section, basically the existence of a bijection hom𝒞(Fd,c)hom𝒟(d,Gc) that is natural in c and d, are not immediately obvious, but by carefully unfolding the definitions, starting with the required naturality of the two morphisms making up the bijection, leads to the equivalent counit–unit definition.
I am not sure what kind of explanation of "coherence conditions (adjoint functors)" you are seeking. Perhaps studying this article, "Adjunctions", will answer this question.  --Lambiam 12:18, 5 January 2025 (UTC)
Thanks for the reply. I will read the article you recommended and study from it. Specifically, I am looking for some references to add the examples given in the WPM to the examples of coherence condition. Also, I think counit–unit addition is itself might be a topic on which to create a standalone article. SilverMatsu (talk) 05:30, 6 January 2025 (UTC)
My immediate reaction is that it is better to leave the treatment of the counit–unit definition to the article Adjoint functors. The terms "hom-set adjunction" and "counit–unit adjunction" suggest these are special kinds of adjunction, but this terminology is IMO misleading. What is defined there is each time precisely the same concept of adjunction as in the other definitions. All three definitions are fully equivalent. They are just different ways of looking at the same situation. The parable of the blind men and an elephant could be the story of the mathematicians and the adjoint situation.  --Lambiam 11:43, 6 January 2025 (UTC)
Thanks for the reply. I think that it would be better to add an explanation to the article that these three definitions are equivalent.
The section Formal definitions has stated that there are three equivalent definitions since August 2018. I have removed the (IMO) confusing terminology from that section, although it can still be found further on, in a part that seems to just reiterate earlier material.  --Lambiam 12:28, 9 January 2025 (UTC)

Concatenation of first 10 digits and last 10 digits of a number

Let a(n) be the concatenation of first 10 digits and last 10 digits of n, then we know that a(2136279841-1) = 88169432759486871551, however:

  1. Can a(2^n) take all 20-digit values which are multiples of 1024?
  2. Can a(3^n) take all 20-digit values which are odd?
  3. Can a(n^2) take all 20-digit values which end with 0, 1, 4, 5, 6, 9?
  4. Can a(n^3) take all 20-digit values?
  5. Can a(prime number) take all 20-digit values which end with 1, 3, 7, 9?
  6. Can a(lucky number) take all 20-digit values which are odd?
  7. Can a(Fibonacci number) take all 20-digit values?
  8. Can a(partition number) take all 20-digit values?
  9. What is a(9^9^9^9)?
  10. What is a(9^^9), where ^^ is tetration?
  11. What is a(9^^^9), where ^^^ is pentation?
  12. What is a(Graham's number)?
  13. What is a(TREE(3))?
  14. If we know a(x), assume that x has at least 20 digits, can we also know a(2*x), a(3*x), etc.?
  15. If we know a(x), assume that x has at least 20 digits, can we also know a(x^2), a(x^3), etc.?
  16. If we know a(x) and a(y) as well as the number of digits of x and y, can we also know a(x+y)?
  17. If we know a(x) and a(y) as well as the number of digits of x and y, can we also know a(x*y)?
  18. If we know a(x) and a(y) as well as the number of digits of x and y, can we also know a(x^y)?

220.132.216.52 (talk) 08:33, 5 January 2025 (UTC)

The answer to 2 is easily "no". Powers of 3 are not divisible by 5, so their decimal representations cannot end on a 5. Five seconds of considering the question should suffice to figure this out.
The answer to 14ff is also no:
Put x=111111111102222222222 and y=111111111152222222222.
Then a(x)=a(y), but a(2x)a(2y).
Again, I think a beginning recreational mathematician should be able on their own to come up with this easy counterexample.
I do not find these particular questions interesting. Still, let me reflect on how questions 1–8 might be approached.
To start, the formation of a 20-digit string is a red herring. It is conceptually cleaner to consider pairs of 10-digit strings, such as (8816943275, 9486871551).
One can pose two related questions for each sequence under consideration:
  1. Ini10: does each 10-digit string appear as an initial segment of the decimal expansion of some sequence element?
  2. Fin10: does each 10-digit string, with the exclusion of some as specified, appear as a final segment of its decimal expansion?
These are necessary but not sufficient conditions for the joint occurrence of all combinations, but easier to study. If either one can be shown not to hold, the answer is no. Otherwise, if no proof of any of the two can be found, the question cannot be settled. Finally, if both can be shown to hold, it is at least plausible that the proofs will provide enough material to settle the original question.
As to the Ini question, it is unlikely that an affirmative answer depends on the particular number 10. If Ini10 holds for a given well-known mathematical sequence, IniL will almost certainly hold for any length L. This is then equivalent to the statement that a given sequence (sn)n satisfies sn+1sn=o(sn). (For the notation o(), see Little-o notation.)
Similarly, if Fin10 holds for a given well-known mathematical sequence, FinL will plausibly hold for any length L. The Fin question can therefore tentatively be generalized to:
Are, for any given modulus m, the residue classes modulo m of sequence (sn)n all classes not already excluded by the specified exclusions?
Note, though, that the generalization may fail to hold for some modulus while Fin10 holds. For example, n3≢2mod4 for any n. So it is no longer a necessary condition and may need further finessing before application.  --Lambiam 00:28, 6 January 2025 (UTC)
Sorry, the first 4 questions should be:
  1. Can a(2^n) take all 20-digit values which are multiples of 1024 and not multiples of 5?
  2. Can a(3^n) take all 20-digit values which end with 1, 3, 7, 9?
  3. Can a(n^2) take all 20-digit values which are quadratic residues mod 1010?
  4. Can a(n^3) take all 20-digit values which are neither == 2, 4, 6 mod 8 nor == 5, 10, 15, 20, 25, 30, …, 115, 120 mod 125?
220.132.216.52 (talk) 01:14, 6 January 2025 (UTC)
12. It seems no one knows what the first digit of Graham's number is, let alone the first 10.
13. Similar situation.
GalacticShoe (talk) 15:53, 6 January 2025 (UTC)
9./10./11. I would wager that finding these would be extremely difficult. Normally if one has a large number A, then one can hope to find the first few digits by taking 10frac(log10(A)), with the hopes that log10(A) will be small/amenable to calculation, with a precise fractional part. For example, 999 has log 99log10(9), which is small (369693099.63157035) and thus has a precise fractional part (0.63157035) which, when fed back into the power of 10, yields us the first few digits 4281247731 without having to calculate the 369 million-digit 999 itself. Unfortunately, 9999 is not such a case; the log itself now has 369 million digits, so calculating the fractional part accurately would be a nightmare. For similar reasons, 10. and 11. would also seem to be extraordinarily difficult. GalacticShoe (talk) 00:47, 7 January 2025 (UTC)
1./2. All numbers that are multiples of 1024 and not of 5 are the last 10 digits of some power of 2, as for all a coprime to 5, there is some b such that 2ba(mod510). Moreover, for n10 the modulos with respect to 1010 are periodic with some minimal period, say Y, so that all applicable modulos appear once in the period of Y consecutive powers of 2.
Suppose now that we fix two distinct 10-digit strings A and B, the former to represent the first ten digits we want of our desired power of 2, and the latte - divisible by 1024 and not by 5 - to represent the last ten digits. Let X be the minimal power of 2 that has B as its last ten digits; all the numbers we are looking for are then of the form 2X+nY where n0. What it means for our first ten digits to be A then, is that there is some k10 such that:
A2X+nY10k<A+1.
This is equivalent to:
k+log10(A)Xlog10(2)nYlog10(2)<k+log10(A+1)Xlog10(2).
Notice that Ylog10(2) is irrational. It is a bit overkill, but we can apply the equidistribution theorem here and note that there will always be some value of n with a corresponding value of k large enough such that the aforementioned equality holds, and also k+log10(A)Xlog10(2)>0. Consequently, there must be some values of k and n that yield a power of 2 starting with A and ending with B. The same logic applies to 3n. GalacticShoe (talk) 00:26, 7 January 2025 (UTC)
3./4. If we look at squares, then we have (X+nY)2 instead of 2X+nY, and the inequality becomes
k+log10(A)2log10(X+nY)<k+log10(A+1).
While logs are not equidistributed modulo 1, this does not present a problem; because 2log10(X+(n+1)Y)2log10(X+nY) tends to 0 as n goes to infinity, there will always be some point where, informally, 2log10(X+nY) cannot "jump the gap" between k+log10(A) and k+log10(A+1). When that happens, we get a square that starts and ends with our desired string. The same logic applies to cubes and all functions A (yielding the desired ending substring) where limnlog(A(n+1))log(A(n))=0 or equivalently limnA(n+1)/A(n)=1. GalacticShoe (talk) 01:37, 7 January 2025 (UTC)
7. The approach with exponentials can actually help us with Fibonacci numbers, as
F(n)=ϕn(1ϕ)n5ϕn5.
All we have to do is use the Pisano period and add a fixed amount of leeway for the minuscule (1ϕ)n (which tends to 0, so any tiny threshold suffices), at which point the equidistribution theorem again applies. GalacticShoe (talk) 01:51, 7 January 2025 (UTC)
5. Based on our previous conversation, yes.
6. If our previous conversation on lucky numbers is anything to go by, it seems unlikely that enough is known to even ascertain whether there are infinitely many lucky numbers satisfying congruence mod 10^10.
8. Like the last question involving partition functions, and like with lucky numbers, without further information on their congruences it seems unlikely that we'll have a satisfactory answer to this.
GalacticShoe (talk) 02:19, 7 January 2025 (UTC)
To summarize:
1, 2, 3, 4, 5, 7: yes
6, 8: unclear
14, 15, 16, 17, 18: no
9, 10, 11, 12, 13: too large to calculate
GalacticShoe (talk) 02:22, 7 January 2025 (UTC)
For polynomials you can use P(n+1)P(n)=o(P(n)).  --Lambiam 02:39, 7 January 2025 (UTC)
So for 9 to 13, the first 10 digits are not known, but are the last 10 digits known? 220.132.216.52 (talk) 04:22, 7 January 2025 (UTC)
I found the answer of 9, it is 21419832941045865289, see Template:OEIS. 220.132.216.52 (talk) 05:43, 7 January 2025 (UTC)
Another question: Are a(2^n) and a(3^n) periodic sequences (or eventually periodic)? 220.132.216.52 (talk) 05:45, 7 January 2025 (UTC)
No, this is excluded by the equidistribution theorem. Precisely because ({nlog102})n is dense in [0,1), there will be pseudoperiodicities. For example, log102=0.301029... is approximated by 28/93=0.301075...,, so there will be a similarity between the initial digits of 2n,2n+1,2n+2,... and those of 2n+93,2n+94,2n+95,.... The first two digits of 227,228,229,... go like
13,26,53,10,21,42,85,17,34,68,13,27,54,10,21,43,87,17,35,...,
while those of 2120,2121,2122,... go like
13,26,53,10,21,42,85,17,34,68,13,27,54,10,21,43,87,17,34,....
Eventually there will be arbitrarily long initial strings repeated arbitrarily often, but each run will eventually end with a discrepancy.  --Lambiam 12:38, 7 January 2025 (UTC)