Testwiki:Reference desk/Archives/Mathematics/2025 January 15
From testwiki
Revision as of 05:12, 30 January 2025 by imported>Scsbot (edited by robot: archiving January 15)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template:Error:not substituted
{| width = "100%"
|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < January 14 ! 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. |
Contents
January 15
Least common multiple
What do you call a subset of the factors of x where all 3 are true?
- LCM(subset)=x
- no member >√x
- can't be done with less members
(obviously only some x would have even 1 subset passing all 3)
Is there also a name for a version where no member ≥√x or a version with tiebreaks (maybe smallest largest member then smallest 2nd largest member and so on?) or a version with both extra strictures? Sagittarian Milky Way (talk) 22:56, 15 January 2025 (UTC)
- It seems unlikely that anyone has before come up with this specific set of conditions, let alone coined a term for it. --Lambiam 22:24, 16 January 2025 (UTC)
- I was looking at factor lists of numbers with many factors & thinking most of these are superfluous to define a least common multiple & wondering how many you could remove without the LCM becoming less than the number (obviously there are other applications where you need all factors) but if you don't set a max size it's too easy you could always get it down to 2 with lcm(1,x) sometimes also others like lcm(prime, bigger prime) or lcm(2,x/2 if odd) so if you must use factors ≤√x it'll at least be over 2 members so more interesting. Sagittarian Milky Way (talk) 16:32, 17 January 2025 (UTC)
- Consider a set of numbers whose lcm equals a given number . Let and be two different elements of that set that are not coprime. This means that they have nontrivial factors and in which is a prime number and and are at least Assume wlog that Then the lcm of set oobtained by replacing by is the same as that of This means that we can keep things simpler by only considering sets with pairwise coprime elements. Then the lcm function can be replaced by the product operator where
- Given the factorization one possible choice for is the set Given a partition of define by
- Then so for each partition the set is also a candidate for Conversely, each set of mutually coprime numbers such that can be written as for some partition of The original itself equals
- Instead of partitioning and then applying to the partition, we can obtain the same candidates for by starting with and obtaining from — provided that is not a singleton set — by choosing two elements from and replacing these two by a single element, namely their product. If we wish to keep the values low, a reasonable greedy heuristic is to pick each time the smallest two elements.
- Applying this to Plato's favourite number, we get:
- so
- ; the smallest two elements are and so
- ; the smallest two elements are and so
- ; the smallest two elements are and so
- If the largest element must not exceed the square root of the set has to contain at least three elements, so with being the number of distinct prime factors, there is no point in going farther than --Lambiam 23:11, 17 January 2025 (UTC)