Wikipedia:Reference desk/Mathematics
of the Wikipedia reference desk.
Main page: Help searching Wikipedia
How can I get my question answered?
- Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
- Post your question to only one section, providing a short header that gives the topic of your question.
- Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
- Don't post personal contact information – it will be removed. Any answers will be provided here.
- Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
- Note:
- We don't answer (and may remove) questions that require medical diagnosis or legal advice.
- We don't answer requests for opinions, predictions or debate.
- We don't do your homework for you, though we'll help you past the stuck point.
- We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.
How do I answer a question?
Main page: Wikipedia:Reference desk/Guidelines
- The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
December 24
[edit]How did the Romans do engineering calculations?
[edit]The Romans did some impressive engineering. Engineers today use a lot of mathematical calculations when designing stuff. Calculations using Roman numerals strike me as being close to impossible. What did the Romans do? HiLo48 (talk) 05:50, 24 December 2024 (UTC)
- The kind of engineering calculations that might have been relevant would mostly have been about statics – specifically the equilibrium of forces acting on a construction, and the ability of the design to withstand these forces, given its dimensions and the mechanical properties of the materials used in the construction, such as density, modulus of elasticity, shear modulus, Young modulus, fracture strength and ultimate tensile strength. In Roman times, only the simplest aspects of all this were understood mathematically, namely the statics of a construction in which all forces work in the same plane, without torque, and the components are perfectly rigid. The notion of assigning a numerical magnitude to these moduli and strengths did not exist, which anyway did not correspond to precisely defined, well-understood concepts. Therefore, engineering was not a science but an art, mainly based on experience in combination with testing on physical models. Any calculations would mostly have been for the amounts and dimensions of construction materials (and the cost thereof), requiring a relatively small number of additions and multiplications. --Lambiam 19:03, 24 December 2024 (UTC)
- Calculating with Roman Numerals might seem impossible, but in some ways it's simpler than our positional system; there are only so many symbols commonly used, and only so many ways to add and multiply them. Once you know all those ways you efficiently can do calculations with them, up to the limits imposed by the system.
- And for a lot of things they relied on experience. Romans knew how to build circular arches, but rather than do calculations to build larger arches, or ones with more efficient shapes they used many small circular ones which they knew worked, stacked side by side and sometimes on top of each other. See e.g. any Roman aqueduct or the Colosseum. For materials they probably produce them on site or close by as they're needed.--2A04:4A43:909F:F9FF:FC7B:F1E8:19D6:124C (talk) 20:12, 24 December 2024 (UTC)
- To add to the above, it wasn't really the Romans that were great innovators in science, engineering, etc.. I think more innovation and discovery took place in Ancient Greece and Ancient Egypt. Certainly Greece as we have a record of that. Egypt it's more that they were building on such a monumental scale, as scale no-one came close to repeating until very recently.
- Romans were military geniuses. They conquered Greece, and Egypt, and Carthage, and Gaul, and Britannia, and everywhere in between. They then built forts, towns, cities and infrastructure throughout their empire. They built so much so widely that a lot of it still stands. But individually a lot of it isn't technically impressive; instead it's using a few simple patterns over and over again.--2A04:4A43:909F:F9FF:FC7B:F1E8:19D6:124C (talk) 12:09, 25 December 2024 (UTC)
- See Roman abacus. catslash (talk) 22:03, 25 December 2024 (UTC)
- It has to be said that in Roman times calculations for architecture were mostly graphical, geometrical, mechanical, rather than numeric. In fact, from the perspective of an ancient architect, it would make little sense translating geometrical figures into numbers, making numeric calculations, then translating them into geometrical figures again. Numerals become widely used tools only later, e.g. with the invention of Analytic Geometry (by Descartes), and with logarithms (Napier); and all these great mathematical innovations happened to be so useful also thanks to the previous invention of the printing press by Gutenberg --it's easier to transmit information by numbers than by geometric constructions. One may even argue that the invention of the printing press itself was the main reason to seek for an adequate efficient notation for real numbers (achieved by Stevinus). pma 21:22, 1 January 2025 (UTC)
- This is a great answer! Tito Omburo (talk) 21:38, 1 January 2025 (UTC)
- Architectural calculations, mentioned by Vitruvius, are not what I think of as engineering calculations. The former kind is about form. The latter kind should provide answers questions about structural behaviour, like, "Will these walls be able to withstand the outward force of the dome?" Can such questions be addressed with non-numerical calculations? --Lambiam 23:40, 1 January 2025 (UTC)
- It has to be said that in Roman times calculations for architecture were mostly graphical, geometrical, mechanical, rather than numeric. In fact, from the perspective of an ancient architect, it would make little sense translating geometrical figures into numbers, making numeric calculations, then translating them into geometrical figures again. Numerals become widely used tools only later, e.g. with the invention of Analytic Geometry (by Descartes), and with logarithms (Napier); and all these great mathematical innovations happened to be so useful also thanks to the previous invention of the printing press by Gutenberg --it's easier to transmit information by numbers than by geometric constructions. One may even argue that the invention of the printing press itself was the main reason to seek for an adequate efficient notation for real numbers (achieved by Stevinus). pma 21:22, 1 January 2025 (UTC)
- See Roman abacus. catslash (talk) 22:03, 25 December 2024 (UTC)
Are these sequences mod any natural number n periodic?
[edit]The period of Fibonacci number mod n is the Pisano period of n, but are these sequences mod any natural number n also periodic like Fibonacci number mod n?
- Lucas number
- Pell number
- Tribonacci number
- Tetranacci number
- Newman–Shanks–Williams number
- Padovan sequence
- Perrin number
- Narayana sequence
- Motzkin number
- Bell number
- Fubini number
- Euler zigzag number
- Partition number OEIS: A000041
- Distinct partition number OEIS: A000009
42.76.153.22 (talk) 06:06, 24 December 2024 (UTC)
- For 1. through 4., see Pisano period#Generalizations. Although 5. through 8. are not explicitly listed, I'm pretty sure the same argument applies for their periodicity as well. GalacticShoe (talk) 07:05, 24 December 2024 (UTC)
- For 13, I'm not sure, but I think the partition function is not periodic modulo any nontrivial number, to the point that the few congruences that are satisfied by the function are also very notable, e.g. Ramanujan's congruences. GalacticShoe (talk) 07:23, 24 December 2024 (UTC)
- It's possible that a sequences is eventually periodic but not periodic from the start, for example powers of 2 are periodic for any odd n, but for n=2 the sequence is 1, 0, 0, ..., which is only periodic starting with the second entry. In other words a sequence can be become periodic without being pure periodic. A finiteness argument shows that 1-8 are at least eventually periodic, but I don't think it works for the rest. (Pollard's rho algorithm uses this finiteness argument as well.) It says in the article that Bell numbers are periodic mod n for any prime n, but the status for composite n is unclear, at least from the article. Btw, Catalan numbers not on the list?. --RDBury (talk) 08:08, 24 December 2024 (UTC)
- If only the periodicity of Bell numbers modulo prime powers were known, then periodicity for all modulos would immediately result from the Chinese remainder theorem. GalacticShoe (talk) 01:29, 29 December 2024 (UTC)
- It's possible that a sequences is eventually periodic but not periodic from the start, for example powers of 2 are periodic for any odd n, but for n=2 the sequence is 1, 0, 0, ..., which is only periodic starting with the second entry. In other words a sequence can be become periodic without being pure periodic. A finiteness argument shows that 1-8 are at least eventually periodic, but I don't think it works for the rest. (Pollard's rho algorithm uses this finiteness argument as well.) It says in the article that Bell numbers are periodic mod n for any prime n, but the status for composite n is unclear, at least from the article. Btw, Catalan numbers not on the list?. --RDBury (talk) 08:08, 24 December 2024 (UTC)
- PS. 1-8 are pure periodic. In general, if the recurrence can be written in the form F(k) = (some polynomial in F(k-1), F(k-2), ... F(k-d+1) ) ± F(k-d), then F is pure periodic. The reason is that you can solve for F(k-d) and carry out the recursion backwards starting from where the sequence becomes periodic. Since the previous entries are uniquely determined they must follow the same periodic pattern as the rest of the sequence. If the coefficient of F(k-d) is not ±1 then this argument fails and the sequence can be pre-periodic but not pure periodic, at least when n is not relatively prime to the coefficient. --RDBury (talk) 18:12, 24 December 2024 (UTC)
- Ah, what was tripping me up was showing pure periodicity, recursing backwards completely slipped my mind. Thanks for the writeup! GalacticShoe (talk) 18:31, 24 December 2024 (UTC)
- good questions. What about TREE(n) mod k, for arbitrary fixed k?Rich (talk) 23:03, 27 December 2024 (UTC)
- Link: TREE function. There are a lot of sequences like this where exact values aren't known, Ramsey numbers are another example. It helps if there is a relatively simple recursion defining the sequence. --RDBury (talk) 11:50, 28 December 2024 (UTC)
- good questions. What about TREE(n) mod k, for arbitrary fixed k?Rich (talk) 23:03, 27 December 2024 (UTC)
- Ah, what was tripping me up was showing pure periodicity, recursing backwards completely slipped my mind. Thanks for the writeup! GalacticShoe (talk) 18:31, 24 December 2024 (UTC)
- PS. 1-8 are pure periodic. In general, if the recurrence can be written in the form F(k) = (some polynomial in F(k-1), F(k-2), ... F(k-d+1) ) ± F(k-d), then F is pure periodic. The reason is that you can solve for F(k-d) and carry out the recursion backwards starting from where the sequence becomes periodic. Since the previous entries are uniquely determined they must follow the same periodic pattern as the rest of the sequence. If the coefficient of F(k-d) is not ±1 then this argument fails and the sequence can be pre-periodic but not pure periodic, at least when n is not relatively prime to the coefficient. --RDBury (talk) 18:12, 24 December 2024 (UTC)
- For 9. Motzkin numbers are not periodic mod 2. Motzkin numbers mod 2 are OEIS:A039963, which is OEIS:A035263 with each term repeated (i.e. .) OEIS:A035263 in turn is the sequence that results when one starts with the string and successively maps (e.g. .) It is clear that if OEIS:A035263 were periodic with period , then the periodic string of length would need to map to string , but this is impossible as the last character of is always the opposite of the last character of the map applied to . Thus OEIS:A035263 is nonperiodic, and neither is OEIS:A039963. GalacticShoe (talk) 01:08, 29 December 2024 (UTC)
- This paper (linked from OEIS) goes into more detail on Motzkin numbers. I gather the sequence might be called quasi-periodic, but I can't find an article that matches this situation exactly. A003849 is in the same vein. --RDBury (talk) 16:59, 30 December 2024 (UTC)
- For 11., the article seems to suggest that Fubini numbers are eventually periodic modulo any prime power. I'm pretty sure this means that they the numbers eventually periodic mod any number , since the lcm of the eventual periods modulo all prime power divisors of should correspond to the eventual period modulo itself, with the remainders being obtainable through the Chinese remainder theorem. However, the wording also seems to suggest that periodicity modulo arbitrary is still conjectural, so I'm not sure. GalacticShoe (talk) 02:44, 29 December 2024 (UTC)
- You have answered all questions except 12 and 14, and 9 and 13 are the only two sequences which are not periodic mod n (except trivial n=1), 12 (Euler zigzag numbers) is (sequence A000111 in the OEIS), which seems to be periodic mod n like 10 (Bell numbers) (sequence A000110 in the OEIS) and 11 (Fubini numbers) (sequence A000670 in the OEIS), but all of these three sequences need prove, besides, 14 (Distinct partition numbers) (sequence A000009 in the OEIS) seems to be like 13 (Partition numbers) (sequence A000041 in the OEIS), i.e. not periodic mod n. 1.165.199.71 (talk) 02:27, 31 December 2024 (UTC)
December 31
[edit]Generating a point on the Y axis from regular pentagon with point on X axis
[edit]For a consisting of points in R^2, define the function B such that as the Union of and all points which can be produced in the following way. For each set of points A, B, C, & D from all different so that no three of A, B, C & D are co-linear. E is the point (if it exists) where ABE are colinear and CDE are co-linear.
If = the vertices of a regular Pentagon centered at 0,0 with one vertex at (1,0), does there exist N such that includes any point of the form (0, y)? (extending the question to any N-gon, with N odd) Naraht (talk) 05:16, 31 December 2024 (UTC)
- I think you meant to write --Lambiam 07:55, 31 December 2024 (UTC)
- Changed to use the Math.Naraht (talk) 14:37, 31 December 2024 (UTC)
- I'm not 100% sure I understand the problem, but try this: Label the vertices of the original pentagon, starting with (1, 0), as A, B, C, D, E. You can construct a second point on the x-axis as the intersection of BD and CE; call this A'. Similarly construct B', C', D', E', to get another, smaller, regular pentagon centered at the origin and with the opposite orientation from the the original pentagon. All the lines AA', BB', CC', DD', EE' intersect at the origin, so you can construct (0, 0) as the intersection of any pair of these lines. The question didn't say y could not be 0, so the answer is yes, with N=2.
- Changed to use the Math.Naraht (talk) 14:37, 31 December 2024 (UTC)
- There is some theory developed on "straightedge only construction", in particular the Poncelet–Steiner theorem, which states any construction possible with a compass and straightedge can be constructed with a straightedge alone if you are given a single circle with its center. In this case you're given a finite set of points instead of a circle, and I don't know if there is much theory developed for that. --RDBury (talk) 13:12, 1 January 2025 (UTC)
- Here is an easy way to describe the construction of pentagon A'B'C'D'E'. The diagonals of pentagon ABCDE form a pentagram. The smaller pentagon is obtained by removing the five pointy protrusions of this pentagram. --Lambiam 16:53, 1 January 2025 (UTC)
- Here is one point other than the origin (in red)
- If there is one such point, there must be an infinite number of them. catslash (talk) 22:52, 2 January 2025 (UTC)
- Just to be clear, the black points are the original pentagon K, the green points are in B(K), and the red point is the desired point in B2(K); the origin is not shown. It would be nice to find some algebraic criterion for a point to be constructible in this way, similar to the way points constructible with a compass and straightedge are characterized by their degree over Q. --RDBury (talk) 01:45, 3 January 2025 (UTC)
- Once you have a second one (such as the reflection of the red point wrt the x-axis), you have all intersections of the y-axis with the non-vertical lines through pairs of distinct points from --Lambiam 16:22, 3 January 2025 (UTC)
- Here is an easy way to describe the construction of pentagon A'B'C'D'E'. The diagonals of pentagon ABCDE form a pentagram. The smaller pentagon is obtained by removing the five pointy protrusions of this pentagram. --Lambiam 16:53, 1 January 2025 (UTC)
- There is some theory developed on "straightedge only construction", in particular the Poncelet–Steiner theorem, which states any construction possible with a compass and straightedge can be constructed with a straightedge alone if you are given a single circle with its center. In this case you're given a finite set of points instead of a circle, and I don't know if there is much theory developed for that. --RDBury (talk) 13:12, 1 January 2025 (UTC)
- RDBury *headslap* on (0,0) Any idea on y<>0? (← comment from Naraht)
- See the above construction by catslash. --Lambiam 16:12, 3 January 2025 (UTC)
- The red point is at , . catslash (talk) 16:18, 3 January 2025 (UTC)
- RDBury *headslap* on (0,0) Any idea on y<>0? (← comment from Naraht)
January 1
[edit]What is the first number not contained in M136279841?
[edit]See (sequence A268068 in the OEIS), the first number not contained in M74207281 is 1000003, but what is What is the first number not contained in M136279841 (the currently largest known prime)? 61.224.131.231 (talk) 03:34, 1 January 2025 (UTC)
- The corresponding sequence (11, 3, 8, 7, 6, 10, 4, 9, 1, 5, 25, 31, 39, ...) is not in OEIS. Finding the answer to your question requires an inordinate amount of computing power. The decimal expansion of this Mersenne prime has some 41 million digits, all of which need to be computed. If this is to be done in a reasonable amount of time, the computation will need the random access storage of at least some 22 million digits. --Lambiam 10:10, 1 January 2025 (UTC)
- I'm not seeing that this question requires an inordinate amount of computing power to answer. 41 million characters is not a very large set of data. Almost all modern computers have several gigabytes of memory, so 41 million characters will easily fit in memory. I took the digits of M136279841 from https://www.mersenne.org/primes/digits/M136279841.zip and searched them myself, which took a few minutes on a consumer grade PC. If I have not made a mistake, the first number that does not appear is 1000030. The next few numbers that do not appear are 1000073, 1000107, 1000143, 1000156, 1000219, 1000232, 1000236, 1000329, 1000393, 1000431, 1000458, 1000489, 1000511, 1000514, 1000520, 1000529, etc. CodeTalker (talk) 03:59, 2 January 2025 (UTC)
- To be fair, this depends on being able to find the digits on-line. To compute them from scratch just for this question would be more trouble than it's worth. But I take your point; it probably takes more computing power to stream an episode of NUMB3RS than to answer this question. My problem with the question is that it's basically a dead end; knowing the answer, is anyone going to learn anything useful from it? I'd question the inclusion of A268068 in OEIS in the first place simply because it might lead to this sort of boondoggle. But far be it for me to second guess the OEIS criteria for entry. --RDBury (talk) 01:13, 3 January 2025 (UTC)
- OEIS includes similar sequences for the positions of the first location of the successive naturals in the decimal expansions of (A088576), (A032445) and (A229192). These have at least a semblance of theoretical interest wafting over from the open question whether these numbers are normal. --Lambiam 06:21, 3 January 2025 (UTC)
To compute them from scratch just for this question would be more trouble than it's worth.
Eh, I agree that the question is of little fundamental interest. However, it's not much work to compute M136279841. It is of course absolutely trivial to compute it as a binary number. The only real work is to convert it to decimal. I wrote a program to do this using the GNU Multiple Precision Arithmetic Library. It took about 5 minutes to write the program (since I've never used that library before and had to read the manual) and 29 seconds to run it. CodeTalker (talk) 18:06, 3 January 2025 (UTC)- Right, convert from binary, somehow I didn't think of that. Basically just divide by 10 41 million times, which would only be an issue if it was billions instead of millions. --RDBury (talk) 06:21, 4 January 2025 (UTC)
- To be fair, this depends on being able to find the digits on-line. To compute them from scratch just for this question would be more trouble than it's worth. But I take your point; it probably takes more computing power to stream an episode of NUMB3RS than to answer this question. My problem with the question is that it's basically a dead end; knowing the answer, is anyone going to learn anything useful from it? I'd question the inclusion of A268068 in OEIS in the first place simply because it might lead to this sort of boondoggle. But far be it for me to second guess the OEIS criteria for entry. --RDBury (talk) 01:13, 3 January 2025 (UTC)
- I'm not seeing that this question requires an inordinate amount of computing power to answer. 41 million characters is not a very large set of data. Almost all modern computers have several gigabytes of memory, so 41 million characters will easily fit in memory. I took the digits of M136279841 from https://www.mersenne.org/primes/digits/M136279841.zip and searched them myself, which took a few minutes on a consumer grade PC. If I have not made a mistake, the first number that does not appear is 1000030. The next few numbers that do not appear are 1000073, 1000107, 1000143, 1000156, 1000219, 1000232, 1000236, 1000329, 1000393, 1000431, 1000458, 1000489, 1000511, 1000514, 1000520, 1000529, etc. CodeTalker (talk) 03:59, 2 January 2025 (UTC)
January 5
[edit]Reference request:coherence condition (adjoint functor)
[edit]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 ?)
- "triangle identity". ncatlab.org.
- Ben-Moshe, Shay (2024). "Naturality of the ∞-categorical enriched Yoneda embedding". Journal of Pure and Applied Algebra. 228 (6). arXiv:2301.00601. doi:10.1016/j.jpaa.2024.107625.
- Borceux, Francis (1994). Handbook of Categorical Algebra: Basic category theory. Cambridge University Press. ISBN 978-0-521-44178-0.
- Coecke, Bob; Moore, David (2000). "Operational Galois adjunctions". arXiv:quant-ph/0008021.
- planetmath
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 Adjoint functors § Definition via counit–unit adjunction?
- 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 that is natural in and 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 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)
Concatenation of first 10 digits and last 10 digits of a number
[edit]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:
- Can a(2^n) take all 20-digit values which are multiples of 1024?
- Can a(3^n) take all 20-digit values which are odd?
- Can a(n^2) take all 20-digit values which end with 0, 1, 4, 5, 6, 9?
- Can a(n^3) take all 20-digit values?
- Can a(prime number) take all 20-digit values which end with 1, 3, 7, 9?
- Can a(lucky number) take all 20-digit values which are odd?
- Can a(Fibonacci number) take all 20-digit values?
- Can a(partition number) take all 20-digit values?
- What is a(9^9^9^9)?
- What is a(9^^9), where ^^ is tetration?
- What is a(9^^^9), where ^^^ is pentation?
- What is a(Graham's number)?
- What is a(TREE(3))?
- If we know a(x), assume that x has at least 20 digits, can we also know a(2*x), a(3*x), etc.?
- If we know a(x), assume that x has at least 20 digits, can we also know a(x^2), a(x^3), etc.?
- 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)?
- 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)?
- 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 and
- Then but
- 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 -digit string is a red herring. It is conceptually cleaner to consider pairs of -digit strings, such as (8816943275, 9486871551).
- One can pose two related questions for each sequence under consideration:
- Ini: does each -digit string appear as an initial segment of the decimal expansion of some sequence element?
- Fin: does each -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 . If Ini holds for a given well-known mathematical sequence, Ini will almost certainly hold for any length This is then equivalent to the statement that a given sequence satisfies (For the notation see Little-o notation.)
- Similarly, if Fin holds for a given well-known mathematical sequence, Fin will plausibly hold for any length The Fin question can therefore tentatively be generalized to:
- Are, for any given modulus the residue classes modulo of sequence all classes not already excluded by the specified exclusions?
- Note, though, that the generalization may fail to hold for some modulus while Fin holds. For example, for any 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:
- Can a(2^n) take all 20-digit values which are multiples of 1024 and not multiples of 5?
- Can a(3^n) take all 20-digit values which end with 1, 3, 7, 9?
- Can a(n^2) take all 20-digit values which are quadratic residues mod 1010?
- 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)
- Sorry, the first 4 questions should be:
- 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 , then one can hope to find the first few digits by taking , with the hopes that will be small/amenable to calculation, with a precise fractional part. For example, has log , which is small () and thus has a precise fractional part () which, when fed back into the power of 10, yields us the first few digits without having to calculate the 369 million-digit itself. Unfortunately, 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 coprime to 5, there is some such that . Moreover, for the modulos with respect to are periodic with some minimal period, say , so that all applicable modulos appear once in the period of consecutive powers of 2.
- Suppose now that we fix two distinct 10-digit strings and , 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 be the minimal power of that has as its last ten digits; all the numbers we are looking for are then of the form where . What it means for our first ten digits to be then, is that there is some such that:
- .
- This is equivalent to:
- .
- Notice that 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 with a corresponding value of large enough such that the aforementioned equality holds, and also . Consequently, there must be some values of and that yield a power of 2 starting with A and ending with B. The same logic applies to . GalacticShoe (talk) 00:26, 7 January 2025 (UTC)
- 3./4. If we look at squares, then we have instead of , and the inequality becomes
- .
- While logs are not equidistributed modulo 1, this does not present a problem; because tends to 0 as n goes to infinity, there will always be some point where, informally, cannot "jump the gap" between and . When that happens, we get a square that starts and ends with our desired string. The same logic applies to cubes and all functions (yielding the desired ending substring) where or equivalently . GalacticShoe (talk) 01:37, 7 January 2025 (UTC)
- 7. The approach with exponentials can actually help us with Fibonacci numbers, as
- .
- All we have to do is use the Pisano period and add a fixed amount of leeway for the minuscule (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 --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 (sequence A243913 in the 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 is dense in there will be pseudoperiodicities. For example, is approximated by , so there will be a similarity between the initial digits of and those of The first two digits of go like
- while those of go like
- 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)
- No, this is excluded by the equidistribution theorem. Precisely because is dense in there will be pseudoperiodicities. For example, is approximated by , so there will be a similarity between the initial digits of and those of The first two digits of go like