Lowest Common Multiple
The lowest common multiple (LCM) of two numbers a and b is the lowest number that is a multiple of both of them.
You need it when adding or subtracting fractions, for example (see here)
One simple way to find it is to write down the first few multiples of a and b, looking for a number which is in both lists.
For example, to find the LCM of 8 and 12:
- multiples of 8 are 8, 16, 24, 32
- multiples of 12 are 12, 24, 36, 48
There are a couple of special cases to watch out for.
if a goes into b then the LCM is b. For example, the LCM of 4 and 12 is 12.
if a and b have no common factor, so there is no number that goes into both of them except 1, then the LCM is a x b
If either number is prime then this will be the case, of course.
For example, the LCM of 5 and 23 is 5x23 = 115. This situation is worth looking out for as it is the one which will take a very long time if you are listing multiples of each number.
if you know the HCF (highest common factor) of a and b
which is often possible to work out just by looking at the numbers, then
-mathformula not MarkupType-
Fatal error: Uncaught Error: Call to undefined method mathformula::makeTypeDef() in /var/www/vhosts/ent.storkey.uk/html/inc/reporting2.php:365
Stack trace:
#0 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(189): echo_value('lcmnotes', 'content', Array)
#1 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(742): dynaPage->echo_value('content')
#2 /var/www/vhosts/ent.storkey.uk/html/inc/dynaPage.php(179): mainPanel->write('main-panel')
#3 /var/www/vhosts/ent.storkey.uk/html/index.php(21): dynaPage->write()
#4 {main}
thrown in /var/www/vhosts/ent.storkey.uk/html/inc/reporting2.php on line 365
