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 |
|---|---|---|---|---|---|---|---|---|
[
20,
29,
3,
4
] | 15 | [
"20+29=49",
"49-4=45",
"45/3=15"
] | Current State: 15:[20, 29, 3, 4], Operations: []
Exploring Operation: 20+29=49, Resulting Numbers: [3, 4, 49]
Generated Node #2: [3, 4, 49] from Operation: 20+29=49
Current State: 15:[3, 4, 49], Operations: ['20+29=49']
Exploring Operation: 49-4=45, Resulting Numbers: [3, 45]
Generated Node #3: [3, 45] from Operation: 49-4=45
Current State: 15:[3, 45], Operations: ['20+29=49', '49-4=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[20, 29, 3, 4], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [3, 4, 9]
Generated Node #0,0: 15:[3, 4, 9] Operation: 29-20=9
Exploring Operation: 20/4=5, Resulting Numbers: [29, 3, 5]
Generated Node #0,1: 15:[29, 3, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[3, 4, 9], Operations: ['29-20=9']
Exploring Operation: 9-4=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 15:[3, 5] Operation: 9-4=5
Exploring Operation: 9/3=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 15:[4, 3] Operation: 9/3=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[3, 5], Operations: ['29-20=9', '9-4=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[20, 29, 3, 4], Operations: []
Exploring Operation: 29-20=9, Resulting Numbers: [3, 4, 9]
Generated Node #0,0: 15:[3, 4, 9] Operation: 29-20=9
Moving to Node #0,0
Current State: 15:[3, 4, 9], Operations: ['29-20=9']
Exploring Operation: 9-4=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 15:[3, 5] Operation: 9-4=5
Moving to Node #0,0,0
Current State: 15:[3, 5], Operations: ['29-20=9', '9-4=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
22,
65,
12,
96
] | 21 | [
"22+65=87",
"12+96=108",
"108-87=21"
] | Current State: 21:[22, 65, 12, 96], Operations: []
Exploring Operation: 22+65=87, Resulting Numbers: [12, 96, 87]
Generated Node #2: [12, 96, 87] from Operation: 22+65=87
Current State: 21:[12, 96, 87], Operations: ['22+65=87']
Exploring Operation: 12+96=108, Resulting Numbers: [87, 108]
Generated Node #3: [87, 108] from Operation: 12+96=108
Current State: 21:[87, 108], Operations: ['22+65=87', '12+96=108']
Exploring Operation: 108-87=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[22, 65, 12, 96], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [22, 12, 31]
Generated Node #0,0: 21:[22, 12, 31] Operation: 96-65=31
Moving to Node #0,0
Current State: 21:[22, 12, 31], Operations: ['96-65=31']
Exploring Operation: 31-12=19, Resulting Numbers: [22, 19]
Generated Node #0,0,0: 21:[22, 19] Operation: 31-12=19
Moving to Node #0,0,0
Current State: 21:[22, 19], Operations: ['96-65=31', '31-12=19']
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
80,
61,
59
] | 10 | [
"80-68=12",
"61+59=120",
"120/12=10"
] | Current State: 10:[68, 80, 61, 59], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [61, 59, 12]
Generated Node #2: [61, 59, 12] from Operation: 80-68=12
Current State: 10:[61, 59, 12], Operations: ['80-68=12']
Exploring Operation: 61+59=120, Resulting Numbers: [12, 120]
Generated Node #3: [12, 120] from Operation: 61+59=120
Current State: 10:[12, 120], Operations: ['80-68=12', '61+59=120']
Exploring Operation: 120/12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[68, 80, 61, 59], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [80, 59, 7]
Generated Node #0,0: 10:[80, 59, 7] Operation: 68-61=7
Exploring Operation: 80-68=12, Resulting Numbers: [61, 59, 12]
Generated Node #0,1: 10:[61, 59, 12] Operation: 80-68=12
Exploring Operation: 80-61=19, Resulting Numbers: [68, 59, 19]
Generated Node #0,2: 10:[68, 59, 19] Operation: 80-61=19
Exploring Operation: 80-59=21, Resulting Numbers: [68, 61, 21]
Generated Node #0,3: 10:[68, 61, 21] Operation: 80-59=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[61, 59, 12], Operations: ['80-68=12']
Exploring Operation: 61-59=2, Resulting Numbers: [12, 2]
Generated Node #0,1,0: 10:[12, 2] Operation: 61-59=2
Exploring Operation: 59-12=47, Resulting Numbers: [61, 47]
Generated Node #0,1,1: 10:[61, 47] Operation: 59-12=47
Exploring Operation: 61+59=120, Resulting Numbers: [12, 120]
Generated Node #0,1,2: 10:[12, 120] Operation: 61+59=120
Exploring Operation: 61-12=49, Resulting Numbers: [59, 49]
Generated Node #0,1,3: 10:[59, 49] Operation: 61-12=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[12, 2], Operations: ['80-68=12', '61-59=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[68, 80, 61, 59], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [61, 59, 12]
Generated Node #0,1: 10:[61, 59, 12] Operation: 80-68=12
Moving to Node #0,1
Current State: 10:[61, 59, 12], Operations: ['80-68=12']
Exploring Operation: 61-59=2, Resulting Numbers: [12, 2]
Generated Node #0,1,0: 10:[12, 2] Operation: 61-59=2
Moving to Node #0,1,0
Current State: 10:[12, 2], Operations: ['80-68=12', '61-59=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
74,
26,
8,
12
] | 68 | [
"74-26=48",
"8+12=20",
"48+20=68"
] | Current State: 68:[74, 26, 8, 12], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [8, 12, 48]
Generated Node #2: [8, 12, 48] from Operation: 74-26=48
Current State: 68:[8, 12, 48], Operations: ['74-26=48']
Exploring Operation: 8+12=20, Resulting Numbers: [48, 20]
Generated Node #3: [48, 20] from Operation: 8+12=20
Current State: 68:[48, 20], Operations: ['74-26=48', '8+12=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[74, 26, 8, 12], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [74, 12, 18]
Generated Node #0,0: 68:[74, 12, 18] Operation: 26-8=18
Exploring Operation: 26+8=34, Resulting Numbers: [74, 12, 34]
Generated Node #0,1: 68:[74, 12, 34] Operation: 26+8=34
Moving to Node #0,1
Current State: 68:[74, 12, 34], Operations: ['26+8=34']
Exploring Operation: 74-34=40, Resulting Numbers: [12, 40]
Generated Node #0,1,0: 68:[12, 40] Operation: 74-34=40
Exploring Operation: 74-12=62, Resulting Numbers: [34, 62]
Generated Node #0,1,1: 68:[34, 62] Operation: 74-12=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[34, 62], Operations: ['26+8=34', '74-12=62']
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,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:[12, 40], Operations: ['26+8=34', '74-34=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,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:[74, 12, 18], Operations: ['26-8=18']
Exploring Operation: 74-12=62, Resulting Numbers: [18, 62]
Generated Node #0,0,0: 68:[18, 62] Operation: 74-12=62
Exploring Operation: 18-12=6, Resulting Numbers: [74, 6]
Generated Node #0,0,1: 68:[74, 6] Operation: 18-12=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[18, 62], Operations: ['26-8=18', '74-12=62']
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,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,0,1
Current State: 68:[74, 6], Operations: ['26-8=18', '18-12=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[74, 26, 8, 12], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [74, 12, 18]
Generated Node #0,0: 68:[74, 12, 18] Operation: 26-8=18
Moving to Node #0,0
Current State: 68:[74, 12, 18], Operations: ['26-8=18']
Exploring Operation: 18-12=6, Resulting Numbers: [74, 6]
Generated Node #0,0,1: 68:[74, 6] Operation: 18-12=6
Moving to Node #0,0,1
Current State: 68:[74, 6], Operations: ['26-8=18', '18-12=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
32,
32,
1,
97
] | 97 | [
"32-32=0",
"1*97=97",
"0+97=97"
] | Current State: 97:[32, 32, 1, 97], Operations: []
Exploring Operation: 32-32=0, Resulting Numbers: [1, 97, 0]
Generated Node #2: [1, 97, 0] from Operation: 32-32=0
Current State: 97:[1, 97, 0], Operations: ['32-32=0']
Exploring Operation: 1*97=97, Resulting Numbers: [0, 97]
Generated Node #3: [0, 97] from Operation: 1*97=97
Current State: 97:[0, 97], Operations: ['32-32=0', '1*97=97']
Exploring Operation: 0+97=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[32, 32, 1, 97], Operations: []
Exploring Operation: 32+1=33, Resulting Numbers: [32, 97, 33]
Generated Node #0,0: 97:[32, 97, 33] Operation: 32+1=33
Exploring Operation: 32*1=32, Resulting Numbers: [32, 97, 32]
Generated Node #0,1: 97:[32, 97, 32] Operation: 32*1=32
Exploring Operation: 32+32=64, Resulting Numbers: [1, 97, 64]
Generated Node #0,2: 97:[1, 97, 64] Operation: 32+32=64
Exploring Operation: 32+1=33, Resulting Numbers: [32, 97, 33]
Generated Node #0,3: 97:[32, 97, 33] Operation: 32+1=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[32, 97, 33], Operations: ['32+1=33']
Exploring Operation: 32+33=65, Resulting Numbers: [97, 65]
Generated Node #0,0,0: 97:[97, 65] Operation: 32+33=65
Exploring Operation: 33-32=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 97:[97, 1] Operation: 33-32=1
Exploring Operation: 97-32=65, Resulting Numbers: [33, 65]
Generated Node #0,0,2: 97:[33, 65] Operation: 97-32=65
Exploring Operation: 32+97=129, Resulting Numbers: [33, 129]
Generated Node #0,0,3: 97:[33, 129] Operation: 32+97=129
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[97, 65], Operations: ['32+1=33', '32+33=65']
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 97*65=6305, Resulting Numbers: [6305]
6305,97 unequal: No Solution
Exploring Operation: 97+65=162, Resulting Numbers: [162]
162,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:[97, 1], Operations: ['32+1=33', '33-32=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[32, 32, 1, 97], Operations: []
Exploring Operation: 32+1=33, Resulting Numbers: [32, 97, 33]
Generated Node #0,0: 97:[32, 97, 33] Operation: 32+1=33
Moving to Node #0,0
Current State: 97:[32, 97, 33], Operations: ['32+1=33']
Exploring Operation: 33-32=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 97:[97, 1] Operation: 33-32=1
Moving to Node #0,0,1
Current State: 97:[97, 1], Operations: ['32+1=33', '33-32=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
80,
72,
47,
62
] | 23 | [
"80-72=8",
"62-47=15",
"8+15=23"
] | Current State: 23:[80, 72, 47, 62], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [47, 62, 8]
Generated Node #2: [47, 62, 8] from Operation: 80-72=8
Current State: 23:[47, 62, 8], Operations: ['80-72=8']
Exploring Operation: 62-47=15, Resulting Numbers: [8, 15]
Generated Node #3: [8, 15] from Operation: 62-47=15
Current State: 23:[8, 15], Operations: ['80-72=8', '62-47=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[80, 72, 47, 62], Operations: []
Exploring Operation: 80-62=18, Resulting Numbers: [72, 47, 18]
Generated Node #0,0: 23:[72, 47, 18] Operation: 80-62=18
Exploring Operation: 80-72=8, Resulting Numbers: [47, 62, 8]
Generated Node #0,1: 23:[47, 62, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[72, 47, 18], Operations: ['80-62=18']
Exploring Operation: 72/18=4, Resulting Numbers: [47, 4]
Generated Node #0,0,0: 23:[47, 4] Operation: 72/18=4
Exploring Operation: 72-47=25, Resulting Numbers: [18, 25]
Generated Node #0,0,1: 23:[18, 25] Operation: 72-47=25
Moving to Node #0,0,1
Current State: 23:[18, 25], Operations: ['80-62=18', '72-47=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[47, 4], Operations: ['80-62=18', '72/18=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,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
Current State: 23:[47, 62, 8], Operations: ['80-72=8']
Exploring Operation: 62-47=15, Resulting Numbers: [8, 15]
Generated Node #0,1,0: 23:[8, 15] Operation: 62-47=15
Exploring Operation: 47-8=39, Resulting Numbers: [62, 39]
Generated Node #0,1,1: 23:[62, 39] Operation: 47-8=39
Moving to Node #0,1,0
Current State: 23:[8, 15], Operations: ['80-72=8', '62-47=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[80, 72, 47, 62], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [47, 62, 8]
Generated Node #0,1: 23:[47, 62, 8] Operation: 80-72=8
Moving to Node #0,1
Current State: 23:[47, 62, 8], Operations: ['80-72=8']
Exploring Operation: 62-47=15, Resulting Numbers: [8, 15]
Generated Node #0,1,0: 23:[8, 15] Operation: 62-47=15
Moving to Node #0,1,0
Current State: 23:[8, 15], Operations: ['80-72=8', '62-47=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
35,
7,
37,
39
] | 23 | [
"37-35=2",
"7+39=46",
"46/2=23"
] | Current State: 23:[35, 7, 37, 39], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [7, 39, 2]
Generated Node #2: [7, 39, 2] from Operation: 37-35=2
Current State: 23:[7, 39, 2], Operations: ['37-35=2']
Exploring Operation: 7+39=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 7+39=46
Current State: 23:[2, 46], Operations: ['37-35=2', '7+39=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[35, 7, 37, 39], Operations: []
Exploring Operation: 39-7=32, Resulting Numbers: [35, 37, 32]
Generated Node #0,0: 23:[35, 37, 32] Operation: 39-7=32
Exploring Operation: 35+7=42, Resulting Numbers: [37, 39, 42]
Generated Node #0,1: 23:[37, 39, 42] Operation: 35+7=42
Exploring Operation: 35/7=5, Resulting Numbers: [37, 39, 5]
Generated Node #0,2: 23:[37, 39, 5] Operation: 35/7=5
Exploring Operation: 37-7=30, Resulting Numbers: [35, 39, 30]
Generated Node #0,3: 23:[35, 39, 30] Operation: 37-7=30
Exploring Operation: 35-7=28, Resulting Numbers: [37, 39, 28]
Generated Node #0,4: 23:[37, 39, 28] Operation: 35-7=28
Moving to Node #0,0
Current State: 23:[35, 37, 32], Operations: ['39-7=32']
Exploring Operation: 35-32=3, Resulting Numbers: [37, 3]
Generated Node #0,0,0: 23:[37, 3] Operation: 35-32=3
Exploring Operation: 35+32=67, Resulting Numbers: [37, 67]
Generated Node #0,0,1: 23:[37, 67] Operation: 35+32=67
Exploring Operation: 37-35=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 23:[32, 2] Operation: 37-35=2
Exploring Operation: 37-32=5, Resulting Numbers: [35, 5]
Generated Node #0,0,3: 23:[35, 5] Operation: 37-32=5
Exploring Operation: 35+37=72, Resulting Numbers: [32, 72]
Generated Node #0,0,4: 23:[32, 72] Operation: 35+37=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[32, 2], Operations: ['39-7=32', '37-35=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,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,0,3
Current State: 23:[35, 5], Operations: ['39-7=32', '37-32=5']
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,23 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,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,0,0
Current State: 23:[37, 3], Operations: ['39-7=32', '35-32=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,23 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,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,0,1
Current State: 23:[37, 67], Operations: ['39-7=32', '35+32=67']
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,23 unequal: No Solution
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,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,0,4
Current State: 23:[32, 72], Operations: ['39-7=32', '35+37=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,23 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: 23:[37, 39, 28], Operations: ['35-7=28']
Exploring Operation: 37-28=9, Resulting Numbers: [39, 9]
Generated Node #0,4,0: 23:[39, 9] Operation: 37-28=9
Exploring Operation: 37+28=65, Resulting Numbers: [39, 65]
Generated Node #0,4,1: 23:[39, 65] Operation: 37+28=65
Exploring Operation: 39-37=2, Resulting Numbers: [28, 2]
Generated Node #0,4,2: 23:[28, 2] Operation: 39-37=2
Exploring Operation: 37+39=76, Resulting Numbers: [28, 76]
Generated Node #0,4,3: 23:[28, 76] Operation: 37+39=76
Exploring Operation: 39-28=11, Resulting Numbers: [37, 11]
Generated Node #0,4,4: 23:[37, 11] Operation: 39-28=11
Moving to Node #0,3
Current State: 23:[35, 39, 30], Operations: ['37-7=30']
Exploring Operation: 35+39=74, Resulting Numbers: [30, 74]
Generated Node #0,3,0: 23:[30, 74] Operation: 35+39=74
Exploring Operation: 39-30=9, Resulting Numbers: [35, 9]
Generated Node #0,3,1: 23:[35, 9] Operation: 39-30=9
Exploring Operation: 39-35=4, Resulting Numbers: [30, 4]
Generated Node #0,3,2: 23:[30, 4] Operation: 39-35=4
Exploring Operation: 35-30=5, Resulting Numbers: [39, 5]
Generated Node #0,3,3: 23:[39, 5] Operation: 35-30=5
Exploring Operation: 35+30=65, Resulting Numbers: [39, 65]
Generated Node #0,3,4: 23:[39, 65] Operation: 35+30=65
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 23:[35, 9], Operations: ['37-7=30', '39-30=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,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,3,2
Current State: 23:[30, 4], Operations: ['37-7=30', '39-35=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,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,3,3
Current State: 23:[39, 5], Operations: ['37-7=30', '35-30=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,23 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,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,3,0
Current State: 23:[30, 74], Operations: ['37-7=30', '35+39=74']
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,23 unequal: No Solution
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,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,3,4
Current State: 23:[39, 65], Operations: ['37-7=30', '35+30=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,23 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: 23:[37, 39, 5], Operations: ['35/7=5']
Exploring Operation: 39+5=44, Resulting Numbers: [37, 44]
Generated Node #0,2,0: 23:[37, 44] Operation: 39+5=44
Exploring Operation: 39-5=34, Resulting Numbers: [37, 34]
Generated Node #0,2,1: 23:[37, 34] Operation: 39-5=34
Exploring Operation: 37+5=42, Resulting Numbers: [39, 42]
Generated Node #0,2,2: 23:[39, 42] Operation: 37+5=42
Exploring Operation: 37-5=32, Resulting Numbers: [39, 32]
Generated Node #0,2,3: 23:[39, 32] Operation: 37-5=32
Exploring Operation: 39-37=2, Resulting Numbers: [5, 2]
Generated Node #0,2,4: 23:[5, 2] Operation: 39-37=2
Moving to Node #0,1
Current State: 23:[37, 39, 42], Operations: ['35+7=42']
Exploring Operation: 39-37=2, Resulting Numbers: [42, 2]
Generated Node #0,1,0: 23:[42, 2] Operation: 39-37=2
Exploring Operation: 37+42=79, Resulting Numbers: [39, 79]
Generated Node #0,1,1: 23:[39, 79] Operation: 37+42=79
Exploring Operation: 37+39=76, Resulting Numbers: [42, 76]
Generated Node #0,1,2: 23:[42, 76] Operation: 37+39=76
Exploring Operation: 42-39=3, Resulting Numbers: [37, 3]
Generated Node #0,1,3: 23:[37, 3] Operation: 42-39=3
Exploring Operation: 42-37=5, Resulting Numbers: [39, 5]
Generated Node #0,1,4: 23:[39, 5] Operation: 42-37=5
Moving to Node #0,2,1
Current State: 23:[37, 34], Operations: ['35/7=5', '39-5=34']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[39, 32], Operations: ['35/7=5', '37-5=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,23 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[28, 2], Operations: ['35-7=28', '39-37=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[37, 11], Operations: ['35-7=28', '39-28=11']
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,23 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[39, 9], Operations: ['35-7=28', '37-28=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,23 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[39, 5], Operations: ['35+7=42', '42-37=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[37, 3], Operations: ['35+7=42', '42-39=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,23 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[37, 44], Operations: ['35/7=5', '39+5=44']
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,23 unequal: No Solution
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,23 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[39, 42], Operations: ['35/7=5', '37+5=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,23 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[5, 2], Operations: ['35/7=5', '39-37=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[42, 2], Operations: ['35+7=42', '39-37=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[28, 76], Operations: ['35-7=28', '37+39=76']
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[39, 65], Operations: ['35-7=28', '37+28=65']
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,23 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[39, 79], Operations: ['35+7=42', '37+42=79']
Exploring Operation: 39*79=3081, Resulting Numbers: [3081]
3081,23 unequal: No Solution
Exploring Operation: 39+79=118, Resulting Numbers: [118]
118,23 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[42, 76], Operations: ['35+7=42', '37+39=76']
Exploring Operation: 42*76=3192, Resulting Numbers: [3192]
3192,23 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 42+76=118, Resulting Numbers: [118]
118,23 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
81,
68,
32,
12
] | 32 | [
"81-68=13",
"13-12=1",
"32*1=32"
] | Current State: 32:[81, 68, 32, 12], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [32, 12, 13]
Generated Node #2: [32, 12, 13] from Operation: 81-68=13
Current State: 32:[32, 12, 13], Operations: ['81-68=13']
Exploring Operation: 13-12=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 13-12=1
Current State: 32:[32, 1], Operations: ['81-68=13', '13-12=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[81, 68, 32, 12], Operations: []
Exploring Operation: 81-32=49, Resulting Numbers: [68, 12, 49]
Generated Node #0,0: 32:[68, 12, 49] Operation: 81-32=49
Exploring Operation: 81-68=13, Resulting Numbers: [32, 12, 13]
Generated Node #0,1: 32:[32, 12, 13] Operation: 81-68=13
Exploring Operation: 68-32=36, Resulting Numbers: [81, 12, 36]
Generated Node #0,2: 32:[81, 12, 36] Operation: 68-32=36
Exploring Operation: 81-12=69, Resulting Numbers: [68, 32, 69]
Generated Node #0,3: 32:[68, 32, 69] Operation: 81-12=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[32, 12, 13], Operations: ['81-68=13']
Exploring Operation: 32-12=20, Resulting Numbers: [13, 20]
Generated Node #0,1,0: 32:[13, 20] Operation: 32-12=20
Exploring Operation: 13-12=1, Resulting Numbers: [32, 1]
Generated Node #0,1,1: 32:[32, 1] Operation: 13-12=1
Exploring Operation: 32-13=19, Resulting Numbers: [12, 19]
Generated Node #0,1,2: 32:[12, 19] Operation: 32-13=19
Exploring Operation: 12+13=25, Resulting Numbers: [32, 25]
Generated Node #0,1,3: 32:[32, 25] Operation: 12+13=25
Moving to Node #0,1,1
Current State: 32:[32, 1], Operations: ['81-68=13', '13-12=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[81, 68, 32, 12], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [32, 12, 13]
Generated Node #0,1: 32:[32, 12, 13] Operation: 81-68=13
Moving to Node #0,1
Current State: 32:[32, 12, 13], Operations: ['81-68=13']
Exploring Operation: 13-12=1, Resulting Numbers: [32, 1]
Generated Node #0,1,1: 32:[32, 1] Operation: 13-12=1
Moving to Node #0,1,1
Current State: 32:[32, 1], Operations: ['81-68=13', '13-12=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
19,
86,
51,
58
] | 98 | [
"19+86=105",
"58-51=7",
"105-7=98"
] | Current State: 98:[19, 86, 51, 58], Operations: []
Exploring Operation: 19+86=105, Resulting Numbers: [51, 58, 105]
Generated Node #2: [51, 58, 105] from Operation: 19+86=105
Current State: 98:[51, 58, 105], Operations: ['19+86=105']
Exploring Operation: 58-51=7, Resulting Numbers: [105, 7]
Generated Node #3: [105, 7] from Operation: 58-51=7
Current State: 98:[105, 7], Operations: ['19+86=105', '58-51=7']
Exploring Operation: 105-7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[19, 86, 51, 58], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [19, 86, 7]
Generated Node #0,0: 98:[19, 86, 7] Operation: 58-51=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[19, 86, 7], Operations: ['58-51=7']
Exploring Operation: 19+86=105, Resulting Numbers: [7, 105]
Generated Node #0,0,0: 98:[7, 105] Operation: 19+86=105
Moving to Node #0,0,0
Current State: 98:[7, 105], Operations: ['58-51=7', '19+86=105']
Exploring Operation: 105-7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[19, 86, 51, 58], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [19, 86, 7]
Generated Node #0,0: 98:[19, 86, 7] Operation: 58-51=7
Moving to Node #0,0
Current State: 98:[19, 86, 7], Operations: ['58-51=7']
Exploring Operation: 19+86=105, Resulting Numbers: [7, 105]
Generated Node #0,0,0: 98:[7, 105] Operation: 19+86=105
Moving to Node #0,0,0
Current State: 98:[7, 105], Operations: ['58-51=7', '19+86=105']
Exploring Operation: 105-7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
15,
75,
60,
73
] | 73 | [
"75-15=60",
"60+73=133",
"133-60=73"
] | Current State: 73:[15, 75, 60, 73], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [60, 73, 60]
Generated Node #2: [60, 73, 60] from Operation: 75-15=60
Current State: 73:[60, 73, 60], Operations: ['75-15=60']
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,73 equal: Goal Reached
Exploring Operation: 133-60=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[15, 75, 60, 73], Operations: []
Exploring Operation: 15+60=75, Resulting Numbers: [75, 73, 75]
Generated Node #0,0: 73:[75, 73, 75] Operation: 15+60=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[75, 73, 75], Operations: ['15+60=75']
Exploring Operation: 75/75=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 73:[73, 1] Operation: 75/75=1
Moving to Node #0,0,0
Current State: 73:[73, 1], Operations: ['15+60=75', '75/75=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[15, 75, 60, 73], Operations: []
Exploring Operation: 15+60=75, Resulting Numbers: [75, 73, 75]
Generated Node #0,0: 73:[75, 73, 75] Operation: 15+60=75
Moving to Node #0,0
Current State: 73:[75, 73, 75], Operations: ['15+60=75']
Exploring Operation: 75/75=1, Resulting Numbers: [73, 1]
Generated Node #0,0,0: 73:[73, 1] Operation: 75/75=1
Moving to Node #0,0,0
Current State: 73:[73, 1], Operations: ['15+60=75', '75/75=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
28,
66,
5
] | 70 | [
"80-28=52",
"66-52=14",
"5*14=70"
] | Current State: 70:[80, 28, 66, 5], Operations: []
Exploring Operation: 80-28=52, Resulting Numbers: [66, 5, 52]
Generated Node #2: [66, 5, 52] from Operation: 80-28=52
Current State: 70:[66, 5, 52], Operations: ['80-28=52']
Exploring Operation: 66-52=14, Resulting Numbers: [5, 14]
Generated Node #3: [5, 14] from Operation: 66-52=14
Current State: 70:[5, 14], Operations: ['80-28=52', '66-52=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[80, 28, 66, 5], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [28, 66, 16]
Generated Node #0,0: 70:[28, 66, 16] Operation: 80/5=16
Exploring Operation: 80-66=14, Resulting Numbers: [28, 5, 14]
Generated Node #0,1: 70:[28, 5, 14] Operation: 80-66=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[28, 5, 14], Operations: ['80-66=14']
Exploring Operation: 28/14=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 70:[5, 2] Operation: 28/14=2
Exploring Operation: 28-14=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 70:[5, 14] Operation: 28-14=14
Moving to Node #0,1,0
Current State: 70:[5, 2], Operations: ['80-66=14', '28/14=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[5, 14], Operations: ['80-66=14', '28-14=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[80, 28, 66, 5], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [28, 5, 14]
Generated Node #0,1: 70:[28, 5, 14] Operation: 80-66=14
Moving to Node #0,1
Current State: 70:[28, 5, 14], Operations: ['80-66=14']
Exploring Operation: 28-14=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 70:[5, 14] Operation: 28-14=14
Moving to Node #0,1,1
Current State: 70:[5, 14], Operations: ['80-66=14', '28-14=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
54,
44,
79,
5
] | 81 | [
"54-44=10",
"10/5=2",
"79+2=81"
] | Current State: 81:[54, 44, 79, 5], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [79, 5, 10]
Generated Node #2: [79, 5, 10] from Operation: 54-44=10
Current State: 81:[79, 5, 10], Operations: ['54-44=10']
Exploring Operation: 10/5=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 10/5=2
Current State: 81:[79, 2], Operations: ['54-44=10', '10/5=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[54, 44, 79, 5], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [79, 5, 10]
Generated Node #0,0: 81:[79, 5, 10] Operation: 54-44=10
Exploring Operation: 54+44=98, Resulting Numbers: [79, 5, 98]
Generated Node #0,1: 81:[79, 5, 98] Operation: 54+44=98
Moving to Node #0,0
Current State: 81:[79, 5, 10], Operations: ['54-44=10']
Exploring Operation: 79+5=84, Resulting Numbers: [10, 84]
Generated Node #0,0,0: 81:[10, 84] Operation: 79+5=84
Exploring Operation: 10/5=2, Resulting Numbers: [79, 2]
Generated Node #0,0,1: 81:[79, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[79, 2], Operations: ['54-44=10', '10/5=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[54, 44, 79, 5], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [79, 5, 10]
Generated Node #0,0: 81:[79, 5, 10] Operation: 54-44=10
Moving to Node #0,0
Current State: 81:[79, 5, 10], Operations: ['54-44=10']
Exploring Operation: 10/5=2, Resulting Numbers: [79, 2]
Generated Node #0,0,1: 81:[79, 2] Operation: 10/5=2
Moving to Node #0,0,1
Current State: 81:[79, 2], Operations: ['54-44=10', '10/5=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
21,
11,
6,
30
] | 94 | [
"21*30=630",
"630/6=105",
"105-11=94"
] | Current State: 94:[21, 11, 6, 30], Operations: []
Exploring Operation: 21*30=630, Resulting Numbers: [11, 6, 630]
Generated Node #2: [11, 6, 630] from Operation: 21*30=630
Current State: 94:[11, 6, 630], Operations: ['21*30=630']
Exploring Operation: 630/6=105, Resulting Numbers: [11, 105]
Generated Node #3: [11, 105] from Operation: 630/6=105
Current State: 94:[11, 105], Operations: ['21*30=630', '630/6=105']
Exploring Operation: 105-11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[21, 11, 6, 30], Operations: []
Exploring Operation: 21+30=51, Resulting Numbers: [11, 6, 51]
Generated Node #0,0: 94:[11, 6, 51] Operation: 21+30=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[11, 6, 51], Operations: ['21+30=51']
Exploring Operation: 11-6=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 94:[51, 5] Operation: 11-6=5
Moving to Node #0,0,0
Current State: 94:[51, 5], Operations: ['21+30=51', '11-6=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,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 | sum_heuristic |
[
31,
75,
22,
67
] | 72 | [
"31-22=9",
"75-67=8",
"9*8=72"
] | Current State: 72:[31, 75, 22, 67], Operations: []
Exploring Operation: 31-22=9, Resulting Numbers: [75, 67, 9]
Generated Node #2: [75, 67, 9] from Operation: 31-22=9
Current State: 72:[75, 67, 9], Operations: ['31-22=9']
Exploring Operation: 75-67=8, Resulting Numbers: [9, 8]
Generated Node #3: [9, 8] from Operation: 75-67=8
Current State: 72:[9, 8], Operations: ['31-22=9', '75-67=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[31, 75, 22, 67], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [75, 22, 36]
Generated Node #0,0: 72:[75, 22, 36] Operation: 67-31=36
Exploring Operation: 75-67=8, Resulting Numbers: [31, 22, 8]
Generated Node #0,1: 72:[31, 22, 8] Operation: 75-67=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[75, 22, 36], Operations: ['67-31=36']
Exploring Operation: 75-36=39, Resulting Numbers: [22, 39]
Generated Node #0,0,0: 72:[22, 39] Operation: 75-36=39
Exploring Operation: 36-22=14, Resulting Numbers: [75, 14]
Generated Node #0,0,1: 72:[75, 14] Operation: 36-22=14
Moving to Node #0,0,0
Current State: 72:[22, 39], Operations: ['67-31=36', '75-36=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[75, 14], Operations: ['67-31=36', '36-22=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,72 unequal: No Solution
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,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,1
Current State: 72:[31, 22, 8], Operations: ['75-67=8']
Exploring Operation: 31-22=9, Resulting Numbers: [8, 9]
Generated Node #0,1,0: 72:[8, 9] Operation: 31-22=9
Exploring Operation: 31-8=23, Resulting Numbers: [22, 23]
Generated Node #0,1,1: 72:[22, 23] Operation: 31-8=23
Moving to Node #0,1,0
Current State: 72:[8, 9], Operations: ['75-67=8', '31-22=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[31, 75, 22, 67], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [31, 22, 8]
Generated Node #0,1: 72:[31, 22, 8] Operation: 75-67=8
Moving to Node #0,1
Current State: 72:[31, 22, 8], Operations: ['75-67=8']
Exploring Operation: 31-22=9, Resulting Numbers: [8, 9]
Generated Node #0,1,0: 72:[8, 9] Operation: 31-22=9
Moving to Node #0,1,0
Current State: 72:[8, 9], Operations: ['75-67=8', '31-22=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
2,
75,
23,
6
] | 51 | [
"23-2=21",
"6*21=126",
"126-75=51"
] | Current State: 51:[2, 75, 23, 6], Operations: []
Exploring Operation: 23-2=21, Resulting Numbers: [75, 6, 21]
Generated Node #2: [75, 6, 21] from Operation: 23-2=21
Current State: 51:[75, 6, 21], Operations: ['23-2=21']
Exploring Operation: 6*21=126, Resulting Numbers: [75, 126]
Generated Node #3: [75, 126] from Operation: 6*21=126
Current State: 51:[75, 126], Operations: ['23-2=21', '6*21=126']
Exploring Operation: 126-75=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[2, 75, 23, 6], Operations: []
Exploring Operation: 6/2=3, Resulting Numbers: [75, 23, 3]
Generated Node #0,0: 51:[75, 23, 3] Operation: 6/2=3
Exploring Operation: 75-23=52, Resulting Numbers: [2, 6, 52]
Generated Node #0,1: 51:[2, 6, 52] Operation: 75-23=52
Exploring Operation: 23-6=17, Resulting Numbers: [2, 75, 17]
Generated Node #0,2: 51:[2, 75, 17] Operation: 23-6=17
Exploring Operation: 75-2=73, Resulting Numbers: [23, 6, 73]
Generated Node #0,3: 51:[23, 6, 73] Operation: 75-2=73
Exploring Operation: 75-6=69, Resulting Numbers: [2, 23, 69]
Generated Node #0,4: 51:[2, 23, 69] Operation: 75-6=69
Moving to Node #0,1
Current State: 51:[2, 6, 52], Operations: ['75-23=52']
Exploring Operation: 6/2=3, Resulting Numbers: [52, 3]
Generated Node #0,1,0: 51:[52, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [52, 4]
Generated Node #0,1,1: 51:[52, 4] Operation: 6-2=4
Exploring Operation: 2*6=12, Resulting Numbers: [52, 12]
Generated Node #0,1,2: 51:[52, 12] Operation: 2*6=12
Exploring Operation: 52-2=50, Resulting Numbers: [6, 50]
Generated Node #0,1,3: 51:[6, 50] Operation: 52-2=50
Exploring Operation: 2+6=8, Resulting Numbers: [52, 8]
Generated Node #0,1,4: 51:[52, 8] Operation: 2+6=8
Moving to Node #0,4
Current State: 51:[2, 23, 69], Operations: ['75-6=69']
Exploring Operation: 69-23=46, Resulting Numbers: [2, 46]
Generated Node #0,4,0: 51:[2, 46] Operation: 69-23=46
Exploring Operation: 2*23=46, Resulting Numbers: [69, 46]
Generated Node #0,4,1: 51:[69, 46] Operation: 2*23=46
Exploring Operation: 69/23=3, Resulting Numbers: [2, 3]
Generated Node #0,4,2: 51:[2, 3] Operation: 69/23=3
Exploring Operation: 23-2=21, Resulting Numbers: [69, 21]
Generated Node #0,4,3: 51:[69, 21] Operation: 23-2=21
Exploring Operation: 69-2=67, Resulting Numbers: [23, 67]
Generated Node #0,4,4: 51:[23, 67] Operation: 69-2=67
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 51:[2, 3], Operations: ['75-6=69', '69/23=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,51 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: 51:[2, 46], Operations: ['75-6=69', '69-23=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,51 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: 51:[69, 21], Operations: ['75-6=69', '23-2=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,51 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: 51:[23, 67], Operations: ['75-6=69', '69-2=67']
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,51 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,51 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: 51:[69, 46], Operations: ['75-6=69', '2*23=46']
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,51 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,51 unequal: No Solution
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,51 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: 51:[2, 75, 17], Operations: ['23-6=17']
Exploring Operation: 17-2=15, Resulting Numbers: [75, 15]
Generated Node #0,2,0: 51:[75, 15] Operation: 17-2=15
Exploring Operation: 2+75=77, Resulting Numbers: [17, 77]
Generated Node #0,2,1: 51:[17, 77] Operation: 2+75=77
Exploring Operation: 2+17=19, Resulting Numbers: [75, 19]
Generated Node #0,2,2: 51:[75, 19] Operation: 2+17=19
Exploring Operation: 75-2=73, Resulting Numbers: [17, 73]
Generated Node #0,2,3: 51:[17, 73] Operation: 75-2=73
Exploring Operation: 75-17=58, Resulting Numbers: [2, 58]
Generated Node #0,2,4: 51:[2, 58] Operation: 75-17=58
Moving to Node #0,0
Current State: 51:[75, 23, 3], Operations: ['6/2=3']
Exploring Operation: 75-3=72, Resulting Numbers: [23, 72]
Generated Node #0,0,0: 51:[23, 72] Operation: 75-3=72
Exploring Operation: 75-23=52, Resulting Numbers: [3, 52]
Generated Node #0,0,1: 51:[3, 52] Operation: 75-23=52
Exploring Operation: 75/3=25, Resulting Numbers: [23, 25]
Generated Node #0,0,2: 51:[23, 25] Operation: 75/3=25
Exploring Operation: 23-3=20, Resulting Numbers: [75, 20]
Generated Node #0,0,3: 51:[75, 20] Operation: 23-3=20
Exploring Operation: 75+3=78, Resulting Numbers: [23, 78]
Generated Node #0,0,4: 51:[23, 78] Operation: 75+3=78
Moving to Node #0,3
Current State: 51:[23, 6, 73], Operations: ['75-2=73']
Exploring Operation: 73-6=67, Resulting Numbers: [23, 67]
Generated Node #0,3,0: 51:[23, 67] Operation: 73-6=67
Exploring Operation: 6+73=79, Resulting Numbers: [23, 79]
Generated Node #0,3,1: 51:[23, 79] Operation: 6+73=79
Exploring Operation: 23-6=17, Resulting Numbers: [73, 17]
Generated Node #0,3,2: 51:[73, 17] Operation: 23-6=17
Exploring Operation: 23+6=29, Resulting Numbers: [73, 29]
Generated Node #0,3,3: 51:[73, 29] Operation: 23+6=29
Exploring Operation: 73-23=50, Resulting Numbers: [6, 50]
Generated Node #0,3,4: 51:[6, 50] Operation: 73-23=50
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 51:[6, 50], Operations: ['75-2=73', '73-23=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,51 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,51 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: 51:[23, 67], Operations: ['75-2=73', '73-6=67']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,51 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: 51:[73, 17], Operations: ['75-2=73', '23-6=17']
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,51 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,51 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: 51:[23, 79], Operations: ['75-2=73', '6+73=79']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,51 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,51 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: 51:[73, 29], Operations: ['75-2=73', '23+6=29']
Exploring Operation: 73-29=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 73+29=102, Resulting Numbers: [102]
102,51 unequal: No Solution
Exploring Operation: 73*29=2117, Resulting Numbers: [2117]
2117,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 51:[52, 3], Operations: ['75-23=52', '6/2=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[3, 52], Operations: ['6/2=3', '75-23=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[52, 4], Operations: ['75-23=52', '6-2=4']
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,51 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[6, 50], Operations: ['75-23=52', '52-2=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,51 unequal: No Solution
Moving to Node #0,1,4
Current State: 51:[52, 8], Operations: ['75-23=52', '2+6=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,51 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[52, 12], Operations: ['75-23=52', '2*6=12']
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,51 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[2, 58], Operations: ['23-6=17', '75-17=58']
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[23, 25], Operations: ['6/2=3', '75/3=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,51 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[17, 73], Operations: ['23-6=17', '75-2=73']
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[75, 15], Operations: ['23-6=17', '17-2=15']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,51 unequal: No Solution
Exploring Operation: 75*15=1125, Resulting Numbers: [1125]
1125,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[75, 19], Operations: ['23-6=17', '2+17=19']
Exploring Operation: 75+19=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Exploring Operation: 75*19=1425, Resulting Numbers: [1425]
1425,51 unequal: No Solution
Exploring Operation: 75-19=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[17, 77], Operations: ['23-6=17', '2+75=77']
Exploring Operation: 17*77=1309, Resulting Numbers: [1309]
1309,51 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 17+77=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[23, 72], Operations: ['6/2=3', '75-3=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,51 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[75, 20], Operations: ['6/2=3', '23-3=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[23, 78], Operations: ['6/2=3', '75+3=78']
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,51 unequal: No Solution
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,51 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,51 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
27,
49,
70,
35
] | 24 | [
"49-27=22",
"70/35=2",
"22+2=24"
] | Current State: 24:[27, 49, 70, 35], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [70, 35, 22]
Generated Node #2: [70, 35, 22] from Operation: 49-27=22
Current State: 24:[70, 35, 22], Operations: ['49-27=22']
Exploring Operation: 70/35=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 70/35=2
Current State: 24:[22, 2], Operations: ['49-27=22', '70/35=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[27, 49, 70, 35], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [27, 35, 21]
Generated Node #0,0: 24:[27, 35, 21] Operation: 70-49=21
Exploring Operation: 70/35=2, Resulting Numbers: [27, 49, 2]
Generated Node #0,1: 24:[27, 49, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [27, 49, 35]
Generated Node #0,2: 24:[27, 49, 35] Operation: 70-35=35
Moving to Node #0,0
Current State: 24:[27, 35, 21], Operations: ['70-49=21']
Exploring Operation: 35-27=8, Resulting Numbers: [21, 8]
Generated Node #0,0,0: 24:[21, 8] Operation: 35-27=8
Exploring Operation: 35-21=14, Resulting Numbers: [27, 14]
Generated Node #0,0,1: 24:[27, 14] Operation: 35-21=14
Exploring Operation: 27-21=6, Resulting Numbers: [35, 6]
Generated Node #0,0,2: 24:[35, 6] Operation: 27-21=6
Moving to Node #0,1
Current State: 24:[27, 49, 2], Operations: ['70/35=2']
Exploring Operation: 27-2=25, Resulting Numbers: [49, 25]
Generated Node #0,1,0: 24:[49, 25] Operation: 27-2=25
Exploring Operation: 49-2=47, Resulting Numbers: [27, 47]
Generated Node #0,1,1: 24:[27, 47] Operation: 49-2=47
Exploring Operation: 49-27=22, Resulting Numbers: [2, 22]
Generated Node #0,1,2: 24:[2, 22] Operation: 49-27=22
Moving to Node #0,2
Current State: 24:[27, 49, 35], Operations: ['70-35=35']
Exploring Operation: 35-27=8, Resulting Numbers: [49, 8]
Generated Node #0,2,0: 24:[49, 8] Operation: 35-27=8
Exploring Operation: 49-27=22, Resulting Numbers: [35, 22]
Generated Node #0,2,1: 24:[35, 22] Operation: 49-27=22
Exploring Operation: 49-35=14, Resulting Numbers: [27, 14]
Generated Node #0,2,2: 24:[27, 14] Operation: 49-35=14
Moving to Node #0,1,2
Current State: 24:[2, 22], Operations: ['70/35=2', '49-27=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[27, 49, 70, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [27, 49, 2]
Generated Node #0,1: 24:[27, 49, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 24:[27, 49, 2], Operations: ['70/35=2']
Exploring Operation: 49-27=22, Resulting Numbers: [2, 22]
Generated Node #0,1,2: 24:[2, 22] Operation: 49-27=22
Moving to Node #0,1,2
Current State: 24:[2, 22], Operations: ['70/35=2', '49-27=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
54,
21,
47,
35
] | 94 | [
"54-21=33",
"35-33=2",
"47*2=94"
] | Current State: 94:[54, 21, 47, 35], Operations: []
Exploring Operation: 54-21=33, Resulting Numbers: [47, 35, 33]
Generated Node #2: [47, 35, 33] from Operation: 54-21=33
Current State: 94:[47, 35, 33], Operations: ['54-21=33']
Exploring Operation: 35-33=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 35-33=2
Current State: 94:[47, 2], Operations: ['54-21=33', '35-33=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[54, 21, 47, 35], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [54, 47, 14]
Generated Node #0,0: 94:[54, 47, 14] Operation: 35-21=14
Exploring Operation: 21+35=56, Resulting Numbers: [54, 47, 56]
Generated Node #0,1: 94:[54, 47, 56] Operation: 21+35=56
Exploring Operation: 54+35=89, Resulting Numbers: [21, 47, 89]
Generated Node #0,2: 94:[21, 47, 89] Operation: 54+35=89
Moving to Node #0,1
Current State: 94:[54, 47, 56], Operations: ['21+35=56']
Exploring Operation: 56-47=9, Resulting Numbers: [54, 9]
Generated Node #0,1,0: 94:[54, 9] Operation: 56-47=9
Exploring Operation: 54-47=7, Resulting Numbers: [56, 7]
Generated Node #0,1,1: 94:[56, 7] Operation: 54-47=7
Exploring Operation: 56-54=2, Resulting Numbers: [47, 2]
Generated Node #0,1,2: 94:[47, 2] Operation: 56-54=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[47, 2], Operations: ['21+35=56', '56-54=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[54, 21, 47, 35], Operations: []
Exploring Operation: 21+35=56, Resulting Numbers: [54, 47, 56]
Generated Node #0,1: 94:[54, 47, 56] Operation: 21+35=56
Moving to Node #0,1
Current State: 94:[54, 47, 56], Operations: ['21+35=56']
Exploring Operation: 56-54=2, Resulting Numbers: [47, 2]
Generated Node #0,1,2: 94:[47, 2] Operation: 56-54=2
Moving to Node #0,1,2
Current State: 94:[47, 2], Operations: ['21+35=56', '56-54=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
63,
95,
44,
53
] | 61 | [
"63+95=158",
"44+53=97",
"158-97=61"
] | Current State: 61:[63, 95, 44, 53], Operations: []
Exploring Operation: 63+95=158, Resulting Numbers: [44, 53, 158]
Generated Node #2: [44, 53, 158] from Operation: 63+95=158
Current State: 61:[44, 53, 158], Operations: ['63+95=158']
Exploring Operation: 44+53=97, Resulting Numbers: [158, 97]
Generated Node #3: [158, 97] from Operation: 44+53=97
Current State: 61:[158, 97], Operations: ['63+95=158', '44+53=97']
Exploring Operation: 158-97=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[63, 95, 44, 53], Operations: []
Exploring Operation: 44+53=97, Resulting Numbers: [63, 95, 97]
Generated Node #0,0: 61:[63, 95, 97] Operation: 44+53=97
Exploring Operation: 95-44=51, Resulting Numbers: [63, 53, 51]
Generated Node #0,1: 61:[63, 53, 51] Operation: 95-44=51
Exploring Operation: 63-44=19, Resulting Numbers: [95, 53, 19]
Generated Node #0,2: 61:[95, 53, 19] Operation: 63-44=19
Exploring Operation: 95-63=32, Resulting Numbers: [44, 53, 32]
Generated Node #0,3: 61:[44, 53, 32] Operation: 95-63=32
Exploring Operation: 95-53=42, Resulting Numbers: [63, 44, 42]
Generated Node #0,4: 61:[63, 44, 42] Operation: 95-53=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[63, 53, 51], Operations: ['95-44=51']
Exploring Operation: 63-53=10, Resulting Numbers: [51, 10]
Generated Node #0,1,0: 61:[51, 10] Operation: 63-53=10
Exploring Operation: 53-51=2, Resulting Numbers: [63, 2]
Generated Node #0,1,1: 61:[63, 2] Operation: 53-51=2
Exploring Operation: 53+51=104, Resulting Numbers: [63, 104]
Generated Node #0,1,2: 61:[63, 104] Operation: 53+51=104
Exploring Operation: 63-51=12, Resulting Numbers: [53, 12]
Generated Node #0,1,3: 61:[53, 12] Operation: 63-51=12
Exploring Operation: 63+51=114, Resulting Numbers: [53, 114]
Generated Node #0,1,4: 61:[53, 114] Operation: 63+51=114
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[63, 104], Operations: ['95-44=51', '53+51=104']
Exploring Operation: 104-63=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 63+104=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 63*104=6552, Resulting Numbers: [6552]
6552,61 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: 61:[53, 12], Operations: ['95-44=51', '63-51=12']
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,61 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,61 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,61 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: 61:[51, 10], Operations: ['95-44=51', '63-53=10']
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,61 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[63, 95, 44, 53], Operations: []
Exploring Operation: 95-44=51, Resulting Numbers: [63, 53, 51]
Generated Node #0,1: 61:[63, 53, 51] Operation: 95-44=51
Moving to Node #0,1
Current State: 61:[63, 53, 51], Operations: ['95-44=51']
Exploring Operation: 63-53=10, Resulting Numbers: [51, 10]
Generated Node #0,1,0: 61:[51, 10] Operation: 63-53=10
Moving to Node #0,1,0
Current State: 61:[51, 10], Operations: ['95-44=51', '63-53=10']
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
26,
33,
20,
12
] | 67 | [
"26+33=59",
"20-12=8",
"59+8=67"
] | Current State: 67:[26, 33, 20, 12], Operations: []
Exploring Operation: 26+33=59, Resulting Numbers: [20, 12, 59]
Generated Node #2: [20, 12, 59] from Operation: 26+33=59
Current State: 67:[20, 12, 59], Operations: ['26+33=59']
Exploring Operation: 20-12=8, Resulting Numbers: [59, 8]
Generated Node #3: [59, 8] from Operation: 20-12=8
Current State: 67:[59, 8], Operations: ['26+33=59', '20-12=8']
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[26, 33, 20, 12], Operations: []
Exploring Operation: 33+12=45, Resulting Numbers: [26, 20, 45]
Generated Node #0,0: 67:[26, 20, 45] Operation: 33+12=45
Exploring Operation: 26+12=38, Resulting Numbers: [33, 20, 38]
Generated Node #0,1: 67:[33, 20, 38] Operation: 26+12=38
Exploring Operation: 33+20=53, Resulting Numbers: [26, 12, 53]
Generated Node #0,2: 67:[26, 12, 53] Operation: 33+20=53
Exploring Operation: 26+33=59, Resulting Numbers: [20, 12, 59]
Generated Node #0,3: 67:[20, 12, 59] Operation: 26+33=59
Exploring Operation: 26+20=46, Resulting Numbers: [33, 12, 46]
Generated Node #0,4: 67:[33, 12, 46] Operation: 26+20=46
Moving to Node #0,0
Current State: 67:[26, 20, 45], Operations: ['33+12=45']
Exploring Operation: 26+20=46, Resulting Numbers: [45, 46]
Generated Node #0,0,0: 67:[45, 46] Operation: 26+20=46
Exploring Operation: 45-20=25, Resulting Numbers: [26, 25]
Generated Node #0,0,1: 67:[26, 25] Operation: 45-20=25
Exploring Operation: 26-20=6, Resulting Numbers: [45, 6]
Generated Node #0,0,2: 67:[45, 6] Operation: 26-20=6
Exploring Operation: 20+45=65, Resulting Numbers: [26, 65]
Generated Node #0,0,3: 67:[26, 65] Operation: 20+45=65
Exploring Operation: 26+45=71, Resulting Numbers: [20, 71]
Generated Node #0,0,4: 67:[20, 71] Operation: 26+45=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[45, 46], Operations: ['33+12=45', '26+20=46']
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,67 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,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,3
Current State: 67:[26, 65], Operations: ['33+12=45', '20+45=65']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,67 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,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,4
Current State: 67:[20, 71], Operations: ['33+12=45', '26+45=71']
Exploring Operation: 20*71=1420, Resulting Numbers: [1420]
1420,67 unequal: No Solution
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,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,1
Current State: 67:[26, 25], Operations: ['33+12=45', '45-20=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,67 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,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,2
Current State: 67:[45, 6], Operations: ['33+12=45', '26-20=6']
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,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:[26, 12, 53], Operations: ['33+20=53']
Exploring Operation: 26+53=79, Resulting Numbers: [12, 79]
Generated Node #0,2,0: 67:[12, 79] Operation: 26+53=79
Exploring Operation: 26+12=38, Resulting Numbers: [53, 38]
Generated Node #0,2,1: 67:[53, 38] Operation: 26+12=38
Exploring Operation: 26-12=14, Resulting Numbers: [53, 14]
Generated Node #0,2,2: 67:[53, 14] Operation: 26-12=14
Exploring Operation: 53-12=41, Resulting Numbers: [26, 41]
Generated Node #0,2,3: 67:[26, 41] Operation: 53-12=41
Exploring Operation: 12+53=65, Resulting Numbers: [26, 65]
Generated Node #0,2,4: 67:[26, 65] Operation: 12+53=65
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[53, 38], Operations: ['33+20=53', '26+12=38']
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,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,4
Current State: 67:[26, 65], Operations: ['33+20=53', '12+53=65']
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,67 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,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:[12, 79], Operations: ['33+20=53', '26+53=79']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[26, 33, 20, 12], Operations: []
Exploring Operation: 33+20=53, Resulting Numbers: [26, 12, 53]
Generated Node #0,2: 67:[26, 12, 53] Operation: 33+20=53
Moving to Node #0,2
Current State: 67:[26, 12, 53], Operations: ['33+20=53']
Exploring Operation: 26+53=79, Resulting Numbers: [12, 79]
Generated Node #0,2,0: 67:[12, 79] Operation: 26+53=79
Moving to Node #0,2,0
Current State: 67:[12, 79], Operations: ['33+20=53', '26+53=79']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
70,
17,
35,
6
] | 94 | [
"70-17=53",
"35+6=41",
"53+41=94"
] | Current State: 94:[70, 17, 35, 6], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [35, 6, 53]
Generated Node #2: [35, 6, 53] from Operation: 70-17=53
Current State: 94:[35, 6, 53], Operations: ['70-17=53']
Exploring Operation: 35+6=41, Resulting Numbers: [53, 41]
Generated Node #3: [53, 41] from Operation: 35+6=41
Current State: 94:[53, 41], Operations: ['70-17=53', '35+6=41']
Exploring Operation: 53+41=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[70, 17, 35, 6], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [17, 6, 2]
Generated Node #0,0: 94:[17, 6, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[17, 6, 2], Operations: ['70/35=2']
Exploring Operation: 17*6=102, Resulting Numbers: [2, 102]
Generated Node #0,0,0: 94:[2, 102] Operation: 17*6=102
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[2, 102], Operations: ['70/35=2', '17*6=102']
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,94 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 |
[
52,
94,
99,
43
] | 99 | [
"94-52=42",
"43-42=1",
"99*1=99"
] | Current State: 99:[52, 94, 99, 43], Operations: []
Exploring Operation: 94-52=42, Resulting Numbers: [99, 43, 42]
Generated Node #2: [99, 43, 42] from Operation: 94-52=42
Current State: 99:[99, 43, 42], Operations: ['94-52=42']
Exploring Operation: 43-42=1, Resulting Numbers: [99, 1]
Generated Node #3: [99, 1] from Operation: 43-42=1
Current State: 99:[99, 1], Operations: ['94-52=42', '43-42=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[52, 94, 99, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [94, 99, 9]
Generated Node #0,0: 99:[94, 99, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[94, 99, 9], Operations: ['52-43=9']
Exploring Operation: 99-94=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 99:[9, 5] Operation: 99-94=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[9, 5], Operations: ['52-43=9', '99-94=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,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 |
[
2,
20,
28,
80
] | 34 | [
"20-2=18",
"80-28=52",
"52-18=34"
] | Current State: 34:[2, 20, 28, 80], Operations: []
Exploring Operation: 20-2=18, Resulting Numbers: [28, 80, 18]
Generated Node #2: [28, 80, 18] from Operation: 20-2=18
Current State: 34:[28, 80, 18], Operations: ['20-2=18']
Exploring Operation: 80-28=52, Resulting Numbers: [18, 52]
Generated Node #3: [18, 52] from Operation: 80-28=52
Current State: 34:[18, 52], Operations: ['20-2=18', '80-28=52']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[2, 20, 28, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [2, 28, 4]
Generated Node #0,0: 34:[2, 28, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[2, 28, 4], Operations: ['80/20=4']
Exploring Operation: 28+4=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 34:[2, 32] Operation: 28+4=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[2, 32], Operations: ['80/20=4', '28+4=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[2, 20, 28, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [2, 28, 4]
Generated Node #0,0: 34:[2, 28, 4] Operation: 80/20=4
Moving to Node #0,0
Current State: 34:[2, 28, 4], Operations: ['80/20=4']
Exploring Operation: 28+4=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 34:[2, 32] Operation: 28+4=32
Moving to Node #0,0,0
Current State: 34:[2, 32], Operations: ['80/20=4', '28+4=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
55,
88,
29,
83
] | 18 | [
"88-83=5",
"55/5=11",
"29-11=18"
] | Current State: 18:[55, 88, 29, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [55, 29, 5]
Generated Node #2: [55, 29, 5] from Operation: 88-83=5
Current State: 18:[55, 29, 5], Operations: ['88-83=5']
Exploring Operation: 55/5=11, Resulting Numbers: [29, 11]
Generated Node #3: [29, 11] from Operation: 55/5=11
Current State: 18:[29, 11], Operations: ['88-83=5', '55/5=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[55, 88, 29, 83], Operations: []
Exploring Operation: 83-55=28, Resulting Numbers: [88, 29, 28]
Generated Node #0,0: 18:[88, 29, 28] Operation: 83-55=28
Exploring Operation: 88-83=5, Resulting Numbers: [55, 29, 5]
Generated Node #0,1: 18:[55, 29, 5] Operation: 88-83=5
Exploring Operation: 55-29=26, Resulting Numbers: [88, 83, 26]
Generated Node #0,2: 18:[88, 83, 26] Operation: 55-29=26
Exploring Operation: 88-55=33, Resulting Numbers: [29, 83, 33]
Generated Node #0,3: 18:[29, 83, 33] Operation: 88-55=33
Moving to Node #0,1
Current State: 18:[55, 29, 5], Operations: ['88-83=5']
Exploring Operation: 29-5=24, Resulting Numbers: [55, 24]
Generated Node #0,1,0: 18:[55, 24] Operation: 29-5=24
Exploring Operation: 55/5=11, Resulting Numbers: [29, 11]
Generated Node #0,1,1: 18:[29, 11] Operation: 55/5=11
Exploring Operation: 55-29=26, Resulting Numbers: [5, 26]
Generated Node #0,1,2: 18:[5, 26] Operation: 55-29=26
Exploring Operation: 55-5=50, Resulting Numbers: [29, 50]
Generated Node #0,1,3: 18:[29, 50] Operation: 55-5=50
Moving to Node #0,3
Current State: 18:[29, 83, 33], Operations: ['88-55=33']
Exploring Operation: 83-29=54, Resulting Numbers: [33, 54]
Generated Node #0,3,0: 18:[33, 54] Operation: 83-29=54
Exploring Operation: 29+83=112, Resulting Numbers: [33, 112]
Generated Node #0,3,1: 18:[33, 112] Operation: 29+83=112
Exploring Operation: 33-29=4, Resulting Numbers: [83, 4]
Generated Node #0,3,2: 18:[83, 4] Operation: 33-29=4
Exploring Operation: 83-33=50, Resulting Numbers: [29, 50]
Generated Node #0,3,3: 18:[29, 50] Operation: 83-33=50
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[29, 50], Operations: ['88-55=33', '83-33=50']
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 29+50=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 29*50=1450, Resulting Numbers: [1450]
1450,18 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: 18:[33, 54], Operations: ['88-55=33', '83-29=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,18 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,18 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: 18:[83, 4], Operations: ['88-55=33', '33-29=4']
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,18 unequal: No Solution
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,18 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,18 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: 18:[33, 112], Operations: ['88-55=33', '29+83=112']
Exploring Operation: 33+112=145, Resulting Numbers: [145]
145,18 unequal: No Solution
Exploring Operation: 33*112=3696, Resulting Numbers: [3696]
3696,18 unequal: No Solution
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,18 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: 18:[88, 29, 28], Operations: ['83-55=28']
Exploring Operation: 88-28=60, Resulting Numbers: [29, 60]
Generated Node #0,0,0: 18:[29, 60] Operation: 88-28=60
Exploring Operation: 29-28=1, Resulting Numbers: [88, 1]
Generated Node #0,0,1: 18:[88, 1] Operation: 29-28=1
Exploring Operation: 88+29=117, Resulting Numbers: [28, 117]
Generated Node #0,0,2: 18:[28, 117] Operation: 88+29=117
Exploring Operation: 88-29=59, Resulting Numbers: [28, 59]
Generated Node #0,0,3: 18:[28, 59] Operation: 88-29=59
Moving to Node #0,2
Current State: 18:[88, 83, 26], Operations: ['55-29=26']
Exploring Operation: 88-26=62, Resulting Numbers: [83, 62]
Generated Node #0,2,0: 18:[83, 62] Operation: 88-26=62
Exploring Operation: 83-26=57, Resulting Numbers: [88, 57]
Generated Node #0,2,1: 18:[88, 57] Operation: 83-26=57
Exploring Operation: 88+83=171, Resulting Numbers: [26, 171]
Generated Node #0,2,2: 18:[26, 171] Operation: 88+83=171
Exploring Operation: 88-83=5, Resulting Numbers: [26, 5]
Generated Node #0,2,3: 18:[26, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 18:[26, 5], Operations: ['55-29=26', '88-83=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,18 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,18 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: 18:[83, 62], Operations: ['55-29=26', '88-26=62']
Exploring Operation: 83*62=5146, Resulting Numbers: [5146]
5146,18 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 83+62=145, Resulting Numbers: [145]
145,18 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: 18:[88, 57], Operations: ['55-29=26', '83-26=57']
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,18 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,18 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: 18:[26, 171], Operations: ['55-29=26', '88+83=171']
Exploring Operation: 26+171=197, Resulting Numbers: [197]
197,18 unequal: No Solution
Exploring Operation: 26*171=4446, Resulting Numbers: [4446]
4446,18 unequal: No Solution
Exploring Operation: 171-26=145, Resulting Numbers: [145]
145,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 18:[5, 26], Operations: ['88-83=5', '55-29=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,18 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[29, 11], Operations: ['88-83=5', '55/5=11']
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,18 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[55, 88, 29, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [55, 29, 5]
Generated Node #0,1: 18:[55, 29, 5] Operation: 88-83=5
Moving to Node #0,1
Current State: 18:[55, 29, 5], Operations: ['88-83=5']
Exploring Operation: 55/5=11, Resulting Numbers: [29, 11]
Generated Node #0,1,1: 18:[29, 11] Operation: 55/5=11
Moving to Node #0,1,1
Current State: 18:[29, 11], Operations: ['88-83=5', '55/5=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
82,
1,
41,
75
] | 25 | [
"82/41=2",
"1+2=3",
"75/3=25"
] | Current State: 25:[82, 1, 41, 75], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [1, 75, 2]
Generated Node #2: [1, 75, 2] from Operation: 82/41=2
Current State: 25:[1, 75, 2], Operations: ['82/41=2']
Exploring Operation: 1+2=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 1+2=3
Current State: 25:[75, 3], Operations: ['82/41=2', '1+2=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[82, 1, 41, 75], Operations: []
Exploring Operation: 75-41=34, Resulting Numbers: [82, 1, 34]
Generated Node #0,0: 25:[82, 1, 34] Operation: 75-41=34
Exploring Operation: 82-1=81, Resulting Numbers: [41, 75, 81]
Generated Node #0,1: 25:[41, 75, 81] Operation: 82-1=81
Exploring Operation: 82-75=7, Resulting Numbers: [1, 41, 7]
Generated Node #0,2: 25:[1, 41, 7] Operation: 82-75=7
Exploring Operation: 82/41=2, Resulting Numbers: [1, 75, 2]
Generated Node #0,3: 25:[1, 75, 2] Operation: 82/41=2
Exploring Operation: 82-41=41, Resulting Numbers: [1, 75, 41]
Generated Node #0,4: 25:[1, 75, 41] Operation: 82-41=41
Moving to Node #0,2
Current State: 25:[1, 41, 7], Operations: ['82-75=7']
Exploring Operation: 7-1=6, Resulting Numbers: [41, 6]
Generated Node #0,2,0: 25:[41, 6] Operation: 7-1=6
Exploring Operation: 41-7=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 25:[1, 34] Operation: 41-7=34
Exploring Operation: 1*41=41, Resulting Numbers: [7, 41]
Generated Node #0,2,2: 25:[7, 41] Operation: 1*41=41
Exploring Operation: 41/1=41, Resulting Numbers: [7, 41]
Generated Node #0,2,3: 25:[7, 41] Operation: 41/1=41
Exploring Operation: 41-1=40, Resulting Numbers: [7, 40]
Generated Node #0,2,4: 25:[7, 40] Operation: 41-1=40
Moving to Node #0,3
Current State: 25:[1, 75, 2], Operations: ['82/41=2']
Exploring Operation: 75-1=74, Resulting Numbers: [2, 74]
Generated Node #0,3,0: 25:[2, 74] Operation: 75-1=74
Exploring Operation: 1+2=3, Resulting Numbers: [75, 3]
Generated Node #0,3,1: 25:[75, 3] Operation: 1+2=3
Exploring Operation: 75/1=75, Resulting Numbers: [2, 75]
Generated Node #0,3,2: 25:[2, 75] Operation: 75/1=75
Exploring Operation: 1*75=75, Resulting Numbers: [2, 75]
Generated Node #0,3,3: 25:[2, 75] Operation: 1*75=75
Exploring Operation: 75-2=73, Resulting Numbers: [1, 73]
Generated Node #0,3,4: 25:[1, 73] Operation: 75-2=73
Moving to Node #0,0
Current State: 25:[82, 1, 34], Operations: ['75-41=34']
Exploring Operation: 82-1=81, Resulting Numbers: [34, 81]
Generated Node #0,0,0: 25:[34, 81] Operation: 82-1=81
Exploring Operation: 82*1=82, Resulting Numbers: [34, 82]
Generated Node #0,0,1: 25:[34, 82] Operation: 82*1=82
Exploring Operation: 34-1=33, Resulting Numbers: [82, 33]
Generated Node #0,0,2: 25:[82, 33] Operation: 34-1=33
Exploring Operation: 82/1=82, Resulting Numbers: [34, 82]
Generated Node #0,0,3: 25:[34, 82] Operation: 82/1=82
Exploring Operation: 82-34=48, Resulting Numbers: [1, 48]
Generated Node #0,0,4: 25:[1, 48] Operation: 82-34=48
Moving to Node #0,4
Current State: 25:[1, 75, 41], Operations: ['82-41=41']
Exploring Operation: 41-1=40, Resulting Numbers: [75, 40]
Generated Node #0,4,0: 25:[75, 40] Operation: 41-1=40
Exploring Operation: 75-41=34, Resulting Numbers: [1, 34]
Generated Node #0,4,1: 25:[1, 34] Operation: 75-41=34
Exploring Operation: 1*75=75, Resulting Numbers: [41, 75]
Generated Node #0,4,2: 25:[41, 75] Operation: 1*75=75
Exploring Operation: 75/1=75, Resulting Numbers: [41, 75]
Generated Node #0,4,3: 25:[41, 75] Operation: 75/1=75
Exploring Operation: 75-1=74, Resulting Numbers: [41, 74]
Generated Node #0,4,4: 25:[41, 74] Operation: 75-1=74
Moving to Node #0,1
Current State: 25:[41, 75, 81], Operations: ['82-1=81']
Exploring Operation: 75-41=34, Resulting Numbers: [81, 34]
Generated Node #0,1,0: 25:[81, 34] Operation: 75-41=34
Exploring Operation: 81-75=6, Resulting Numbers: [41, 6]
Generated Node #0,1,1: 25:[41, 6] Operation: 81-75=6
Exploring Operation: 41+81=122, Resulting Numbers: [75, 122]
Generated Node #0,1,2: 25:[75, 122] Operation: 41+81=122
Exploring Operation: 81-41=40, Resulting Numbers: [75, 40]
Generated Node #0,1,3: 25:[75, 40] Operation: 81-41=40
Exploring Operation: 41+75=116, Resulting Numbers: [81, 116]
Generated Node #0,1,4: 25:[81, 116] Operation: 41+75=116
Moving to Node #0,2,1
Current State: 25:[1, 34], Operations: ['82-75=7', '41-7=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[1, 34], Operations: ['82-41=41', '75-41=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[7, 40], Operations: ['82-75=7', '41-1=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[41, 6], Operations: ['82-1=81', '81-75=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,25 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[41, 6], Operations: ['82-75=7', '7-1=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,25 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[7, 41], Operations: ['82-75=7', '41/1=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,25 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[7, 41], Operations: ['82-75=7', '1*41=41']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,25 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Moving to Node #0,0,4
Current State: 25:[1, 48], Operations: ['75-41=34', '82-34=48']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[75, 3], Operations: ['82/41=2', '1+2=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[82, 1, 41, 75], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [1, 75, 2]
Generated Node #0,3: 25:[1, 75, 2] Operation: 82/41=2
Moving to Node #0,3
Current State: 25:[1, 75, 2], Operations: ['82/41=2']
Exploring Operation: 1+2=3, Resulting Numbers: [75, 3]
Generated Node #0,3,1: 25:[75, 3] Operation: 1+2=3
Moving to Node #0,3,1
Current State: 25:[75, 3], Operations: ['82/41=2', '1+2=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.944444 | hs_5 | sum_heuristic |
[
83,
37,
2,
10
] | 58 | [
"83-37=46",
"2+10=12",
"46+12=58"
] | Current State: 58:[83, 37, 2, 10], Operations: []
Exploring Operation: 83-37=46, Resulting Numbers: [2, 10, 46]
Generated Node #2: [2, 10, 46] from Operation: 83-37=46
Current State: 58:[2, 10, 46], Operations: ['83-37=46']
Exploring Operation: 2+10=12, Resulting Numbers: [46, 12]
Generated Node #3: [46, 12] from Operation: 2+10=12
Current State: 58:[46, 12], Operations: ['83-37=46', '2+10=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[83, 37, 2, 10], Operations: []
Exploring Operation: 83-10=73, Resulting Numbers: [37, 2, 73]
Generated Node #0,0: 58:[37, 2, 73] Operation: 83-10=73
Exploring Operation: 83-37=46, Resulting Numbers: [2, 10, 46]
Generated Node #0,1: 58:[2, 10, 46] Operation: 83-37=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[2, 10, 46], Operations: ['83-37=46']
Exploring Operation: 10+46=56, Resulting Numbers: [2, 56]
Generated Node #0,1,0: 58:[2, 56] Operation: 10+46=56
Exploring Operation: 46-10=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 58:[2, 36] Operation: 46-10=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[2, 56], Operations: ['83-37=46', '10+46=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[83, 37, 2, 10], Operations: []
Exploring Operation: 83-37=46, Resulting Numbers: [2, 10, 46]
Generated Node #0,1: 58:[2, 10, 46] Operation: 83-37=46
Moving to Node #0,1
Current State: 58:[2, 10, 46], Operations: ['83-37=46']
Exploring Operation: 10+46=56, Resulting Numbers: [2, 56]
Generated Node #0,1,0: 58:[2, 56] Operation: 10+46=56
Moving to Node #0,1,0
Current State: 58:[2, 56], Operations: ['83-37=46', '10+46=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
65,
18,
99,
34
] | 50 | [
"65+18=83",
"99+34=133",
"133-83=50"
] | Current State: 50:[65, 18, 99, 34], Operations: []
Exploring Operation: 65+18=83, Resulting Numbers: [99, 34, 83]
Generated Node #2: [99, 34, 83] from Operation: 65+18=83
Current State: 50:[99, 34, 83], Operations: ['65+18=83']
Exploring Operation: 99+34=133, Resulting Numbers: [83, 133]
Generated Node #3: [83, 133] from Operation: 99+34=133
Current State: 50:[83, 133], Operations: ['65+18=83', '99+34=133']
Exploring Operation: 133-83=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[65, 18, 99, 34], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [18, 34, 34]
Generated Node #0,0: 50:[18, 34, 34] Operation: 99-65=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[18, 34, 34], Operations: ['99-65=34']
Exploring Operation: 34/34=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 50:[18, 1] Operation: 34/34=1
Moving to Node #0,0,0
Current State: 50:[18, 1], Operations: ['99-65=34', '34/34=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,50 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 |
[
23,
80,
77,
78
] | 57 | [
"80-23=57",
"78-77=1",
"57*1=57"
] | Current State: 57:[23, 80, 77, 78], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [77, 78, 57]
Generated Node #2: [77, 78, 57] from Operation: 80-23=57
Current State: 57:[77, 78, 57], Operations: ['80-23=57']
Exploring Operation: 78-77=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 78-77=1
Current State: 57:[57, 1], Operations: ['80-23=57', '78-77=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[23, 80, 77, 78], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [23, 77, 2]
Generated Node #0,0: 57:[23, 77, 2] Operation: 80-78=2
Exploring Operation: 78-23=55, Resulting Numbers: [80, 77, 55]
Generated Node #0,1: 57:[80, 77, 55] Operation: 78-23=55
Exploring Operation: 80-23=57, Resulting Numbers: [77, 78, 57]
Generated Node #0,2: 57:[77, 78, 57] Operation: 80-23=57
Exploring Operation: 80-77=3, Resulting Numbers: [23, 78, 3]
Generated Node #0,3: 57:[23, 78, 3] Operation: 80-77=3
Exploring Operation: 78-77=1, Resulting Numbers: [23, 80, 1]
Generated Node #0,4: 57:[23, 80, 1] Operation: 78-77=1
Moving to Node #0,0
Current State: 57:[23, 77, 2], Operations: ['80-78=2']
Exploring Operation: 23+2=25, Resulting Numbers: [77, 25]
Generated Node #0,0,0: 57:[77, 25] Operation: 23+2=25
Exploring Operation: 23-2=21, Resulting Numbers: [77, 21]
Generated Node #0,0,1: 57:[77, 21] Operation: 23-2=21
Exploring Operation: 77-2=75, Resulting Numbers: [23, 75]
Generated Node #0,0,2: 57:[23, 75] Operation: 77-2=75
Exploring Operation: 77+2=79, Resulting Numbers: [23, 79]
Generated Node #0,0,3: 57:[23, 79] Operation: 77+2=79
Exploring Operation: 77-23=54, Resulting Numbers: [2, 54]
Generated Node #0,0,4: 57:[2, 54] Operation: 77-23=54
Moving to Node #0,3
Current State: 57:[23, 78, 3], Operations: ['80-77=3']
Exploring Operation: 23+3=26, Resulting Numbers: [78, 26]
Generated Node #0,3,0: 57:[78, 26] Operation: 23+3=26
Exploring Operation: 23-3=20, Resulting Numbers: [78, 20]
Generated Node #0,3,1: 57:[78, 20] Operation: 23-3=20
Exploring Operation: 78/3=26, Resulting Numbers: [23, 26]
Generated Node #0,3,2: 57:[23, 26] Operation: 78/3=26
Exploring Operation: 78-3=75, Resulting Numbers: [23, 75]
Generated Node #0,3,3: 57:[23, 75] Operation: 78-3=75
Exploring Operation: 78-23=55, Resulting Numbers: [3, 55]
Generated Node #0,3,4: 57:[3, 55] Operation: 78-23=55
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 57:[3, 55], Operations: ['80-77=3', '78-23=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,57 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,57 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: 57:[23, 26], Operations: ['80-77=3', '78/3=26']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,57 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: 57:[78, 20], Operations: ['80-77=3', '23-3=20']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,57 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: 57:[23, 75], Operations: ['80-77=3', '78-3=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,57 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: 57:[78, 26], Operations: ['80-77=3', '23+3=26']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 78+26=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 78*26=2028, Resulting Numbers: [2028]
2028,57 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: 57:[23, 80, 1], Operations: ['78-77=1']
Exploring Operation: 80-23=57, Resulting Numbers: [1, 57]
Generated Node #0,4,0: 57:[1, 57] Operation: 80-23=57
Exploring Operation: 23/1=23, Resulting Numbers: [80, 23]
Generated Node #0,4,1: 57:[80, 23] Operation: 23/1=23
Exploring Operation: 23*1=23, Resulting Numbers: [80, 23]
Generated Node #0,4,2: 57:[80, 23] Operation: 23*1=23
Exploring Operation: 80-1=79, Resulting Numbers: [23, 79]
Generated Node #0,4,3: 57:[23, 79] Operation: 80-1=79
Exploring Operation: 23-1=22, Resulting Numbers: [80, 22]
Generated Node #0,4,4: 57:[80, 22] Operation: 23-1=22
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[1, 57], Operations: ['78-77=1', '80-23=57']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[23, 80, 77, 78], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [23, 80, 1]
Generated Node #0,4: 57:[23, 80, 1] Operation: 78-77=1
Moving to Node #0,4
Current State: 57:[23, 80, 1], Operations: ['78-77=1']
Exploring Operation: 80-23=57, Resulting Numbers: [1, 57]
Generated Node #0,4,0: 57:[1, 57] Operation: 80-23=57
Moving to Node #0,4,0
Current State: 57:[1, 57], Operations: ['78-77=1', '80-23=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
44,
68,
64,
20
] | 96 | [
"44-20=24",
"68-64=4",
"24*4=96"
] | Current State: 96:[44, 68, 64, 20], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [68, 64, 24]
Generated Node #2: [68, 64, 24] from Operation: 44-20=24
Current State: 96:[68, 64, 24], Operations: ['44-20=24']
Exploring Operation: 68-64=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 68-64=4
Current State: 96:[24, 4], Operations: ['44-20=24', '68-64=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[44, 68, 64, 20], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [44, 20, 4]
Generated Node #0,0: 96:[44, 20, 4] Operation: 68-64=4
Moving to Node #0,0
Current State: 96:[44, 20, 4], Operations: ['68-64=4']
Exploring Operation: 44-20=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 96:[4, 24] Operation: 44-20=24
Moving to Node #0,0,0
Current State: 96:[4, 24], Operations: ['68-64=4', '44-20=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[44, 68, 64, 20], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [44, 20, 4]
Generated Node #0,0: 96:[44, 20, 4] Operation: 68-64=4
Moving to Node #0,0
Current State: 96:[44, 20, 4], Operations: ['68-64=4']
Exploring Operation: 44-20=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 96:[4, 24] Operation: 44-20=24
Moving to Node #0,0,0
Current State: 96:[4, 24], Operations: ['68-64=4', '44-20=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
53,
55,
88,
21
] | 69 | [
"55-53=2",
"88-21=67",
"2+67=69"
] | Current State: 69:[53, 55, 88, 21], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [88, 21, 2]
Generated Node #2: [88, 21, 2] from Operation: 55-53=2
Current State: 69:[88, 21, 2], Operations: ['55-53=2']
Exploring Operation: 88-21=67, Resulting Numbers: [2, 67]
Generated Node #3: [2, 67] from Operation: 88-21=67
Current State: 69:[2, 67], Operations: ['55-53=2', '88-21=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[53, 55, 88, 21], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [88, 21, 2]
Generated Node #0,0: 69:[88, 21, 2] Operation: 55-53=2
Moving to Node #0,0
Current State: 69:[88, 21, 2], Operations: ['55-53=2']
Exploring Operation: 88-21=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 69:[2, 67] Operation: 88-21=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[2, 67], Operations: ['55-53=2', '88-21=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[53, 55, 88, 21], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [88, 21, 2]
Generated Node #0,0: 69:[88, 21, 2] Operation: 55-53=2
Moving to Node #0,0
Current State: 69:[88, 21, 2], Operations: ['55-53=2']
Exploring Operation: 88-21=67, Resulting Numbers: [2, 67]
Generated Node #0,0,0: 69:[2, 67] Operation: 88-21=67
Moving to Node #0,0,0
Current State: 69:[2, 67], Operations: ['55-53=2', '88-21=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
74,
54,
27
] | 48 | [
"54/54=1",
"74-27=47",
"1+47=48"
] | Current State: 48:[54, 74, 54, 27], Operations: []
Exploring Operation: 54/54=1, Resulting Numbers: [74, 27, 1]
Generated Node #2: [74, 27, 1] from Operation: 54/54=1
Current State: 48:[74, 27, 1], Operations: ['54/54=1']
Exploring Operation: 74-27=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 74-27=47
Current State: 48:[1, 47], Operations: ['54/54=1', '74-27=47']
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[54, 74, 54, 27], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [54, 27, 20]
Generated Node #0,0: 48:[54, 27, 20] Operation: 74-54=20
Exploring Operation: 74-27=47, Resulting Numbers: [54, 54, 47]
Generated Node #0,1: 48:[54, 54, 47] Operation: 74-27=47
Exploring Operation: 74-54=20, Resulting Numbers: [54, 27, 20]
Generated Node #0,2: 48:[54, 27, 20] Operation: 74-54=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[54, 27, 20], Operations: ['74-54=20']
Exploring Operation: 54-27=27, Resulting Numbers: [20, 27]
Generated Node #0,0,0: 48:[20, 27] Operation: 54-27=27
Exploring Operation: 27+20=47, Resulting Numbers: [54, 47]
Generated Node #0,0,1: 48:[54, 47] Operation: 27+20=47
Exploring Operation: 54/27=2, Resulting Numbers: [20, 2]
Generated Node #0,0,2: 48:[20, 2] Operation: 54/27=2
Moving to Node #0,0,2
Current State: 48:[20, 2], Operations: ['74-54=20', '54/27=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[20, 27], Operations: ['74-54=20', '54-27=27']
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,48 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[54, 47], Operations: ['74-54=20', '27+20=47']
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,48 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,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:[54, 54, 47], Operations: ['74-27=47']
Exploring Operation: 54-54=0, Resulting Numbers: [47, 0]
Generated Node #0,1,0: 48:[47, 0] Operation: 54-54=0
Exploring Operation: 54-47=7, Resulting Numbers: [54, 7]
Generated Node #0,1,1: 48:[54, 7] Operation: 54-47=7
Exploring Operation: 54/54=1, Resulting Numbers: [47, 1]
Generated Node #0,1,2: 48:[47, 1] Operation: 54/54=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[47, 1], Operations: ['74-27=47', '54/54=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[54, 74, 54, 27], Operations: []
Exploring Operation: 74-27=47, Resulting Numbers: [54, 54, 47]
Generated Node #0,1: 48:[54, 54, 47] Operation: 74-27=47
Moving to Node #0,1
Current State: 48:[54, 54, 47], Operations: ['74-27=47']
Exploring Operation: 54/54=1, Resulting Numbers: [47, 1]
Generated Node #0,1,2: 48:[47, 1] Operation: 54/54=1
Moving to Node #0,1,2
Current State: 48:[47, 1], Operations: ['74-27=47', '54/54=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
75,
7,
58,
70
] | 80 | [
"75-7=68",
"70-58=12",
"68+12=80"
] | Current State: 80:[75, 7, 58, 70], Operations: []
Exploring Operation: 75-7=68, Resulting Numbers: [58, 70, 68]
Generated Node #2: [58, 70, 68] from Operation: 75-7=68
Current State: 80:[58, 70, 68], Operations: ['75-7=68']
Exploring Operation: 70-58=12, Resulting Numbers: [68, 12]
Generated Node #3: [68, 12] from Operation: 70-58=12
Current State: 80:[68, 12], Operations: ['75-7=68', '70-58=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[75, 7, 58, 70], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [75, 7, 12]
Generated Node #0,0: 80:[75, 7, 12] Operation: 70-58=12
Exploring Operation: 75-70=5, Resulting Numbers: [7, 58, 5]
Generated Node #0,1: 80:[7, 58, 5] Operation: 75-70=5
Exploring Operation: 75-58=17, Resulting Numbers: [7, 70, 17]
Generated Node #0,2: 80:[7, 70, 17] Operation: 75-58=17
Exploring Operation: 58-7=51, Resulting Numbers: [75, 70, 51]
Generated Node #0,3: 80:[75, 70, 51] Operation: 58-7=51
Exploring Operation: 70/7=10, Resulting Numbers: [75, 58, 10]
Generated Node #0,4: 80:[75, 58, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[75, 7, 12], Operations: ['70-58=12']
Exploring Operation: 7+12=19, Resulting Numbers: [75, 19]
Generated Node #0,0,0: 80:[75, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [75, 5]
Generated Node #0,0,1: 80:[75, 5] Operation: 12-7=5
Exploring Operation: 75+12=87, Resulting Numbers: [7, 87]
Generated Node #0,0,2: 80:[7, 87] Operation: 75+12=87
Exploring Operation: 75+7=82, Resulting Numbers: [12, 82]
Generated Node #0,0,3: 80:[12, 82] Operation: 75+7=82
Exploring Operation: 7*12=84, Resulting Numbers: [75, 84]
Generated Node #0,0,4: 80:[75, 84] Operation: 7*12=84
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 80:[12, 82], Operations: ['70-58=12', '75+7=82']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,80 unequal: No Solution
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,80 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: 80:[75, 5], Operations: ['70-58=12', '12-7=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[75, 7, 58, 70], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [75, 7, 12]
Generated Node #0,0: 80:[75, 7, 12] Operation: 70-58=12
Moving to Node #0,0
Current State: 80:[75, 7, 12], Operations: ['70-58=12']
Exploring Operation: 12-7=5, Resulting Numbers: [75, 5]
Generated Node #0,0,1: 80:[75, 5] Operation: 12-7=5
Moving to Node #0,0,1
Current State: 80:[75, 5], Operations: ['70-58=12', '12-7=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
34,
43,
24,
39
] | 28 | [
"43-39=4",
"24/4=6",
"34-6=28"
] | Current State: 28:[34, 43, 24, 39], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [34, 24, 4]
Generated Node #2: [34, 24, 4] from Operation: 43-39=4
Current State: 28:[34, 24, 4], Operations: ['43-39=4']
Exploring Operation: 24/4=6, Resulting Numbers: [34, 6]
Generated Node #3: [34, 6] from Operation: 24/4=6
Current State: 28:[34, 6], Operations: ['43-39=4', '24/4=6']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[34, 43, 24, 39], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [34, 24, 4]
Generated Node #0,0: 28:[34, 24, 4] Operation: 43-39=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[34, 24, 4], Operations: ['43-39=4']
Exploring Operation: 34-24=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 28:[4, 10] Operation: 34-24=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 10], Operations: ['43-39=4', '34-24=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
36,
41,
44
] | 69 | [
"59-36=23",
"44-41=3",
"23*3=69"
] | Current State: 69:[59, 36, 41, 44], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [41, 44, 23]
Generated Node #2: [41, 44, 23] from Operation: 59-36=23
Current State: 69:[41, 44, 23], Operations: ['59-36=23']
Exploring Operation: 44-41=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 44-41=3
Current State: 69:[23, 3], Operations: ['59-36=23', '44-41=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[59, 36, 41, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [59, 36, 3]
Generated Node #0,0: 69:[59, 36, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 69:[59, 36, 3], Operations: ['44-41=3']
Exploring Operation: 59-36=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 69:[3, 23] Operation: 59-36=23
Moving to Node #0,0,0
Current State: 69:[3, 23], Operations: ['44-41=3', '59-36=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[59, 36, 41, 44], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [59, 36, 3]
Generated Node #0,0: 69:[59, 36, 3] Operation: 44-41=3
Moving to Node #0,0
Current State: 69:[59, 36, 3], Operations: ['44-41=3']
Exploring Operation: 59-36=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 69:[3, 23] Operation: 59-36=23
Moving to Node #0,0,0
Current State: 69:[3, 23], Operations: ['44-41=3', '59-36=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
87,
64,
9,
23
] | 89 | [
"9+23=32",
"64/32=2",
"87+2=89"
] | Current State: 89:[87, 64, 9, 23], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [87, 64, 32]
Generated Node #2: [87, 64, 32] from Operation: 9+23=32
Current State: 89:[87, 64, 32], Operations: ['9+23=32']
Exploring Operation: 64/32=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 64/32=2
Current State: 89:[87, 2], Operations: ['9+23=32', '64/32=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[87, 64, 9, 23], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [87, 64, 32]
Generated Node #0,0: 89:[87, 64, 32] Operation: 9+23=32
Exploring Operation: 87+9=96, Resulting Numbers: [64, 23, 96]
Generated Node #0,1: 89:[64, 23, 96] Operation: 87+9=96
Exploring Operation: 64+9=73, Resulting Numbers: [87, 23, 73]
Generated Node #0,2: 89:[87, 23, 73] Operation: 64+9=73
Exploring Operation: 64+23=87, Resulting Numbers: [87, 9, 87]
Generated Node #0,3: 89:[87, 9, 87] Operation: 64+23=87
Moving to Node #0,0
Current State: 89:[87, 64, 32], Operations: ['9+23=32']
Exploring Operation: 87+32=119, Resulting Numbers: [64, 119]
Generated Node #0,0,0: 89:[64, 119] Operation: 87+32=119
Exploring Operation: 87-32=55, Resulting Numbers: [64, 55]
Generated Node #0,0,1: 89:[64, 55] Operation: 87-32=55
Exploring Operation: 64-32=32, Resulting Numbers: [87, 32]
Generated Node #0,0,2: 89:[87, 32] Operation: 64-32=32
Exploring Operation: 64+32=96, Resulting Numbers: [87, 96]
Generated Node #0,0,3: 89:[87, 96] Operation: 64+32=96
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[87, 96], Operations: ['9+23=32', '64+32=96']
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,89 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,89 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: 89:[64, 119], Operations: ['9+23=32', '87+32=119']
Exploring Operation: 64+119=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 64*119=7616, Resulting Numbers: [7616]
7616,89 unequal: No Solution
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,89 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: 89:[64, 55], Operations: ['9+23=32', '87-32=55']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,89 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,89 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: 89:[87, 32], Operations: ['9+23=32', '64-32=32']
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,89 unequal: No Solution
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,89 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: 89:[87, 9, 87], Operations: ['64+23=87']
Exploring Operation: 87+9=96, Resulting Numbers: [87, 96]
Generated Node #0,3,0: 89:[87, 96] Operation: 87+9=96
Exploring Operation: 9+87=96, Resulting Numbers: [87, 96]
Generated Node #0,3,1: 89:[87, 96] Operation: 9+87=96
Exploring Operation: 87-9=78, Resulting Numbers: [87, 78]
Generated Node #0,3,2: 89:[87, 78] Operation: 87-9=78
Exploring Operation: 87-9=78, Resulting Numbers: [87, 78]
Generated Node #0,3,3: 89:[87, 78] Operation: 87-9=78
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[87, 96], Operations: ['64+23=87', '87+9=96']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,89 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,89 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: 89:[87, 96], Operations: ['64+23=87', '9+87=96']
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,89 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: 89:[87, 78], Operations: ['64+23=87', '87-9=78']
Exploring Operation: 87*78=6786, Resulting Numbers: [6786]
6786,89 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 87+78=165, Resulting Numbers: [165]
165,89 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: 89:[87, 78], Operations: ['64+23=87', '87-9=78']
Exploring Operation: 87+78=165, Resulting Numbers: [165]
165,89 unequal: No Solution
Exploring Operation: 87*78=6786, Resulting Numbers: [6786]
6786,89 unequal: No Solution
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,89 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: 89:[87, 23, 73], Operations: ['64+9=73']
Exploring Operation: 73-23=50, Resulting Numbers: [87, 50]
Generated Node #0,2,0: 89:[87, 50] Operation: 73-23=50
Exploring Operation: 23+73=96, Resulting Numbers: [87, 96]
Generated Node #0,2,1: 89:[87, 96] Operation: 23+73=96
Exploring Operation: 87-23=64, Resulting Numbers: [73, 64]
Generated Node #0,2,2: 89:[73, 64] Operation: 87-23=64
Exploring Operation: 87+23=110, Resulting Numbers: [73, 110]
Generated Node #0,2,3: 89:[73, 110] Operation: 87+23=110
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[87, 96], Operations: ['64+9=73', '23+73=96']
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,89 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,89 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: 89:[73, 110], Operations: ['64+9=73', '87+23=110']
Exploring Operation: 110-73=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 73*110=8030, Resulting Numbers: [8030]
8030,89 unequal: No Solution
Exploring Operation: 73+110=183, Resulting Numbers: [183]
183,89 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: 89:[87, 50], Operations: ['64+9=73', '73-23=50']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,89 unequal: No Solution
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,89 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: 89:[73, 64], Operations: ['64+9=73', '87-23=64']
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,89 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: 89:[64, 23, 96], Operations: ['87+9=96']
Exploring Operation: 23+96=119, Resulting Numbers: [64, 119]
Generated Node #0,1,0: 89:[64, 119] Operation: 23+96=119
Exploring Operation: 64+23=87, Resulting Numbers: [96, 87]
Generated Node #0,1,1: 89:[96, 87] Operation: 64+23=87
Exploring Operation: 96-23=73, Resulting Numbers: [64, 73]
Generated Node #0,1,2: 89:[64, 73] Operation: 96-23=73
Exploring Operation: 64-23=41, Resulting Numbers: [96, 41]
Generated Node #0,1,3: 89:[96, 41] Operation: 64-23=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[96, 87], Operations: ['87+9=96', '64+23=87']
Exploring Operation: 96+87=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 96*87=8352, Resulting Numbers: [8352]
8352,89 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: 89:[64, 73], Operations: ['87+9=96', '96-23=73']
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,89 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,89 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: 89:[64, 119], Operations: ['87+9=96', '23+96=119']
Exploring Operation: 64+119=183, Resulting Numbers: [183]
183,89 unequal: No Solution
Exploring Operation: 64*119=7616, Resulting Numbers: [7616]
7616,89 unequal: No Solution
Exploring Operation: 119-64=55, Resulting Numbers: [55]
55,89 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: 89:[96, 41], Operations: ['87+9=96', '64-23=41']
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,89 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,89 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 |
[
29,
32,
43,
55
] | 95 | [
"32-29=3",
"43+55=98",
"98-3=95"
] | Current State: 95:[29, 32, 43, 55], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [43, 55, 3]
Generated Node #2: [43, 55, 3] from Operation: 32-29=3
Current State: 95:[43, 55, 3], Operations: ['32-29=3']
Exploring Operation: 43+55=98, Resulting Numbers: [3, 98]
Generated Node #3: [3, 98] from Operation: 43+55=98
Current State: 95:[3, 98], Operations: ['32-29=3', '43+55=98']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[29, 32, 43, 55], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [29, 32, 12]
Generated Node #0,0: 95:[29, 32, 12] Operation: 55-43=12
Exploring Operation: 43+55=98, Resulting Numbers: [29, 32, 98]
Generated Node #0,1: 95:[29, 32, 98] Operation: 43+55=98
Exploring Operation: 32+55=87, Resulting Numbers: [29, 43, 87]
Generated Node #0,2: 95:[29, 43, 87] Operation: 32+55=87
Exploring Operation: 55-32=23, Resulting Numbers: [29, 43, 23]
Generated Node #0,3: 95:[29, 43, 23] Operation: 55-32=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[29, 32, 98], Operations: ['43+55=98']
Exploring Operation: 98-32=66, Resulting Numbers: [29, 66]
Generated Node #0,1,0: 95:[29, 66] Operation: 98-32=66
Exploring Operation: 98-29=69, Resulting Numbers: [32, 69]
Generated Node #0,1,1: 95:[32, 69] Operation: 98-29=69
Exploring Operation: 29+32=61, Resulting Numbers: [98, 61]
Generated Node #0,1,2: 95:[98, 61] Operation: 29+32=61
Exploring Operation: 32-29=3, Resulting Numbers: [98, 3]
Generated Node #0,1,3: 95:[98, 3] Operation: 32-29=3
Moving to Node #0,1,3
Current State: 95:[98, 3], Operations: ['43+55=98', '32-29=3']
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[29, 32, 43, 55], Operations: []
Exploring Operation: 43+55=98, Resulting Numbers: [29, 32, 98]
Generated Node #0,1: 95:[29, 32, 98] Operation: 43+55=98
Moving to Node #0,1
Current State: 95:[29, 32, 98], Operations: ['43+55=98']
Exploring Operation: 32-29=3, Resulting Numbers: [98, 3]
Generated Node #0,1,3: 95:[98, 3] Operation: 32-29=3
Moving to Node #0,1,3
Current State: 95:[98, 3], Operations: ['43+55=98', '32-29=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
27,
4,
64,
7
] | 69 | [
"27-7=20",
"20/4=5",
"64+5=69"
] | Current State: 69:[27, 4, 64, 7], Operations: []
Exploring Operation: 27-7=20, Resulting Numbers: [4, 64, 20]
Generated Node #2: [4, 64, 20] from Operation: 27-7=20
Current State: 69:[4, 64, 20], Operations: ['27-7=20']
Exploring Operation: 20/4=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 20/4=5
Current State: 69:[64, 5], Operations: ['27-7=20', '20/4=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[27, 4, 64, 7], Operations: []
Exploring Operation: 27-7=20, Resulting Numbers: [4, 64, 20]
Generated Node #0,0: 69:[4, 64, 20] Operation: 27-7=20
Exploring Operation: 64+7=71, Resulting Numbers: [27, 4, 71]
Generated Node #0,1: 69:[27, 4, 71] Operation: 64+7=71
Exploring Operation: 27-4=23, Resulting Numbers: [64, 7, 23]
Generated Node #0,2: 69:[64, 7, 23] Operation: 27-4=23
Exploring Operation: 4+64=68, Resulting Numbers: [27, 7, 68]
Generated Node #0,3: 69:[27, 7, 68] Operation: 4+64=68
Moving to Node #0,1
Current State: 69:[27, 4, 71], Operations: ['64+7=71']
Exploring Operation: 4+71=75, Resulting Numbers: [27, 75]
Generated Node #0,1,0: 69:[27, 75] Operation: 4+71=75
Exploring Operation: 27-4=23, Resulting Numbers: [71, 23]
Generated Node #0,1,1: 69:[71, 23] Operation: 27-4=23
Exploring Operation: 27+4=31, Resulting Numbers: [71, 31]
Generated Node #0,1,2: 69:[71, 31] Operation: 27+4=31
Exploring Operation: 71-4=67, Resulting Numbers: [27, 67]
Generated Node #0,1,3: 69:[27, 67] Operation: 71-4=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[71, 23], Operations: ['64+7=71', '27-4=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,69 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: 69:[27, 67], Operations: ['64+7=71', '71-4=67']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,69 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: 69:[27, 75], Operations: ['64+7=71', '4+71=75']
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,69 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: 69:[71, 31], Operations: ['64+7=71', '27+4=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,69 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,69 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: 69:[64, 7, 23], Operations: ['27-4=23']
Exploring Operation: 64+7=71, Resulting Numbers: [23, 71]
Generated Node #0,2,0: 69:[23, 71] Operation: 64+7=71
Exploring Operation: 64-7=57, Resulting Numbers: [23, 57]
Generated Node #0,2,1: 69:[23, 57] Operation: 64-7=57
Exploring Operation: 7+23=30, Resulting Numbers: [64, 30]
Generated Node #0,2,2: 69:[64, 30] Operation: 7+23=30
Exploring Operation: 23-7=16, Resulting Numbers: [64, 16]
Generated Node #0,2,3: 69:[64, 16] Operation: 23-7=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[23, 71], Operations: ['27-4=23', '64+7=71']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,69 unequal: No Solution
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,69 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: 69:[23, 57], Operations: ['27-4=23', '64-7=57']
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,69 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,69 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: 69:[64, 30], Operations: ['27-4=23', '7+23=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,69 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: 69:[64, 16], Operations: ['27-4=23', '23-7=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,69 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,69 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: 69:[4, 64, 20], Operations: ['27-7=20']
Exploring Operation: 64/4=16, Resulting Numbers: [20, 16]
Generated Node #0,0,0: 69:[20, 16] Operation: 64/4=16
Exploring Operation: 20/4=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 69:[64, 5] Operation: 20/4=5
Exploring Operation: 4+64=68, Resulting Numbers: [20, 68]
Generated Node #0,0,2: 69:[20, 68] Operation: 4+64=68
Exploring Operation: 4+20=24, Resulting Numbers: [64, 24]
Generated Node #0,0,3: 69:[64, 24] Operation: 4+20=24
Moving to Node #0,3
Current State: 69:[27, 7, 68], Operations: ['4+64=68']
Exploring Operation: 27-7=20, Resulting Numbers: [68, 20]
Generated Node #0,3,0: 69:[68, 20] Operation: 27-7=20
Exploring Operation: 7+68=75, Resulting Numbers: [27, 75]
Generated Node #0,3,1: 69:[27, 75] Operation: 7+68=75
Exploring Operation: 27+7=34, Resulting Numbers: [68, 34]
Generated Node #0,3,2: 69:[68, 34] Operation: 27+7=34
Exploring Operation: 68-7=61, Resulting Numbers: [27, 61]
Generated Node #0,3,3: 69:[27, 61] Operation: 68-7=61
Moving to Node #0,0,2
Current State: 69:[20, 68], Operations: ['27-7=20', '4+64=68']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 20+68=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 20*68=1360, Resulting Numbers: [1360]
1360,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[68, 20], Operations: ['4+64=68', '27-7=20']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[64, 24], Operations: ['27-7=20', '4+20=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,69 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[64, 5], Operations: ['27-7=20', '20/4=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[27, 4, 64, 7], Operations: []
Exploring Operation: 27-7=20, Resulting Numbers: [4, 64, 20]
Generated Node #0,0: 69:[4, 64, 20] Operation: 27-7=20
Moving to Node #0,0
Current State: 69:[4, 64, 20], Operations: ['27-7=20']
Exploring Operation: 20/4=5, Resulting Numbers: [64, 5]
Generated Node #0,0,1: 69:[64, 5] Operation: 20/4=5
Moving to Node #0,0,1
Current State: 69:[64, 5], Operations: ['27-7=20', '20/4=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.947917 | hs_4 | mult_heuristic |
[
46,
65,
20,
1
] | 92 | [
"46+65=111",
"20-1=19",
"111-19=92"
] | Current State: 92:[46, 65, 20, 1], Operations: []
Exploring Operation: 46+65=111, Resulting Numbers: [20, 1, 111]
Generated Node #2: [20, 1, 111] from Operation: 46+65=111
Current State: 92:[20, 1, 111], Operations: ['46+65=111']
Exploring Operation: 20-1=19, Resulting Numbers: [111, 19]
Generated Node #3: [111, 19] from Operation: 20-1=19
Current State: 92:[111, 19], Operations: ['46+65=111', '20-1=19']
Exploring Operation: 111-19=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[46, 65, 20, 1], Operations: []
Exploring Operation: 65+20=85, Resulting Numbers: [46, 1, 85]
Generated Node #0,0: 92:[46, 1, 85] Operation: 65+20=85
Exploring Operation: 65-46=19, Resulting Numbers: [20, 1, 19]
Generated Node #0,1: 92:[20, 1, 19] Operation: 65-46=19
Exploring Operation: 65-20=45, Resulting Numbers: [46, 1, 45]
Generated Node #0,2: 92:[46, 1, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[46, 1, 45], Operations: ['65-20=45']
Exploring Operation: 46/1=46, Resulting Numbers: [45, 46]
Generated Node #0,2,0: 92:[45, 46] Operation: 46/1=46
Exploring Operation: 46*1=46, Resulting Numbers: [45, 46]
Generated Node #0,2,1: 92:[45, 46] Operation: 46*1=46
Exploring Operation: 1+45=46, Resulting Numbers: [46, 46]
Generated Node #0,2,2: 92:[46, 46] Operation: 1+45=46
Moving to Node #0,2,2
Current State: 92:[46, 46], Operations: ['65-20=45', '1+45=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[46, 65, 20, 1], Operations: []
Exploring Operation: 65-20=45, Resulting Numbers: [46, 1, 45]
Generated Node #0,2: 92:[46, 1, 45] Operation: 65-20=45
Moving to Node #0,2
Current State: 92:[46, 1, 45], Operations: ['65-20=45']
Exploring Operation: 1+45=46, Resulting Numbers: [46, 46]
Generated Node #0,2,2: 92:[46, 46] Operation: 1+45=46
Moving to Node #0,2,2
Current State: 92:[46, 46], Operations: ['65-20=45', '1+45=46']
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
71,
27,
85,
57
] | 16 | [
"71-27=44",
"85-57=28",
"44-28=16"
] | Current State: 16:[71, 27, 85, 57], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [85, 57, 44]
Generated Node #2: [85, 57, 44] from Operation: 71-27=44
Current State: 16:[85, 57, 44], Operations: ['71-27=44']
Exploring Operation: 85-57=28, Resulting Numbers: [44, 28]
Generated Node #3: [44, 28] from Operation: 85-57=28
Current State: 16:[44, 28], Operations: ['71-27=44', '85-57=28']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[71, 27, 85, 57], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [27, 57, 14]
Generated Node #0,0: 16:[27, 57, 14] Operation: 85-71=14
Exploring Operation: 85-57=28, Resulting Numbers: [71, 27, 28]
Generated Node #0,1: 16:[71, 27, 28] Operation: 85-57=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[27, 57, 14], Operations: ['85-71=14']
Exploring Operation: 57-27=30, Resulting Numbers: [14, 30]
Generated Node #0,0,0: 16:[14, 30] Operation: 57-27=30
Exploring Operation: 57-14=43, Resulting Numbers: [27, 43]
Generated Node #0,0,1: 16:[27, 43] Operation: 57-14=43
Moving to Node #0,0,0
Current State: 16:[14, 30], Operations: ['85-71=14', '57-27=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[71, 27, 85, 57], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [27, 57, 14]
Generated Node #0,0: 16:[27, 57, 14] Operation: 85-71=14
Moving to Node #0,0
Current State: 16:[27, 57, 14], Operations: ['85-71=14']
Exploring Operation: 57-27=30, Resulting Numbers: [14, 30]
Generated Node #0,0,0: 16:[14, 30] Operation: 57-27=30
Moving to Node #0,0,0
Current State: 16:[14, 30], Operations: ['85-71=14', '57-27=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
73,
64,
25,
61
] | 95 | [
"73-64=9",
"25+61=86",
"9+86=95"
] | Current State: 95:[73, 64, 25, 61], Operations: []
Exploring Operation: 73-64=9, Resulting Numbers: [25, 61, 9]
Generated Node #2: [25, 61, 9] from Operation: 73-64=9
Current State: 95:[25, 61, 9], Operations: ['73-64=9']
Exploring Operation: 25+61=86, Resulting Numbers: [9, 86]
Generated Node #3: [9, 86] from Operation: 25+61=86
Current State: 95:[9, 86], Operations: ['73-64=9', '25+61=86']
Exploring Operation: 9+86=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[73, 64, 25, 61], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [73, 25, 3]
Generated Node #0,0: 95:[73, 25, 3] Operation: 64-61=3
Moving to Node #0,0
Current State: 95:[73, 25, 3], Operations: ['64-61=3']
Exploring Operation: 73+25=98, Resulting Numbers: [3, 98]
Generated Node #0,0,0: 95:[3, 98] Operation: 73+25=98
Moving to Node #0,0,0
Current State: 95:[3, 98], Operations: ['64-61=3', '73+25=98']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[73, 64, 25, 61], Operations: []
Exploring Operation: 64-61=3, Resulting Numbers: [73, 25, 3]
Generated Node #0,0: 95:[73, 25, 3] Operation: 64-61=3
Moving to Node #0,0
Current State: 95:[73, 25, 3], Operations: ['64-61=3']
Exploring Operation: 73+25=98, Resulting Numbers: [3, 98]
Generated Node #0,0,0: 95:[3, 98] Operation: 73+25=98
Moving to Node #0,0,0
Current State: 95:[3, 98], Operations: ['64-61=3', '73+25=98']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
29,
84,
78,
55
] | 87 | [
"55-29=26",
"78/26=3",
"84+3=87"
] | Current State: 87:[29, 84, 78, 55], Operations: []
Exploring Operation: 55-29=26, Resulting Numbers: [84, 78, 26]
Generated Node #2: [84, 78, 26] from Operation: 55-29=26
Current State: 87:[84, 78, 26], Operations: ['55-29=26']
Exploring Operation: 78/26=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 78/26=3
Current State: 87:[84, 3], Operations: ['55-29=26', '78/26=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[29, 84, 78, 55], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [29, 84, 23]
Generated Node #0,0: 87:[29, 84, 23] Operation: 78-55=23
Exploring Operation: 84-55=29, Resulting Numbers: [29, 78, 29]
Generated Node #0,1: 87:[29, 78, 29] Operation: 84-55=29
Exploring Operation: 29+55=84, Resulting Numbers: [84, 78, 84]
Generated Node #0,2: 87:[84, 78, 84] Operation: 29+55=84
Moving to Node #0,0
Current State: 87:[29, 84, 23], Operations: ['78-55=23']
Exploring Operation: 84+23=107, Resulting Numbers: [29, 107]
Generated Node #0,0,0: 87:[29, 107] Operation: 84+23=107
Exploring Operation: 29+23=52, Resulting Numbers: [84, 52]
Generated Node #0,0,1: 87:[84, 52] Operation: 29+23=52
Exploring Operation: 29-23=6, Resulting Numbers: [84, 6]
Generated Node #0,0,2: 87:[84, 6] Operation: 29-23=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[84, 6], Operations: ['78-55=23', '29-23=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,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,0
Current State: 87:[29, 107], Operations: ['78-55=23', '84+23=107']
Exploring Operation: 29+107=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 107-29=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 29*107=3103, Resulting Numbers: [3103]
3103,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,1
Current State: 87:[84, 52], Operations: ['78-55=23', '29+23=52']
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,87 unequal: No Solution
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,87 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: 87:[29, 78, 29], Operations: ['84-55=29']
Exploring Operation: 29-29=0, Resulting Numbers: [78, 0]
Generated Node #0,1,0: 87:[78, 0] Operation: 29-29=0
Exploring Operation: 29+78=107, Resulting Numbers: [29, 107]
Generated Node #0,1,1: 87:[29, 107] Operation: 29+78=107
Exploring Operation: 29/29=1, Resulting Numbers: [78, 1]
Generated Node #0,1,2: 87:[78, 1] Operation: 29/29=1
Moving to Node #0,2
Current State: 87:[84, 78, 84], Operations: ['29+55=84']
Exploring Operation: 84/84=1, Resulting Numbers: [78, 1]
Generated Node #0,2,0: 87:[78, 1] Operation: 84/84=1
Exploring Operation: 84-78=6, Resulting Numbers: [84, 6]
Generated Node #0,2,1: 87:[84, 6] Operation: 84-78=6
Exploring Operation: 84-78=6, Resulting Numbers: [84, 6]
Generated Node #0,2,2: 87:[84, 6] Operation: 84-78=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[84, 6], Operations: ['29+55=84', '84-78=6']
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,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,2
Current State: 87:[84, 6], Operations: ['29+55=84', '84-78=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,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,0
Current State: 87:[78, 1], Operations: ['29+55=84', '84/84=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 87:[78, 1], Operations: ['84-55=29', '29/29=1']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,87 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[78, 0], Operations: ['84-55=29', '29-29=0']
Exploring Operation: 78*0=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 78+0=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 78-0=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[29, 107], Operations: ['84-55=29', '29+78=107']
Exploring Operation: 29+107=136, Resulting Numbers: [136]
136,87 unequal: No Solution
Exploring Operation: 107-29=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 29*107=3103, Resulting Numbers: [3103]
3103,87 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
46,
6,
57
] | 80 | [
"78-57=21",
"6*21=126",
"126-46=80"
] | Current State: 80:[78, 46, 6, 57], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [46, 6, 21]
Generated Node #2: [46, 6, 21] from Operation: 78-57=21
Current State: 80:[46, 6, 21], Operations: ['78-57=21']
Exploring Operation: 6*21=126, Resulting Numbers: [46, 126]
Generated Node #3: [46, 126] from Operation: 6*21=126
Current State: 80:[46, 126], Operations: ['78-57=21', '6*21=126']
Exploring Operation: 126-46=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[78, 46, 6, 57], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [78, 46, 63]
Generated Node #0,0: 80:[78, 46, 63] Operation: 6+57=63
Exploring Operation: 78-57=21, Resulting Numbers: [46, 6, 21]
Generated Node #0,1: 80:[46, 6, 21] Operation: 78-57=21
Exploring Operation: 57-46=11, Resulting Numbers: [78, 6, 11]
Generated Node #0,2: 80:[78, 6, 11] Operation: 57-46=11
Exploring Operation: 57-6=51, Resulting Numbers: [78, 46, 51]
Generated Node #0,3: 80:[78, 46, 51] Operation: 57-6=51
Exploring Operation: 46-6=40, Resulting Numbers: [78, 57, 40]
Generated Node #0,4: 80:[78, 57, 40] Operation: 46-6=40
Moving to Node #0,2
Current State: 80:[78, 6, 11], Operations: ['57-46=11']
Exploring Operation: 78-6=72, Resulting Numbers: [11, 72]
Generated Node #0,2,0: 80:[11, 72] Operation: 78-6=72
Exploring Operation: 78+6=84, Resulting Numbers: [11, 84]
Generated Node #0,2,1: 80:[11, 84] Operation: 78+6=84
Exploring Operation: 6+11=17, Resulting Numbers: [78, 17]
Generated Node #0,2,2: 80:[78, 17] Operation: 6+11=17
Exploring Operation: 78/6=13, Resulting Numbers: [11, 13]
Generated Node #0,2,3: 80:[11, 13] Operation: 78/6=13
Exploring Operation: 11-6=5, Resulting Numbers: [78, 5]
Generated Node #0,2,4: 80:[78, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[78, 5], Operations: ['57-46=11', '11-6=5']
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,80 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,80 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: 80:[78, 17], Operations: ['57-46=11', '6+11=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,80 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,80 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: 80:[11, 13], Operations: ['57-46=11', '78/6=13']
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,80 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: 80:[11, 84], Operations: ['57-46=11', '78+6=84']
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 11*84=924, Resulting Numbers: [924]
924,80 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: 80:[11, 72], Operations: ['57-46=11', '78-6=72']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,80 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: 80:[46, 6, 21], Operations: ['78-57=21']
Exploring Operation: 46-21=25, Resulting Numbers: [6, 25]
Generated Node #0,1,0: 80:[6, 25] Operation: 46-21=25
Exploring Operation: 6+21=27, Resulting Numbers: [46, 27]
Generated Node #0,1,1: 80:[46, 27] Operation: 6+21=27
Exploring Operation: 21-6=15, Resulting Numbers: [46, 15]
Generated Node #0,1,2: 80:[46, 15] Operation: 21-6=15
Exploring Operation: 46-6=40, Resulting Numbers: [21, 40]
Generated Node #0,1,3: 80:[21, 40] Operation: 46-6=40
Exploring Operation: 46+6=52, Resulting Numbers: [21, 52]
Generated Node #0,1,4: 80:[21, 52] Operation: 46+6=52
Moving to Node #0,3
Current State: 80:[78, 46, 51], Operations: ['57-6=51']
Exploring Operation: 51-46=5, Resulting Numbers: [78, 5]
Generated Node #0,3,0: 80:[78, 5] Operation: 51-46=5
Exploring Operation: 78+46=124, Resulting Numbers: [51, 124]
Generated Node #0,3,1: 80:[51, 124] Operation: 78+46=124
Exploring Operation: 78-46=32, Resulting Numbers: [51, 32]
Generated Node #0,3,2: 80:[51, 32] Operation: 78-46=32
Exploring Operation: 78-51=27, Resulting Numbers: [46, 27]
Generated Node #0,3,3: 80:[46, 27] Operation: 78-51=27
Exploring Operation: 46+51=97, Resulting Numbers: [78, 97]
Generated Node #0,3,4: 80:[78, 97] Operation: 46+51=97
Moving to Node #0,4
Current State: 80:[78, 57, 40], Operations: ['46-6=40']
Exploring Operation: 78-40=38, Resulting Numbers: [57, 38]
Generated Node #0,4,0: 80:[57, 38] Operation: 78-40=38
Exploring Operation: 78-57=21, Resulting Numbers: [40, 21]
Generated Node #0,4,1: 80:[40, 21] Operation: 78-57=21
Exploring Operation: 57+40=97, Resulting Numbers: [78, 97]
Generated Node #0,4,2: 80:[78, 97] Operation: 57+40=97
Exploring Operation: 78+57=135, Resulting Numbers: [40, 135]
Generated Node #0,4,3: 80:[40, 135] Operation: 78+57=135
Exploring Operation: 57-40=17, Resulting Numbers: [78, 17]
Generated Node #0,4,4: 80:[78, 17] Operation: 57-40=17
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[40, 21], Operations: ['46-6=40', '78-57=21']
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,80 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,80 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: 80:[78, 17], Operations: ['46-6=40', '57-40=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,80 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,80 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: 80:[57, 38], Operations: ['46-6=40', '78-40=38']
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,80 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: 80:[78, 97], Operations: ['46-6=40', '57+40=97']
Exploring Operation: 78*97=7566, Resulting Numbers: [7566]
7566,80 unequal: No Solution
Exploring Operation: 78+97=175, Resulting Numbers: [175]
175,80 unequal: No Solution
Exploring Operation: 97-78=19, Resulting Numbers: [19]
19,80 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: 80:[40, 135], Operations: ['46-6=40', '78+57=135']
Exploring Operation: 40+135=175, Resulting Numbers: [175]
175,80 unequal: No Solution
Exploring Operation: 135-40=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 40*135=5400, Resulting Numbers: [5400]
5400,80 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: 80:[78, 46, 63], Operations: ['6+57=63']
Exploring Operation: 78+46=124, Resulting Numbers: [63, 124]
Generated Node #0,0,0: 80:[63, 124] Operation: 78+46=124
Exploring Operation: 46+63=109, Resulting Numbers: [78, 109]
Generated Node #0,0,1: 80:[78, 109] Operation: 46+63=109
Exploring Operation: 63-46=17, Resulting Numbers: [78, 17]
Generated Node #0,0,2: 80:[78, 17] Operation: 63-46=17
Exploring Operation: 78-46=32, Resulting Numbers: [63, 32]
Generated Node #0,0,3: 80:[63, 32] Operation: 78-46=32
Exploring Operation: 78-63=15, Resulting Numbers: [46, 15]
Generated Node #0,0,4: 80:[46, 15] Operation: 78-63=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[78, 17], Operations: ['6+57=63', '63-46=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,80 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,80 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: 80:[46, 15], Operations: ['6+57=63', '78-63=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,80 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: 80:[63, 32], Operations: ['6+57=63', '78-46=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,80 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: 80:[78, 109], Operations: ['6+57=63', '46+63=109']
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,80 unequal: No Solution
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,80 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: 80:[63, 124], Operations: ['6+57=63', '78+46=124']
Exploring Operation: 63+124=187, Resulting Numbers: [187]
187,80 unequal: No Solution
Exploring Operation: 63*124=7812, Resulting Numbers: [7812]
7812,80 unequal: No Solution
Exploring Operation: 124-63=61, Resulting Numbers: [61]
61,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 80:[21, 40], Operations: ['78-57=21', '46-6=40']
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[78, 5], Operations: ['57-6=51', '51-46=5']
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[6, 25], Operations: ['78-57=21', '46-21=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,80 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[46, 15], Operations: ['78-57=21', '21-6=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[46, 27], Operations: ['57-6=51', '78-51=27']
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,80 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[21, 52], Operations: ['78-57=21', '46+6=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[46, 27], Operations: ['78-57=21', '6+21=27']
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,80 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[51, 32], Operations: ['57-6=51', '78-46=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,80 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[78, 97], Operations: ['57-6=51', '46+51=97']
Exploring Operation: 78*97=7566, Resulting Numbers: [7566]
7566,80 unequal: No Solution
Exploring Operation: 78+97=175, Resulting Numbers: [175]
175,80 unequal: No Solution
Exploring Operation: 97-78=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[51, 124], Operations: ['57-6=51', '78+46=124']
Exploring Operation: 51*124=6324, Resulting Numbers: [6324]
6324,80 unequal: No Solution
Exploring Operation: 51+124=175, Resulting Numbers: [175]
175,80 unequal: No Solution
Exploring Operation: 124-51=73, Resulting Numbers: [73]
73,80 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
2,
39,
58
] | 54 | [
"46+39=85",
"85-58=27",
"2*27=54"
] | Current State: 54:[46, 2, 39, 58], Operations: []
Exploring Operation: 46+39=85, Resulting Numbers: [2, 58, 85]
Generated Node #2: [2, 58, 85] from Operation: 46+39=85
Current State: 54:[2, 58, 85], Operations: ['46+39=85']
Exploring Operation: 85-58=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 85-58=27
Current State: 54:[2, 27], Operations: ['46+39=85', '85-58=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[46, 2, 39, 58], Operations: []
Exploring Operation: 46-39=7, Resulting Numbers: [2, 58, 7]
Generated Node #0,0: 54:[2, 58, 7] Operation: 46-39=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[2, 58, 7], Operations: ['46-39=7']
Exploring Operation: 58-2=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 54:[7, 56] Operation: 58-2=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[7, 56], Operations: ['46-39=7', '58-2=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,54 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 |
[
14,
28,
94,
32
] | 78 | [
"28/14=2",
"32/2=16",
"94-16=78"
] | Current State: 78:[14, 28, 94, 32], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [94, 32, 2]
Generated Node #2: [94, 32, 2] from Operation: 28/14=2
Current State: 78:[94, 32, 2], Operations: ['28/14=2']
Exploring Operation: 32/2=16, Resulting Numbers: [94, 16]
Generated Node #3: [94, 16] from Operation: 32/2=16
Current State: 78:[94, 16], Operations: ['28/14=2', '32/2=16']
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[14, 28, 94, 32], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [14, 94, 4]
Generated Node #0,0: 78:[14, 94, 4] Operation: 32-28=4
Exploring Operation: 94-28=66, Resulting Numbers: [14, 32, 66]
Generated Node #0,1: 78:[14, 32, 66] Operation: 94-28=66
Exploring Operation: 94-14=80, Resulting Numbers: [28, 32, 80]
Generated Node #0,2: 78:[28, 32, 80] Operation: 94-14=80
Exploring Operation: 94-32=62, Resulting Numbers: [14, 28, 62]
Generated Node #0,3: 78:[14, 28, 62] Operation: 94-32=62
Moving to Node #0,2
Current State: 78:[28, 32, 80], Operations: ['94-14=80']
Exploring Operation: 32-28=4, Resulting Numbers: [80, 4]
Generated Node #0,2,0: 78:[80, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [80, 60]
Generated Node #0,2,1: 78:[80, 60] Operation: 28+32=60
Exploring Operation: 80-32=48, Resulting Numbers: [28, 48]
Generated Node #0,2,2: 78:[28, 48] Operation: 80-32=48
Exploring Operation: 80-28=52, Resulting Numbers: [32, 52]
Generated Node #0,2,3: 78:[32, 52] Operation: 80-28=52
Moving to Node #0,0
Current State: 78:[14, 94, 4], Operations: ['32-28=4']
Exploring Operation: 94-4=90, Resulting Numbers: [14, 90]
Generated Node #0,0,0: 78:[14, 90] Operation: 94-4=90
Exploring Operation: 14+4=18, Resulting Numbers: [94, 18]
Generated Node #0,0,1: 78:[94, 18] Operation: 14+4=18
Exploring Operation: 94-14=80, Resulting Numbers: [4, 80]
Generated Node #0,0,2: 78:[4, 80] Operation: 94-14=80
Exploring Operation: 14-4=10, Resulting Numbers: [94, 10]
Generated Node #0,0,3: 78:[94, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[4, 80], Operations: ['32-28=4', '94-14=80']
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,78 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,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,0,0
Current State: 78:[14, 90], Operations: ['32-28=4', '94-4=90']
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,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,0,3
Current State: 78:[94, 10], Operations: ['32-28=4', '14-4=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,78 unequal: No Solution
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,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,0,1
Current State: 78:[94, 18], Operations: ['32-28=4', '14+4=18']
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,78 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,78 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: 78:[14, 28, 62], Operations: ['94-32=62']
Exploring Operation: 14+62=76, Resulting Numbers: [28, 76]
Generated Node #0,3,0: 78:[28, 76] Operation: 14+62=76
Exploring Operation: 62-14=48, Resulting Numbers: [28, 48]
Generated Node #0,3,1: 78:[28, 48] Operation: 62-14=48
Exploring Operation: 62-28=34, Resulting Numbers: [14, 34]
Generated Node #0,3,2: 78:[14, 34] Operation: 62-28=34
Exploring Operation: 28+62=90, Resulting Numbers: [14, 90]
Generated Node #0,3,3: 78:[14, 90] Operation: 28+62=90
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[28, 76], Operations: ['94-32=62', '14+62=76']
Exploring Operation: 28+76=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 28*76=2128, Resulting Numbers: [2128]
2128,78 unequal: No Solution
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,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,3,2
Current State: 78:[14, 34], Operations: ['94-32=62', '62-28=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,78 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,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,3,1
Current State: 78:[28, 48], Operations: ['94-32=62', '62-14=48']
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,78 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,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,3,3
Current State: 78:[14, 90], Operations: ['94-32=62', '28+62=90']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,78 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: 78:[14, 32, 66], Operations: ['94-28=66']
Exploring Operation: 14+66=80, Resulting Numbers: [32, 80]
Generated Node #0,1,0: 78:[32, 80] Operation: 14+66=80
Exploring Operation: 14+32=46, Resulting Numbers: [66, 46]
Generated Node #0,1,1: 78:[66, 46] Operation: 14+32=46
Exploring Operation: 32-14=18, Resulting Numbers: [66, 18]
Generated Node #0,1,2: 78:[66, 18] Operation: 32-14=18
Exploring Operation: 66-32=34, Resulting Numbers: [14, 34]
Generated Node #0,1,3: 78:[14, 34] Operation: 66-32=34
Moving to Node #0,2,0
Current State: 78:[80, 4], Operations: ['94-14=80', '32-28=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,78 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[14, 34], Operations: ['94-28=66', '66-32=34']
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,78 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[32, 80], Operations: ['94-28=66', '14+66=80']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 32+80=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 32*80=2560, Resulting Numbers: [2560]
2560,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[28, 48], Operations: ['94-14=80', '80-32=48']
Exploring Operation: 28+48=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 28*48=1344, Resulting Numbers: [1344]
1344,78 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[66, 18], Operations: ['94-28=66', '32-14=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[66, 46], Operations: ['94-28=66', '14+32=46']
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,78 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[32, 52], Operations: ['94-14=80', '80-28=52']
Exploring Operation: 32*52=1664, Resulting Numbers: [1664]
1664,78 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 32+52=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[80, 60], Operations: ['94-14=80', '28+32=60']
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,78 unequal: No Solution
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,78 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,78 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
3,
42,
69
] | 74 | [
"42/21=2",
"3+69=72",
"2+72=74"
] | Current State: 74:[21, 3, 42, 69], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [3, 69, 2]
Generated Node #2: [3, 69, 2] from Operation: 42/21=2
Current State: 74:[3, 69, 2], Operations: ['42/21=2']
Exploring Operation: 3+69=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 3+69=72
Current State: 74:[2, 72], Operations: ['42/21=2', '3+69=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[21, 3, 42, 69], Operations: []
Exploring Operation: 21*3=63, Resulting Numbers: [42, 69, 63]
Generated Node #0,0: 74:[42, 69, 63] Operation: 21*3=63
Exploring Operation: 42/21=2, Resulting Numbers: [3, 69, 2]
Generated Node #0,1: 74:[3, 69, 2] Operation: 42/21=2
Exploring Operation: 21+42=63, Resulting Numbers: [3, 69, 63]
Generated Node #0,2: 74:[3, 69, 63] Operation: 21+42=63
Exploring Operation: 69-21=48, Resulting Numbers: [3, 42, 48]
Generated Node #0,3: 74:[3, 42, 48] Operation: 69-21=48
Exploring Operation: 21/3=7, Resulting Numbers: [42, 69, 7]
Generated Node #0,4: 74:[42, 69, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[3, 69, 2], Operations: ['42/21=2']
Exploring Operation: 3-2=1, Resulting Numbers: [69, 1]
Generated Node #0,1,0: 74:[69, 1] Operation: 3-2=1
Exploring Operation: 69-3=66, Resulting Numbers: [2, 66]
Generated Node #0,1,1: 74:[2, 66] Operation: 69-3=66
Exploring Operation: 3+2=5, Resulting Numbers: [69, 5]
Generated Node #0,1,2: 74:[69, 5] Operation: 3+2=5
Exploring Operation: 3+69=72, Resulting Numbers: [2, 72]
Generated Node #0,1,3: 74:[2, 72] Operation: 3+69=72
Exploring Operation: 69+2=71, Resulting Numbers: [3, 71]
Generated Node #0,1,4: 74:[3, 71] Operation: 69+2=71
Moving to Node #0,1,3
Current State: 74:[2, 72], Operations: ['42/21=2', '3+69=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[21, 3, 42, 69], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [3, 69, 2]
Generated Node #0,1: 74:[3, 69, 2] Operation: 42/21=2
Moving to Node #0,1
Current State: 74:[3, 69, 2], Operations: ['42/21=2']
Exploring Operation: 3+69=72, Resulting Numbers: [2, 72]
Generated Node #0,1,3: 74:[2, 72] Operation: 3+69=72
Moving to Node #0,1,3
Current State: 74:[2, 72], Operations: ['42/21=2', '3+69=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
26,
10,
26,
89
] | 100 | [
"26/26=1",
"10+89=99",
"1+99=100"
] | Current State: 100:[26, 10, 26, 89], Operations: []
Exploring Operation: 26/26=1, Resulting Numbers: [10, 89, 1]
Generated Node #2: [10, 89, 1] from Operation: 26/26=1
Current State: 100:[10, 89, 1], Operations: ['26/26=1']
Exploring Operation: 10+89=99, Resulting Numbers: [1, 99]
Generated Node #3: [1, 99] from Operation: 10+89=99
Current State: 100:[1, 99], Operations: ['26/26=1', '10+89=99']
Exploring Operation: 1+99=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[26, 10, 26, 89], Operations: []
Exploring Operation: 10+89=99, Resulting Numbers: [26, 26, 99]
Generated Node #0,0: 100:[26, 26, 99] Operation: 10+89=99
Exploring Operation: 26/26=1, Resulting Numbers: [10, 89, 1]
Generated Node #0,1: 100:[10, 89, 1] Operation: 26/26=1
Moving to Node #0,0
Current State: 100:[26, 26, 99], Operations: ['10+89=99']
Exploring Operation: 26+26=52, Resulting Numbers: [99, 52]
Generated Node #0,0,0: 100:[99, 52] Operation: 26+26=52
Exploring Operation: 26/26=1, Resulting Numbers: [99, 1]
Generated Node #0,0,1: 100:[99, 1] Operation: 26/26=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[99, 1], Operations: ['10+89=99', '26/26=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[26, 10, 26, 89], Operations: []
Exploring Operation: 10+89=99, Resulting Numbers: [26, 26, 99]
Generated Node #0,0: 100:[26, 26, 99] Operation: 10+89=99
Moving to Node #0,0
Current State: 100:[26, 26, 99], Operations: ['10+89=99']
Exploring Operation: 26/26=1, Resulting Numbers: [99, 1]
Generated Node #0,0,1: 100:[99, 1] Operation: 26/26=1
Moving to Node #0,0,1
Current State: 100:[99, 1], Operations: ['10+89=99', '26/26=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
6,
64,
91,
16
] | 69 | [
"6*16=96",
"91-64=27",
"96-27=69"
] | Current State: 69:[6, 64, 91, 16], Operations: []
Exploring Operation: 6*16=96, Resulting Numbers: [64, 91, 96]
Generated Node #2: [64, 91, 96] from Operation: 6*16=96
Current State: 69:[64, 91, 96], Operations: ['6*16=96']
Exploring Operation: 91-64=27, Resulting Numbers: [96, 27]
Generated Node #3: [96, 27] from Operation: 91-64=27
Current State: 69:[96, 27], Operations: ['6*16=96', '91-64=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[6, 64, 91, 16], Operations: []
Exploring Operation: 91-16=75, Resulting Numbers: [6, 64, 75]
Generated Node #0,0: 69:[6, 64, 75] Operation: 91-16=75
Exploring Operation: 64/16=4, Resulting Numbers: [6, 91, 4]
Generated Node #0,1: 69:[6, 91, 4] Operation: 64/16=4
Exploring Operation: 91-64=27, Resulting Numbers: [6, 16, 27]
Generated Node #0,2: 69:[6, 16, 27] Operation: 91-64=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[6, 64, 75], Operations: ['91-16=75']
Exploring Operation: 6+64=70, Resulting Numbers: [75, 70]
Generated Node #0,0,0: 69:[75, 70] Operation: 6+64=70
Exploring Operation: 75-64=11, Resulting Numbers: [6, 11]
Generated Node #0,0,1: 69:[6, 11] Operation: 75-64=11
Exploring Operation: 75-6=69, Resulting Numbers: [64, 69]
Generated Node #0,0,2: 69:[64, 69] Operation: 75-6=69
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[64, 69], Operations: ['91-16=75', '75-6=69']
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,69 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,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:[75, 70], Operations: ['91-16=75', '6+64=70']
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,69 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,69 unequal: No Solution
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,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,1
Current State: 69:[6, 11], Operations: ['91-16=75', '75-64=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 6+11=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,2
Current State: 69:[6, 16, 27], Operations: ['91-64=27']
Exploring Operation: 6+16=22, Resulting Numbers: [27, 22]
Generated Node #0,2,0: 69:[27, 22] Operation: 6+16=22
Exploring Operation: 27-6=21, Resulting Numbers: [16, 21]
Generated Node #0,2,1: 69:[16, 21] Operation: 27-6=21
Exploring Operation: 16-6=10, Resulting Numbers: [27, 10]
Generated Node #0,2,2: 69:[27, 10] Operation: 16-6=10
Moving to Node #0,2,0
Current State: 69:[27, 22], Operations: ['91-64=27', '6+16=22']
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[16, 21], Operations: ['91-64=27', '27-6=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,69 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[27, 10], Operations: ['91-64=27', '16-6=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,69 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,69 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: 69:[6, 91, 4], Operations: ['64/16=4']
Exploring Operation: 91-4=87, Resulting Numbers: [6, 87]
Generated Node #0,1,0: 69:[6, 87] Operation: 91-4=87
Exploring Operation: 6*4=24, Resulting Numbers: [91, 24]
Generated Node #0,1,1: 69:[91, 24] Operation: 6*4=24
Exploring Operation: 91-6=85, Resulting Numbers: [4, 85]
Generated Node #0,1,2: 69:[4, 85] Operation: 91-6=85
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 69:[4, 85], Operations: ['64/16=4', '91-6=85']
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,69 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 4*85=340, Resulting Numbers: [340]
340,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,0
Current State: 69:[6, 87], Operations: ['64/16=4', '91-4=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 6*87=522, Resulting Numbers: [522]
522,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:[91, 24], Operations: ['64/16=4', '6*4=24']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 91+24=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Exploring Operation: 91*24=2184, Resulting Numbers: [2184]
2184,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_3 | sum_heuristic |
[
28,
18,
28,
56
] | 18 | [
"28+18=46",
"56-28=28",
"46-28=18"
] | Current State: 18:[28, 18, 28, 56], Operations: []
Exploring Operation: 28+18=46, Resulting Numbers: [56, 46]
Generated Node #2: [56, 46] from Operation: 28+18=46
Current State: 18:[56, 46], Operations: ['28+18=46']
Exploring Operation: 56-28=28, Resulting Numbers: [46, 28]
Generated Node #3: [46, 28] from Operation: 56-28=28
Current State: 18:[46, 28], Operations: ['28+18=46', '56-28=28']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[28, 18, 28, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [18, 28, 2]
Generated Node #0,0: 18:[18, 28, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [18, 28, 28]
Generated Node #0,1: 18:[18, 28, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [28, 18, 2]
Generated Node #0,2: 18:[28, 18, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 18:[18, 28, 2], Operations: ['56/28=2']
Exploring Operation: 28-2=26, Resulting Numbers: [18, 26]
Generated Node #0,0,0: 18:[18, 26] Operation: 28-2=26
Exploring Operation: 28/2=14, Resulting Numbers: [18, 14]
Generated Node #0,0,1: 18:[18, 14] Operation: 28/2=14
Exploring Operation: 28-18=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 18:[2, 10] Operation: 28-18=10
Moving to Node #0,2
Current State: 18:[28, 18, 2], Operations: ['56/28=2']
Exploring Operation: 28-18=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 18:[2, 10] Operation: 28-18=10
Exploring Operation: 28/2=14, Resulting Numbers: [18, 14]
Generated Node #0,2,1: 18:[18, 14] Operation: 28/2=14
Exploring Operation: 28-2=26, Resulting Numbers: [18, 26]
Generated Node #0,2,2: 18:[18, 26] Operation: 28-2=26
Moving to Node #0,1
Current State: 18:[18, 28, 28], Operations: ['56-28=28']
Exploring Operation: 28/28=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 18:[18, 1] Operation: 28/28=1
Exploring Operation: 28-18=10, Resulting Numbers: [28, 10]
Generated Node #0,1,1: 18:[28, 10] Operation: 28-18=10
Exploring Operation: 28-28=0, Resulting Numbers: [18, 0]
Generated Node #0,1,2: 18:[18, 0] Operation: 28-28=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[18, 1], Operations: ['56-28=28', '28/28=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[28, 18, 28, 56], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [18, 28, 28]
Generated Node #0,1: 18:[18, 28, 28] Operation: 56-28=28
Moving to Node #0,1
Current State: 18:[18, 28, 28], Operations: ['56-28=28']
Exploring Operation: 28/28=1, Resulting Numbers: [18, 1]
Generated Node #0,1,0: 18:[18, 1] Operation: 28/28=1
Moving to Node #0,1,0
Current State: 18:[18, 1], Operations: ['56-28=28', '28/28=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
36,
99,
81,
62
] | 67 | [
"99+81=180",
"180/36=5",
"62+5=67"
] | Current State: 67:[36, 99, 81, 62], Operations: []
Exploring Operation: 99+81=180, Resulting Numbers: [36, 62, 180]
Generated Node #2: [36, 62, 180] from Operation: 99+81=180
Current State: 67:[36, 62, 180], Operations: ['99+81=180']
Exploring Operation: 180/36=5, Resulting Numbers: [62, 5]
Generated Node #3: [62, 5] from Operation: 180/36=5
Current State: 67:[62, 5], Operations: ['99+81=180', '180/36=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[36, 99, 81, 62], Operations: []
Exploring Operation: 36+62=98, Resulting Numbers: [99, 81, 98]
Generated Node #0,0: 67:[99, 81, 98] Operation: 36+62=98
Exploring Operation: 99-36=63, Resulting Numbers: [81, 62, 63]
Generated Node #0,1: 67:[81, 62, 63] Operation: 99-36=63
Exploring Operation: 81-36=45, Resulting Numbers: [99, 62, 45]
Generated Node #0,2: 67:[99, 62, 45] Operation: 81-36=45
Exploring Operation: 99-62=37, Resulting Numbers: [36, 81, 37]
Generated Node #0,3: 67:[36, 81, 37] Operation: 99-62=37
Moving to Node #0,1
Current State: 67:[81, 62, 63], Operations: ['99-36=63']
Exploring Operation: 62+63=125, Resulting Numbers: [81, 125]
Generated Node #0,1,0: 67:[81, 125] Operation: 62+63=125
Exploring Operation: 81+62=143, Resulting Numbers: [63, 143]
Generated Node #0,1,1: 67:[63, 143] Operation: 81+62=143
Exploring Operation: 81-63=18, Resulting Numbers: [62, 18]
Generated Node #0,1,2: 67:[62, 18] Operation: 81-63=18
Exploring Operation: 81-62=19, Resulting Numbers: [63, 19]
Generated Node #0,1,3: 67:[63, 19] Operation: 81-62=19
Moving to Node #0,2
Current State: 67:[99, 62, 45], Operations: ['81-36=45']
Exploring Operation: 99-62=37, Resulting Numbers: [45, 37]
Generated Node #0,2,0: 67:[45, 37] Operation: 99-62=37
Exploring Operation: 62+45=107, Resulting Numbers: [99, 107]
Generated Node #0,2,1: 67:[99, 107] Operation: 62+45=107
Exploring Operation: 99+45=144, Resulting Numbers: [62, 144]
Generated Node #0,2,2: 67:[62, 144] Operation: 99+45=144
Exploring Operation: 99-45=54, Resulting Numbers: [62, 54]
Generated Node #0,2,3: 67:[62, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[62, 54], Operations: ['81-36=45', '99-45=54']
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,67 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,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:[45, 37], Operations: ['81-36=45', '99-62=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,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,1
Current State: 67:[99, 107], Operations: ['81-36=45', '62+45=107']
Exploring Operation: 107-99=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 99*107=10593, Resulting Numbers: [10593]
10593,67 unequal: No Solution
Exploring Operation: 99+107=206, Resulting Numbers: [206]
206,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:[62, 144], Operations: ['81-36=45', '99+45=144']
Exploring Operation: 62*144=8928, Resulting Numbers: [8928]
8928,67 unequal: No Solution
Exploring Operation: 62+144=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 144-62=82, Resulting Numbers: [82]
82,67 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: 67:[36, 81, 37], Operations: ['99-62=37']
Exploring Operation: 36+37=73, Resulting Numbers: [81, 73]
Generated Node #0,3,0: 67:[81, 73] Operation: 36+37=73
Exploring Operation: 81-37=44, Resulting Numbers: [36, 44]
Generated Node #0,3,1: 67:[36, 44] Operation: 81-37=44
Exploring Operation: 36+81=117, Resulting Numbers: [37, 117]
Generated Node #0,3,2: 67:[37, 117] Operation: 36+81=117
Exploring Operation: 81-36=45, Resulting Numbers: [37, 45]
Generated Node #0,3,3: 67:[37, 45] Operation: 81-36=45
Moving to Node #0,0
Current State: 67:[99, 81, 98], Operations: ['36+62=98']
Exploring Operation: 99-81=18, Resulting Numbers: [98, 18]
Generated Node #0,0,0: 67:[98, 18] Operation: 99-81=18
Exploring Operation: 99-98=1, Resulting Numbers: [81, 1]
Generated Node #0,0,1: 67:[81, 1] Operation: 99-98=1
Exploring Operation: 99+81=180, Resulting Numbers: [98, 180]
Generated Node #0,0,2: 67:[98, 180] Operation: 99+81=180
Exploring Operation: 98-81=17, Resulting Numbers: [99, 17]
Generated Node #0,0,3: 67:[99, 17] Operation: 98-81=17
Moving to Node #0,3,0
Current State: 67:[81, 73], Operations: ['99-62=37', '36+37=73']
Exploring Operation: 81*73=5913, Resulting Numbers: [5913]
5913,67 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 81+73=154, Resulting Numbers: [154]
154,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[37, 45], Operations: ['99-62=37', '81-36=45']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,67 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[63, 19], Operations: ['99-36=63', '81-62=19']
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,67 unequal: No Solution
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[36, 44], Operations: ['99-62=37', '81-37=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[62, 18], Operations: ['99-36=63', '81-63=18']
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[81, 125], Operations: ['99-36=63', '62+63=125']
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 81*125=10125, Resulting Numbers: [10125]
10125,67 unequal: No Solution
Exploring Operation: 81+125=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[37, 117], Operations: ['99-62=37', '36+81=117']
Exploring Operation: 117-37=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 37*117=4329, Resulting Numbers: [4329]
4329,67 unequal: No Solution
Exploring Operation: 37+117=154, Resulting Numbers: [154]
154,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[81, 1], Operations: ['36+62=98', '99-98=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,67 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[98, 18], Operations: ['36+62=98', '99-81=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[63, 143], Operations: ['99-36=63', '81+62=143']
Exploring Operation: 63+143=206, Resulting Numbers: [206]
206,67 unequal: No Solution
Exploring Operation: 63*143=9009, Resulting Numbers: [9009]
9009,67 unequal: No Solution
Exploring Operation: 143-63=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[99, 17], Operations: ['36+62=98', '98-81=17']
Exploring Operation: 99*17=1683, Resulting Numbers: [1683]
1683,67 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 99+17=116, Resulting Numbers: [116]
116,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[98, 180], Operations: ['36+62=98', '99+81=180']
Exploring Operation: 180-98=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 98*180=17640, Resulting Numbers: [17640]
17640,67 unequal: No Solution
Exploring Operation: 98+180=278, Resulting Numbers: [278]
278,67 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
21,
67,
86
] | 51 | [
"11+21=32",
"86-67=19",
"32+19=51"
] | Current State: 51:[11, 21, 67, 86], Operations: []
Exploring Operation: 11+21=32, Resulting Numbers: [67, 86, 32]
Generated Node #2: [67, 86, 32] from Operation: 11+21=32
Current State: 51:[67, 86, 32], Operations: ['11+21=32']
Exploring Operation: 86-67=19, Resulting Numbers: [32, 19]
Generated Node #3: [32, 19] from Operation: 86-67=19
Current State: 51:[32, 19], Operations: ['11+21=32', '86-67=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[11, 21, 67, 86], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [11, 21, 19]
Generated Node #0,0: 51:[11, 21, 19] Operation: 86-67=19
Moving to Node #0,0
Current State: 51:[11, 21, 19], Operations: ['86-67=19']
Exploring Operation: 21-19=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 51:[11, 2] Operation: 21-19=2
Moving to Node #0,0,0
Current State: 51:[11, 2], Operations: ['86-67=19', '21-19=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
72,
14,
93
] | 83 | [
"96-72=24",
"14+93=107",
"107-24=83"
] | Current State: 83:[96, 72, 14, 93], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [14, 93, 24]
Generated Node #2: [14, 93, 24] from Operation: 96-72=24
Current State: 83:[14, 93, 24], Operations: ['96-72=24']
Exploring Operation: 14+93=107, Resulting Numbers: [24, 107]
Generated Node #3: [24, 107] from Operation: 14+93=107
Current State: 83:[24, 107], Operations: ['96-72=24', '14+93=107']
Exploring Operation: 107-24=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 72, 14, 93], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [96, 72, 79]
Generated Node #0,0: 83:[96, 72, 79] Operation: 93-14=79
Exploring Operation: 96+14=110, Resulting Numbers: [72, 93, 110]
Generated Node #0,1: 83:[72, 93, 110] Operation: 96+14=110
Exploring Operation: 72+14=86, Resulting Numbers: [96, 93, 86]
Generated Node #0,2: 83:[96, 93, 86] Operation: 72+14=86
Exploring Operation: 96-14=82, Resulting Numbers: [72, 93, 82]
Generated Node #0,3: 83:[72, 93, 82] Operation: 96-14=82
Moving to Node #0,3
Current State: 83:[72, 93, 82], Operations: ['96-14=82']
Exploring Operation: 72+82=154, Resulting Numbers: [93, 154]
Generated Node #0,3,0: 83:[93, 154] Operation: 72+82=154
Exploring Operation: 72+93=165, Resulting Numbers: [82, 165]
Generated Node #0,3,1: 83:[82, 165] Operation: 72+93=165
Exploring Operation: 82-72=10, Resulting Numbers: [93, 10]
Generated Node #0,3,2: 83:[93, 10] Operation: 82-72=10
Exploring Operation: 93-72=21, Resulting Numbers: [82, 21]
Generated Node #0,3,3: 83:[82, 21] Operation: 93-72=21
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[82, 21], Operations: ['96-14=82', '93-72=21']
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,83 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,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,3,0
Current State: 83:[93, 154], Operations: ['96-14=82', '72+82=154']
Exploring Operation: 93+154=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 93*154=14322, Resulting Numbers: [14322]
14322,83 unequal: No Solution
Exploring Operation: 154-93=61, Resulting Numbers: [61]
61,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,3,1
Current State: 83:[82, 165], Operations: ['96-14=82', '72+93=165']
Exploring Operation: 82+165=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 82*165=13530, Resulting Numbers: [13530]
13530,83 unequal: No Solution
Exploring Operation: 165-82=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[96, 72, 14, 93], Operations: []
Exploring Operation: 96-14=82, Resulting Numbers: [72, 93, 82]
Generated Node #0,3: 83:[72, 93, 82] Operation: 96-14=82
Moving to Node #0,3
Current State: 83:[72, 93, 82], Operations: ['96-14=82']
Exploring Operation: 72+93=165, Resulting Numbers: [82, 165]
Generated Node #0,3,1: 83:[82, 165] Operation: 72+93=165
Moving to Node #0,3,1
Current State: 83:[82, 165], Operations: ['96-14=82', '72+93=165']
Exploring Operation: 165-82=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
11,
22,
25,
60
] | 52 | [
"11+22=33",
"25+60=85",
"85-33=52"
] | Current State: 52:[11, 22, 25, 60], Operations: []
Exploring Operation: 11+22=33, Resulting Numbers: [25, 60, 33]
Generated Node #2: [25, 60, 33] from Operation: 11+22=33
Current State: 52:[25, 60, 33], Operations: ['11+22=33']
Exploring Operation: 25+60=85, Resulting Numbers: [33, 85]
Generated Node #3: [33, 85] from Operation: 25+60=85
Current State: 52:[33, 85], Operations: ['11+22=33', '25+60=85']
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[11, 22, 25, 60], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [22, 25, 49]
Generated Node #0,0: 52:[22, 25, 49] Operation: 60-11=49
Moving to Node #0,0
Current State: 52:[22, 25, 49], Operations: ['60-11=49']
Exploring Operation: 49-22=27, Resulting Numbers: [25, 27]
Generated Node #0,0,0: 52:[25, 27] Operation: 49-22=27
Moving to Node #0,0,0
Current State: 52:[25, 27], Operations: ['60-11=49', '49-22=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[11, 22, 25, 60], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [22, 25, 49]
Generated Node #0,0: 52:[22, 25, 49] Operation: 60-11=49
Moving to Node #0,0
Current State: 52:[22, 25, 49], Operations: ['60-11=49']
Exploring Operation: 49-22=27, Resulting Numbers: [25, 27]
Generated Node #0,0,0: 52:[25, 27] Operation: 49-22=27
Moving to Node #0,0,0
Current State: 52:[25, 27], Operations: ['60-11=49', '49-22=27']
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
58,
3,
34,
8
] | 44 | [
"34+8=42",
"42/3=14",
"58-14=44"
] | Current State: 44:[58, 3, 34, 8], Operations: []
Exploring Operation: 34+8=42, Resulting Numbers: [58, 3, 42]
Generated Node #2: [58, 3, 42] from Operation: 34+8=42
Current State: 44:[58, 3, 42], Operations: ['34+8=42']
Exploring Operation: 42/3=14, Resulting Numbers: [58, 14]
Generated Node #3: [58, 14] from Operation: 42/3=14
Current State: 44:[58, 14], Operations: ['34+8=42', '42/3=14']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[58, 3, 34, 8], Operations: []
Exploring Operation: 58-34=24, Resulting Numbers: [3, 8, 24]
Generated Node #0,0: 44:[3, 8, 24] Operation: 58-34=24
Exploring Operation: 58-8=50, Resulting Numbers: [3, 34, 50]
Generated Node #0,1: 44:[3, 34, 50] Operation: 58-8=50
Moving to Node #0,0
Current State: 44:[3, 8, 24], Operations: ['58-34=24']
Exploring Operation: 3+8=11, Resulting Numbers: [24, 11]
Generated Node #0,0,0: 44:[24, 11] Operation: 3+8=11
Exploring Operation: 24/8=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 44:[3, 3] Operation: 24/8=3
Moving to Node #0,1
Current State: 44:[3, 34, 50], Operations: ['58-8=50']
Exploring Operation: 3+34=37, Resulting Numbers: [50, 37]
Generated Node #0,1,0: 44:[50, 37] Operation: 3+34=37
Exploring Operation: 50-34=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 44:[3, 16] Operation: 50-34=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[3, 16], Operations: ['58-8=50', '50-34=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,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,0
Current State: 44:[50, 37], Operations: ['58-8=50', '3+34=37']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,44 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: 44:[24, 11], Operations: ['58-34=24', '3+8=11']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,44 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[3, 3], Operations: ['58-34=24', '24/8=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
30,
43,
12
] | 49 | [
"50+30=80",
"43-12=31",
"80-31=49"
] | Current State: 49:[50, 30, 43, 12], Operations: []
Exploring Operation: 50+30=80, Resulting Numbers: [43, 12, 80]
Generated Node #2: [43, 12, 80] from Operation: 50+30=80
Current State: 49:[43, 12, 80], Operations: ['50+30=80']
Exploring Operation: 43-12=31, Resulting Numbers: [80, 31]
Generated Node #3: [80, 31] from Operation: 43-12=31
Current State: 49:[80, 31], Operations: ['50+30=80', '43-12=31']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[50, 30, 43, 12], Operations: []
Exploring Operation: 30+12=42, Resulting Numbers: [50, 43, 42]
Generated Node #0,0: 49:[50, 43, 42] Operation: 30+12=42
Exploring Operation: 30-12=18, Resulting Numbers: [50, 43, 18]
Generated Node #0,1: 49:[50, 43, 18] Operation: 30-12=18
Exploring Operation: 43-30=13, Resulting Numbers: [50, 12, 13]
Generated Node #0,2: 49:[50, 12, 13] Operation: 43-30=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[50, 12, 13], Operations: ['43-30=13']
Exploring Operation: 50-12=38, Resulting Numbers: [13, 38]
Generated Node #0,2,0: 49:[13, 38] Operation: 50-12=38
Exploring Operation: 13-12=1, Resulting Numbers: [50, 1]
Generated Node #0,2,1: 49:[50, 1] Operation: 13-12=1
Exploring Operation: 50-13=37, Resulting Numbers: [12, 37]
Generated Node #0,2,2: 49:[12, 37] Operation: 50-13=37
Moving to Node #0,2,1
Current State: 49:[50, 1], Operations: ['43-30=13', '13-12=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[50, 30, 43, 12], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [50, 12, 13]
Generated Node #0,2: 49:[50, 12, 13] Operation: 43-30=13
Moving to Node #0,2
Current State: 49:[50, 12, 13], Operations: ['43-30=13']
Exploring Operation: 13-12=1, Resulting Numbers: [50, 1]
Generated Node #0,2,1: 49:[50, 1] Operation: 13-12=1
Moving to Node #0,2,1
Current State: 49:[50, 1], Operations: ['43-30=13', '13-12=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
11,
23,
60,
92
] | 53 | [
"60-11=49",
"92/23=4",
"49+4=53"
] | Current State: 53:[11, 23, 60, 92], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [23, 92, 49]
Generated Node #2: [23, 92, 49] from Operation: 60-11=49
Current State: 53:[23, 92, 49], Operations: ['60-11=49']
Exploring Operation: 92/23=4, Resulting Numbers: [49, 4]
Generated Node #3: [49, 4] from Operation: 92/23=4
Current State: 53:[49, 4], Operations: ['60-11=49', '92/23=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[11, 23, 60, 92], Operations: []
Exploring Operation: 11+23=34, Resulting Numbers: [60, 92, 34]
Generated Node #0,0: 53:[60, 92, 34] Operation: 11+23=34
Exploring Operation: 23-11=12, Resulting Numbers: [60, 92, 12]
Generated Node #0,1: 53:[60, 92, 12] Operation: 23-11=12
Exploring Operation: 92-11=81, Resulting Numbers: [23, 60, 81]
Generated Node #0,2: 53:[23, 60, 81] Operation: 92-11=81
Exploring Operation: 60-11=49, Resulting Numbers: [23, 92, 49]
Generated Node #0,3: 53:[23, 92, 49] Operation: 60-11=49
Exploring Operation: 92-23=69, Resulting Numbers: [11, 60, 69]
Generated Node #0,4: 53:[11, 60, 69] Operation: 92-23=69
Moving to Node #0,0
Current State: 53:[60, 92, 34], Operations: ['11+23=34']
Exploring Operation: 60-34=26, Resulting Numbers: [92, 26]
Generated Node #0,0,0: 53:[92, 26] Operation: 60-34=26
Exploring Operation: 92-34=58, Resulting Numbers: [60, 58]
Generated Node #0,0,1: 53:[60, 58] Operation: 92-34=58
Exploring Operation: 92+34=126, Resulting Numbers: [60, 126]
Generated Node #0,0,2: 53:[60, 126] Operation: 92+34=126
Exploring Operation: 92-60=32, Resulting Numbers: [34, 32]
Generated Node #0,0,3: 53:[34, 32] Operation: 92-60=32
Exploring Operation: 60+34=94, Resulting Numbers: [92, 94]
Generated Node #0,0,4: 53:[92, 94] Operation: 60+34=94
Moving to Node #0,4
Current State: 53:[11, 60, 69], Operations: ['92-23=69']
Exploring Operation: 69-11=58, Resulting Numbers: [60, 58]
Generated Node #0,4,0: 53:[60, 58] Operation: 69-11=58
Exploring Operation: 11+60=71, Resulting Numbers: [69, 71]
Generated Node #0,4,1: 53:[69, 71] Operation: 11+60=71
Exploring Operation: 11+69=80, Resulting Numbers: [60, 80]
Generated Node #0,4,2: 53:[60, 80] Operation: 11+69=80
Exploring Operation: 60-11=49, Resulting Numbers: [69, 49]
Generated Node #0,4,3: 53:[69, 49] Operation: 60-11=49
Exploring Operation: 69-60=9, Resulting Numbers: [11, 9]
Generated Node #0,4,4: 53:[11, 9] Operation: 69-60=9
Moving to Node #0,2
Current State: 53:[23, 60, 81], Operations: ['92-11=81']
Exploring Operation: 23+60=83, Resulting Numbers: [81, 83]
Generated Node #0,2,0: 53:[81, 83] Operation: 23+60=83
Exploring Operation: 60-23=37, Resulting Numbers: [81, 37]
Generated Node #0,2,1: 53:[81, 37] Operation: 60-23=37
Exploring Operation: 81-60=21, Resulting Numbers: [23, 21]
Generated Node #0,2,2: 53:[23, 21] Operation: 81-60=21
Exploring Operation: 23+81=104, Resulting Numbers: [60, 104]
Generated Node #0,2,3: 53:[60, 104] Operation: 23+81=104
Exploring Operation: 81-23=58, Resulting Numbers: [60, 58]
Generated Node #0,2,4: 53:[60, 58] Operation: 81-23=58
Moving to Node #0,3
Current State: 53:[23, 92, 49], Operations: ['60-11=49']
Exploring Operation: 92-49=43, Resulting Numbers: [23, 43]
Generated Node #0,3,0: 53:[23, 43] Operation: 92-49=43
Exploring Operation: 23+49=72, Resulting Numbers: [92, 72]
Generated Node #0,3,1: 53:[92, 72] Operation: 23+49=72
Exploring Operation: 92/23=4, Resulting Numbers: [49, 4]
Generated Node #0,3,2: 53:[49, 4] Operation: 92/23=4
Exploring Operation: 92-23=69, Resulting Numbers: [49, 69]
Generated Node #0,3,3: 53:[49, 69] Operation: 92-23=69
Exploring Operation: 23+92=115, Resulting Numbers: [49, 115]
Generated Node #0,3,4: 53:[49, 115] Operation: 23+92=115
Moving to Node #0,1
Current State: 53:[60, 92, 12], Operations: ['23-11=12']
Exploring Operation: 92+12=104, Resulting Numbers: [60, 104]
Generated Node #0,1,0: 53:[60, 104] Operation: 92+12=104
Exploring Operation: 60-12=48, Resulting Numbers: [92, 48]
Generated Node #0,1,1: 53:[92, 48] Operation: 60-12=48
Exploring Operation: 92-60=32, Resulting Numbers: [12, 32]
Generated Node #0,1,2: 53:[12, 32] Operation: 92-60=32
Exploring Operation: 92-12=80, Resulting Numbers: [60, 80]
Generated Node #0,1,3: 53:[60, 80] Operation: 92-12=80
Exploring Operation: 60+12=72, Resulting Numbers: [92, 72]
Generated Node #0,1,4: 53:[92, 72] Operation: 60+12=72
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[60, 80], Operations: ['23-11=12', '92-12=80']
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,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:[92, 48], Operations: ['23-11=12', '60-12=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 92*48=4416, Resulting Numbers: [4416]
4416,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:[60, 104], Operations: ['23-11=12', '92+12=104']
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 60*104=6240, Resulting Numbers: [6240]
6240,53 unequal: No Solution
Exploring Operation: 60+104=164, Resulting Numbers: [164]
164,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:[92, 72], Operations: ['23-11=12', '60+12=72']
Exploring Operation: 92+72=164, Resulting Numbers: [164]
164,53 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 92*72=6624, Resulting Numbers: [6624]
6624,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,2
Current State: 53:[12, 32], Operations: ['23-11=12', '92-60=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,53 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,53 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: 53:[60, 58], Operations: ['11+23=34', '92-34=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[60, 58], Operations: ['92-23=69', '69-11=58']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[60, 58], Operations: ['92-11=81', '81-23=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[69, 49], Operations: ['92-23=69', '60-11=49']
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,53 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[49, 69], Operations: ['60-11=49', '92-23=69']
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,53 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[69, 71], Operations: ['92-23=69', '11+60=71']
Exploring Operation: 71-69=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 69+71=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 69*71=4899, Resulting Numbers: [4899]
4899,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[60, 80], Operations: ['92-23=69', '11+69=80']
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,53 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[34, 32], Operations: ['11+23=34', '92-60=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[23, 43], Operations: ['60-11=49', '92-49=43']
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,53 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[81, 37], Operations: ['92-11=81', '60-23=37']
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,53 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[49, 4], Operations: ['60-11=49', '92/23=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,53 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[11, 23, 60, 92], Operations: []
Exploring Operation: 60-11=49, Resulting Numbers: [23, 92, 49]
Generated Node #0,3: 53:[23, 92, 49] Operation: 60-11=49
Moving to Node #0,3
Current State: 53:[23, 92, 49], Operations: ['60-11=49']
Exploring Operation: 92/23=4, Resulting Numbers: [49, 4]
Generated Node #0,3,2: 53:[49, 4] Operation: 92/23=4
Moving to Node #0,3,2
Current State: 53:[49, 4], Operations: ['60-11=49', '92/23=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.928819 | hs_5 | mult_heuristic |
[
77,
79,
2,
31
] | 25 | [
"77+31=108",
"108/2=54",
"79-54=25"
] | Current State: 25:[77, 79, 2, 31], Operations: []
Exploring Operation: 77+31=108, Resulting Numbers: [79, 2, 108]
Generated Node #2: [79, 2, 108] from Operation: 77+31=108
Current State: 25:[79, 2, 108], Operations: ['77+31=108']
Exploring Operation: 108/2=54, Resulting Numbers: [79, 54]
Generated Node #3: [79, 54] from Operation: 108/2=54
Current State: 25:[79, 54], Operations: ['77+31=108', '108/2=54']
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[77, 79, 2, 31], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [2, 31, 2]
Generated Node #0,0: 25:[2, 31, 2] Operation: 79-77=2
Exploring Operation: 77-2=75, Resulting Numbers: [79, 31, 75]
Generated Node #0,1: 25:[79, 31, 75] Operation: 77-2=75
Exploring Operation: 77-31=46, Resulting Numbers: [79, 2, 46]
Generated Node #0,2: 25:[79, 2, 46] Operation: 77-31=46
Exploring Operation: 79-31=48, Resulting Numbers: [77, 2, 48]
Generated Node #0,3: 25:[77, 2, 48] Operation: 79-31=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[2, 31, 2], Operations: ['79-77=2']
Exploring Operation: 31-2=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 25:[2, 29] Operation: 31-2=29
Exploring Operation: 2+2=4, Resulting Numbers: [31, 4]
Generated Node #0,0,1: 25:[31, 4] Operation: 2+2=4
Exploring Operation: 31-2=29, Resulting Numbers: [2, 29]
Generated Node #0,0,2: 25:[2, 29] Operation: 31-2=29
Exploring Operation: 2*2=4, Resulting Numbers: [31, 4]
Generated Node #0,0,3: 25:[31, 4] Operation: 2*2=4
Moving to Node #0,0,0
Current State: 25:[2, 29], Operations: ['79-77=2', '31-2=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[2, 29], Operations: ['79-77=2', '31-2=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[31, 4], Operations: ['79-77=2', '2+2=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,25 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[31, 4], Operations: ['79-77=2', '2*2=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,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
Current State: 25:[79, 2, 46], Operations: ['77-31=46']
Exploring Operation: 79-2=77, Resulting Numbers: [46, 77]
Generated Node #0,2,0: 25:[46, 77] Operation: 79-2=77
Exploring Operation: 46-2=44, Resulting Numbers: [79, 44]
Generated Node #0,2,1: 25:[79, 44] Operation: 46-2=44
Exploring Operation: 79-46=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 25:[2, 33] Operation: 79-46=33
Exploring Operation: 46/2=23, Resulting Numbers: [79, 23]
Generated Node #0,2,3: 25:[79, 23] Operation: 46/2=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[2, 33], Operations: ['77-31=46', '79-46=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,25 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: 25:[79, 23], Operations: ['77-31=46', '46/2=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,25 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,25 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: 25:[46, 77], Operations: ['77-31=46', '79-2=77']
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,25 unequal: No Solution
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,25 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,25 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: 25:[79, 44], Operations: ['77-31=46', '46-2=44']
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,25 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 79*44=3476, Resulting Numbers: [3476]
3476,25 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: 25:[77, 2, 48], Operations: ['79-31=48']
Exploring Operation: 77-2=75, Resulting Numbers: [48, 75]
Generated Node #0,3,0: 25:[48, 75] Operation: 77-2=75
Exploring Operation: 48/2=24, Resulting Numbers: [77, 24]
Generated Node #0,3,1: 25:[77, 24] Operation: 48/2=24
Exploring Operation: 77-48=29, Resulting Numbers: [2, 29]
Generated Node #0,3,2: 25:[2, 29] Operation: 77-48=29
Exploring Operation: 48-2=46, Resulting Numbers: [77, 46]
Generated Node #0,3,3: 25:[77, 46] Operation: 48-2=46
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[2, 29], Operations: ['79-31=48', '77-48=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,25 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: 25:[77, 24], Operations: ['79-31=48', '48/2=24']
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,25 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,25 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: 25:[48, 75], Operations: ['79-31=48', '77-2=75']
Exploring Operation: 48*75=3600, Resulting Numbers: [3600]
3600,25 unequal: No Solution
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,25 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,25 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: 25:[77, 46], Operations: ['79-31=48', '48-2=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,25 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,25 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: 25:[79, 31, 75], Operations: ['77-2=75']
Exploring Operation: 79-31=48, Resulting Numbers: [75, 48]
Generated Node #0,1,0: 25:[75, 48] Operation: 79-31=48
Exploring Operation: 79-75=4, Resulting Numbers: [31, 4]
Generated Node #0,1,1: 25:[31, 4] Operation: 79-75=4
Exploring Operation: 75-31=44, Resulting Numbers: [79, 44]
Generated Node #0,1,2: 25:[79, 44] Operation: 75-31=44
Exploring Operation: 79+31=110, Resulting Numbers: [75, 110]
Generated Node #0,1,3: 25:[75, 110] Operation: 79+31=110
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[31, 4], Operations: ['77-2=75', '79-75=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,25 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,25 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: 25:[75, 48], Operations: ['77-2=75', '79-31=48']
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 75*48=3600, Resulting Numbers: [3600]
3600,25 unequal: No Solution
Exploring Operation: 75+48=123, Resulting Numbers: [123]
123,25 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: 25:[79, 44], Operations: ['77-2=75', '75-31=44']
Exploring Operation: 79*44=3476, Resulting Numbers: [3476]
3476,25 unequal: No Solution
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,25 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,25 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: 25:[75, 110], Operations: ['77-2=75', '79+31=110']
Exploring Operation: 75+110=185, Resulting Numbers: [185]
185,25 unequal: No Solution
Exploring Operation: 75*110=8250, Resulting Numbers: [8250]
8250,25 unequal: No Solution
Exploring Operation: 110-75=35, Resulting Numbers: [35]
35,25 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 |
[
15,
30,
17,
14
] | 29 | [
"30/15=2",
"17+14=31",
"31-2=29"
] | Current State: 29:[15, 30, 17, 14], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [17, 14, 2]
Generated Node #2: [17, 14, 2] from Operation: 30/15=2
Current State: 29:[17, 14, 2], Operations: ['30/15=2']
Exploring Operation: 17+14=31, Resulting Numbers: [2, 31]
Generated Node #3: [2, 31] from Operation: 17+14=31
Current State: 29:[2, 31], Operations: ['30/15=2', '17+14=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[15, 30, 17, 14], Operations: []
Exploring Operation: 17+14=31, Resulting Numbers: [15, 30, 31]
Generated Node #0,0: 29:[15, 30, 31] Operation: 17+14=31
Exploring Operation: 15+14=29, Resulting Numbers: [30, 17, 29]
Generated Node #0,1: 29:[30, 17, 29] Operation: 15+14=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[30, 17, 29], Operations: ['15+14=29']
Exploring Operation: 30+17=47, Resulting Numbers: [29, 47]
Generated Node #0,1,0: 29:[29, 47] Operation: 30+17=47
Exploring Operation: 30-17=13, Resulting Numbers: [29, 13]
Generated Node #0,1,1: 29:[29, 13] Operation: 30-17=13
Moving to Node #0,1,1
Current State: 29:[29, 13], Operations: ['15+14=29', '30-17=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[29, 47], Operations: ['15+14=29', '30+17=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,29 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: 29:[15, 30, 31], Operations: ['17+14=31']
Exploring Operation: 30-15=15, Resulting Numbers: [31, 15]
Generated Node #0,0,0: 29:[31, 15] Operation: 30-15=15
Exploring Operation: 31-15=16, Resulting Numbers: [30, 16]
Generated Node #0,0,1: 29:[30, 16] Operation: 31-15=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[30, 16], Operations: ['17+14=31', '31-15=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,29 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: 29:[31, 15], Operations: ['17+14=31', '30-15=15']
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,29 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 |
[
55,
72,
17,
12
] | 77 | [
"55+72=127",
"17*12=204",
"204-127=77"
] | Current State: 77:[55, 72, 17, 12], Operations: []
Exploring Operation: 55+72=127, Resulting Numbers: [17, 12, 127]
Generated Node #2: [17, 12, 127] from Operation: 55+72=127
Current State: 77:[17, 12, 127], Operations: ['55+72=127']
Exploring Operation: 17*12=204, Resulting Numbers: [127, 204]
Generated Node #3: [127, 204] from Operation: 17*12=204
Current State: 77:[127, 204], Operations: ['55+72=127', '17*12=204']
Exploring Operation: 204-127=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[55, 72, 17, 12], Operations: []
Exploring Operation: 55+17=72, Resulting Numbers: [72, 12, 72]
Generated Node #0,0: 77:[72, 12, 72] Operation: 55+17=72
Exploring Operation: 72-55=17, Resulting Numbers: [17, 12, 17]
Generated Node #0,1: 77:[17, 12, 17] Operation: 72-55=17
Exploring Operation: 55+12=67, Resulting Numbers: [72, 17, 67]
Generated Node #0,2: 77:[72, 17, 67] Operation: 55+12=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[72, 12, 72], Operations: ['55+17=72']
Exploring Operation: 72/72=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 77:[12, 1] Operation: 72/72=1
Exploring Operation: 72/12=6, Resulting Numbers: [72, 6]
Generated Node #0,0,1: 77:[72, 6] Operation: 72/12=6
Exploring Operation: 72/12=6, Resulting Numbers: [72, 6]
Generated Node #0,0,2: 77:[72, 6] Operation: 72/12=6
Moving to Node #0,0,1
Current State: 77:[72, 6], Operations: ['55+17=72', '72/12=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[72, 6], Operations: ['55+17=72', '72/12=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[12, 1], Operations: ['55+17=72', '72/72=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,77 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: 77:[17, 12, 17], Operations: ['72-55=17']
Exploring Operation: 17/17=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 77:[12, 1] Operation: 17/17=1
Exploring Operation: 17-12=5, Resulting Numbers: [17, 5]
Generated Node #0,1,1: 77:[17, 5] Operation: 17-12=5
Exploring Operation: 17-17=0, Resulting Numbers: [12, 0]
Generated Node #0,1,2: 77:[12, 0] Operation: 17-17=0
Moving to Node #0,1,0
Current State: 77:[12, 1], Operations: ['72-55=17', '17/17=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[17, 5], Operations: ['72-55=17', '17-12=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[12, 0], Operations: ['72-55=17', '17-17=0']
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,77 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: 77:[72, 17, 67], Operations: ['55+12=67']
Exploring Operation: 72-67=5, Resulting Numbers: [17, 5]
Generated Node #0,2,0: 77:[17, 5] Operation: 72-67=5
Exploring Operation: 72+17=89, Resulting Numbers: [67, 89]
Generated Node #0,2,1: 77:[67, 89] Operation: 72+17=89
Exploring Operation: 17+67=84, Resulting Numbers: [72, 84]
Generated Node #0,2,2: 77:[72, 84] Operation: 17+67=84
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[17, 5], Operations: ['55+12=67', '72-67=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,77 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: 77:[72, 84], Operations: ['55+12=67', '17+67=84']
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 72+84=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 72*84=6048, Resulting Numbers: [6048]
6048,77 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: 77:[67, 89], Operations: ['55+12=67', '72+17=89']
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 67*89=5963, Resulting Numbers: [5963]
5963,77 unequal: No Solution
Exploring Operation: 67+89=156, Resulting Numbers: [156]
156,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_3 | mult_heuristic |
[
21,
4,
91,
4
] | 71 | [
"91-21=70",
"4/4=1",
"70+1=71"
] | Current State: 71:[21, 4, 91, 4], Operations: []
Exploring Operation: 91-21=70, Resulting Numbers: [4, 4, 70]
Generated Node #2: [4, 4, 70] from Operation: 91-21=70
Current State: 71:[4, 4, 70], Operations: ['91-21=70']
Exploring Operation: 4/4=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 4/4=1
Current State: 71:[70, 1], Operations: ['91-21=70', '4/4=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[21, 4, 91, 4], Operations: []
Exploring Operation: 21*4=84, Resulting Numbers: [91, 4, 84]
Generated Node #0,0: 71:[91, 4, 84] Operation: 21*4=84
Exploring Operation: 21*4=84, Resulting Numbers: [4, 91, 84]
Generated Node #0,1: 71:[4, 91, 84] Operation: 21*4=84
Exploring Operation: 21+4=25, Resulting Numbers: [91, 4, 25]
Generated Node #0,2: 71:[91, 4, 25] Operation: 21+4=25
Exploring Operation: 4*4=16, Resulting Numbers: [21, 91, 16]
Generated Node #0,3: 71:[21, 91, 16] Operation: 4*4=16
Moving to Node #0,0
Current State: 71:[91, 4, 84], Operations: ['21*4=84']
Exploring Operation: 91+4=95, Resulting Numbers: [84, 95]
Generated Node #0,0,0: 71:[84, 95] Operation: 91+4=95
Exploring Operation: 84-4=80, Resulting Numbers: [91, 80]
Generated Node #0,0,1: 71:[91, 80] Operation: 84-4=80
Exploring Operation: 91-4=87, Resulting Numbers: [84, 87]
Generated Node #0,0,2: 71:[84, 87] Operation: 91-4=87
Exploring Operation: 4+84=88, Resulting Numbers: [91, 88]
Generated Node #0,0,3: 71:[91, 88] Operation: 4+84=88
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[91, 80], Operations: ['21*4=84', '84-4=80']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,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,2
Current State: 71:[84, 87], Operations: ['21*4=84', '91-4=87']
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 84*87=7308, Resulting Numbers: [7308]
7308,71 unequal: No Solution
Exploring Operation: 84+87=171, Resulting Numbers: [171]
171,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:[84, 95], Operations: ['21*4=84', '91+4=95']
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,71 unequal: No Solution
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,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,3
Current State: 71:[91, 88], Operations: ['21*4=84', '4+84=88']
Exploring Operation: 91+88=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 91*88=8008, Resulting Numbers: [8008]
8008,71 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,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:[4, 91, 84], Operations: ['21*4=84']
Exploring Operation: 84-4=80, Resulting Numbers: [91, 80]
Generated Node #0,1,0: 71:[91, 80] Operation: 84-4=80
Exploring Operation: 4+84=88, Resulting Numbers: [91, 88]
Generated Node #0,1,1: 71:[91, 88] Operation: 4+84=88
Exploring Operation: 4+91=95, Resulting Numbers: [84, 95]
Generated Node #0,1,2: 71:[84, 95] Operation: 4+91=95
Exploring Operation: 91-4=87, Resulting Numbers: [84, 87]
Generated Node #0,1,3: 71:[84, 87] Operation: 91-4=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[91, 80], Operations: ['21*4=84', '84-4=80']
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,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,3
Current State: 71:[84, 87], Operations: ['21*4=84', '91-4=87']
Exploring Operation: 87-84=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 84*87=7308, Resulting Numbers: [7308]
7308,71 unequal: No Solution
Exploring Operation: 84+87=171, Resulting Numbers: [171]
171,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,1
Current State: 71:[91, 88], Operations: ['21*4=84', '4+84=88']
Exploring Operation: 91*88=8008, Resulting Numbers: [8008]
8008,71 unequal: No Solution
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 91+88=179, Resulting Numbers: [179]
179,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,2
Current State: 71:[84, 95], Operations: ['21*4=84', '4+91=95']
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,71 unequal: No Solution
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,71 unequal: No Solution
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,71 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: 71:[21, 91, 16], Operations: ['4*4=16']
Exploring Operation: 91-21=70, Resulting Numbers: [16, 70]
Generated Node #0,3,0: 71:[16, 70] Operation: 91-21=70
Exploring Operation: 21+16=37, Resulting Numbers: [91, 37]
Generated Node #0,3,1: 71:[91, 37] Operation: 21+16=37
Exploring Operation: 21-16=5, Resulting Numbers: [91, 5]
Generated Node #0,3,2: 71:[91, 5] Operation: 21-16=5
Exploring Operation: 91-16=75, Resulting Numbers: [21, 75]
Generated Node #0,3,3: 71:[21, 75] Operation: 91-16=75
Moving to Node #0,2
Current State: 71:[91, 4, 25], Operations: ['21+4=25']
Exploring Operation: 91+4=95, Resulting Numbers: [25, 95]
Generated Node #0,2,0: 71:[25, 95] Operation: 91+4=95
Exploring Operation: 4+25=29, Resulting Numbers: [91, 29]
Generated Node #0,2,1: 71:[91, 29] Operation: 4+25=29
Exploring Operation: 4*25=100, Resulting Numbers: [91, 100]
Generated Node #0,2,2: 71:[91, 100] Operation: 4*25=100
Exploring Operation: 91-4=87, Resulting Numbers: [25, 87]
Generated Node #0,2,3: 71:[25, 87] Operation: 91-4=87
Moving to Node #0,2,2
Current State: 71:[91, 100], Operations: ['21+4=25', '4*25=100']
Exploring Operation: 91+100=191, Resulting Numbers: [191]
191,71 unequal: No Solution
Exploring Operation: 91*100=9100, Resulting Numbers: [9100]
9100,71 unequal: No Solution
Exploring Operation: 100-91=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[91, 37], Operations: ['4*4=16', '21+16=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,71 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[21, 75], Operations: ['4*4=16', '91-16=75']
Exploring Operation: 21*75=1575, Resulting Numbers: [1575]
1575,71 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[16, 70], Operations: ['4*4=16', '91-21=70']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[91, 29], Operations: ['21+4=25', '4+25=29']
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,71 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[25, 87], Operations: ['21+4=25', '91-4=87']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,71 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,71 unequal: No Solution
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[25, 95], Operations: ['21+4=25', '91+4=95']
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 25*95=2375, Resulting Numbers: [2375]
2375,71 unequal: No Solution
Exploring Operation: 25+95=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[91, 5], Operations: ['4*4=16', '21-16=5']
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,71 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,71 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
60,
7,
48
] | 20 | [
"18+7=25",
"48*25=1200",
"1200/60=20"
] | Current State: 20:[18, 60, 7, 48], Operations: []
Exploring Operation: 18+7=25, Resulting Numbers: [60, 48, 25]
Generated Node #2: [60, 48, 25] from Operation: 18+7=25
Current State: 20:[60, 48, 25], Operations: ['18+7=25']
Exploring Operation: 48*25=1200, Resulting Numbers: [60, 1200]
Generated Node #3: [60, 1200] from Operation: 48*25=1200
Current State: 20:[60, 1200], Operations: ['18+7=25', '48*25=1200']
Exploring Operation: 1200/60=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[18, 60, 7, 48], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [18, 48, 53]
Generated Node #0,0: 20:[18, 48, 53] Operation: 60-7=53
Exploring Operation: 60-18=42, Resulting Numbers: [7, 48, 42]
Generated Node #0,1: 20:[7, 48, 42] Operation: 60-18=42
Exploring Operation: 48-18=30, Resulting Numbers: [60, 7, 30]
Generated Node #0,2: 20:[60, 7, 30] Operation: 48-18=30
Exploring Operation: 60-48=12, Resulting Numbers: [18, 7, 12]
Generated Node #0,3: 20:[18, 7, 12] Operation: 60-48=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[18, 7, 12], Operations: ['60-48=12']
Exploring Operation: 18-7=11, Resulting Numbers: [12, 11]
Generated Node #0,3,0: 20:[12, 11] Operation: 18-7=11
Exploring Operation: 7+12=19, Resulting Numbers: [18, 19]
Generated Node #0,3,1: 20:[18, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [18, 5]
Generated Node #0,3,2: 20:[18, 5] Operation: 12-7=5
Exploring Operation: 18-12=6, Resulting Numbers: [7, 6]
Generated Node #0,3,3: 20:[7, 6] Operation: 18-12=6
Moving to Node #0,3,2
Current State: 20:[18, 5], Operations: ['60-48=12', '12-7=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[18, 19], Operations: ['60-48=12', '7+12=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[12, 11], Operations: ['60-48=12', '18-7=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,20 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[7, 6], Operations: ['60-48=12', '18-12=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,20 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: 20:[7, 48, 42], Operations: ['60-18=42']
Exploring Operation: 42-7=35, Resulting Numbers: [48, 35]
Generated Node #0,1,0: 20:[48, 35] Operation: 42-7=35
Exploring Operation: 48-42=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 20:[7, 6] Operation: 48-42=6
Exploring Operation: 48-7=41, Resulting Numbers: [42, 41]
Generated Node #0,1,2: 20:[42, 41] Operation: 48-7=41
Exploring Operation: 42/7=6, Resulting Numbers: [48, 6]
Generated Node #0,1,3: 20:[48, 6] Operation: 42/7=6
Moving to Node #0,1,1
Current State: 20:[7, 6], Operations: ['60-18=42', '48-42=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[48, 6], Operations: ['60-18=42', '42/7=6']
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[42, 41], Operations: ['60-18=42', '48-7=41']
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,20 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[48, 35], Operations: ['60-18=42', '42-7=35']
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,20 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,20 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: 20:[60, 7, 30], Operations: ['48-18=30']
Exploring Operation: 60-7=53, Resulting Numbers: [30, 53]
Generated Node #0,2,0: 20:[30, 53] Operation: 60-7=53
Exploring Operation: 30-7=23, Resulting Numbers: [60, 23]
Generated Node #0,2,1: 20:[60, 23] Operation: 30-7=23
Exploring Operation: 60-30=30, Resulting Numbers: [7, 30]
Generated Node #0,2,2: 20:[7, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [7, 2]
Generated Node #0,2,3: 20:[7, 2] Operation: 60/30=2
Moving to Node #0,2,3
Current State: 20:[7, 2], Operations: ['48-18=30', '60/30=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[7, 30], Operations: ['48-18=30', '60-30=30']
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,20 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[60, 23], Operations: ['48-18=30', '30-7=23']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[30, 53], Operations: ['48-18=30', '60-7=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,20 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: 20:[18, 48, 53], Operations: ['60-7=53']
Exploring Operation: 48-18=30, Resulting Numbers: [53, 30]
Generated Node #0,0,0: 20:[53, 30] Operation: 48-18=30
Exploring Operation: 53-48=5, Resulting Numbers: [18, 5]
Generated Node #0,0,1: 20:[18, 5] Operation: 53-48=5
Exploring Operation: 18+48=66, Resulting Numbers: [53, 66]
Generated Node #0,0,2: 20:[53, 66] Operation: 18+48=66
Exploring Operation: 53-18=35, Resulting Numbers: [48, 35]
Generated Node #0,0,3: 20:[48, 35] Operation: 53-18=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[18, 5], Operations: ['60-7=53', '53-48=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,20 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: 20:[53, 30], Operations: ['60-7=53', '48-18=30']
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,20 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,20 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: 20:[48, 35], Operations: ['60-7=53', '53-18=35']
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,20 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,20 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: 20:[53, 66], Operations: ['60-7=53', '18+48=66']
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,20 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,20 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,20 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 |
[
6,
78,
57,
54
] | 53 | [
"78-54=24",
"24/6=4",
"57-4=53"
] | Current State: 53:[6, 78, 57, 54], Operations: []
Exploring Operation: 78-54=24, Resulting Numbers: [6, 57, 24]
Generated Node #2: [6, 57, 24] from Operation: 78-54=24
Current State: 53:[6, 57, 24], Operations: ['78-54=24']
Exploring Operation: 24/6=4, Resulting Numbers: [57, 4]
Generated Node #3: [57, 4] from Operation: 24/6=4
Current State: 53:[57, 4], Operations: ['78-54=24', '24/6=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[6, 78, 57, 54], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [78, 57, 48]
Generated Node #0,0: 53:[78, 57, 48] Operation: 54-6=48
Exploring Operation: 57-6=51, Resulting Numbers: [78, 54, 51]
Generated Node #0,1: 53:[78, 54, 51] Operation: 57-6=51
Exploring Operation: 78-6=72, Resulting Numbers: [57, 54, 72]
Generated Node #0,2: 53:[57, 54, 72] Operation: 78-6=72
Exploring Operation: 6+78=84, Resulting Numbers: [57, 54, 84]
Generated Node #0,3: 53:[57, 54, 84] Operation: 6+78=84
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[57, 54, 72], Operations: ['78-6=72']
Exploring Operation: 72-57=15, Resulting Numbers: [54, 15]
Generated Node #0,2,0: 53:[54, 15] Operation: 72-57=15
Exploring Operation: 72-54=18, Resulting Numbers: [57, 18]
Generated Node #0,2,1: 53:[57, 18] Operation: 72-54=18
Exploring Operation: 57+54=111, Resulting Numbers: [72, 111]
Generated Node #0,2,2: 53:[72, 111] Operation: 57+54=111
Exploring Operation: 57-54=3, Resulting Numbers: [72, 3]
Generated Node #0,2,3: 53:[72, 3] Operation: 57-54=3
Moving to Node #0,2,0
Current State: 53:[54, 15], Operations: ['78-6=72', '72-57=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,53 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[57, 18], Operations: ['78-6=72', '72-54=18']
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,53 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[72, 3], Operations: ['78-6=72', '57-54=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,53 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[72, 111], Operations: ['78-6=72', '57+54=111']
Exploring Operation: 111-72=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 72+111=183, Resulting Numbers: [183]
183,53 unequal: No Solution
Exploring Operation: 72*111=7992, Resulting Numbers: [7992]
7992,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
Current State: 53:[78, 54, 51], Operations: ['57-6=51']
Exploring Operation: 78-54=24, Resulting Numbers: [51, 24]
Generated Node #0,1,0: 53:[51, 24] Operation: 78-54=24
Exploring Operation: 78-51=27, Resulting Numbers: [54, 27]
Generated Node #0,1,1: 53:[54, 27] Operation: 78-51=27
Exploring Operation: 54-51=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 53:[78, 3] Operation: 54-51=3
Exploring Operation: 78+51=129, Resulting Numbers: [54, 129]
Generated Node #0,1,3: 53:[54, 129] Operation: 78+51=129
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[54, 27], Operations: ['57-6=51', '78-51=27']
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 54*27=1458, Resulting Numbers: [1458]
1458,53 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: 53:[51, 24], Operations: ['57-6=51', '78-54=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,53 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,53 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: 53:[78, 3], Operations: ['57-6=51', '54-51=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,53 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: 53:[54, 129], Operations: ['57-6=51', '78+51=129']
Exploring Operation: 129-54=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 54*129=6966, Resulting Numbers: [6966]
6966,53 unequal: No Solution
Exploring Operation: 54+129=183, Resulting Numbers: [183]
183,53 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: 53:[78, 57, 48], Operations: ['54-6=48']
Exploring Operation: 78-48=30, Resulting Numbers: [57, 30]
Generated Node #0,0,0: 53:[57, 30] Operation: 78-48=30
Exploring Operation: 57-48=9, Resulting Numbers: [78, 9]
Generated Node #0,0,1: 53:[78, 9] Operation: 57-48=9
Exploring Operation: 78-57=21, Resulting Numbers: [48, 21]
Generated Node #0,0,2: 53:[48, 21] Operation: 78-57=21
Exploring Operation: 78+48=126, Resulting Numbers: [57, 126]
Generated Node #0,0,3: 53:[57, 126] Operation: 78+48=126
Moving to Node #0,0,0
Current State: 53:[57, 30], Operations: ['54-6=48', '78-48=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,53 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[48, 21], Operations: ['54-6=48', '78-57=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[78, 9], Operations: ['54-6=48', '57-48=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[57, 126], Operations: ['54-6=48', '78+48=126']
Exploring Operation: 57*126=7182, Resulting Numbers: [7182]
7182,53 unequal: No Solution
Exploring Operation: 57+126=183, Resulting Numbers: [183]
183,53 unequal: No Solution
Exploring Operation: 126-57=69, Resulting Numbers: [69]
69,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,3
Current State: 53:[57, 54, 84], Operations: ['6+78=84']
Exploring Operation: 57-54=3, Resulting Numbers: [84, 3]
Generated Node #0,3,0: 53:[84, 3] Operation: 57-54=3
Exploring Operation: 84-54=30, Resulting Numbers: [57, 30]
Generated Node #0,3,1: 53:[57, 30] Operation: 84-54=30
Exploring Operation: 57+54=111, Resulting Numbers: [84, 111]
Generated Node #0,3,2: 53:[84, 111] Operation: 57+54=111
Exploring Operation: 84-57=27, Resulting Numbers: [54, 27]
Generated Node #0,3,3: 53:[54, 27] Operation: 84-57=27
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[57, 30], Operations: ['6+78=84', '84-54=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,53 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: 53:[54, 27], Operations: ['6+78=84', '84-57=27']
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 54*27=1458, Resulting Numbers: [1458]
1458,53 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,53 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: 53:[84, 3], Operations: ['6+78=84', '57-54=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,53 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: 53:[84, 111], Operations: ['6+78=84', '57+54=111']
Exploring Operation: 84*111=9324, Resulting Numbers: [9324]
9324,53 unequal: No Solution
Exploring Operation: 111-84=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 84+111=195, Resulting Numbers: [195]
195,53 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 |
[
74,
76,
87,
3
] | 79 | [
"74+76=150",
"87+150=237",
"237/3=79"
] | Current State: 79:[74, 76, 87, 3], Operations: []
Exploring Operation: 74+76=150, Resulting Numbers: [87, 3, 150]
Generated Node #2: [87, 3, 150] from Operation: 74+76=150
Current State: 79:[87, 3, 150], Operations: ['74+76=150']
Exploring Operation: 87+150=237, Resulting Numbers: [3, 237]
Generated Node #3: [3, 237] from Operation: 87+150=237
Current State: 79:[3, 237], Operations: ['74+76=150', '87+150=237']
Exploring Operation: 237/3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 76, 87, 3], Operations: []
Exploring Operation: 76+3=79, Resulting Numbers: [74, 87, 79]
Generated Node #0,0: 79:[74, 87, 79] Operation: 76+3=79
Exploring Operation: 87-3=84, Resulting Numbers: [74, 76, 84]
Generated Node #0,1: 79:[74, 76, 84] Operation: 87-3=84
Exploring Operation: 74-3=71, Resulting Numbers: [76, 87, 71]
Generated Node #0,2: 79:[76, 87, 71] Operation: 74-3=71
Exploring Operation: 74+3=77, Resulting Numbers: [76, 87, 77]
Generated Node #0,3: 79:[76, 87, 77] Operation: 74+3=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 87, 79], Operations: ['76+3=79']
Exploring Operation: 74+87=161, Resulting Numbers: [79, 161]
Generated Node #0,0,0: 79:[79, 161] Operation: 74+87=161
Exploring Operation: 74+79=153, Resulting Numbers: [87, 153]
Generated Node #0,0,1: 79:[87, 153] Operation: 74+79=153
Exploring Operation: 87-74=13, Resulting Numbers: [79, 13]
Generated Node #0,0,2: 79:[79, 13] Operation: 87-74=13
Exploring Operation: 87-79=8, Resulting Numbers: [74, 8]
Generated Node #0,0,3: 79:[74, 8] Operation: 87-79=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[79, 13], Operations: ['76+3=79', '87-74=13']
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,79 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,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,3
Current State: 79:[74, 8], Operations: ['76+3=79', '87-79=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,79 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,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:[79, 161], Operations: ['76+3=79', '74+87=161']
Exploring Operation: 161-79=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 79+161=240, Resulting Numbers: [240]
240,79 unequal: No Solution
Exploring Operation: 79*161=12719, Resulting Numbers: [12719]
12719,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,1
Current State: 79:[87, 153], Operations: ['76+3=79', '74+79=153']
Exploring Operation: 87*153=13311, Resulting Numbers: [13311]
13311,79 unequal: No Solution
Exploring Operation: 153-87=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 87+153=240, Resulting Numbers: [240]
240,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,1
Current State: 79:[74, 76, 84], Operations: ['87-3=84']
Exploring Operation: 74+76=150, Resulting Numbers: [84, 150]
Generated Node #0,1,0: 79:[84, 150] Operation: 74+76=150
Exploring Operation: 84-74=10, Resulting Numbers: [76, 10]
Generated Node #0,1,1: 79:[76, 10] Operation: 84-74=10
Exploring Operation: 76-74=2, Resulting Numbers: [84, 2]
Generated Node #0,1,2: 79:[84, 2] Operation: 76-74=2
Exploring Operation: 84-76=8, Resulting Numbers: [74, 8]
Generated Node #0,1,3: 79:[74, 8] Operation: 84-76=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[76, 10], Operations: ['87-3=84', '84-74=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,79 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,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:[84, 150], Operations: ['87-3=84', '74+76=150']
Exploring Operation: 84*150=12600, Resulting Numbers: [12600]
12600,79 unequal: No Solution
Exploring Operation: 84+150=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Exploring Operation: 150-84=66, Resulting Numbers: [66]
66,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,3
Current State: 79:[74, 8], Operations: ['87-3=84', '84-76=8']
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,79 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,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:[84, 2], Operations: ['87-3=84', '76-74=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,79 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,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,3
Current State: 79:[76, 87, 77], Operations: ['74+3=77']
Exploring Operation: 76+87=163, Resulting Numbers: [77, 163]
Generated Node #0,3,0: 79:[77, 163] Operation: 76+87=163
Exploring Operation: 87-76=11, Resulting Numbers: [77, 11]
Generated Node #0,3,1: 79:[77, 11] Operation: 87-76=11
Exploring Operation: 76+77=153, Resulting Numbers: [87, 153]
Generated Node #0,3,2: 79:[87, 153] Operation: 76+77=153
Exploring Operation: 87-77=10, Resulting Numbers: [76, 10]
Generated Node #0,3,3: 79:[76, 10] Operation: 87-77=10
Moving to Node #0,3,1
Current State: 79:[77, 11], Operations: ['74+3=77', '87-76=11']
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 77*11=847, Resulting Numbers: [847]
847,79 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[76, 10], Operations: ['74+3=77', '87-77=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[87, 153], Operations: ['74+3=77', '76+77=153']
Exploring Operation: 153-87=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 87*153=13311, Resulting Numbers: [13311]
13311,79 unequal: No Solution
Exploring Operation: 87+153=240, Resulting Numbers: [240]
240,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[77, 163], Operations: ['74+3=77', '76+87=163']
Exploring Operation: 163-77=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 77*163=12551, Resulting Numbers: [12551]
12551,79 unequal: No Solution
Exploring Operation: 77+163=240, Resulting Numbers: [240]
240,79 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: 79:[76, 87, 71], Operations: ['74-3=71']
Exploring Operation: 87-76=11, Resulting Numbers: [71, 11]
Generated Node #0,2,0: 79:[71, 11] Operation: 87-76=11
Exploring Operation: 87-71=16, Resulting Numbers: [76, 16]
Generated Node #0,2,1: 79:[76, 16] Operation: 87-71=16
Exploring Operation: 76+71=147, Resulting Numbers: [87, 147]
Generated Node #0,2,2: 79:[87, 147] Operation: 76+71=147
Exploring Operation: 76-71=5, Resulting Numbers: [87, 5]
Generated Node #0,2,3: 79:[87, 5] Operation: 76-71=5
Moving to Node #0,2,1
Current State: 79:[76, 16], Operations: ['74-3=71', '87-71=16']
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[87, 147], Operations: ['74-3=71', '76+71=147']
Exploring Operation: 87*147=12789, Resulting Numbers: [12789]
12789,79 unequal: No Solution
Exploring Operation: 147-87=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 87+147=234, Resulting Numbers: [234]
234,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[71, 11], Operations: ['74-3=71', '87-76=11']
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,79 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[87, 5], Operations: ['74-3=71', '76-71=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,79 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 |
[
21,
6,
18,
28
] | 56 | [
"21-18=3",
"6*28=168",
"168/3=56"
] | Current State: 56:[21, 6, 18, 28], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [6, 28, 3]
Generated Node #2: [6, 28, 3] from Operation: 21-18=3
Current State: 56:[6, 28, 3], Operations: ['21-18=3']
Exploring Operation: 6*28=168, Resulting Numbers: [3, 168]
Generated Node #3: [3, 168] from Operation: 6*28=168
Current State: 56:[3, 168], Operations: ['21-18=3', '6*28=168']
Exploring Operation: 168/3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[21, 6, 18, 28], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [6, 28, 3]
Generated Node #0,0: 56:[6, 28, 3] Operation: 21-18=3
Exploring Operation: 21-6=15, Resulting Numbers: [18, 28, 15]
Generated Node #0,1: 56:[18, 28, 15] Operation: 21-6=15
Exploring Operation: 21+6=27, Resulting Numbers: [18, 28, 27]
Generated Node #0,2: 56:[18, 28, 27] Operation: 21+6=27
Exploring Operation: 28-21=7, Resulting Numbers: [6, 18, 7]
Generated Node #0,3: 56:[6, 18, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[6, 28, 3], Operations: ['21-18=3']
Exploring Operation: 6*3=18, Resulting Numbers: [28, 18]
Generated Node #0,0,0: 56:[28, 18] Operation: 6*3=18
Exploring Operation: 6/3=2, Resulting Numbers: [28, 2]
Generated Node #0,0,1: 56:[28, 2] Operation: 6/3=2
Exploring Operation: 6+3=9, Resulting Numbers: [28, 9]
Generated Node #0,0,2: 56:[28, 9] Operation: 6+3=9
Exploring Operation: 6-3=3, Resulting Numbers: [28, 3]
Generated Node #0,0,3: 56:[28, 3] Operation: 6-3=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[28, 2], Operations: ['21-18=3', '6/3=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,56 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[21, 6, 18, 28], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [6, 28, 3]
Generated Node #0,0: 56:[6, 28, 3] Operation: 21-18=3
Moving to Node #0,0
Current State: 56:[6, 28, 3], Operations: ['21-18=3']
Exploring Operation: 6/3=2, Resulting Numbers: [28, 2]
Generated Node #0,0,1: 56:[28, 2] Operation: 6/3=2
Moving to Node #0,0,1
Current State: 56:[28, 2], Operations: ['21-18=3', '6/3=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
40,
44,
47,
53
] | 25 | [
"44-40=4",
"47+53=100",
"100/4=25"
] | Current State: 25:[40, 44, 47, 53], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [47, 53, 4]
Generated Node #2: [47, 53, 4] from Operation: 44-40=4
Current State: 25:[47, 53, 4], Operations: ['44-40=4']
Exploring Operation: 47+53=100, Resulting Numbers: [4, 100]
Generated Node #3: [4, 100] from Operation: 47+53=100
Current State: 25:[4, 100], Operations: ['44-40=4', '47+53=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[40, 44, 47, 53], Operations: []
Exploring Operation: 53-47=6, Resulting Numbers: [40, 44, 6]
Generated Node #0,0: 25:[40, 44, 6] Operation: 53-47=6
Exploring Operation: 53-44=9, Resulting Numbers: [40, 47, 9]
Generated Node #0,1: 25:[40, 47, 9] Operation: 53-44=9
Moving to Node #0,0
Current State: 25:[40, 44, 6], Operations: ['53-47=6']
Exploring Operation: 40-6=34, Resulting Numbers: [44, 34]
Generated Node #0,0,0: 25:[44, 34] Operation: 40-6=34
Exploring Operation: 44-40=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 25:[6, 4] Operation: 44-40=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[6, 4], Operations: ['53-47=6', '44-40=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,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:[44, 34], Operations: ['53-47=6', '40-6=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,25 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: 25:[40, 47, 9], Operations: ['53-44=9']
Exploring Operation: 47-40=7, Resulting Numbers: [9, 7]
Generated Node #0,1,0: 25:[9, 7] Operation: 47-40=7
Exploring Operation: 40-9=31, Resulting Numbers: [47, 31]
Generated Node #0,1,1: 25:[47, 31] Operation: 40-9=31
Moving to Node #0,1,0
Current State: 25:[9, 7], Operations: ['53-44=9', '47-40=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[47, 31], Operations: ['53-44=9', '40-9=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
35,
32,
66,
15
] | 17 | [
"35-32=3",
"66-15=51",
"51/3=17"
] | Current State: 17:[35, 32, 66, 15], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [66, 15, 3]
Generated Node #2: [66, 15, 3] from Operation: 35-32=3
Current State: 17:[66, 15, 3], Operations: ['35-32=3']
Exploring Operation: 66-15=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 66-15=51
Current State: 17:[3, 51], Operations: ['35-32=3', '66-15=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[35, 32, 66, 15], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [35, 15, 34]
Generated Node #0,0: 17:[35, 15, 34] Operation: 66-32=34
Exploring Operation: 66-35=31, Resulting Numbers: [32, 15, 31]
Generated Node #0,1: 17:[32, 15, 31] Operation: 66-35=31
Exploring Operation: 35-32=3, Resulting Numbers: [66, 15, 3]
Generated Node #0,2: 17:[66, 15, 3] Operation: 35-32=3
Exploring Operation: 35-15=20, Resulting Numbers: [32, 66, 20]
Generated Node #0,3: 17:[32, 66, 20] Operation: 35-15=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[32, 15, 31], Operations: ['66-35=31']
Exploring Operation: 32-31=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 17:[15, 1] Operation: 32-31=1
Exploring Operation: 31-15=16, Resulting Numbers: [32, 16]
Generated Node #0,1,1: 17:[32, 16] Operation: 31-15=16
Exploring Operation: 32+15=47, Resulting Numbers: [31, 47]
Generated Node #0,1,2: 17:[31, 47] Operation: 32+15=47
Exploring Operation: 32-15=17, Resulting Numbers: [31, 17]
Generated Node #0,1,3: 17:[31, 17] Operation: 32-15=17
Moving to Node #0,1,3
Current State: 17:[31, 17], Operations: ['66-35=31', '32-15=17']
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,17 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[32, 16], Operations: ['66-35=31', '31-15=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,17 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[15, 1], Operations: ['66-35=31', '32-31=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[31, 47], Operations: ['66-35=31', '32+15=47']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 31*47=1457, Resulting Numbers: [1457]
1457,17 unequal: No Solution
Exploring Operation: 31+47=78, Resulting Numbers: [78]
78,17 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: 17:[35, 15, 34], Operations: ['66-32=34']
Exploring Operation: 35-15=20, Resulting Numbers: [34, 20]
Generated Node #0,0,0: 17:[34, 20] Operation: 35-15=20
Exploring Operation: 35-34=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 17:[15, 1] Operation: 35-34=1
Exploring Operation: 34-15=19, Resulting Numbers: [35, 19]
Generated Node #0,0,2: 17:[35, 19] Operation: 34-15=19
Exploring Operation: 35+15=50, Resulting Numbers: [34, 50]
Generated Node #0,0,3: 17:[34, 50] Operation: 35+15=50
Moving to Node #0,0,1
Current State: 17:[15, 1], Operations: ['66-32=34', '35-34=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[35, 19], Operations: ['66-32=34', '34-15=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[34, 20], Operations: ['66-32=34', '35-15=20']
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,17 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[34, 50], Operations: ['66-32=34', '35+15=50']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,17 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: 17:[66, 15, 3], Operations: ['35-32=3']
Exploring Operation: 66-15=51, Resulting Numbers: [3, 51]
Generated Node #0,2,0: 17:[3, 51] Operation: 66-15=51
Exploring Operation: 66/3=22, Resulting Numbers: [15, 22]
Generated Node #0,2,1: 17:[15, 22] Operation: 66/3=22
Exploring Operation: 66-3=63, Resulting Numbers: [15, 63]
Generated Node #0,2,2: 17:[15, 63] Operation: 66-3=63
Exploring Operation: 15+3=18, Resulting Numbers: [66, 18]
Generated Node #0,2,3: 17:[66, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[15, 22], Operations: ['35-32=3', '66/3=22']
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,17 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,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,2,0
Current State: 17:[3, 51], Operations: ['35-32=3', '66-15=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[35, 32, 66, 15], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [66, 15, 3]
Generated Node #0,2: 17:[66, 15, 3] Operation: 35-32=3
Moving to Node #0,2
Current State: 17:[66, 15, 3], Operations: ['35-32=3']
Exploring Operation: 66-15=51, Resulting Numbers: [3, 51]
Generated Node #0,2,0: 17:[3, 51] Operation: 66-15=51
Moving to Node #0,2,0
Current State: 17:[3, 51], Operations: ['35-32=3', '66-15=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_4 | sum_heuristic |
[
8,
16,
48,
57
] | 56 | [
"16+48=64",
"64-57=7",
"8*7=56"
] | Current State: 56:[8, 16, 48, 57], Operations: []
Exploring Operation: 16+48=64, Resulting Numbers: [8, 57, 64]
Generated Node #2: [8, 57, 64] from Operation: 16+48=64
Current State: 56:[8, 57, 64], Operations: ['16+48=64']
Exploring Operation: 64-57=7, Resulting Numbers: [8, 7]
Generated Node #3: [8, 7] from Operation: 64-57=7
Current State: 56:[8, 7], Operations: ['16+48=64', '64-57=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[8, 16, 48, 57], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [8, 57, 3]
Generated Node #0,0: 56:[8, 57, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[8, 57, 3], Operations: ['48/16=3']
Exploring Operation: 8-3=5, Resulting Numbers: [57, 5]
Generated Node #0,0,0: 56:[57, 5] Operation: 8-3=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[57, 5], Operations: ['48/16=3', '8-3=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,56 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 |
[
86,
83,
65,
40
] | 64 | [
"86+83=169",
"65+40=105",
"169-105=64"
] | Current State: 64:[86, 83, 65, 40], Operations: []
Exploring Operation: 86+83=169, Resulting Numbers: [65, 40, 169]
Generated Node #2: [65, 40, 169] from Operation: 86+83=169
Current State: 64:[65, 40, 169], Operations: ['86+83=169']
Exploring Operation: 65+40=105, Resulting Numbers: [169, 105]
Generated Node #3: [169, 105] from Operation: 65+40=105
Current State: 64:[169, 105], Operations: ['86+83=169', '65+40=105']
Exploring Operation: 169-105=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[86, 83, 65, 40], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [65, 40, 3]
Generated Node #0,0: 64:[65, 40, 3] Operation: 86-83=3
Moving to Node #0,0
Current State: 64:[65, 40, 3], Operations: ['86-83=3']
Exploring Operation: 40-3=37, Resulting Numbers: [65, 37]
Generated Node #0,0,0: 64:[65, 37] Operation: 40-3=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[65, 37], Operations: ['86-83=3', '40-3=37']
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,64 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 |
[
28,
25,
97,
16
] | 49 | [
"28-25=3",
"16*3=48",
"97-48=49"
] | Current State: 49:[28, 25, 97, 16], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [97, 16, 3]
Generated Node #2: [97, 16, 3] from Operation: 28-25=3
Current State: 49:[97, 16, 3], Operations: ['28-25=3']
Exploring Operation: 16*3=48, Resulting Numbers: [97, 48]
Generated Node #3: [97, 48] from Operation: 16*3=48
Current State: 49:[97, 48], Operations: ['28-25=3', '16*3=48']
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[28, 25, 97, 16], Operations: []
Exploring Operation: 97-25=72, Resulting Numbers: [28, 16, 72]
Generated Node #0,0: 49:[28, 16, 72] Operation: 97-25=72
Exploring Operation: 28-25=3, Resulting Numbers: [97, 16, 3]
Generated Node #0,1: 49:[97, 16, 3] Operation: 28-25=3
Exploring Operation: 28+16=44, Resulting Numbers: [25, 97, 44]
Generated Node #0,2: 49:[25, 97, 44] Operation: 28+16=44
Exploring Operation: 97-28=69, Resulting Numbers: [25, 16, 69]
Generated Node #0,3: 49:[25, 16, 69] Operation: 97-28=69
Exploring Operation: 28+25=53, Resulting Numbers: [97, 16, 53]
Generated Node #0,4: 49:[97, 16, 53] Operation: 28+25=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[25, 16, 69], Operations: ['97-28=69']
Exploring Operation: 25+69=94, Resulting Numbers: [16, 94]
Generated Node #0,3,0: 49:[16, 94] Operation: 25+69=94
Exploring Operation: 69-16=53, Resulting Numbers: [25, 53]
Generated Node #0,3,1: 49:[25, 53] Operation: 69-16=53
Exploring Operation: 25+16=41, Resulting Numbers: [69, 41]
Generated Node #0,3,2: 49:[69, 41] Operation: 25+16=41
Exploring Operation: 69-25=44, Resulting Numbers: [16, 44]
Generated Node #0,3,3: 49:[16, 44] Operation: 69-25=44
Exploring Operation: 25-16=9, Resulting Numbers: [69, 9]
Generated Node #0,3,4: 49:[69, 9] Operation: 25-16=9
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[16, 44], Operations: ['97-28=69', '69-25=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,49 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,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,3,1
Current State: 49:[25, 53], Operations: ['97-28=69', '69-16=53']
Exploring Operation: 25*53=1325, Resulting Numbers: [1325]
1325,49 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 25+53=78, Resulting Numbers: [78]
78,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,3,4
Current State: 49:[69, 9], Operations: ['97-28=69', '25-16=9']
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,49 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,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,3,2
Current State: 49:[69, 41], Operations: ['97-28=69', '25+16=41']
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,49 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,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,3,0
Current State: 49:[16, 94], Operations: ['97-28=69', '25+69=94']
Exploring Operation: 16*94=1504, Resulting Numbers: [1504]
1504,49 unequal: No Solution
Exploring Operation: 16+94=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,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,0
Current State: 49:[28, 16, 72], Operations: ['97-25=72']
Exploring Operation: 28+16=44, Resulting Numbers: [72, 44]
Generated Node #0,0,0: 49:[72, 44] Operation: 28+16=44
Exploring Operation: 72-28=44, Resulting Numbers: [16, 44]
Generated Node #0,0,1: 49:[16, 44] Operation: 72-28=44
Exploring Operation: 28-16=12, Resulting Numbers: [72, 12]
Generated Node #0,0,2: 49:[72, 12] Operation: 28-16=12
Exploring Operation: 28+72=100, Resulting Numbers: [16, 100]
Generated Node #0,0,3: 49:[16, 100] Operation: 28+72=100
Exploring Operation: 72-16=56, Resulting Numbers: [28, 56]
Generated Node #0,0,4: 49:[28, 56] Operation: 72-16=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[16, 44], Operations: ['97-25=72', '72-28=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,49 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,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,0
Current State: 49:[72, 44], Operations: ['97-25=72', '28+16=44']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,49 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,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:[72, 12], Operations: ['97-25=72', '28-16=12']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,49 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,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,4
Current State: 49:[28, 56], Operations: ['97-25=72', '72-16=56']
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,49 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,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,3
Current State: 49:[16, 100], Operations: ['97-25=72', '28+72=100']
Exploring Operation: 16*100=1600, Resulting Numbers: [1600]
1600,49 unequal: No Solution
Exploring Operation: 16+100=116, Resulting Numbers: [116]
116,49 unequal: No Solution
Exploring Operation: 100-16=84, Resulting Numbers: [84]
84,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:[97, 16, 3], Operations: ['28-25=3']
Exploring Operation: 97-16=81, Resulting Numbers: [3, 81]
Generated Node #0,1,0: 49:[3, 81] Operation: 97-16=81
Exploring Operation: 97+3=100, Resulting Numbers: [16, 100]
Generated Node #0,1,1: 49:[16, 100] Operation: 97+3=100
Exploring Operation: 16-3=13, Resulting Numbers: [97, 13]
Generated Node #0,1,2: 49:[97, 13] Operation: 16-3=13
Exploring Operation: 97-3=94, Resulting Numbers: [16, 94]
Generated Node #0,1,3: 49:[16, 94] Operation: 97-3=94
Exploring Operation: 16*3=48, Resulting Numbers: [97, 48]
Generated Node #0,1,4: 49:[97, 48] Operation: 16*3=48
Moving to Node #0,1,0
Current State: 49:[3, 81], Operations: ['28-25=3', '97-16=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 3*81=243, Resulting Numbers: [243]
243,49 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[97, 48], Operations: ['28-25=3', '16*3=48']
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[28, 25, 97, 16], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [97, 16, 3]
Generated Node #0,1: 49:[97, 16, 3] Operation: 28-25=3
Moving to Node #0,1
Current State: 49:[97, 16, 3], Operations: ['28-25=3']
Exploring Operation: 16*3=48, Resulting Numbers: [97, 48]
Generated Node #0,1,4: 49:[97, 48] Operation: 16*3=48
Moving to Node #0,1,4
Current State: 49:[97, 48], Operations: ['28-25=3', '16*3=48']
Exploring Operation: 97-48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
55,
64,
52,
49
] | 27 | [
"64-55=9",
"52-49=3",
"9*3=27"
] | Current State: 27:[55, 64, 52, 49], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [52, 49, 9]
Generated Node #2: [52, 49, 9] from Operation: 64-55=9
Current State: 27:[52, 49, 9], Operations: ['64-55=9']
Exploring Operation: 52-49=3, Resulting Numbers: [9, 3]
Generated Node #3: [9, 3] from Operation: 52-49=3
Current State: 27:[9, 3], Operations: ['64-55=9', '52-49=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[55, 64, 52, 49], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [64, 49, 3]
Generated Node #0,0: 27:[64, 49, 3] Operation: 55-52=3
Exploring Operation: 64-49=15, Resulting Numbers: [55, 52, 15]
Generated Node #0,1: 27:[55, 52, 15] Operation: 64-49=15
Exploring Operation: 64-55=9, Resulting Numbers: [52, 49, 9]
Generated Node #0,2: 27:[52, 49, 9] Operation: 64-55=9
Exploring Operation: 64-52=12, Resulting Numbers: [55, 49, 12]
Generated Node #0,3: 27:[55, 49, 12] Operation: 64-52=12
Moving to Node #0,2
Current State: 27:[52, 49, 9], Operations: ['64-55=9']
Exploring Operation: 52+9=61, Resulting Numbers: [49, 61]
Generated Node #0,2,0: 27:[49, 61] Operation: 52+9=61
Exploring Operation: 49-9=40, Resulting Numbers: [52, 40]
Generated Node #0,2,1: 27:[52, 40] Operation: 49-9=40
Exploring Operation: 52-49=3, Resulting Numbers: [9, 3]
Generated Node #0,2,2: 27:[9, 3] Operation: 52-49=3
Exploring Operation: 52-9=43, Resulting Numbers: [49, 43]
Generated Node #0,2,3: 27:[49, 43] Operation: 52-9=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[9, 3], Operations: ['64-55=9', '52-49=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[55, 64, 52, 49], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [52, 49, 9]
Generated Node #0,2: 27:[52, 49, 9] Operation: 64-55=9
Moving to Node #0,2
Current State: 27:[52, 49, 9], Operations: ['64-55=9']
Exploring Operation: 52-49=3, Resulting Numbers: [9, 3]
Generated Node #0,2,2: 27:[9, 3] Operation: 52-49=3
Moving to Node #0,2,2
Current State: 27:[9, 3], Operations: ['64-55=9', '52-49=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
10,
83,
62,
36
] | 67 | [
"10+83=93",
"62-36=26",
"93-26=67"
] | Current State: 67:[10, 83, 62, 36], Operations: []
Exploring Operation: 10+83=93, Resulting Numbers: [62, 36, 93]
Generated Node #2: [62, 36, 93] from Operation: 10+83=93
Current State: 67:[62, 36, 93], Operations: ['10+83=93']
Exploring Operation: 62-36=26, Resulting Numbers: [93, 26]
Generated Node #3: [93, 26] from Operation: 62-36=26
Current State: 67:[93, 26], Operations: ['10+83=93', '62-36=26']
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[10, 83, 62, 36], Operations: []
Exploring Operation: 10+83=93, Resulting Numbers: [62, 36, 93]
Generated Node #0,0: 67:[62, 36, 93] Operation: 10+83=93
Exploring Operation: 83-10=73, Resulting Numbers: [62, 36, 73]
Generated Node #0,1: 67:[62, 36, 73] Operation: 83-10=73
Exploring Operation: 62-10=52, Resulting Numbers: [83, 36, 52]
Generated Node #0,2: 67:[83, 36, 52] Operation: 62-10=52
Exploring Operation: 10+36=46, Resulting Numbers: [83, 62, 46]
Generated Node #0,3: 67:[83, 62, 46] Operation: 10+36=46
Exploring Operation: 10+62=72, Resulting Numbers: [83, 36, 72]
Generated Node #0,4: 67:[83, 36, 72] Operation: 10+62=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[62, 36, 73], Operations: ['83-10=73']
Exploring Operation: 62-36=26, Resulting Numbers: [73, 26]
Generated Node #0,1,0: 67:[73, 26] Operation: 62-36=26
Exploring Operation: 62+36=98, Resulting Numbers: [73, 98]
Generated Node #0,1,1: 67:[73, 98] Operation: 62+36=98
Exploring Operation: 73-62=11, Resulting Numbers: [36, 11]
Generated Node #0,1,2: 67:[36, 11] Operation: 73-62=11
Exploring Operation: 36+73=109, Resulting Numbers: [62, 109]
Generated Node #0,1,3: 67:[62, 109] Operation: 36+73=109
Exploring Operation: 73-36=37, Resulting Numbers: [62, 37]
Generated Node #0,1,4: 67:[62, 37] Operation: 73-36=37
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[62, 37], Operations: ['83-10=73', '73-36=37']
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,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,1,1
Current State: 67:[73, 98], Operations: ['83-10=73', '62+36=98']
Exploring Operation: 73*98=7154, Resulting Numbers: [7154]
7154,67 unequal: No Solution
Exploring Operation: 98-73=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 73+98=171, Resulting Numbers: [171]
171,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,1,0
Current State: 67:[73, 26], Operations: ['83-10=73', '62-36=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,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,1,3
Current State: 67:[62, 109], Operations: ['83-10=73', '36+73=109']
Exploring Operation: 109-62=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 62+109=171, Resulting Numbers: [171]
171,67 unequal: No Solution
Exploring Operation: 62*109=6758, Resulting Numbers: [6758]
6758,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,1,2
Current State: 67:[36, 11], Operations: ['83-10=73', '73-62=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,67 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,67 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,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:[83, 62, 46], Operations: ['10+36=46']
Exploring Operation: 62+46=108, Resulting Numbers: [83, 108]
Generated Node #0,3,0: 67:[83, 108] Operation: 62+46=108
Exploring Operation: 83-62=21, Resulting Numbers: [46, 21]
Generated Node #0,3,1: 67:[46, 21] Operation: 83-62=21
Exploring Operation: 83-46=37, Resulting Numbers: [62, 37]
Generated Node #0,3,2: 67:[62, 37] Operation: 83-46=37
Exploring Operation: 83+46=129, Resulting Numbers: [62, 129]
Generated Node #0,3,3: 67:[62, 129] Operation: 83+46=129
Exploring Operation: 62-46=16, Resulting Numbers: [83, 16]
Generated Node #0,3,4: 67:[83, 16] Operation: 62-46=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[62, 37], Operations: ['10+36=46', '83-46=37']
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 62+37=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 62*37=2294, Resulting Numbers: [2294]
2294,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:[83, 108], Operations: ['10+36=46', '62+46=108']
Exploring Operation: 83+108=191, Resulting Numbers: [191]
191,67 unequal: No Solution
Exploring Operation: 108-83=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 83*108=8964, Resulting Numbers: [8964]
8964,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:[46, 21], Operations: ['10+36=46', '83-62=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[10, 83, 62, 36], Operations: []
Exploring Operation: 10+36=46, Resulting Numbers: [83, 62, 46]
Generated Node #0,3: 67:[83, 62, 46] Operation: 10+36=46
Moving to Node #0,3
Current State: 67:[83, 62, 46], Operations: ['10+36=46']
Exploring Operation: 83-62=21, Resulting Numbers: [46, 21]
Generated Node #0,3,1: 67:[46, 21] Operation: 83-62=21
Moving to Node #0,3,1
Current State: 67:[46, 21], Operations: ['10+36=46', '83-62=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
2,
32,
32,
39
] | 27 | [
"2+32=34",
"39-32=7",
"34-7=27"
] | Current State: 27:[2, 32, 32, 39], Operations: []
Exploring Operation: 2+32=34, Resulting Numbers: [39, 34]
Generated Node #2: [39, 34] from Operation: 2+32=34
Current State: 27:[39, 34], Operations: ['2+32=34']
Exploring Operation: 39-32=7, Resulting Numbers: [34, 7]
Generated Node #3: [34, 7] from Operation: 39-32=7
Current State: 27:[34, 7], Operations: ['2+32=34', '39-32=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 32, 32, 39], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [2, 32, 7]
Generated Node #0,0: 27:[2, 32, 7] Operation: 39-32=7
Exploring Operation: 32-32=0, Resulting Numbers: [2, 39, 0]
Generated Node #0,1: 27:[2, 39, 0] Operation: 32-32=0
Exploring Operation: 32/32=1, Resulting Numbers: [2, 39, 1]
Generated Node #0,2: 27:[2, 39, 1] Operation: 32/32=1
Exploring Operation: 39-32=7, Resulting Numbers: [2, 32, 7]
Generated Node #0,3: 27:[2, 32, 7] Operation: 39-32=7
Moving to Node #0,0
Current State: 27:[2, 32, 7], Operations: ['39-32=7']
Exploring Operation: 7-2=5, Resulting Numbers: [32, 5]
Generated Node #0,0,0: 27:[32, 5] Operation: 7-2=5
Exploring Operation: 2+7=9, Resulting Numbers: [32, 9]
Generated Node #0,0,1: 27:[32, 9] Operation: 2+7=9
Exploring Operation: 32-2=30, Resulting Numbers: [7, 30]
Generated Node #0,0,2: 27:[7, 30] Operation: 32-2=30
Exploring Operation: 32-7=25, Resulting Numbers: [2, 25]
Generated Node #0,0,3: 27:[2, 25] Operation: 32-7=25
Moving to Node #0,3
Current State: 27:[2, 32, 7], Operations: ['39-32=7']
Exploring Operation: 2+7=9, Resulting Numbers: [32, 9]
Generated Node #0,3,0: 27:[32, 9] Operation: 2+7=9
Exploring Operation: 32-7=25, Resulting Numbers: [2, 25]
Generated Node #0,3,1: 27:[2, 25] Operation: 32-7=25
Exploring Operation: 32-2=30, Resulting Numbers: [7, 30]
Generated Node #0,3,2: 27:[7, 30] Operation: 32-2=30
Exploring Operation: 7-2=5, Resulting Numbers: [32, 5]
Generated Node #0,3,3: 27:[32, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[2, 25], Operations: ['39-32=7', '32-7=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[2, 32, 32, 39], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [2, 32, 7]
Generated Node #0,3: 27:[2, 32, 7] Operation: 39-32=7
Moving to Node #0,3
Current State: 27:[2, 32, 7], Operations: ['39-32=7']
Exploring Operation: 32-7=25, Resulting Numbers: [2, 25]
Generated Node #0,3,1: 27:[2, 25] Operation: 32-7=25
Moving to Node #0,3,1
Current State: 27:[2, 25], Operations: ['39-32=7', '32-7=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
99,
45,
16,
35
] | 93 | [
"99+45=144",
"16+35=51",
"144-51=93"
] | Current State: 93:[99, 45, 16, 35], Operations: []
Exploring Operation: 99+45=144, Resulting Numbers: [16, 35, 144]
Generated Node #2: [16, 35, 144] from Operation: 99+45=144
Current State: 93:[16, 35, 144], Operations: ['99+45=144']
Exploring Operation: 16+35=51, Resulting Numbers: [144, 51]
Generated Node #3: [144, 51] from Operation: 16+35=51
Current State: 93:[144, 51], Operations: ['99+45=144', '16+35=51']
Exploring Operation: 144-51=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[99, 45, 16, 35], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [99, 16, 10]
Generated Node #0,0: 93:[99, 16, 10] Operation: 45-35=10
Exploring Operation: 45+35=80, Resulting Numbers: [99, 16, 80]
Generated Node #0,1: 93:[99, 16, 80] Operation: 45+35=80
Exploring Operation: 45-16=29, Resulting Numbers: [99, 35, 29]
Generated Node #0,2: 93:[99, 35, 29] Operation: 45-16=29
Exploring Operation: 35-16=19, Resulting Numbers: [99, 45, 19]
Generated Node #0,3: 93:[99, 45, 19] Operation: 35-16=19
Exploring Operation: 99-16=83, Resulting Numbers: [45, 35, 83]
Generated Node #0,4: 93:[45, 35, 83] Operation: 99-16=83
Moving to Node #0,2
Current State: 93:[99, 35, 29], Operations: ['45-16=29']
Exploring Operation: 35-29=6, Resulting Numbers: [99, 6]
Generated Node #0,2,0: 93:[99, 6] Operation: 35-29=6
Exploring Operation: 99-29=70, Resulting Numbers: [35, 70]
Generated Node #0,2,1: 93:[35, 70] Operation: 99-29=70
Exploring Operation: 99+29=128, Resulting Numbers: [35, 128]
Generated Node #0,2,2: 93:[35, 128] Operation: 99+29=128
Exploring Operation: 35+29=64, Resulting Numbers: [99, 64]
Generated Node #0,2,3: 93:[99, 64] Operation: 35+29=64
Exploring Operation: 99-35=64, Resulting Numbers: [29, 64]
Generated Node #0,2,4: 93:[29, 64] Operation: 99-35=64
Moving to Node #0,0
Current State: 93:[99, 16, 10], Operations: ['45-35=10']
Exploring Operation: 99+16=115, Resulting Numbers: [10, 115]
Generated Node #0,0,0: 93:[10, 115] Operation: 99+16=115
Exploring Operation: 99-16=83, Resulting Numbers: [10, 83]
Generated Node #0,0,1: 93:[10, 83] Operation: 99-16=83
Exploring Operation: 99-10=89, Resulting Numbers: [16, 89]
Generated Node #0,0,2: 93:[16, 89] Operation: 99-10=89
Exploring Operation: 16-10=6, Resulting Numbers: [99, 6]
Generated Node #0,0,3: 93:[99, 6] Operation: 16-10=6
Exploring Operation: 16+10=26, Resulting Numbers: [99, 26]
Generated Node #0,0,4: 93:[99, 26] Operation: 16+10=26
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[99, 6], Operations: ['45-35=10', '16-10=6']
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,93 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[99, 45, 16, 35], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [99, 16, 10]
Generated Node #0,0: 93:[99, 16, 10] Operation: 45-35=10
Moving to Node #0,0
Current State: 93:[99, 16, 10], Operations: ['45-35=10']
Exploring Operation: 16-10=6, Resulting Numbers: [99, 6]
Generated Node #0,0,3: 93:[99, 6] Operation: 16-10=6
Moving to Node #0,0,3
Current State: 93:[99, 6], Operations: ['45-35=10', '16-10=6']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
96,
8,
87,
16
] | 89 | [
"96/16=6",
"8+87=95",
"95-6=89"
] | Current State: 89:[96, 8, 87, 16], Operations: []
Exploring Operation: 96/16=6, Resulting Numbers: [8, 87, 6]
Generated Node #2: [8, 87, 6] from Operation: 96/16=6
Current State: 89:[8, 87, 6], Operations: ['96/16=6']
Exploring Operation: 8+87=95, Resulting Numbers: [6, 95]
Generated Node #3: [6, 95] from Operation: 8+87=95
Current State: 89:[6, 95], Operations: ['96/16=6', '8+87=95']
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[96, 8, 87, 16], Operations: []
Exploring Operation: 96-8=88, Resulting Numbers: [87, 16, 88]
Generated Node #0,0: 89:[87, 16, 88] Operation: 96-8=88
Exploring Operation: 8+16=24, Resulting Numbers: [96, 87, 24]
Generated Node #0,1: 89:[96, 87, 24] Operation: 8+16=24
Exploring Operation: 8+87=95, Resulting Numbers: [96, 16, 95]
Generated Node #0,2: 89:[96, 16, 95] Operation: 8+87=95
Exploring Operation: 8*16=128, Resulting Numbers: [96, 87, 128]
Generated Node #0,3: 89:[96, 87, 128] Operation: 8*16=128
Moving to Node #0,3
Current State: 89:[96, 87, 128], Operations: ['8*16=128']
Exploring Operation: 96+87=183, Resulting Numbers: [128, 183]
Generated Node #0,3,0: 89:[128, 183] Operation: 96+87=183
Exploring Operation: 96-87=9, Resulting Numbers: [128, 9]
Generated Node #0,3,1: 89:[128, 9] Operation: 96-87=9
Exploring Operation: 128-96=32, Resulting Numbers: [87, 32]
Generated Node #0,3,2: 89:[87, 32] Operation: 128-96=32
Exploring Operation: 128-87=41, Resulting Numbers: [96, 41]
Generated Node #0,3,3: 89:[96, 41] Operation: 128-87=41
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[96, 41], Operations: ['8*16=128', '128-87=41']
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,89 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,89 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: 89:[87, 32], Operations: ['8*16=128', '128-96=32']
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,89 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: 89:[128, 9], Operations: ['8*16=128', '96-87=9']
Exploring Operation: 128*9=1152, Resulting Numbers: [1152]
1152,89 unequal: No Solution
Exploring Operation: 128-9=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 128+9=137, Resulting Numbers: [137]
137,89 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: 89:[128, 183], Operations: ['8*16=128', '96+87=183']
Exploring Operation: 128+183=311, Resulting Numbers: [311]
311,89 unequal: No Solution
Exploring Operation: 183-128=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 128*183=23424, Resulting Numbers: [23424]
23424,89 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: 89:[96, 87, 24], Operations: ['8+16=24']
Exploring Operation: 96+24=120, Resulting Numbers: [87, 120]
Generated Node #0,1,0: 89:[87, 120] Operation: 96+24=120
Exploring Operation: 96-24=72, Resulting Numbers: [87, 72]
Generated Node #0,1,1: 89:[87, 72] Operation: 96-24=72
Exploring Operation: 87-24=63, Resulting Numbers: [96, 63]
Generated Node #0,1,2: 89:[96, 63] Operation: 87-24=63
Exploring Operation: 87+24=111, Resulting Numbers: [96, 111]
Generated Node #0,1,3: 89:[96, 111] Operation: 87+24=111
Moving to Node #0,0
Current State: 89:[87, 16, 88], Operations: ['96-8=88']
Exploring Operation: 16+88=104, Resulting Numbers: [87, 104]
Generated Node #0,0,0: 89:[87, 104] Operation: 16+88=104
Exploring Operation: 87+16=103, Resulting Numbers: [88, 103]
Generated Node #0,0,1: 89:[88, 103] Operation: 87+16=103
Exploring Operation: 87-16=71, Resulting Numbers: [88, 71]
Generated Node #0,0,2: 89:[88, 71] Operation: 87-16=71
Exploring Operation: 88-16=72, Resulting Numbers: [87, 72]
Generated Node #0,0,3: 89:[87, 72] Operation: 88-16=72
Moving to Node #0,2
Current State: 89:[96, 16, 95], Operations: ['8+87=95']
Exploring Operation: 96-16=80, Resulting Numbers: [95, 80]
Generated Node #0,2,0: 89:[95, 80] Operation: 96-16=80
Exploring Operation: 96+16=112, Resulting Numbers: [95, 112]
Generated Node #0,2,1: 89:[95, 112] Operation: 96+16=112
Exploring Operation: 95-16=79, Resulting Numbers: [96, 79]
Generated Node #0,2,2: 89:[96, 79] Operation: 95-16=79
Exploring Operation: 16+95=111, Resulting Numbers: [96, 111]
Generated Node #0,2,3: 89:[96, 111] Operation: 16+95=111
Moving to Node #0,0,1
Current State: 89:[88, 103], Operations: ['96-8=88', '87+16=103']
Exploring Operation: 103-88=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 88*103=9064, Resulting Numbers: [9064]
9064,89 unequal: No Solution
Exploring Operation: 88+103=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[95, 80], Operations: ['8+87=95', '96-16=80']
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 95*80=7600, Resulting Numbers: [7600]
7600,89 unequal: No Solution
Exploring Operation: 95+80=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[87, 104], Operations: ['96-8=88', '16+88=104']
Exploring Operation: 87*104=9048, Resulting Numbers: [9048]
9048,89 unequal: No Solution
Exploring Operation: 104-87=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 87+104=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[96, 79], Operations: ['8+87=95', '95-16=79']
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 96*79=7584, Resulting Numbers: [7584]
7584,89 unequal: No Solution
Exploring Operation: 96+79=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[88, 71], Operations: ['96-8=88', '87-16=71']
Exploring Operation: 88-71=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 88+71=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 88*71=6248, Resulting Numbers: [6248]
6248,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[87, 72], Operations: ['8+16=24', '96-24=72']
Exploring Operation: 87+72=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 87*72=6264, Resulting Numbers: [6264]
6264,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[87, 72], Operations: ['96-8=88', '88-16=72']
Exploring Operation: 87+72=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 87*72=6264, Resulting Numbers: [6264]
6264,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[96, 111], Operations: ['8+87=95', '16+95=111']
Exploring Operation: 96*111=10656, Resulting Numbers: [10656]
10656,89 unequal: No Solution
Exploring Operation: 96+111=207, Resulting Numbers: [207]
207,89 unequal: No Solution
Exploring Operation: 111-96=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[96, 111], Operations: ['8+16=24', '87+24=111']
Exploring Operation: 96+111=207, Resulting Numbers: [207]
207,89 unequal: No Solution
Exploring Operation: 96*111=10656, Resulting Numbers: [10656]
10656,89 unequal: No Solution
Exploring Operation: 111-96=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[95, 112], Operations: ['8+87=95', '96+16=112']
Exploring Operation: 95+112=207, Resulting Numbers: [207]
207,89 unequal: No Solution
Exploring Operation: 112-95=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 95*112=10640, Resulting Numbers: [10640]
10640,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[96, 63], Operations: ['8+16=24', '87-24=63']
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,89 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,89 unequal: No Solution
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[87, 120], Operations: ['8+16=24', '96+24=120']
Exploring Operation: 87*120=10440, Resulting Numbers: [10440]
10440,89 unequal: No Solution
Exploring Operation: 87+120=207, Resulting Numbers: [207]
207,89 unequal: No Solution
Exploring Operation: 120-87=33, Resulting Numbers: [33]
33,89 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
52,
91,
91,
68
] | 52 | [
"91-91=0",
"68*0=0",
"52+0=52"
] | Current State: 52:[52, 91, 91, 68], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [52, 68, 0]
Generated Node #2: [52, 68, 0] from Operation: 91-91=0
Current State: 52:[52, 68, 0], Operations: ['91-91=0']
Exploring Operation: 68*0=0, Resulting Numbers: [52, 0]
Generated Node #3: [52, 0] from Operation: 68*0=0
Current State: 52:[52, 0], Operations: ['91-91=0', '68*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[52, 91, 91, 68], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [52, 68, 0]
Generated Node #0,0: 52:[52, 68, 0] Operation: 91-91=0
Exploring Operation: 91/91=1, Resulting Numbers: [52, 68, 1]
Generated Node #0,1: 52:[52, 68, 1] Operation: 91/91=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[52, 68, 1], Operations: ['91/91=1']
Exploring Operation: 68-52=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 52:[1, 16] Operation: 68-52=16
Exploring Operation: 68-1=67, Resulting Numbers: [52, 67]
Generated Node #0,1,1: 52:[52, 67] Operation: 68-1=67
Moving to Node #0,1,0
Current State: 52:[1, 16], Operations: ['91/91=1', '68-52=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[52, 67], Operations: ['91/91=1', '68-1=67']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,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,0
Current State: 52:[52, 68, 0], Operations: ['91-91=0']
Exploring Operation: 68*0=0, Resulting Numbers: [52, 0]
Generated Node #0,0,0: 52:[52, 0] Operation: 68*0=0
Exploring Operation: 68-52=16, Resulting Numbers: [0, 16]
Generated Node #0,0,1: 52:[0, 16] Operation: 68-52=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[52, 0], Operations: ['91-91=0', '68*0=0']
Exploring Operation: 52-0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[52, 91, 91, 68], Operations: []
Exploring Operation: 91-91=0, Resulting Numbers: [52, 68, 0]
Generated Node #0,0: 52:[52, 68, 0] Operation: 91-91=0
Moving to Node #0,0
Current State: 52:[52, 68, 0], Operations: ['91-91=0']
Exploring Operation: 68*0=0, Resulting Numbers: [52, 0]
Generated Node #0,0,0: 52:[52, 0] Operation: 68*0=0
Moving to Node #0,0,0
Current State: 52:[52, 0], Operations: ['91-91=0', '68*0=0']
Exploring Operation: 52-0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
94,
78,
2,
68
] | 18 | [
"94+78=172",
"172/2=86",
"86-68=18"
] | Current State: 18:[94, 78, 2, 68], Operations: []
Exploring Operation: 94+78=172, Resulting Numbers: [2, 68, 172]
Generated Node #2: [2, 68, 172] from Operation: 94+78=172
Current State: 18:[2, 68, 172], Operations: ['94+78=172']
Exploring Operation: 172/2=86, Resulting Numbers: [68, 86]
Generated Node #3: [68, 86] from Operation: 172/2=86
Current State: 18:[68, 86], Operations: ['94+78=172', '172/2=86']
Exploring Operation: 86-68=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[94, 78, 2, 68], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [2, 68, 16]
Generated Node #0,0: 18:[2, 68, 16] Operation: 94-78=16
Exploring Operation: 94-68=26, Resulting Numbers: [78, 2, 26]
Generated Node #0,1: 18:[78, 2, 26] Operation: 94-68=26
Exploring Operation: 78-68=10, Resulting Numbers: [94, 2, 10]
Generated Node #0,2: 18:[94, 2, 10] Operation: 78-68=10
Exploring Operation: 94/2=47, Resulting Numbers: [78, 68, 47]
Generated Node #0,3: 18:[78, 68, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[2, 68, 16], Operations: ['94-78=16']
Exploring Operation: 68-16=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 18:[2, 52] Operation: 68-16=52
Exploring Operation: 2+16=18, Resulting Numbers: [68, 18]
Generated Node #0,0,1: 18:[68, 18] Operation: 2+16=18
Exploring Operation: 68-2=66, Resulting Numbers: [16, 66]
Generated Node #0,0,2: 18:[16, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [16, 34]
Generated Node #0,0,3: 18:[16, 34] Operation: 68/2=34
Moving to Node #0,0,3
Current State: 18:[16, 34], Operations: ['94-78=16', '68/2=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[94, 78, 2, 68], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [2, 68, 16]
Generated Node #0,0: 18:[2, 68, 16] Operation: 94-78=16
Moving to Node #0,0
Current State: 18:[2, 68, 16], Operations: ['94-78=16']
Exploring Operation: 68/2=34, Resulting Numbers: [16, 34]
Generated Node #0,0,3: 18:[16, 34] Operation: 68/2=34
Moving to Node #0,0,3
Current State: 18:[16, 34], Operations: ['94-78=16', '68/2=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
79,
15,
54,
57
] | 61 | [
"79-15=64",
"57-54=3",
"64-3=61"
] | Current State: 61:[79, 15, 54, 57], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [54, 57, 64]
Generated Node #2: [54, 57, 64] from Operation: 79-15=64
Current State: 61:[54, 57, 64], Operations: ['79-15=64']
Exploring Operation: 57-54=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 57-54=3
Current State: 61:[64, 3], Operations: ['79-15=64', '57-54=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[79, 15, 54, 57], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [54, 57, 64]
Generated Node #0,0: 61:[54, 57, 64] Operation: 79-15=64
Exploring Operation: 15+54=69, Resulting Numbers: [79, 57, 69]
Generated Node #0,1: 61:[79, 57, 69] Operation: 15+54=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[54, 57, 64], Operations: ['79-15=64']
Exploring Operation: 54+57=111, Resulting Numbers: [64, 111]
Generated Node #0,0,0: 61:[64, 111] Operation: 54+57=111
Exploring Operation: 64-54=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 61:[57, 10] Operation: 64-54=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[64, 111], Operations: ['79-15=64', '54+57=111']
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 64+111=175, Resulting Numbers: [175]
175,61 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: 61:[57, 10], Operations: ['79-15=64', '64-54=10']
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,61 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: 61:[79, 57, 69], Operations: ['15+54=69']
Exploring Operation: 79-69=10, Resulting Numbers: [57, 10]
Generated Node #0,1,0: 61:[57, 10] Operation: 79-69=10
Exploring Operation: 79-57=22, Resulting Numbers: [69, 22]
Generated Node #0,1,1: 61:[69, 22] Operation: 79-57=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[69, 22], Operations: ['15+54=69', '79-57=22']
Exploring Operation: 69+22=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,61 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: 61:[57, 10], Operations: ['15+54=69', '79-69=10']
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,61 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 |
[
45,
5,
80,
24
] | 53 | [
"45+24=69",
"80/5=16",
"69-16=53"
] | Current State: 53:[45, 5, 80, 24], Operations: []
Exploring Operation: 45+24=69, Resulting Numbers: [5, 80, 69]
Generated Node #2: [5, 80, 69] from Operation: 45+24=69
Current State: 53:[5, 80, 69], Operations: ['45+24=69']
Exploring Operation: 80/5=16, Resulting Numbers: [69, 16]
Generated Node #3: [69, 16] from Operation: 80/5=16
Current State: 53:[69, 16], Operations: ['45+24=69', '80/5=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[45, 5, 80, 24], Operations: []
Exploring Operation: 80-5=75, Resulting Numbers: [45, 24, 75]
Generated Node #0,0: 53:[45, 24, 75] Operation: 80-5=75
Exploring Operation: 5+24=29, Resulting Numbers: [45, 80, 29]
Generated Node #0,1: 53:[45, 80, 29] Operation: 5+24=29
Exploring Operation: 45+5=50, Resulting Numbers: [80, 24, 50]
Generated Node #0,2: 53:[80, 24, 50] Operation: 45+5=50
Moving to Node #0,0
Current State: 53:[45, 24, 75], Operations: ['80-5=75']
Exploring Operation: 45+24=69, Resulting Numbers: [75, 69]
Generated Node #0,0,0: 53:[75, 69] Operation: 45+24=69
Exploring Operation: 75-45=30, Resulting Numbers: [24, 30]
Generated Node #0,0,1: 53:[24, 30] Operation: 75-45=30
Exploring Operation: 75-24=51, Resulting Numbers: [45, 51]
Generated Node #0,0,2: 53:[45, 51] Operation: 75-24=51
Moving to Node #0,1
Current State: 53:[45, 80, 29], Operations: ['5+24=29']
Exploring Operation: 45+29=74, Resulting Numbers: [80, 74]
Generated Node #0,1,0: 53:[80, 74] Operation: 45+29=74
Exploring Operation: 80-45=35, Resulting Numbers: [29, 35]
Generated Node #0,1,1: 53:[29, 35] Operation: 80-45=35
Exploring Operation: 80-29=51, Resulting Numbers: [45, 51]
Generated Node #0,1,2: 53:[45, 51] Operation: 80-29=51
Moving to Node #0,2
Current State: 53:[80, 24, 50], Operations: ['45+5=50']
Exploring Operation: 80-24=56, Resulting Numbers: [50, 56]
Generated Node #0,2,0: 53:[50, 56] Operation: 80-24=56
Exploring Operation: 80-50=30, Resulting Numbers: [24, 30]
Generated Node #0,2,1: 53:[24, 30] Operation: 80-50=30
Exploring Operation: 24+50=74, Resulting Numbers: [80, 74]
Generated Node #0,2,2: 53:[80, 74] Operation: 24+50=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[50, 56], Operations: ['45+5=50', '80-24=56']
Exploring Operation: 50+56=106, Resulting Numbers: [106]
106,53 unequal: No Solution
Exploring Operation: 56-50=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 50*56=2800, Resulting Numbers: [2800]
2800,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:[80, 74], Operations: ['45+5=50', '24+50=74']
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,53 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,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,1
Current State: 53:[24, 30], Operations: ['45+5=50', '80-50=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,53 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,53 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: 53:[45, 51], Operations: ['80-5=75', '75-24=51']
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,53 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[45, 51], Operations: ['5+24=29', '80-29=51']
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,53 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[75, 69], Operations: ['80-5=75', '45+24=69']
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 75*69=5175, Resulting Numbers: [5175]
5175,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[29, 35], Operations: ['5+24=29', '80-45=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,53 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[80, 74], Operations: ['5+24=29', '45+29=74']
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,53 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[24, 30], Operations: ['80-5=75', '75-45=30']
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,53 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
59,
19,
3
] | 61 | [
"25-19=6",
"6/3=2",
"59+2=61"
] | Current State: 61:[25, 59, 19, 3], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [59, 3, 6]
Generated Node #2: [59, 3, 6] from Operation: 25-19=6
Current State: 61:[59, 3, 6], Operations: ['25-19=6']
Exploring Operation: 6/3=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 6/3=2
Current State: 61:[59, 2], Operations: ['25-19=6', '6/3=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[25, 59, 19, 3], Operations: []
Exploring Operation: 19*3=57, Resulting Numbers: [25, 59, 57]
Generated Node #0,0: 61:[25, 59, 57] Operation: 19*3=57
Moving to Node #0,0
Current State: 61:[25, 59, 57], Operations: ['19*3=57']
Exploring Operation: 25+57=82, Resulting Numbers: [59, 82]
Generated Node #0,0,0: 61:[59, 82] Operation: 25+57=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[59, 82], Operations: ['19*3=57', '25+57=82']
Exploring Operation: 82-59=23, Resulting Numbers: [23]
23,61 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 |
[
2,
8,
31,
40
] | 81 | [
"2+8=10",
"31+40=71",
"10+71=81"
] | Current State: 81:[2, 8, 31, 40], Operations: []
Exploring Operation: 2+8=10, Resulting Numbers: [31, 40, 10]
Generated Node #2: [31, 40, 10] from Operation: 2+8=10
Current State: 81:[31, 40, 10], Operations: ['2+8=10']
Exploring Operation: 31+40=71, Resulting Numbers: [10, 71]
Generated Node #3: [10, 71] from Operation: 31+40=71
Current State: 81:[10, 71], Operations: ['2+8=10', '31+40=71']
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[2, 8, 31, 40], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [2, 31, 5]
Generated Node #0,0: 81:[2, 31, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [2, 31, 32]
Generated Node #0,1: 81:[2, 31, 32] Operation: 40-8=32
Exploring Operation: 40-31=9, Resulting Numbers: [2, 8, 9]
Generated Node #0,2: 81:[2, 8, 9] Operation: 40-31=9
Exploring Operation: 2*40=80, Resulting Numbers: [8, 31, 80]
Generated Node #0,3: 81:[8, 31, 80] Operation: 2*40=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[2, 8, 9], Operations: ['40-31=9']
Exploring Operation: 8/2=4, Resulting Numbers: [9, 4]
Generated Node #0,2,0: 81:[9, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [9, 6]
Generated Node #0,2,1: 81:[9, 6] Operation: 8-2=6
Exploring Operation: 2+8=10, Resulting Numbers: [9, 10]
Generated Node #0,2,2: 81:[9, 10] Operation: 2+8=10
Exploring Operation: 2+9=11, Resulting Numbers: [8, 11]
Generated Node #0,2,3: 81:[8, 11] Operation: 2+9=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[9, 4], Operations: ['40-31=9', '8/2=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,81 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: 81:[9, 10], Operations: ['40-31=9', '2+8=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,81 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: 81:[9, 6], Operations: ['40-31=9', '8-2=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,81 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: 81:[8, 11], Operations: ['40-31=9', '2+9=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,81 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,81 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: 81:[8, 31, 80], Operations: ['2*40=80']
Exploring Operation: 80/8=10, Resulting Numbers: [31, 10]
Generated Node #0,3,0: 81:[31, 10] Operation: 80/8=10
Exploring Operation: 8+31=39, Resulting Numbers: [80, 39]
Generated Node #0,3,1: 81:[80, 39] Operation: 8+31=39
Exploring Operation: 31-8=23, Resulting Numbers: [80, 23]
Generated Node #0,3,2: 81:[80, 23] Operation: 31-8=23
Exploring Operation: 8+80=88, Resulting Numbers: [31, 88]
Generated Node #0,3,3: 81:[31, 88] Operation: 8+80=88
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[31, 10], Operations: ['2*40=80', '80/8=10']
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,81 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,81 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: 81:[80, 23], Operations: ['2*40=80', '31-8=23']
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,81 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,81 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: 81:[31, 88], Operations: ['2*40=80', '8+80=88']
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,81 unequal: No Solution
Exploring Operation: 31*88=2728, Resulting Numbers: [2728]
2728,81 unequal: No Solution
Exploring Operation: 31+88=119, Resulting Numbers: [119]
119,81 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: 81:[80, 39], Operations: ['2*40=80', '8+31=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,81 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,81 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: 81:[2, 31, 5], Operations: ['40/8=5']
Exploring Operation: 5-2=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 81:[31, 3] Operation: 5-2=3
Exploring Operation: 31-2=29, Resulting Numbers: [5, 29]
Generated Node #0,0,1: 81:[5, 29] Operation: 31-2=29
Exploring Operation: 31-5=26, Resulting Numbers: [2, 26]
Generated Node #0,0,2: 81:[2, 26] Operation: 31-5=26
Exploring Operation: 2*5=10, Resulting Numbers: [31, 10]
Generated Node #0,0,3: 81:[31, 10] Operation: 2*5=10
Moving to Node #0,0,2
Current State: 81:[2, 26], Operations: ['40/8=5', '31-5=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[5, 29], Operations: ['40/8=5', '31-2=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[31, 3], Operations: ['40/8=5', '5-2=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,81 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[31, 10], Operations: ['40/8=5', '2*5=10']
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,81 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,81 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: 81:[2, 31, 32], Operations: ['40-8=32']
Exploring Operation: 2+31=33, Resulting Numbers: [32, 33]
Generated Node #0,1,0: 81:[32, 33] Operation: 2+31=33
Exploring Operation: 32-31=1, Resulting Numbers: [2, 1]
Generated Node #0,1,1: 81:[2, 1] Operation: 32-31=1
Exploring Operation: 32-2=30, Resulting Numbers: [31, 30]
Generated Node #0,1,2: 81:[31, 30] Operation: 32-2=30
Exploring Operation: 31-2=29, Resulting Numbers: [32, 29]
Generated Node #0,1,3: 81:[32, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[2, 1], Operations: ['40-8=32', '32-31=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,81 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: 81:[31, 30], Operations: ['40-8=32', '32-2=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,81 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: 81:[32, 29], Operations: ['40-8=32', '31-2=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,81 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,81 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: 81:[32, 33], Operations: ['40-8=32', '2+31=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,81 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 |
[
2,
46,
16,
93
] | 33 | [
"46-2=44",
"93-16=77",
"77-44=33"
] | Current State: 33:[2, 46, 16, 93], Operations: []
Exploring Operation: 46-2=44, Resulting Numbers: [16, 93, 44]
Generated Node #2: [16, 93, 44] from Operation: 46-2=44
Current State: 33:[16, 93, 44], Operations: ['46-2=44']
Exploring Operation: 93-16=77, Resulting Numbers: [44, 77]
Generated Node #3: [44, 77] from Operation: 93-16=77
Current State: 33:[44, 77], Operations: ['46-2=44', '93-16=77']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[2, 46, 16, 93], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [2, 16, 47]
Generated Node #0,0: 33:[2, 16, 47] Operation: 93-46=47
Exploring Operation: 93-16=77, Resulting Numbers: [2, 46, 77]
Generated Node #0,1: 33:[2, 46, 77] Operation: 93-16=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[2, 16, 47], Operations: ['93-46=47']
Exploring Operation: 2*16=32, Resulting Numbers: [47, 32]
Generated Node #0,0,0: 33:[47, 32] Operation: 2*16=32
Exploring Operation: 47-16=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 33:[2, 31] Operation: 47-16=31
Moving to Node #0,0,1
Current State: 33:[2, 31], Operations: ['93-46=47', '47-16=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[2, 46, 16, 93], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [2, 16, 47]
Generated Node #0,0: 33:[2, 16, 47] Operation: 93-46=47
Moving to Node #0,0
Current State: 33:[2, 16, 47], Operations: ['93-46=47']
Exploring Operation: 47-16=31, Resulting Numbers: [2, 31]
Generated Node #0,0,1: 33:[2, 31] Operation: 47-16=31
Moving to Node #0,0,1
Current State: 33:[2, 31], Operations: ['93-46=47', '47-16=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
4,
10,
24,
59
] | 14 | [
"59-24=35",
"4*35=140",
"140/10=14"
] | Current State: 14:[4, 10, 24, 59], Operations: []
Exploring Operation: 59-24=35, Resulting Numbers: [4, 10, 35]
Generated Node #2: [4, 10, 35] from Operation: 59-24=35
Current State: 14:[4, 10, 35], Operations: ['59-24=35']
Exploring Operation: 4*35=140, Resulting Numbers: [10, 140]
Generated Node #3: [10, 140] from Operation: 4*35=140
Current State: 14:[10, 140], Operations: ['59-24=35', '4*35=140']
Exploring Operation: 140/10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[4, 10, 24, 59], Operations: []
Exploring Operation: 24-10=14, Resulting Numbers: [4, 59, 14]
Generated Node #0,0: 14:[4, 59, 14] Operation: 24-10=14
Exploring Operation: 59-10=49, Resulting Numbers: [4, 24, 49]
Generated Node #0,1: 14:[4, 24, 49] Operation: 59-10=49
Exploring Operation: 59-24=35, Resulting Numbers: [4, 10, 35]
Generated Node #0,2: 14:[4, 10, 35] Operation: 59-24=35
Moving to Node #0,2
Current State: 14:[4, 10, 35], Operations: ['59-24=35']
Exploring Operation: 35-4=31, Resulting Numbers: [10, 31]
Generated Node #0,2,0: 14:[10, 31] Operation: 35-4=31
Exploring Operation: 4+10=14, Resulting Numbers: [35, 14]
Generated Node #0,2,1: 14:[35, 14] Operation: 4+10=14
Exploring Operation: 35-10=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 14:[4, 25] Operation: 35-10=25
Moving to Node #0,0
Current State: 14:[4, 59, 14], Operations: ['24-10=14']
Exploring Operation: 14-4=10, Resulting Numbers: [59, 10]
Generated Node #0,0,0: 14:[59, 10] Operation: 14-4=10
Exploring Operation: 59-14=45, Resulting Numbers: [4, 45]
Generated Node #0,0,1: 14:[4, 45] Operation: 59-14=45
Exploring Operation: 59-4=55, Resulting Numbers: [14, 55]
Generated Node #0,0,2: 14:[14, 55] Operation: 59-4=55
Moving to Node #0,1
Current State: 14:[4, 24, 49], Operations: ['59-10=49']
Exploring Operation: 49-24=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 14:[4, 25] Operation: 49-24=25
Exploring Operation: 24-4=20, Resulting Numbers: [49, 20]
Generated Node #0,1,1: 14:[49, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [49, 6]
Generated Node #0,1,2: 14:[49, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[4, 25], Operations: ['59-10=49', '49-24=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,14 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,14 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: 14:[49, 6], Operations: ['59-10=49', '24/4=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,14 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: 14:[49, 20], Operations: ['59-10=49', '24-4=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,14 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 14:[4, 25], Operations: ['59-24=35', '35-10=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,14 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[10, 31], Operations: ['59-24=35', '35-4=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,14 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[35, 14], Operations: ['59-24=35', '4+10=14']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[4, 45], Operations: ['24-10=14', '59-14=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,14 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[14, 55], Operations: ['24-10=14', '59-4=55']
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[59, 10], Operations: ['24-10=14', '14-4=10']
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,14 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
18,
32,
1,
65
] | 14 | [
"18+32=50",
"65-1=64",
"64-50=14"
] | Current State: 14:[18, 32, 1, 65], Operations: []
Exploring Operation: 18+32=50, Resulting Numbers: [1, 65, 50]
Generated Node #2: [1, 65, 50] from Operation: 18+32=50
Current State: 14:[1, 65, 50], Operations: ['18+32=50']
Exploring Operation: 65-1=64, Resulting Numbers: [50, 64]
Generated Node #3: [50, 64] from Operation: 65-1=64
Current State: 14:[50, 64], Operations: ['18+32=50', '65-1=64']
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[18, 32, 1, 65], Operations: []
Exploring Operation: 65-18=47, Resulting Numbers: [32, 1, 47]
Generated Node #0,0: 14:[32, 1, 47] Operation: 65-18=47
Exploring Operation: 32-18=14, Resulting Numbers: [1, 65, 14]
Generated Node #0,1: 14:[1, 65, 14] Operation: 32-18=14
Exploring Operation: 18-1=17, Resulting Numbers: [32, 65, 17]
Generated Node #0,2: 14:[32, 65, 17] Operation: 18-1=17
Exploring Operation: 65-32=33, Resulting Numbers: [18, 1, 33]
Generated Node #0,3: 14:[18, 1, 33] Operation: 65-32=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[18, 1, 33], Operations: ['65-32=33']
Exploring Operation: 18-1=17, Resulting Numbers: [33, 17]
Generated Node #0,3,0: 14:[33, 17] Operation: 18-1=17
Exploring Operation: 33-1=32, Resulting Numbers: [18, 32]
Generated Node #0,3,1: 14:[18, 32] Operation: 33-1=32
Exploring Operation: 33-18=15, Resulting Numbers: [1, 15]
Generated Node #0,3,2: 14:[1, 15] Operation: 33-18=15
Exploring Operation: 18*1=18, Resulting Numbers: [33, 18]
Generated Node #0,3,3: 14:[33, 18] Operation: 18*1=18
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 14:[1, 15], Operations: ['65-32=33', '33-18=15']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[18, 32, 1, 65], Operations: []
Exploring Operation: 65-32=33, Resulting Numbers: [18, 1, 33]
Generated Node #0,3: 14:[18, 1, 33] Operation: 65-32=33
Moving to Node #0,3
Current State: 14:[18, 1, 33], Operations: ['65-32=33']
Exploring Operation: 33-18=15, Resulting Numbers: [1, 15]
Generated Node #0,3,2: 14:[1, 15] Operation: 33-18=15
Moving to Node #0,3,2
Current State: 14:[1, 15], Operations: ['65-32=33', '33-18=15']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
90,
92,
39,
19
] | 56 | [
"92-90=2",
"39+19=58",
"58-2=56"
] | Current State: 56:[90, 92, 39, 19], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [39, 19, 2]
Generated Node #2: [39, 19, 2] from Operation: 92-90=2
Current State: 56:[39, 19, 2], Operations: ['92-90=2']
Exploring Operation: 39+19=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 39+19=58
Current State: 56:[2, 58], Operations: ['92-90=2', '39+19=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[90, 92, 39, 19], Operations: []
Exploring Operation: 90-39=51, Resulting Numbers: [92, 19, 51]
Generated Node #0,0: 56:[92, 19, 51] Operation: 90-39=51
Exploring Operation: 92-39=53, Resulting Numbers: [90, 19, 53]
Generated Node #0,1: 56:[90, 19, 53] Operation: 92-39=53
Exploring Operation: 92-90=2, Resulting Numbers: [39, 19, 2]
Generated Node #0,2: 56:[39, 19, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[39, 19, 2], Operations: ['92-90=2']
Exploring Operation: 39+19=58, Resulting Numbers: [2, 58]
Generated Node #0,2,0: 56:[2, 58] Operation: 39+19=58
Exploring Operation: 39-2=37, Resulting Numbers: [19, 37]
Generated Node #0,2,1: 56:[19, 37] Operation: 39-2=37
Exploring Operation: 39-19=20, Resulting Numbers: [2, 20]
Generated Node #0,2,2: 56:[2, 20] Operation: 39-19=20
Moving to Node #0,2,0
Current State: 56:[2, 58], Operations: ['92-90=2', '39+19=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[90, 92, 39, 19], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [39, 19, 2]
Generated Node #0,2: 56:[39, 19, 2] Operation: 92-90=2
Moving to Node #0,2
Current State: 56:[39, 19, 2], Operations: ['92-90=2']
Exploring Operation: 39+19=58, Resulting Numbers: [2, 58]
Generated Node #0,2,0: 56:[2, 58] Operation: 39+19=58
Moving to Node #0,2,0
Current State: 56:[2, 58], Operations: ['92-90=2', '39+19=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
60,
14,
87,
1
] | 42 | [
"60-14=46",
"87+1=88",
"88-46=42"
] | Current State: 42:[60, 14, 87, 1], Operations: []
Exploring Operation: 60-14=46, Resulting Numbers: [87, 1, 46]
Generated Node #2: [87, 1, 46] from Operation: 60-14=46
Current State: 42:[87, 1, 46], Operations: ['60-14=46']
Exploring Operation: 87+1=88, Resulting Numbers: [46, 88]
Generated Node #3: [46, 88] from Operation: 87+1=88
Current State: 42:[46, 88], Operations: ['60-14=46', '87+1=88']
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[60, 14, 87, 1], Operations: []
Exploring Operation: 60-1=59, Resulting Numbers: [14, 87, 59]
Generated Node #0,0: 42:[14, 87, 59] Operation: 60-1=59
Exploring Operation: 87-14=73, Resulting Numbers: [60, 1, 73]
Generated Node #0,1: 42:[60, 1, 73] Operation: 87-14=73
Exploring Operation: 87-60=27, Resulting Numbers: [14, 1, 27]
Generated Node #0,2: 42:[14, 1, 27] Operation: 87-60=27
Exploring Operation: 60-14=46, Resulting Numbers: [87, 1, 46]
Generated Node #0,3: 42:[87, 1, 46] Operation: 60-14=46
Moving to Node #0,2
Current State: 42:[14, 1, 27], Operations: ['87-60=27']
Exploring Operation: 14+27=41, Resulting Numbers: [1, 41]
Generated Node #0,2,0: 42:[1, 41] Operation: 14+27=41
Exploring Operation: 14*1=14, Resulting Numbers: [27, 14]
Generated Node #0,2,1: 42:[27, 14] Operation: 14*1=14
Exploring Operation: 27-1=26, Resulting Numbers: [14, 26]
Generated Node #0,2,2: 42:[14, 26] Operation: 27-1=26
Exploring Operation: 27-14=13, Resulting Numbers: [1, 13]
Generated Node #0,2,3: 42:[1, 13] Operation: 27-14=13
Moving to Node #0,3
Current State: 42:[87, 1, 46], Operations: ['60-14=46']
Exploring Operation: 46-1=45, Resulting Numbers: [87, 45]
Generated Node #0,3,0: 42:[87, 45] Operation: 46-1=45
Exploring Operation: 87-46=41, Resulting Numbers: [1, 41]
Generated Node #0,3,1: 42:[1, 41] Operation: 87-46=41
Exploring Operation: 87*1=87, Resulting Numbers: [46, 87]
Generated Node #0,3,2: 42:[46, 87] Operation: 87*1=87
Exploring Operation: 87-1=86, Resulting Numbers: [46, 86]
Generated Node #0,3,3: 42:[46, 86] Operation: 87-1=86
Moving to Node #0,1
Current State: 42:[60, 1, 73], Operations: ['87-14=73']
Exploring Operation: 60-1=59, Resulting Numbers: [73, 59]
Generated Node #0,1,0: 42:[73, 59] Operation: 60-1=59
Exploring Operation: 73-1=72, Resulting Numbers: [60, 72]
Generated Node #0,1,1: 42:[60, 72] Operation: 73-1=72
Exploring Operation: 60*1=60, Resulting Numbers: [73, 60]
Generated Node #0,1,2: 42:[73, 60] Operation: 60*1=60
Exploring Operation: 73-60=13, Resulting Numbers: [1, 13]
Generated Node #0,1,3: 42:[1, 13] Operation: 73-60=13
Moving to Node #0,0
Current State: 42:[14, 87, 59], Operations: ['60-1=59']
Exploring Operation: 59-14=45, Resulting Numbers: [87, 45]
Generated Node #0,0,0: 42:[87, 45] Operation: 59-14=45
Exploring Operation: 87-59=28, Resulting Numbers: [14, 28]
Generated Node #0,0,1: 42:[14, 28] Operation: 87-59=28
Exploring Operation: 14+87=101, Resulting Numbers: [59, 101]
Generated Node #0,0,2: 42:[59, 101] Operation: 14+87=101
Exploring Operation: 87-14=73, Resulting Numbers: [59, 73]
Generated Node #0,0,3: 42:[59, 73] Operation: 87-14=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[14, 28], Operations: ['60-1=59', '87-59=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[60, 14, 87, 1], Operations: []
Exploring Operation: 60-1=59, Resulting Numbers: [14, 87, 59]
Generated Node #0,0: 42:[14, 87, 59] Operation: 60-1=59
Moving to Node #0,0
Current State: 42:[14, 87, 59], Operations: ['60-1=59']
Exploring Operation: 87-59=28, Resulting Numbers: [14, 28]
Generated Node #0,0,1: 42:[14, 28] Operation: 87-59=28
Moving to Node #0,0,1
Current State: 42:[14, 28], Operations: ['60-1=59', '87-59=28']
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
78,
18,
82,
63
] | 41 | [
"78-18=60",
"82-63=19",
"60-19=41"
] | Current State: 41:[78, 18, 82, 63], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [82, 63, 60]
Generated Node #2: [82, 63, 60] from Operation: 78-18=60
Current State: 41:[82, 63, 60], Operations: ['78-18=60']
Exploring Operation: 82-63=19, Resulting Numbers: [60, 19]
Generated Node #3: [60, 19] from Operation: 82-63=19
Current State: 41:[60, 19], Operations: ['78-18=60', '82-63=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[78, 18, 82, 63], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [82, 63, 60]
Generated Node #0,0: 41:[82, 63, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[82, 63, 60], Operations: ['78-18=60']
Exploring Operation: 82-63=19, Resulting Numbers: [60, 19]
Generated Node #0,0,0: 41:[60, 19] Operation: 82-63=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[60, 19], Operations: ['78-18=60', '82-63=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[78, 18, 82, 63], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [82, 63, 60]
Generated Node #0,0: 41:[82, 63, 60] Operation: 78-18=60
Moving to Node #0,0
Current State: 41:[82, 63, 60], Operations: ['78-18=60']
Exploring Operation: 82-63=19, Resulting Numbers: [60, 19]
Generated Node #0,0,0: 41:[60, 19] Operation: 82-63=19
Moving to Node #0,0,0
Current State: 41:[60, 19], Operations: ['78-18=60', '82-63=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
77,
15,
97,
37
] | 81 | [
"97-37=60",
"60/15=4",
"77+4=81"
] | Current State: 81:[77, 15, 97, 37], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [77, 15, 60]
Generated Node #2: [77, 15, 60] from Operation: 97-37=60
Current State: 81:[77, 15, 60], Operations: ['97-37=60']
Exploring Operation: 60/15=4, Resulting Numbers: [77, 4]
Generated Node #3: [77, 4] from Operation: 60/15=4
Current State: 81:[77, 4], Operations: ['97-37=60', '60/15=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[77, 15, 97, 37], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [77, 97, 22]
Generated Node #0,0: 81:[77, 97, 22] Operation: 37-15=22
Exploring Operation: 77-37=40, Resulting Numbers: [15, 97, 40]
Generated Node #0,1: 81:[15, 97, 40] Operation: 77-37=40
Exploring Operation: 97-77=20, Resulting Numbers: [15, 37, 20]
Generated Node #0,2: 81:[15, 37, 20] Operation: 97-77=20
Exploring Operation: 97-37=60, Resulting Numbers: [77, 15, 60]
Generated Node #0,3: 81:[77, 15, 60] Operation: 97-37=60
Exploring Operation: 97-15=82, Resulting Numbers: [77, 37, 82]
Generated Node #0,4: 81:[77, 37, 82] Operation: 97-15=82
Moving to Node #0,4
Current State: 81:[77, 37, 82], Operations: ['97-15=82']
Exploring Operation: 82-37=45, Resulting Numbers: [77, 45]
Generated Node #0,4,0: 81:[77, 45] Operation: 82-37=45
Exploring Operation: 82-77=5, Resulting Numbers: [37, 5]
Generated Node #0,4,1: 81:[37, 5] Operation: 82-77=5
Exploring Operation: 77-37=40, Resulting Numbers: [82, 40]
Generated Node #0,4,2: 81:[82, 40] Operation: 77-37=40
Exploring Operation: 77+37=114, Resulting Numbers: [82, 114]
Generated Node #0,4,3: 81:[82, 114] Operation: 77+37=114
Exploring Operation: 37+82=119, Resulting Numbers: [77, 119]
Generated Node #0,4,4: 81:[77, 119] Operation: 37+82=119
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 81:[37, 5], Operations: ['97-15=82', '82-77=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,81 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: 81:[82, 40], Operations: ['97-15=82', '77-37=40']
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,81 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,81 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: 81:[77, 45], Operations: ['97-15=82', '82-37=45']
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,81 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,81 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: 81:[82, 114], Operations: ['97-15=82', '77+37=114']
Exploring Operation: 82+114=196, Resulting Numbers: [196]
196,81 unequal: No Solution
Exploring Operation: 82*114=9348, Resulting Numbers: [9348]
9348,81 unequal: No Solution
Exploring Operation: 114-82=32, Resulting Numbers: [32]
32,81 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: 81:[77, 119], Operations: ['97-15=82', '37+82=119']
Exploring Operation: 119-77=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 77+119=196, Resulting Numbers: [196]
196,81 unequal: No Solution
Exploring Operation: 77*119=9163, Resulting Numbers: [9163]
9163,81 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: 81:[15, 37, 20], Operations: ['97-77=20']
Exploring Operation: 37-15=22, Resulting Numbers: [20, 22]
Generated Node #0,2,0: 81:[20, 22] Operation: 37-15=22
Exploring Operation: 15+20=35, Resulting Numbers: [37, 35]
Generated Node #0,2,1: 81:[37, 35] Operation: 15+20=35
Exploring Operation: 37-20=17, Resulting Numbers: [15, 17]
Generated Node #0,2,2: 81:[15, 17] Operation: 37-20=17
Exploring Operation: 20-15=5, Resulting Numbers: [37, 5]
Generated Node #0,2,3: 81:[37, 5] Operation: 20-15=5
Exploring Operation: 37+20=57, Resulting Numbers: [15, 57]
Generated Node #0,2,4: 81:[15, 57] Operation: 37+20=57
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[20, 22], Operations: ['97-77=20', '37-15=22']
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,81 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,81 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: 81:[37, 5], Operations: ['97-77=20', '20-15=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,81 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: 81:[15, 17], Operations: ['97-77=20', '37-20=17']
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,81 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,81 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: 81:[37, 35], Operations: ['97-77=20', '15+20=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,81 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: 81:[15, 57], Operations: ['97-77=20', '37+20=57']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,81 unequal: No Solution
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,81 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: 81:[77, 97, 22], Operations: ['37-15=22']
Exploring Operation: 77-22=55, Resulting Numbers: [97, 55]
Generated Node #0,0,0: 81:[97, 55] Operation: 77-22=55
Exploring Operation: 97+22=119, Resulting Numbers: [77, 119]
Generated Node #0,0,1: 81:[77, 119] Operation: 97+22=119
Exploring Operation: 97-77=20, Resulting Numbers: [22, 20]
Generated Node #0,0,2: 81:[22, 20] Operation: 97-77=20
Exploring Operation: 97-22=75, Resulting Numbers: [77, 75]
Generated Node #0,0,3: 81:[77, 75] Operation: 97-22=75
Exploring Operation: 77+22=99, Resulting Numbers: [97, 99]
Generated Node #0,0,4: 81:[97, 99] Operation: 77+22=99
Moving to Node #0,3
Current State: 81:[77, 15, 60], Operations: ['97-37=60']
Exploring Operation: 60-15=45, Resulting Numbers: [77, 45]
Generated Node #0,3,0: 81:[77, 45] Operation: 60-15=45
Exploring Operation: 77+15=92, Resulting Numbers: [60, 92]
Generated Node #0,3,1: 81:[60, 92] Operation: 77+15=92
Exploring Operation: 60/15=4, Resulting Numbers: [77, 4]
Generated Node #0,3,2: 81:[77, 4] Operation: 60/15=4
Exploring Operation: 77-60=17, Resulting Numbers: [15, 17]
Generated Node #0,3,3: 81:[15, 17] Operation: 77-60=17
Exploring Operation: 15+60=75, Resulting Numbers: [77, 75]
Generated Node #0,3,4: 81:[77, 75] Operation: 15+60=75
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[77, 4], Operations: ['97-37=60', '60/15=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,81 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,81 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[77, 15, 97, 37], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [77, 15, 60]
Generated Node #0,3: 81:[77, 15, 60] Operation: 97-37=60
Moving to Node #0,3
Current State: 81:[77, 15, 60], Operations: ['97-37=60']
Exploring Operation: 60/15=4, Resulting Numbers: [77, 4]
Generated Node #0,3,2: 81:[77, 4] Operation: 60/15=4
Moving to Node #0,3,2
Current State: 81:[77, 4], Operations: ['97-37=60', '60/15=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | mult_heuristic |
[
2,
7,
11,
65
] | 14 | [
"65-2=63",
"7*11=77",
"77-63=14"
] | Current State: 14:[2, 7, 11, 65], Operations: []
Exploring Operation: 65-2=63, Resulting Numbers: [7, 11, 63]
Generated Node #2: [7, 11, 63] from Operation: 65-2=63
Current State: 14:[7, 11, 63], Operations: ['65-2=63']
Exploring Operation: 7*11=77, Resulting Numbers: [63, 77]
Generated Node #3: [63, 77] from Operation: 7*11=77
Current State: 14:[63, 77], Operations: ['65-2=63', '7*11=77']
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[2, 7, 11, 65], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [2, 7, 54]
Generated Node #0,0: 14:[2, 7, 54] Operation: 65-11=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[2, 7, 54], Operations: ['65-11=54']
Exploring Operation: 54/2=27, Resulting Numbers: [7, 27]
Generated Node #0,0,0: 14:[7, 27] Operation: 54/2=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[7, 27], Operations: ['65-11=54', '54/2=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,14 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 |
[
3,
58,
88,
61
] | 51 | [
"88-58=30",
"30/3=10",
"61-10=51"
] | Current State: 51:[3, 58, 88, 61], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [3, 61, 30]
Generated Node #2: [3, 61, 30] from Operation: 88-58=30
Current State: 51:[3, 61, 30], Operations: ['88-58=30']
Exploring Operation: 30/3=10, Resulting Numbers: [61, 10]
Generated Node #3: [61, 10] from Operation: 30/3=10
Current State: 51:[61, 10], Operations: ['88-58=30', '30/3=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[3, 58, 88, 61], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [3, 61, 30]
Generated Node #0,0: 51:[3, 61, 30] Operation: 88-58=30
Exploring Operation: 88-61=27, Resulting Numbers: [3, 58, 27]
Generated Node #0,1: 51:[3, 58, 27] Operation: 88-61=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[3, 58, 27], Operations: ['88-61=27']
Exploring Operation: 27/3=9, Resulting Numbers: [58, 9]
Generated Node #0,1,0: 51:[58, 9] Operation: 27/3=9
Exploring Operation: 58-3=55, Resulting Numbers: [27, 55]
Generated Node #0,1,1: 51:[27, 55] Operation: 58-3=55
Moving to Node #0,1,0
Current State: 51:[58, 9], Operations: ['88-61=27', '27/3=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[27, 55], Operations: ['88-61=27', '58-3=55']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 27+55=82, Resulting Numbers: [82]
82,51 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: 51:[3, 61, 30], Operations: ['88-58=30']
Exploring Operation: 30/3=10, Resulting Numbers: [61, 10]
Generated Node #0,0,0: 51:[61, 10] Operation: 30/3=10
Exploring Operation: 61-30=31, Resulting Numbers: [3, 31]
Generated Node #0,0,1: 51:[3, 31] Operation: 61-30=31
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[3, 31], Operations: ['88-58=30', '61-30=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,51 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: 51:[61, 10], Operations: ['88-58=30', '30/3=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[3, 58, 88, 61], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [3, 61, 30]
Generated Node #0,0: 51:[3, 61, 30] Operation: 88-58=30
Moving to Node #0,0
Current State: 51:[3, 61, 30], Operations: ['88-58=30']
Exploring Operation: 30/3=10, Resulting Numbers: [61, 10]
Generated Node #0,0,0: 51:[61, 10] Operation: 30/3=10
Moving to Node #0,0,0
Current State: 51:[61, 10], Operations: ['88-58=30', '30/3=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
99,
52,
38,
34
] | 51 | [
"99-52=47",
"38-34=4",
"47+4=51"
] | Current State: 51:[99, 52, 38, 34], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [38, 34, 47]
Generated Node #2: [38, 34, 47] from Operation: 99-52=47
Current State: 51:[38, 34, 47], Operations: ['99-52=47']
Exploring Operation: 38-34=4, Resulting Numbers: [47, 4]
Generated Node #3: [47, 4] from Operation: 38-34=4
Current State: 51:[47, 4], Operations: ['99-52=47', '38-34=4']
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[99, 52, 38, 34], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [52, 34, 61]
Generated Node #0,0: 51:[52, 34, 61] Operation: 99-38=61
Exploring Operation: 99-34=65, Resulting Numbers: [52, 38, 65]
Generated Node #0,1: 51:[52, 38, 65] Operation: 99-34=65
Moving to Node #0,0
Current State: 51:[52, 34, 61], Operations: ['99-38=61']
Exploring Operation: 61-34=27, Resulting Numbers: [52, 27]
Generated Node #0,0,0: 51:[52, 27] Operation: 61-34=27
Exploring Operation: 52-34=18, Resulting Numbers: [61, 18]
Generated Node #0,0,1: 51:[61, 18] Operation: 52-34=18
Moving to Node #0,1
Current State: 51:[52, 38, 65], Operations: ['99-34=65']
Exploring Operation: 52-38=14, Resulting Numbers: [65, 14]
Generated Node #0,1,0: 51:[65, 14] Operation: 52-38=14
Exploring Operation: 65-38=27, Resulting Numbers: [52, 27]
Generated Node #0,1,1: 51:[52, 27] Operation: 65-38=27
Moving to Node #0,0,0
Current State: 51:[52, 27], Operations: ['99-38=61', '61-34=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[52, 27], Operations: ['99-34=65', '65-38=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[61, 18], Operations: ['99-38=61', '52-34=18']
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[65, 14], Operations: ['99-34=65', '52-38=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[99, 52, 38, 34], Operations: []
Exploring Operation: 99-34=65, Resulting Numbers: [52, 38, 65]
Generated Node #0,1: 51:[52, 38, 65] Operation: 99-34=65
Moving to Node #0,1
Current State: 51:[52, 38, 65], Operations: ['99-34=65']
Exploring Operation: 52-38=14, Resulting Numbers: [65, 14]
Generated Node #0,1,0: 51:[65, 14] Operation: 52-38=14
Moving to Node #0,1,0
Current State: 51:[65, 14], Operations: ['99-34=65', '52-38=14']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
90,
65,
8,
24
] | 95 | [
"90*8=720",
"720/24=30",
"65+30=95"
] | Current State: 95:[90, 65, 8, 24], Operations: []
Exploring Operation: 90*8=720, Resulting Numbers: [65, 24, 720]
Generated Node #2: [65, 24, 720] from Operation: 90*8=720
Current State: 95:[65, 24, 720], Operations: ['90*8=720']
Exploring Operation: 720/24=30, Resulting Numbers: [65, 30]
Generated Node #3: [65, 30] from Operation: 720/24=30
Current State: 95:[65, 30], Operations: ['90*8=720', '720/24=30']
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[90, 65, 8, 24], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [90, 8, 41]
Generated Node #0,0: 95:[90, 8, 41] Operation: 65-24=41
Exploring Operation: 90-65=25, Resulting Numbers: [8, 24, 25]
Generated Node #0,1: 95:[8, 24, 25] Operation: 90-65=25
Exploring Operation: 65+24=89, Resulting Numbers: [90, 8, 89]
Generated Node #0,2: 95:[90, 8, 89] Operation: 65+24=89
Moving to Node #0,1
Current State: 95:[8, 24, 25], Operations: ['90-65=25']
Exploring Operation: 24/8=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 95:[25, 3] Operation: 24/8=3
Exploring Operation: 25-8=17, Resulting Numbers: [24, 17]
Generated Node #0,1,1: 95:[24, 17] Operation: 25-8=17
Exploring Operation: 25-24=1, Resulting Numbers: [8, 1]
Generated Node #0,1,2: 95:[8, 1] Operation: 25-24=1
Moving to Node #0,2
Current State: 95:[90, 8, 89], Operations: ['65+24=89']
Exploring Operation: 90+8=98, Resulting Numbers: [89, 98]
Generated Node #0,2,0: 95:[89, 98] Operation: 90+8=98
Exploring Operation: 90-89=1, Resulting Numbers: [8, 1]
Generated Node #0,2,1: 95:[8, 1] Operation: 90-89=1
Exploring Operation: 8+89=97, Resulting Numbers: [90, 97]
Generated Node #0,2,2: 95:[90, 97] Operation: 8+89=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[8, 1], Operations: ['65+24=89', '90-89=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,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,2,2
Current State: 95:[90, 97], Operations: ['65+24=89', '8+89=97']
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 90*97=8730, Resulting Numbers: [8730]
8730,95 unequal: No Solution
Exploring Operation: 90+97=187, Resulting Numbers: [187]
187,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,2,0
Current State: 95:[89, 98], Operations: ['65+24=89', '90+8=98']
Exploring Operation: 89+98=187, Resulting Numbers: [187]
187,95 unequal: No Solution
Exploring Operation: 89*98=8722, Resulting Numbers: [8722]
8722,95 unequal: No Solution
Exploring Operation: 98-89=9, Resulting Numbers: [9]
9,95 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: 95:[90, 8, 41], Operations: ['65-24=41']
Exploring Operation: 90+8=98, Resulting Numbers: [41, 98]
Generated Node #0,0,0: 95:[41, 98] Operation: 90+8=98
Exploring Operation: 41-8=33, Resulting Numbers: [90, 33]
Generated Node #0,0,1: 95:[90, 33] Operation: 41-8=33
Exploring Operation: 90-41=49, Resulting Numbers: [8, 49]
Generated Node #0,0,2: 95:[8, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[90, 33], Operations: ['65-24=41', '41-8=33']
Exploring Operation: 90+33=123, Resulting Numbers: [123]
123,95 unequal: No Solution
Exploring Operation: 90*33=2970, Resulting Numbers: [2970]
2970,95 unequal: No Solution
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,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,0,0
Current State: 95:[41, 98], Operations: ['65-24=41', '90+8=98']
Exploring Operation: 41+98=139, Resulting Numbers: [139]
139,95 unequal: No Solution
Exploring Operation: 41*98=4018, Resulting Numbers: [4018]
4018,95 unequal: No Solution
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,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,0,2
Current State: 95:[8, 49], Operations: ['65-24=41', '90-41=49']
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,95 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,95 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: 95:[24, 17], Operations: ['90-65=25', '25-8=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,95 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,95 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[8, 1], Operations: ['90-65=25', '25-24=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[25, 3], Operations: ['90-65=25', '24/8=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,95 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,95 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
27,
29,
1,
3
] | 83 | [
"3-1=2",
"27*2=54",
"29+54=83"
] | Current State: 83:[27, 29, 1, 3], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [27, 29, 2]
Generated Node #2: [27, 29, 2] from Operation: 3-1=2
Current State: 83:[27, 29, 2], Operations: ['3-1=2']
Exploring Operation: 27*2=54, Resulting Numbers: [29, 54]
Generated Node #3: [29, 54] from Operation: 27*2=54
Current State: 83:[29, 54], Operations: ['3-1=2', '27*2=54']
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[27, 29, 1, 3], Operations: []
Exploring Operation: 29*3=87, Resulting Numbers: [27, 1, 87]
Generated Node #0,0: 83:[27, 1, 87] Operation: 29*3=87
Exploring Operation: 27*3=81, Resulting Numbers: [29, 1, 81]
Generated Node #0,1: 83:[29, 1, 81] Operation: 27*3=81
Exploring Operation: 27+29=56, Resulting Numbers: [1, 3, 56]
Generated Node #0,2: 83:[1, 3, 56] Operation: 27+29=56
Exploring Operation: 27+1=28, Resulting Numbers: [29, 3, 28]
Generated Node #0,3: 83:[29, 3, 28] Operation: 27+1=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[29, 1, 81], Operations: ['27*3=81']
Exploring Operation: 29/1=29, Resulting Numbers: [81, 29]
Generated Node #0,1,0: 83:[81, 29] Operation: 29/1=29
Exploring Operation: 1+81=82, Resulting Numbers: [29, 82]
Generated Node #0,1,1: 83:[29, 82] Operation: 1+81=82
Exploring Operation: 29*1=29, Resulting Numbers: [81, 29]
Generated Node #0,1,2: 83:[81, 29] Operation: 29*1=29
Exploring Operation: 29+1=30, Resulting Numbers: [81, 30]
Generated Node #0,1,3: 83:[81, 30] Operation: 29+1=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[29, 82], Operations: ['27*3=81', '1+81=82']
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,83 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,83 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: 83:[81, 30], Operations: ['27*3=81', '29+1=30']
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,83 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: 83:[81, 29], Operations: ['27*3=81', '29/1=29']
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,83 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: 83:[81, 29], Operations: ['27*3=81', '29*1=29']
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,83 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,83 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: 83:[27, 1, 87], Operations: ['29*3=87']
Exploring Operation: 27/1=27, Resulting Numbers: [87, 27]
Generated Node #0,0,0: 83:[87, 27] Operation: 27/1=27
Exploring Operation: 27*1=27, Resulting Numbers: [87, 27]
Generated Node #0,0,1: 83:[87, 27] Operation: 27*1=27
Exploring Operation: 27+1=28, Resulting Numbers: [87, 28]
Generated Node #0,0,2: 83:[87, 28] Operation: 27+1=28
Exploring Operation: 87-1=86, Resulting Numbers: [27, 86]
Generated Node #0,0,3: 83:[27, 86] Operation: 87-1=86
Moving to Node #0,0,2
Current State: 83:[87, 28], Operations: ['29*3=87', '27+1=28']
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[27, 86], Operations: ['29*3=87', '87-1=86']
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[87, 27], Operations: ['29*3=87', '27*1=27']
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,83 unequal: No Solution
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[87, 27], Operations: ['29*3=87', '27/1=27']
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,83 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,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,2
Current State: 83:[1, 3, 56], Operations: ['27+29=56']
Exploring Operation: 3+56=59, Resulting Numbers: [1, 59]
Generated Node #0,2,0: 83:[1, 59] Operation: 3+56=59
Exploring Operation: 1+56=57, Resulting Numbers: [3, 57]
Generated Node #0,2,1: 83:[3, 57] Operation: 1+56=57
Exploring Operation: 1*3=3, Resulting Numbers: [56, 3]
Generated Node #0,2,2: 83:[56, 3] Operation: 1*3=3
Exploring Operation: 1+3=4, Resulting Numbers: [56, 4]
Generated Node #0,2,3: 83:[56, 4] Operation: 1+3=4
Moving to Node #0,2,0
Current State: 83:[1, 59], Operations: ['27+29=56', '3+56=59']
Exploring Operation: 1+59=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[56, 4], Operations: ['27+29=56', '1+3=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,83 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,83 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,83 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[3, 57], Operations: ['27+29=56', '1+56=57']
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[56, 3], Operations: ['27+29=56', '1*3=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,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,3
Current State: 83:[29, 3, 28], Operations: ['27+1=28']
Exploring Operation: 29*3=87, Resulting Numbers: [28, 87]
Generated Node #0,3,0: 83:[28, 87] Operation: 29*3=87
Exploring Operation: 29+3=32, Resulting Numbers: [28, 32]
Generated Node #0,3,1: 83:[28, 32] Operation: 29+3=32
Exploring Operation: 3*28=84, Resulting Numbers: [29, 84]
Generated Node #0,3,2: 83:[29, 84] Operation: 3*28=84
Exploring Operation: 29+28=57, Resulting Numbers: [3, 57]
Generated Node #0,3,3: 83:[3, 57] Operation: 29+28=57
Moving to Node #0,3,2
Current State: 83:[29, 84], Operations: ['27+1=28', '3*28=84']
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[28, 87], Operations: ['27+1=28', '29*3=87']
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,83 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[3, 57], Operations: ['27+1=28', '29+28=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[28, 32], Operations: ['27+1=28', '29+3=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,83 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 |
[
34,
38,
2,
77
] | 24 | [
"77-34=43",
"38/2=19",
"43-19=24"
] | Current State: 24:[34, 38, 2, 77], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [38, 2, 43]
Generated Node #2: [38, 2, 43] from Operation: 77-34=43
Current State: 24:[38, 2, 43], Operations: ['77-34=43']
Exploring Operation: 38/2=19, Resulting Numbers: [43, 19]
Generated Node #3: [43, 19] from Operation: 38/2=19
Current State: 24:[43, 19], Operations: ['77-34=43', '38/2=19']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[34, 38, 2, 77], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [2, 77, 4]
Generated Node #0,0: 24:[2, 77, 4] Operation: 38-34=4
Exploring Operation: 77-34=43, Resulting Numbers: [38, 2, 43]
Generated Node #0,1: 24:[38, 2, 43] Operation: 77-34=43
Exploring Operation: 77-38=39, Resulting Numbers: [34, 2, 39]
Generated Node #0,2: 24:[34, 2, 39] Operation: 77-38=39
Exploring Operation: 38/2=19, Resulting Numbers: [34, 77, 19]
Generated Node #0,3: 24:[34, 77, 19] Operation: 38/2=19
Exploring Operation: 34/2=17, Resulting Numbers: [38, 77, 17]
Generated Node #0,4: 24:[38, 77, 17] Operation: 34/2=17
Moving to Node #0,2
Current State: 24:[34, 2, 39], Operations: ['77-38=39']
Exploring Operation: 39-2=37, Resulting Numbers: [34, 37]
Generated Node #0,2,0: 24:[34, 37] Operation: 39-2=37
Exploring Operation: 34+2=36, Resulting Numbers: [39, 36]
Generated Node #0,2,1: 24:[39, 36] Operation: 34+2=36
Exploring Operation: 39-34=5, Resulting Numbers: [2, 5]
Generated Node #0,2,2: 24:[2, 5] Operation: 39-34=5
Exploring Operation: 34/2=17, Resulting Numbers: [39, 17]
Generated Node #0,2,3: 24:[39, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [39, 32]
Generated Node #0,2,4: 24:[39, 32] Operation: 34-2=32
Moving to Node #0,1
Current State: 24:[38, 2, 43], Operations: ['77-34=43']
Exploring Operation: 43-38=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 24:[2, 5] Operation: 43-38=5
Exploring Operation: 38-2=36, Resulting Numbers: [43, 36]
Generated Node #0,1,1: 24:[43, 36] Operation: 38-2=36
Exploring Operation: 43-2=41, Resulting Numbers: [38, 41]
Generated Node #0,1,2: 24:[38, 41] Operation: 43-2=41
Exploring Operation: 38+2=40, Resulting Numbers: [43, 40]
Generated Node #0,1,3: 24:[43, 40] Operation: 38+2=40
Exploring Operation: 38/2=19, Resulting Numbers: [43, 19]
Generated Node #0,1,4: 24:[43, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[2, 5], Operations: ['77-34=43', '43-38=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,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,4
Current State: 24:[43, 19], Operations: ['77-34=43', '38/2=19']
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,24 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[34, 38, 2, 77], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [38, 2, 43]
Generated Node #0,1: 24:[38, 2, 43] Operation: 77-34=43
Moving to Node #0,1
Current State: 24:[38, 2, 43], Operations: ['77-34=43']
Exploring Operation: 38/2=19, Resulting Numbers: [43, 19]
Generated Node #0,1,4: 24:[43, 19] Operation: 38/2=19
Moving to Node #0,1,4
Current State: 24:[43, 19], Operations: ['77-34=43', '38/2=19']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
39,
36,
63,
3
] | 65 | [
"63-3=60",
"39*60=2340",
"2340/36=65"
] | Current State: 65:[39, 36, 63, 3], Operations: []
Exploring Operation: 63-3=60, Resulting Numbers: [39, 36, 60]
Generated Node #2: [39, 36, 60] from Operation: 63-3=60
Current State: 65:[39, 36, 60], Operations: ['63-3=60']
Exploring Operation: 39*60=2340, Resulting Numbers: [36, 2340]
Generated Node #3: [36, 2340] from Operation: 39*60=2340
Current State: 65:[36, 2340], Operations: ['63-3=60', '39*60=2340']
Exploring Operation: 2340/36=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[39, 36, 63, 3], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [63, 3, 3]
Generated Node #0,0: 65:[63, 3, 3] Operation: 39-36=3
Exploring Operation: 39+36=75, Resulting Numbers: [63, 3, 75]
Generated Node #0,1: 65:[63, 3, 75] Operation: 39+36=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[63, 3, 3], Operations: ['39-36=3']
Exploring Operation: 63+3=66, Resulting Numbers: [3, 66]
Generated Node #0,0,0: 65:[3, 66] Operation: 63+3=66
Exploring Operation: 63+3=66, Resulting Numbers: [3, 66]
Generated Node #0,0,1: 65:[3, 66] Operation: 63+3=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[3, 66], Operations: ['39-36=3', '63+3=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,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,0,1
Current State: 65:[3, 66], Operations: ['39-36=3', '63+3=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,65 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,65 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: 65:[63, 3, 75], Operations: ['39+36=75']
Exploring Operation: 75-3=72, Resulting Numbers: [63, 72]
Generated Node #0,1,0: 65:[63, 72] Operation: 75-3=72
Exploring Operation: 75-63=12, Resulting Numbers: [3, 12]
Generated Node #0,1,1: 65:[3, 12] Operation: 75-63=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[3, 12], Operations: ['39+36=75', '75-63=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,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,1,0
Current State: 65:[63, 72], Operations: ['39+36=75', '75-3=72']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,65 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 |
[
82,
2,
25,
44
] | 70 | [
"82-25=57",
"2*57=114",
"114-44=70"
] | Current State: 70:[82, 2, 25, 44], Operations: []
Exploring Operation: 82-25=57, Resulting Numbers: [2, 44, 57]
Generated Node #2: [2, 44, 57] from Operation: 82-25=57
Current State: 70:[2, 44, 57], Operations: ['82-25=57']
Exploring Operation: 2*57=114, Resulting Numbers: [44, 114]
Generated Node #3: [44, 114] from Operation: 2*57=114
Current State: 70:[44, 114], Operations: ['82-25=57', '2*57=114']
Exploring Operation: 114-44=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[82, 2, 25, 44], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [2, 25, 38]
Generated Node #0,0: 70:[2, 25, 38] Operation: 82-44=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[2, 25, 38], Operations: ['82-44=38']
Exploring Operation: 38-25=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 70:[2, 13] Operation: 38-25=13
Moving to Node #0,0,0
Current State: 70:[2, 13], Operations: ['82-44=38', '38-25=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,70 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 |
[
85,
26,
77,
37
] | 55 | [
"85-26=59",
"77+37=114",
"114-59=55"
] | Current State: 55:[85, 26, 77, 37], Operations: []
Exploring Operation: 85-26=59, Resulting Numbers: [77, 37, 59]
Generated Node #2: [77, 37, 59] from Operation: 85-26=59
Current State: 55:[77, 37, 59], Operations: ['85-26=59']
Exploring Operation: 77+37=114, Resulting Numbers: [59, 114]
Generated Node #3: [59, 114] from Operation: 77+37=114
Current State: 55:[59, 114], Operations: ['85-26=59', '77+37=114']
Exploring Operation: 114-59=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[85, 26, 77, 37], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [26, 37, 8]
Generated Node #0,0: 55:[26, 37, 8] Operation: 85-77=8
Exploring Operation: 85-37=48, Resulting Numbers: [26, 77, 48]
Generated Node #0,1: 55:[26, 77, 48] Operation: 85-37=48
Exploring Operation: 85-26=59, Resulting Numbers: [77, 37, 59]
Generated Node #0,2: 55:[77, 37, 59] Operation: 85-26=59
Moving to Node #0,0
Current State: 55:[26, 37, 8], Operations: ['85-77=8']
Exploring Operation: 26+37=63, Resulting Numbers: [8, 63]
Generated Node #0,0,0: 55:[8, 63] Operation: 26+37=63
Exploring Operation: 37-26=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 55:[8, 11] Operation: 37-26=11
Exploring Operation: 26-8=18, Resulting Numbers: [37, 18]
Generated Node #0,0,2: 55:[37, 18] Operation: 26-8=18
Moving to Node #0,1
Current State: 55:[26, 77, 48], Operations: ['85-37=48']
Exploring Operation: 77-48=29, Resulting Numbers: [26, 29]
Generated Node #0,1,0: 55:[26, 29] Operation: 77-48=29
Exploring Operation: 48-26=22, Resulting Numbers: [77, 22]
Generated Node #0,1,1: 55:[77, 22] Operation: 48-26=22
Exploring Operation: 77-26=51, Resulting Numbers: [48, 51]
Generated Node #0,1,2: 55:[48, 51] Operation: 77-26=51
Moving to Node #0,2
Current State: 55:[77, 37, 59], Operations: ['85-26=59']
Exploring Operation: 59-37=22, Resulting Numbers: [77, 22]
Generated Node #0,2,0: 55:[77, 22] Operation: 59-37=22
Exploring Operation: 77-37=40, Resulting Numbers: [59, 40]
Generated Node #0,2,1: 55:[59, 40] Operation: 77-37=40
Exploring Operation: 77-59=18, Resulting Numbers: [37, 18]
Generated Node #0,2,2: 55:[37, 18] Operation: 77-59=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[59, 40], Operations: ['85-26=59', '77-37=40']
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,55 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,55 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: 55:[37, 18], Operations: ['85-26=59', '77-59=18']
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,55 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[85, 26, 77, 37], Operations: []
Exploring Operation: 85-26=59, Resulting Numbers: [77, 37, 59]
Generated Node #0,2: 55:[77, 37, 59] Operation: 85-26=59
Moving to Node #0,2
Current State: 55:[77, 37, 59], Operations: ['85-26=59']
Exploring Operation: 77-59=18, Resulting Numbers: [37, 18]
Generated Node #0,2,2: 55:[37, 18] Operation: 77-59=18
Moving to Node #0,2,2
Current State: 55:[37, 18], Operations: ['85-26=59', '77-59=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
23,
25,
2,
89
] | 31 | [
"23+89=112",
"112/2=56",
"56-25=31"
] | Current State: 31:[23, 25, 2, 89], Operations: []
Exploring Operation: 23+89=112, Resulting Numbers: [25, 2, 112]
Generated Node #2: [25, 2, 112] from Operation: 23+89=112
Current State: 31:[25, 2, 112], Operations: ['23+89=112']
Exploring Operation: 112/2=56, Resulting Numbers: [25, 56]
Generated Node #3: [25, 56] from Operation: 112/2=56
Current State: 31:[25, 56], Operations: ['23+89=112', '112/2=56']
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[23, 25, 2, 89], Operations: []
Exploring Operation: 89-23=66, Resulting Numbers: [25, 2, 66]
Generated Node #0,0: 31:[25, 2, 66] Operation: 89-23=66
Exploring Operation: 23+2=25, Resulting Numbers: [25, 89, 25]
Generated Node #0,1: 31:[25, 89, 25] Operation: 23+2=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[25, 2, 66], Operations: ['89-23=66']
Exploring Operation: 66/2=33, Resulting Numbers: [25, 33]
Generated Node #0,0,0: 31:[25, 33] Operation: 66/2=33
Exploring Operation: 25+2=27, Resulting Numbers: [66, 27]
Generated Node #0,0,1: 31:[66, 27] Operation: 25+2=27
Moving to Node #0,0,0
Current State: 31:[25, 33], Operations: ['89-23=66', '66/2=33']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[66, 27], Operations: ['89-23=66', '25+2=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,31 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: 31:[25, 89, 25], Operations: ['23+2=25']
Exploring Operation: 89-25=64, Resulting Numbers: [25, 64]
Generated Node #0,1,0: 31:[25, 64] Operation: 89-25=64
Exploring Operation: 89-25=64, Resulting Numbers: [25, 64]
Generated Node #0,1,1: 31:[25, 64] Operation: 89-25=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[25, 64], Operations: ['23+2=25', '89-25=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,31 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: 31:[25, 64], Operations: ['23+2=25', '89-25=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,31 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 |
[
27,
31,
72,
4
] | 73 | [
"31-27=4",
"4/4=1",
"72+1=73"
] | Current State: 73:[27, 31, 72, 4], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [72, 4, 4]
Generated Node #2: [72, 4, 4] from Operation: 31-27=4
Current State: 73:[72, 4, 4], Operations: ['31-27=4']
Exploring Operation: 4/4=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 4/4=1
Current State: 73:[72, 1], Operations: ['31-27=4', '4/4=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[27, 31, 72, 4], Operations: []
Exploring Operation: 31+4=35, Resulting Numbers: [27, 72, 35]
Generated Node #0,0: 73:[27, 72, 35] Operation: 31+4=35
Exploring Operation: 27+31=58, Resulting Numbers: [72, 4, 58]
Generated Node #0,1: 73:[72, 4, 58] Operation: 27+31=58
Exploring Operation: 27*4=108, Resulting Numbers: [31, 72, 108]
Generated Node #0,2: 73:[31, 72, 108] Operation: 27*4=108
Exploring Operation: 27+4=31, Resulting Numbers: [31, 72, 31]
Generated Node #0,3: 73:[31, 72, 31] Operation: 27+4=31
Moving to Node #0,2
Current State: 73:[31, 72, 108], Operations: ['27*4=108']
Exploring Operation: 31+72=103, Resulting Numbers: [108, 103]
Generated Node #0,2,0: 73:[108, 103] Operation: 31+72=103
Exploring Operation: 31+108=139, Resulting Numbers: [72, 139]
Generated Node #0,2,1: 73:[72, 139] Operation: 31+108=139
Exploring Operation: 108-31=77, Resulting Numbers: [72, 77]
Generated Node #0,2,2: 73:[72, 77] Operation: 108-31=77
Exploring Operation: 72-31=41, Resulting Numbers: [108, 41]
Generated Node #0,2,3: 73:[108, 41] Operation: 72-31=41
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[72, 77], Operations: ['27*4=108', '108-31=77']
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 72*77=5544, Resulting Numbers: [5544]
5544,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,0
Current State: 73:[108, 103], Operations: ['27*4=108', '31+72=103']
Exploring Operation: 108-103=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 108*103=11124, Resulting Numbers: [11124]
11124,73 unequal: No Solution
Exploring Operation: 108+103=211, Resulting Numbers: [211]
211,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,1
Current State: 73:[72, 139], Operations: ['27*4=108', '31+108=139']
Exploring Operation: 139-72=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 72+139=211, Resulting Numbers: [211]
211,73 unequal: No Solution
Exploring Operation: 72*139=10008, Resulting Numbers: [10008]
10008,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,3
Current State: 73:[108, 41], Operations: ['27*4=108', '72-31=41']
Exploring Operation: 108+41=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Exploring Operation: 108*41=4428, Resulting Numbers: [4428]
4428,73 unequal: No Solution
Exploring Operation: 108-41=67, Resulting Numbers: [67]
67,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:[72, 4, 58], Operations: ['27+31=58']
Exploring Operation: 72+4=76, Resulting Numbers: [58, 76]
Generated Node #0,1,0: 73:[58, 76] Operation: 72+4=76
Exploring Operation: 72-4=68, Resulting Numbers: [58, 68]
Generated Node #0,1,1: 73:[58, 68] Operation: 72-4=68
Exploring Operation: 4+58=62, Resulting Numbers: [72, 62]
Generated Node #0,1,2: 73:[72, 62] Operation: 4+58=62
Exploring Operation: 58-4=54, Resulting Numbers: [72, 54]
Generated Node #0,1,3: 73:[72, 54] Operation: 58-4=54
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[72, 62], Operations: ['27+31=58', '4+58=62']
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,73 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,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:[58, 76], Operations: ['27+31=58', '72+4=76']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 58*76=4408, Resulting Numbers: [4408]
4408,73 unequal: No Solution
Exploring Operation: 58+76=134, Resulting Numbers: [134]
134,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,1
Current State: 73:[58, 68], Operations: ['27+31=58', '72-4=68']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 58+68=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 58*68=3944, Resulting Numbers: [3944]
3944,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,3
Current State: 73:[72, 54], Operations: ['27+31=58', '58-4=54']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,73 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: 73:[27, 72, 35], Operations: ['31+4=35']
Exploring Operation: 35-27=8, Resulting Numbers: [72, 8]
Generated Node #0,0,0: 73:[72, 8] Operation: 35-27=8
Exploring Operation: 72-27=45, Resulting Numbers: [35, 45]
Generated Node #0,0,1: 73:[35, 45] Operation: 72-27=45
Exploring Operation: 27+35=62, Resulting Numbers: [72, 62]
Generated Node #0,0,2: 73:[72, 62] Operation: 27+35=62
Exploring Operation: 27+72=99, Resulting Numbers: [35, 99]
Generated Node #0,0,3: 73:[35, 99] Operation: 27+72=99
Moving to Node #0,3
Current State: 73:[31, 72, 31], Operations: ['27+4=31']
Exploring Operation: 31/31=1, Resulting Numbers: [72, 1]
Generated Node #0,3,0: 73:[72, 1] Operation: 31/31=1
Exploring Operation: 31+72=103, Resulting Numbers: [31, 103]
Generated Node #0,3,1: 73:[31, 103] Operation: 31+72=103
Exploring Operation: 72+31=103, Resulting Numbers: [31, 103]
Generated Node #0,3,2: 73:[31, 103] Operation: 72+31=103
Exploring Operation: 31+31=62, Resulting Numbers: [72, 62]
Generated Node #0,3,3: 73:[72, 62] Operation: 31+31=62
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[72, 62], Operations: ['27+4=31', '31+31=62']
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,73 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,73 unequal: No Solution
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,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,1
Current State: 73:[31, 103], Operations: ['27+4=31', '31+72=103']
Exploring Operation: 103-31=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 31*103=3193, Resulting Numbers: [3193]
3193,73 unequal: No Solution
Exploring Operation: 31+103=134, Resulting Numbers: [134]
134,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,2
Current State: 73:[31, 103], Operations: ['27+4=31', '72+31=103']
Exploring Operation: 103-31=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 31*103=3193, Resulting Numbers: [3193]
3193,73 unequal: No Solution
Exploring Operation: 31+103=134, Resulting Numbers: [134]
134,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,0
Current State: 73:[72, 1], Operations: ['27+4=31', '31/31=1']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[27, 31, 72, 4], Operations: []
Exploring Operation: 27+4=31, Resulting Numbers: [31, 72, 31]
Generated Node #0,3: 73:[31, 72, 31] Operation: 27+4=31
Moving to Node #0,3
Current State: 73:[31, 72, 31], Operations: ['27+4=31']
Exploring Operation: 31/31=1, Resulting Numbers: [72, 1]
Generated Node #0,3,0: 73:[72, 1] Operation: 31/31=1
Moving to Node #0,3,0
Current State: 73:[72, 1], Operations: ['27+4=31', '31/31=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_4 | sum_heuristic |
[
37,
54,
11,
2
] | 43 | [
"11-2=9",
"54/9=6",
"37+6=43"
] | Current State: 43:[37, 54, 11, 2], Operations: []
Exploring Operation: 11-2=9, Resulting Numbers: [37, 54, 9]
Generated Node #2: [37, 54, 9] from Operation: 11-2=9
Current State: 43:[37, 54, 9], Operations: ['11-2=9']
Exploring Operation: 54/9=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 54/9=6
Current State: 43:[37, 6], Operations: ['11-2=9', '54/9=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[37, 54, 11, 2], Operations: []
Exploring Operation: 54-11=43, Resulting Numbers: [37, 2, 43]
Generated Node #0,0: 43:[37, 2, 43] Operation: 54-11=43
Exploring Operation: 11*2=22, Resulting Numbers: [37, 54, 22]
Generated Node #0,1: 43:[37, 54, 22] Operation: 11*2=22
Exploring Operation: 11+2=13, Resulting Numbers: [37, 54, 13]
Generated Node #0,2: 43:[37, 54, 13] Operation: 11+2=13
Exploring Operation: 37+2=39, Resulting Numbers: [54, 11, 39]
Generated Node #0,3: 43:[54, 11, 39] Operation: 37+2=39
Exploring Operation: 54-2=52, Resulting Numbers: [37, 11, 52]
Generated Node #0,4: 43:[37, 11, 52] Operation: 54-2=52
Moving to Node #0,1
Current State: 43:[37, 54, 22], Operations: ['11*2=22']
Exploring Operation: 54-22=32, Resulting Numbers: [37, 32]
Generated Node #0,1,0: 43:[37, 32] Operation: 54-22=32
Exploring Operation: 54-37=17, Resulting Numbers: [22, 17]
Generated Node #0,1,1: 43:[22, 17] Operation: 54-37=17
Exploring Operation: 37-22=15, Resulting Numbers: [54, 15]
Generated Node #0,1,2: 43:[54, 15] Operation: 37-22=15
Exploring Operation: 37+22=59, Resulting Numbers: [54, 59]
Generated Node #0,1,3: 43:[54, 59] Operation: 37+22=59
Exploring Operation: 54+22=76, Resulting Numbers: [37, 76]
Generated Node #0,1,4: 43:[37, 76] Operation: 54+22=76
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[37, 32], Operations: ['11*2=22', '54-22=32']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,43 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: 43:[54, 59], Operations: ['11*2=22', '37+22=59']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 54*59=3186, Resulting Numbers: [3186]
3186,43 unequal: No Solution
Exploring Operation: 54+59=113, Resulting Numbers: [113]
113,43 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: 43:[54, 15], Operations: ['11*2=22', '37-22=15']
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,43 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: 43:[37, 76], Operations: ['11*2=22', '54+22=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,43 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,43 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,43 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: 43:[22, 17], Operations: ['11*2=22', '54-37=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,43 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,43 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: 43:[37, 54, 13], Operations: ['11+2=13']
Exploring Operation: 54+13=67, Resulting Numbers: [37, 67]
Generated Node #0,2,0: 43:[37, 67] Operation: 54+13=67
Exploring Operation: 37+13=50, Resulting Numbers: [54, 50]
Generated Node #0,2,1: 43:[54, 50] Operation: 37+13=50
Exploring Operation: 54-13=41, Resulting Numbers: [37, 41]
Generated Node #0,2,2: 43:[37, 41] Operation: 54-13=41
Exploring Operation: 37-13=24, Resulting Numbers: [54, 24]
Generated Node #0,2,3: 43:[54, 24] Operation: 37-13=24
Exploring Operation: 54-37=17, Resulting Numbers: [13, 17]
Generated Node #0,2,4: 43:[13, 17] Operation: 54-37=17
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[37, 41], Operations: ['11+2=13', '54-13=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,43 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: 43:[54, 50], Operations: ['11+2=13', '37+13=50']
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,43 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: 43:[37, 67], Operations: ['11+2=13', '54+13=67']
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,43 unequal: No Solution
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,43 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: 43:[54, 24], Operations: ['11+2=13', '37-13=24']
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,43 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,43 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: 43:[13, 17], Operations: ['11+2=13', '54-37=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,43 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,43 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: 43:[37, 11, 52], Operations: ['54-2=52']
Exploring Operation: 52-37=15, Resulting Numbers: [11, 15]
Generated Node #0,4,0: 43:[11, 15] Operation: 52-37=15
Exploring Operation: 37+11=48, Resulting Numbers: [52, 48]
Generated Node #0,4,1: 43:[52, 48] Operation: 37+11=48
Exploring Operation: 11+52=63, Resulting Numbers: [37, 63]
Generated Node #0,4,2: 43:[37, 63] Operation: 11+52=63
Exploring Operation: 37-11=26, Resulting Numbers: [52, 26]
Generated Node #0,4,3: 43:[52, 26] Operation: 37-11=26
Exploring Operation: 52-11=41, Resulting Numbers: [37, 41]
Generated Node #0,4,4: 43:[37, 41] Operation: 52-11=41
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 43:[37, 41], Operations: ['54-2=52', '52-11=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,43 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,43 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: 43:[52, 48], Operations: ['54-2=52', '37+11=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,43 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,43 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: 43:[37, 63], Operations: ['54-2=52', '11+52=63']
Exploring Operation: 63-37=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 37+63=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 37*63=2331, Resulting Numbers: [2331]
2331,43 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: 43:[52, 26], Operations: ['54-2=52', '37-11=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,43 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,43 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: 43:[11, 15], Operations: ['54-2=52', '52-37=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,43 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,43 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: 43:[37, 2, 43], Operations: ['54-11=43']
Exploring Operation: 43-2=41, Resulting Numbers: [37, 41]
Generated Node #0,0,0: 43:[37, 41] Operation: 43-2=41
Exploring Operation: 37-2=35, Resulting Numbers: [43, 35]
Generated Node #0,0,1: 43:[43, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [43, 39]
Generated Node #0,0,2: 43:[43, 39] Operation: 37+2=39
Exploring Operation: 37*2=74, Resulting Numbers: [43, 74]
Generated Node #0,0,3: 43:[43, 74] Operation: 37*2=74
Exploring Operation: 2+43=45, Resulting Numbers: [37, 45]
Generated Node #0,0,4: 43:[37, 45] Operation: 2+43=45
Moving to Node #0,3
Current State: 43:[54, 11, 39], Operations: ['37+2=39']
Exploring Operation: 11+39=50, Resulting Numbers: [54, 50]
Generated Node #0,3,0: 43:[54, 50] Operation: 11+39=50
Exploring Operation: 39-11=28, Resulting Numbers: [54, 28]
Generated Node #0,3,1: 43:[54, 28] Operation: 39-11=28
Exploring Operation: 54-11=43, Resulting Numbers: [39, 43]
Generated Node #0,3,2: 43:[39, 43] Operation: 54-11=43
Exploring Operation: 54-39=15, Resulting Numbers: [11, 15]
Generated Node #0,3,3: 43:[11, 15] Operation: 54-39=15
Exploring Operation: 54+11=65, Resulting Numbers: [39, 65]
Generated Node #0,3,4: 43:[39, 65] Operation: 54+11=65
Moving to Node #0,0,2
Current State: 43:[43, 39], Operations: ['54-11=43', '37+2=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[39, 43], Operations: ['37+2=39', '54-11=43']
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,43 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[43, 35], Operations: ['54-11=43', '37-2=35']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[37, 41], Operations: ['54-11=43', '43-2=41']
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,43 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[37, 45], Operations: ['54-11=43', '2+43=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,43 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[54, 50], Operations: ['37+2=39', '11+39=50']
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,43 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[54, 28], Operations: ['37+2=39', '39-11=28']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
Moving to Node #0,3,4
Current State: 43:[39, 65], Operations: ['37+2=39', '54+11=65']
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,43 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[43, 74], Operations: ['54-11=43', '37*2=74']
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,43 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[11, 15], Operations: ['37+2=39', '54-39=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,43 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
84,
12,
78
] | 98 | [
"78/3=26",
"84-12=72",
"26+72=98"
] | Current State: 98:[3, 84, 12, 78], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [84, 12, 26]
Generated Node #2: [84, 12, 26] from Operation: 78/3=26
Current State: 98:[84, 12, 26], Operations: ['78/3=26']
Exploring Operation: 84-12=72, Resulting Numbers: [26, 72]
Generated Node #3: [26, 72] from Operation: 84-12=72
Current State: 98:[26, 72], Operations: ['78/3=26', '84-12=72']
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 84, 12, 78], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [3, 78, 7]
Generated Node #0,0: 98:[3, 78, 7] Operation: 84/12=7
Exploring Operation: 12+78=90, Resulting Numbers: [3, 84, 90]
Generated Node #0,1: 98:[3, 84, 90] Operation: 12+78=90
Exploring Operation: 84+12=96, Resulting Numbers: [3, 78, 96]
Generated Node #0,2: 98:[3, 78, 96] Operation: 84+12=96
Exploring Operation: 84-78=6, Resulting Numbers: [3, 12, 6]
Generated Node #0,3: 98:[3, 12, 6] Operation: 84-78=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[3, 12, 6], Operations: ['84-78=6']
Exploring Operation: 3+12=15, Resulting Numbers: [6, 15]
Generated Node #0,3,0: 98:[6, 15] Operation: 3+12=15
Exploring Operation: 6/3=2, Resulting Numbers: [12, 2]
Generated Node #0,3,1: 98:[12, 2] Operation: 6/3=2
Exploring Operation: 12-6=6, Resulting Numbers: [3, 6]
Generated Node #0,3,2: 98:[3, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [3, 2]
Generated Node #0,3,3: 98:[3, 2] Operation: 12/6=2
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[3, 2], Operations: ['84-78=6', '12/6=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,98 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: 98:[6, 15], Operations: ['84-78=6', '3+12=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,98 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: 98:[12, 2], Operations: ['84-78=6', '6/3=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,98 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,98 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: 98:[3, 6], Operations: ['84-78=6', '12-6=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,98 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: 98:[3, 78, 7], Operations: ['84/12=7']
Exploring Operation: 3+78=81, Resulting Numbers: [7, 81]
Generated Node #0,0,0: 98:[7, 81] Operation: 3+78=81
Exploring Operation: 78+7=85, Resulting Numbers: [3, 85]
Generated Node #0,0,1: 98:[3, 85] Operation: 78+7=85
Exploring Operation: 78/3=26, Resulting Numbers: [7, 26]
Generated Node #0,0,2: 98:[7, 26] Operation: 78/3=26
Exploring Operation: 7-3=4, Resulting Numbers: [78, 4]
Generated Node #0,0,3: 98:[78, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[7, 26], Operations: ['84/12=7', '78/3=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,98 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,98 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: 98:[3, 85], Operations: ['84/12=7', '78+7=85']
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,98 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,98 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: 98:[7, 81], Operations: ['84/12=7', '3+78=81']
Exploring Operation: 7*81=567, Resulting Numbers: [567]
567,98 unequal: No Solution
Exploring Operation: 7+81=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,98 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: 98:[78, 4], Operations: ['84/12=7', '7-3=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,98 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,98 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: 98:[3, 84, 90], Operations: ['12+78=90']
Exploring Operation: 3+90=93, Resulting Numbers: [84, 93]
Generated Node #0,1,0: 98:[84, 93] Operation: 3+90=93
Exploring Operation: 90-84=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 98:[3, 6] Operation: 90-84=6
Exploring Operation: 3+84=87, Resulting Numbers: [90, 87]
Generated Node #0,1,2: 98:[90, 87] Operation: 3+84=87
Exploring Operation: 84/3=28, Resulting Numbers: [90, 28]
Generated Node #0,1,3: 98:[90, 28] Operation: 84/3=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[3, 6], Operations: ['12+78=90', '90-84=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,98 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: 98:[84, 93], Operations: ['12+78=90', '3+90=93']
Exploring Operation: 84*93=7812, Resulting Numbers: [7812]
7812,98 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,98 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: 98:[90, 87], Operations: ['12+78=90', '3+84=87']
Exploring Operation: 90*87=7830, Resulting Numbers: [7830]
7830,98 unequal: No Solution
Exploring Operation: 90+87=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,98 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: 98:[90, 28], Operations: ['12+78=90', '84/3=28']
Exploring Operation: 90*28=2520, Resulting Numbers: [2520]
2520,98 unequal: No Solution
Exploring Operation: 90-28=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 90+28=118, Resulting Numbers: [118]
118,98 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: 98:[3, 78, 96], Operations: ['84+12=96']
Exploring Operation: 96-78=18, Resulting Numbers: [3, 18]
Generated Node #0,2,0: 98:[3, 18] Operation: 96-78=18
Exploring Operation: 3+96=99, Resulting Numbers: [78, 99]
Generated Node #0,2,1: 98:[78, 99] Operation: 3+96=99
Exploring Operation: 78/3=26, Resulting Numbers: [96, 26]
Generated Node #0,2,2: 98:[96, 26] Operation: 78/3=26
Exploring Operation: 3+78=81, Resulting Numbers: [96, 81]
Generated Node #0,2,3: 98:[96, 81] Operation: 3+78=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[3, 18], Operations: ['84+12=96', '96-78=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,98 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,98 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: 98:[96, 26], Operations: ['84+12=96', '78/3=26']
Exploring Operation: 96+26=122, Resulting Numbers: [122]
122,98 unequal: No Solution
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 96*26=2496, Resulting Numbers: [2496]
2496,98 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: 98:[96, 81], Operations: ['84+12=96', '3+78=81']
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 96+81=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 96*81=7776, Resulting Numbers: [7776]
7776,98 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: 98:[78, 99], Operations: ['84+12=96', '3+96=99']
Exploring Operation: 78*99=7722, Resulting Numbers: [7722]
7722,98 unequal: No Solution
Exploring Operation: 99-78=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 78+99=177, Resulting Numbers: [177]
177,98 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 |
[
10,
39,
91,
68
] | 26 | [
"10+39=49",
"91-68=23",
"49-23=26"
] | Current State: 26:[10, 39, 91, 68], Operations: []
Exploring Operation: 10+39=49, Resulting Numbers: [91, 68, 49]
Generated Node #2: [91, 68, 49] from Operation: 10+39=49
Current State: 26:[91, 68, 49], Operations: ['10+39=49']
Exploring Operation: 91-68=23, Resulting Numbers: [49, 23]
Generated Node #3: [49, 23] from Operation: 91-68=23
Current State: 26:[49, 23], Operations: ['10+39=49', '91-68=23']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[10, 39, 91, 68], Operations: []
Exploring Operation: 91-10=81, Resulting Numbers: [39, 68, 81]
Generated Node #0,0: 26:[39, 68, 81] Operation: 91-10=81
Exploring Operation: 91-68=23, Resulting Numbers: [10, 39, 23]
Generated Node #0,1: 26:[10, 39, 23] Operation: 91-68=23
Exploring Operation: 91-39=52, Resulting Numbers: [10, 68, 52]
Generated Node #0,2: 26:[10, 68, 52] Operation: 91-39=52
Exploring Operation: 68-39=29, Resulting Numbers: [10, 91, 29]
Generated Node #0,3: 26:[10, 91, 29] Operation: 68-39=29
Exploring Operation: 39-10=29, Resulting Numbers: [91, 68, 29]
Generated Node #0,4: 26:[91, 68, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[10, 39, 23], Operations: ['91-68=23']
Exploring Operation: 10+39=49, Resulting Numbers: [23, 49]
Generated Node #0,1,0: 26:[23, 49] Operation: 10+39=49
Exploring Operation: 39-10=29, Resulting Numbers: [23, 29]
Generated Node #0,1,1: 26:[23, 29] Operation: 39-10=29
Exploring Operation: 39-23=16, Resulting Numbers: [10, 16]
Generated Node #0,1,2: 26:[10, 16] Operation: 39-23=16
Exploring Operation: 23-10=13, Resulting Numbers: [39, 13]
Generated Node #0,1,3: 26:[39, 13] Operation: 23-10=13
Exploring Operation: 10+23=33, Resulting Numbers: [39, 33]
Generated Node #0,1,4: 26:[39, 33] Operation: 10+23=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[23, 29], Operations: ['91-68=23', '39-10=29']
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,26 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,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,2
Current State: 26:[10, 16], Operations: ['91-68=23', '39-23=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,26 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[10, 39, 91, 68], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [10, 39, 23]
Generated Node #0,1: 26:[10, 39, 23] Operation: 91-68=23
Moving to Node #0,1
Current State: 26:[10, 39, 23], Operations: ['91-68=23']
Exploring Operation: 39-23=16, Resulting Numbers: [10, 16]
Generated Node #0,1,2: 26:[10, 16] Operation: 39-23=16
Moving to Node #0,1,2
Current State: 26:[10, 16], Operations: ['91-68=23', '39-23=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
64,
81,
30,
25
] | 12 | [
"81-64=17",
"30-25=5",
"17-5=12"
] | Current State: 12:[64, 81, 30, 25], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [30, 25, 17]
Generated Node #2: [30, 25, 17] from Operation: 81-64=17
Current State: 12:[30, 25, 17], Operations: ['81-64=17']
Exploring Operation: 30-25=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 30-25=5
Current State: 12:[17, 5], Operations: ['81-64=17', '30-25=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[64, 81, 30, 25], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [64, 30, 56]
Generated Node #0,0: 12:[64, 30, 56] Operation: 81-25=56
Exploring Operation: 64-25=39, Resulting Numbers: [81, 30, 39]
Generated Node #0,1: 12:[81, 30, 39] Operation: 64-25=39
Exploring Operation: 81-64=17, Resulting Numbers: [30, 25, 17]
Generated Node #0,2: 12:[30, 25, 17] Operation: 81-64=17
Exploring Operation: 64-30=34, Resulting Numbers: [81, 25, 34]
Generated Node #0,3: 12:[81, 25, 34] Operation: 64-30=34
Exploring Operation: 81-30=51, Resulting Numbers: [64, 25, 51]
Generated Node #0,4: 12:[64, 25, 51] Operation: 81-30=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[30, 25, 17], Operations: ['81-64=17']
Exploring Operation: 30-17=13, Resulting Numbers: [25, 13]
Generated Node #0,2,0: 12:[25, 13] Operation: 30-17=13
Exploring Operation: 30-25=5, Resulting Numbers: [17, 5]
Generated Node #0,2,1: 12:[17, 5] Operation: 30-25=5
Exploring Operation: 30+25=55, Resulting Numbers: [17, 55]
Generated Node #0,2,2: 12:[17, 55] Operation: 30+25=55
Exploring Operation: 30+17=47, Resulting Numbers: [25, 47]
Generated Node #0,2,3: 12:[25, 47] Operation: 30+17=47
Exploring Operation: 25-17=8, Resulting Numbers: [30, 8]
Generated Node #0,2,4: 12:[30, 8] Operation: 25-17=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 12:[17, 5], Operations: ['81-64=17', '30-25=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[64, 81, 30, 25], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [30, 25, 17]
Generated Node #0,2: 12:[30, 25, 17] Operation: 81-64=17
Moving to Node #0,2
Current State: 12:[30, 25, 17], Operations: ['81-64=17']
Exploring Operation: 30-25=5, Resulting Numbers: [17, 5]
Generated Node #0,2,1: 12:[17, 5] Operation: 30-25=5
Moving to Node #0,2,1
Current State: 12:[17, 5], Operations: ['81-64=17', '30-25=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.