nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
55,
82,
6,
18
] | 24 | [
"82-55=27",
"18/6=3",
"27-3=24"
] | Current State: 24:[55, 82, 6, 18], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [6, 18, 27]
Generated Node #2: [6, 18, 27] from Operation: 82-55=27
Current State: 24:[6, 18, 27], Operations: ['82-55=27']
Exploring Operation: 18/6=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 18/6=3
Current State: 24:[27, 3], Operations: ['82-55=27', '18/6=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[55, 82, 6, 18], Operations: []
Exploring Operation: 55-18=37, Resulting Numbers: [82, 6, 37]
Generated Node #0,0: 24:[82, 6, 37] Operation: 55-18=37
Exploring Operation: 82-18=64, Resulting Numbers: [55, 6, 64]
Generated Node #0,1: 24:[55, 6, 64] Operation: 82-18=64
Exploring Operation: 82-55=27, Resulting Numbers: [6, 18, 27]
Generated Node #0,2: 24:[6, 18, 27] Operation: 82-55=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[6, 18, 27], Operations: ['82-55=27']
Exploring Operation: 27-18=9, Resulting Numbers: [6, 9]
Generated Node #0,2,0: 24:[6, 9] Operation: 27-18=9
Exploring Operation: 18-6=12, Resulting Numbers: [27, 12]
Generated Node #0,2,1: 24:[27, 12] Operation: 18-6=12
Exploring Operation: 6+18=24, Resulting Numbers: [27, 24]
Generated Node #0,2,2: 24:[27, 24] Operation: 6+18=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[6, 9], Operations: ['82-55=27', '27-18=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,24 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 24:[27, 12], Operations: ['82-55=27', '18-6=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,24 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[27, 24], Operations: ['82-55=27', '6+18=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,24 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[82, 6, 37], Operations: ['55-18=37']
Exploring Operation: 82-37=45, Resulting Numbers: [6, 45]
Generated Node #0,0,0: 24:[6, 45] Operation: 82-37=45
Exploring Operation: 82-6=76, Resulting Numbers: [37, 76]
Generated Node #0,0,1: 24:[37, 76] Operation: 82-6=76
Exploring Operation: 37-6=31, Resulting Numbers: [82, 31]
Generated Node #0,0,2: 24:[82, 31] Operation: 37-6=31
Moving to Node #0,0,0
Current State: 24:[6, 45], Operations: ['55-18=37', '82-37=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,24 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[37, 76], Operations: ['55-18=37', '82-6=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[82, 31], Operations: ['55-18=37', '37-6=31']
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,24 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[55, 6, 64], Operations: ['82-18=64']
Exploring Operation: 64-55=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 24:[6, 9] Operation: 64-55=9
Exploring Operation: 55-6=49, Resulting Numbers: [64, 49]
Generated Node #0,1,1: 24:[64, 49] Operation: 55-6=49
Exploring Operation: 64-6=58, Resulting Numbers: [55, 58]
Generated Node #0,1,2: 24:[55, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[6, 9], Operations: ['82-18=64', '64-55=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,24 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[64, 49], Operations: ['82-18=64', '55-6=49']
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[55, 58], Operations: ['82-18=64', '64-6=58']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 55*58=3190, Resulting Numbers: [3190]
3190,24 unequal: No Solution
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
16,
45,
90,
90
] | 37 | [
"90-16=74",
"90/45=2",
"74/2=37"
] | Current State: 37:[16, 45, 90, 90], Operations: []
Exploring Operation: 90-16=74, Resulting Numbers: [45, 74]
Generated Node #2: [45, 74] from Operation: 90-16=74
Current State: 37:[45, 74], Operations: ['90-16=74']
Exploring Operation: 90/45=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 90/45=2
Current State: 37:[74, 2], Operations: ['90-16=74', '90/45=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[16, 45, 90, 90], Operations: []
Exploring Operation: 90-90=0, Resulting Numbers: [16, 45, 0]
Generated Node #0,0: 37:[16, 45, 0] Operation: 90-90=0
Exploring Operation: 90/90=1, Resulting Numbers: [16, 45, 1]
Generated Node #0,1: 37:[16, 45, 1] Operation: 90/90=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[16, 45, 1], Operations: ['90/90=1']
Exploring Operation: 45-1=44, Resulting Numbers: [16, 44]
Generated Node #0,1,0: 37:[16, 44] Operation: 45-1=44
Exploring Operation: 16+1=17, Resulting Numbers: [45, 17]
Generated Node #0,1,1: 37:[45, 17] Operation: 16+1=17
Moving to Node #0,1,0
Current State: 37:[16, 44], Operations: ['90/90=1', '45-1=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[45, 17], Operations: ['90/90=1', '16+1=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[16, 45, 0], Operations: ['90-90=0']
Exploring Operation: 16+0=16, Resulting Numbers: [45, 16]
Generated Node #0,0,0: 37:[45, 16] Operation: 16+0=16
Exploring Operation: 16-0=16, Resulting Numbers: [45, 16]
Generated Node #0,0,1: 37:[45, 16] Operation: 16-0=16
Moving to Node #0,0,0
Current State: 37:[45, 16], Operations: ['90-90=0', '16+0=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[45, 16], Operations: ['90-90=0', '16-0=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
50,
52,
14,
66
] | 38 | [
"52-50=2",
"14*2=28",
"66-28=38"
] | Current State: 38:[50, 52, 14, 66], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [14, 66, 2]
Generated Node #2: [14, 66, 2] from Operation: 52-50=2
Current State: 38:[14, 66, 2], Operations: ['52-50=2']
Exploring Operation: 14*2=28, Resulting Numbers: [66, 28]
Generated Node #3: [66, 28] from Operation: 14*2=28
Current State: 38:[66, 28], Operations: ['52-50=2', '14*2=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[50, 52, 14, 66], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [52, 14, 16]
Generated Node #0,0: 38:[52, 14, 16] Operation: 66-50=16
Exploring Operation: 52-50=2, Resulting Numbers: [14, 66, 2]
Generated Node #0,1: 38:[14, 66, 2] Operation: 52-50=2
Exploring Operation: 66-14=52, Resulting Numbers: [50, 52, 52]
Generated Node #0,2: 38:[50, 52, 52] Operation: 66-14=52
Exploring Operation: 52-14=38, Resulting Numbers: [50, 66, 38]
Generated Node #0,3: 38:[50, 66, 38] Operation: 52-14=38
Exploring Operation: 66-52=14, Resulting Numbers: [50, 14, 14]
Generated Node #0,4: 38:[50, 14, 14] Operation: 66-52=14
Moving to Node #0,0
Current State: 38:[52, 14, 16], Operations: ['66-50=16']
Exploring Operation: 16-14=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 38:[52, 2] Operation: 16-14=2
Exploring Operation: 14+16=30, Resulting Numbers: [52, 30]
Generated Node #0,0,1: 38:[52, 30] Operation: 14+16=30
Exploring Operation: 52-16=36, Resulting Numbers: [14, 36]
Generated Node #0,0,2: 38:[14, 36] Operation: 52-16=36
Exploring Operation: 52-14=38, Resulting Numbers: [16, 38]
Generated Node #0,0,3: 38:[16, 38] Operation: 52-14=38
Exploring Operation: 52+14=66, Resulting Numbers: [16, 66]
Generated Node #0,0,4: 38:[16, 66] Operation: 52+14=66
Moving to Node #0,4
Current State: 38:[50, 14, 14], Operations: ['66-52=14']
Exploring Operation: 14-14=0, Resulting Numbers: [50, 0]
Generated Node #0,4,0: 38:[50, 0] Operation: 14-14=0
Exploring Operation: 50-14=36, Resulting Numbers: [14, 36]
Generated Node #0,4,1: 38:[14, 36] Operation: 50-14=36
Exploring Operation: 50-14=36, Resulting Numbers: [14, 36]
Generated Node #0,4,2: 38:[14, 36] Operation: 50-14=36
Exploring Operation: 14/14=1, Resulting Numbers: [50, 1]
Generated Node #0,4,3: 38:[50, 1] Operation: 14/14=1
Exploring Operation: 14+14=28, Resulting Numbers: [50, 28]
Generated Node #0,4,4: 38:[50, 28] Operation: 14+14=28
Moving to Node #0,1
Current State: 38:[14, 66, 2], Operations: ['52-50=2']
Exploring Operation: 14+2=16, Resulting Numbers: [66, 16]
Generated Node #0,1,0: 38:[66, 16] Operation: 14+2=16
Exploring Operation: 66-14=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 38:[2, 52] Operation: 66-14=52
Exploring Operation: 14/2=7, Resulting Numbers: [66, 7]
Generated Node #0,1,2: 38:[66, 7] Operation: 14/2=7
Exploring Operation: 66/2=33, Resulting Numbers: [14, 33]
Generated Node #0,1,3: 38:[14, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [14, 64]
Generated Node #0,1,4: 38:[14, 64] Operation: 66-2=64
Moving to Node #0,2
Current State: 38:[50, 52, 52], Operations: ['66-14=52']
Exploring Operation: 52-50=2, Resulting Numbers: [52, 2]
Generated Node #0,2,0: 38:[52, 2] Operation: 52-50=2
Exploring Operation: 52-52=0, Resulting Numbers: [50, 0]
Generated Node #0,2,1: 38:[50, 0] Operation: 52-52=0
Exploring Operation: 52/52=1, Resulting Numbers: [50, 1]
Generated Node #0,2,2: 38:[50, 1] Operation: 52/52=1
Exploring Operation: 52-50=2, Resulting Numbers: [52, 2]
Generated Node #0,2,3: 38:[52, 2] Operation: 52-50=2
Exploring Operation: 50+52=102, Resulting Numbers: [52, 102]
Generated Node #0,2,4: 38:[52, 102] Operation: 50+52=102
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[50, 1], Operations: ['66-14=52', '52/52=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[52, 2], Operations: ['66-14=52', '52-50=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[50, 0], Operations: ['66-14=52', '52-52=0']
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[52, 2], Operations: ['66-14=52', '52-50=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[52, 102], Operations: ['66-14=52', '50+52=102']
Exploring Operation: 52*102=5304, Resulting Numbers: [5304]
5304,38 unequal: No Solution
Exploring Operation: 52+102=154, Resulting Numbers: [154]
154,38 unequal: No Solution
Exploring Operation: 102-52=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 38:[50, 66, 38], Operations: ['52-14=38']
Exploring Operation: 50+38=88, Resulting Numbers: [66, 88]
Generated Node #0,3,0: 38:[66, 88] Operation: 50+38=88
Exploring Operation: 50-38=12, Resulting Numbers: [66, 12]
Generated Node #0,3,1: 38:[66, 12] Operation: 50-38=12
Exploring Operation: 50+66=116, Resulting Numbers: [38, 116]
Generated Node #0,3,2: 38:[38, 116] Operation: 50+66=116
Exploring Operation: 66-50=16, Resulting Numbers: [38, 16]
Generated Node #0,3,3: 38:[38, 16] Operation: 66-50=16
Exploring Operation: 66-38=28, Resulting Numbers: [50, 28]
Generated Node #0,3,4: 38:[50, 28] Operation: 66-38=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[38, 16], Operations: ['52-14=38', '66-50=16']
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,38 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[50, 28], Operations: ['52-14=38', '66-38=28']
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,38 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[66, 12], Operations: ['52-14=38', '50-38=12']
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,38 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[66, 88], Operations: ['52-14=38', '50+38=88']
Exploring Operation: 66+88=154, Resulting Numbers: [154]
154,38 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 66*88=5808, Resulting Numbers: [5808]
5808,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[38, 116], Operations: ['52-14=38', '50+66=116']
Exploring Operation: 116-38=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Exploring Operation: 38*116=4408, Resulting Numbers: [4408]
4408,38 unequal: No Solution
Exploring Operation: 38+116=154, Resulting Numbers: [154]
154,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 38:[16, 38], Operations: ['66-50=16', '52-14=38']
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,38 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[14, 36], Operations: ['66-52=14', '50-14=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,38 unequal: No Solution
Moving to Node #0,4,2
Current State: 38:[14, 36], Operations: ['66-52=14', '50-14=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[14, 36], Operations: ['66-50=16', '52-16=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,38 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[14, 33], Operations: ['52-50=2', '66/2=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[50, 1], Operations: ['66-52=14', '14/14=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,38 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[52, 2], Operations: ['66-50=16', '16-14=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[2, 52], Operations: ['52-50=2', '66-14=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[50, 0], Operations: ['66-52=14', '14-14=0']
Exploring Operation: 50*0=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 50+0=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 50-0=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[50, 28], Operations: ['66-52=14', '14+14=28']
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,38 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[52, 30], Operations: ['66-50=16', '14+16=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,38 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,1,4
Current State: 38:[14, 64], Operations: ['52-50=2', '66-2=64']
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,38 unequal: No Solution
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[16, 66], Operations: ['66-50=16', '52+14=66']
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,38 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[66, 16], Operations: ['52-50=2', '14+2=16']
Exploring Operation: 66*16=1056, Resulting Numbers: [1056]
1056,38 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 66+16=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[66, 7], Operations: ['52-50=2', '14/2=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,38 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,38 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,38 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
54,
12,
7
] | 99 | [
"15+7=22",
"54*22=1188",
"1188/12=99"
] | Current State: 99:[15, 54, 12, 7], Operations: []
Exploring Operation: 15+7=22, Resulting Numbers: [54, 12, 22]
Generated Node #2: [54, 12, 22] from Operation: 15+7=22
Current State: 99:[54, 12, 22], Operations: ['15+7=22']
Exploring Operation: 54*22=1188, Resulting Numbers: [12, 1188]
Generated Node #3: [12, 1188] from Operation: 54*22=1188
Current State: 99:[12, 1188], Operations: ['15+7=22', '54*22=1188']
Exploring Operation: 1188/12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[15, 54, 12, 7], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [12, 7, 39]
Generated Node #0,0: 99:[12, 7, 39] Operation: 54-15=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[12, 7, 39], Operations: ['54-15=39']
Exploring Operation: 39-7=32, Resulting Numbers: [12, 32]
Generated Node #0,0,0: 99:[12, 32] Operation: 39-7=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[12, 32], Operations: ['54-15=39', '39-7=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
89,
19,
29
] | 93 | [
"89-6=83",
"29-19=10",
"83+10=93"
] | Current State: 93:[6, 89, 19, 29], Operations: []
Exploring Operation: 89-6=83, Resulting Numbers: [19, 29, 83]
Generated Node #2: [19, 29, 83] from Operation: 89-6=83
Current State: 93:[19, 29, 83], Operations: ['89-6=83']
Exploring Operation: 29-19=10, Resulting Numbers: [83, 10]
Generated Node #3: [83, 10] from Operation: 29-19=10
Current State: 93:[83, 10], Operations: ['89-6=83', '29-19=10']
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[6, 89, 19, 29], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [6, 89, 10]
Generated Node #0,0: 93:[6, 89, 10] Operation: 29-19=10
Exploring Operation: 6+19=25, Resulting Numbers: [89, 29, 25]
Generated Node #0,1: 93:[89, 29, 25] Operation: 6+19=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[89, 29, 25], Operations: ['6+19=25']
Exploring Operation: 89+25=114, Resulting Numbers: [29, 114]
Generated Node #0,1,0: 93:[29, 114] Operation: 89+25=114
Exploring Operation: 29-25=4, Resulting Numbers: [89, 4]
Generated Node #0,1,1: 93:[89, 4] Operation: 29-25=4
Moving to Node #0,1,1
Current State: 93:[89, 4], Operations: ['6+19=25', '29-25=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[6, 89, 19, 29], Operations: []
Exploring Operation: 6+19=25, Resulting Numbers: [89, 29, 25]
Generated Node #0,1: 93:[89, 29, 25] Operation: 6+19=25
Moving to Node #0,1
Current State: 93:[89, 29, 25], Operations: ['6+19=25']
Exploring Operation: 29-25=4, Resulting Numbers: [89, 4]
Generated Node #0,1,1: 93:[89, 4] Operation: 29-25=4
Moving to Node #0,1,1
Current State: 93:[89, 4], Operations: ['6+19=25', '29-25=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
83,
56,
46,
2
] | 78 | [
"56-46=10",
"10/2=5",
"83-5=78"
] | Current State: 78:[83, 56, 46, 2], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [83, 2, 10]
Generated Node #2: [83, 2, 10] from Operation: 56-46=10
Current State: 78:[83, 2, 10], Operations: ['56-46=10']
Exploring Operation: 10/2=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 10/2=5
Current State: 78:[83, 5], Operations: ['56-46=10', '10/2=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[83, 56, 46, 2], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [83, 2, 10]
Generated Node #0,0: 78:[83, 2, 10] Operation: 56-46=10
Exploring Operation: 83-56=27, Resulting Numbers: [46, 2, 27]
Generated Node #0,1: 78:[46, 2, 27] Operation: 83-56=27
Moving to Node #0,0
Current State: 78:[83, 2, 10], Operations: ['56-46=10']
Exploring Operation: 83-2=81, Resulting Numbers: [10, 81]
Generated Node #0,0,0: 78:[10, 81] Operation: 83-2=81
Exploring Operation: 83-10=73, Resulting Numbers: [2, 73]
Generated Node #0,0,1: 78:[2, 73] Operation: 83-10=73
Moving to Node #0,1
Current State: 78:[46, 2, 27], Operations: ['83-56=27']
Exploring Operation: 46/2=23, Resulting Numbers: [27, 23]
Generated Node #0,1,0: 78:[27, 23] Operation: 46/2=23
Exploring Operation: 46+27=73, Resulting Numbers: [2, 73]
Generated Node #0,1,1: 78:[2, 73] Operation: 46+27=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[27, 23], Operations: ['83-56=27', '46/2=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[2, 73], Operations: ['83-56=27', '46+27=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 78:[2, 73], Operations: ['56-46=10', '83-10=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,78 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[10, 81], Operations: ['56-46=10', '83-2=81']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,78 unequal: No Solution
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,78 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
65,
79,
37
] | 74 | [
"16+65=81",
"81-79=2",
"37*2=74"
] | Current State: 74:[16, 65, 79, 37], Operations: []
Exploring Operation: 16+65=81, Resulting Numbers: [79, 37, 81]
Generated Node #2: [79, 37, 81] from Operation: 16+65=81
Current State: 74:[79, 37, 81], Operations: ['16+65=81']
Exploring Operation: 81-79=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 81-79=2
Current State: 74:[37, 2], Operations: ['16+65=81', '81-79=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[16, 65, 79, 37], Operations: []
Exploring Operation: 16+65=81, Resulting Numbers: [79, 37, 81]
Generated Node #0,0: 74:[79, 37, 81] Operation: 16+65=81
Exploring Operation: 79-65=14, Resulting Numbers: [16, 37, 14]
Generated Node #0,1: 74:[16, 37, 14] Operation: 79-65=14
Exploring Operation: 65-37=28, Resulting Numbers: [16, 79, 28]
Generated Node #0,2: 74:[16, 79, 28] Operation: 65-37=28
Exploring Operation: 65-16=49, Resulting Numbers: [79, 37, 49]
Generated Node #0,3: 74:[79, 37, 49] Operation: 65-16=49
Exploring Operation: 79-16=63, Resulting Numbers: [65, 37, 63]
Generated Node #0,4: 74:[65, 37, 63] Operation: 79-16=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[79, 37, 81], Operations: ['16+65=81']
Exploring Operation: 37+81=118, Resulting Numbers: [79, 118]
Generated Node #0,0,0: 74:[79, 118] Operation: 37+81=118
Exploring Operation: 81-37=44, Resulting Numbers: [79, 44]
Generated Node #0,0,1: 74:[79, 44] Operation: 81-37=44
Exploring Operation: 81-79=2, Resulting Numbers: [37, 2]
Generated Node #0,0,2: 74:[37, 2] Operation: 81-79=2
Exploring Operation: 79-37=42, Resulting Numbers: [81, 42]
Generated Node #0,0,3: 74:[81, 42] Operation: 79-37=42
Exploring Operation: 79+37=116, Resulting Numbers: [81, 116]
Generated Node #0,0,4: 74:[81, 116] Operation: 79+37=116
Moving to Node #0,0,2
Current State: 74:[37, 2], Operations: ['16+65=81', '81-79=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[16, 65, 79, 37], Operations: []
Exploring Operation: 16+65=81, Resulting Numbers: [79, 37, 81]
Generated Node #0,0: 74:[79, 37, 81] Operation: 16+65=81
Moving to Node #0,0
Current State: 74:[79, 37, 81], Operations: ['16+65=81']
Exploring Operation: 81-79=2, Resulting Numbers: [37, 2]
Generated Node #0,0,2: 74:[37, 2] Operation: 81-79=2
Moving to Node #0,0,2
Current State: 74:[37, 2], Operations: ['16+65=81', '81-79=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
4,
78,
93,
91
] | 39 | [
"93-4=89",
"91-89=2",
"78/2=39"
] | Current State: 39:[4, 78, 93, 91], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [78, 91, 89]
Generated Node #2: [78, 91, 89] from Operation: 93-4=89
Current State: 39:[78, 91, 89], Operations: ['93-4=89']
Exploring Operation: 91-89=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 91-89=2
Current State: 39:[78, 2], Operations: ['93-4=89', '91-89=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[4, 78, 93, 91], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [4, 93, 13]
Generated Node #0,0: 39:[4, 93, 13] Operation: 91-78=13
Exploring Operation: 93-78=15, Resulting Numbers: [4, 91, 15]
Generated Node #0,1: 39:[4, 91, 15] Operation: 93-78=15
Exploring Operation: 93-91=2, Resulting Numbers: [4, 78, 2]
Generated Node #0,2: 39:[4, 78, 2] Operation: 93-91=2
Moving to Node #0,2
Current State: 39:[4, 78, 2], Operations: ['93-91=2']
Exploring Operation: 78/2=39, Resulting Numbers: [4, 39]
Generated Node #0,2,0: 39:[4, 39] Operation: 78/2=39
Exploring Operation: 78-4=74, Resulting Numbers: [2, 74]
Generated Node #0,2,1: 39:[2, 74] Operation: 78-4=74
Exploring Operation: 78-2=76, Resulting Numbers: [4, 76]
Generated Node #0,2,2: 39:[4, 76] Operation: 78-2=76
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[4, 39], Operations: ['93-91=2', '78/2=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[2, 74], Operations: ['93-91=2', '78-4=74']
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[4, 76], Operations: ['93-91=2', '78-2=76']
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[4, 93, 13], Operations: ['91-78=13']
Exploring Operation: 93-4=89, Resulting Numbers: [13, 89]
Generated Node #0,0,0: 39:[13, 89] Operation: 93-4=89
Exploring Operation: 93-13=80, Resulting Numbers: [4, 80]
Generated Node #0,0,1: 39:[4, 80] Operation: 93-13=80
Exploring Operation: 4+93=97, Resulting Numbers: [13, 97]
Generated Node #0,0,2: 39:[13, 97] Operation: 4+93=97
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[4, 80], Operations: ['91-78=13', '93-13=80']
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[13, 89], Operations: ['91-78=13', '93-4=89']
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,39 unequal: No Solution
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[13, 97], Operations: ['91-78=13', '4+93=97']
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,39 unequal: No Solution
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,39 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 39:[4, 91, 15], Operations: ['93-78=15']
Exploring Operation: 91-15=76, Resulting Numbers: [4, 76]
Generated Node #0,1,0: 39:[4, 76] Operation: 91-15=76
Exploring Operation: 15-4=11, Resulting Numbers: [91, 11]
Generated Node #0,1,1: 39:[91, 11] Operation: 15-4=11
Exploring Operation: 91-4=87, Resulting Numbers: [15, 87]
Generated Node #0,1,2: 39:[15, 87] Operation: 91-4=87
Moving to Node #0,1,0
Current State: 39:[4, 76], Operations: ['93-78=15', '91-15=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[15, 87], Operations: ['93-78=15', '91-4=87']
Exploring Operation: 15+87=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 15*87=1305, Resulting Numbers: [1305]
1305,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[91, 11], Operations: ['93-78=15', '15-4=11']
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,39 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
5,
70,
58
] | 72 | [
"68-58=10",
"10/5=2",
"70+2=72"
] | Current State: 72:[68, 5, 70, 58], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [5, 70, 10]
Generated Node #2: [5, 70, 10] from Operation: 68-58=10
Current State: 72:[5, 70, 10], Operations: ['68-58=10']
Exploring Operation: 10/5=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 10/5=2
Current State: 72:[70, 2], Operations: ['68-58=10', '10/5=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[68, 5, 70, 58], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [5, 58, 2]
Generated Node #0,0: 72:[5, 58, 2] Operation: 70-68=2
Exploring Operation: 68+5=73, Resulting Numbers: [70, 58, 73]
Generated Node #0,1: 72:[70, 58, 73] Operation: 68+5=73
Exploring Operation: 70-58=12, Resulting Numbers: [68, 5, 12]
Generated Node #0,2: 72:[68, 5, 12] Operation: 70-58=12
Exploring Operation: 68-58=10, Resulting Numbers: [5, 70, 10]
Generated Node #0,3: 72:[5, 70, 10] Operation: 68-58=10
Exploring Operation: 5+58=63, Resulting Numbers: [68, 70, 63]
Generated Node #0,4: 72:[68, 70, 63] Operation: 5+58=63
Moving to Node #0,3
Current State: 72:[5, 70, 10], Operations: ['68-58=10']
Exploring Operation: 70/5=14, Resulting Numbers: [10, 14]
Generated Node #0,3,0: 72:[10, 14] Operation: 70/5=14
Exploring Operation: 5+70=75, Resulting Numbers: [10, 75]
Generated Node #0,3,1: 72:[10, 75] Operation: 5+70=75
Exploring Operation: 70/10=7, Resulting Numbers: [5, 7]
Generated Node #0,3,2: 72:[5, 7] Operation: 70/10=7
Exploring Operation: 10-5=5, Resulting Numbers: [70, 5]
Generated Node #0,3,3: 72:[70, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [70, 2]
Generated Node #0,3,4: 72:[70, 2] Operation: 10/5=2
Moving to Node #0,2
Current State: 72:[68, 5, 12], Operations: ['70-58=12']
Exploring Operation: 12-5=7, Resulting Numbers: [68, 7]
Generated Node #0,2,0: 72:[68, 7] Operation: 12-5=7
Exploring Operation: 68+5=73, Resulting Numbers: [12, 73]
Generated Node #0,2,1: 72:[12, 73] Operation: 68+5=73
Exploring Operation: 5+12=17, Resulting Numbers: [68, 17]
Generated Node #0,2,2: 72:[68, 17] Operation: 5+12=17
Exploring Operation: 68-5=63, Resulting Numbers: [12, 63]
Generated Node #0,2,3: 72:[12, 63] Operation: 68-5=63
Exploring Operation: 68+12=80, Resulting Numbers: [5, 80]
Generated Node #0,2,4: 72:[5, 80] Operation: 68+12=80
Moving to Node #0,0
Current State: 72:[5, 58, 2], Operations: ['70-68=2']
Exploring Operation: 5+2=7, Resulting Numbers: [58, 7]
Generated Node #0,0,0: 72:[58, 7] Operation: 5+2=7
Exploring Operation: 58+2=60, Resulting Numbers: [5, 60]
Generated Node #0,0,1: 72:[5, 60] Operation: 58+2=60
Exploring Operation: 5-2=3, Resulting Numbers: [58, 3]
Generated Node #0,0,2: 72:[58, 3] Operation: 5-2=3
Exploring Operation: 58/2=29, Resulting Numbers: [5, 29]
Generated Node #0,0,3: 72:[5, 29] Operation: 58/2=29
Exploring Operation: 5+58=63, Resulting Numbers: [2, 63]
Generated Node #0,0,4: 72:[2, 63] Operation: 5+58=63
Moving to Node #0,4
Current State: 72:[68, 70, 63], Operations: ['5+58=63']
Exploring Operation: 70-63=7, Resulting Numbers: [68, 7]
Generated Node #0,4,0: 72:[68, 7] Operation: 70-63=7
Exploring Operation: 70+63=133, Resulting Numbers: [68, 133]
Generated Node #0,4,1: 72:[68, 133] Operation: 70+63=133
Exploring Operation: 68+63=131, Resulting Numbers: [70, 131]
Generated Node #0,4,2: 72:[70, 131] Operation: 68+63=131
Exploring Operation: 70-68=2, Resulting Numbers: [63, 2]
Generated Node #0,4,3: 72:[63, 2] Operation: 70-68=2
Exploring Operation: 68-63=5, Resulting Numbers: [70, 5]
Generated Node #0,4,4: 72:[70, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 72:[70, 5], Operations: ['5+58=63', '68-63=5']
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 70*5=350, Resulting Numbers: [350]
350,72 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 72:[68, 7], Operations: ['5+58=63', '70-63=7']
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,72 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 72:[63, 2], Operations: ['5+58=63', '70-68=2']
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,72 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 72:[70, 131], Operations: ['5+58=63', '68+63=131']
Exploring Operation: 131-70=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 70*131=9170, Resulting Numbers: [9170]
9170,72 unequal: No Solution
Exploring Operation: 70+131=201, Resulting Numbers: [201]
201,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 72:[68, 133], Operations: ['5+58=63', '70+63=133']
Exploring Operation: 133-68=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 68+133=201, Resulting Numbers: [201]
201,72 unequal: No Solution
Exploring Operation: 68*133=9044, Resulting Numbers: [9044]
9044,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 72:[70, 58, 73], Operations: ['68+5=73']
Exploring Operation: 58+73=131, Resulting Numbers: [70, 131]
Generated Node #0,1,0: 72:[70, 131] Operation: 58+73=131
Exploring Operation: 73-58=15, Resulting Numbers: [70, 15]
Generated Node #0,1,1: 72:[70, 15] Operation: 73-58=15
Exploring Operation: 70+58=128, Resulting Numbers: [73, 128]
Generated Node #0,1,2: 72:[73, 128] Operation: 70+58=128
Exploring Operation: 73-70=3, Resulting Numbers: [58, 3]
Generated Node #0,1,3: 72:[58, 3] Operation: 73-70=3
Exploring Operation: 70-58=12, Resulting Numbers: [73, 12]
Generated Node #0,1,4: 72:[73, 12] Operation: 70-58=12
Moving to Node #0,2,1
Current State: 72:[12, 73], Operations: ['70-58=12', '68+5=73']
Exploring Operation: 12*73=876, Resulting Numbers: [876]
876,72 unequal: No Solution
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[73, 12], Operations: ['68+5=73', '70-58=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,72 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[5, 7], Operations: ['68-58=10', '70/10=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[70, 2], Operations: ['68-58=10', '10/5=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[68, 5, 70, 58], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [5, 70, 10]
Generated Node #0,3: 72:[5, 70, 10] Operation: 68-58=10
Moving to Node #0,3
Current State: 72:[5, 70, 10], Operations: ['68-58=10']
Exploring Operation: 10/5=2, Resulting Numbers: [70, 2]
Generated Node #0,3,4: 72:[70, 2] Operation: 10/5=2
Moving to Node #0,3,4
Current State: 72:[70, 2], Operations: ['68-58=10', '10/5=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.947049 | hs_5 | mult_heuristic |
[
56,
96,
30,
58
] | 98 | [
"58-30=28",
"56/28=2",
"96+2=98"
] | Current State: 98:[56, 96, 30, 58], Operations: []
Exploring Operation: 58-30=28, Resulting Numbers: [56, 96, 28]
Generated Node #2: [56, 96, 28] from Operation: 58-30=28
Current State: 98:[56, 96, 28], Operations: ['58-30=28']
Exploring Operation: 56/28=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 56/28=2
Current State: 98:[96, 2], Operations: ['58-30=28', '56/28=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[56, 96, 30, 58], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [96, 30, 2]
Generated Node #0,0: 98:[96, 30, 2] Operation: 58-56=2
Moving to Node #0,0
Current State: 98:[96, 30, 2], Operations: ['58-56=2']
Exploring Operation: 30/2=15, Resulting Numbers: [96, 15]
Generated Node #0,0,0: 98:[96, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[96, 15], Operations: ['58-56=2', '30/2=15']
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
38,
6,
67
] | 97 | [
"38-33=5",
"6*5=30",
"67+30=97"
] | Current State: 97:[33, 38, 6, 67], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [6, 67, 5]
Generated Node #2: [6, 67, 5] from Operation: 38-33=5
Current State: 97:[6, 67, 5], Operations: ['38-33=5']
Exploring Operation: 6*5=30, Resulting Numbers: [67, 30]
Generated Node #3: [67, 30] from Operation: 6*5=30
Current State: 97:[67, 30], Operations: ['38-33=5', '6*5=30']
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[33, 38, 6, 67], Operations: []
Exploring Operation: 38+6=44, Resulting Numbers: [33, 67, 44]
Generated Node #0,0: 97:[33, 67, 44] Operation: 38+6=44
Exploring Operation: 33+38=71, Resulting Numbers: [6, 67, 71]
Generated Node #0,1: 97:[6, 67, 71] Operation: 33+38=71
Exploring Operation: 33+6=39, Resulting Numbers: [38, 67, 39]
Generated Node #0,2: 97:[38, 67, 39] Operation: 33+6=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[33, 67, 44], Operations: ['38+6=44']
Exploring Operation: 33+67=100, Resulting Numbers: [44, 100]
Generated Node #0,0,0: 97:[44, 100] Operation: 33+67=100
Exploring Operation: 67+44=111, Resulting Numbers: [33, 111]
Generated Node #0,0,1: 97:[33, 111] Operation: 67+44=111
Exploring Operation: 33+44=77, Resulting Numbers: [67, 77]
Generated Node #0,0,2: 97:[67, 77] Operation: 33+44=77
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[67, 77], Operations: ['38+6=44', '33+44=77']
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[44, 100], Operations: ['38+6=44', '33+67=100']
Exploring Operation: 44*100=4400, Resulting Numbers: [4400]
4400,97 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[33, 111], Operations: ['38+6=44', '67+44=111']
Exploring Operation: 111-33=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 33*111=3663, Resulting Numbers: [3663]
3663,97 unequal: No Solution
Exploring Operation: 33+111=144, Resulting Numbers: [144]
144,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[6, 67, 71], Operations: ['33+38=71']
Exploring Operation: 6+71=77, Resulting Numbers: [67, 77]
Generated Node #0,1,0: 97:[67, 77] Operation: 6+71=77
Exploring Operation: 67-6=61, Resulting Numbers: [71, 61]
Generated Node #0,1,1: 97:[71, 61] Operation: 67-6=61
Exploring Operation: 6+67=73, Resulting Numbers: [71, 73]
Generated Node #0,1,2: 97:[71, 73] Operation: 6+67=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[67, 77], Operations: ['33+38=71', '6+71=77']
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,97 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[71, 73], Operations: ['33+38=71', '6+67=73']
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 71+73=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 71*73=5183, Resulting Numbers: [5183]
5183,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[71, 61], Operations: ['33+38=71', '67-6=61']
Exploring Operation: 71+61=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 71*61=4331, Resulting Numbers: [4331]
4331,97 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[38, 67, 39], Operations: ['33+6=39']
Exploring Operation: 67+39=106, Resulting Numbers: [38, 106]
Generated Node #0,2,0: 97:[38, 106] Operation: 67+39=106
Exploring Operation: 38+67=105, Resulting Numbers: [39, 105]
Generated Node #0,2,1: 97:[39, 105] Operation: 38+67=105
Exploring Operation: 38+39=77, Resulting Numbers: [67, 77]
Generated Node #0,2,2: 97:[67, 77] Operation: 38+39=77
Moving to Node #0,2,2
Current State: 97:[67, 77], Operations: ['33+6=39', '38+39=77']
Exploring Operation: 67*77=5159, Resulting Numbers: [5159]
5159,97 unequal: No Solution
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 67+77=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[39, 105], Operations: ['33+6=39', '38+67=105']
Exploring Operation: 39*105=4095, Resulting Numbers: [4095]
4095,97 unequal: No Solution
Exploring Operation: 105-39=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 39+105=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[38, 106], Operations: ['33+6=39', '67+39=106']
Exploring Operation: 38*106=4028, Resulting Numbers: [4028]
4028,97 unequal: No Solution
Exploring Operation: 38+106=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 106-38=68, Resulting Numbers: [68]
68,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
47,
26,
27,
24
] | 18 | [
"47-26=21",
"27-24=3",
"21-3=18"
] | Current State: 18:[47, 26, 27, 24], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [27, 24, 21]
Generated Node #2: [27, 24, 21] from Operation: 47-26=21
Current State: 18:[27, 24, 21], Operations: ['47-26=21']
Exploring Operation: 27-24=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 27-24=3
Current State: 18:[21, 3], Operations: ['47-26=21', '27-24=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[47, 26, 27, 24], Operations: []
Exploring Operation: 27-26=1, Resulting Numbers: [47, 24, 1]
Generated Node #0,0: 18:[47, 24, 1] Operation: 27-26=1
Exploring Operation: 47-24=23, Resulting Numbers: [26, 27, 23]
Generated Node #0,1: 18:[26, 27, 23] Operation: 47-24=23
Exploring Operation: 47-27=20, Resulting Numbers: [26, 24, 20]
Generated Node #0,2: 18:[26, 24, 20] Operation: 47-27=20
Exploring Operation: 47-26=21, Resulting Numbers: [27, 24, 21]
Generated Node #0,3: 18:[27, 24, 21] Operation: 47-26=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[26, 24, 20], Operations: ['47-27=20']
Exploring Operation: 26+24=50, Resulting Numbers: [20, 50]
Generated Node #0,2,0: 18:[20, 50] Operation: 26+24=50
Exploring Operation: 26-20=6, Resulting Numbers: [24, 6]
Generated Node #0,2,1: 18:[24, 6] Operation: 26-20=6
Exploring Operation: 26-24=2, Resulting Numbers: [20, 2]
Generated Node #0,2,2: 18:[20, 2] Operation: 26-24=2
Exploring Operation: 24-20=4, Resulting Numbers: [26, 4]
Generated Node #0,2,3: 18:[26, 4] Operation: 24-20=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[20, 2], Operations: ['47-27=20', '26-24=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[47, 26, 27, 24], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [26, 24, 20]
Generated Node #0,2: 18:[26, 24, 20] Operation: 47-27=20
Moving to Node #0,2
Current State: 18:[26, 24, 20], Operations: ['47-27=20']
Exploring Operation: 26-24=2, Resulting Numbers: [20, 2]
Generated Node #0,2,2: 18:[20, 2] Operation: 26-24=2
Moving to Node #0,2,2
Current State: 18:[20, 2], Operations: ['47-27=20', '26-24=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
19,
97,
15,
18
] | 40 | [
"18-15=3",
"19*3=57",
"97-57=40"
] | Current State: 40:[19, 97, 15, 18], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [19, 97, 3]
Generated Node #2: [19, 97, 3] from Operation: 18-15=3
Current State: 40:[19, 97, 3], Operations: ['18-15=3']
Exploring Operation: 19*3=57, Resulting Numbers: [97, 57]
Generated Node #3: [97, 57] from Operation: 19*3=57
Current State: 40:[97, 57], Operations: ['18-15=3', '19*3=57']
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[19, 97, 15, 18], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [97, 18, 4]
Generated Node #0,0: 40:[97, 18, 4] Operation: 19-15=4
Exploring Operation: 97-15=82, Resulting Numbers: [19, 18, 82]
Generated Node #0,1: 40:[19, 18, 82] Operation: 97-15=82
Exploring Operation: 97-19=78, Resulting Numbers: [15, 18, 78]
Generated Node #0,2: 40:[15, 18, 78] Operation: 97-19=78
Exploring Operation: 97-18=79, Resulting Numbers: [19, 15, 79]
Generated Node #0,3: 40:[19, 15, 79] Operation: 97-18=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[19, 18, 82], Operations: ['97-15=82']
Exploring Operation: 82-19=63, Resulting Numbers: [18, 63]
Generated Node #0,1,0: 40:[18, 63] Operation: 82-19=63
Exploring Operation: 82-18=64, Resulting Numbers: [19, 64]
Generated Node #0,1,1: 40:[19, 64] Operation: 82-18=64
Exploring Operation: 19+18=37, Resulting Numbers: [82, 37]
Generated Node #0,1,2: 40:[82, 37] Operation: 19+18=37
Exploring Operation: 19-18=1, Resulting Numbers: [82, 1]
Generated Node #0,1,3: 40:[82, 1] Operation: 19-18=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[18, 63], Operations: ['97-15=82', '82-19=63']
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,40 unequal: No Solution
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[19, 64], Operations: ['97-15=82', '82-18=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,40 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,40 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 40:[82, 1], Operations: ['97-15=82', '19-18=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[82, 37], Operations: ['97-15=82', '19+18=37']
Exploring Operation: 82+37=119, Resulting Numbers: [119]
119,40 unequal: No Solution
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 82*37=3034, Resulting Numbers: [3034]
3034,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[15, 18, 78], Operations: ['97-19=78']
Exploring Operation: 78-18=60, Resulting Numbers: [15, 60]
Generated Node #0,2,0: 40:[15, 60] Operation: 78-18=60
Exploring Operation: 15+18=33, Resulting Numbers: [78, 33]
Generated Node #0,2,1: 40:[78, 33] Operation: 15+18=33
Exploring Operation: 18-15=3, Resulting Numbers: [78, 3]
Generated Node #0,2,2: 40:[78, 3] Operation: 18-15=3
Exploring Operation: 78-15=63, Resulting Numbers: [18, 63]
Generated Node #0,2,3: 40:[18, 63] Operation: 78-15=63
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[15, 60], Operations: ['97-19=78', '78-18=60']
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,40 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 40:[18, 63], Operations: ['97-19=78', '78-15=63']
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[78, 3], Operations: ['97-19=78', '18-15=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,40 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[78, 33], Operations: ['97-19=78', '15+18=33']
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,40 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[19, 15, 79], Operations: ['97-18=79']
Exploring Operation: 19+15=34, Resulting Numbers: [79, 34]
Generated Node #0,3,0: 40:[79, 34] Operation: 19+15=34
Exploring Operation: 79-19=60, Resulting Numbers: [15, 60]
Generated Node #0,3,1: 40:[15, 60] Operation: 79-19=60
Exploring Operation: 19-15=4, Resulting Numbers: [79, 4]
Generated Node #0,3,2: 40:[79, 4] Operation: 19-15=4
Exploring Operation: 79-15=64, Resulting Numbers: [19, 64]
Generated Node #0,3,3: 40:[19, 64] Operation: 79-15=64
Moving to Node #0,3,1
Current State: 40:[15, 60], Operations: ['97-18=79', '79-19=60']
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,40 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[19, 64], Operations: ['97-18=79', '79-15=64']
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,40 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,40 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[79, 4], Operations: ['97-18=79', '19-15=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,40 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[79, 34], Operations: ['97-18=79', '19+15=34']
Exploring Operation: 79+34=113, Resulting Numbers: [113]
113,40 unequal: No Solution
Exploring Operation: 79*34=2686, Resulting Numbers: [2686]
2686,40 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[97, 18, 4], Operations: ['19-15=4']
Exploring Operation: 97-18=79, Resulting Numbers: [4, 79]
Generated Node #0,0,0: 40:[4, 79] Operation: 97-18=79
Exploring Operation: 97-4=93, Resulting Numbers: [18, 93]
Generated Node #0,0,1: 40:[18, 93] Operation: 97-4=93
Exploring Operation: 18-4=14, Resulting Numbers: [97, 14]
Generated Node #0,0,2: 40:[97, 14] Operation: 18-4=14
Exploring Operation: 18+4=22, Resulting Numbers: [97, 22]
Generated Node #0,0,3: 40:[97, 22] Operation: 18+4=22
Moving to Node #0,0,0
Current State: 40:[4, 79], Operations: ['19-15=4', '97-18=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,40 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,40 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[18, 93], Operations: ['19-15=4', '97-4=93']
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,40 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,40 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[97, 22], Operations: ['19-15=4', '18+4=22']
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,40 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,40 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[97, 14], Operations: ['19-15=4', '18-4=14']
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,40 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,40 unequal: No Solution
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
95,
85,
53
] | 36 | [
"79+95=174",
"85+53=138",
"174-138=36"
] | Current State: 36:[79, 95, 85, 53], Operations: []
Exploring Operation: 79+95=174, Resulting Numbers: [85, 53, 174]
Generated Node #2: [85, 53, 174] from Operation: 79+95=174
Current State: 36:[85, 53, 174], Operations: ['79+95=174']
Exploring Operation: 85+53=138, Resulting Numbers: [174, 138]
Generated Node #3: [174, 138] from Operation: 85+53=138
Current State: 36:[174, 138], Operations: ['79+95=174', '85+53=138']
Exploring Operation: 174-138=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[79, 95, 85, 53], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [79, 53, 10]
Generated Node #0,0: 36:[79, 53, 10] Operation: 95-85=10
Exploring Operation: 95-79=16, Resulting Numbers: [85, 53, 16]
Generated Node #0,1: 36:[85, 53, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 36:[79, 53, 10], Operations: ['95-85=10']
Exploring Operation: 79-53=26, Resulting Numbers: [10, 26]
Generated Node #0,0,0: 36:[10, 26] Operation: 79-53=26
Exploring Operation: 79-10=69, Resulting Numbers: [53, 69]
Generated Node #0,0,1: 36:[53, 69] Operation: 79-10=69
Moving to Node #0,1
Current State: 36:[85, 53, 16], Operations: ['95-79=16']
Exploring Operation: 85-53=32, Resulting Numbers: [16, 32]
Generated Node #0,1,0: 36:[16, 32] Operation: 85-53=32
Exploring Operation: 85-16=69, Resulting Numbers: [53, 69]
Generated Node #0,1,1: 36:[53, 69] Operation: 85-16=69
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[16, 32], Operations: ['95-79=16', '85-53=32']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[53, 69], Operations: ['95-79=16', '85-16=69']
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,36 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 36:[10, 26], Operations: ['95-85=10', '79-53=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[79, 95, 85, 53], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [79, 53, 10]
Generated Node #0,0: 36:[79, 53, 10] Operation: 95-85=10
Moving to Node #0,0
Current State: 36:[79, 53, 10], Operations: ['95-85=10']
Exploring Operation: 79-53=26, Resulting Numbers: [10, 26]
Generated Node #0,0,0: 36:[10, 26] Operation: 79-53=26
Moving to Node #0,0,0
Current State: 36:[10, 26], Operations: ['95-85=10', '79-53=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
11,
6,
30,
15
] | 16 | [
"11*30=330",
"330/15=22",
"22-6=16"
] | Current State: 16:[11, 6, 30, 15], Operations: []
Exploring Operation: 11*30=330, Resulting Numbers: [6, 15, 330]
Generated Node #2: [6, 15, 330] from Operation: 11*30=330
Current State: 16:[6, 15, 330], Operations: ['11*30=330']
Exploring Operation: 330/15=22, Resulting Numbers: [6, 22]
Generated Node #3: [6, 22] from Operation: 330/15=22
Current State: 16:[6, 22], Operations: ['11*30=330', '330/15=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[11, 6, 30, 15], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [11, 15, 5]
Generated Node #0,0: 16:[11, 15, 5] Operation: 30/6=5
Exploring Operation: 30/15=2, Resulting Numbers: [11, 6, 2]
Generated Node #0,1: 16:[11, 6, 2] Operation: 30/15=2
Exploring Operation: 30-11=19, Resulting Numbers: [6, 15, 19]
Generated Node #0,2: 16:[6, 15, 19] Operation: 30-11=19
Moving to Node #0,0
Current State: 16:[11, 15, 5], Operations: ['30/6=5']
Exploring Operation: 11-5=6, Resulting Numbers: [15, 6]
Generated Node #0,0,0: 16:[15, 6] Operation: 11-5=6
Exploring Operation: 11+5=16, Resulting Numbers: [15, 16]
Generated Node #0,0,1: 16:[15, 16] Operation: 11+5=16
Exploring Operation: 15-11=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 16:[5, 4] Operation: 15-11=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[15, 16], Operations: ['30/6=5', '11+5=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[5, 4], Operations: ['30/6=5', '15-11=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[15, 6], Operations: ['30/6=5', '11-5=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[11, 6, 2], Operations: ['30/15=2']
Exploring Operation: 11-2=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 16:[6, 9] Operation: 11-2=9
Exploring Operation: 11-6=5, Resulting Numbers: [2, 5]
Generated Node #0,1,1: 16:[2, 5] Operation: 11-6=5
Exploring Operation: 11+6=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 16:[2, 17] Operation: 11+6=17
Moving to Node #0,2
Current State: 16:[6, 15, 19], Operations: ['30-11=19']
Exploring Operation: 19-15=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 16:[6, 4] Operation: 19-15=4
Exploring Operation: 19-6=13, Resulting Numbers: [15, 13]
Generated Node #0,2,1: 16:[15, 13] Operation: 19-6=13
Exploring Operation: 15-6=9, Resulting Numbers: [19, 9]
Generated Node #0,2,2: 16:[19, 9] Operation: 15-6=9
Moving to Node #0,1,1
Current State: 16:[2, 5], Operations: ['30/15=2', '11-6=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[2, 17], Operations: ['30/15=2', '11+6=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[6, 4], Operations: ['30-11=19', '19-15=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[6, 9], Operations: ['30/15=2', '11-2=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[19, 9], Operations: ['30-11=19', '15-6=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[15, 13], Operations: ['30-11=19', '19-6=13']
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,16 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,16 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
56,
51,
4
] | 65 | [
"51-15=36",
"36/4=9",
"56+9=65"
] | Current State: 65:[15, 56, 51, 4], Operations: []
Exploring Operation: 51-15=36, Resulting Numbers: [56, 4, 36]
Generated Node #2: [56, 4, 36] from Operation: 51-15=36
Current State: 65:[56, 4, 36], Operations: ['51-15=36']
Exploring Operation: 36/4=9, Resulting Numbers: [56, 9]
Generated Node #3: [56, 9] from Operation: 36/4=9
Current State: 65:[56, 9], Operations: ['51-15=36', '36/4=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[15, 56, 51, 4], Operations: []
Exploring Operation: 15+56=71, Resulting Numbers: [51, 4, 71]
Generated Node #0,0: 65:[51, 4, 71] Operation: 15+56=71
Exploring Operation: 56+4=60, Resulting Numbers: [15, 51, 60]
Generated Node #0,1: 65:[15, 51, 60] Operation: 56+4=60
Exploring Operation: 15+51=66, Resulting Numbers: [56, 4, 66]
Generated Node #0,2: 65:[56, 4, 66] Operation: 15+51=66
Exploring Operation: 56/4=14, Resulting Numbers: [15, 51, 14]
Generated Node #0,3: 65:[15, 51, 14] Operation: 56/4=14
Exploring Operation: 56-51=5, Resulting Numbers: [15, 4, 5]
Generated Node #0,4: 65:[15, 4, 5] Operation: 56-51=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[15, 4, 5], Operations: ['56-51=5']
Exploring Operation: 15-5=10, Resulting Numbers: [4, 10]
Generated Node #0,4,0: 65:[4, 10] Operation: 15-5=10
Exploring Operation: 15+4=19, Resulting Numbers: [5, 19]
Generated Node #0,4,1: 65:[5, 19] Operation: 15+4=19
Exploring Operation: 15-4=11, Resulting Numbers: [5, 11]
Generated Node #0,4,2: 65:[5, 11] Operation: 15-4=11
Exploring Operation: 15/5=3, Resulting Numbers: [4, 3]
Generated Node #0,4,3: 65:[4, 3] Operation: 15/5=3
Exploring Operation: 15*4=60, Resulting Numbers: [5, 60]
Generated Node #0,4,4: 65:[5, 60] Operation: 15*4=60
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 65:[5, 11], Operations: ['56-51=5', '15-4=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 65:[4, 3], Operations: ['56-51=5', '15/5=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 65:[4, 10], Operations: ['56-51=5', '15-5=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 65:[5, 60], Operations: ['56-51=5', '15*4=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[15, 56, 51, 4], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [15, 4, 5]
Generated Node #0,4: 65:[15, 4, 5] Operation: 56-51=5
Moving to Node #0,4
Current State: 65:[15, 4, 5], Operations: ['56-51=5']
Exploring Operation: 15*4=60, Resulting Numbers: [5, 60]
Generated Node #0,4,4: 65:[5, 60] Operation: 15*4=60
Moving to Node #0,4,4
Current State: 65:[5, 60], Operations: ['56-51=5', '15*4=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
67,
39,
25,
80
] | 51 | [
"67+39=106",
"80-25=55",
"106-55=51"
] | Current State: 51:[67, 39, 25, 80], Operations: []
Exploring Operation: 67+39=106, Resulting Numbers: [25, 80, 106]
Generated Node #2: [25, 80, 106] from Operation: 67+39=106
Current State: 51:[25, 80, 106], Operations: ['67+39=106']
Exploring Operation: 80-25=55, Resulting Numbers: [106, 55]
Generated Node #3: [106, 55] from Operation: 80-25=55
Current State: 51:[106, 55], Operations: ['67+39=106', '80-25=55']
Exploring Operation: 106-55=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[67, 39, 25, 80], Operations: []
Exploring Operation: 80-67=13, Resulting Numbers: [39, 25, 13]
Generated Node #0,0: 51:[39, 25, 13] Operation: 80-67=13
Exploring Operation: 80-25=55, Resulting Numbers: [67, 39, 55]
Generated Node #0,1: 51:[67, 39, 55] Operation: 80-25=55
Exploring Operation: 80-39=41, Resulting Numbers: [67, 25, 41]
Generated Node #0,2: 51:[67, 25, 41] Operation: 80-39=41
Exploring Operation: 67-39=28, Resulting Numbers: [25, 80, 28]
Generated Node #0,3: 51:[25, 80, 28] Operation: 67-39=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[39, 25, 13], Operations: ['80-67=13']
Exploring Operation: 39+13=52, Resulting Numbers: [25, 52]
Generated Node #0,0,0: 51:[25, 52] Operation: 39+13=52
Exploring Operation: 39+25=64, Resulting Numbers: [13, 64]
Generated Node #0,0,1: 51:[13, 64] Operation: 39+25=64
Exploring Operation: 39/13=3, Resulting Numbers: [25, 3]
Generated Node #0,0,2: 51:[25, 3] Operation: 39/13=3
Exploring Operation: 39-25=14, Resulting Numbers: [13, 14]
Generated Node #0,0,3: 51:[13, 14] Operation: 39-25=14
Moving to Node #0,0,3
Current State: 51:[13, 14], Operations: ['80-67=13', '39-25=14']
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,51 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[25, 3], Operations: ['80-67=13', '39/13=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[25, 52], Operations: ['80-67=13', '39+13=52']
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[13, 64], Operations: ['80-67=13', '39+25=64']
Exploring Operation: 13*64=832, Resulting Numbers: [832]
832,51 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[67, 39, 25, 80], Operations: []
Exploring Operation: 80-67=13, Resulting Numbers: [39, 25, 13]
Generated Node #0,0: 51:[39, 25, 13] Operation: 80-67=13
Moving to Node #0,0
Current State: 51:[39, 25, 13], Operations: ['80-67=13']
Exploring Operation: 39+25=64, Resulting Numbers: [13, 64]
Generated Node #0,0,1: 51:[13, 64] Operation: 39+25=64
Moving to Node #0,0,1
Current State: 51:[13, 64], Operations: ['80-67=13', '39+25=64']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
28,
29,
18,
26
] | 87 | [
"28+26=54",
"29*54=1566",
"1566/18=87"
] | Current State: 87:[28, 29, 18, 26], Operations: []
Exploring Operation: 28+26=54, Resulting Numbers: [29, 18, 54]
Generated Node #2: [29, 18, 54] from Operation: 28+26=54
Current State: 87:[29, 18, 54], Operations: ['28+26=54']
Exploring Operation: 29*54=1566, Resulting Numbers: [18, 1566]
Generated Node #3: [18, 1566] from Operation: 29*54=1566
Current State: 87:[18, 1566], Operations: ['28+26=54', '29*54=1566']
Exploring Operation: 1566/18=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[28, 29, 18, 26], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [29, 18, 2]
Generated Node #0,0: 87:[29, 18, 2] Operation: 28-26=2
Exploring Operation: 26-18=8, Resulting Numbers: [28, 29, 8]
Generated Node #0,1: 87:[28, 29, 8] Operation: 26-18=8
Exploring Operation: 28-18=10, Resulting Numbers: [29, 26, 10]
Generated Node #0,2: 87:[29, 26, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[28, 29, 8], Operations: ['26-18=8']
Exploring Operation: 28+8=36, Resulting Numbers: [29, 36]
Generated Node #0,1,0: 87:[29, 36] Operation: 28+8=36
Exploring Operation: 28-8=20, Resulting Numbers: [29, 20]
Generated Node #0,1,1: 87:[29, 20] Operation: 28-8=20
Exploring Operation: 29-28=1, Resulting Numbers: [8, 1]
Generated Node #0,1,2: 87:[8, 1] Operation: 29-28=1
Moving to Node #0,1,0
Current State: 87:[29, 36], Operations: ['26-18=8', '28+8=36']
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,87 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[8, 1], Operations: ['26-18=8', '29-28=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[29, 20], Operations: ['26-18=8', '28-8=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,87 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[29, 26, 10], Operations: ['28-18=10']
Exploring Operation: 29-26=3, Resulting Numbers: [10, 3]
Generated Node #0,2,0: 87:[10, 3] Operation: 29-26=3
Exploring Operation: 26+10=36, Resulting Numbers: [29, 36]
Generated Node #0,2,1: 87:[29, 36] Operation: 26+10=36
Exploring Operation: 29+10=39, Resulting Numbers: [26, 39]
Generated Node #0,2,2: 87:[26, 39] Operation: 29+10=39
Moving to Node #0,2,0
Current State: 87:[10, 3], Operations: ['28-18=10', '29-26=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[29, 36], Operations: ['28-18=10', '26+10=36']
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,87 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[26, 39], Operations: ['28-18=10', '29+10=39']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,87 unequal: No Solution
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[29, 18, 2], Operations: ['28-26=2']
Exploring Operation: 29-18=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 87:[2, 11] Operation: 29-18=11
Exploring Operation: 18/2=9, Resulting Numbers: [29, 9]
Generated Node #0,0,1: 87:[29, 9] Operation: 18/2=9
Exploring Operation: 18*2=36, Resulting Numbers: [29, 36]
Generated Node #0,0,2: 87:[29, 36] Operation: 18*2=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[29, 9], Operations: ['28-26=2', '18/2=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,87 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,87 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[29, 36], Operations: ['28-26=2', '18*2=36']
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[2, 11], Operations: ['28-26=2', '29-18=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
63,
64,
1
] | 66 | [
"63/21=3",
"64-1=63",
"3+63=66"
] | Current State: 66:[21, 63, 64, 1], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [64, 1, 3]
Generated Node #2: [64, 1, 3] from Operation: 63/21=3
Current State: 66:[64, 1, 3], Operations: ['63/21=3']
Exploring Operation: 64-1=63, Resulting Numbers: [3, 63]
Generated Node #3: [3, 63] from Operation: 64-1=63
Current State: 66:[3, 63], Operations: ['63/21=3', '64-1=63']
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[21, 63, 64, 1], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [64, 1, 3]
Generated Node #0,0: 66:[64, 1, 3] Operation: 63/21=3
Exploring Operation: 63+1=64, Resulting Numbers: [21, 64, 64]
Generated Node #0,1: 66:[21, 64, 64] Operation: 63+1=64
Exploring Operation: 64-63=1, Resulting Numbers: [21, 1, 1]
Generated Node #0,2: 66:[21, 1, 1] Operation: 64-63=1
Exploring Operation: 21+1=22, Resulting Numbers: [63, 64, 22]
Generated Node #0,3: 66:[63, 64, 22] Operation: 21+1=22
Exploring Operation: 64+1=65, Resulting Numbers: [21, 63, 65]
Generated Node #0,4: 66:[21, 63, 65] Operation: 64+1=65
Moving to Node #0,0
Current State: 66:[64, 1, 3], Operations: ['63/21=3']
Exploring Operation: 64+3=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 66:[1, 67] Operation: 64+3=67
Exploring Operation: 1*3=3, Resulting Numbers: [64, 3]
Generated Node #0,0,1: 66:[64, 3] Operation: 1*3=3
Exploring Operation: 64*1=64, Resulting Numbers: [3, 64]
Generated Node #0,0,2: 66:[3, 64] Operation: 64*1=64
Exploring Operation: 64/1=64, Resulting Numbers: [3, 64]
Generated Node #0,0,3: 66:[3, 64] Operation: 64/1=64
Exploring Operation: 64+1=65, Resulting Numbers: [3, 65]
Generated Node #0,0,4: 66:[3, 65] Operation: 64+1=65
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[3, 65], Operations: ['63/21=3', '64+1=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,66 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[1, 67], Operations: ['63/21=3', '64+3=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[21, 63, 64, 1], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [64, 1, 3]
Generated Node #0,0: 66:[64, 1, 3] Operation: 63/21=3
Moving to Node #0,0
Current State: 66:[64, 1, 3], Operations: ['63/21=3']
Exploring Operation: 64+3=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 66:[1, 67] Operation: 64+3=67
Moving to Node #0,0,0
Current State: 66:[1, 67], Operations: ['63/21=3', '64+3=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
26,
73,
15,
4
] | 88 | [
"26+73=99",
"15-4=11",
"99-11=88"
] | Current State: 88:[26, 73, 15, 4], Operations: []
Exploring Operation: 26+73=99, Resulting Numbers: [15, 4, 99]
Generated Node #2: [15, 4, 99] from Operation: 26+73=99
Current State: 88:[15, 4, 99], Operations: ['26+73=99']
Exploring Operation: 15-4=11, Resulting Numbers: [99, 11]
Generated Node #3: [99, 11] from Operation: 15-4=11
Current State: 88:[99, 11], Operations: ['26+73=99', '15-4=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[26, 73, 15, 4], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [73, 4, 11]
Generated Node #0,0: 88:[73, 4, 11] Operation: 26-15=11
Exploring Operation: 73+15=88, Resulting Numbers: [26, 4, 88]
Generated Node #0,1: 88:[26, 4, 88] Operation: 73+15=88
Exploring Operation: 73-26=47, Resulting Numbers: [15, 4, 47]
Generated Node #0,2: 88:[15, 4, 47] Operation: 73-26=47
Exploring Operation: 26+73=99, Resulting Numbers: [15, 4, 99]
Generated Node #0,3: 88:[15, 4, 99] Operation: 26+73=99
Moving to Node #0,1
Current State: 88:[26, 4, 88], Operations: ['73+15=88']
Exploring Operation: 88/4=22, Resulting Numbers: [26, 22]
Generated Node #0,1,0: 88:[26, 22] Operation: 88/4=22
Exploring Operation: 26-4=22, Resulting Numbers: [88, 22]
Generated Node #0,1,1: 88:[88, 22] Operation: 26-4=22
Exploring Operation: 4+88=92, Resulting Numbers: [26, 92]
Generated Node #0,1,2: 88:[26, 92] Operation: 4+88=92
Exploring Operation: 26+4=30, Resulting Numbers: [88, 30]
Generated Node #0,1,3: 88:[88, 30] Operation: 26+4=30
Moving to Node #0,2
Current State: 88:[15, 4, 47], Operations: ['73-26=47']
Exploring Operation: 47-15=32, Resulting Numbers: [4, 32]
Generated Node #0,2,0: 88:[4, 32] Operation: 47-15=32
Exploring Operation: 47-4=43, Resulting Numbers: [15, 43]
Generated Node #0,2,1: 88:[15, 43] Operation: 47-4=43
Exploring Operation: 15+4=19, Resulting Numbers: [47, 19]
Generated Node #0,2,2: 88:[47, 19] Operation: 15+4=19
Exploring Operation: 15-4=11, Resulting Numbers: [47, 11]
Generated Node #0,2,3: 88:[47, 11] Operation: 15-4=11
Moving to Node #0,3
Current State: 88:[15, 4, 99], Operations: ['26+73=99']
Exploring Operation: 15-4=11, Resulting Numbers: [99, 11]
Generated Node #0,3,0: 88:[99, 11] Operation: 15-4=11
Exploring Operation: 99-15=84, Resulting Numbers: [4, 84]
Generated Node #0,3,1: 88:[4, 84] Operation: 99-15=84
Exploring Operation: 15+4=19, Resulting Numbers: [99, 19]
Generated Node #0,3,2: 88:[99, 19] Operation: 15+4=19
Exploring Operation: 99-4=95, Resulting Numbers: [15, 95]
Generated Node #0,3,3: 88:[15, 95] Operation: 99-4=95
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[4, 84], Operations: ['26+73=99', '99-15=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 4*84=336, Resulting Numbers: [336]
336,88 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[26, 73, 15, 4], Operations: []
Exploring Operation: 26+73=99, Resulting Numbers: [15, 4, 99]
Generated Node #0,3: 88:[15, 4, 99] Operation: 26+73=99
Moving to Node #0,3
Current State: 88:[15, 4, 99], Operations: ['26+73=99']
Exploring Operation: 99-15=84, Resulting Numbers: [4, 84]
Generated Node #0,3,1: 88:[4, 84] Operation: 99-15=84
Moving to Node #0,3,1
Current State: 88:[4, 84], Operations: ['26+73=99', '99-15=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
2,
79,
56,
32
] | 41 | [
"2*32=64",
"79-56=23",
"64-23=41"
] | Current State: 41:[2, 79, 56, 32], Operations: []
Exploring Operation: 2*32=64, Resulting Numbers: [79, 56, 64]
Generated Node #2: [79, 56, 64] from Operation: 2*32=64
Current State: 41:[79, 56, 64], Operations: ['2*32=64']
Exploring Operation: 79-56=23, Resulting Numbers: [64, 23]
Generated Node #3: [64, 23] from Operation: 79-56=23
Current State: 41:[64, 23], Operations: ['2*32=64', '79-56=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 79, 56, 32], Operations: []
Exploring Operation: 79-2=77, Resulting Numbers: [56, 32, 77]
Generated Node #0,0: 41:[56, 32, 77] Operation: 79-2=77
Moving to Node #0,0
Current State: 41:[56, 32, 77], Operations: ['79-2=77']
Exploring Operation: 77-32=45, Resulting Numbers: [56, 45]
Generated Node #0,0,0: 41:[56, 45] Operation: 77-32=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[56, 45], Operations: ['79-2=77', '77-32=45']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
56,
73,
66
] | 49 | [
"73-66=7",
"56/7=8",
"41+8=49"
] | Current State: 49:[41, 56, 73, 66], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [41, 56, 7]
Generated Node #2: [41, 56, 7] from Operation: 73-66=7
Current State: 49:[41, 56, 7], Operations: ['73-66=7']
Exploring Operation: 56/7=8, Resulting Numbers: [41, 8]
Generated Node #3: [41, 8] from Operation: 56/7=8
Current State: 49:[41, 8], Operations: ['73-66=7', '56/7=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[41, 56, 73, 66], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [41, 56, 7]
Generated Node #0,0: 49:[41, 56, 7] Operation: 73-66=7
Exploring Operation: 66-56=10, Resulting Numbers: [41, 73, 10]
Generated Node #0,1: 49:[41, 73, 10] Operation: 66-56=10
Exploring Operation: 73-56=17, Resulting Numbers: [41, 66, 17]
Generated Node #0,2: 49:[41, 66, 17] Operation: 73-56=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[41, 56, 7], Operations: ['73-66=7']
Exploring Operation: 56-7=49, Resulting Numbers: [41, 49]
Generated Node #0,0,0: 49:[41, 49] Operation: 56-7=49
Exploring Operation: 41+7=48, Resulting Numbers: [56, 48]
Generated Node #0,0,1: 49:[56, 48] Operation: 41+7=48
Exploring Operation: 56-41=15, Resulting Numbers: [7, 15]
Generated Node #0,0,2: 49:[7, 15] Operation: 56-41=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[41, 49], Operations: ['73-66=7', '56-7=49']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[56, 48], Operations: ['73-66=7', '41+7=48']
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,49 unequal: No Solution
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[7, 15], Operations: ['73-66=7', '56-41=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[41, 73, 10], Operations: ['66-56=10']
Exploring Operation: 41+10=51, Resulting Numbers: [73, 51]
Generated Node #0,1,0: 49:[73, 51] Operation: 41+10=51
Exploring Operation: 73-10=63, Resulting Numbers: [41, 63]
Generated Node #0,1,1: 49:[41, 63] Operation: 73-10=63
Exploring Operation: 73-41=32, Resulting Numbers: [10, 32]
Generated Node #0,1,2: 49:[10, 32] Operation: 73-41=32
Moving to Node #0,1,2
Current State: 49:[10, 32], Operations: ['66-56=10', '73-41=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[41, 63], Operations: ['66-56=10', '73-10=63']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[73, 51], Operations: ['66-56=10', '41+10=51']
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,49 unequal: No Solution
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[41, 66, 17], Operations: ['73-56=17']
Exploring Operation: 66-41=25, Resulting Numbers: [17, 25]
Generated Node #0,2,0: 49:[17, 25] Operation: 66-41=25
Exploring Operation: 41+17=58, Resulting Numbers: [66, 58]
Generated Node #0,2,1: 49:[66, 58] Operation: 41+17=58
Exploring Operation: 66-17=49, Resulting Numbers: [41, 49]
Generated Node #0,2,2: 49:[41, 49] Operation: 66-17=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[41, 49], Operations: ['73-56=17', '66-17=49']
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,49 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[66, 58], Operations: ['73-56=17', '41+17=58']
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 66*58=3828, Resulting Numbers: [3828]
3828,49 unequal: No Solution
Exploring Operation: 66+58=124, Resulting Numbers: [124]
124,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[17, 25], Operations: ['73-56=17', '66-41=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
22,
18,
50,
35
] | 39 | [
"22+50=72",
"72/18=4",
"35+4=39"
] | Current State: 39:[22, 18, 50, 35], Operations: []
Exploring Operation: 22+50=72, Resulting Numbers: [18, 35, 72]
Generated Node #2: [18, 35, 72] from Operation: 22+50=72
Current State: 39:[18, 35, 72], Operations: ['22+50=72']
Exploring Operation: 72/18=4, Resulting Numbers: [35, 4]
Generated Node #3: [35, 4] from Operation: 72/18=4
Current State: 39:[35, 4], Operations: ['22+50=72', '72/18=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[22, 18, 50, 35], Operations: []
Exploring Operation: 22+18=40, Resulting Numbers: [50, 35, 40]
Generated Node #0,0: 39:[50, 35, 40] Operation: 22+18=40
Exploring Operation: 35-22=13, Resulting Numbers: [18, 50, 13]
Generated Node #0,1: 39:[18, 50, 13] Operation: 35-22=13
Exploring Operation: 22-18=4, Resulting Numbers: [50, 35, 4]
Generated Node #0,2: 39:[50, 35, 4] Operation: 22-18=4
Exploring Operation: 50-22=28, Resulting Numbers: [18, 35, 28]
Generated Node #0,3: 39:[18, 35, 28] Operation: 50-22=28
Exploring Operation: 50-35=15, Resulting Numbers: [22, 18, 15]
Generated Node #0,4: 39:[22, 18, 15] Operation: 50-35=15
Moving to Node #0,0
Current State: 39:[50, 35, 40], Operations: ['22+18=40']
Exploring Operation: 40-35=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 39:[50, 5] Operation: 40-35=5
Exploring Operation: 50-35=15, Resulting Numbers: [40, 15]
Generated Node #0,0,1: 39:[40, 15] Operation: 50-35=15
Exploring Operation: 50+35=85, Resulting Numbers: [40, 85]
Generated Node #0,0,2: 39:[40, 85] Operation: 50+35=85
Exploring Operation: 35+40=75, Resulting Numbers: [50, 75]
Generated Node #0,0,3: 39:[50, 75] Operation: 35+40=75
Exploring Operation: 50-40=10, Resulting Numbers: [35, 10]
Generated Node #0,0,4: 39:[35, 10] Operation: 50-40=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[40, 15], Operations: ['22+18=40', '50-35=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 39:[35, 10], Operations: ['22+18=40', '50-40=10']
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,39 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[50, 5], Operations: ['22+18=40', '40-35=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,39 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[40, 85], Operations: ['22+18=40', '50+35=85']
Exploring Operation: 40*85=3400, Resulting Numbers: [3400]
3400,39 unequal: No Solution
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 40+85=125, Resulting Numbers: [125]
125,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[50, 75], Operations: ['22+18=40', '35+40=75']
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,39 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 39:[50, 35, 4], Operations: ['22-18=4']
Exploring Operation: 35-4=31, Resulting Numbers: [50, 31]
Generated Node #0,2,0: 39:[50, 31] Operation: 35-4=31
Exploring Operation: 50-35=15, Resulting Numbers: [4, 15]
Generated Node #0,2,1: 39:[4, 15] Operation: 50-35=15
Exploring Operation: 50-4=46, Resulting Numbers: [35, 46]
Generated Node #0,2,2: 39:[35, 46] Operation: 50-4=46
Exploring Operation: 35+4=39, Resulting Numbers: [50, 39]
Generated Node #0,2,3: 39:[50, 39] Operation: 35+4=39
Exploring Operation: 50+4=54, Resulting Numbers: [35, 54]
Generated Node #0,2,4: 39:[35, 54] Operation: 50+4=54
Moving to Node #0,1
Current State: 39:[18, 50, 13], Operations: ['35-22=13']
Exploring Operation: 50-18=32, Resulting Numbers: [13, 32]
Generated Node #0,1,0: 39:[13, 32] Operation: 50-18=32
Exploring Operation: 18+13=31, Resulting Numbers: [50, 31]
Generated Node #0,1,1: 39:[50, 31] Operation: 18+13=31
Exploring Operation: 18-13=5, Resulting Numbers: [50, 5]
Generated Node #0,1,2: 39:[50, 5] Operation: 18-13=5
Exploring Operation: 50-13=37, Resulting Numbers: [18, 37]
Generated Node #0,1,3: 39:[18, 37] Operation: 50-13=37
Exploring Operation: 18+50=68, Resulting Numbers: [13, 68]
Generated Node #0,1,4: 39:[13, 68] Operation: 18+50=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[13, 32], Operations: ['35-22=13', '50-18=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,39 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[18, 37], Operations: ['35-22=13', '50-13=37']
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,39 unequal: No Solution
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[50, 5], Operations: ['35-22=13', '18-13=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[50, 31], Operations: ['35-22=13', '18+13=31']
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,39 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[13, 68], Operations: ['35-22=13', '18+50=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 39:[22, 18, 15], Operations: ['50-35=15']
Exploring Operation: 22-15=7, Resulting Numbers: [18, 7]
Generated Node #0,4,0: 39:[18, 7] Operation: 22-15=7
Exploring Operation: 18-15=3, Resulting Numbers: [22, 3]
Generated Node #0,4,1: 39:[22, 3] Operation: 18-15=3
Exploring Operation: 22-18=4, Resulting Numbers: [15, 4]
Generated Node #0,4,2: 39:[15, 4] Operation: 22-18=4
Exploring Operation: 22+18=40, Resulting Numbers: [15, 40]
Generated Node #0,4,3: 39:[15, 40] Operation: 22+18=40
Exploring Operation: 22+15=37, Resulting Numbers: [18, 37]
Generated Node #0,4,4: 39:[18, 37] Operation: 22+15=37
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 39:[15, 4], Operations: ['50-35=15', '22-18=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 39:[15, 40], Operations: ['50-35=15', '22+18=40']
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,39 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 39:[18, 37], Operations: ['50-35=15', '22+15=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,39 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[18, 7], Operations: ['50-35=15', '22-15=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 39:[22, 3], Operations: ['50-35=15', '18-15=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 39:[18, 35, 28], Operations: ['50-22=28']
Exploring Operation: 35-28=7, Resulting Numbers: [18, 7]
Generated Node #0,3,0: 39:[18, 7] Operation: 35-28=7
Exploring Operation: 18+35=53, Resulting Numbers: [28, 53]
Generated Node #0,3,1: 39:[28, 53] Operation: 18+35=53
Exploring Operation: 28-18=10, Resulting Numbers: [35, 10]
Generated Node #0,3,2: 39:[35, 10] Operation: 28-18=10
Exploring Operation: 18+28=46, Resulting Numbers: [35, 46]
Generated Node #0,3,3: 39:[35, 46] Operation: 18+28=46
Exploring Operation: 35-18=17, Resulting Numbers: [28, 17]
Generated Node #0,3,4: 39:[28, 17] Operation: 35-18=17
Moving to Node #0,2,1
Current State: 39:[4, 15], Operations: ['22-18=4', '50-35=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[35, 10], Operations: ['50-22=28', '28-18=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,39 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[18, 7], Operations: ['50-22=28', '35-28=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[50, 39], Operations: ['22-18=4', '35+4=39']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[35, 46], Operations: ['22-18=4', '50-4=46']
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,39 unequal: No Solution
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[35, 46], Operations: ['50-22=28', '18+28=46']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[28, 17], Operations: ['50-22=28', '35-18=17']
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,39 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[50, 31], Operations: ['22-18=4', '35-4=31']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,39 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[35, 54], Operations: ['22-18=4', '50+4=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,39 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[28, 53], Operations: ['50-22=28', '18+35=53']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,39 unequal: No Solution
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,39 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
76,
77,
30,
13
] | 73 | [
"77+13=90",
"90/30=3",
"76-3=73"
] | Current State: 73:[76, 77, 30, 13], Operations: []
Exploring Operation: 77+13=90, Resulting Numbers: [76, 30, 90]
Generated Node #2: [76, 30, 90] from Operation: 77+13=90
Current State: 73:[76, 30, 90], Operations: ['77+13=90']
Exploring Operation: 90/30=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 90/30=3
Current State: 73:[76, 3], Operations: ['77+13=90', '90/30=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[76, 77, 30, 13], Operations: []
Exploring Operation: 30+13=43, Resulting Numbers: [76, 77, 43]
Generated Node #0,0: 73:[76, 77, 43] Operation: 30+13=43
Exploring Operation: 77-13=64, Resulting Numbers: [76, 30, 64]
Generated Node #0,1: 73:[76, 30, 64] Operation: 77-13=64
Moving to Node #0,0
Current State: 73:[76, 77, 43], Operations: ['30+13=43']
Exploring Operation: 76-43=33, Resulting Numbers: [77, 33]
Generated Node #0,0,0: 73:[77, 33] Operation: 76-43=33
Exploring Operation: 77-43=34, Resulting Numbers: [76, 34]
Generated Node #0,0,1: 73:[76, 34] Operation: 77-43=34
Moving to Node #0,1
Current State: 73:[76, 30, 64], Operations: ['77-13=64']
Exploring Operation: 76-30=46, Resulting Numbers: [64, 46]
Generated Node #0,1,0: 73:[64, 46] Operation: 76-30=46
Exploring Operation: 30+64=94, Resulting Numbers: [76, 94]
Generated Node #0,1,1: 73:[76, 94] Operation: 30+64=94
Moving to Node #0,1,1
Current State: 73:[76, 94], Operations: ['77-13=64', '30+64=94']
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 76+94=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[64, 46], Operations: ['77-13=64', '76-30=46']
Exploring Operation: 64+46=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[76, 34], Operations: ['30+13=43', '77-43=34']
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[77, 33], Operations: ['30+13=43', '76-43=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,73 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
33,
55,
34,
59
] | 71 | [
"55-33=22",
"34+59=93",
"93-22=71"
] | Current State: 71:[33, 55, 34, 59], Operations: []
Exploring Operation: 55-33=22, Resulting Numbers: [34, 59, 22]
Generated Node #2: [34, 59, 22] from Operation: 55-33=22
Current State: 71:[34, 59, 22], Operations: ['55-33=22']
Exploring Operation: 34+59=93, Resulting Numbers: [22, 93]
Generated Node #3: [22, 93] from Operation: 34+59=93
Current State: 71:[22, 93], Operations: ['55-33=22', '34+59=93']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[33, 55, 34, 59], Operations: []
Exploring Operation: 33+34=67, Resulting Numbers: [55, 59, 67]
Generated Node #0,0: 71:[55, 59, 67] Operation: 33+34=67
Exploring Operation: 33+55=88, Resulting Numbers: [34, 59, 88]
Generated Node #0,1: 71:[34, 59, 88] Operation: 33+55=88
Moving to Node #0,0
Current State: 71:[55, 59, 67], Operations: ['33+34=67']
Exploring Operation: 55+67=122, Resulting Numbers: [59, 122]
Generated Node #0,0,0: 71:[59, 122] Operation: 55+67=122
Exploring Operation: 55+59=114, Resulting Numbers: [67, 114]
Generated Node #0,0,1: 71:[67, 114] Operation: 55+59=114
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[67, 114], Operations: ['33+34=67', '55+59=114']
Exploring Operation: 114-67=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 67+114=181, Resulting Numbers: [181]
181,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[59, 122], Operations: ['33+34=67', '55+67=122']
Exploring Operation: 122-59=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 59+122=181, Resulting Numbers: [181]
181,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[34, 59, 88], Operations: ['33+55=88']
Exploring Operation: 34+59=93, Resulting Numbers: [88, 93]
Generated Node #0,1,0: 71:[88, 93] Operation: 34+59=93
Exploring Operation: 88-34=54, Resulting Numbers: [59, 54]
Generated Node #0,1,1: 71:[59, 54] Operation: 88-34=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[59, 54], Operations: ['33+55=88', '88-34=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[88, 93], Operations: ['33+55=88', '34+59=93']
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,71 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
57,
27,
3
] | 84 | [
"76-57=19",
"3*19=57",
"27+57=84"
] | Current State: 84:[76, 57, 27, 3], Operations: []
Exploring Operation: 76-57=19, Resulting Numbers: [27, 3, 19]
Generated Node #2: [27, 3, 19] from Operation: 76-57=19
Current State: 84:[27, 3, 19], Operations: ['76-57=19']
Exploring Operation: 3*19=57, Resulting Numbers: [27, 57]
Generated Node #3: [27, 57] from Operation: 3*19=57
Current State: 84:[27, 57], Operations: ['76-57=19', '3*19=57']
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[76, 57, 27, 3], Operations: []
Exploring Operation: 57+27=84, Resulting Numbers: [76, 3, 84]
Generated Node #0,0: 84:[76, 3, 84] Operation: 57+27=84
Exploring Operation: 76-57=19, Resulting Numbers: [27, 3, 19]
Generated Node #0,1: 84:[27, 3, 19] Operation: 76-57=19
Exploring Operation: 57-27=30, Resulting Numbers: [76, 3, 30]
Generated Node #0,2: 84:[76, 3, 30] Operation: 57-27=30
Exploring Operation: 57/3=19, Resulting Numbers: [76, 27, 19]
Generated Node #0,3: 84:[76, 27, 19] Operation: 57/3=19
Exploring Operation: 76+3=79, Resulting Numbers: [57, 27, 79]
Generated Node #0,4: 84:[57, 27, 79] Operation: 76+3=79
Moving to Node #0,1
Current State: 84:[27, 3, 19], Operations: ['76-57=19']
Exploring Operation: 27/3=9, Resulting Numbers: [19, 9]
Generated Node #0,1,0: 84:[19, 9] Operation: 27/3=9
Exploring Operation: 27-19=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 84:[3, 8] Operation: 27-19=8
Exploring Operation: 3+19=22, Resulting Numbers: [27, 22]
Generated Node #0,1,2: 84:[27, 22] Operation: 3+19=22
Exploring Operation: 27+3=30, Resulting Numbers: [19, 30]
Generated Node #0,1,3: 84:[19, 30] Operation: 27+3=30
Exploring Operation: 19-3=16, Resulting Numbers: [27, 16]
Generated Node #0,1,4: 84:[27, 16] Operation: 19-3=16
Moving to Node #0,0
Current State: 84:[76, 3, 84], Operations: ['57+27=84']
Exploring Operation: 3+84=87, Resulting Numbers: [76, 87]
Generated Node #0,0,0: 84:[76, 87] Operation: 3+84=87
Exploring Operation: 84/3=28, Resulting Numbers: [76, 28]
Generated Node #0,0,1: 84:[76, 28] Operation: 84/3=28
Exploring Operation: 84-76=8, Resulting Numbers: [3, 8]
Generated Node #0,0,2: 84:[3, 8] Operation: 84-76=8
Exploring Operation: 76-3=73, Resulting Numbers: [84, 73]
Generated Node #0,0,3: 84:[84, 73] Operation: 76-3=73
Exploring Operation: 76+3=79, Resulting Numbers: [84, 79]
Generated Node #0,0,4: 84:[84, 79] Operation: 76+3=79
Moving to Node #0,2
Current State: 84:[76, 3, 30], Operations: ['57-27=30']
Exploring Operation: 76-3=73, Resulting Numbers: [30, 73]
Generated Node #0,2,0: 84:[30, 73] Operation: 76-3=73
Exploring Operation: 76-30=46, Resulting Numbers: [3, 46]
Generated Node #0,2,1: 84:[3, 46] Operation: 76-30=46
Exploring Operation: 76+3=79, Resulting Numbers: [30, 79]
Generated Node #0,2,2: 84:[30, 79] Operation: 76+3=79
Exploring Operation: 30-3=27, Resulting Numbers: [76, 27]
Generated Node #0,2,3: 84:[76, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [76, 10]
Generated Node #0,2,4: 84:[76, 10] Operation: 30/3=10
Moving to Node #0,3
Current State: 84:[76, 27, 19], Operations: ['57/3=19']
Exploring Operation: 76/19=4, Resulting Numbers: [27, 4]
Generated Node #0,3,0: 84:[27, 4] Operation: 76/19=4
Exploring Operation: 76+19=95, Resulting Numbers: [27, 95]
Generated Node #0,3,1: 84:[27, 95] Operation: 76+19=95
Exploring Operation: 27-19=8, Resulting Numbers: [76, 8]
Generated Node #0,3,2: 84:[76, 8] Operation: 27-19=8
Exploring Operation: 27+19=46, Resulting Numbers: [76, 46]
Generated Node #0,3,3: 84:[76, 46] Operation: 27+19=46
Exploring Operation: 76-27=49, Resulting Numbers: [19, 49]
Generated Node #0,3,4: 84:[19, 49] Operation: 76-27=49
Moving to Node #0,4
Current State: 84:[57, 27, 79], Operations: ['76+3=79']
Exploring Operation: 57-27=30, Resulting Numbers: [79, 30]
Generated Node #0,4,0: 84:[79, 30] Operation: 57-27=30
Exploring Operation: 79-27=52, Resulting Numbers: [57, 52]
Generated Node #0,4,1: 84:[57, 52] Operation: 79-27=52
Exploring Operation: 79-57=22, Resulting Numbers: [27, 22]
Generated Node #0,4,2: 84:[27, 22] Operation: 79-57=22
Exploring Operation: 27+79=106, Resulting Numbers: [57, 106]
Generated Node #0,4,3: 84:[57, 106] Operation: 27+79=106
Exploring Operation: 57+27=84, Resulting Numbers: [79, 84]
Generated Node #0,4,4: 84:[79, 84] Operation: 57+27=84
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 84:[27, 22], Operations: ['76+3=79', '79-57=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 84:[79, 84], Operations: ['76+3=79', '57+27=84']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 79*84=6636, Resulting Numbers: [6636]
6636,84 unequal: No Solution
Exploring Operation: 79+84=163, Resulting Numbers: [163]
163,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[79, 30], Operations: ['76+3=79', '57-27=30']
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,84 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 84:[57, 52], Operations: ['76+3=79', '79-27=52']
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,84 unequal: No Solution
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[57, 106], Operations: ['76+3=79', '27+79=106']
Exploring Operation: 57*106=6042, Resulting Numbers: [6042]
6042,84 unequal: No Solution
Exploring Operation: 106-57=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 57+106=163, Resulting Numbers: [163]
163,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 84:[3, 8], Operations: ['76-57=19', '27-19=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[3, 8], Operations: ['57+27=84', '84-76=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[27, 4], Operations: ['57/3=19', '76/19=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[27, 22], Operations: ['76-57=19', '3+19=22']
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,84 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[27, 16], Operations: ['76-57=19', '19-3=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,84 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[19, 30], Operations: ['76-57=19', '27+3=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,84 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[3, 46], Operations: ['57-27=30', '76-30=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,84 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[19, 9], Operations: ['76-57=19', '27/3=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,84 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[84, 79], Operations: ['57+27=84', '76+3=79']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,84 unequal: No Solution
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[30, 79], Operations: ['57-27=30', '76+3=79']
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,84 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[76, 28], Operations: ['57+27=84', '84/3=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 76*28=2128, Resulting Numbers: [2128]
2128,84 unequal: No Solution
Exploring Operation: 76+28=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[76, 8], Operations: ['57/3=19', '27-19=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[76, 57, 27, 3], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [76, 27, 19]
Generated Node #0,3: 84:[76, 27, 19] Operation: 57/3=19
Moving to Node #0,3
Current State: 84:[76, 27, 19], Operations: ['57/3=19']
Exploring Operation: 27-19=8, Resulting Numbers: [76, 8]
Generated Node #0,3,2: 84:[76, 8] Operation: 27-19=8
Moving to Node #0,3,2
Current State: 84:[76, 8], Operations: ['57/3=19', '27-19=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.927951 | hs_5 | sum_heuristic |
[
29,
3,
97,
70
] | 28 | [
"29+97=126",
"126/3=42",
"70-42=28"
] | Current State: 28:[29, 3, 97, 70], Operations: []
Exploring Operation: 29+97=126, Resulting Numbers: [3, 70, 126]
Generated Node #2: [3, 70, 126] from Operation: 29+97=126
Current State: 28:[3, 70, 126], Operations: ['29+97=126']
Exploring Operation: 126/3=42, Resulting Numbers: [70, 42]
Generated Node #3: [70, 42] from Operation: 126/3=42
Current State: 28:[70, 42], Operations: ['29+97=126', '126/3=42']
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[29, 3, 97, 70], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [29, 3, 27]
Generated Node #0,0: 28:[29, 3, 27] Operation: 97-70=27
Exploring Operation: 70-29=41, Resulting Numbers: [3, 97, 41]
Generated Node #0,1: 28:[3, 97, 41] Operation: 70-29=41
Exploring Operation: 97-29=68, Resulting Numbers: [3, 70, 68]
Generated Node #0,2: 28:[3, 70, 68] Operation: 97-29=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[29, 3, 27], Operations: ['97-70=27']
Exploring Operation: 29-3=26, Resulting Numbers: [27, 26]
Generated Node #0,0,0: 28:[27, 26] Operation: 29-3=26
Exploring Operation: 29-27=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 28:[3, 2] Operation: 29-27=2
Exploring Operation: 3+27=30, Resulting Numbers: [29, 30]
Generated Node #0,0,2: 28:[29, 30] Operation: 3+27=30
Moving to Node #0,0,1
Current State: 28:[3, 2], Operations: ['97-70=27', '29-27=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[27, 26], Operations: ['97-70=27', '29-3=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,28 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[29, 30], Operations: ['97-70=27', '3+27=30']
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,28 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[3, 97, 41], Operations: ['70-29=41']
Exploring Operation: 97-3=94, Resulting Numbers: [41, 94]
Generated Node #0,1,0: 28:[41, 94] Operation: 97-3=94
Exploring Operation: 97-41=56, Resulting Numbers: [3, 56]
Generated Node #0,1,1: 28:[3, 56] Operation: 97-41=56
Exploring Operation: 41-3=38, Resulting Numbers: [97, 38]
Generated Node #0,1,2: 28:[97, 38] Operation: 41-3=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[3, 56], Operations: ['70-29=41', '97-41=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,28 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[41, 94], Operations: ['70-29=41', '97-3=94']
Exploring Operation: 41*94=3854, Resulting Numbers: [3854]
3854,28 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 41+94=135, Resulting Numbers: [135]
135,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[97, 38], Operations: ['70-29=41', '41-3=38']
Exploring Operation: 97*38=3686, Resulting Numbers: [3686]
3686,28 unequal: No Solution
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,28 unequal: No Solution
Exploring Operation: 97+38=135, Resulting Numbers: [135]
135,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[3, 70, 68], Operations: ['97-29=68']
Exploring Operation: 70-3=67, Resulting Numbers: [68, 67]
Generated Node #0,2,0: 28:[68, 67] Operation: 70-3=67
Exploring Operation: 68-3=65, Resulting Numbers: [70, 65]
Generated Node #0,2,1: 28:[70, 65] Operation: 68-3=65
Exploring Operation: 70-68=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 28:[3, 2] Operation: 70-68=2
Moving to Node #0,2,2
Current State: 28:[3, 2], Operations: ['97-29=68', '70-68=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[68, 67], Operations: ['97-29=68', '70-3=67']
Exploring Operation: 68*67=4556, Resulting Numbers: [4556]
4556,28 unequal: No Solution
Exploring Operation: 68+67=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[70, 65], Operations: ['97-29=68', '68-3=65']
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,28 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
43,
80,
19,
84
] | 96 | [
"43-19=24",
"84-80=4",
"24*4=96"
] | Current State: 96:[43, 80, 19, 84], Operations: []
Exploring Operation: 43-19=24, Resulting Numbers: [80, 84, 24]
Generated Node #2: [80, 84, 24] from Operation: 43-19=24
Current State: 96:[80, 84, 24], Operations: ['43-19=24']
Exploring Operation: 84-80=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 84-80=4
Current State: 96:[24, 4], Operations: ['43-19=24', '84-80=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[43, 80, 19, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [43, 19, 4]
Generated Node #0,0: 96:[43, 19, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[43, 19, 4], Operations: ['84-80=4']
Exploring Operation: 43-19=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 96:[4, 24] Operation: 43-19=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[4, 24], Operations: ['84-80=4', '43-19=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[43, 80, 19, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [43, 19, 4]
Generated Node #0,0: 96:[43, 19, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 96:[43, 19, 4], Operations: ['84-80=4']
Exploring Operation: 43-19=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 96:[4, 24] Operation: 43-19=24
Moving to Node #0,0,0
Current State: 96:[4, 24], Operations: ['84-80=4', '43-19=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
61,
36,
17,
76
] | 68 | [
"61-36=25",
"17+76=93",
"93-25=68"
] | Current State: 68:[61, 36, 17, 76], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [17, 76, 25]
Generated Node #2: [17, 76, 25] from Operation: 61-36=25
Current State: 68:[17, 76, 25], Operations: ['61-36=25']
Exploring Operation: 17+76=93, Resulting Numbers: [25, 93]
Generated Node #3: [25, 93] from Operation: 17+76=93
Current State: 68:[25, 93], Operations: ['61-36=25', '17+76=93']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[61, 36, 17, 76], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [17, 76, 25]
Generated Node #0,0: 68:[17, 76, 25] Operation: 61-36=25
Exploring Operation: 76-36=40, Resulting Numbers: [61, 17, 40]
Generated Node #0,1: 68:[61, 17, 40] Operation: 76-36=40
Exploring Operation: 76-61=15, Resulting Numbers: [36, 17, 15]
Generated Node #0,2: 68:[36, 17, 15] Operation: 76-61=15
Exploring Operation: 36-17=19, Resulting Numbers: [61, 76, 19]
Generated Node #0,3: 68:[61, 76, 19] Operation: 36-17=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[36, 17, 15], Operations: ['76-61=15']
Exploring Operation: 17+15=32, Resulting Numbers: [36, 32]
Generated Node #0,2,0: 68:[36, 32] Operation: 17+15=32
Exploring Operation: 36-15=21, Resulting Numbers: [17, 21]
Generated Node #0,2,1: 68:[17, 21] Operation: 36-15=21
Exploring Operation: 17-15=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 68:[36, 2] Operation: 17-15=2
Exploring Operation: 36-17=19, Resulting Numbers: [15, 19]
Generated Node #0,2,3: 68:[15, 19] Operation: 36-17=19
Moving to Node #0,2,2
Current State: 68:[36, 2], Operations: ['76-61=15', '17-15=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[17, 21], Operations: ['76-61=15', '36-15=21']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,68 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[36, 32], Operations: ['76-61=15', '17+15=32']
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[61, 36, 17, 76], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [36, 17, 15]
Generated Node #0,2: 68:[36, 17, 15] Operation: 76-61=15
Moving to Node #0,2
Current State: 68:[36, 17, 15], Operations: ['76-61=15']
Exploring Operation: 17+15=32, Resulting Numbers: [36, 32]
Generated Node #0,2,0: 68:[36, 32] Operation: 17+15=32
Moving to Node #0,2,0
Current State: 68:[36, 32], Operations: ['76-61=15', '17+15=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
25,
33,
6,
31
] | 69 | [
"31-25=6",
"6*6=36",
"33+36=69"
] | Current State: 69:[25, 33, 6, 31], Operations: []
Exploring Operation: 31-25=6, Resulting Numbers: [33, 6, 6]
Generated Node #2: [33, 6, 6] from Operation: 31-25=6
Current State: 69:[33, 6, 6], Operations: ['31-25=6']
Exploring Operation: 6*6=36, Resulting Numbers: [33, 36]
Generated Node #3: [33, 36] from Operation: 6*6=36
Current State: 69:[33, 36], Operations: ['31-25=6', '6*6=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[25, 33, 6, 31], Operations: []
Exploring Operation: 33+31=64, Resulting Numbers: [25, 6, 64]
Generated Node #0,0: 69:[25, 6, 64] Operation: 33+31=64
Exploring Operation: 33-31=2, Resulting Numbers: [25, 6, 2]
Generated Node #0,1: 69:[25, 6, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[25, 6, 2], Operations: ['33-31=2']
Exploring Operation: 6/2=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 69:[25, 3] Operation: 6/2=3
Exploring Operation: 25-2=23, Resulting Numbers: [6, 23]
Generated Node #0,1,1: 69:[6, 23] Operation: 25-2=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[25, 3], Operations: ['33-31=2', '6/2=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[6, 23], Operations: ['33-31=2', '25-2=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,69 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[25, 6, 64], Operations: ['33+31=64']
Exploring Operation: 25-6=19, Resulting Numbers: [64, 19]
Generated Node #0,0,0: 69:[64, 19] Operation: 25-6=19
Exploring Operation: 6+64=70, Resulting Numbers: [25, 70]
Generated Node #0,0,1: 69:[25, 70] Operation: 6+64=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[25, 70], Operations: ['33+31=64', '6+64=70']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[64, 19], Operations: ['33+31=64', '25-6=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
87,
21,
34
] | 18 | [
"87-50=37",
"21+34=55",
"55-37=18"
] | Current State: 18:[50, 87, 21, 34], Operations: []
Exploring Operation: 87-50=37, Resulting Numbers: [21, 34, 37]
Generated Node #2: [21, 34, 37] from Operation: 87-50=37
Current State: 18:[21, 34, 37], Operations: ['87-50=37']
Exploring Operation: 21+34=55, Resulting Numbers: [37, 55]
Generated Node #3: [37, 55] from Operation: 21+34=55
Current State: 18:[37, 55], Operations: ['87-50=37', '21+34=55']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[50, 87, 21, 34], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [50, 21, 53]
Generated Node #0,0: 18:[50, 21, 53] Operation: 87-34=53
Exploring Operation: 87-50=37, Resulting Numbers: [21, 34, 37]
Generated Node #0,1: 18:[21, 34, 37] Operation: 87-50=37
Exploring Operation: 50-34=16, Resulting Numbers: [87, 21, 16]
Generated Node #0,2: 18:[87, 21, 16] Operation: 50-34=16
Moving to Node #0,1
Current State: 18:[21, 34, 37], Operations: ['87-50=37']
Exploring Operation: 37-34=3, Resulting Numbers: [21, 3]
Generated Node #0,1,0: 18:[21, 3] Operation: 37-34=3
Exploring Operation: 34-21=13, Resulting Numbers: [37, 13]
Generated Node #0,1,1: 18:[37, 13] Operation: 34-21=13
Exploring Operation: 37-21=16, Resulting Numbers: [34, 16]
Generated Node #0,1,2: 18:[34, 16] Operation: 37-21=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[21, 3], Operations: ['87-50=37', '37-34=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[50, 87, 21, 34], Operations: []
Exploring Operation: 87-50=37, Resulting Numbers: [21, 34, 37]
Generated Node #0,1: 18:[21, 34, 37] Operation: 87-50=37
Moving to Node #0,1
Current State: 18:[21, 34, 37], Operations: ['87-50=37']
Exploring Operation: 37-34=3, Resulting Numbers: [21, 3]
Generated Node #0,1,0: 18:[21, 3] Operation: 37-34=3
Moving to Node #0,1,0
Current State: 18:[21, 3], Operations: ['87-50=37', '37-34=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
70,
76,
20,
48
] | 74 | [
"76-70=6",
"20+48=68",
"6+68=74"
] | Current State: 74:[70, 76, 20, 48], Operations: []
Exploring Operation: 76-70=6, Resulting Numbers: [20, 48, 6]
Generated Node #2: [20, 48, 6] from Operation: 76-70=6
Current State: 74:[20, 48, 6], Operations: ['76-70=6']
Exploring Operation: 20+48=68, Resulting Numbers: [6, 68]
Generated Node #3: [6, 68] from Operation: 20+48=68
Current State: 74:[6, 68], Operations: ['76-70=6', '20+48=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[70, 76, 20, 48], Operations: []
Exploring Operation: 20+48=68, Resulting Numbers: [70, 76, 68]
Generated Node #0,0: 74:[70, 76, 68] Operation: 20+48=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[70, 76, 68], Operations: ['20+48=68']
Exploring Operation: 70-68=2, Resulting Numbers: [76, 2]
Generated Node #0,0,0: 74:[76, 2] Operation: 70-68=2
Moving to Node #0,0,0
Current State: 74:[76, 2], Operations: ['20+48=68', '70-68=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[70, 76, 20, 48], Operations: []
Exploring Operation: 20+48=68, Resulting Numbers: [70, 76, 68]
Generated Node #0,0: 74:[70, 76, 68] Operation: 20+48=68
Moving to Node #0,0
Current State: 74:[70, 76, 68], Operations: ['20+48=68']
Exploring Operation: 70-68=2, Resulting Numbers: [76, 2]
Generated Node #0,0,0: 74:[76, 2] Operation: 70-68=2
Moving to Node #0,0,0
Current State: 74:[76, 2], Operations: ['20+48=68', '70-68=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
60,
2,
11,
5
] | 95 | [
"60/2=30",
"30-11=19",
"5*19=95"
] | Current State: 95:[60, 2, 11, 5], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [11, 5, 30]
Generated Node #2: [11, 5, 30] from Operation: 60/2=30
Current State: 95:[11, 5, 30], Operations: ['60/2=30']
Exploring Operation: 30-11=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 30-11=19
Current State: 95:[5, 19], Operations: ['60/2=30', '30-11=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[60, 2, 11, 5], Operations: []
Exploring Operation: 60+11=71, Resulting Numbers: [2, 5, 71]
Generated Node #0,0: 95:[2, 5, 71] Operation: 60+11=71
Exploring Operation: 60/2=30, Resulting Numbers: [11, 5, 30]
Generated Node #0,1: 95:[11, 5, 30] Operation: 60/2=30
Exploring Operation: 60*2=120, Resulting Numbers: [11, 5, 120]
Generated Node #0,2: 95:[11, 5, 120] Operation: 60*2=120
Exploring Operation: 60/5=12, Resulting Numbers: [2, 11, 12]
Generated Node #0,3: 95:[2, 11, 12] Operation: 60/5=12
Exploring Operation: 60-11=49, Resulting Numbers: [2, 5, 49]
Generated Node #0,4: 95:[2, 5, 49] Operation: 60-11=49
Moving to Node #0,3
Current State: 95:[2, 11, 12], Operations: ['60/5=12']
Exploring Operation: 12/2=6, Resulting Numbers: [11, 6]
Generated Node #0,3,0: 95:[11, 6] Operation: 12/2=6
Exploring Operation: 2*11=22, Resulting Numbers: [12, 22]
Generated Node #0,3,1: 95:[12, 22] Operation: 2*11=22
Exploring Operation: 11-2=9, Resulting Numbers: [12, 9]
Generated Node #0,3,2: 95:[12, 9] Operation: 11-2=9
Exploring Operation: 12-11=1, Resulting Numbers: [2, 1]
Generated Node #0,3,3: 95:[2, 1] Operation: 12-11=1
Exploring Operation: 11+12=23, Resulting Numbers: [2, 23]
Generated Node #0,3,4: 95:[2, 23] Operation: 11+12=23
Moving to Node #0,1
Current State: 95:[11, 5, 30], Operations: ['60/2=30']
Exploring Operation: 30/5=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 95:[11, 6] Operation: 30/5=6
Exploring Operation: 11-5=6, Resulting Numbers: [30, 6]
Generated Node #0,1,1: 95:[30, 6] Operation: 11-5=6
Exploring Operation: 11+5=16, Resulting Numbers: [30, 16]
Generated Node #0,1,2: 95:[30, 16] Operation: 11+5=16
Exploring Operation: 30-5=25, Resulting Numbers: [11, 25]
Generated Node #0,1,3: 95:[11, 25] Operation: 30-5=25
Exploring Operation: 30-11=19, Resulting Numbers: [5, 19]
Generated Node #0,1,4: 95:[5, 19] Operation: 30-11=19
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[5, 19], Operations: ['60/2=30', '30-11=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[60, 2, 11, 5], Operations: []
Exploring Operation: 60/2=30, Resulting Numbers: [11, 5, 30]
Generated Node #0,1: 95:[11, 5, 30] Operation: 60/2=30
Moving to Node #0,1
Current State: 95:[11, 5, 30], Operations: ['60/2=30']
Exploring Operation: 30-11=19, Resulting Numbers: [5, 19]
Generated Node #0,1,4: 95:[5, 19] Operation: 30-11=19
Moving to Node #0,1,4
Current State: 95:[5, 19], Operations: ['60/2=30', '30-11=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
68,
20,
33,
44
] | 53 | [
"20*33=660",
"660/44=15",
"68-15=53"
] | Current State: 53:[68, 20, 33, 44], Operations: []
Exploring Operation: 20*33=660, Resulting Numbers: [68, 44, 660]
Generated Node #2: [68, 44, 660] from Operation: 20*33=660
Current State: 53:[68, 44, 660], Operations: ['20*33=660']
Exploring Operation: 660/44=15, Resulting Numbers: [68, 15]
Generated Node #3: [68, 15] from Operation: 660/44=15
Current State: 53:[68, 15], Operations: ['20*33=660', '660/44=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[68, 20, 33, 44], Operations: []
Exploring Operation: 20+33=53, Resulting Numbers: [68, 44, 53]
Generated Node #0,0: 53:[68, 44, 53] Operation: 20+33=53
Moving to Node #0,0
Current State: 53:[68, 44, 53], Operations: ['20+33=53']
Exploring Operation: 68-44=24, Resulting Numbers: [53, 24]
Generated Node #0,0,0: 53:[53, 24] Operation: 68-44=24
Moving to Node #0,0,0
Current State: 53:[53, 24], Operations: ['20+33=53', '68-44=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,53 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
79,
47,
43,
70
] | 30 | [
"47*43=2021",
"79+2021=2100",
"2100/70=30"
] | Current State: 30:[79, 47, 43, 70], Operations: []
Exploring Operation: 47*43=2021, Resulting Numbers: [79, 70, 2021]
Generated Node #2: [79, 70, 2021] from Operation: 47*43=2021
Current State: 30:[79, 70, 2021], Operations: ['47*43=2021']
Exploring Operation: 79+2021=2100, Resulting Numbers: [70, 2100]
Generated Node #3: [70, 2100] from Operation: 79+2021=2100
Current State: 30:[70, 2100], Operations: ['47*43=2021', '79+2021=2100']
Exploring Operation: 2100/70=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[79, 47, 43, 70], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [47, 43, 9]
Generated Node #0,0: 30:[47, 43, 9] Operation: 79-70=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[47, 43, 9], Operations: ['79-70=9']
Exploring Operation: 47-43=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 30:[9, 4] Operation: 47-43=4
Moving to Node #0,0,0
Current State: 30:[9, 4], Operations: ['79-70=9', '47-43=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
58,
1,
2,
77
] | 67 | [
"58-1=57",
"77+57=134",
"134/2=67"
] | Current State: 67:[58, 1, 2, 77], Operations: []
Exploring Operation: 58-1=57, Resulting Numbers: [2, 77, 57]
Generated Node #2: [2, 77, 57] from Operation: 58-1=57
Current State: 67:[2, 77, 57], Operations: ['58-1=57']
Exploring Operation: 77+57=134, Resulting Numbers: [2, 134]
Generated Node #3: [2, 134] from Operation: 77+57=134
Current State: 67:[2, 134], Operations: ['58-1=57', '77+57=134']
Exploring Operation: 134/2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[58, 1, 2, 77], Operations: []
Exploring Operation: 58+2=60, Resulting Numbers: [1, 77, 60]
Generated Node #0,0: 67:[1, 77, 60] Operation: 58+2=60
Exploring Operation: 1+2=3, Resulting Numbers: [58, 77, 3]
Generated Node #0,1: 67:[58, 77, 3] Operation: 1+2=3
Exploring Operation: 58+1=59, Resulting Numbers: [2, 77, 59]
Generated Node #0,2: 67:[2, 77, 59] Operation: 58+1=59
Moving to Node #0,0
Current State: 67:[1, 77, 60], Operations: ['58+2=60']
Exploring Operation: 77-1=76, Resulting Numbers: [60, 76]
Generated Node #0,0,0: 67:[60, 76] Operation: 77-1=76
Exploring Operation: 1*77=77, Resulting Numbers: [60, 77]
Generated Node #0,0,1: 67:[60, 77] Operation: 1*77=77
Exploring Operation: 1+60=61, Resulting Numbers: [77, 61]
Generated Node #0,0,2: 67:[77, 61] Operation: 1+60=61
Moving to Node #0,1
Current State: 67:[58, 77, 3], Operations: ['1+2=3']
Exploring Operation: 77-3=74, Resulting Numbers: [58, 74]
Generated Node #0,1,0: 67:[58, 74] Operation: 77-3=74
Exploring Operation: 58+3=61, Resulting Numbers: [77, 61]
Generated Node #0,1,1: 67:[77, 61] Operation: 58+3=61
Exploring Operation: 58-3=55, Resulting Numbers: [77, 55]
Generated Node #0,1,2: 67:[77, 55] Operation: 58-3=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[58, 74], Operations: ['1+2=3', '77-3=74']
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[77, 61], Operations: ['1+2=3', '58+3=61']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[77, 55], Operations: ['1+2=3', '58-3=55']
Exploring Operation: 77*55=4235, Resulting Numbers: [4235]
4235,67 unequal: No Solution
Exploring Operation: 77+55=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 67:[2, 77, 59], Operations: ['58+1=59']
Exploring Operation: 2+77=79, Resulting Numbers: [59, 79]
Generated Node #0,2,0: 67:[59, 79] Operation: 2+77=79
Exploring Operation: 77-2=75, Resulting Numbers: [59, 75]
Generated Node #0,2,1: 67:[59, 75] Operation: 77-2=75
Exploring Operation: 2+59=61, Resulting Numbers: [77, 61]
Generated Node #0,2,2: 67:[77, 61] Operation: 2+59=61
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[59, 75], Operations: ['58+1=59', '77-2=75']
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 59*75=4425, Resulting Numbers: [4425]
4425,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[77, 61], Operations: ['58+1=59', '2+59=61']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[59, 79], Operations: ['58+1=59', '2+77=79']
Exploring Operation: 59+79=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 59*79=4661, Resulting Numbers: [4661]
4661,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 67:[60, 76], Operations: ['58+2=60', '77-1=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[77, 61], Operations: ['58+2=60', '1+60=61']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,67 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[60, 77], Operations: ['58+2=60', '1*77=77']
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,67 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,67 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
83,
8,
78,
95
] | 27 | [
"83-78=5",
"95/5=19",
"8+19=27"
] | Current State: 27:[83, 8, 78, 95], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [8, 95, 5]
Generated Node #2: [8, 95, 5] from Operation: 83-78=5
Current State: 27:[8, 95, 5], Operations: ['83-78=5']
Exploring Operation: 95/5=19, Resulting Numbers: [8, 19]
Generated Node #3: [8, 19] from Operation: 95/5=19
Current State: 27:[8, 19], Operations: ['83-78=5', '95/5=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[83, 8, 78, 95], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [83, 8, 17]
Generated Node #0,0: 27:[83, 8, 17] Operation: 95-78=17
Exploring Operation: 95-83=12, Resulting Numbers: [8, 78, 12]
Generated Node #0,1: 27:[8, 78, 12] Operation: 95-83=12
Exploring Operation: 83-78=5, Resulting Numbers: [8, 95, 5]
Generated Node #0,2: 27:[8, 95, 5] Operation: 83-78=5
Moving to Node #0,1
Current State: 27:[8, 78, 12], Operations: ['95-83=12']
Exploring Operation: 78-8=70, Resulting Numbers: [12, 70]
Generated Node #0,1,0: 27:[12, 70] Operation: 78-8=70
Exploring Operation: 12-8=4, Resulting Numbers: [78, 4]
Generated Node #0,1,1: 27:[78, 4] Operation: 12-8=4
Exploring Operation: 78-12=66, Resulting Numbers: [8, 66]
Generated Node #0,1,2: 27:[8, 66] Operation: 78-12=66
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[8, 66], Operations: ['95-83=12', '78-12=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[12, 70], Operations: ['95-83=12', '78-8=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[78, 4], Operations: ['95-83=12', '12-8=4']
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 27:[83, 8, 17], Operations: ['95-78=17']
Exploring Operation: 83-8=75, Resulting Numbers: [17, 75]
Generated Node #0,0,0: 27:[17, 75] Operation: 83-8=75
Exploring Operation: 17-8=9, Resulting Numbers: [83, 9]
Generated Node #0,0,1: 27:[83, 9] Operation: 17-8=9
Exploring Operation: 83-17=66, Resulting Numbers: [8, 66]
Generated Node #0,0,2: 27:[8, 66] Operation: 83-17=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[8, 66], Operations: ['95-78=17', '83-17=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,27 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[17, 75], Operations: ['95-78=17', '83-8=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[83, 9], Operations: ['95-78=17', '17-8=9']
Exploring Operation: 83*9=747, Resulting Numbers: [747]
747,27 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 27:[8, 95, 5], Operations: ['83-78=5']
Exploring Operation: 95-5=90, Resulting Numbers: [8, 90]
Generated Node #0,2,0: 27:[8, 90] Operation: 95-5=90
Exploring Operation: 95-8=87, Resulting Numbers: [5, 87]
Generated Node #0,2,1: 27:[5, 87] Operation: 95-8=87
Exploring Operation: 95/5=19, Resulting Numbers: [8, 19]
Generated Node #0,2,2: 27:[8, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[8, 19], Operations: ['83-78=5', '95/5=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[83, 8, 78, 95], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [8, 95, 5]
Generated Node #0,2: 27:[8, 95, 5] Operation: 83-78=5
Moving to Node #0,2
Current State: 27:[8, 95, 5], Operations: ['83-78=5']
Exploring Operation: 95/5=19, Resulting Numbers: [8, 19]
Generated Node #0,2,2: 27:[8, 19] Operation: 95/5=19
Moving to Node #0,2,2
Current State: 27:[8, 19], Operations: ['83-78=5', '95/5=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
39,
13,
53,
86
] | 11 | [
"39/13=3",
"86-53=33",
"33/3=11"
] | Current State: 11:[39, 13, 53, 86], Operations: []
Exploring Operation: 39/13=3, Resulting Numbers: [53, 86, 3]
Generated Node #2: [53, 86, 3] from Operation: 39/13=3
Current State: 11:[53, 86, 3], Operations: ['39/13=3']
Exploring Operation: 86-53=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 86-53=33
Current State: 11:[3, 33], Operations: ['39/13=3', '86-53=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[39, 13, 53, 86], Operations: []
Exploring Operation: 86-53=33, Resulting Numbers: [39, 13, 33]
Generated Node #0,0: 11:[39, 13, 33] Operation: 86-53=33
Moving to Node #0,0
Current State: 11:[39, 13, 33], Operations: ['86-53=33']
Exploring Operation: 39-33=6, Resulting Numbers: [13, 6]
Generated Node #0,0,0: 11:[13, 6] Operation: 39-33=6
Moving to Node #0,0,0
Current State: 11:[13, 6], Operations: ['86-53=33', '39-33=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
25,
4,
28
] | 77 | [
"60-25=35",
"4*28=112",
"112-35=77"
] | Current State: 77:[60, 25, 4, 28], Operations: []
Exploring Operation: 60-25=35, Resulting Numbers: [4, 28, 35]
Generated Node #2: [4, 28, 35] from Operation: 60-25=35
Current State: 77:[4, 28, 35], Operations: ['60-25=35']
Exploring Operation: 4*28=112, Resulting Numbers: [35, 112]
Generated Node #3: [35, 112] from Operation: 4*28=112
Current State: 77:[35, 112], Operations: ['60-25=35', '4*28=112']
Exploring Operation: 112-35=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[60, 25, 4, 28], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [60, 4, 3]
Generated Node #0,0: 77:[60, 4, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[60, 4, 3], Operations: ['28-25=3']
Exploring Operation: 60/4=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 77:[3, 15] Operation: 60/4=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[3, 15], Operations: ['28-25=3', '60/4=15']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
96,
81,
77
] | 83 | [
"96-77=19",
"38/19=2",
"81+2=83"
] | Current State: 83:[38, 96, 81, 77], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [38, 81, 19]
Generated Node #2: [38, 81, 19] from Operation: 96-77=19
Current State: 83:[38, 81, 19], Operations: ['96-77=19']
Exploring Operation: 38/19=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 38/19=2
Current State: 83:[81, 2], Operations: ['96-77=19', '38/19=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[38, 96, 81, 77], Operations: []
Exploring Operation: 38+77=115, Resulting Numbers: [96, 81, 115]
Generated Node #0,0: 83:[96, 81, 115] Operation: 38+77=115
Exploring Operation: 96-38=58, Resulting Numbers: [81, 77, 58]
Generated Node #0,1: 83:[81, 77, 58] Operation: 96-38=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[81, 77, 58], Operations: ['96-38=58']
Exploring Operation: 81+58=139, Resulting Numbers: [77, 139]
Generated Node #0,1,0: 83:[77, 139] Operation: 81+58=139
Exploring Operation: 77+58=135, Resulting Numbers: [81, 135]
Generated Node #0,1,1: 83:[81, 135] Operation: 77+58=135
Moving to Node #0,1,1
Current State: 83:[81, 135], Operations: ['96-38=58', '77+58=135']
Exploring Operation: 135-81=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 81+135=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[77, 139], Operations: ['96-38=58', '81+58=139']
Exploring Operation: 139-77=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 77+139=216, Resulting Numbers: [216]
216,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[96, 81, 115], Operations: ['38+77=115']
Exploring Operation: 115-81=34, Resulting Numbers: [96, 34]
Generated Node #0,0,0: 83:[96, 34] Operation: 115-81=34
Exploring Operation: 115-96=19, Resulting Numbers: [81, 19]
Generated Node #0,0,1: 83:[81, 19] Operation: 115-96=19
Moving to Node #0,0,0
Current State: 83:[96, 34], Operations: ['38+77=115', '115-81=34']
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,83 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[81, 19], Operations: ['38+77=115', '115-96=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
68,
69,
28
] | 44 | [
"72-28=44",
"69-68=1",
"44*1=44"
] | Current State: 44:[72, 68, 69, 28], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [68, 69, 44]
Generated Node #2: [68, 69, 44] from Operation: 72-28=44
Current State: 44:[68, 69, 44], Operations: ['72-28=44']
Exploring Operation: 69-68=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 69-68=1
Current State: 44:[44, 1], Operations: ['72-28=44', '69-68=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[72, 68, 69, 28], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [68, 28, 3]
Generated Node #0,0: 44:[68, 28, 3] Operation: 72-69=3
Exploring Operation: 72-68=4, Resulting Numbers: [69, 28, 4]
Generated Node #0,1: 44:[69, 28, 4] Operation: 72-68=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[68, 28, 3], Operations: ['72-69=3']
Exploring Operation: 68-3=65, Resulting Numbers: [28, 65]
Generated Node #0,0,0: 44:[28, 65] Operation: 68-3=65
Exploring Operation: 68-28=40, Resulting Numbers: [3, 40]
Generated Node #0,0,1: 44:[3, 40] Operation: 68-28=40
Moving to Node #0,0,1
Current State: 44:[3, 40], Operations: ['72-69=3', '68-28=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[28, 65], Operations: ['72-69=3', '68-3=65']
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,44 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[69, 28, 4], Operations: ['72-68=4']
Exploring Operation: 69-4=65, Resulting Numbers: [28, 65]
Generated Node #0,1,0: 44:[28, 65] Operation: 69-4=65
Exploring Operation: 69-28=41, Resulting Numbers: [4, 41]
Generated Node #0,1,1: 44:[4, 41] Operation: 69-28=41
Moving to Node #0,1,1
Current State: 44:[4, 41], Operations: ['72-68=4', '69-28=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[28, 65], Operations: ['72-68=4', '69-4=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
36,
34,
51
] | 60 | [
"54+36=90",
"34*90=3060",
"3060/51=60"
] | Current State: 60:[54, 36, 34, 51], Operations: []
Exploring Operation: 54+36=90, Resulting Numbers: [34, 51, 90]
Generated Node #2: [34, 51, 90] from Operation: 54+36=90
Current State: 60:[34, 51, 90], Operations: ['54+36=90']
Exploring Operation: 34*90=3060, Resulting Numbers: [51, 3060]
Generated Node #3: [51, 3060] from Operation: 34*90=3060
Current State: 60:[51, 3060], Operations: ['54+36=90', '34*90=3060']
Exploring Operation: 3060/51=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[54, 36, 34, 51], Operations: []
Exploring Operation: 54-36=18, Resulting Numbers: [34, 51, 18]
Generated Node #0,0: 60:[34, 51, 18] Operation: 54-36=18
Exploring Operation: 54-34=20, Resulting Numbers: [36, 51, 20]
Generated Node #0,1: 60:[36, 51, 20] Operation: 54-34=20
Exploring Operation: 54-51=3, Resulting Numbers: [36, 34, 3]
Generated Node #0,2: 60:[36, 34, 3] Operation: 54-51=3
Exploring Operation: 51-34=17, Resulting Numbers: [54, 36, 17]
Generated Node #0,3: 60:[54, 36, 17] Operation: 51-34=17
Exploring Operation: 51-36=15, Resulting Numbers: [54, 34, 15]
Generated Node #0,4: 60:[54, 34, 15] Operation: 51-36=15
Moving to Node #0,2
Current State: 60:[36, 34, 3], Operations: ['54-51=3']
Exploring Operation: 36+34=70, Resulting Numbers: [3, 70]
Generated Node #0,2,0: 60:[3, 70] Operation: 36+34=70
Exploring Operation: 34-3=31, Resulting Numbers: [36, 31]
Generated Node #0,2,1: 60:[36, 31] Operation: 34-3=31
Exploring Operation: 36-3=33, Resulting Numbers: [34, 33]
Generated Node #0,2,2: 60:[34, 33] Operation: 36-3=33
Exploring Operation: 36-34=2, Resulting Numbers: [3, 2]
Generated Node #0,2,3: 60:[3, 2] Operation: 36-34=2
Exploring Operation: 36/3=12, Resulting Numbers: [34, 12]
Generated Node #0,2,4: 60:[34, 12] Operation: 36/3=12
Moving to Node #0,4
Current State: 60:[54, 34, 15], Operations: ['51-36=15']
Exploring Operation: 54-34=20, Resulting Numbers: [15, 20]
Generated Node #0,4,0: 60:[15, 20] Operation: 54-34=20
Exploring Operation: 34+15=49, Resulting Numbers: [54, 49]
Generated Node #0,4,1: 60:[54, 49] Operation: 34+15=49
Exploring Operation: 54-15=39, Resulting Numbers: [34, 39]
Generated Node #0,4,2: 60:[34, 39] Operation: 54-15=39
Exploring Operation: 54+15=69, Resulting Numbers: [34, 69]
Generated Node #0,4,3: 60:[34, 69] Operation: 54+15=69
Exploring Operation: 34-15=19, Resulting Numbers: [54, 19]
Generated Node #0,4,4: 60:[54, 19] Operation: 34-15=19
Moving to Node #0,3
Current State: 60:[54, 36, 17], Operations: ['51-34=17']
Exploring Operation: 54+17=71, Resulting Numbers: [36, 71]
Generated Node #0,3,0: 60:[36, 71] Operation: 54+17=71
Exploring Operation: 36-17=19, Resulting Numbers: [54, 19]
Generated Node #0,3,1: 60:[54, 19] Operation: 36-17=19
Exploring Operation: 36+17=53, Resulting Numbers: [54, 53]
Generated Node #0,3,2: 60:[54, 53] Operation: 36+17=53
Exploring Operation: 54-17=37, Resulting Numbers: [36, 37]
Generated Node #0,3,3: 60:[36, 37] Operation: 54-17=37
Exploring Operation: 54-36=18, Resulting Numbers: [17, 18]
Generated Node #0,3,4: 60:[17, 18] Operation: 54-36=18
Moving to Node #0,0
Current State: 60:[34, 51, 18], Operations: ['54-36=18']
Exploring Operation: 51-18=33, Resulting Numbers: [34, 33]
Generated Node #0,0,0: 60:[34, 33] Operation: 51-18=33
Exploring Operation: 51+18=69, Resulting Numbers: [34, 69]
Generated Node #0,0,1: 60:[34, 69] Operation: 51+18=69
Exploring Operation: 51-34=17, Resulting Numbers: [18, 17]
Generated Node #0,0,2: 60:[18, 17] Operation: 51-34=17
Exploring Operation: 34-18=16, Resulting Numbers: [51, 16]
Generated Node #0,0,3: 60:[51, 16] Operation: 34-18=16
Exploring Operation: 34+18=52, Resulting Numbers: [51, 52]
Generated Node #0,0,4: 60:[51, 52] Operation: 34+18=52
Moving to Node #0,1
Current State: 60:[36, 51, 20], Operations: ['54-34=20']
Exploring Operation: 51+20=71, Resulting Numbers: [36, 71]
Generated Node #0,1,0: 60:[36, 71] Operation: 51+20=71
Exploring Operation: 36+20=56, Resulting Numbers: [51, 56]
Generated Node #0,1,1: 60:[51, 56] Operation: 36+20=56
Exploring Operation: 36-20=16, Resulting Numbers: [51, 16]
Generated Node #0,1,2: 60:[51, 16] Operation: 36-20=16
Exploring Operation: 51-36=15, Resulting Numbers: [20, 15]
Generated Node #0,1,3: 60:[20, 15] Operation: 51-36=15
Exploring Operation: 51-20=31, Resulting Numbers: [36, 31]
Generated Node #0,1,4: 60:[36, 31] Operation: 51-20=31
Moving to Node #0,2,3
Current State: 60:[3, 2], Operations: ['54-51=3', '36-34=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,4,0
Current State: 60:[15, 20], Operations: ['51-36=15', '54-34=20']
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,60 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[20, 15], Operations: ['54-34=20', '51-36=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,60 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[34, 12], Operations: ['54-51=3', '36/3=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[17, 18], Operations: ['51-34=17', '54-36=18']
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,60 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[18, 17], Operations: ['54-36=18', '51-34=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,60 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,4,4
Current State: 60:[54, 19], Operations: ['51-36=15', '34-15=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,60 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[36, 31], Operations: ['54-51=3', '34-3=31']
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[54, 19], Operations: ['51-34=17', '36-17=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[36, 31], Operations: ['54-34=20', '51-20=31']
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,60 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[34, 33], Operations: ['54-51=3', '36-3=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,60 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[34, 33], Operations: ['54-36=18', '51-18=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,60 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[3, 70], Operations: ['54-51=3', '36+34=70']
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[51, 16], Operations: ['54-36=18', '34-18=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,60 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[51, 16], Operations: ['54-34=20', '36-20=16']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[36, 37], Operations: ['51-34=17', '54-17=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,60 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[34, 69], Operations: ['51-36=15', '54+15=69']
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,60 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[54, 53], Operations: ['51-34=17', '36+17=53']
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,60 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[34, 69], Operations: ['54-36=18', '51+18=69']
Exploring Operation: 34*69=2346, Resulting Numbers: [2346]
2346,60 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 34+69=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[51, 56], Operations: ['54-34=20', '36+20=56']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 51*56=2856, Resulting Numbers: [2856]
2856,60 unequal: No Solution
Moving to Node #0,4,2
Current State: 60:[34, 39], Operations: ['51-36=15', '54-15=39']
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,60 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[51, 52], Operations: ['54-36=18', '34+18=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[36, 71], Operations: ['51-34=17', '54+17=71']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,60 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[54, 49], Operations: ['51-36=15', '34+15=49']
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,60 unequal: No Solution
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[36, 71], Operations: ['54-34=20', '51+20=71']
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 36*71=2556, Resulting Numbers: [2556]
2556,60 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,60 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
32,
33,
59
] | 100 | [
"40-32=8",
"33+59=92",
"8+92=100"
] | Current State: 100:[40, 32, 33, 59], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [33, 59, 8]
Generated Node #2: [33, 59, 8] from Operation: 40-32=8
Current State: 100:[33, 59, 8], Operations: ['40-32=8']
Exploring Operation: 33+59=92, Resulting Numbers: [8, 92]
Generated Node #3: [8, 92] from Operation: 33+59=92
Current State: 100:[8, 92], Operations: ['40-32=8', '33+59=92']
Exploring Operation: 8+92=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[40, 32, 33, 59], Operations: []
Exploring Operation: 40+59=99, Resulting Numbers: [32, 33, 99]
Generated Node #0,0: 100:[32, 33, 99] Operation: 40+59=99
Exploring Operation: 59-40=19, Resulting Numbers: [32, 33, 19]
Generated Node #0,1: 100:[32, 33, 19] Operation: 59-40=19
Moving to Node #0,0
Current State: 100:[32, 33, 99], Operations: ['40+59=99']
Exploring Operation: 33-32=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 100:[99, 1] Operation: 33-32=1
Exploring Operation: 99/33=3, Resulting Numbers: [32, 3]
Generated Node #0,0,1: 100:[32, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 100:[32, 33, 19], Operations: ['59-40=19']
Exploring Operation: 32+19=51, Resulting Numbers: [33, 51]
Generated Node #0,1,0: 100:[33, 51] Operation: 32+19=51
Exploring Operation: 33-32=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 100:[19, 1] Operation: 33-32=1
Moving to Node #0,0,0
Current State: 100:[99, 1], Operations: ['40+59=99', '33-32=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[40, 32, 33, 59], Operations: []
Exploring Operation: 40+59=99, Resulting Numbers: [32, 33, 99]
Generated Node #0,0: 100:[32, 33, 99] Operation: 40+59=99
Moving to Node #0,0
Current State: 100:[32, 33, 99], Operations: ['40+59=99']
Exploring Operation: 33-32=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 100:[99, 1] Operation: 33-32=1
Moving to Node #0,0,0
Current State: 100:[99, 1], Operations: ['40+59=99', '33-32=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
59,
73,
6,
31
] | 53 | [
"59+73=132",
"132/6=22",
"31+22=53"
] | Current State: 53:[59, 73, 6, 31], Operations: []
Exploring Operation: 59+73=132, Resulting Numbers: [6, 31, 132]
Generated Node #2: [6, 31, 132] from Operation: 59+73=132
Current State: 53:[6, 31, 132], Operations: ['59+73=132']
Exploring Operation: 132/6=22, Resulting Numbers: [31, 22]
Generated Node #3: [31, 22] from Operation: 132/6=22
Current State: 53:[31, 22], Operations: ['59+73=132', '132/6=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[59, 73, 6, 31], Operations: []
Exploring Operation: 73+6=79, Resulting Numbers: [59, 31, 79]
Generated Node #0,0: 53:[59, 31, 79] Operation: 73+6=79
Exploring Operation: 6+31=37, Resulting Numbers: [59, 73, 37]
Generated Node #0,1: 53:[59, 73, 37] Operation: 6+31=37
Exploring Operation: 59+6=65, Resulting Numbers: [73, 31, 65]
Generated Node #0,2: 53:[73, 31, 65] Operation: 59+6=65
Exploring Operation: 73-6=67, Resulting Numbers: [59, 31, 67]
Generated Node #0,3: 53:[59, 31, 67] Operation: 73-6=67
Exploring Operation: 59-6=53, Resulting Numbers: [73, 31, 53]
Generated Node #0,4: 53:[73, 31, 53] Operation: 59-6=53
Moving to Node #0,1
Current State: 53:[59, 73, 37], Operations: ['6+31=37']
Exploring Operation: 59-37=22, Resulting Numbers: [73, 22]
Generated Node #0,1,0: 53:[73, 22] Operation: 59-37=22
Exploring Operation: 73+37=110, Resulting Numbers: [59, 110]
Generated Node #0,1,1: 53:[59, 110] Operation: 73+37=110
Exploring Operation: 73-37=36, Resulting Numbers: [59, 36]
Generated Node #0,1,2: 53:[59, 36] Operation: 73-37=36
Exploring Operation: 73-59=14, Resulting Numbers: [37, 14]
Generated Node #0,1,3: 53:[37, 14] Operation: 73-59=14
Exploring Operation: 59+37=96, Resulting Numbers: [73, 96]
Generated Node #0,1,4: 53:[73, 96] Operation: 59+37=96
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[59, 36], Operations: ['6+31=37', '73-37=36']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[73, 22], Operations: ['6+31=37', '59-37=22']
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,53 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[37, 14], Operations: ['6+31=37', '73-59=14']
Exploring Operation: 37*14=518, Resulting Numbers: [518]
518,53 unequal: No Solution
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[59, 110], Operations: ['6+31=37', '73+37=110']
Exploring Operation: 110-59=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 59*110=6490, Resulting Numbers: [6490]
6490,53 unequal: No Solution
Exploring Operation: 59+110=169, Resulting Numbers: [169]
169,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 53:[73, 96], Operations: ['6+31=37', '59+37=96']
Exploring Operation: 73+96=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 73*96=7008, Resulting Numbers: [7008]
7008,53 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 53:[73, 31, 53], Operations: ['59-6=53']
Exploring Operation: 73-53=20, Resulting Numbers: [31, 20]
Generated Node #0,4,0: 53:[31, 20] Operation: 73-53=20
Exploring Operation: 31+53=84, Resulting Numbers: [73, 84]
Generated Node #0,4,1: 53:[73, 84] Operation: 31+53=84
Exploring Operation: 53-31=22, Resulting Numbers: [73, 22]
Generated Node #0,4,2: 53:[73, 22] Operation: 53-31=22
Exploring Operation: 73-31=42, Resulting Numbers: [53, 42]
Generated Node #0,4,3: 53:[53, 42] Operation: 73-31=42
Exploring Operation: 73+31=104, Resulting Numbers: [53, 104]
Generated Node #0,4,4: 53:[53, 104] Operation: 73+31=104
Moving to Node #0,3
Current State: 53:[59, 31, 67], Operations: ['73-6=67']
Exploring Operation: 59-31=28, Resulting Numbers: [67, 28]
Generated Node #0,3,0: 53:[67, 28] Operation: 59-31=28
Exploring Operation: 67-59=8, Resulting Numbers: [31, 8]
Generated Node #0,3,1: 53:[31, 8] Operation: 67-59=8
Exploring Operation: 31+67=98, Resulting Numbers: [59, 98]
Generated Node #0,3,2: 53:[59, 98] Operation: 31+67=98
Exploring Operation: 59+31=90, Resulting Numbers: [67, 90]
Generated Node #0,3,3: 53:[67, 90] Operation: 59+31=90
Exploring Operation: 67-31=36, Resulting Numbers: [59, 36]
Generated Node #0,3,4: 53:[59, 36] Operation: 67-31=36
Moving to Node #0,0
Current State: 53:[59, 31, 79], Operations: ['73+6=79']
Exploring Operation: 59-31=28, Resulting Numbers: [79, 28]
Generated Node #0,0,0: 53:[79, 28] Operation: 59-31=28
Exploring Operation: 31+79=110, Resulting Numbers: [59, 110]
Generated Node #0,0,1: 53:[59, 110] Operation: 31+79=110
Exploring Operation: 79-31=48, Resulting Numbers: [59, 48]
Generated Node #0,0,2: 53:[59, 48] Operation: 79-31=48
Exploring Operation: 59+31=90, Resulting Numbers: [79, 90]
Generated Node #0,0,3: 53:[79, 90] Operation: 59+31=90
Exploring Operation: 79-59=20, Resulting Numbers: [31, 20]
Generated Node #0,0,4: 53:[31, 20] Operation: 79-59=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[59, 48], Operations: ['73+6=79', '79-31=48']
Exploring Operation: 59+48=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 59*48=2832, Resulting Numbers: [2832]
2832,53 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[79, 28], Operations: ['73+6=79', '59-31=28']
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,53 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 53:[31, 20], Operations: ['73+6=79', '79-59=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[59, 110], Operations: ['73+6=79', '31+79=110']
Exploring Operation: 110-59=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 59+110=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 59*110=6490, Resulting Numbers: [6490]
6490,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[79, 90], Operations: ['73+6=79', '59+31=90']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 79+90=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 79*90=7110, Resulting Numbers: [7110]
7110,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[73, 31, 65], Operations: ['59+6=65']
Exploring Operation: 31+65=96, Resulting Numbers: [73, 96]
Generated Node #0,2,0: 53:[73, 96] Operation: 31+65=96
Exploring Operation: 73-65=8, Resulting Numbers: [31, 8]
Generated Node #0,2,1: 53:[31, 8] Operation: 73-65=8
Exploring Operation: 73-31=42, Resulting Numbers: [65, 42]
Generated Node #0,2,2: 53:[65, 42] Operation: 73-31=42
Exploring Operation: 73+31=104, Resulting Numbers: [65, 104]
Generated Node #0,2,3: 53:[65, 104] Operation: 73+31=104
Exploring Operation: 65-31=34, Resulting Numbers: [73, 34]
Generated Node #0,2,4: 53:[73, 34] Operation: 65-31=34
Moving to Node #0,4,3
Current State: 53:[53, 42], Operations: ['59-6=53', '73-31=42']
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,53 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[59, 36], Operations: ['73-6=67', '67-31=36']
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,53 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[65, 42], Operations: ['59+6=65', '73-31=42']
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[67, 28], Operations: ['73-6=67', '59-31=28']
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,53 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[73, 34], Operations: ['59+6=65', '65-31=34']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[73, 22], Operations: ['59-6=53', '53-31=22']
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,53 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[73, 84], Operations: ['59-6=53', '31+53=84']
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,53 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Moving to Node #0,4,4
Current State: 53:[53, 104], Operations: ['59-6=53', '73+31=104']
Exploring Operation: 104-53=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 53*104=5512, Resulting Numbers: [5512]
5512,53 unequal: No Solution
Exploring Operation: 53+104=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[67, 90], Operations: ['73-6=67', '59+31=90']
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[59, 98], Operations: ['73-6=67', '31+67=98']
Exploring Operation: 98-59=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 59+98=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 59*98=5782, Resulting Numbers: [5782]
5782,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[31, 20], Operations: ['59-6=53', '73-53=20']
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,53 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[65, 104], Operations: ['59+6=65', '73+31=104']
Exploring Operation: 65+104=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 65*104=6760, Resulting Numbers: [6760]
6760,53 unequal: No Solution
Exploring Operation: 104-65=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[73, 96], Operations: ['59+6=65', '31+65=96']
Exploring Operation: 73+96=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 73*96=7008, Resulting Numbers: [7008]
7008,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[31, 8], Operations: ['73-6=67', '67-59=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,53 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[31, 8], Operations: ['59+6=65', '73-65=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,53 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,53 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
79,
18,
3,
18
] | 67 | [
"79-18=61",
"18/3=6",
"61+6=67"
] | Current State: 67:[79, 18, 3, 18], Operations: []
Exploring Operation: 79-18=61, Resulting Numbers: [3, 61]
Generated Node #2: [3, 61] from Operation: 79-18=61
Current State: 67:[3, 61], Operations: ['79-18=61']
Exploring Operation: 18/3=6, Resulting Numbers: [61, 6]
Generated Node #3: [61, 6] from Operation: 18/3=6
Current State: 67:[61, 6], Operations: ['79-18=61', '18/3=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[79, 18, 3, 18], Operations: []
Exploring Operation: 79-3=76, Resulting Numbers: [18, 18, 76]
Generated Node #0,0: 67:[18, 18, 76] Operation: 79-3=76
Exploring Operation: 18+3=21, Resulting Numbers: [79, 18, 21]
Generated Node #0,1: 67:[79, 18, 21] Operation: 18+3=21
Exploring Operation: 18*3=54, Resulting Numbers: [79, 18, 54]
Generated Node #0,2: 67:[79, 18, 54] Operation: 18*3=54
Exploring Operation: 3*18=54, Resulting Numbers: [79, 18, 54]
Generated Node #0,3: 67:[79, 18, 54] Operation: 3*18=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[79, 18, 54], Operations: ['18*3=54']
Exploring Operation: 54-18=36, Resulting Numbers: [79, 36]
Generated Node #0,2,0: 67:[79, 36] Operation: 54-18=36
Exploring Operation: 79+18=97, Resulting Numbers: [54, 97]
Generated Node #0,2,1: 67:[54, 97] Operation: 79+18=97
Exploring Operation: 79-18=61, Resulting Numbers: [54, 61]
Generated Node #0,2,2: 67:[54, 61] Operation: 79-18=61
Exploring Operation: 18+54=72, Resulting Numbers: [79, 72]
Generated Node #0,2,3: 67:[79, 72] Operation: 18+54=72
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[79, 72], Operations: ['18*3=54', '18+54=72']
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,67 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[54, 61], Operations: ['18*3=54', '79-18=61']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[79, 36], Operations: ['18*3=54', '54-18=36']
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,67 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[54, 97], Operations: ['18*3=54', '79+18=97']
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,67 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[79, 18, 54], Operations: ['3*18=54']
Exploring Operation: 54-18=36, Resulting Numbers: [79, 36]
Generated Node #0,3,0: 67:[79, 36] Operation: 54-18=36
Exploring Operation: 79-18=61, Resulting Numbers: [54, 61]
Generated Node #0,3,1: 67:[54, 61] Operation: 79-18=61
Exploring Operation: 79+18=97, Resulting Numbers: [54, 97]
Generated Node #0,3,2: 67:[54, 97] Operation: 79+18=97
Exploring Operation: 18+54=72, Resulting Numbers: [79, 72]
Generated Node #0,3,3: 67:[79, 72] Operation: 18+54=72
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[79, 72], Operations: ['3*18=54', '18+54=72']
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,67 unequal: No Solution
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,67 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[54, 61], Operations: ['3*18=54', '79-18=61']
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,67 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[79, 36], Operations: ['3*18=54', '54-18=36']
Exploring Operation: 79+36=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Exploring Operation: 79*36=2844, Resulting Numbers: [2844]
2844,67 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[54, 97], Operations: ['3*18=54', '79+18=97']
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,67 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[18, 18, 76], Operations: ['79-3=76']
Exploring Operation: 18/18=1, Resulting Numbers: [76, 1]
Generated Node #0,0,0: 67:[76, 1] Operation: 18/18=1
Exploring Operation: 76-18=58, Resulting Numbers: [18, 58]
Generated Node #0,0,1: 67:[18, 58] Operation: 76-18=58
Exploring Operation: 76-18=58, Resulting Numbers: [18, 58]
Generated Node #0,0,2: 67:[18, 58] Operation: 76-18=58
Exploring Operation: 18+18=36, Resulting Numbers: [76, 36]
Generated Node #0,0,3: 67:[76, 36] Operation: 18+18=36
Moving to Node #0,0,3
Current State: 67:[76, 36], Operations: ['79-3=76', '18+18=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,67 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[18, 58], Operations: ['79-3=76', '76-18=58']
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,67 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[18, 58], Operations: ['79-3=76', '76-18=58']
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,67 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[76, 1], Operations: ['79-3=76', '18/18=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,67 unequal: No Solution
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,67 unequal: No Solution
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[79, 18, 21], Operations: ['18+3=21']
Exploring Operation: 79-21=58, Resulting Numbers: [18, 58]
Generated Node #0,1,0: 67:[18, 58] Operation: 79-21=58
Exploring Operation: 79-18=61, Resulting Numbers: [21, 61]
Generated Node #0,1,1: 67:[21, 61] Operation: 79-18=61
Exploring Operation: 79+18=97, Resulting Numbers: [21, 97]
Generated Node #0,1,2: 67:[21, 97] Operation: 79+18=97
Exploring Operation: 18+21=39, Resulting Numbers: [79, 39]
Generated Node #0,1,3: 67:[79, 39] Operation: 18+21=39
Moving to Node #0,1,3
Current State: 67:[79, 39], Operations: ['18+3=21', '18+21=39']
Exploring Operation: 79*39=3081, Resulting Numbers: [3081]
3081,67 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 79+39=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[21, 61], Operations: ['18+3=21', '79-18=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,67 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[18, 58], Operations: ['18+3=21', '79-21=58']
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[21, 97], Operations: ['18+3=21', '79+18=97']
Exploring Operation: 21+97=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 21*97=2037, Resulting Numbers: [2037]
2037,67 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
68,
6,
36
] | 27 | [
"83-68=15",
"6+36=42",
"42-15=27"
] | Current State: 27:[83, 68, 6, 36], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [6, 36, 15]
Generated Node #2: [6, 36, 15] from Operation: 83-68=15
Current State: 27:[6, 36, 15], Operations: ['83-68=15']
Exploring Operation: 6+36=42, Resulting Numbers: [15, 42]
Generated Node #3: [15, 42] from Operation: 6+36=42
Current State: 27:[15, 42], Operations: ['83-68=15', '6+36=42']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[83, 68, 6, 36], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [83, 6, 32]
Generated Node #0,0: 27:[83, 6, 32] Operation: 68-36=32
Exploring Operation: 83-36=47, Resulting Numbers: [68, 6, 47]
Generated Node #0,1: 27:[68, 6, 47] Operation: 83-36=47
Exploring Operation: 83-68=15, Resulting Numbers: [6, 36, 15]
Generated Node #0,2: 27:[6, 36, 15] Operation: 83-68=15
Moving to Node #0,2
Current State: 27:[6, 36, 15], Operations: ['83-68=15']
Exploring Operation: 36/6=6, Resulting Numbers: [15, 6]
Generated Node #0,2,0: 27:[15, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [15, 30]
Generated Node #0,2,1: 27:[15, 30] Operation: 36-6=30
Exploring Operation: 15-6=9, Resulting Numbers: [36, 9]
Generated Node #0,2,2: 27:[36, 9] Operation: 15-6=9
Moving to Node #0,0
Current State: 27:[83, 6, 32], Operations: ['68-36=32']
Exploring Operation: 83-32=51, Resulting Numbers: [6, 51]
Generated Node #0,0,0: 27:[6, 51] Operation: 83-32=51
Exploring Operation: 83-6=77, Resulting Numbers: [32, 77]
Generated Node #0,0,1: 27:[32, 77] Operation: 83-6=77
Exploring Operation: 32-6=26, Resulting Numbers: [83, 26]
Generated Node #0,0,2: 27:[83, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[6, 51], Operations: ['68-36=32', '83-32=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,27 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[32, 77], Operations: ['68-36=32', '83-6=77']
Exploring Operation: 32*77=2464, Resulting Numbers: [2464]
2464,27 unequal: No Solution
Exploring Operation: 32+77=109, Resulting Numbers: [109]
109,27 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[83, 26], Operations: ['68-36=32', '32-6=26']
Exploring Operation: 83*26=2158, Resulting Numbers: [2158]
2158,27 unequal: No Solution
Exploring Operation: 83+26=109, Resulting Numbers: [109]
109,27 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 27:[68, 6, 47], Operations: ['83-36=47']
Exploring Operation: 68-47=21, Resulting Numbers: [6, 21]
Generated Node #0,1,0: 27:[6, 21] Operation: 68-47=21
Exploring Operation: 47-6=41, Resulting Numbers: [68, 41]
Generated Node #0,1,1: 27:[68, 41] Operation: 47-6=41
Exploring Operation: 68-6=62, Resulting Numbers: [47, 62]
Generated Node #0,1,2: 27:[47, 62] Operation: 68-6=62
Moving to Node #0,2,0
Current State: 27:[15, 6], Operations: ['83-68=15', '36/6=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[36, 9], Operations: ['83-68=15', '15-6=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[83, 68, 6, 36], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [6, 36, 15]
Generated Node #0,2: 27:[6, 36, 15] Operation: 83-68=15
Moving to Node #0,2
Current State: 27:[6, 36, 15], Operations: ['83-68=15']
Exploring Operation: 15-6=9, Resulting Numbers: [36, 9]
Generated Node #0,2,2: 27:[36, 9] Operation: 15-6=9
Moving to Node #0,2,2
Current State: 27:[36, 9], Operations: ['83-68=15', '15-6=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
73,
34,
14,
57
] | 17 | [
"73-14=59",
"59-57=2",
"34/2=17"
] | Current State: 17:[73, 34, 14, 57], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [34, 57, 59]
Generated Node #2: [34, 57, 59] from Operation: 73-14=59
Current State: 17:[34, 57, 59], Operations: ['73-14=59']
Exploring Operation: 59-57=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 59-57=2
Current State: 17:[34, 2], Operations: ['73-14=59', '59-57=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[73, 34, 14, 57], Operations: []
Exploring Operation: 57-34=23, Resulting Numbers: [73, 14, 23]
Generated Node #0,0: 17:[73, 14, 23] Operation: 57-34=23
Exploring Operation: 73-57=16, Resulting Numbers: [34, 14, 16]
Generated Node #0,1: 17:[34, 14, 16] Operation: 73-57=16
Exploring Operation: 73-14=59, Resulting Numbers: [34, 57, 59]
Generated Node #0,2: 17:[34, 57, 59] Operation: 73-14=59
Exploring Operation: 73-34=39, Resulting Numbers: [14, 57, 39]
Generated Node #0,3: 17:[14, 57, 39] Operation: 73-34=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[34, 14, 16], Operations: ['73-57=16']
Exploring Operation: 14+16=30, Resulting Numbers: [34, 30]
Generated Node #0,1,0: 17:[34, 30] Operation: 14+16=30
Exploring Operation: 34-16=18, Resulting Numbers: [14, 18]
Generated Node #0,1,1: 17:[14, 18] Operation: 34-16=18
Exploring Operation: 34-14=20, Resulting Numbers: [16, 20]
Generated Node #0,1,2: 17:[16, 20] Operation: 34-14=20
Exploring Operation: 34+14=48, Resulting Numbers: [16, 48]
Generated Node #0,1,3: 17:[16, 48] Operation: 34+14=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[14, 18], Operations: ['73-57=16', '34-16=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,17 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[16, 20], Operations: ['73-57=16', '34-14=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,17 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[34, 30], Operations: ['73-57=16', '14+16=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,17 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 17:[16, 48], Operations: ['73-57=16', '34+14=48']
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,17 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[73, 14, 23], Operations: ['57-34=23']
Exploring Operation: 73-14=59, Resulting Numbers: [23, 59]
Generated Node #0,0,0: 17:[23, 59] Operation: 73-14=59
Exploring Operation: 73+14=87, Resulting Numbers: [23, 87]
Generated Node #0,0,1: 17:[23, 87] Operation: 73+14=87
Exploring Operation: 73-23=50, Resulting Numbers: [14, 50]
Generated Node #0,0,2: 17:[14, 50] Operation: 73-23=50
Exploring Operation: 23-14=9, Resulting Numbers: [73, 9]
Generated Node #0,0,3: 17:[73, 9] Operation: 23-14=9
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[14, 50], Operations: ['57-34=23', '73-23=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,17 unequal: No Solution
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[23, 59], Operations: ['57-34=23', '73-14=59']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,17 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[73, 9], Operations: ['57-34=23', '23-14=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,17 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[23, 87], Operations: ['57-34=23', '73+14=87']
Exploring Operation: 23*87=2001, Resulting Numbers: [2001]
2001,17 unequal: No Solution
Exploring Operation: 87-23=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 23+87=110, Resulting Numbers: [110]
110,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[14, 57, 39], Operations: ['73-34=39']
Exploring Operation: 57-14=43, Resulting Numbers: [39, 43]
Generated Node #0,3,0: 17:[39, 43] Operation: 57-14=43
Exploring Operation: 39-14=25, Resulting Numbers: [57, 25]
Generated Node #0,3,1: 17:[57, 25] Operation: 39-14=25
Exploring Operation: 57-39=18, Resulting Numbers: [14, 18]
Generated Node #0,3,2: 17:[14, 18] Operation: 57-39=18
Exploring Operation: 14+57=71, Resulting Numbers: [39, 71]
Generated Node #0,3,3: 17:[39, 71] Operation: 14+57=71
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 17:[14, 18], Operations: ['73-34=39', '57-39=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,17 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 17:[39, 43], Operations: ['73-34=39', '57-14=43']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,17 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[57, 25], Operations: ['73-34=39', '39-14=25']
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 17:[39, 71], Operations: ['73-34=39', '14+57=71']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,17 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[34, 57, 59], Operations: ['73-14=59']
Exploring Operation: 34+57=91, Resulting Numbers: [59, 91]
Generated Node #0,2,0: 17:[59, 91] Operation: 34+57=91
Exploring Operation: 57-34=23, Resulting Numbers: [59, 23]
Generated Node #0,2,1: 17:[59, 23] Operation: 57-34=23
Exploring Operation: 59-57=2, Resulting Numbers: [34, 2]
Generated Node #0,2,2: 17:[34, 2] Operation: 59-57=2
Exploring Operation: 59-34=25, Resulting Numbers: [57, 25]
Generated Node #0,2,3: 17:[57, 25] Operation: 59-34=25
Moving to Node #0,2,2
Current State: 17:[34, 2], Operations: ['73-14=59', '59-57=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[73, 34, 14, 57], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [34, 57, 59]
Generated Node #0,2: 17:[34, 57, 59] Operation: 73-14=59
Moving to Node #0,2
Current State: 17:[34, 57, 59], Operations: ['73-14=59']
Exploring Operation: 59-57=2, Resulting Numbers: [34, 2]
Generated Node #0,2,2: 17:[34, 2] Operation: 59-57=2
Moving to Node #0,2,2
Current State: 17:[34, 2], Operations: ['73-14=59', '59-57=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_4 | sum_heuristic |
[
1,
6,
23,
3
] | 38 | [
"6-1=5",
"3*5=15",
"23+15=38"
] | Current State: 38:[1, 6, 23, 3], Operations: []
Exploring Operation: 6-1=5, Resulting Numbers: [23, 3, 5]
Generated Node #2: [23, 3, 5] from Operation: 6-1=5
Current State: 38:[23, 3, 5], Operations: ['6-1=5']
Exploring Operation: 3*5=15, Resulting Numbers: [23, 15]
Generated Node #3: [23, 15] from Operation: 3*5=15
Current State: 38:[23, 15], Operations: ['6-1=5', '3*5=15']
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[1, 6, 23, 3], Operations: []
Exploring Operation: 23-3=20, Resulting Numbers: [1, 6, 20]
Generated Node #0,0: 38:[1, 6, 20] Operation: 23-3=20
Exploring Operation: 6-3=3, Resulting Numbers: [1, 23, 3]
Generated Node #0,1: 38:[1, 23, 3] Operation: 6-3=3
Exploring Operation: 23-6=17, Resulting Numbers: [1, 3, 17]
Generated Node #0,2: 38:[1, 3, 17] Operation: 23-6=17
Exploring Operation: 6/3=2, Resulting Numbers: [1, 23, 2]
Generated Node #0,3: 38:[1, 23, 2] Operation: 6/3=2
Exploring Operation: 6*3=18, Resulting Numbers: [1, 23, 18]
Generated Node #0,4: 38:[1, 23, 18] Operation: 6*3=18
Moving to Node #0,2
Current State: 38:[1, 3, 17], Operations: ['23-6=17']
Exploring Operation: 1*3=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 38:[17, 3] Operation: 1*3=3
Exploring Operation: 1+17=18, Resulting Numbers: [3, 18]
Generated Node #0,2,1: 38:[3, 18] Operation: 1+17=18
Exploring Operation: 3+17=20, Resulting Numbers: [1, 20]
Generated Node #0,2,2: 38:[1, 20] Operation: 3+17=20
Exploring Operation: 3/1=3, Resulting Numbers: [17, 3]
Generated Node #0,2,3: 38:[17, 3] Operation: 3/1=3
Exploring Operation: 3-1=2, Resulting Numbers: [17, 2]
Generated Node #0,2,4: 38:[17, 2] Operation: 3-1=2
Moving to Node #0,3
Current State: 38:[1, 23, 2], Operations: ['6/3=2']
Exploring Operation: 23/1=23, Resulting Numbers: [2, 23]
Generated Node #0,3,0: 38:[2, 23] Operation: 23/1=23
Exploring Operation: 23-1=22, Resulting Numbers: [2, 22]
Generated Node #0,3,1: 38:[2, 22] Operation: 23-1=22
Exploring Operation: 1*23=23, Resulting Numbers: [2, 23]
Generated Node #0,3,2: 38:[2, 23] Operation: 1*23=23
Exploring Operation: 1*2=2, Resulting Numbers: [23, 2]
Generated Node #0,3,3: 38:[23, 2] Operation: 1*2=2
Exploring Operation: 23-2=21, Resulting Numbers: [1, 21]
Generated Node #0,3,4: 38:[1, 21] Operation: 23-2=21
Moving to Node #0,0
Current State: 38:[1, 6, 20], Operations: ['23-3=20']
Exploring Operation: 20-1=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 38:[6, 19] Operation: 20-1=19
Exploring Operation: 1*20=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 38:[6, 20] Operation: 1*20=20
Exploring Operation: 6-1=5, Resulting Numbers: [20, 5]
Generated Node #0,0,2: 38:[20, 5] Operation: 6-1=5
Exploring Operation: 6/1=6, Resulting Numbers: [20, 6]
Generated Node #0,0,3: 38:[20, 6] Operation: 6/1=6
Exploring Operation: 1*6=6, Resulting Numbers: [20, 6]
Generated Node #0,0,4: 38:[20, 6] Operation: 1*6=6
Moving to Node #0,1
Current State: 38:[1, 23, 3], Operations: ['6-3=3']
Exploring Operation: 23-3=20, Resulting Numbers: [1, 20]
Generated Node #0,1,0: 38:[1, 20] Operation: 23-3=20
Exploring Operation: 23-1=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 38:[3, 22] Operation: 23-1=22
Exploring Operation: 23/1=23, Resulting Numbers: [3, 23]
Generated Node #0,1,2: 38:[3, 23] Operation: 23/1=23
Exploring Operation: 1*23=23, Resulting Numbers: [3, 23]
Generated Node #0,1,3: 38:[3, 23] Operation: 1*23=23
Exploring Operation: 3-1=2, Resulting Numbers: [23, 2]
Generated Node #0,1,4: 38:[23, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[1, 20], Operations: ['6-3=3', '23-3=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[3, 22], Operations: ['6-3=3', '23-1=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[23, 2], Operations: ['6-3=3', '3-1=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[3, 23], Operations: ['6-3=3', '23/1=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[3, 23], Operations: ['6-3=3', '1*23=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 38:[1, 23, 18], Operations: ['6*3=18']
Exploring Operation: 23-1=22, Resulting Numbers: [18, 22]
Generated Node #0,4,0: 38:[18, 22] Operation: 23-1=22
Exploring Operation: 23-18=5, Resulting Numbers: [1, 5]
Generated Node #0,4,1: 38:[1, 5] Operation: 23-18=5
Exploring Operation: 1+18=19, Resulting Numbers: [23, 19]
Generated Node #0,4,2: 38:[23, 19] Operation: 1+18=19
Exploring Operation: 1*23=23, Resulting Numbers: [18, 23]
Generated Node #0,4,3: 38:[18, 23] Operation: 1*23=23
Exploring Operation: 23+18=41, Resulting Numbers: [1, 41]
Generated Node #0,4,4: 38:[1, 41] Operation: 23+18=41
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 38:[18, 22], Operations: ['6*3=18', '23-1=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,38 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 38:[1, 5], Operations: ['6*3=18', '23-18=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 38:[23, 19], Operations: ['6*3=18', '1+18=19']
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,38 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[1, 41], Operations: ['6*3=18', '23+18=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 38:[18, 23], Operations: ['6*3=18', '1*23=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,38 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 38:[3, 18], Operations: ['23-6=17', '1+17=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,2,4
Current State: 38:[17, 2], Operations: ['23-6=17', '3-1=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[1, 20], Operations: ['23-6=17', '3+17=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[1, 21], Operations: ['6/3=2', '23-2=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[2, 22], Operations: ['6/3=2', '23-1=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[17, 3], Operations: ['23-6=17', '3/1=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[17, 3], Operations: ['23-6=17', '1*3=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[20, 5], Operations: ['23-3=20', '6-1=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[6, 19], Operations: ['23-3=20', '20-1=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[23, 2], Operations: ['6/3=2', '1*2=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[2, 23], Operations: ['6/3=2', '23/1=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[2, 23], Operations: ['6/3=2', '1*23=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[20, 6], Operations: ['23-3=20', '6/1=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[6, 20], Operations: ['23-3=20', '1*20=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[20, 6], Operations: ['23-3=20', '1*6=6']
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,38 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
14,
14,
60
] | 68 | [
"68+60=128",
"14*14=196",
"196-128=68"
] | Current State: 68:[68, 14, 14, 60], Operations: []
Exploring Operation: 68+60=128, Resulting Numbers: [14, 14, 128]
Generated Node #2: [14, 14, 128] from Operation: 68+60=128
Current State: 68:[14, 14, 128], Operations: ['68+60=128']
Exploring Operation: 14*14=196, Resulting Numbers: [128, 196]
Generated Node #3: [128, 196] from Operation: 14*14=196
Current State: 68:[128, 196], Operations: ['68+60=128', '14*14=196']
Exploring Operation: 196-128=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[68, 14, 14, 60], Operations: []
Exploring Operation: 14/14=1, Resulting Numbers: [68, 60, 1]
Generated Node #0,0: 68:[68, 60, 1] Operation: 14/14=1
Exploring Operation: 14+60=74, Resulting Numbers: [68, 14, 74]
Generated Node #0,1: 68:[68, 14, 74] Operation: 14+60=74
Moving to Node #0,0
Current State: 68:[68, 60, 1], Operations: ['14/14=1']
Exploring Operation: 68-60=8, Resulting Numbers: [1, 8]
Generated Node #0,0,0: 68:[1, 8] Operation: 68-60=8
Exploring Operation: 60+1=61, Resulting Numbers: [68, 61]
Generated Node #0,0,1: 68:[68, 61] Operation: 60+1=61
Moving to Node #0,1
Current State: 68:[68, 14, 74], Operations: ['14+60=74']
Exploring Operation: 74-14=60, Resulting Numbers: [68, 60]
Generated Node #0,1,0: 68:[68, 60] Operation: 74-14=60
Exploring Operation: 74-68=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 68:[14, 6] Operation: 74-68=6
Moving to Node #0,0,0
Current State: 68:[1, 8], Operations: ['14/14=1', '68-60=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[14, 6], Operations: ['14+60=74', '74-68=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[68, 61], Operations: ['14/14=1', '60+1=61']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[68, 60], Operations: ['14+60=74', '74-14=60']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 68+60=128, Resulting Numbers: [128]
128,68 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
66,
38,
33
] | 70 | [
"66*38=2508",
"2508/33=76",
"76-6=70"
] | Current State: 70:[6, 66, 38, 33], Operations: []
Exploring Operation: 66*38=2508, Resulting Numbers: [6, 33, 2508]
Generated Node #2: [6, 33, 2508] from Operation: 66*38=2508
Current State: 70:[6, 33, 2508], Operations: ['66*38=2508']
Exploring Operation: 2508/33=76, Resulting Numbers: [6, 76]
Generated Node #3: [6, 76] from Operation: 2508/33=76
Current State: 70:[6, 76], Operations: ['66*38=2508', '2508/33=76']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 66, 38, 33], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [6, 38, 2]
Generated Node #0,0: 70:[6, 38, 2] Operation: 66/33=2
Exploring Operation: 38-33=5, Resulting Numbers: [6, 66, 5]
Generated Node #0,1: 70:[6, 66, 5] Operation: 38-33=5
Exploring Operation: 66/6=11, Resulting Numbers: [38, 33, 11]
Generated Node #0,2: 70:[38, 33, 11] Operation: 66/6=11
Exploring Operation: 66-33=33, Resulting Numbers: [6, 38, 33]
Generated Node #0,3: 70:[6, 38, 33] Operation: 66-33=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[6, 38, 2], Operations: ['66/33=2']
Exploring Operation: 6-2=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 70:[38, 4] Operation: 6-2=4
Exploring Operation: 6+2=8, Resulting Numbers: [38, 8]
Generated Node #0,0,1: 70:[38, 8] Operation: 6+2=8
Exploring Operation: 38-6=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 70:[2, 32] Operation: 38-6=32
Exploring Operation: 38-2=36, Resulting Numbers: [6, 36]
Generated Node #0,0,3: 70:[6, 36] Operation: 38-2=36
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[6, 36], Operations: ['66/33=2', '38-2=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[2, 32], Operations: ['66/33=2', '38-6=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[38, 4], Operations: ['66/33=2', '6-2=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[38, 8], Operations: ['66/33=2', '6+2=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,70 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[6, 66, 5], Operations: ['38-33=5']
Exploring Operation: 66/6=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 70:[5, 11] Operation: 66/6=11
Exploring Operation: 66+5=71, Resulting Numbers: [6, 71]
Generated Node #0,1,1: 70:[6, 71] Operation: 66+5=71
Exploring Operation: 6+66=72, Resulting Numbers: [5, 72]
Generated Node #0,1,2: 70:[5, 72] Operation: 6+66=72
Exploring Operation: 6+5=11, Resulting Numbers: [66, 11]
Generated Node #0,1,3: 70:[66, 11] Operation: 6+5=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[5, 11], Operations: ['38-33=5', '66/6=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[6, 71], Operations: ['38-33=5', '66+5=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,70 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[5, 72], Operations: ['38-33=5', '6+66=72']
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,70 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[66, 11], Operations: ['38-33=5', '6+5=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,70 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[38, 33, 11], Operations: ['66/6=11']
Exploring Operation: 38-11=27, Resulting Numbers: [33, 27]
Generated Node #0,2,0: 70:[33, 27] Operation: 38-11=27
Exploring Operation: 38-33=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 70:[11, 5] Operation: 38-33=5
Exploring Operation: 33/11=3, Resulting Numbers: [38, 3]
Generated Node #0,2,2: 70:[38, 3] Operation: 33/11=3
Exploring Operation: 38+33=71, Resulting Numbers: [11, 71]
Generated Node #0,2,3: 70:[11, 71] Operation: 38+33=71
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[11, 5], Operations: ['66/6=11', '38-33=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[11, 71], Operations: ['66/6=11', '38+33=71']
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,70 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[38, 3], Operations: ['66/6=11', '33/11=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[33, 27], Operations: ['66/6=11', '38-11=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,70 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[6, 38, 33], Operations: ['66-33=33']
Exploring Operation: 38-33=5, Resulting Numbers: [6, 5]
Generated Node #0,3,0: 70:[6, 5] Operation: 38-33=5
Exploring Operation: 6+33=39, Resulting Numbers: [38, 39]
Generated Node #0,3,1: 70:[38, 39] Operation: 6+33=39
Exploring Operation: 38+33=71, Resulting Numbers: [6, 71]
Generated Node #0,3,2: 70:[6, 71] Operation: 38+33=71
Exploring Operation: 38-6=32, Resulting Numbers: [33, 32]
Generated Node #0,3,3: 70:[33, 32] Operation: 38-6=32
Moving to Node #0,3,0
Current State: 70:[6, 5], Operations: ['66-33=33', '38-33=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[6, 71], Operations: ['66-33=33', '38+33=71']
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,70 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[33, 32], Operations: ['66-33=33', '38-6=32']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[38, 39], Operations: ['66-33=33', '6+33=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,70 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
57,
22,
69,
68
] | 36 | [
"57-22=35",
"69-68=1",
"35+1=36"
] | Current State: 36:[57, 22, 69, 68], Operations: []
Exploring Operation: 57-22=35, Resulting Numbers: [69, 68, 35]
Generated Node #2: [69, 68, 35] from Operation: 57-22=35
Current State: 36:[69, 68, 35], Operations: ['57-22=35']
Exploring Operation: 69-68=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 69-68=1
Current State: 36:[35, 1], Operations: ['57-22=35', '69-68=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[57, 22, 69, 68], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [57, 22, 1]
Generated Node #0,0: 36:[57, 22, 1] Operation: 69-68=1
Moving to Node #0,0
Current State: 36:[57, 22, 1], Operations: ['69-68=1']
Exploring Operation: 57-22=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 36:[1, 35] Operation: 57-22=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[1, 35], Operations: ['69-68=1', '57-22=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[57, 22, 69, 68], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [57, 22, 1]
Generated Node #0,0: 36:[57, 22, 1] Operation: 69-68=1
Moving to Node #0,0
Current State: 36:[57, 22, 1], Operations: ['69-68=1']
Exploring Operation: 57-22=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 36:[1, 35] Operation: 57-22=35
Moving to Node #0,0,0
Current State: 36:[1, 35], Operations: ['69-68=1', '57-22=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
23,
5,
49,
56
] | 87 | [
"23-5=18",
"49+56=105",
"105-18=87"
] | Current State: 87:[23, 5, 49, 56], Operations: []
Exploring Operation: 23-5=18, Resulting Numbers: [49, 56, 18]
Generated Node #2: [49, 56, 18] from Operation: 23-5=18
Current State: 87:[49, 56, 18], Operations: ['23-5=18']
Exploring Operation: 49+56=105, Resulting Numbers: [18, 105]
Generated Node #3: [18, 105] from Operation: 49+56=105
Current State: 87:[18, 105], Operations: ['23-5=18', '49+56=105']
Exploring Operation: 105-18=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[23, 5, 49, 56], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [23, 5, 7]
Generated Node #0,0: 87:[23, 5, 7] Operation: 56-49=7
Exploring Operation: 49+56=105, Resulting Numbers: [23, 5, 105]
Generated Node #0,1: 87:[23, 5, 105] Operation: 49+56=105
Exploring Operation: 56-23=33, Resulting Numbers: [5, 49, 33]
Generated Node #0,2: 87:[5, 49, 33] Operation: 56-23=33
Exploring Operation: 23+56=79, Resulting Numbers: [5, 49, 79]
Generated Node #0,3: 87:[5, 49, 79] Operation: 23+56=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[23, 5, 7], Operations: ['56-49=7']
Exploring Operation: 23+7=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 87:[5, 30] Operation: 23+7=30
Exploring Operation: 23+5=28, Resulting Numbers: [7, 28]
Generated Node #0,0,1: 87:[7, 28] Operation: 23+5=28
Exploring Operation: 7-5=2, Resulting Numbers: [23, 2]
Generated Node #0,0,2: 87:[23, 2] Operation: 7-5=2
Exploring Operation: 5*7=35, Resulting Numbers: [23, 35]
Generated Node #0,0,3: 87:[23, 35] Operation: 5*7=35
Moving to Node #0,0,0
Current State: 87:[5, 30], Operations: ['56-49=7', '23+7=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[7, 28], Operations: ['56-49=7', '23+5=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,87 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[23, 2], Operations: ['56-49=7', '7-5=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[23, 35], Operations: ['56-49=7', '5*7=35']
Exploring Operation: 23*35=805, Resulting Numbers: [805]
805,87 unequal: No Solution
Exploring Operation: 23+35=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[23, 5, 105], Operations: ['49+56=105']
Exploring Operation: 105-5=100, Resulting Numbers: [23, 100]
Generated Node #0,1,0: 87:[23, 100] Operation: 105-5=100
Exploring Operation: 105/5=21, Resulting Numbers: [23, 21]
Generated Node #0,1,1: 87:[23, 21] Operation: 105/5=21
Exploring Operation: 105-23=82, Resulting Numbers: [5, 82]
Generated Node #0,1,2: 87:[5, 82] Operation: 105-23=82
Exploring Operation: 23+5=28, Resulting Numbers: [105, 28]
Generated Node #0,1,3: 87:[105, 28] Operation: 23+5=28
Moving to Node #0,1,2
Current State: 87:[5, 82], Operations: ['49+56=105', '105-23=82']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,87 unequal: No Solution
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[23, 5, 49, 56], Operations: []
Exploring Operation: 49+56=105, Resulting Numbers: [23, 5, 105]
Generated Node #0,1: 87:[23, 5, 105] Operation: 49+56=105
Moving to Node #0,1
Current State: 87:[23, 5, 105], Operations: ['49+56=105']
Exploring Operation: 105-23=82, Resulting Numbers: [5, 82]
Generated Node #0,1,2: 87:[5, 82] Operation: 105-23=82
Moving to Node #0,1,2
Current State: 87:[5, 82], Operations: ['49+56=105', '105-23=82']
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
53,
92,
10,
34
] | 56 | [
"92+10=102",
"102/34=3",
"53+3=56"
] | Current State: 56:[53, 92, 10, 34], Operations: []
Exploring Operation: 92+10=102, Resulting Numbers: [53, 34, 102]
Generated Node #2: [53, 34, 102] from Operation: 92+10=102
Current State: 56:[53, 34, 102], Operations: ['92+10=102']
Exploring Operation: 102/34=3, Resulting Numbers: [53, 3]
Generated Node #3: [53, 3] from Operation: 102/34=3
Current State: 56:[53, 3], Operations: ['92+10=102', '102/34=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[53, 92, 10, 34], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [10, 34, 39]
Generated Node #0,0: 56:[10, 34, 39] Operation: 92-53=39
Exploring Operation: 92-34=58, Resulting Numbers: [53, 10, 58]
Generated Node #0,1: 56:[53, 10, 58] Operation: 92-34=58
Moving to Node #0,1
Current State: 56:[53, 10, 58], Operations: ['92-34=58']
Exploring Operation: 53+10=63, Resulting Numbers: [58, 63]
Generated Node #0,1,0: 56:[58, 63] Operation: 53+10=63
Exploring Operation: 58-53=5, Resulting Numbers: [10, 5]
Generated Node #0,1,1: 56:[10, 5] Operation: 58-53=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[10, 5], Operations: ['92-34=58', '58-53=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[58, 63], Operations: ['92-34=58', '53+10=63']
Exploring Operation: 58+63=121, Resulting Numbers: [121]
121,56 unequal: No Solution
Exploring Operation: 63-58=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 56:[10, 34, 39], Operations: ['92-53=39']
Exploring Operation: 39-10=29, Resulting Numbers: [34, 29]
Generated Node #0,0,0: 56:[34, 29] Operation: 39-10=29
Exploring Operation: 39-34=5, Resulting Numbers: [10, 5]
Generated Node #0,0,1: 56:[10, 5] Operation: 39-34=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[10, 5], Operations: ['92-53=39', '39-34=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[34, 29], Operations: ['92-53=39', '39-10=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
93,
93,
79
] | 82 | [
"93-25=68",
"93-79=14",
"68+14=82"
] | Current State: 82:[25, 93, 93, 79], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [79, 68]
Generated Node #2: [79, 68] from Operation: 93-25=68
Current State: 82:[79, 68], Operations: ['93-25=68']
Exploring Operation: 93-79=14, Resulting Numbers: [68, 14]
Generated Node #3: [68, 14] from Operation: 93-79=14
Current State: 82:[68, 14], Operations: ['93-25=68', '93-79=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[25, 93, 93, 79], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [93, 79, 68]
Generated Node #0,0: 82:[93, 79, 68] Operation: 93-25=68
Exploring Operation: 93-25=68, Resulting Numbers: [93, 79, 68]
Generated Node #0,1: 82:[93, 79, 68] Operation: 93-25=68
Exploring Operation: 93-93=0, Resulting Numbers: [25, 79, 0]
Generated Node #0,2: 82:[25, 79, 0] Operation: 93-93=0
Exploring Operation: 93/93=1, Resulting Numbers: [25, 79, 1]
Generated Node #0,3: 82:[25, 79, 1] Operation: 93/93=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[25, 79, 1], Operations: ['93/93=1']
Exploring Operation: 79-25=54, Resulting Numbers: [1, 54]
Generated Node #0,3,0: 82:[1, 54] Operation: 79-25=54
Exploring Operation: 79+1=80, Resulting Numbers: [25, 80]
Generated Node #0,3,1: 82:[25, 80] Operation: 79+1=80
Exploring Operation: 25*1=25, Resulting Numbers: [79, 25]
Generated Node #0,3,2: 82:[79, 25] Operation: 25*1=25
Exploring Operation: 25+1=26, Resulting Numbers: [79, 26]
Generated Node #0,3,3: 82:[79, 26] Operation: 25+1=26
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[1, 54], Operations: ['93/93=1', '79-25=54']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[25, 80], Operations: ['93/93=1', '79+1=80']
Exploring Operation: 25*80=2000, Resulting Numbers: [2000]
2000,82 unequal: No Solution
Exploring Operation: 25+80=105, Resulting Numbers: [105]
105,82 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[79, 26], Operations: ['93/93=1', '25+1=26']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,82 unequal: No Solution
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[79, 25], Operations: ['93/93=1', '25*1=25']
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,82 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[25, 79, 0], Operations: ['93-93=0']
Exploring Operation: 25*0=0, Resulting Numbers: [79, 0]
Generated Node #0,2,0: 82:[79, 0] Operation: 25*0=0
Exploring Operation: 79*0=0, Resulting Numbers: [25, 0]
Generated Node #0,2,1: 82:[25, 0] Operation: 79*0=0
Exploring Operation: 25+0=25, Resulting Numbers: [79, 25]
Generated Node #0,2,2: 82:[79, 25] Operation: 25+0=25
Exploring Operation: 79-25=54, Resulting Numbers: [0, 54]
Generated Node #0,2,3: 82:[0, 54] Operation: 79-25=54
Moving to Node #0,2,0
Current State: 82:[79, 0], Operations: ['93-93=0', '25*0=0']
Exploring Operation: 79-0=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 79+0=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 79*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[0, 54], Operations: ['93-93=0', '79-25=54']
Exploring Operation: 0+54=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 0*54=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[25, 0], Operations: ['93-93=0', '79*0=0']
Exploring Operation: 25+0=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Exploring Operation: 25*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 25-0=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[79, 25], Operations: ['93-93=0', '25+0=25']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,82 unequal: No Solution
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[93, 79, 68], Operations: ['93-25=68']
Exploring Operation: 79+68=147, Resulting Numbers: [93, 147]
Generated Node #0,0,0: 82:[93, 147] Operation: 79+68=147
Exploring Operation: 93-79=14, Resulting Numbers: [68, 14]
Generated Node #0,0,1: 82:[68, 14] Operation: 93-79=14
Exploring Operation: 93-68=25, Resulting Numbers: [79, 25]
Generated Node #0,0,2: 82:[79, 25] Operation: 93-68=25
Exploring Operation: 79-68=11, Resulting Numbers: [93, 11]
Generated Node #0,0,3: 82:[93, 11] Operation: 79-68=11
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[79, 25], Operations: ['93-25=68', '93-68=25']
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,82 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[93, 11], Operations: ['93-25=68', '79-68=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[25, 93, 93, 79], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [93, 79, 68]
Generated Node #0,0: 82:[93, 79, 68] Operation: 93-25=68
Moving to Node #0,0
Current State: 82:[93, 79, 68], Operations: ['93-25=68']
Exploring Operation: 79-68=11, Resulting Numbers: [93, 11]
Generated Node #0,0,3: 82:[93, 11] Operation: 79-68=11
Moving to Node #0,0,3
Current State: 82:[93, 11], Operations: ['93-25=68', '79-68=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
39,
7,
7,
10
] | 100 | [
"7*7=49",
"49-39=10",
"10*10=100"
] | Current State: 100:[39, 7, 7, 10], Operations: []
Exploring Operation: 7*7=49, Resulting Numbers: [39, 10, 49]
Generated Node #2: [39, 10, 49] from Operation: 7*7=49
Current State: 100:[39, 10, 49], Operations: ['7*7=49']
Exploring Operation: 49-39=10, Resulting Numbers: [10, 10]
Generated Node #3: [10, 10] from Operation: 49-39=10
Current State: 100:[10, 10], Operations: ['7*7=49', '49-39=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[39, 7, 7, 10], Operations: []
Exploring Operation: 39+10=49, Resulting Numbers: [7, 7, 49]
Generated Node #0,0: 100:[7, 7, 49] Operation: 39+10=49
Moving to Node #0,0
Current State: 100:[7, 7, 49], Operations: ['39+10=49']
Exploring Operation: 7*7=49, Resulting Numbers: [49, 49]
Generated Node #0,0,0: 100:[49, 49] Operation: 7*7=49
Moving to Node #0,0,0
Current State: 100:[49, 49], Operations: ['39+10=49', '7*7=49']
Exploring Operation: 49/49=1, Resulting Numbers: [1]
1,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
34,
21,
8
] | 23 | [
"34-30=4",
"8/4=2",
"21+2=23"
] | Current State: 23:[30, 34, 21, 8], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [21, 8, 4]
Generated Node #2: [21, 8, 4] from Operation: 34-30=4
Current State: 23:[21, 8, 4], Operations: ['34-30=4']
Exploring Operation: 8/4=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 8/4=2
Current State: 23:[21, 2], Operations: ['34-30=4', '8/4=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[30, 34, 21, 8], Operations: []
Exploring Operation: 30+8=38, Resulting Numbers: [34, 21, 38]
Generated Node #0,0: 23:[34, 21, 38] Operation: 30+8=38
Exploring Operation: 30-8=22, Resulting Numbers: [34, 21, 22]
Generated Node #0,1: 23:[34, 21, 22] Operation: 30-8=22
Exploring Operation: 34-8=26, Resulting Numbers: [30, 21, 26]
Generated Node #0,2: 23:[30, 21, 26] Operation: 34-8=26
Exploring Operation: 21+8=29, Resulting Numbers: [30, 34, 29]
Generated Node #0,3: 23:[30, 34, 29] Operation: 21+8=29
Moving to Node #0,2
Current State: 23:[30, 21, 26], Operations: ['34-8=26']
Exploring Operation: 30-26=4, Resulting Numbers: [21, 4]
Generated Node #0,2,0: 23:[21, 4] Operation: 30-26=4
Exploring Operation: 26-21=5, Resulting Numbers: [30, 5]
Generated Node #0,2,1: 23:[30, 5] Operation: 26-21=5
Exploring Operation: 30-21=9, Resulting Numbers: [26, 9]
Generated Node #0,2,2: 23:[26, 9] Operation: 30-21=9
Exploring Operation: 30+21=51, Resulting Numbers: [26, 51]
Generated Node #0,2,3: 23:[26, 51] Operation: 30+21=51
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[26, 9], Operations: ['34-8=26', '30-21=9']
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,23 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[21, 4], Operations: ['34-8=26', '30-26=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[30, 5], Operations: ['34-8=26', '26-21=5']
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[26, 51], Operations: ['34-8=26', '30+21=51']
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,23 unequal: No Solution
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 23:[34, 21, 22], Operations: ['30-8=22']
Exploring Operation: 34+21=55, Resulting Numbers: [22, 55]
Generated Node #0,1,0: 23:[22, 55] Operation: 34+21=55
Exploring Operation: 21+22=43, Resulting Numbers: [34, 43]
Generated Node #0,1,1: 23:[34, 43] Operation: 21+22=43
Exploring Operation: 34-22=12, Resulting Numbers: [21, 12]
Generated Node #0,1,2: 23:[21, 12] Operation: 34-22=12
Exploring Operation: 34-21=13, Resulting Numbers: [22, 13]
Generated Node #0,1,3: 23:[22, 13] Operation: 34-21=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 23:[22, 13], Operations: ['30-8=22', '34-21=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[21, 12], Operations: ['30-8=22', '34-22=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[34, 43], Operations: ['30-8=22', '21+22=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,23 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[22, 55], Operations: ['30-8=22', '34+21=55']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,23 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 23:[30, 34, 29], Operations: ['21+8=29']
Exploring Operation: 30+34=64, Resulting Numbers: [29, 64]
Generated Node #0,3,0: 23:[29, 64] Operation: 30+34=64
Exploring Operation: 30-29=1, Resulting Numbers: [34, 1]
Generated Node #0,3,1: 23:[34, 1] Operation: 30-29=1
Exploring Operation: 34-30=4, Resulting Numbers: [29, 4]
Generated Node #0,3,2: 23:[29, 4] Operation: 34-30=4
Exploring Operation: 34-29=5, Resulting Numbers: [30, 5]
Generated Node #0,3,3: 23:[30, 5] Operation: 34-29=5
Moving to Node #0,0
Current State: 23:[34, 21, 38], Operations: ['30+8=38']
Exploring Operation: 34-21=13, Resulting Numbers: [38, 13]
Generated Node #0,0,0: 23:[38, 13] Operation: 34-21=13
Exploring Operation: 38-21=17, Resulting Numbers: [34, 17]
Generated Node #0,0,1: 23:[34, 17] Operation: 38-21=17
Exploring Operation: 34+21=55, Resulting Numbers: [38, 55]
Generated Node #0,0,2: 23:[38, 55] Operation: 34+21=55
Exploring Operation: 38-34=4, Resulting Numbers: [21, 4]
Generated Node #0,0,3: 23:[21, 4] Operation: 38-34=4
Moving to Node #0,0,1
Current State: 23:[34, 17], Operations: ['30+8=38', '38-21=17']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 34*17=578, Resulting Numbers: [578]
578,23 unequal: No Solution
Exploring Operation: 34+17=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[21, 4], Operations: ['30+8=38', '38-34=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[38, 13], Operations: ['30+8=38', '34-21=13']
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,23 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[29, 4], Operations: ['21+8=29', '34-30=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,23 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[30, 5], Operations: ['21+8=29', '34-29=5']
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,23 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[34, 1], Operations: ['21+8=29', '30-29=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[29, 64], Operations: ['21+8=29', '30+34=64']
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,23 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[38, 55], Operations: ['30+8=38', '34+21=55']
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,23 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,23 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
13,
19,
3,
75
] | 73 | [
"19-13=6",
"6/3=2",
"75-2=73"
] | Current State: 73:[13, 19, 3, 75], Operations: []
Exploring Operation: 19-13=6, Resulting Numbers: [3, 75, 6]
Generated Node #2: [3, 75, 6] from Operation: 19-13=6
Current State: 73:[3, 75, 6], Operations: ['19-13=6']
Exploring Operation: 6/3=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 6/3=2
Current State: 73:[75, 2], Operations: ['19-13=6', '6/3=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[13, 19, 3, 75], Operations: []
Exploring Operation: 13*3=39, Resulting Numbers: [19, 75, 39]
Generated Node #0,0: 73:[19, 75, 39] Operation: 13*3=39
Exploring Operation: 19*3=57, Resulting Numbers: [13, 75, 57]
Generated Node #0,1: 73:[13, 75, 57] Operation: 19*3=57
Exploring Operation: 13+19=32, Resulting Numbers: [3, 75, 32]
Generated Node #0,2: 73:[3, 75, 32] Operation: 13+19=32
Exploring Operation: 13+3=16, Resulting Numbers: [19, 75, 16]
Generated Node #0,3: 73:[19, 75, 16] Operation: 13+3=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[13, 75, 57], Operations: ['19*3=57']
Exploring Operation: 75-13=62, Resulting Numbers: [57, 62]
Generated Node #0,1,0: 73:[57, 62] Operation: 75-13=62
Exploring Operation: 57-13=44, Resulting Numbers: [75, 44]
Generated Node #0,1,1: 73:[75, 44] Operation: 57-13=44
Exploring Operation: 13+75=88, Resulting Numbers: [57, 88]
Generated Node #0,1,2: 73:[57, 88] Operation: 13+75=88
Exploring Operation: 13+57=70, Resulting Numbers: [75, 70]
Generated Node #0,1,3: 73:[75, 70] Operation: 13+57=70
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[75, 70], Operations: ['19*3=57', '13+57=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,73 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[57, 62], Operations: ['19*3=57', '75-13=62']
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 57*62=3534, Resulting Numbers: [3534]
3534,73 unequal: No Solution
Exploring Operation: 57+62=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[75, 44], Operations: ['19*3=57', '57-13=44']
Exploring Operation: 75*44=3300, Resulting Numbers: [3300]
3300,73 unequal: No Solution
Exploring Operation: 75+44=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[57, 88], Operations: ['19*3=57', '13+75=88']
Exploring Operation: 57*88=5016, Resulting Numbers: [5016]
5016,73 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 57+88=145, Resulting Numbers: [145]
145,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[19, 75, 39], Operations: ['13*3=39']
Exploring Operation: 19+75=94, Resulting Numbers: [39, 94]
Generated Node #0,0,0: 73:[39, 94] Operation: 19+75=94
Exploring Operation: 19+39=58, Resulting Numbers: [75, 58]
Generated Node #0,0,1: 73:[75, 58] Operation: 19+39=58
Exploring Operation: 39-19=20, Resulting Numbers: [75, 20]
Generated Node #0,0,2: 73:[75, 20] Operation: 39-19=20
Exploring Operation: 75-19=56, Resulting Numbers: [39, 56]
Generated Node #0,0,3: 73:[39, 56] Operation: 75-19=56
Moving to Node #0,0,1
Current State: 73:[75, 58], Operations: ['13*3=39', '19+39=58']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,73 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[39, 56], Operations: ['13*3=39', '75-19=56']
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[75, 20], Operations: ['13*3=39', '39-19=20']
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[39, 94], Operations: ['13*3=39', '19+75=94']
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[3, 75, 32], Operations: ['13+19=32']
Exploring Operation: 75-3=72, Resulting Numbers: [32, 72]
Generated Node #0,2,0: 73:[32, 72] Operation: 75-3=72
Exploring Operation: 3*32=96, Resulting Numbers: [75, 96]
Generated Node #0,2,1: 73:[75, 96] Operation: 3*32=96
Exploring Operation: 3+75=78, Resulting Numbers: [32, 78]
Generated Node #0,2,2: 73:[32, 78] Operation: 3+75=78
Exploring Operation: 3+32=35, Resulting Numbers: [75, 35]
Generated Node #0,2,3: 73:[75, 35] Operation: 3+32=35
Moving to Node #0,2,1
Current State: 73:[75, 96], Operations: ['13+19=32', '3*32=96']
Exploring Operation: 96-75=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 75+96=171, Resulting Numbers: [171]
171,73 unequal: No Solution
Exploring Operation: 75*96=7200, Resulting Numbers: [7200]
7200,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[75, 35], Operations: ['13+19=32', '3+32=35']
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,73 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[32, 72], Operations: ['13+19=32', '75-3=72']
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,73 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[32, 78], Operations: ['13+19=32', '3+75=78']
Exploring Operation: 32+78=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 32*78=2496, Resulting Numbers: [2496]
2496,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[19, 75, 16], Operations: ['13+3=16']
Exploring Operation: 19+16=35, Resulting Numbers: [75, 35]
Generated Node #0,3,0: 73:[75, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [75, 3]
Generated Node #0,3,1: 73:[75, 3] Operation: 19-16=3
Exploring Operation: 75-16=59, Resulting Numbers: [19, 59]
Generated Node #0,3,2: 73:[19, 59] Operation: 75-16=59
Exploring Operation: 75+16=91, Resulting Numbers: [19, 91]
Generated Node #0,3,3: 73:[19, 91] Operation: 75+16=91
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[75, 35], Operations: ['13+3=16', '19+16=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[19, 59], Operations: ['13+3=16', '75-16=59']
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,73 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[75, 3], Operations: ['13+3=16', '19-16=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,73 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,73 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[19, 91], Operations: ['13+3=16', '75+16=91']
Exploring Operation: 19+91=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 19*91=1729, Resulting Numbers: [1729]
1729,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
34,
55,
78
] | 21 | [
"34/17=2",
"78-55=23",
"23-2=21"
] | Current State: 21:[17, 34, 55, 78], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [55, 78, 2]
Generated Node #2: [55, 78, 2] from Operation: 34/17=2
Current State: 21:[55, 78, 2], Operations: ['34/17=2']
Exploring Operation: 78-55=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 78-55=23
Current State: 21:[2, 23], Operations: ['34/17=2', '78-55=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[17, 34, 55, 78], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [17, 34, 23]
Generated Node #0,0: 21:[17, 34, 23] Operation: 78-55=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[17, 34, 23], Operations: ['78-55=23']
Exploring Operation: 34/17=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 21:[23, 2] Operation: 34/17=2
Moving to Node #0,0,0
Current State: 21:[23, 2], Operations: ['78-55=23', '34/17=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[17, 34, 55, 78], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [17, 34, 23]
Generated Node #0,0: 21:[17, 34, 23] Operation: 78-55=23
Moving to Node #0,0
Current State: 21:[17, 34, 23], Operations: ['78-55=23']
Exploring Operation: 34/17=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 21:[23, 2] Operation: 34/17=2
Moving to Node #0,0,0
Current State: 21:[23, 2], Operations: ['78-55=23', '34/17=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
22,
44,
8,
34
] | 30 | [
"44/22=2",
"8/2=4",
"34-4=30"
] | Current State: 30:[22, 44, 8, 34], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [8, 34, 2]
Generated Node #2: [8, 34, 2] from Operation: 44/22=2
Current State: 30:[8, 34, 2], Operations: ['44/22=2']
Exploring Operation: 8/2=4, Resulting Numbers: [34, 4]
Generated Node #3: [34, 4] from Operation: 8/2=4
Current State: 30:[34, 4], Operations: ['44/22=2', '8/2=4']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[22, 44, 8, 34], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [8, 34, 2]
Generated Node #0,0: 30:[8, 34, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[8, 34, 2], Operations: ['44/22=2']
Exploring Operation: 34-8=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 30:[2, 26] Operation: 34-8=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[2, 26], Operations: ['44/22=2', '34-8=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
80,
77,
73
] | 52 | [
"77-73=4",
"33*4=132",
"132-80=52"
] | Current State: 52:[33, 80, 77, 73], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [33, 80, 4]
Generated Node #2: [33, 80, 4] from Operation: 77-73=4
Current State: 52:[33, 80, 4], Operations: ['77-73=4']
Exploring Operation: 33*4=132, Resulting Numbers: [80, 132]
Generated Node #3: [80, 132] from Operation: 33*4=132
Current State: 52:[80, 132], Operations: ['77-73=4', '33*4=132']
Exploring Operation: 132-80=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[33, 80, 77, 73], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [33, 77, 7]
Generated Node #0,0: 52:[33, 77, 7] Operation: 80-73=7
Exploring Operation: 77-73=4, Resulting Numbers: [33, 80, 4]
Generated Node #0,1: 52:[33, 80, 4] Operation: 77-73=4
Exploring Operation: 80-33=47, Resulting Numbers: [77, 73, 47]
Generated Node #0,2: 52:[77, 73, 47] Operation: 80-33=47
Exploring Operation: 80-77=3, Resulting Numbers: [33, 73, 3]
Generated Node #0,3: 52:[33, 73, 3] Operation: 80-77=3
Moving to Node #0,3
Current State: 52:[33, 73, 3], Operations: ['80-77=3']
Exploring Operation: 73-33=40, Resulting Numbers: [3, 40]
Generated Node #0,3,0: 52:[3, 40] Operation: 73-33=40
Exploring Operation: 33-3=30, Resulting Numbers: [73, 30]
Generated Node #0,3,1: 52:[73, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [73, 11]
Generated Node #0,3,2: 52:[73, 11] Operation: 33/3=11
Exploring Operation: 73-3=70, Resulting Numbers: [33, 70]
Generated Node #0,3,3: 52:[33, 70] Operation: 73-3=70
Moving to Node #0,1
Current State: 52:[33, 80, 4], Operations: ['77-73=4']
Exploring Operation: 33-4=29, Resulting Numbers: [80, 29]
Generated Node #0,1,0: 52:[80, 29] Operation: 33-4=29
Exploring Operation: 80-33=47, Resulting Numbers: [4, 47]
Generated Node #0,1,1: 52:[4, 47] Operation: 80-33=47
Exploring Operation: 80/4=20, Resulting Numbers: [33, 20]
Generated Node #0,1,2: 52:[33, 20] Operation: 80/4=20
Exploring Operation: 80-4=76, Resulting Numbers: [33, 76]
Generated Node #0,1,3: 52:[33, 76] Operation: 80-4=76
Moving to Node #0,0
Current State: 52:[33, 77, 7], Operations: ['80-73=7']
Exploring Operation: 77-7=70, Resulting Numbers: [33, 70]
Generated Node #0,0,0: 52:[33, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [33, 11]
Generated Node #0,0,1: 52:[33, 11] Operation: 77/7=11
Exploring Operation: 77-33=44, Resulting Numbers: [7, 44]
Generated Node #0,0,2: 52:[7, 44] Operation: 77-33=44
Exploring Operation: 33-7=26, Resulting Numbers: [77, 26]
Generated Node #0,0,3: 52:[77, 26] Operation: 33-7=26
Moving to Node #0,2
Current State: 52:[77, 73, 47], Operations: ['80-33=47']
Exploring Operation: 77-73=4, Resulting Numbers: [47, 4]
Generated Node #0,2,0: 52:[47, 4] Operation: 77-73=4
Exploring Operation: 77+47=124, Resulting Numbers: [73, 124]
Generated Node #0,2,1: 52:[73, 124] Operation: 77+47=124
Exploring Operation: 73-47=26, Resulting Numbers: [77, 26]
Generated Node #0,2,2: 52:[77, 26] Operation: 73-47=26
Exploring Operation: 77-47=30, Resulting Numbers: [73, 30]
Generated Node #0,2,3: 52:[73, 30] Operation: 77-47=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[47, 4], Operations: ['80-33=47', '77-73=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,52 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[77, 26], Operations: ['80-33=47', '73-47=26']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,52 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[73, 30], Operations: ['80-33=47', '77-47=30']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[73, 124], Operations: ['80-33=47', '77+47=124']
Exploring Operation: 124-73=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 73*124=9052, Resulting Numbers: [9052]
9052,52 unequal: No Solution
Exploring Operation: 73+124=197, Resulting Numbers: [197]
197,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 52:[4, 47], Operations: ['77-73=4', '80-33=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,52 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[33, 11], Operations: ['80-73=7', '77/7=11']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,52 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[7, 44], Operations: ['80-73=7', '77-33=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[33, 20], Operations: ['77-73=4', '80/4=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[3, 40], Operations: ['80-77=3', '73-33=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,52 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[73, 11], Operations: ['80-77=3', '33/3=11']
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,52 unequal: No Solution
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[73, 30], Operations: ['80-77=3', '33-3=30']
Exploring Operation: 73*30=2190, Resulting Numbers: [2190]
2190,52 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[77, 26], Operations: ['80-73=7', '33-7=26']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[33, 70], Operations: ['80-73=7', '77-7=70']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[33, 70], Operations: ['80-77=3', '73-3=70']
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,52 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[33, 76], Operations: ['77-73=4', '80-4=76']
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,52 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[80, 29], Operations: ['77-73=4', '33-4=29']
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
92,
43,
12,
35
] | 72 | [
"92-43=49",
"35-12=23",
"49+23=72"
] | Current State: 72:[92, 43, 12, 35], Operations: []
Exploring Operation: 92-43=49, Resulting Numbers: [12, 35, 49]
Generated Node #2: [12, 35, 49] from Operation: 92-43=49
Current State: 72:[12, 35, 49], Operations: ['92-43=49']
Exploring Operation: 35-12=23, Resulting Numbers: [49, 23]
Generated Node #3: [49, 23] from Operation: 35-12=23
Current State: 72:[49, 23], Operations: ['92-43=49', '35-12=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[92, 43, 12, 35], Operations: []
Exploring Operation: 92-12=80, Resulting Numbers: [43, 35, 80]
Generated Node #0,0: 72:[43, 35, 80] Operation: 92-12=80
Exploring Operation: 92-43=49, Resulting Numbers: [12, 35, 49]
Generated Node #0,1: 72:[12, 35, 49] Operation: 92-43=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[12, 35, 49], Operations: ['92-43=49']
Exploring Operation: 49-35=14, Resulting Numbers: [12, 14]
Generated Node #0,1,0: 72:[12, 14] Operation: 49-35=14
Exploring Operation: 49-12=37, Resulting Numbers: [35, 37]
Generated Node #0,1,1: 72:[35, 37] Operation: 49-12=37
Moving to Node #0,1,0
Current State: 72:[12, 14], Operations: ['92-43=49', '49-35=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[35, 37], Operations: ['92-43=49', '49-12=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[92, 43, 12, 35], Operations: []
Exploring Operation: 92-43=49, Resulting Numbers: [12, 35, 49]
Generated Node #0,1: 72:[12, 35, 49] Operation: 92-43=49
Moving to Node #0,1
Current State: 72:[12, 35, 49], Operations: ['92-43=49']
Exploring Operation: 49-12=37, Resulting Numbers: [35, 37]
Generated Node #0,1,1: 72:[35, 37] Operation: 49-12=37
Moving to Node #0,1,1
Current State: 72:[35, 37], Operations: ['92-43=49', '49-12=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
9,
52,
31,
11
] | 16 | [
"9*11=99",
"52+31=83",
"99-83=16"
] | Current State: 16:[9, 52, 31, 11], Operations: []
Exploring Operation: 9*11=99, Resulting Numbers: [52, 31, 99]
Generated Node #2: [52, 31, 99] from Operation: 9*11=99
Current State: 16:[52, 31, 99], Operations: ['9*11=99']
Exploring Operation: 52+31=83, Resulting Numbers: [99, 83]
Generated Node #3: [99, 83] from Operation: 52+31=83
Current State: 16:[99, 83], Operations: ['9*11=99', '52+31=83']
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[9, 52, 31, 11], Operations: []
Exploring Operation: 31-11=20, Resulting Numbers: [9, 52, 20]
Generated Node #0,0: 16:[9, 52, 20] Operation: 31-11=20
Exploring Operation: 52-11=41, Resulting Numbers: [9, 31, 41]
Generated Node #0,1: 16:[9, 31, 41] Operation: 52-11=41
Exploring Operation: 52-31=21, Resulting Numbers: [9, 11, 21]
Generated Node #0,2: 16:[9, 11, 21] Operation: 52-31=21
Exploring Operation: 52-9=43, Resulting Numbers: [31, 11, 43]
Generated Node #0,3: 16:[31, 11, 43] Operation: 52-9=43
Moving to Node #0,2
Current State: 16:[9, 11, 21], Operations: ['52-31=21']
Exploring Operation: 21-9=12, Resulting Numbers: [11, 12]
Generated Node #0,2,0: 16:[11, 12] Operation: 21-9=12
Exploring Operation: 11-9=2, Resulting Numbers: [21, 2]
Generated Node #0,2,1: 16:[21, 2] Operation: 11-9=2
Exploring Operation: 21-11=10, Resulting Numbers: [9, 10]
Generated Node #0,2,2: 16:[9, 10] Operation: 21-11=10
Exploring Operation: 9+11=20, Resulting Numbers: [21, 20]
Generated Node #0,2,3: 16:[21, 20] Operation: 9+11=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[9, 10], Operations: ['52-31=21', '21-11=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[21, 2], Operations: ['52-31=21', '11-9=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[11, 12], Operations: ['52-31=21', '21-9=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[21, 20], Operations: ['52-31=21', '9+11=20']
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,16 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[9, 31, 41], Operations: ['52-11=41']
Exploring Operation: 41-9=32, Resulting Numbers: [31, 32]
Generated Node #0,1,0: 16:[31, 32] Operation: 41-9=32
Exploring Operation: 9+31=40, Resulting Numbers: [41, 40]
Generated Node #0,1,1: 16:[41, 40] Operation: 9+31=40
Exploring Operation: 41-31=10, Resulting Numbers: [9, 10]
Generated Node #0,1,2: 16:[9, 10] Operation: 41-31=10
Exploring Operation: 31-9=22, Resulting Numbers: [41, 22]
Generated Node #0,1,3: 16:[41, 22] Operation: 31-9=22
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[9, 10], Operations: ['52-11=41', '41-31=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[31, 32], Operations: ['52-11=41', '41-9=32']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[41, 22], Operations: ['52-11=41', '31-9=22']
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,16 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[41, 40], Operations: ['52-11=41', '9+31=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,16 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[9, 52, 20], Operations: ['31-11=20']
Exploring Operation: 9+52=61, Resulting Numbers: [20, 61]
Generated Node #0,0,0: 16:[20, 61] Operation: 9+52=61
Exploring Operation: 52-9=43, Resulting Numbers: [20, 43]
Generated Node #0,0,1: 16:[20, 43] Operation: 52-9=43
Exploring Operation: 52-20=32, Resulting Numbers: [9, 32]
Generated Node #0,0,2: 16:[9, 32] Operation: 52-20=32
Exploring Operation: 20-9=11, Resulting Numbers: [52, 11]
Generated Node #0,0,3: 16:[52, 11] Operation: 20-9=11
Moving to Node #0,3
Current State: 16:[31, 11, 43], Operations: ['52-9=43']
Exploring Operation: 31-11=20, Resulting Numbers: [43, 20]
Generated Node #0,3,0: 16:[43, 20] Operation: 31-11=20
Exploring Operation: 43-31=12, Resulting Numbers: [11, 12]
Generated Node #0,3,1: 16:[11, 12] Operation: 43-31=12
Exploring Operation: 31+11=42, Resulting Numbers: [43, 42]
Generated Node #0,3,2: 16:[43, 42] Operation: 31+11=42
Exploring Operation: 43-11=32, Resulting Numbers: [31, 32]
Generated Node #0,3,3: 16:[31, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 16:[11, 12], Operations: ['52-9=43', '43-31=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[43, 20], Operations: ['52-9=43', '31-11=20']
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 16:[31, 32], Operations: ['52-9=43', '43-11=32']
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 16:[43, 42], Operations: ['52-9=43', '31+11=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 16:[9, 32], Operations: ['31-11=20', '52-20=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[20, 43], Operations: ['31-11=20', '52-9=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,16 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[52, 11], Operations: ['31-11=20', '20-9=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[20, 61], Operations: ['31-11=20', '9+52=61']
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,16 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,16 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
3,
62,
50,
47
] | 32 | [
"3+62=65",
"50+47=97",
"97-65=32"
] | Current State: 32:[3, 62, 50, 47], Operations: []
Exploring Operation: 3+62=65, Resulting Numbers: [50, 47, 65]
Generated Node #2: [50, 47, 65] from Operation: 3+62=65
Current State: 32:[50, 47, 65], Operations: ['3+62=65']
Exploring Operation: 50+47=97, Resulting Numbers: [65, 97]
Generated Node #3: [65, 97] from Operation: 50+47=97
Current State: 32:[65, 97], Operations: ['3+62=65', '50+47=97']
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[3, 62, 50, 47], Operations: []
Exploring Operation: 50-3=47, Resulting Numbers: [62, 47, 47]
Generated Node #0,0: 32:[62, 47, 47] Operation: 50-3=47
Exploring Operation: 62-47=15, Resulting Numbers: [3, 50, 15]
Generated Node #0,1: 32:[3, 50, 15] Operation: 62-47=15
Exploring Operation: 50-47=3, Resulting Numbers: [3, 62, 3]
Generated Node #0,2: 32:[3, 62, 3] Operation: 50-47=3
Exploring Operation: 62-3=59, Resulting Numbers: [50, 47, 59]
Generated Node #0,3: 32:[50, 47, 59] Operation: 62-3=59
Exploring Operation: 62-50=12, Resulting Numbers: [3, 47, 12]
Generated Node #0,4: 32:[3, 47, 12] Operation: 62-50=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[3, 50, 15], Operations: ['62-47=15']
Exploring Operation: 50-15=35, Resulting Numbers: [3, 35]
Generated Node #0,1,0: 32:[3, 35] Operation: 50-15=35
Exploring Operation: 3+15=18, Resulting Numbers: [50, 18]
Generated Node #0,1,1: 32:[50, 18] Operation: 3+15=18
Exploring Operation: 50-3=47, Resulting Numbers: [15, 47]
Generated Node #0,1,2: 32:[15, 47] Operation: 50-3=47
Exploring Operation: 3+50=53, Resulting Numbers: [15, 53]
Generated Node #0,1,3: 32:[15, 53] Operation: 3+50=53
Exploring Operation: 15/3=5, Resulting Numbers: [50, 5]
Generated Node #0,1,4: 32:[50, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[3, 35], Operations: ['62-47=15', '50-15=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[3, 62, 50, 47], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [3, 50, 15]
Generated Node #0,1: 32:[3, 50, 15] Operation: 62-47=15
Moving to Node #0,1
Current State: 32:[3, 50, 15], Operations: ['62-47=15']
Exploring Operation: 50-15=35, Resulting Numbers: [3, 35]
Generated Node #0,1,0: 32:[3, 35] Operation: 50-15=35
Moving to Node #0,1,0
Current State: 32:[3, 35], Operations: ['62-47=15', '50-15=35']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
95,
82,
4,
81
] | 26 | [
"95-81=14",
"4*14=56",
"82-56=26"
] | Current State: 26:[95, 82, 4, 81], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [82, 4, 14]
Generated Node #2: [82, 4, 14] from Operation: 95-81=14
Current State: 26:[82, 4, 14], Operations: ['95-81=14']
Exploring Operation: 4*14=56, Resulting Numbers: [82, 56]
Generated Node #3: [82, 56] from Operation: 4*14=56
Current State: 26:[82, 56], Operations: ['95-81=14', '4*14=56']
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[95, 82, 4, 81], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [82, 4, 14]
Generated Node #0,0: 26:[82, 4, 14] Operation: 95-81=14
Exploring Operation: 95-82=13, Resulting Numbers: [4, 81, 13]
Generated Node #0,1: 26:[4, 81, 13] Operation: 95-82=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[4, 81, 13], Operations: ['95-82=13']
Exploring Operation: 81-13=68, Resulting Numbers: [4, 68]
Generated Node #0,1,0: 26:[4, 68] Operation: 81-13=68
Exploring Operation: 81-4=77, Resulting Numbers: [13, 77]
Generated Node #0,1,1: 26:[13, 77] Operation: 81-4=77
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[4, 68], Operations: ['95-82=13', '81-13=68']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[13, 77], Operations: ['95-82=13', '81-4=77']
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[82, 4, 14], Operations: ['95-81=14']
Exploring Operation: 82-14=68, Resulting Numbers: [4, 68]
Generated Node #0,0,0: 26:[4, 68] Operation: 82-14=68
Exploring Operation: 82-4=78, Resulting Numbers: [14, 78]
Generated Node #0,0,1: 26:[14, 78] Operation: 82-4=78
Moving to Node #0,0,0
Current State: 26:[4, 68], Operations: ['95-81=14', '82-14=68']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[14, 78], Operations: ['95-81=14', '82-4=78']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
44,
89,
2
] | 81 | [
"63*2=126",
"89-44=45",
"126-45=81"
] | Current State: 81:[63, 44, 89, 2], Operations: []
Exploring Operation: 63*2=126, Resulting Numbers: [44, 89, 126]
Generated Node #2: [44, 89, 126] from Operation: 63*2=126
Current State: 81:[44, 89, 126], Operations: ['63*2=126']
Exploring Operation: 89-44=45, Resulting Numbers: [126, 45]
Generated Node #3: [126, 45] from Operation: 89-44=45
Current State: 81:[126, 45], Operations: ['63*2=126', '89-44=45']
Exploring Operation: 126-45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[63, 44, 89, 2], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [89, 2, 19]
Generated Node #0,0: 81:[89, 2, 19] Operation: 63-44=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[89, 2, 19], Operations: ['63-44=19']
Exploring Operation: 89-19=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 81:[2, 70] Operation: 89-19=70
Moving to Node #0,0,0
Current State: 81:[2, 70], Operations: ['63-44=19', '89-19=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
25,
92,
71
] | 91 | [
"95-25=70",
"92-71=21",
"70+21=91"
] | Current State: 91:[95, 25, 92, 71], Operations: []
Exploring Operation: 95-25=70, Resulting Numbers: [92, 71, 70]
Generated Node #2: [92, 71, 70] from Operation: 95-25=70
Current State: 91:[92, 71, 70], Operations: ['95-25=70']
Exploring Operation: 92-71=21, Resulting Numbers: [70, 21]
Generated Node #3: [70, 21] from Operation: 92-71=21
Current State: 91:[70, 21], Operations: ['95-25=70', '92-71=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[95, 25, 92, 71], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [25, 71, 3]
Generated Node #0,0: 91:[25, 71, 3] Operation: 95-92=3
Exploring Operation: 95-71=24, Resulting Numbers: [25, 92, 24]
Generated Node #0,1: 91:[25, 92, 24] Operation: 95-71=24
Exploring Operation: 25+71=96, Resulting Numbers: [95, 92, 96]
Generated Node #0,2: 91:[95, 92, 96] Operation: 25+71=96
Exploring Operation: 92-71=21, Resulting Numbers: [95, 25, 21]
Generated Node #0,3: 91:[95, 25, 21] Operation: 92-71=21
Exploring Operation: 71-25=46, Resulting Numbers: [95, 92, 46]
Generated Node #0,4: 91:[95, 92, 46] Operation: 71-25=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[95, 92, 96], Operations: ['25+71=96']
Exploring Operation: 96-95=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 91:[92, 1] Operation: 96-95=1
Exploring Operation: 95+96=191, Resulting Numbers: [92, 191]
Generated Node #0,2,1: 91:[92, 191] Operation: 95+96=191
Exploring Operation: 95+92=187, Resulting Numbers: [96, 187]
Generated Node #0,2,2: 91:[96, 187] Operation: 95+92=187
Exploring Operation: 96-92=4, Resulting Numbers: [95, 4]
Generated Node #0,2,3: 91:[95, 4] Operation: 96-92=4
Exploring Operation: 95-92=3, Resulting Numbers: [96, 3]
Generated Node #0,2,4: 91:[96, 3] Operation: 95-92=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[92, 1], Operations: ['25+71=96', '96-95=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[95, 25, 92, 71], Operations: []
Exploring Operation: 25+71=96, Resulting Numbers: [95, 92, 96]
Generated Node #0,2: 91:[95, 92, 96] Operation: 25+71=96
Moving to Node #0,2
Current State: 91:[95, 92, 96], Operations: ['25+71=96']
Exploring Operation: 96-95=1, Resulting Numbers: [92, 1]
Generated Node #0,2,0: 91:[92, 1] Operation: 96-95=1
Moving to Node #0,2,0
Current State: 91:[92, 1], Operations: ['25+71=96', '96-95=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
99,
43,
52,
10
] | 49 | [
"43-10=33",
"99/33=3",
"52-3=49"
] | Current State: 49:[99, 43, 52, 10], Operations: []
Exploring Operation: 43-10=33, Resulting Numbers: [99, 52, 33]
Generated Node #2: [99, 52, 33] from Operation: 43-10=33
Current State: 49:[99, 52, 33], Operations: ['43-10=33']
Exploring Operation: 99/33=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 99/33=3
Current State: 49:[52, 3], Operations: ['43-10=33', '99/33=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[99, 43, 52, 10], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [52, 10, 56]
Generated Node #0,0: 49:[52, 10, 56] Operation: 99-43=56
Exploring Operation: 99-52=47, Resulting Numbers: [43, 10, 47]
Generated Node #0,1: 49:[43, 10, 47] Operation: 99-52=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[43, 10, 47], Operations: ['99-52=47']
Exploring Operation: 43+10=53, Resulting Numbers: [47, 53]
Generated Node #0,1,0: 49:[47, 53] Operation: 43+10=53
Exploring Operation: 47-43=4, Resulting Numbers: [10, 4]
Generated Node #0,1,1: 49:[10, 4] Operation: 47-43=4
Moving to Node #0,1,0
Current State: 49:[47, 53], Operations: ['99-52=47', '43+10=53']
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[10, 4], Operations: ['99-52=47', '47-43=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[52, 10, 56], Operations: ['99-43=56']
Exploring Operation: 56-10=46, Resulting Numbers: [52, 46]
Generated Node #0,0,0: 49:[52, 46] Operation: 56-10=46
Exploring Operation: 56-52=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 49:[10, 4] Operation: 56-52=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[52, 46], Operations: ['99-43=56', '56-10=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[10, 4], Operations: ['99-43=56', '56-52=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
65,
45,
2
] | 90 | [
"72+65=137",
"45+2=47",
"137-47=90"
] | Current State: 90:[72, 65, 45, 2], Operations: []
Exploring Operation: 72+65=137, Resulting Numbers: [45, 2, 137]
Generated Node #2: [45, 2, 137] from Operation: 72+65=137
Current State: 90:[45, 2, 137], Operations: ['72+65=137']
Exploring Operation: 45+2=47, Resulting Numbers: [137, 47]
Generated Node #3: [137, 47] from Operation: 45+2=47
Current State: 90:[137, 47], Operations: ['72+65=137', '45+2=47']
Exploring Operation: 137-47=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[72, 65, 45, 2], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [72, 2, 20]
Generated Node #0,0: 90:[72, 2, 20] Operation: 65-45=20
Exploring Operation: 72-45=27, Resulting Numbers: [65, 2, 27]
Generated Node #0,1: 90:[65, 2, 27] Operation: 72-45=27
Exploring Operation: 72/2=36, Resulting Numbers: [65, 45, 36]
Generated Node #0,2: 90:[65, 45, 36] Operation: 72/2=36
Exploring Operation: 72+2=74, Resulting Numbers: [65, 45, 74]
Generated Node #0,3: 90:[65, 45, 74] Operation: 72+2=74
Exploring Operation: 72-65=7, Resulting Numbers: [45, 2, 7]
Generated Node #0,4: 90:[45, 2, 7] Operation: 72-65=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[45, 2, 7], Operations: ['72-65=7']
Exploring Operation: 2+7=9, Resulting Numbers: [45, 9]
Generated Node #0,4,0: 90:[45, 9] Operation: 2+7=9
Exploring Operation: 2*7=14, Resulting Numbers: [45, 14]
Generated Node #0,4,1: 90:[45, 14] Operation: 2*7=14
Exploring Operation: 45+2=47, Resulting Numbers: [7, 47]
Generated Node #0,4,2: 90:[7, 47] Operation: 45+2=47
Exploring Operation: 7-2=5, Resulting Numbers: [45, 5]
Generated Node #0,4,3: 90:[45, 5] Operation: 7-2=5
Exploring Operation: 45*2=90, Resulting Numbers: [7, 90]
Generated Node #0,4,4: 90:[7, 90] Operation: 45*2=90
Moving to Node #0,4,0
Current State: 90:[45, 9], Operations: ['72-65=7', '2+7=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,90 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[45, 5], Operations: ['72-65=7', '7-2=5']
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[45, 14], Operations: ['72-65=7', '2*7=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[7, 90], Operations: ['72-65=7', '45*2=90']
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,90 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[7, 47], Operations: ['72-65=7', '45+2=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,90 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[72, 2, 20], Operations: ['65-45=20']
Exploring Operation: 72-20=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 90:[2, 52] Operation: 72-20=52
Exploring Operation: 72+2=74, Resulting Numbers: [20, 74]
Generated Node #0,0,1: 90:[20, 74] Operation: 72+2=74
Exploring Operation: 72/2=36, Resulting Numbers: [20, 36]
Generated Node #0,0,2: 90:[20, 36] Operation: 72/2=36
Exploring Operation: 20-2=18, Resulting Numbers: [72, 18]
Generated Node #0,0,3: 90:[72, 18] Operation: 20-2=18
Exploring Operation: 72+20=92, Resulting Numbers: [2, 92]
Generated Node #0,0,4: 90:[2, 92] Operation: 72+20=92
Moving to Node #0,0,4
Current State: 90:[2, 92], Operations: ['65-45=20', '72+20=92']
Exploring Operation: 2*92=184, Resulting Numbers: [184]
184,90 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[72, 65, 45, 2], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [72, 2, 20]
Generated Node #0,0: 90:[72, 2, 20] Operation: 65-45=20
Moving to Node #0,0
Current State: 90:[72, 2, 20], Operations: ['65-45=20']
Exploring Operation: 72+20=92, Resulting Numbers: [2, 92]
Generated Node #0,0,4: 90:[2, 92] Operation: 72+20=92
Moving to Node #0,0,4
Current State: 90:[2, 92], Operations: ['65-45=20', '72+20=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
38,
82,
68,
35
] | 95 | [
"38*35=1330",
"82-68=14",
"1330/14=95"
] | Current State: 95:[38, 82, 68, 35], Operations: []
Exploring Operation: 38*35=1330, Resulting Numbers: [82, 68, 1330]
Generated Node #2: [82, 68, 1330] from Operation: 38*35=1330
Current State: 95:[82, 68, 1330], Operations: ['38*35=1330']
Exploring Operation: 82-68=14, Resulting Numbers: [1330, 14]
Generated Node #3: [1330, 14] from Operation: 82-68=14
Current State: 95:[1330, 14], Operations: ['38*35=1330', '82-68=14']
Exploring Operation: 1330/14=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[38, 82, 68, 35], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [82, 35, 30]
Generated Node #0,0: 95:[82, 35, 30] Operation: 68-38=30
Exploring Operation: 38+68=106, Resulting Numbers: [82, 35, 106]
Generated Node #0,1: 95:[82, 35, 106] Operation: 38+68=106
Exploring Operation: 82-68=14, Resulting Numbers: [38, 35, 14]
Generated Node #0,2: 95:[38, 35, 14] Operation: 82-68=14
Exploring Operation: 68+35=103, Resulting Numbers: [38, 82, 103]
Generated Node #0,3: 95:[38, 82, 103] Operation: 68+35=103
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[82, 35, 30], Operations: ['68-38=30']
Exploring Operation: 82+35=117, Resulting Numbers: [30, 117]
Generated Node #0,0,0: 95:[30, 117] Operation: 82+35=117
Exploring Operation: 35-30=5, Resulting Numbers: [82, 5]
Generated Node #0,0,1: 95:[82, 5] Operation: 35-30=5
Exploring Operation: 82-35=47, Resulting Numbers: [30, 47]
Generated Node #0,0,2: 95:[30, 47] Operation: 82-35=47
Exploring Operation: 82+30=112, Resulting Numbers: [35, 112]
Generated Node #0,0,3: 95:[35, 112] Operation: 82+30=112
Moving to Node #0,0,1
Current State: 95:[82, 5], Operations: ['68-38=30', '35-30=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,95 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[35, 112], Operations: ['68-38=30', '82+30=112']
Exploring Operation: 35+112=147, Resulting Numbers: [147]
147,95 unequal: No Solution
Exploring Operation: 112-35=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 35*112=3920, Resulting Numbers: [3920]
3920,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[30, 117], Operations: ['68-38=30', '82+35=117']
Exploring Operation: 30*117=3510, Resulting Numbers: [3510]
3510,95 unequal: No Solution
Exploring Operation: 117-30=87, Resulting Numbers: [87]
87,95 unequal: No Solution
Exploring Operation: 30+117=147, Resulting Numbers: [147]
147,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[30, 47], Operations: ['68-38=30', '82-35=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[82, 35, 106], Operations: ['38+68=106']
Exploring Operation: 106-82=24, Resulting Numbers: [35, 24]
Generated Node #0,1,0: 95:[35, 24] Operation: 106-82=24
Exploring Operation: 82-35=47, Resulting Numbers: [106, 47]
Generated Node #0,1,1: 95:[106, 47] Operation: 82-35=47
Exploring Operation: 82+35=117, Resulting Numbers: [106, 117]
Generated Node #0,1,2: 95:[106, 117] Operation: 82+35=117
Exploring Operation: 106-35=71, Resulting Numbers: [82, 71]
Generated Node #0,1,3: 95:[82, 71] Operation: 106-35=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[35, 24], Operations: ['38+68=106', '106-82=24']
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[106, 117], Operations: ['38+68=106', '82+35=117']
Exploring Operation: 117-106=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 106+117=223, Resulting Numbers: [223]
223,95 unequal: No Solution
Exploring Operation: 106*117=12402, Resulting Numbers: [12402]
12402,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[82, 71], Operations: ['38+68=106', '106-35=71']
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 82*71=5822, Resulting Numbers: [5822]
5822,95 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[106, 47], Operations: ['38+68=106', '82-35=47']
Exploring Operation: 106+47=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 106*47=4982, Resulting Numbers: [4982]
4982,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[38, 35, 14], Operations: ['82-68=14']
Exploring Operation: 38+35=73, Resulting Numbers: [14, 73]
Generated Node #0,2,0: 95:[14, 73] Operation: 38+35=73
Exploring Operation: 38-35=3, Resulting Numbers: [14, 3]
Generated Node #0,2,1: 95:[14, 3] Operation: 38-35=3
Exploring Operation: 38-14=24, Resulting Numbers: [35, 24]
Generated Node #0,2,2: 95:[35, 24] Operation: 38-14=24
Exploring Operation: 35-14=21, Resulting Numbers: [38, 21]
Generated Node #0,2,3: 95:[38, 21] Operation: 35-14=21
Moving to Node #0,2,1
Current State: 95:[14, 3], Operations: ['82-68=14', '38-35=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[38, 21], Operations: ['82-68=14', '35-14=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,95 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[35, 24], Operations: ['82-68=14', '38-14=24']
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[14, 73], Operations: ['82-68=14', '38+35=73']
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,95 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[38, 82, 103], Operations: ['68+35=103']
Exploring Operation: 103-38=65, Resulting Numbers: [82, 65]
Generated Node #0,3,0: 95:[82, 65] Operation: 103-38=65
Exploring Operation: 38+82=120, Resulting Numbers: [103, 120]
Generated Node #0,3,1: 95:[103, 120] Operation: 38+82=120
Exploring Operation: 103-82=21, Resulting Numbers: [38, 21]
Generated Node #0,3,2: 95:[38, 21] Operation: 103-82=21
Exploring Operation: 82-38=44, Resulting Numbers: [103, 44]
Generated Node #0,3,3: 95:[103, 44] Operation: 82-38=44
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[38, 21], Operations: ['68+35=103', '103-82=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 95:[103, 120], Operations: ['68+35=103', '38+82=120']
Exploring Operation: 120-103=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 103+120=223, Resulting Numbers: [223]
223,95 unequal: No Solution
Exploring Operation: 103*120=12360, Resulting Numbers: [12360]
12360,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[103, 44], Operations: ['68+35=103', '82-38=44']
Exploring Operation: 103+44=147, Resulting Numbers: [147]
147,95 unequal: No Solution
Exploring Operation: 103*44=4532, Resulting Numbers: [4532]
4532,95 unequal: No Solution
Exploring Operation: 103-44=59, Resulting Numbers: [59]
59,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[82, 65], Operations: ['68+35=103', '103-38=65']
Exploring Operation: 82*65=5330, Resulting Numbers: [5330]
5330,95 unequal: No Solution
Exploring Operation: 82+65=147, Resulting Numbers: [147]
147,95 unequal: No Solution
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
85,
15,
9,
21
] | 87 | [
"9+21=30",
"30/15=2",
"85+2=87"
] | Current State: 87:[85, 15, 9, 21], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [85, 15, 30]
Generated Node #2: [85, 15, 30] from Operation: 9+21=30
Current State: 87:[85, 15, 30], Operations: ['9+21=30']
Exploring Operation: 30/15=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 30/15=2
Current State: 87:[85, 2], Operations: ['9+21=30', '30/15=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[85, 15, 9, 21], Operations: []
Exploring Operation: 15+9=24, Resulting Numbers: [85, 21, 24]
Generated Node #0,0: 87:[85, 21, 24] Operation: 15+9=24
Exploring Operation: 15-9=6, Resulting Numbers: [85, 21, 6]
Generated Node #0,1: 87:[85, 21, 6] Operation: 15-9=6
Exploring Operation: 21-15=6, Resulting Numbers: [85, 9, 6]
Generated Node #0,2: 87:[85, 9, 6] Operation: 21-15=6
Moving to Node #0,2
Current State: 87:[85, 9, 6], Operations: ['21-15=6']
Exploring Operation: 85+6=91, Resulting Numbers: [9, 91]
Generated Node #0,2,0: 87:[9, 91] Operation: 85+6=91
Exploring Operation: 9-6=3, Resulting Numbers: [85, 3]
Generated Node #0,2,1: 87:[85, 3] Operation: 9-6=3
Exploring Operation: 85+9=94, Resulting Numbers: [6, 94]
Generated Node #0,2,2: 87:[6, 94] Operation: 85+9=94
Moving to Node #0,1
Current State: 87:[85, 21, 6], Operations: ['15-9=6']
Exploring Operation: 21-6=15, Resulting Numbers: [85, 15]
Generated Node #0,1,0: 87:[85, 15] Operation: 21-6=15
Exploring Operation: 21+6=27, Resulting Numbers: [85, 27]
Generated Node #0,1,1: 87:[85, 27] Operation: 21+6=27
Exploring Operation: 85+6=91, Resulting Numbers: [21, 91]
Generated Node #0,1,2: 87:[21, 91] Operation: 85+6=91
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[85, 27], Operations: ['15-9=6', '21+6=27']
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,87 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[21, 91], Operations: ['15-9=6', '85+6=91']
Exploring Operation: 21+91=112, Resulting Numbers: [112]
112,87 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 21*91=1911, Resulting Numbers: [1911]
1911,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[85, 15], Operations: ['15-9=6', '21-6=15']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 87:[85, 21, 24], Operations: ['15+9=24']
Exploring Operation: 85+21=106, Resulting Numbers: [24, 106]
Generated Node #0,0,0: 87:[24, 106] Operation: 85+21=106
Exploring Operation: 24-21=3, Resulting Numbers: [85, 3]
Generated Node #0,0,1: 87:[85, 3] Operation: 24-21=3
Exploring Operation: 21+24=45, Resulting Numbers: [85, 45]
Generated Node #0,0,2: 87:[85, 45] Operation: 21+24=45
Moving to Node #0,2,1
Current State: 87:[85, 3], Operations: ['21-15=6', '9-6=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,87 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[85, 3], Operations: ['15+9=24', '24-21=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,87 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[6, 94], Operations: ['21-15=6', '85+9=94']
Exploring Operation: 6+94=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 6*94=564, Resulting Numbers: [564]
564,87 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[9, 91], Operations: ['21-15=6', '85+6=91']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,87 unequal: No Solution
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[85, 45], Operations: ['15+9=24', '21+24=45']
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,87 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[24, 106], Operations: ['15+9=24', '85+21=106']
Exploring Operation: 24*106=2544, Resulting Numbers: [2544]
2544,87 unequal: No Solution
Exploring Operation: 24+106=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,87 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
49,
98,
47,
65
] | 31 | [
"98-49=49",
"65-47=18",
"49-18=31"
] | Current State: 31:[49, 98, 47, 65], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [47, 65, 49]
Generated Node #2: [47, 65, 49] from Operation: 98-49=49
Current State: 31:[47, 65, 49], Operations: ['98-49=49']
Exploring Operation: 65-47=18, Resulting Numbers: [49, 18]
Generated Node #3: [49, 18] from Operation: 65-47=18
Current State: 31:[49, 18], Operations: ['98-49=49', '65-47=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[49, 98, 47, 65], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [47, 65, 49]
Generated Node #0,0: 31:[47, 65, 49] Operation: 98-49=49
Exploring Operation: 98-65=33, Resulting Numbers: [49, 47, 33]
Generated Node #0,1: 31:[49, 47, 33] Operation: 98-65=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[49, 47, 33], Operations: ['98-65=33']
Exploring Operation: 49-33=16, Resulting Numbers: [47, 16]
Generated Node #0,1,0: 31:[47, 16] Operation: 49-33=16
Exploring Operation: 49-47=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 31:[33, 2] Operation: 49-47=2
Moving to Node #0,1,0
Current State: 31:[47, 16], Operations: ['98-65=33', '49-33=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[49, 98, 47, 65], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [49, 47, 33]
Generated Node #0,1: 31:[49, 47, 33] Operation: 98-65=33
Moving to Node #0,1
Current State: 31:[49, 47, 33], Operations: ['98-65=33']
Exploring Operation: 49-33=16, Resulting Numbers: [47, 16]
Generated Node #0,1,0: 31:[47, 16] Operation: 49-33=16
Moving to Node #0,1,0
Current State: 31:[47, 16], Operations: ['98-65=33', '49-33=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
5,
50,
11,
25
] | 91 | [
"5+50=55",
"11+25=36",
"55+36=91"
] | Current State: 91:[5, 50, 11, 25], Operations: []
Exploring Operation: 5+50=55, Resulting Numbers: [11, 25, 55]
Generated Node #2: [11, 25, 55] from Operation: 5+50=55
Current State: 91:[11, 25, 55], Operations: ['5+50=55']
Exploring Operation: 11+25=36, Resulting Numbers: [55, 36]
Generated Node #3: [55, 36] from Operation: 11+25=36
Current State: 91:[55, 36], Operations: ['5+50=55', '11+25=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[5, 50, 11, 25], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [5, 11, 2]
Generated Node #0,0: 91:[5, 11, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [5, 11, 25]
Generated Node #0,1: 91:[5, 11, 25] Operation: 50-25=25
Exploring Operation: 50+25=75, Resulting Numbers: [5, 11, 75]
Generated Node #0,2: 91:[5, 11, 75] Operation: 50+25=75
Exploring Operation: 50/5=10, Resulting Numbers: [11, 25, 10]
Generated Node #0,3: 91:[11, 25, 10] Operation: 50/5=10
Moving to Node #0,0
Current State: 91:[5, 11, 2], Operations: ['50/25=2']
Exploring Operation: 11+2=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 91:[5, 13] Operation: 11+2=13
Exploring Operation: 11-2=9, Resulting Numbers: [5, 9]
Generated Node #0,0,1: 91:[5, 9] Operation: 11-2=9
Exploring Operation: 5+2=7, Resulting Numbers: [11, 7]
Generated Node #0,0,2: 91:[11, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [11, 10]
Generated Node #0,0,3: 91:[11, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[5, 13], Operations: ['50/25=2', '11+2=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[11, 7], Operations: ['50/25=2', '5+2=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[5, 9], Operations: ['50/25=2', '11-2=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[11, 10], Operations: ['50/25=2', '5*2=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,91 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[5, 11, 25], Operations: ['50-25=25']
Exploring Operation: 11-5=6, Resulting Numbers: [25, 6]
Generated Node #0,1,0: 91:[25, 6] Operation: 11-5=6
Exploring Operation: 25/5=5, Resulting Numbers: [11, 5]
Generated Node #0,1,1: 91:[11, 5] Operation: 25/5=5
Exploring Operation: 25-11=14, Resulting Numbers: [5, 14]
Generated Node #0,1,2: 91:[5, 14] Operation: 25-11=14
Exploring Operation: 25-5=20, Resulting Numbers: [11, 20]
Generated Node #0,1,3: 91:[11, 20] Operation: 25-5=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[5, 14], Operations: ['50-25=25', '25-11=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[11, 5], Operations: ['50-25=25', '25/5=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[11, 20], Operations: ['50-25=25', '25-5=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,91 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[25, 6], Operations: ['50-25=25', '11-5=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[11, 25, 10], Operations: ['50/5=10']
Exploring Operation: 11-10=1, Resulting Numbers: [25, 1]
Generated Node #0,3,0: 91:[25, 1] Operation: 11-10=1
Exploring Operation: 25-10=15, Resulting Numbers: [11, 15]
Generated Node #0,3,1: 91:[11, 15] Operation: 25-10=15
Exploring Operation: 25-11=14, Resulting Numbers: [10, 14]
Generated Node #0,3,2: 91:[10, 14] Operation: 25-11=14
Exploring Operation: 11+10=21, Resulting Numbers: [25, 21]
Generated Node #0,3,3: 91:[25, 21] Operation: 11+10=21
Moving to Node #0,2
Current State: 91:[5, 11, 75], Operations: ['50+25=75']
Exploring Operation: 11+75=86, Resulting Numbers: [5, 86]
Generated Node #0,2,0: 91:[5, 86] Operation: 11+75=86
Exploring Operation: 5+75=80, Resulting Numbers: [11, 80]
Generated Node #0,2,1: 91:[11, 80] Operation: 5+75=80
Exploring Operation: 75/5=15, Resulting Numbers: [11, 15]
Generated Node #0,2,2: 91:[11, 15] Operation: 75/5=15
Exploring Operation: 11-5=6, Resulting Numbers: [75, 6]
Generated Node #0,2,3: 91:[75, 6] Operation: 11-5=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[11, 15], Operations: ['50+25=75', '75/5=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,91 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[5, 86], Operations: ['50+25=75', '11+75=86']
Exploring Operation: 5*86=430, Resulting Numbers: [430]
430,91 unequal: No Solution
Exploring Operation: 5+86=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[5, 50, 11, 25], Operations: []
Exploring Operation: 50+25=75, Resulting Numbers: [5, 11, 75]
Generated Node #0,2: 91:[5, 11, 75] Operation: 50+25=75
Moving to Node #0,2
Current State: 91:[5, 11, 75], Operations: ['50+25=75']
Exploring Operation: 11+75=86, Resulting Numbers: [5, 86]
Generated Node #0,2,0: 91:[5, 86] Operation: 11+75=86
Moving to Node #0,2,0
Current State: 91:[5, 86], Operations: ['50+25=75', '11+75=86']
Exploring Operation: 5+86=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
12,
17,
65,
86
] | 53 | [
"12*17=204",
"65+86=151",
"204-151=53"
] | Current State: 53:[12, 17, 65, 86], Operations: []
Exploring Operation: 12*17=204, Resulting Numbers: [65, 86, 204]
Generated Node #2: [65, 86, 204] from Operation: 12*17=204
Current State: 53:[65, 86, 204], Operations: ['12*17=204']
Exploring Operation: 65+86=151, Resulting Numbers: [204, 151]
Generated Node #3: [204, 151] from Operation: 65+86=151
Current State: 53:[204, 151], Operations: ['12*17=204', '65+86=151']
Exploring Operation: 204-151=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[12, 17, 65, 86], Operations: []
Exploring Operation: 12+17=29, Resulting Numbers: [65, 86, 29]
Generated Node #0,0: 53:[65, 86, 29] Operation: 12+17=29
Exploring Operation: 65-12=53, Resulting Numbers: [17, 86, 53]
Generated Node #0,1: 53:[17, 86, 53] Operation: 65-12=53
Exploring Operation: 86-17=69, Resulting Numbers: [12, 65, 69]
Generated Node #0,2: 53:[12, 65, 69] Operation: 86-17=69
Exploring Operation: 86-12=74, Resulting Numbers: [17, 65, 74]
Generated Node #0,3: 53:[17, 65, 74] Operation: 86-12=74
Moving to Node #0,0
Current State: 53:[65, 86, 29], Operations: ['12+17=29']
Exploring Operation: 86-29=57, Resulting Numbers: [65, 57]
Generated Node #0,0,0: 53:[65, 57] Operation: 86-29=57
Exploring Operation: 65+29=94, Resulting Numbers: [86, 94]
Generated Node #0,0,1: 53:[86, 94] Operation: 65+29=94
Exploring Operation: 86-65=21, Resulting Numbers: [29, 21]
Generated Node #0,0,2: 53:[29, 21] Operation: 86-65=21
Exploring Operation: 65-29=36, Resulting Numbers: [86, 36]
Generated Node #0,0,3: 53:[86, 36] Operation: 65-29=36
Moving to Node #0,2
Current State: 53:[12, 65, 69], Operations: ['86-17=69']
Exploring Operation: 12+69=81, Resulting Numbers: [65, 81]
Generated Node #0,2,0: 53:[65, 81] Operation: 12+69=81
Exploring Operation: 65-12=53, Resulting Numbers: [69, 53]
Generated Node #0,2,1: 53:[69, 53] Operation: 65-12=53
Exploring Operation: 12+65=77, Resulting Numbers: [69, 77]
Generated Node #0,2,2: 53:[69, 77] Operation: 12+65=77
Exploring Operation: 69-12=57, Resulting Numbers: [65, 57]
Generated Node #0,2,3: 53:[65, 57] Operation: 69-12=57
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[69, 53], Operations: ['86-17=69', '65-12=53']
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,53 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[65, 57], Operations: ['86-17=69', '69-12=57']
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[65, 81], Operations: ['86-17=69', '12+69=81']
Exploring Operation: 65*81=5265, Resulting Numbers: [5265]
5265,53 unequal: No Solution
Exploring Operation: 65+81=146, Resulting Numbers: [146]
146,53 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[69, 77], Operations: ['86-17=69', '12+65=77']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,53 unequal: No Solution
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 53:[17, 86, 53], Operations: ['65-12=53']
Exploring Operation: 17+86=103, Resulting Numbers: [53, 103]
Generated Node #0,1,0: 53:[53, 103] Operation: 17+86=103
Exploring Operation: 53-17=36, Resulting Numbers: [86, 36]
Generated Node #0,1,1: 53:[86, 36] Operation: 53-17=36
Exploring Operation: 86-17=69, Resulting Numbers: [53, 69]
Generated Node #0,1,2: 53:[53, 69] Operation: 86-17=69
Exploring Operation: 17+53=70, Resulting Numbers: [86, 70]
Generated Node #0,1,3: 53:[86, 70] Operation: 17+53=70
Moving to Node #0,3
Current State: 53:[17, 65, 74], Operations: ['86-12=74']
Exploring Operation: 17+65=82, Resulting Numbers: [74, 82]
Generated Node #0,3,0: 53:[74, 82] Operation: 17+65=82
Exploring Operation: 65-17=48, Resulting Numbers: [74, 48]
Generated Node #0,3,1: 53:[74, 48] Operation: 65-17=48
Exploring Operation: 17+74=91, Resulting Numbers: [65, 91]
Generated Node #0,3,2: 53:[65, 91] Operation: 17+74=91
Exploring Operation: 74-17=57, Resulting Numbers: [65, 57]
Generated Node #0,3,3: 53:[65, 57] Operation: 74-17=57
Moving to Node #0,0,0
Current State: 53:[65, 57], Operations: ['12+17=29', '86-29=57']
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,53 unequal: No Solution
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[53, 69], Operations: ['65-12=53', '86-17=69']
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 53*69=3657, Resulting Numbers: [3657]
3657,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[65, 57], Operations: ['86-12=74', '74-17=57']
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,53 unequal: No Solution
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[74, 48], Operations: ['86-12=74', '65-17=48']
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 74*48=3552, Resulting Numbers: [3552]
3552,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[53, 103], Operations: ['65-12=53', '17+86=103']
Exploring Operation: 53+103=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 53*103=5459, Resulting Numbers: [5459]
5459,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[86, 36], Operations: ['65-12=53', '53-17=36']
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,53 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[65, 91], Operations: ['86-12=74', '17+74=91']
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,53 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[86, 36], Operations: ['12+17=29', '65-29=36']
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[74, 82], Operations: ['86-12=74', '17+65=82']
Exploring Operation: 74+82=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 74*82=6068, Resulting Numbers: [6068]
6068,53 unequal: No Solution
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[86, 70], Operations: ['65-12=53', '17+53=70']
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[29, 21], Operations: ['12+17=29', '86-65=21']
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,53 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[86, 94], Operations: ['12+17=29', '65+29=94']
Exploring Operation: 94-86=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 86+94=180, Resulting Numbers: [180]
180,53 unequal: No Solution
Exploring Operation: 86*94=8084, Resulting Numbers: [8084]
8084,53 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
30,
77,
79
] | 54 | [
"30-3=27",
"79-77=2",
"27*2=54"
] | Current State: 54:[3, 30, 77, 79], Operations: []
Exploring Operation: 30-3=27, Resulting Numbers: [77, 79, 27]
Generated Node #2: [77, 79, 27] from Operation: 30-3=27
Current State: 54:[77, 79, 27], Operations: ['30-3=27']
Exploring Operation: 79-77=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 79-77=2
Current State: 54:[27, 2], Operations: ['30-3=27', '79-77=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[3, 30, 77, 79], Operations: []
Exploring Operation: 79-30=49, Resulting Numbers: [3, 77, 49]
Generated Node #0,0: 54:[3, 77, 49] Operation: 79-30=49
Exploring Operation: 79-77=2, Resulting Numbers: [3, 30, 2]
Generated Node #0,1: 54:[3, 30, 2] Operation: 79-77=2
Exploring Operation: 77-30=47, Resulting Numbers: [3, 79, 47]
Generated Node #0,2: 54:[3, 79, 47] Operation: 77-30=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[3, 30, 2], Operations: ['79-77=2']
Exploring Operation: 30-2=28, Resulting Numbers: [3, 28]
Generated Node #0,1,0: 54:[3, 28] Operation: 30-2=28
Exploring Operation: 30-3=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 54:[2, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [2, 10]
Generated Node #0,1,2: 54:[2, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[2, 27], Operations: ['79-77=2', '30-3=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[3, 30, 77, 79], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [3, 30, 2]
Generated Node #0,1: 54:[3, 30, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 54:[3, 30, 2], Operations: ['79-77=2']
Exploring Operation: 30-3=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 54:[2, 27] Operation: 30-3=27
Moving to Node #0,1,1
Current State: 54:[2, 27], Operations: ['79-77=2', '30-3=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
10,
61,
40,
69
] | 100 | [
"10+61=71",
"69-40=29",
"71+29=100"
] | Current State: 100:[10, 61, 40, 69], Operations: []
Exploring Operation: 10+61=71, Resulting Numbers: [40, 69, 71]
Generated Node #2: [40, 69, 71] from Operation: 10+61=71
Current State: 100:[40, 69, 71], Operations: ['10+61=71']
Exploring Operation: 69-40=29, Resulting Numbers: [71, 29]
Generated Node #3: [71, 29] from Operation: 69-40=29
Current State: 100:[71, 29], Operations: ['10+61=71', '69-40=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[10, 61, 40, 69], Operations: []
Exploring Operation: 61+40=101, Resulting Numbers: [10, 69, 101]
Generated Node #0,0: 100:[10, 69, 101] Operation: 61+40=101
Exploring Operation: 69-61=8, Resulting Numbers: [10, 40, 8]
Generated Node #0,1: 100:[10, 40, 8] Operation: 69-61=8
Exploring Operation: 69-40=29, Resulting Numbers: [10, 61, 29]
Generated Node #0,2: 100:[10, 61, 29] Operation: 69-40=29
Exploring Operation: 61-40=21, Resulting Numbers: [10, 69, 21]
Generated Node #0,3: 100:[10, 69, 21] Operation: 61-40=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[10, 40, 8], Operations: ['69-61=8']
Exploring Operation: 10+40=50, Resulting Numbers: [8, 50]
Generated Node #0,1,0: 100:[8, 50] Operation: 10+40=50
Exploring Operation: 40/10=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 100:[8, 4] Operation: 40/10=4
Exploring Operation: 40+8=48, Resulting Numbers: [10, 48]
Generated Node #0,1,2: 100:[10, 48] Operation: 40+8=48
Exploring Operation: 40/8=5, Resulting Numbers: [10, 5]
Generated Node #0,1,3: 100:[10, 5] Operation: 40/8=5
Moving to Node #0,1,3
Current State: 100:[10, 5], Operations: ['69-61=8', '40/8=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[8, 4], Operations: ['69-61=8', '40/10=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[8, 50], Operations: ['69-61=8', '10+40=50']
Exploring Operation: 8*50=400, Resulting Numbers: [400]
400,100 unequal: No Solution
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[10, 48], Operations: ['69-61=8', '40+8=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[10, 61, 29], Operations: ['69-40=29']
Exploring Operation: 61-10=51, Resulting Numbers: [29, 51]
Generated Node #0,2,0: 100:[29, 51] Operation: 61-10=51
Exploring Operation: 61-29=32, Resulting Numbers: [10, 32]
Generated Node #0,2,1: 100:[10, 32] Operation: 61-29=32
Exploring Operation: 61+29=90, Resulting Numbers: [10, 90]
Generated Node #0,2,2: 100:[10, 90] Operation: 61+29=90
Exploring Operation: 29-10=19, Resulting Numbers: [61, 19]
Generated Node #0,2,3: 100:[61, 19] Operation: 29-10=19
Moving to Node #0,2,0
Current State: 100:[29, 51], Operations: ['69-40=29', '61-10=51']
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,100 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[10, 32], Operations: ['69-40=29', '61-29=32']
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,100 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[10, 90], Operations: ['69-40=29', '61+29=90']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 10*90=900, Resulting Numbers: [900]
900,100 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[10, 61, 40, 69], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [10, 61, 29]
Generated Node #0,2: 100:[10, 61, 29] Operation: 69-40=29
Moving to Node #0,2
Current State: 100:[10, 61, 29], Operations: ['69-40=29']
Exploring Operation: 61+29=90, Resulting Numbers: [10, 90]
Generated Node #0,2,2: 100:[10, 90] Operation: 61+29=90
Moving to Node #0,2,2
Current State: 100:[10, 90], Operations: ['69-40=29', '61+29=90']
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
94,
43,
53,
3
] | 36 | [
"94-43=51",
"51/3=17",
"53-17=36"
] | Current State: 36:[94, 43, 53, 3], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [53, 3, 51]
Generated Node #2: [53, 3, 51] from Operation: 94-43=51
Current State: 36:[53, 3, 51], Operations: ['94-43=51']
Exploring Operation: 51/3=17, Resulting Numbers: [53, 17]
Generated Node #3: [53, 17] from Operation: 51/3=17
Current State: 36:[53, 17], Operations: ['94-43=51', '51/3=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[94, 43, 53, 3], Operations: []
Exploring Operation: 94-3=91, Resulting Numbers: [43, 53, 91]
Generated Node #0,0: 36:[43, 53, 91] Operation: 94-3=91
Exploring Operation: 94-43=51, Resulting Numbers: [53, 3, 51]
Generated Node #0,1: 36:[53, 3, 51] Operation: 94-43=51
Exploring Operation: 94-53=41, Resulting Numbers: [43, 3, 41]
Generated Node #0,2: 36:[43, 3, 41] Operation: 94-53=41
Exploring Operation: 53-43=10, Resulting Numbers: [94, 3, 10]
Generated Node #0,3: 36:[94, 3, 10] Operation: 53-43=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[43, 3, 41], Operations: ['94-53=41']
Exploring Operation: 43+3=46, Resulting Numbers: [41, 46]
Generated Node #0,2,0: 36:[41, 46] Operation: 43+3=46
Exploring Operation: 43-3=40, Resulting Numbers: [41, 40]
Generated Node #0,2,1: 36:[41, 40] Operation: 43-3=40
Exploring Operation: 41-3=38, Resulting Numbers: [43, 38]
Generated Node #0,2,2: 36:[43, 38] Operation: 41-3=38
Exploring Operation: 43-41=2, Resulting Numbers: [3, 2]
Generated Node #0,2,3: 36:[3, 2] Operation: 43-41=2
Moving to Node #0,2,3
Current State: 36:[3, 2], Operations: ['94-53=41', '43-41=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Moving to Node #0,2,2
Current State: 36:[43, 38], Operations: ['94-53=41', '41-3=38']
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,36 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[41, 40], Operations: ['94-53=41', '43-3=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[41, 46], Operations: ['94-53=41', '43+3=46']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,36 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[53, 3, 51], Operations: ['94-43=51']
Exploring Operation: 51/3=17, Resulting Numbers: [53, 17]
Generated Node #0,1,0: 36:[53, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [53, 48]
Generated Node #0,1,1: 36:[53, 48] Operation: 51-3=48
Exploring Operation: 53-51=2, Resulting Numbers: [3, 2]
Generated Node #0,1,2: 36:[3, 2] Operation: 53-51=2
Exploring Operation: 53-3=50, Resulting Numbers: [51, 50]
Generated Node #0,1,3: 36:[51, 50] Operation: 53-3=50
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[3, 2], Operations: ['94-43=51', '53-51=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[53, 17], Operations: ['94-43=51', '51/3=17']
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[94, 43, 53, 3], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [53, 3, 51]
Generated Node #0,1: 36:[53, 3, 51] Operation: 94-43=51
Moving to Node #0,1
Current State: 36:[53, 3, 51], Operations: ['94-43=51']
Exploring Operation: 51/3=17, Resulting Numbers: [53, 17]
Generated Node #0,1,0: 36:[53, 17] Operation: 51/3=17
Moving to Node #0,1,0
Current State: 36:[53, 17], Operations: ['94-43=51', '51/3=17']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
51,
63,
28,
46
] | 86 | [
"63-51=12",
"28+46=74",
"12+74=86"
] | Current State: 86:[51, 63, 28, 46], Operations: []
Exploring Operation: 63-51=12, Resulting Numbers: [28, 46, 12]
Generated Node #2: [28, 46, 12] from Operation: 63-51=12
Current State: 86:[28, 46, 12], Operations: ['63-51=12']
Exploring Operation: 28+46=74, Resulting Numbers: [12, 74]
Generated Node #3: [12, 74] from Operation: 28+46=74
Current State: 86:[12, 74], Operations: ['63-51=12', '28+46=74']
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[51, 63, 28, 46], Operations: []
Exploring Operation: 51+28=79, Resulting Numbers: [63, 46, 79]
Generated Node #0,0: 86:[63, 46, 79] Operation: 51+28=79
Exploring Operation: 63+28=91, Resulting Numbers: [51, 46, 91]
Generated Node #0,1: 86:[51, 46, 91] Operation: 63+28=91
Exploring Operation: 51-46=5, Resulting Numbers: [63, 28, 5]
Generated Node #0,2: 86:[63, 28, 5] Operation: 51-46=5
Exploring Operation: 63-28=35, Resulting Numbers: [51, 46, 35]
Generated Node #0,3: 86:[51, 46, 35] Operation: 63-28=35
Exploring Operation: 63-51=12, Resulting Numbers: [28, 46, 12]
Generated Node #0,4: 86:[28, 46, 12] Operation: 63-51=12
Moving to Node #0,1
Current State: 86:[51, 46, 91], Operations: ['63+28=91']
Exploring Operation: 51+46=97, Resulting Numbers: [91, 97]
Generated Node #0,1,0: 86:[91, 97] Operation: 51+46=97
Exploring Operation: 51-46=5, Resulting Numbers: [91, 5]
Generated Node #0,1,1: 86:[91, 5] Operation: 51-46=5
Exploring Operation: 51+91=142, Resulting Numbers: [46, 142]
Generated Node #0,1,2: 86:[46, 142] Operation: 51+91=142
Exploring Operation: 91-46=45, Resulting Numbers: [51, 45]
Generated Node #0,1,3: 86:[51, 45] Operation: 91-46=45
Exploring Operation: 91-51=40, Resulting Numbers: [46, 40]
Generated Node #0,1,4: 86:[46, 40] Operation: 91-51=40
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[46, 40], Operations: ['63+28=91', '91-51=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[51, 63, 28, 46], Operations: []
Exploring Operation: 63+28=91, Resulting Numbers: [51, 46, 91]
Generated Node #0,1: 86:[51, 46, 91] Operation: 63+28=91
Moving to Node #0,1
Current State: 86:[51, 46, 91], Operations: ['63+28=91']
Exploring Operation: 91-51=40, Resulting Numbers: [46, 40]
Generated Node #0,1,4: 86:[46, 40] Operation: 91-51=40
Moving to Node #0,1,4
Current State: 86:[46, 40], Operations: ['63+28=91', '91-51=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
28,
10,
64,
67
] | 58 | [
"67-64=3",
"10*3=30",
"28+30=58"
] | Current State: 58:[28, 10, 64, 67], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [28, 10, 3]
Generated Node #2: [28, 10, 3] from Operation: 67-64=3
Current State: 58:[28, 10, 3], Operations: ['67-64=3']
Exploring Operation: 10*3=30, Resulting Numbers: [28, 30]
Generated Node #3: [28, 30] from Operation: 10*3=30
Current State: 58:[28, 30], Operations: ['67-64=3', '10*3=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[28, 10, 64, 67], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [28, 64, 57]
Generated Node #0,0: 58:[28, 64, 57] Operation: 67-10=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[28, 64, 57], Operations: ['67-10=57']
Exploring Operation: 57-28=29, Resulting Numbers: [64, 29]
Generated Node #0,0,0: 58:[64, 29] Operation: 57-28=29
Moving to Node #0,0,0
Current State: 58:[64, 29], Operations: ['67-10=57', '57-28=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
24,
75,
62
] | 72 | [
"75-10=65",
"65-62=3",
"24*3=72"
] | Current State: 72:[10, 24, 75, 62], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [24, 62, 65]
Generated Node #2: [24, 62, 65] from Operation: 75-10=65
Current State: 72:[24, 62, 65], Operations: ['75-10=65']
Exploring Operation: 65-62=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 65-62=3
Current State: 72:[24, 3], Operations: ['75-10=65', '65-62=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[10, 24, 75, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [10, 24, 13]
Generated Node #0,0: 72:[10, 24, 13] Operation: 75-62=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[10, 24, 13], Operations: ['75-62=13']
Exploring Operation: 13-10=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 72:[24, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 72:[24, 3], Operations: ['75-62=13', '13-10=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[10, 24, 75, 62], Operations: []
Exploring Operation: 75-62=13, Resulting Numbers: [10, 24, 13]
Generated Node #0,0: 72:[10, 24, 13] Operation: 75-62=13
Moving to Node #0,0
Current State: 72:[10, 24, 13], Operations: ['75-62=13']
Exploring Operation: 13-10=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 72:[24, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 72:[24, 3], Operations: ['75-62=13', '13-10=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
63,
14,
97,
2
] | 82 | [
"97-63=34",
"2*34=68",
"14+68=82"
] | Current State: 82:[63, 14, 97, 2], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [14, 2, 34]
Generated Node #2: [14, 2, 34] from Operation: 97-63=34
Current State: 82:[14, 2, 34], Operations: ['97-63=34']
Exploring Operation: 2*34=68, Resulting Numbers: [14, 68]
Generated Node #3: [14, 68] from Operation: 2*34=68
Current State: 82:[14, 68], Operations: ['97-63=34', '2*34=68']
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[63, 14, 97, 2], Operations: []
Exploring Operation: 63+14=77, Resulting Numbers: [97, 2, 77]
Generated Node #0,0: 82:[97, 2, 77] Operation: 63+14=77
Exploring Operation: 97-14=83, Resulting Numbers: [63, 2, 83]
Generated Node #0,1: 82:[63, 2, 83] Operation: 97-14=83
Exploring Operation: 97-63=34, Resulting Numbers: [14, 2, 34]
Generated Node #0,2: 82:[14, 2, 34] Operation: 97-63=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[14, 2, 34], Operations: ['97-63=34']
Exploring Operation: 14-2=12, Resulting Numbers: [34, 12]
Generated Node #0,2,0: 82:[34, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [34, 7]
Generated Node #0,2,1: 82:[34, 7] Operation: 14/2=7
Exploring Operation: 14+34=48, Resulting Numbers: [2, 48]
Generated Node #0,2,2: 82:[2, 48] Operation: 14+34=48
Moving to Node #0,2,2
Current State: 82:[2, 48], Operations: ['97-63=34', '14+34=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[34, 7], Operations: ['97-63=34', '14/2=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,82 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[34, 12], Operations: ['97-63=34', '14-2=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,82 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[97, 2, 77], Operations: ['63+14=77']
Exploring Operation: 2+77=79, Resulting Numbers: [97, 79]
Generated Node #0,0,0: 82:[97, 79] Operation: 2+77=79
Exploring Operation: 97-77=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 82:[2, 20] Operation: 97-77=20
Exploring Operation: 97-2=95, Resulting Numbers: [77, 95]
Generated Node #0,0,2: 82:[77, 95] Operation: 97-2=95
Moving to Node #0,0,0
Current State: 82:[97, 79], Operations: ['63+14=77', '2+77=79']
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,82 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[2, 20], Operations: ['63+14=77', '97-77=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[77, 95], Operations: ['63+14=77', '97-2=95']
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 77+95=172, Resulting Numbers: [172]
172,82 unequal: No Solution
Exploring Operation: 77*95=7315, Resulting Numbers: [7315]
7315,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[63, 2, 83], Operations: ['97-14=83']
Exploring Operation: 83-63=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 82:[2, 20] Operation: 83-63=20
Exploring Operation: 63+2=65, Resulting Numbers: [83, 65]
Generated Node #0,1,1: 82:[83, 65] Operation: 63+2=65
Exploring Operation: 83-2=81, Resulting Numbers: [63, 81]
Generated Node #0,1,2: 82:[63, 81] Operation: 83-2=81
Moving to Node #0,1,0
Current State: 82:[2, 20], Operations: ['97-14=83', '83-63=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,82 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[83, 65], Operations: ['97-14=83', '63+2=65']
Exploring Operation: 83+65=148, Resulting Numbers: [148]
148,82 unequal: No Solution
Exploring Operation: 83*65=5395, Resulting Numbers: [5395]
5395,82 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[63, 81], Operations: ['97-14=83', '83-2=81']
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 63*81=5103, Resulting Numbers: [5103]
5103,82 unequal: No Solution
Exploring Operation: 63+81=144, Resulting Numbers: [144]
144,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
45,
55,
3,
19
] | 89 | [
"45/3=15",
"55+19=74",
"15+74=89"
] | Current State: 89:[45, 55, 3, 19], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [55, 19, 15]
Generated Node #2: [55, 19, 15] from Operation: 45/3=15
Current State: 89:[55, 19, 15], Operations: ['45/3=15']
Exploring Operation: 55+19=74, Resulting Numbers: [15, 74]
Generated Node #3: [15, 74] from Operation: 55+19=74
Current State: 89:[15, 74], Operations: ['45/3=15', '55+19=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[45, 55, 3, 19], Operations: []
Exploring Operation: 3*19=57, Resulting Numbers: [45, 55, 57]
Generated Node #0,0: 89:[45, 55, 57] Operation: 3*19=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[45, 55, 57], Operations: ['3*19=57']
Exploring Operation: 45+55=100, Resulting Numbers: [57, 100]
Generated Node #0,0,0: 89:[57, 100] Operation: 45+55=100
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[57, 100], Operations: ['3*19=57', '45+55=100']
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
21,
19,
45
] | 68 | [
"63-21=42",
"45-19=26",
"42+26=68"
] | Current State: 68:[63, 21, 19, 45], Operations: []
Exploring Operation: 63-21=42, Resulting Numbers: [19, 45, 42]
Generated Node #2: [19, 45, 42] from Operation: 63-21=42
Current State: 68:[19, 45, 42], Operations: ['63-21=42']
Exploring Operation: 45-19=26, Resulting Numbers: [42, 26]
Generated Node #3: [42, 26] from Operation: 45-19=26
Current State: 68:[42, 26], Operations: ['63-21=42', '45-19=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[63, 21, 19, 45], Operations: []
Exploring Operation: 19+45=64, Resulting Numbers: [63, 21, 64]
Generated Node #0,0: 68:[63, 21, 64] Operation: 19+45=64
Exploring Operation: 21+45=66, Resulting Numbers: [63, 19, 66]
Generated Node #0,1: 68:[63, 19, 66] Operation: 21+45=66
Exploring Operation: 63-45=18, Resulting Numbers: [21, 19, 18]
Generated Node #0,2: 68:[21, 19, 18] Operation: 63-45=18
Moving to Node #0,2
Current State: 68:[21, 19, 18], Operations: ['63-45=18']
Exploring Operation: 21-19=2, Resulting Numbers: [18, 2]
Generated Node #0,2,0: 68:[18, 2] Operation: 21-19=2
Exploring Operation: 19-18=1, Resulting Numbers: [21, 1]
Generated Node #0,2,1: 68:[21, 1] Operation: 19-18=1
Exploring Operation: 21-18=3, Resulting Numbers: [19, 3]
Generated Node #0,2,2: 68:[19, 3] Operation: 21-18=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[18, 2], Operations: ['63-45=18', '21-19=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[19, 3], Operations: ['63-45=18', '21-18=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,68 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,68 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[21, 1], Operations: ['63-45=18', '19-18=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 68:[63, 19, 66], Operations: ['21+45=66']
Exploring Operation: 63+19=82, Resulting Numbers: [66, 82]
Generated Node #0,1,0: 68:[66, 82] Operation: 63+19=82
Exploring Operation: 66-63=3, Resulting Numbers: [19, 3]
Generated Node #0,1,1: 68:[19, 3] Operation: 66-63=3
Exploring Operation: 63-19=44, Resulting Numbers: [66, 44]
Generated Node #0,1,2: 68:[66, 44] Operation: 63-19=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[19, 3], Operations: ['21+45=66', '66-63=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,68 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[66, 44], Operations: ['21+45=66', '63-19=44']
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,68 unequal: No Solution
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,68 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[66, 82], Operations: ['21+45=66', '63+19=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,68 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,68 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 68:[63, 21, 64], Operations: ['19+45=64']
Exploring Operation: 63/21=3, Resulting Numbers: [64, 3]
Generated Node #0,0,0: 68:[64, 3] Operation: 63/21=3
Exploring Operation: 64-63=1, Resulting Numbers: [21, 1]
Generated Node #0,0,1: 68:[21, 1] Operation: 64-63=1
Exploring Operation: 63-21=42, Resulting Numbers: [64, 42]
Generated Node #0,0,2: 68:[64, 42] Operation: 63-21=42
Moving to Node #0,0,0
Current State: 68:[64, 3], Operations: ['19+45=64', '63/21=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,68 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,68 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[21, 1], Operations: ['19+45=64', '64-63=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[64, 42], Operations: ['19+45=64', '63-21=42']
Exploring Operation: 64*42=2688, Resulting Numbers: [2688]
2688,68 unequal: No Solution
Exploring Operation: 64+42=106, Resulting Numbers: [106]
106,68 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
43,
67,
22,
44
] | 19 | [
"43*44=1892",
"1892/22=86",
"86-67=19"
] | Current State: 19:[43, 67, 22, 44], Operations: []
Exploring Operation: 43*44=1892, Resulting Numbers: [67, 22, 1892]
Generated Node #2: [67, 22, 1892] from Operation: 43*44=1892
Current State: 19:[67, 22, 1892], Operations: ['43*44=1892']
Exploring Operation: 1892/22=86, Resulting Numbers: [67, 86]
Generated Node #3: [67, 86] from Operation: 1892/22=86
Current State: 19:[67, 86], Operations: ['43*44=1892', '1892/22=86']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[43, 67, 22, 44], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [43, 22, 23]
Generated Node #0,0: 19:[43, 22, 23] Operation: 67-44=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[43, 22, 23], Operations: ['67-44=23']
Exploring Operation: 43-23=20, Resulting Numbers: [22, 20]
Generated Node #0,0,0: 19:[22, 20] Operation: 43-23=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[22, 20], Operations: ['67-44=23', '43-23=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
96,
4,
63
] | 67 | [
"96/6=16",
"16/4=4",
"63+4=67"
] | Current State: 67:[6, 96, 4, 63], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [4, 63, 16]
Generated Node #2: [4, 63, 16] from Operation: 96/6=16
Current State: 67:[4, 63, 16], Operations: ['96/6=16']
Exploring Operation: 16/4=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 16/4=4
Current State: 67:[63, 4], Operations: ['96/6=16', '16/4=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[6, 96, 4, 63], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [4, 63, 90]
Generated Node #0,0: 67:[4, 63, 90] Operation: 96-6=90
Exploring Operation: 6*4=24, Resulting Numbers: [96, 63, 24]
Generated Node #0,1: 67:[96, 63, 24] Operation: 6*4=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[96, 63, 24], Operations: ['6*4=24']
Exploring Operation: 63+24=87, Resulting Numbers: [96, 87]
Generated Node #0,1,0: 67:[96, 87] Operation: 63+24=87
Exploring Operation: 96-24=72, Resulting Numbers: [63, 72]
Generated Node #0,1,1: 67:[63, 72] Operation: 96-24=72
Moving to Node #0,1,1
Current State: 67:[63, 72], Operations: ['6*4=24', '96-24=72']
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[96, 87], Operations: ['6*4=24', '63+24=87']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[4, 63, 90], Operations: ['96-6=90']
Exploring Operation: 90-4=86, Resulting Numbers: [63, 86]
Generated Node #0,0,0: 67:[63, 86] Operation: 90-4=86
Exploring Operation: 4+63=67, Resulting Numbers: [90, 67]
Generated Node #0,0,1: 67:[90, 67] Operation: 4+63=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[63, 86], Operations: ['96-6=90', '90-4=86']
Exploring Operation: 86-63=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 63+86=149, Resulting Numbers: [149]
149,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[90, 67], Operations: ['96-6=90', '4+63=67']
Exploring Operation: 90+67=157, Resulting Numbers: [157]
157,67 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
81,
49,
4,
87
] | 73 | [
"87-81=6",
"4*6=24",
"49+24=73"
] | Current State: 73:[81, 49, 4, 87], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [49, 4, 6]
Generated Node #2: [49, 4, 6] from Operation: 87-81=6
Current State: 73:[49, 4, 6], Operations: ['87-81=6']
Exploring Operation: 4*6=24, Resulting Numbers: [49, 24]
Generated Node #3: [49, 24] from Operation: 4*6=24
Current State: 73:[49, 24], Operations: ['87-81=6', '4*6=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[81, 49, 4, 87], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [49, 87, 77]
Generated Node #0,0: 73:[49, 87, 77] Operation: 81-4=77
Exploring Operation: 49+4=53, Resulting Numbers: [81, 87, 53]
Generated Node #0,1: 73:[81, 87, 53] Operation: 49+4=53
Moving to Node #0,0
Current State: 73:[49, 87, 77], Operations: ['81-4=77']
Exploring Operation: 77-49=28, Resulting Numbers: [87, 28]
Generated Node #0,0,0: 73:[87, 28] Operation: 77-49=28
Exploring Operation: 87-49=38, Resulting Numbers: [77, 38]
Generated Node #0,0,1: 73:[77, 38] Operation: 87-49=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[77, 38], Operations: ['81-4=77', '87-49=38']
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 77+38=115, Resulting Numbers: [115]
115,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[87, 28], Operations: ['81-4=77', '77-49=28']
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,73 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[81, 87, 53], Operations: ['49+4=53']
Exploring Operation: 81-53=28, Resulting Numbers: [87, 28]
Generated Node #0,1,0: 73:[87, 28] Operation: 81-53=28
Exploring Operation: 87-53=34, Resulting Numbers: [81, 34]
Generated Node #0,1,1: 73:[81, 34] Operation: 87-53=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[81, 34], Operations: ['49+4=53', '87-53=34']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 81+34=115, Resulting Numbers: [115]
115,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[87, 28], Operations: ['49+4=53', '81-53=28']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
15,
21,
43
] | 11 | [
"15+21=36",
"43-36=7",
"77/7=11"
] | Current State: 11:[77, 15, 21, 43], Operations: []
Exploring Operation: 15+21=36, Resulting Numbers: [77, 43, 36]
Generated Node #2: [77, 43, 36] from Operation: 15+21=36
Current State: 11:[77, 43, 36], Operations: ['15+21=36']
Exploring Operation: 43-36=7, Resulting Numbers: [77, 7]
Generated Node #3: [77, 7] from Operation: 43-36=7
Current State: 11:[77, 7], Operations: ['15+21=36', '43-36=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[77, 15, 21, 43], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [15, 43, 56]
Generated Node #0,0: 11:[15, 43, 56] Operation: 77-21=56
Exploring Operation: 77-43=34, Resulting Numbers: [15, 21, 34]
Generated Node #0,1: 11:[15, 21, 34] Operation: 77-43=34
Exploring Operation: 77-15=62, Resulting Numbers: [21, 43, 62]
Generated Node #0,2: 11:[21, 43, 62] Operation: 77-15=62
Exploring Operation: 43-21=22, Resulting Numbers: [77, 15, 22]
Generated Node #0,3: 11:[77, 15, 22] Operation: 43-21=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[15, 21, 34], Operations: ['77-43=34']
Exploring Operation: 34-21=13, Resulting Numbers: [15, 13]
Generated Node #0,1,0: 11:[15, 13] Operation: 34-21=13
Exploring Operation: 34-15=19, Resulting Numbers: [21, 19]
Generated Node #0,1,1: 11:[21, 19] Operation: 34-15=19
Exploring Operation: 15+21=36, Resulting Numbers: [34, 36]
Generated Node #0,1,2: 11:[34, 36] Operation: 15+21=36
Exploring Operation: 21-15=6, Resulting Numbers: [34, 6]
Generated Node #0,1,3: 11:[34, 6] Operation: 21-15=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[15, 13], Operations: ['77-43=34', '34-21=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[21, 19], Operations: ['77-43=34', '34-15=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[34, 6], Operations: ['77-43=34', '21-15=6']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[34, 36], Operations: ['77-43=34', '15+21=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,11 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[15, 43, 56], Operations: ['77-21=56']
Exploring Operation: 43-15=28, Resulting Numbers: [56, 28]
Generated Node #0,0,0: 11:[56, 28] Operation: 43-15=28
Exploring Operation: 15+43=58, Resulting Numbers: [56, 58]
Generated Node #0,0,1: 11:[56, 58] Operation: 15+43=58
Exploring Operation: 56-43=13, Resulting Numbers: [15, 13]
Generated Node #0,0,2: 11:[15, 13] Operation: 56-43=13
Exploring Operation: 56-15=41, Resulting Numbers: [43, 41]
Generated Node #0,0,3: 11:[43, 41] Operation: 56-15=41
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[15, 13], Operations: ['77-21=56', '56-43=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,11 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[56, 28], Operations: ['77-21=56', '43-15=28']
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,11 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[43, 41], Operations: ['77-21=56', '56-15=41']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[56, 58], Operations: ['77-21=56', '15+43=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,11 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[77, 15, 22], Operations: ['43-21=22']
Exploring Operation: 22-15=7, Resulting Numbers: [77, 7]
Generated Node #0,3,0: 11:[77, 7] Operation: 22-15=7
Exploring Operation: 77+15=92, Resulting Numbers: [22, 92]
Generated Node #0,3,1: 11:[22, 92] Operation: 77+15=92
Exploring Operation: 77-22=55, Resulting Numbers: [15, 55]
Generated Node #0,3,2: 11:[15, 55] Operation: 77-22=55
Exploring Operation: 77-15=62, Resulting Numbers: [22, 62]
Generated Node #0,3,3: 11:[22, 62] Operation: 77-15=62
Moving to Node #0,3,2
Current State: 11:[15, 55], Operations: ['43-21=22', '77-22=55']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,11 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[22, 62], Operations: ['43-21=22', '77-15=62']
Exploring Operation: 22+62=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 22*62=1364, Resulting Numbers: [1364]
1364,11 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[77, 7], Operations: ['43-21=22', '22-15=7']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,11 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,11 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[77, 15, 21, 43], Operations: []
Exploring Operation: 43-21=22, Resulting Numbers: [77, 15, 22]
Generated Node #0,3: 11:[77, 15, 22] Operation: 43-21=22
Moving to Node #0,3
Current State: 11:[77, 15, 22], Operations: ['43-21=22']
Exploring Operation: 22-15=7, Resulting Numbers: [77, 7]
Generated Node #0,3,0: 11:[77, 7] Operation: 22-15=7
Moving to Node #0,3,0
Current State: 11:[77, 7], Operations: ['43-21=22', '22-15=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_4 | mult_heuristic |
[
14,
68,
72,
86
] | 25 | [
"14+86=100",
"72-68=4",
"100/4=25"
] | Current State: 25:[14, 68, 72, 86], Operations: []
Exploring Operation: 14+86=100, Resulting Numbers: [68, 72, 100]
Generated Node #2: [68, 72, 100] from Operation: 14+86=100
Current State: 25:[68, 72, 100], Operations: ['14+86=100']
Exploring Operation: 72-68=4, Resulting Numbers: [100, 4]
Generated Node #3: [100, 4] from Operation: 72-68=4
Current State: 25:[100, 4], Operations: ['14+86=100', '72-68=4']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[14, 68, 72, 86], Operations: []
Exploring Operation: 72-14=58, Resulting Numbers: [68, 86, 58]
Generated Node #0,0: 25:[68, 86, 58] Operation: 72-14=58
Exploring Operation: 72-68=4, Resulting Numbers: [14, 86, 4]
Generated Node #0,1: 25:[14, 86, 4] Operation: 72-68=4
Exploring Operation: 68-14=54, Resulting Numbers: [72, 86, 54]
Generated Node #0,2: 25:[72, 86, 54] Operation: 68-14=54
Exploring Operation: 86-72=14, Resulting Numbers: [14, 68, 14]
Generated Node #0,3: 25:[14, 68, 14] Operation: 86-72=14
Exploring Operation: 86-68=18, Resulting Numbers: [14, 72, 18]
Generated Node #0,4: 25:[14, 72, 18] Operation: 86-68=18
Moving to Node #0,3
Current State: 25:[14, 68, 14], Operations: ['86-72=14']
Exploring Operation: 14-14=0, Resulting Numbers: [68, 0]
Generated Node #0,3,0: 25:[68, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [68, 1]
Generated Node #0,3,1: 25:[68, 1] Operation: 14/14=1
Exploring Operation: 68-14=54, Resulting Numbers: [14, 54]
Generated Node #0,3,2: 25:[14, 54] Operation: 68-14=54
Exploring Operation: 14+14=28, Resulting Numbers: [68, 28]
Generated Node #0,3,3: 25:[68, 28] Operation: 14+14=28
Exploring Operation: 68-14=54, Resulting Numbers: [14, 54]
Generated Node #0,3,4: 25:[14, 54] Operation: 68-14=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[14, 54], Operations: ['86-72=14', '68-14=54']
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 25:[14, 54], Operations: ['86-72=14', '68-14=54']
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[68, 28], Operations: ['86-72=14', '14+14=28']
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,25 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[68, 1], Operations: ['86-72=14', '14/14=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,25 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[68, 0], Operations: ['86-72=14', '14-14=0']
Exploring Operation: 68+0=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 68*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 68-0=68, Resulting Numbers: [68]
68,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 25:[14, 72, 18], Operations: ['86-68=18']
Exploring Operation: 72-18=54, Resulting Numbers: [14, 54]
Generated Node #0,4,0: 25:[14, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [14, 4]
Generated Node #0,4,1: 25:[14, 4] Operation: 72/18=4
Exploring Operation: 72-14=58, Resulting Numbers: [18, 58]
Generated Node #0,4,2: 25:[18, 58] Operation: 72-14=58
Exploring Operation: 18-14=4, Resulting Numbers: [72, 4]
Generated Node #0,4,3: 25:[72, 4] Operation: 18-14=4
Exploring Operation: 14+18=32, Resulting Numbers: [72, 32]
Generated Node #0,4,4: 25:[72, 32] Operation: 14+18=32
Moving to Node #0,1
Current State: 25:[14, 86, 4], Operations: ['72-68=4']
Exploring Operation: 14-4=10, Resulting Numbers: [86, 10]
Generated Node #0,1,0: 25:[86, 10] Operation: 14-4=10
Exploring Operation: 86+4=90, Resulting Numbers: [14, 90]
Generated Node #0,1,1: 25:[14, 90] Operation: 86+4=90
Exploring Operation: 14+4=18, Resulting Numbers: [86, 18]
Generated Node #0,1,2: 25:[86, 18] Operation: 14+4=18
Exploring Operation: 86-4=82, Resulting Numbers: [14, 82]
Generated Node #0,1,3: 25:[14, 82] Operation: 86-4=82
Exploring Operation: 86-14=72, Resulting Numbers: [4, 72]
Generated Node #0,1,4: 25:[4, 72] Operation: 86-14=72
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[4, 72], Operations: ['72-68=4', '86-14=72']
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[86, 10], Operations: ['72-68=4', '14-4=10']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[14, 82], Operations: ['72-68=4', '86-4=82']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 14+82=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 14*82=1148, Resulting Numbers: [1148]
1148,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[86, 18], Operations: ['72-68=4', '14+4=18']
Exploring Operation: 86*18=1548, Resulting Numbers: [1548]
1548,25 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[14, 90], Operations: ['72-68=4', '86+4=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,25 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[68, 86, 58], Operations: ['72-14=58']
Exploring Operation: 68-58=10, Resulting Numbers: [86, 10]
Generated Node #0,0,0: 25:[86, 10] Operation: 68-58=10
Exploring Operation: 86-68=18, Resulting Numbers: [58, 18]
Generated Node #0,0,1: 25:[58, 18] Operation: 86-68=18
Exploring Operation: 68+86=154, Resulting Numbers: [58, 154]
Generated Node #0,0,2: 25:[58, 154] Operation: 68+86=154
Exploring Operation: 86-58=28, Resulting Numbers: [68, 28]
Generated Node #0,0,3: 25:[68, 28] Operation: 86-58=28
Exploring Operation: 68+58=126, Resulting Numbers: [86, 126]
Generated Node #0,0,4: 25:[86, 126] Operation: 68+58=126
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[58, 18], Operations: ['72-14=58', '86-68=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,25 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[68, 28], Operations: ['72-14=58', '86-58=28']
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,25 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[86, 10], Operations: ['72-14=58', '68-58=10']
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,25 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[58, 154], Operations: ['72-14=58', '68+86=154']
Exploring Operation: 154-58=96, Resulting Numbers: [96]
96,25 unequal: No Solution
Exploring Operation: 58+154=212, Resulting Numbers: [212]
212,25 unequal: No Solution
Exploring Operation: 58*154=8932, Resulting Numbers: [8932]
8932,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[86, 126], Operations: ['72-14=58', '68+58=126']
Exploring Operation: 86*126=10836, Resulting Numbers: [10836]
10836,25 unequal: No Solution
Exploring Operation: 126-86=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 86+126=212, Resulting Numbers: [212]
212,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[72, 86, 54], Operations: ['68-14=54']
Exploring Operation: 72-54=18, Resulting Numbers: [86, 18]
Generated Node #0,2,0: 25:[86, 18] Operation: 72-54=18
Exploring Operation: 72+86=158, Resulting Numbers: [54, 158]
Generated Node #0,2,1: 25:[54, 158] Operation: 72+86=158
Exploring Operation: 86-54=32, Resulting Numbers: [72, 32]
Generated Node #0,2,2: 25:[72, 32] Operation: 86-54=32
Exploring Operation: 86-72=14, Resulting Numbers: [54, 14]
Generated Node #0,2,3: 25:[54, 14] Operation: 86-72=14
Exploring Operation: 72+54=126, Resulting Numbers: [86, 126]
Generated Node #0,2,4: 25:[86, 126] Operation: 72+54=126
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 25:[54, 14], Operations: ['68-14=54', '86-72=14']
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[72, 32], Operations: ['68-14=54', '86-54=32']
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[86, 18], Operations: ['68-14=54', '72-54=18']
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 86*18=1548, Resulting Numbers: [1548]
1548,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[54, 158], Operations: ['68-14=54', '72+86=158']
Exploring Operation: 158-54=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 54*158=8532, Resulting Numbers: [8532]
8532,25 unequal: No Solution
Exploring Operation: 54+158=212, Resulting Numbers: [212]
212,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 25:[86, 126], Operations: ['68-14=54', '72+54=126']
Exploring Operation: 86*126=10836, Resulting Numbers: [10836]
10836,25 unequal: No Solution
Exploring Operation: 86+126=212, Resulting Numbers: [212]
212,25 unequal: No Solution
Exploring Operation: 126-86=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 25:[14, 4], Operations: ['86-68=18', '72/18=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[14, 54], Operations: ['86-68=18', '72-18=54']
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[18, 58], Operations: ['86-68=18', '72-14=58']
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,25 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[72, 4], Operations: ['86-68=18', '18-14=4']
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[72, 32], Operations: ['86-68=18', '14+18=32']
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,25 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
41,
21,
4,
1
] | 84 | [
"41-21=20",
"1+20=21",
"4*21=84"
] | Current State: 84:[41, 21, 4, 1], Operations: []
Exploring Operation: 41-21=20, Resulting Numbers: [4, 1, 20]
Generated Node #2: [4, 1, 20] from Operation: 41-21=20
Current State: 84:[4, 1, 20], Operations: ['41-21=20']
Exploring Operation: 1+20=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 1+20=21
Current State: 84:[4, 21], Operations: ['41-21=20', '1+20=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[41, 21, 4, 1], Operations: []
Exploring Operation: 41*1=41, Resulting Numbers: [21, 4, 41]
Generated Node #0,0: 84:[21, 4, 41] Operation: 41*1=41
Exploring Operation: 41+1=42, Resulting Numbers: [21, 4, 42]
Generated Node #0,1: 84:[21, 4, 42] Operation: 41+1=42
Moving to Node #0,1
Current State: 84:[21, 4, 42], Operations: ['41+1=42']
Exploring Operation: 21*4=84, Resulting Numbers: [42, 84]
Generated Node #0,1,0: 84:[42, 84] Operation: 21*4=84
Exploring Operation: 42-21=21, Resulting Numbers: [4, 21]
Generated Node #0,1,1: 84:[4, 21] Operation: 42-21=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[42, 84], Operations: ['41+1=42', '21*4=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[4, 21], Operations: ['41+1=42', '42-21=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[41, 21, 4, 1], Operations: []
Exploring Operation: 41+1=42, Resulting Numbers: [21, 4, 42]
Generated Node #0,1: 84:[21, 4, 42] Operation: 41+1=42
Moving to Node #0,1
Current State: 84:[21, 4, 42], Operations: ['41+1=42']
Exploring Operation: 42-21=21, Resulting Numbers: [4, 21]
Generated Node #0,1,1: 84:[4, 21] Operation: 42-21=21
Moving to Node #0,1,1
Current State: 84:[4, 21], Operations: ['41+1=42', '42-21=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
36,
95,
59,
78
] | 41 | [
"78-59=19",
"95/19=5",
"36+5=41"
] | Current State: 41:[36, 95, 59, 78], Operations: []
Exploring Operation: 78-59=19, Resulting Numbers: [36, 95, 19]
Generated Node #2: [36, 95, 19] from Operation: 78-59=19
Current State: 41:[36, 95, 19], Operations: ['78-59=19']
Exploring Operation: 95/19=5, Resulting Numbers: [36, 5]
Generated Node #3: [36, 5] from Operation: 95/19=5
Current State: 41:[36, 5], Operations: ['78-59=19', '95/19=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[36, 95, 59, 78], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [59, 78, 59]
Generated Node #0,0: 41:[59, 78, 59] Operation: 95-36=59
Exploring Operation: 95-78=17, Resulting Numbers: [36, 59, 17]
Generated Node #0,1: 41:[36, 59, 17] Operation: 95-78=17
Exploring Operation: 95-59=36, Resulting Numbers: [36, 78, 36]
Generated Node #0,2: 41:[36, 78, 36] Operation: 95-59=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[36, 59, 17], Operations: ['95-78=17']
Exploring Operation: 59-17=42, Resulting Numbers: [36, 42]
Generated Node #0,1,0: 41:[36, 42] Operation: 59-17=42
Exploring Operation: 36-17=19, Resulting Numbers: [59, 19]
Generated Node #0,1,1: 41:[59, 19] Operation: 36-17=19
Exploring Operation: 36+17=53, Resulting Numbers: [59, 53]
Generated Node #0,1,2: 41:[59, 53] Operation: 36+17=53
Moving to Node #0,1,0
Current State: 41:[36, 42], Operations: ['95-78=17', '59-17=42']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[59, 53], Operations: ['95-78=17', '36+17=53']
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,41 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[59, 19], Operations: ['95-78=17', '36-17=19']
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,41 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[36, 78, 36], Operations: ['95-59=36']
Exploring Operation: 36+36=72, Resulting Numbers: [78, 72]
Generated Node #0,2,0: 41:[78, 72] Operation: 36+36=72
Exploring Operation: 78-36=42, Resulting Numbers: [36, 42]
Generated Node #0,2,1: 41:[36, 42] Operation: 78-36=42
Exploring Operation: 78-36=42, Resulting Numbers: [36, 42]
Generated Node #0,2,2: 41:[36, 42] Operation: 78-36=42
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[36, 42], Operations: ['95-59=36', '78-36=42']
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,41 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[36, 42], Operations: ['95-59=36', '78-36=42']
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 36+42=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 36*42=1512, Resulting Numbers: [1512]
1512,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[78, 72], Operations: ['95-59=36', '36+36=72']
Exploring Operation: 78*72=5616, Resulting Numbers: [5616]
5616,41 unequal: No Solution
Exploring Operation: 78+72=150, Resulting Numbers: [150]
150,41 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[59, 78, 59], Operations: ['95-36=59']
Exploring Operation: 78-59=19, Resulting Numbers: [59, 19]
Generated Node #0,0,0: 41:[59, 19] Operation: 78-59=19
Exploring Operation: 59/59=1, Resulting Numbers: [78, 1]
Generated Node #0,0,1: 41:[78, 1] Operation: 59/59=1
Exploring Operation: 78-59=19, Resulting Numbers: [59, 19]
Generated Node #0,0,2: 41:[59, 19] Operation: 78-59=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[59, 19], Operations: ['95-36=59', '78-59=19']
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,41 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[59, 19], Operations: ['95-36=59', '78-59=19']
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,41 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[78, 1], Operations: ['95-36=59', '59/59=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
46,
34,
46
] | 34 | [
"46-46=0",
"25*0=0",
"34+0=34"
] | Current State: 34:[25, 46, 34, 46], Operations: []
Exploring Operation: 46-46=0, Resulting Numbers: [25, 34, 0]
Generated Node #2: [25, 34, 0] from Operation: 46-46=0
Current State: 34:[25, 34, 0], Operations: ['46-46=0']
Exploring Operation: 25*0=0, Resulting Numbers: [34, 0]
Generated Node #3: [34, 0] from Operation: 25*0=0
Current State: 34:[34, 0], Operations: ['46-46=0', '25*0=0']
Exploring Operation: 34+0=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[25, 46, 34, 46], Operations: []
Exploring Operation: 46/46=1, Resulting Numbers: [25, 34, 1]
Generated Node #0,0: 34:[25, 34, 1] Operation: 46/46=1
Exploring Operation: 46-25=21, Resulting Numbers: [34, 46, 21]
Generated Node #0,1: 34:[34, 46, 21] Operation: 46-25=21
Exploring Operation: 46-46=0, Resulting Numbers: [25, 34, 0]
Generated Node #0,2: 34:[25, 34, 0] Operation: 46-46=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[25, 34, 1], Operations: ['46/46=1']
Exploring Operation: 34-25=9, Resulting Numbers: [1, 9]
Generated Node #0,0,0: 34:[1, 9] Operation: 34-25=9
Exploring Operation: 25-1=24, Resulting Numbers: [34, 24]
Generated Node #0,0,1: 34:[34, 24] Operation: 25-1=24
Exploring Operation: 25+1=26, Resulting Numbers: [34, 26]
Generated Node #0,0,2: 34:[34, 26] Operation: 25+1=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[34, 24], Operations: ['46/46=1', '25-1=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,34 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[1, 9], Operations: ['46/46=1', '34-25=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[34, 26], Operations: ['46/46=1', '25+1=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,34 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,34 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[25, 34, 0], Operations: ['46-46=0']
Exploring Operation: 25-0=25, Resulting Numbers: [34, 25]
Generated Node #0,2,0: 34:[34, 25] Operation: 25-0=25
Exploring Operation: 25+0=25, Resulting Numbers: [34, 25]
Generated Node #0,2,1: 34:[34, 25] Operation: 25+0=25
Exploring Operation: 25*0=0, Resulting Numbers: [34, 0]
Generated Node #0,2,2: 34:[34, 0] Operation: 25*0=0
Moving to Node #0,2,2
Current State: 34:[34, 0], Operations: ['46-46=0', '25*0=0']
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[25, 46, 34, 46], Operations: []
Exploring Operation: 46-46=0, Resulting Numbers: [25, 34, 0]
Generated Node #0,2: 34:[25, 34, 0] Operation: 46-46=0
Moving to Node #0,2
Current State: 34:[25, 34, 0], Operations: ['46-46=0']
Exploring Operation: 25*0=0, Resulting Numbers: [34, 0]
Generated Node #0,2,2: 34:[34, 0] Operation: 25*0=0
Moving to Node #0,2,2
Current State: 34:[34, 0], Operations: ['46-46=0', '25*0=0']
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
17,
51,
93,
10
] | 15 | [
"17+51=68",
"93-10=83",
"83-68=15"
] | Current State: 15:[17, 51, 93, 10], Operations: []
Exploring Operation: 17+51=68, Resulting Numbers: [93, 10, 68]
Generated Node #2: [93, 10, 68] from Operation: 17+51=68
Current State: 15:[93, 10, 68], Operations: ['17+51=68']
Exploring Operation: 93-10=83, Resulting Numbers: [68, 83]
Generated Node #3: [68, 83] from Operation: 93-10=83
Current State: 15:[68, 83], Operations: ['17+51=68', '93-10=83']
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[17, 51, 93, 10], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [17, 10, 42]
Generated Node #0,0: 15:[17, 10, 42] Operation: 93-51=42
Moving to Node #0,0
Current State: 15:[17, 10, 42], Operations: ['93-51=42']
Exploring Operation: 42-17=25, Resulting Numbers: [10, 25]
Generated Node #0,0,0: 15:[10, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[10, 25], Operations: ['93-51=42', '42-17=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[17, 51, 93, 10], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [17, 10, 42]
Generated Node #0,0: 15:[17, 10, 42] Operation: 93-51=42
Moving to Node #0,0
Current State: 15:[17, 10, 42], Operations: ['93-51=42']
Exploring Operation: 42-17=25, Resulting Numbers: [10, 25]
Generated Node #0,0,0: 15:[10, 25] Operation: 42-17=25
Moving to Node #0,0,0
Current State: 15:[10, 25], Operations: ['93-51=42', '42-17=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
57,
94,
84,
57
] | 94 | [
"57-57=0",
"84*0=0",
"94+0=94"
] | Current State: 94:[57, 94, 84, 57], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [94, 84, 0]
Generated Node #2: [94, 84, 0] from Operation: 57-57=0
Current State: 94:[94, 84, 0], Operations: ['57-57=0']
Exploring Operation: 84*0=0, Resulting Numbers: [94, 0]
Generated Node #3: [94, 0] from Operation: 84*0=0
Current State: 94:[94, 0], Operations: ['57-57=0', '84*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[57, 94, 84, 57], Operations: []
Exploring Operation: 57/57=1, Resulting Numbers: [94, 84, 1]
Generated Node #0,0: 94:[94, 84, 1] Operation: 57/57=1
Moving to Node #0,0
Current State: 94:[94, 84, 1], Operations: ['57/57=1']
Exploring Operation: 94-84=10, Resulting Numbers: [1, 10]
Generated Node #0,0,0: 94:[1, 10] Operation: 94-84=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[1, 10], Operations: ['57/57=1', '94-84=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
53,
9,
27
] | 79 | [
"9-7=2",
"53*2=106",
"106-27=79"
] | Current State: 79:[7, 53, 9, 27], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [53, 27, 2]
Generated Node #2: [53, 27, 2] from Operation: 9-7=2
Current State: 79:[53, 27, 2], Operations: ['9-7=2']
Exploring Operation: 53*2=106, Resulting Numbers: [27, 106]
Generated Node #3: [27, 106] from Operation: 53*2=106
Current State: 79:[27, 106], Operations: ['9-7=2', '53*2=106']
Exploring Operation: 106-27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 53, 9, 27], Operations: []
Exploring Operation: 7+53=60, Resulting Numbers: [9, 27, 60]
Generated Node #0,0: 79:[9, 27, 60] Operation: 7+53=60
Exploring Operation: 7*9=63, Resulting Numbers: [53, 27, 63]
Generated Node #0,1: 79:[53, 27, 63] Operation: 7*9=63
Exploring Operation: 7+9=16, Resulting Numbers: [53, 27, 16]
Generated Node #0,2: 79:[53, 27, 16] Operation: 7+9=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[53, 27, 63], Operations: ['7*9=63']
Exploring Operation: 53-27=26, Resulting Numbers: [63, 26]
Generated Node #0,1,0: 79:[63, 26] Operation: 53-27=26
Exploring Operation: 53+27=80, Resulting Numbers: [63, 80]
Generated Node #0,1,1: 79:[63, 80] Operation: 53+27=80
Exploring Operation: 27+63=90, Resulting Numbers: [53, 90]
Generated Node #0,1,2: 79:[53, 90] Operation: 27+63=90
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[63, 80], Operations: ['7*9=63', '53+27=80']
Exploring Operation: 63*80=5040, Resulting Numbers: [5040]
5040,79 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 63+80=143, Resulting Numbers: [143]
143,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[53, 90], Operations: ['7*9=63', '27+63=90']
Exploring Operation: 53*90=4770, Resulting Numbers: [4770]
4770,79 unequal: No Solution
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 53+90=143, Resulting Numbers: [143]
143,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[63, 26], Operations: ['7*9=63', '53-27=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[9, 27, 60], Operations: ['7+53=60']
Exploring Operation: 27+60=87, Resulting Numbers: [9, 87]
Generated Node #0,0,0: 79:[9, 87] Operation: 27+60=87
Exploring Operation: 9+27=36, Resulting Numbers: [60, 36]
Generated Node #0,0,1: 79:[60, 36] Operation: 9+27=36
Exploring Operation: 9+60=69, Resulting Numbers: [27, 69]
Generated Node #0,0,2: 79:[27, 69] Operation: 9+60=69
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[60, 36], Operations: ['7+53=60', '9+27=36']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[27, 69], Operations: ['7+53=60', '9+60=69']
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,79 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[9, 87], Operations: ['7+53=60', '27+60=87']
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 9*87=783, Resulting Numbers: [783]
783,79 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[53, 27, 16], Operations: ['7+9=16']
Exploring Operation: 27+16=43, Resulting Numbers: [53, 43]
Generated Node #0,2,0: 79:[53, 43] Operation: 27+16=43
Exploring Operation: 53+27=80, Resulting Numbers: [16, 80]
Generated Node #0,2,1: 79:[16, 80] Operation: 53+27=80
Exploring Operation: 53+16=69, Resulting Numbers: [27, 69]
Generated Node #0,2,2: 79:[27, 69] Operation: 53+16=69
Moving to Node #0,2,0
Current State: 79:[53, 43], Operations: ['7+9=16', '27+16=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,79 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[27, 69], Operations: ['7+9=16', '53+16=69']
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,79 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[16, 80], Operations: ['7+9=16', '53+27=80']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
59,
36,
6
] | 27 | [
"59-38=21",
"36/6=6",
"21+6=27"
] | Current State: 27:[38, 59, 36, 6], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [36, 6, 21]
Generated Node #2: [36, 6, 21] from Operation: 59-38=21
Current State: 27:[36, 6, 21], Operations: ['59-38=21']
Exploring Operation: 36/6=6, Resulting Numbers: [21, 6]
Generated Node #3: [21, 6] from Operation: 36/6=6
Current State: 27:[21, 6], Operations: ['59-38=21', '36/6=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[38, 59, 36, 6], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [59, 6, 2]
Generated Node #0,0: 27:[59, 6, 2] Operation: 38-36=2
Exploring Operation: 59-36=23, Resulting Numbers: [38, 6, 23]
Generated Node #0,1: 27:[38, 6, 23] Operation: 59-36=23
Exploring Operation: 59-38=21, Resulting Numbers: [36, 6, 21]
Generated Node #0,2: 27:[36, 6, 21] Operation: 59-38=21
Exploring Operation: 38-6=32, Resulting Numbers: [59, 36, 32]
Generated Node #0,3: 27:[59, 36, 32] Operation: 38-6=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[38, 6, 23], Operations: ['59-36=23']
Exploring Operation: 38-6=32, Resulting Numbers: [23, 32]
Generated Node #0,1,0: 27:[23, 32] Operation: 38-6=32
Exploring Operation: 6+23=29, Resulting Numbers: [38, 29]
Generated Node #0,1,1: 27:[38, 29] Operation: 6+23=29
Exploring Operation: 23-6=17, Resulting Numbers: [38, 17]
Generated Node #0,1,2: 27:[38, 17] Operation: 23-6=17
Exploring Operation: 38-23=15, Resulting Numbers: [6, 15]
Generated Node #0,1,3: 27:[6, 15] Operation: 38-23=15
Moving to Node #0,1,0
Current State: 27:[23, 32], Operations: ['59-36=23', '38-6=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,27 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[6, 15], Operations: ['59-36=23', '38-23=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[38, 29], Operations: ['59-36=23', '6+23=29']
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,27 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[38, 17], Operations: ['59-36=23', '23-6=17']
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,27 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[36, 6, 21], Operations: ['59-38=21']
Exploring Operation: 36-6=30, Resulting Numbers: [21, 30]
Generated Node #0,2,0: 27:[21, 30] Operation: 36-6=30
Exploring Operation: 36/6=6, Resulting Numbers: [21, 6]
Generated Node #0,2,1: 27:[21, 6] Operation: 36/6=6
Exploring Operation: 36-21=15, Resulting Numbers: [6, 15]
Generated Node #0,2,2: 27:[6, 15] Operation: 36-21=15
Exploring Operation: 6+21=27, Resulting Numbers: [36, 27]
Generated Node #0,2,3: 27:[36, 27] Operation: 6+21=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[21, 30], Operations: ['59-38=21', '36-6=30']
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,27 unequal: No Solution
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,27 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[21, 6], Operations: ['59-38=21', '36/6=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,27 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[38, 59, 36, 6], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [36, 6, 21]
Generated Node #0,2: 27:[36, 6, 21] Operation: 59-38=21
Moving to Node #0,2
Current State: 27:[36, 6, 21], Operations: ['59-38=21']
Exploring Operation: 36/6=6, Resulting Numbers: [21, 6]
Generated Node #0,2,1: 27:[21, 6] Operation: 36/6=6
Moving to Node #0,2,1
Current State: 27:[21, 6], Operations: ['59-38=21', '36/6=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
62,
75,
63,
93
] | 33 | [
"62*63=3906",
"3906/93=42",
"75-42=33"
] | Current State: 33:[62, 75, 63, 93], Operations: []
Exploring Operation: 62*63=3906, Resulting Numbers: [75, 93, 3906]
Generated Node #2: [75, 93, 3906] from Operation: 62*63=3906
Current State: 33:[75, 93, 3906], Operations: ['62*63=3906']
Exploring Operation: 3906/93=42, Resulting Numbers: [75, 42]
Generated Node #3: [75, 42] from Operation: 3906/93=42
Current State: 33:[75, 42], Operations: ['62*63=3906', '3906/93=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 75, 63, 93], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [62, 63, 18]
Generated Node #0,0: 33:[62, 63, 18] Operation: 93-75=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[62, 63, 18], Operations: ['93-75=18']
Exploring Operation: 63-62=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 33:[18, 1] Operation: 63-62=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[18, 1], Operations: ['93-75=18', '63-62=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
21,
5,
70
] | 52 | [
"17+21=38",
"70/5=14",
"38+14=52"
] | Current State: 52:[17, 21, 5, 70], Operations: []
Exploring Operation: 17+21=38, Resulting Numbers: [5, 70, 38]
Generated Node #2: [5, 70, 38] from Operation: 17+21=38
Current State: 52:[5, 70, 38], Operations: ['17+21=38']
Exploring Operation: 70/5=14, Resulting Numbers: [38, 14]
Generated Node #3: [38, 14] from Operation: 70/5=14
Current State: 52:[38, 14], Operations: ['17+21=38', '70/5=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[17, 21, 5, 70], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [21, 5, 53]
Generated Node #0,0: 52:[21, 5, 53] Operation: 70-17=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[21, 5, 53], Operations: ['70-17=53']
Exploring Operation: 21+5=26, Resulting Numbers: [53, 26]
Generated Node #0,0,0: 52:[53, 26] Operation: 21+5=26
Moving to Node #0,0,0
Current State: 52:[53, 26], Operations: ['70-17=53', '21+5=26']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
4,
48,
11
] | 36 | [
"51+48=99",
"4*99=396",
"396/11=36"
] | Current State: 36:[51, 4, 48, 11], Operations: []
Exploring Operation: 51+48=99, Resulting Numbers: [4, 11, 99]
Generated Node #2: [4, 11, 99] from Operation: 51+48=99
Current State: 36:[4, 11, 99], Operations: ['51+48=99']
Exploring Operation: 4*99=396, Resulting Numbers: [11, 396]
Generated Node #3: [11, 396] from Operation: 4*99=396
Current State: 36:[11, 396], Operations: ['51+48=99', '4*99=396']
Exploring Operation: 396/11=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[51, 4, 48, 11], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [4, 11, 3]
Generated Node #0,0: 36:[4, 11, 3] Operation: 51-48=3
Moving to Node #0,0
Current State: 36:[4, 11, 3], Operations: ['51-48=3']
Exploring Operation: 11-4=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 36:[3, 7] Operation: 11-4=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[3, 7], Operations: ['51-48=3', '11-4=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
48,
36,
26
] | 48 | [
"90*26=2340",
"2340-36=2304",
"2304/48=48"
] | Current State: 48:[90, 48, 36, 26], Operations: []
Exploring Operation: 90*26=2340, Resulting Numbers: [48, 36, 2340]
Generated Node #2: [48, 36, 2340] from Operation: 90*26=2340
Current State: 48:[48, 36, 2340], Operations: ['90*26=2340']
Exploring Operation: 2340-36=2304, Resulting Numbers: [48, 2304]
Generated Node #3: [48, 2304] from Operation: 2340-36=2304
Current State: 48:[48, 2304], Operations: ['90*26=2340', '2340-36=2304']
Exploring Operation: 2304/48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[90, 48, 36, 26], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [48, 26, 54]
Generated Node #0,0: 48:[48, 26, 54] Operation: 90-36=54
Exploring Operation: 90-48=42, Resulting Numbers: [36, 26, 42]
Generated Node #0,1: 48:[36, 26, 42] Operation: 90-48=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[48, 26, 54], Operations: ['90-36=54']
Exploring Operation: 54-48=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 48:[26, 6] Operation: 54-48=6
Exploring Operation: 54-26=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 48:[48, 28] Operation: 54-26=28
Moving to Node #0,0,0
Current State: 48:[26, 6], Operations: ['90-36=54', '54-48=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[48, 28], Operations: ['90-36=54', '54-26=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[36, 26, 42], Operations: ['90-48=42']
Exploring Operation: 42-36=6, Resulting Numbers: [26, 6]
Generated Node #0,1,0: 48:[26, 6] Operation: 42-36=6
Exploring Operation: 36-26=10, Resulting Numbers: [42, 10]
Generated Node #0,1,1: 48:[42, 10] Operation: 36-26=10
Moving to Node #0,1,0
Current State: 48:[26, 6], Operations: ['90-48=42', '42-36=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[42, 10], Operations: ['90-48=42', '36-26=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
89,
78,
19,
91
] | 60 | [
"89-19=70",
"78*70=5460",
"5460/91=60"
] | Current State: 60:[89, 78, 19, 91], Operations: []
Exploring Operation: 89-19=70, Resulting Numbers: [78, 91, 70]
Generated Node #2: [78, 91, 70] from Operation: 89-19=70
Current State: 60:[78, 91, 70], Operations: ['89-19=70']
Exploring Operation: 78*70=5460, Resulting Numbers: [91, 5460]
Generated Node #3: [91, 5460] from Operation: 78*70=5460
Current State: 60:[91, 5460], Operations: ['89-19=70', '78*70=5460']
Exploring Operation: 5460/91=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[89, 78, 19, 91], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [89, 19, 13]
Generated Node #0,0: 60:[89, 19, 13] Operation: 91-78=13
Exploring Operation: 89-78=11, Resulting Numbers: [19, 91, 11]
Generated Node #0,1: 60:[19, 91, 11] Operation: 89-78=11
Exploring Operation: 91-89=2, Resulting Numbers: [78, 19, 2]
Generated Node #0,2: 60:[78, 19, 2] Operation: 91-89=2
Moving to Node #0,2
Current State: 60:[78, 19, 2], Operations: ['91-89=2']
Exploring Operation: 78-2=76, Resulting Numbers: [19, 76]
Generated Node #0,2,0: 60:[19, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [19, 39]
Generated Node #0,2,1: 60:[19, 39] Operation: 78/2=39
Exploring Operation: 78-19=59, Resulting Numbers: [2, 59]
Generated Node #0,2,2: 60:[2, 59] Operation: 78-19=59
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[2, 59], Operations: ['91-89=2', '78-19=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[19, 39], Operations: ['91-89=2', '78/2=39']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[19, 76], Operations: ['91-89=2', '78-2=76']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 60:[89, 19, 13], Operations: ['91-78=13']
Exploring Operation: 89-13=76, Resulting Numbers: [19, 76]
Generated Node #0,0,0: 60:[19, 76] Operation: 89-13=76
Exploring Operation: 89-19=70, Resulting Numbers: [13, 70]
Generated Node #0,0,1: 60:[13, 70] Operation: 89-19=70
Exploring Operation: 19-13=6, Resulting Numbers: [89, 6]
Generated Node #0,0,2: 60:[89, 6] Operation: 19-13=6
Moving to Node #0,1
Current State: 60:[19, 91, 11], Operations: ['89-78=11']
Exploring Operation: 91-19=72, Resulting Numbers: [11, 72]
Generated Node #0,1,0: 60:[11, 72] Operation: 91-19=72
Exploring Operation: 91-11=80, Resulting Numbers: [19, 80]
Generated Node #0,1,1: 60:[19, 80] Operation: 91-11=80
Exploring Operation: 19+11=30, Resulting Numbers: [91, 30]
Generated Node #0,1,2: 60:[91, 30] Operation: 19+11=30
Moving to Node #0,0,1
Current State: 60:[13, 70], Operations: ['91-78=13', '89-19=70']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[11, 72], Operations: ['89-78=11', '91-19=72']
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,60 unequal: No Solution
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[19, 76], Operations: ['91-78=13', '89-13=76']
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 19+76=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[19, 80], Operations: ['89-78=11', '91-11=80']
Exploring Operation: 19*80=1520, Resulting Numbers: [1520]
1520,60 unequal: No Solution
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,60 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[89, 6], Operations: ['91-78=13', '19-13=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,60 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[91, 30], Operations: ['89-78=11', '19+11=30']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,60 unequal: No Solution
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,60 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
73,
66,
94,
38
] | 63 | [
"73-66=7",
"94-38=56",
"7+56=63"
] | Current State: 63:[73, 66, 94, 38], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [94, 38, 7]
Generated Node #2: [94, 38, 7] from Operation: 73-66=7
Current State: 63:[94, 38, 7], Operations: ['73-66=7']
Exploring Operation: 94-38=56, Resulting Numbers: [7, 56]
Generated Node #3: [7, 56] from Operation: 94-38=56
Current State: 63:[7, 56], Operations: ['73-66=7', '94-38=56']
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[73, 66, 94, 38], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [66, 38, 21]
Generated Node #0,0: 63:[66, 38, 21] Operation: 94-73=21
Moving to Node #0,0
Current State: 63:[66, 38, 21], Operations: ['94-73=21']
Exploring Operation: 66-38=28, Resulting Numbers: [21, 28]
Generated Node #0,0,0: 63:[21, 28] Operation: 66-38=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[21, 28], Operations: ['94-73=21', '66-38=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.