Puzzles/POY 2007

From J Wiki
Jump to navigation Jump to search

Puzzle of the year 2007: find phrases that generate each number i.100 , making no use of

  • digits other than 2 0 0 7 in sequence
  •  _ and __ and _. as numbers
  • letters in numeric constants (e.g. >. 200r7 for 29 is prohibited)
  • literal strings

The number of words in each phrase is to be minimized. (Word count is according to #;:y ). Where there are multiple phrases for the same number with the same number of words, phrases with fewer essential characters are preferred.

Solutions:

 0  /: 2007
 1  # 2007          NB. also  * 2007
 2  2: 007
 3  # 20 0 7        NB. also  >. 2.007
 4  # 2 0 0 7
 5  p: 2: 007
 6  ! # 20 0 7
 7  {: 2 007
 8  >. ^ 2.007
 9  #. 2 0 0 _7
10  <. -: 20.07
11  #. 2 007
12  >: #. 2 007
13  20-07
14  2*007
15  #. 2 0 07
16  *: # 2 0 0 7    NB. also  >: #. 2 0 07
17  p: ! # 20 0 7
18  A. \: 2 0 0 7
19  <:<.20.07       NB. also  p: {: 200 7
20  <.20.07         NB. also  {. 20 07
21  >.20.07
22  >:>.20.07
23  #. 2 0 0 7
24  ! # 2 0 0 7
25  *: p: 2: 007
26  +:20-07         NB. also  <:20+07
27  20+07
28  2!_007
29  #. p: 2 007
30  +: #. 2 0 07    NB. also  #. |. 2 00 7
31  p: <. -: 20.07
32  <: #. 20 _07
33  #. 20 _07
34  #. |. 20 07
35  * / -: 20 07
36  #. >: 20 _07
37  p: #. 2 007
38  #. >: 2 0 0 7
39  <. *: o. 2.007
40  <. +: 20.07     NB. also  +: {. 20 07
41  >. +: 20.07
42  +: >. 20.07
43  #. p: 2 0 07
44  <. %: 2007
45  >. %: 2007
46  <: #. 20 07
47  #. 20 07
48  >: #. 20 07
49  *: {: 200 7
50  #. >: 20 07
51  >. ! %: 20.07
52  <: p: #. 2 0 07
53  p: #. 2 0 07
54  #. |. _2 0 0 7
55  <. *: ^ 2.007
56  +: 2 ! _007
57  #. *: 2 007
58  #. |. 2 0 0 7
59  {: q: <: 2007
60  #. 20 >. 0 7
61  #. >: +: 2 0 0 7
62  # #: ! 20.07
63  <. o. 20.07
64  >. o. 20.07
65  #. *: 2 00 7
66  +: #. 20 _07
67  p: A. \: 2 0 0 7
68  #. +: |. 20 07
69  #. p: +: 2 007
70  -: * / 20 07
71  #. p: 2 0 0 7
72  <: #. 20 0 _7
73  #. 20 0 _7
74  >: #. 20 0 _7
75  <: -: A. 2 007
76  -: A. 2 007
77  >: -: A. 2 007
78  <: p: >. 20.07
79  p: >. 20.07
80  #. <: 20 0 7
81  #. *: 2 0 0 7
82  # , i: 20 07
83  p: >. >: 20.07
84  +: +: >. 20.07
85  <: <: #. 20 0 7
86  <: #. 20 0 7
87  #. 20 0 7
88  >: #. 20 0 7
89  p: #. 2 0 0 7
90  +: >. %: 2007
91  #. <: +: 20 07
92  +/ p: 20 07
93  <: +: #. 20 07
94  +: #. 20 07
95  */ p: 2 007
96  +: >: #. 20 07
97  p: ! # 2 0 0 7
98  +: *: {: 200 7
99  <:-:<.200.7



See also

Discussion

  • For 14 why not use 2 * 007? Same for 9. It's same word count but fewer chars. -- Oleg Kobchenko <<DateTime(2006-12-22T05:10:21Z)>>
  • Go ahead and make the change. Your suggested solutions are the better ones according to the rules. -- Roger Hui <<DateTime(2006-12-22T05:36:25Z)>>