1
$\begingroup$

Arrange the digits from 0 to 9 into a 10 digit number (abcdefghij) which follow the rule :

  • a < b > c < d > e < f > g < h > i < j
  • difference between 2 adjacent digits is more than 4


Bonus puzzle :

Change the 2nd rule with :

  • The digits follow the pattern : ....,even,odd,even,odd....
$\endgroup$

1 Answer 1

3
$\begingroup$

Original puzzle:

4938271605
The requirement that each number be >4 difference from the adjacent ones, both of which must be either larger or smaller, suggests a repeating pattern moving down (or up) from beginning to end

Bonus puzzle:

8967452301
It is impossible to put the "even" digits (counting 0 as even, and 1 as odd) in the set b d f h j because the first rule is that these digits must all be greater than their neighbors, and one of the even digits is zero, which is not greater than any of the rest. Similarly, the odds (which include 9) must be in the set of numbers that are greater than their neighbors. Therefore, any solution with alternating odd-even pattern must begin with an even number.

$\endgroup$
10
  • $\begingroup$ answer to bonus puzzle is wrong. check again. $\endgroup$ Commented Aug 27, 2016 at 2:38
  • $\begingroup$ @JamalSenjaya does the first digit need to be odd? or do they just have to alternate? $\endgroup$
    – tmpearce
    Commented Aug 27, 2016 at 2:47
  • $\begingroup$ Odd, even, odd, even, odd, even, odd, even, even, odd $\endgroup$
    – mbjb
    Commented Aug 27, 2016 at 2:50
  • $\begingroup$ @tmpearce your answer is wrong because you put 0 in 9th place which is not odd, and 9 in 10th place which is not even. $\endgroup$ Commented Aug 27, 2016 at 2:51
  • $\begingroup$ @tmpearce I marked your answer as accepted, because your mistake is in the bonus puzzle. not main puzzle. $\endgroup$ Commented Aug 27, 2016 at 2:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.