Results 1 to 2 of 2

Thread: Divisibility

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2002
    Location
    Ontario Canada
    Posts
    236

    Divisibility

    To test for divisibility by 3 and 9 we add up the digits of a number and see if the sum is divisible by 3 or 9. Does this work for 27 as well?
    YL says:"Few are those who see with their own eyes and feel with their own hearts."(Einstein)

  2. #2
    Fanatic Member twanvl's Avatar
    Join Date
    Dec 2001
    Posts
    771
    The tests work for 3 and 9 because:
    10 = 1 (mod 3)
    10 = 1 (mod 9)
    mod means that:
    10 = 1+3a, for some a (3)
    10 = 1+9a, for some a (1)

    It doesn't work for 27,
    10 != 1 (mod 27)

    A test for divisibility by 27 would be:
    - check for divisibility by 3
    - divide by 3
    - check for divisibility by 9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width