Re: Some maths help in a ebook



Eric Jacobsen wrote:

...

And thanks, Jerry, for the [x5]^2 trick, I'd not seen that before.

You're welcome. My father taught it to me. ("Casting out" too.)

They also missed the "divisible by three" trick, where if the sum of
the digits is divisible by three, the number is divisible by three.
This works recursively, i.e., if the sum of the digits is a
multiple-digit number, sum those. Repeat as needed until you get to
a number small enough to be recognizable as divisible by three.

It's a subset of the divisibility check for 9, known to accountants as "casting out nines". Use it as an accuracy check on arithmetic operations. An operation on the moduli is equal to the modulus of the operation on the numbers, so it provides a quick check. To increase the probability of finding an error from 8/9 to 98/99, do it again by "casting out" 11s. N mod(11) is the units digit minus the tens digit plus the hundreds digit minus .... Checking for divisibility by 11 is that easy.

And does anybody else find the x11 and x12 tricks kind of pointless? I
think both cases are simple enough to just do in my head more easily
than remembering their somewhat-convoluted tricks.

Something akin to the x11 method is _how_ I do it in my head. The process is simpler than the printed explanation,

Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
.



Relevant Pages

  • Re: Factoring integers on a classical computer
    ... That reminds me of digit summation congruence, ... That might be useful, basically it is like "casting out nines", sum the ... sum the bytes and test that for divisibility by 255. ... that 345634563456654365436543 is an integral multiple of nine because ...
    (sci.math)
  • Re: Factoring integers on a classical computer
    ... That reminds me of digit summation congruence, ... That might be useful, basically it is like "casting out nines", sum the ... sum the bytes and test that for divisibility by 255. ... that 345634563456654365436543 is an integral multiple of nine because ...
    (comp.theory)
  • Re: Is this true?
    ...  Else repeat to get p2, p3,... ... A '''search engine''' sourced this article: Divisibility rule - ... If the tens digit is odd, and the ones digit is 2, or 6. ... Multiply the right most digit by the left most digit in the sequence ...
    (sci.math)
  • Re: Test of divisibility
    ... I recently read in a book, about divisibility tests as follows ... multiply the last digit of the given number by the operator of 7(i.e ... and subtract the product from the number obtained by removing the last ... here 35 is a multiple of 7, therefore the number 3563 is divisible by ...
    (sci.math)
  • [SUMMARY] Verbal Arithmetic (#128)
    ... Is this digit a zero, ... def initialize() ... and track the sum of the last column plus any value ... This AssignOnSumStep is added for letters in the solution of the equation. ...
    (comp.lang.ruby)