Differences between revisions 7 and 8
 ⇤ ← Revision 7 as of 2006-05-22 19:19:43 → Size: 724 Editor: DanBron Comment: ← Revision 8 as of 2008-12-08 10:45:54 → ⇥ Size: 723 Editor: anonymous Comment: converted to 1.6 markup Deletions are marked like this. Additions are marked like this. Line 4: Line 4: [wiki:JForum:programming/2005-November/000284 J programming forum] [[JForum:programming/2005-November/000284|J programming forum]] Line 12: Line 12: [#solutions Solutions below.] [[#solutions|Solutions below.]] Line 14: Line 14: [[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]][[BR]] <
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
><
> Line 18: Line 18: [[Anchor(solutions)]] <>

Puzzle posed and solved by Boyko Bantchev in the J programming forum on 2005-11-29.

Arrange a list of distinct positive integers so that no two numbers have their average between them in the sequence. For example, 6 2 10 8 5 is a correct ordering while 6 2 10 5 8 is not, since 5=-:+/2 8 and 5 is placed between 2 and 8 .

# Solutions

```/:~&.(|."1@#:)
/: |."1@#:```

Puzzles/No Average Spanned (last edited 2008-12-08 10:45:54 by anonymous)