Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Simple math

  1. May 17, 2007 #1
    how many 5 digit numbers are there in which every two neighbouring digits differ by 3?

    can you please tell me if i have to do this all by trial and error or is there some sort of formula i need to make to do this
    thanks
     
  2. jcsd
  3. May 17, 2007 #2

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    Trial and error? You mean you're going to guess a number and see if it satisfies the condition?

    What if I told you the first digit were a 1? What is the second digit?
     
  4. May 17, 2007 #3
    14741
    but theres too many possibilites
     
  5. May 17, 2007 #4
    what i meant is do i need to make a formula to work out the number of combinations
     
  6. May 17, 2007 #5

    matt grime

    User Avatar
    Science Advisor
    Homework Helper

    There are not too many possibilities. And that isn't the only one that starts with 1. You could write down a recurrence relation, if you wished, but I doubt that will help - just do it, it isn't very hard, and won't take you very long.
     
  7. May 23, 2007 #6
    This was in the UNSW Maths comp. Hint: it is around 40...
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Simple math
  1. Simple math (Replies: 5)

  2. Fairly simple math (Replies: 0)

  3. Simple maths question (Replies: 3)

  4. Simple math question (Replies: 3)

Loading...