Finding 5-Digit Numbers w/ Neighbouring Digits Differing by 3

  • Context: Undergrad 
  • Thread starter Thread starter thagamizer
  • Start date Start date
  • Tags Tags
    Numbers
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
thagamizer
Messages
5
Reaction score
0
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
 
Mathematics news on Phys.org
14741
but there's too many possibilites
 
what i meant is do i need to make a formula to work out the number of combinations
 
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.
 
This was in the UNSW Maths comp. Hint: it is around 40...