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 |
|---|---|---|---|---|---|---|---|---|
[
76,
73,
12,
20
] | 35 | [
"76-73=3",
"12+20=32",
"3+32=35"
] | Current State: 35:[76, 73, 12, 20], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [12, 20, 3]
Generated Node #2: [12, 20, 3] from Operation: 76-73=3
Current State: 35:[12, 20, 3], Operations: ['76-73=3']
Exploring Operation: 12+20=32, Resulting Numbers: [3, 32]
Generated Node #3: [3, 32] from Operation: 12+20=32
Current State: 35:[3, 32], Operations: ['76-73=3', '12+20=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[76, 73, 12, 20], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [12, 20, 3]
Generated Node #0,0: 35:[12, 20, 3] Operation: 76-73=3
Exploring Operation: 76-20=56, Resulting Numbers: [73, 12, 56]
Generated Node #0,1: 35:[73, 12, 56] Operation: 76-20=56
Moving to Node #0,0
Current State: 35:[12, 20, 3], Operations: ['76-73=3']
Exploring Operation: 20-12=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 35:[3, 8] Operation: 20-12=8
Exploring Operation: 12+20=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 35:[3, 32] Operation: 12+20=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[3, 8], Operations: ['76-73=3', '20-12=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No 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: 35:[3, 32], Operations: ['76-73=3', '12+20=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[76, 73, 12, 20], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [12, 20, 3]
Generated Node #0,0: 35:[12, 20, 3] Operation: 76-73=3
Moving to Node #0,0
Current State: 35:[12, 20, 3], Operations: ['76-73=3']
Exploring Operation: 12+20=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 35:[3, 32] Operation: 12+20=32
Moving to Node #0,0,1
Current State: 35:[3, 32], Operations: ['76-73=3', '12+20=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
72,
3,
17,
51
] | 71 | [
"3*17=51",
"51/51=1",
"72-1=71"
] | Current State: 71:[72, 3, 17, 51], Operations: []
Exploring Operation: 3*17=51, Resulting Numbers: [72, 51, 51]
Generated Node #2: [72, 51, 51] from Operation: 3*17=51
Current State: 71:[72, 51, 51], Operations: ['3*17=51']
Exploring Operation: 51/51=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 51/51=1
Current State: 71:[72, 1], Operations: ['3*17=51', '51/51=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[72, 3, 17, 51], Operations: []
Exploring Operation: 17+51=68, Resulting Numbers: [72, 3, 68]
Generated Node #0,0: 71:[72, 3, 68] Operation: 17+51=68
Exploring Operation: 3+17=20, Resulting Numbers: [72, 51, 20]
Generated Node #0,1: 71:[72, 51, 20] Operation: 3+17=20
Exploring Operation: 3+51=54, Resulting Numbers: [72, 17, 54]
Generated Node #0,2: 71:[72, 17, 54] Operation: 3+51=54
Exploring Operation: 3*17=51, Resulting Numbers: [72, 51, 51]
Generated Node #0,3: 71:[72, 51, 51] Operation: 3*17=51
Moving to Node #0,3
Current State: 71:[72, 51, 51], Operations: ['3*17=51']
Exploring Operation: 51/51=1, Resulting Numbers: [72, 1]
Generated Node #0,3,0: 71:[72, 1] Operation: 51/51=1
Exploring Operation: 72-51=21, Resulting Numbers: [51, 21]
Generated Node #0,3,1: 71:[51, 21] Operation: 72-51=21
Exploring Operation: 72-51=21, Resulting Numbers: [51, 21]
Generated Node #0,3,2: 71:[51, 21] Operation: 72-51=21
Exploring Operation: 51+51=102, Resulting Numbers: [72, 102]
Generated Node #0,3,3: 71:[72, 102] Operation: 51+51=102
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[72, 102], Operations: ['3*17=51', '51+51=102']
Exploring Operation: 72+102=174, Resulting Numbers: [174]
174,71 unequal: No Solution
Exploring Operation: 72*102=7344, Resulting Numbers: [7344]
7344,71 unequal: No Solution
Exploring Operation: 102-72=30, Resulting Numbers: [30]
30,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,3,1
Current State: 71:[51, 21], Operations: ['3*17=51', '72-51=21']
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,71 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,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,3,2
Current State: 71:[51, 21], Operations: ['3*17=51', '72-51=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 51*21=1071, Resulting Numbers: [1071]
1071,71 unequal: No Solution
Exploring Operation: 51+21=72, Resulting Numbers: [72]
72,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,3,0
Current State: 71:[72, 1], Operations: ['3*17=51', '51/51=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[72, 3, 17, 51], Operations: []
Exploring Operation: 3*17=51, Resulting Numbers: [72, 51, 51]
Generated Node #0,3: 71:[72, 51, 51] Operation: 3*17=51
Moving to Node #0,3
Current State: 71:[72, 51, 51], Operations: ['3*17=51']
Exploring Operation: 51/51=1, Resulting Numbers: [72, 1]
Generated Node #0,3,0: 71:[72, 1] Operation: 51/51=1
Moving to Node #0,3,0
Current State: 71:[72, 1], Operations: ['3*17=51', '51/51=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
69,
10,
27,
1
] | 20 | [
"69+1=70",
"70/10=7",
"27-7=20"
] | Current State: 20:[69, 10, 27, 1], Operations: []
Exploring Operation: 69+1=70, Resulting Numbers: [10, 27, 70]
Generated Node #2: [10, 27, 70] from Operation: 69+1=70
Current State: 20:[10, 27, 70], Operations: ['69+1=70']
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #3: [27, 7] from Operation: 70/10=7
Current State: 20:[27, 7], Operations: ['69+1=70', '70/10=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[69, 10, 27, 1], Operations: []
Exploring Operation: 27-1=26, Resulting Numbers: [69, 10, 26]
Generated Node #0,0: 20:[69, 10, 26] Operation: 27-1=26
Exploring Operation: 69-10=59, Resulting Numbers: [27, 1, 59]
Generated Node #0,1: 20:[27, 1, 59] Operation: 69-10=59
Exploring Operation: 69-1=68, Resulting Numbers: [10, 27, 68]
Generated Node #0,2: 20:[10, 27, 68] Operation: 69-1=68
Exploring Operation: 27-10=17, Resulting Numbers: [69, 1, 17]
Generated Node #0,3: 20:[69, 1, 17] Operation: 27-10=17
Exploring Operation: 69-27=42, Resulting Numbers: [10, 1, 42]
Generated Node #0,4: 20:[10, 1, 42] Operation: 69-27=42
Moving to Node #0,4
Current State: 20:[10, 1, 42], Operations: ['69-27=42']
Exploring Operation: 10*1=10, Resulting Numbers: [42, 10]
Generated Node #0,4,0: 20:[42, 10] Operation: 10*1=10
Exploring Operation: 10/1=10, Resulting Numbers: [42, 10]
Generated Node #0,4,1: 20:[42, 10] Operation: 10/1=10
Exploring Operation: 42-10=32, Resulting Numbers: [1, 32]
Generated Node #0,4,2: 20:[1, 32] Operation: 42-10=32
Exploring Operation: 1*42=42, Resulting Numbers: [10, 42]
Generated Node #0,4,3: 20:[10, 42] Operation: 1*42=42
Exploring Operation: 42-1=41, Resulting Numbers: [10, 41]
Generated Node #0,4,4: 20:[10, 41] Operation: 42-1=41
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[1, 32], Operations: ['69-27=42', '42-10=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,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,4,4
Current State: 20:[10, 41], Operations: ['69-27=42', '42-1=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,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,4,0
Current State: 20:[42, 10], Operations: ['69-27=42', '10*1=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,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,4,1
Current State: 20:[42, 10], Operations: ['69-27=42', '10/1=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,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,4,3
Current State: 20:[10, 42], Operations: ['69-27=42', '1*42=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,20 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: 20:[27, 1, 59], Operations: ['69-10=59']
Exploring Operation: 27-1=26, Resulting Numbers: [59, 26]
Generated Node #0,1,0: 20:[59, 26] Operation: 27-1=26
Exploring Operation: 59-27=32, Resulting Numbers: [1, 32]
Generated Node #0,1,1: 20:[1, 32] Operation: 59-27=32
Exploring Operation: 27/1=27, Resulting Numbers: [59, 27]
Generated Node #0,1,2: 20:[59, 27] Operation: 27/1=27
Exploring Operation: 27*1=27, Resulting Numbers: [59, 27]
Generated Node #0,1,3: 20:[59, 27] Operation: 27*1=27
Exploring Operation: 59-1=58, Resulting Numbers: [27, 58]
Generated Node #0,1,4: 20:[27, 58] Operation: 59-1=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[1, 32], Operations: ['69-10=59', '59-27=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,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,0
Current State: 20:[59, 26], Operations: ['69-10=59', '27-1=26']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,20 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,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,4
Current State: 20:[27, 58], Operations: ['69-10=59', '59-1=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,20 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,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,2
Current State: 20:[59, 27], Operations: ['69-10=59', '27/1=27']
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,20 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,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,3
Current State: 20:[59, 27], Operations: ['69-10=59', '27*1=27']
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,20 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: 20:[69, 1, 17], Operations: ['27-10=17']
Exploring Operation: 1+17=18, Resulting Numbers: [69, 18]
Generated Node #0,3,0: 20:[69, 18] Operation: 1+17=18
Exploring Operation: 69-1=68, Resulting Numbers: [17, 68]
Generated Node #0,3,1: 20:[17, 68] Operation: 69-1=68
Exploring Operation: 69*1=69, Resulting Numbers: [17, 69]
Generated Node #0,3,2: 20:[17, 69] Operation: 69*1=69
Exploring Operation: 69/1=69, Resulting Numbers: [17, 69]
Generated Node #0,3,3: 20:[17, 69] Operation: 69/1=69
Exploring Operation: 69-17=52, Resulting Numbers: [1, 52]
Generated Node #0,3,4: 20:[1, 52] Operation: 69-17=52
Moving to Node #0,0
Current State: 20:[69, 10, 26], Operations: ['27-1=26']
Exploring Operation: 69-26=43, Resulting Numbers: [10, 43]
Generated Node #0,0,0: 20:[10, 43] Operation: 69-26=43
Exploring Operation: 69+10=79, Resulting Numbers: [26, 79]
Generated Node #0,0,1: 20:[26, 79] Operation: 69+10=79
Exploring Operation: 69-10=59, Resulting Numbers: [26, 59]
Generated Node #0,0,2: 20:[26, 59] Operation: 69-10=59
Exploring Operation: 26-10=16, Resulting Numbers: [69, 16]
Generated Node #0,0,3: 20:[69, 16] Operation: 26-10=16
Exploring Operation: 10+26=36, Resulting Numbers: [69, 36]
Generated Node #0,0,4: 20:[69, 36] Operation: 10+26=36
Moving to Node #0,2
Current State: 20:[10, 27, 68], Operations: ['69-1=68']
Exploring Operation: 10+27=37, Resulting Numbers: [68, 37]
Generated Node #0,2,0: 20:[68, 37] Operation: 10+27=37
Exploring Operation: 27-10=17, Resulting Numbers: [68, 17]
Generated Node #0,2,1: 20:[68, 17] Operation: 27-10=17
Exploring Operation: 10+68=78, Resulting Numbers: [27, 78]
Generated Node #0,2,2: 20:[27, 78] Operation: 10+68=78
Exploring Operation: 68-27=41, Resulting Numbers: [10, 41]
Generated Node #0,2,3: 20:[10, 41] Operation: 68-27=41
Exploring Operation: 68-10=58, Resulting Numbers: [27, 58]
Generated Node #0,2,4: 20:[27, 58] Operation: 68-10=58
Moving to Node #0,2,3
Current State: 20:[10, 41], Operations: ['69-1=68', '68-27=41']
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,20 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[10, 43], Operations: ['27-1=26', '69-26=43']
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[1, 52], Operations: ['27-10=17', '69-17=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[26, 59], Operations: ['27-1=26', '69-10=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,20 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[27, 58], Operations: ['69-1=68', '68-10=58']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[17, 68], Operations: ['27-10=17', '69-1=68']
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[68, 17], Operations: ['69-1=68', '27-10=17']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,20 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[69, 18], Operations: ['27-10=17', '1+17=18']
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,20 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[17, 69], Operations: ['27-10=17', '69/1=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[17, 69], Operations: ['27-10=17', '69*1=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[69, 16], Operations: ['27-1=26', '26-10=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 69*16=1104, Resulting Numbers: [1104]
1104,20 unequal: No Solution
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[68, 37], Operations: ['69-1=68', '10+27=37']
Exploring Operation: 68*37=2516, Resulting Numbers: [2516]
2516,20 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 68+37=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[27, 78], Operations: ['69-1=68', '10+68=78']
Exploring Operation: 78-27=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 27*78=2106, Resulting Numbers: [2106]
2106,20 unequal: No Solution
Exploring Operation: 27+78=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[26, 79], Operations: ['27-1=26', '69+10=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,20 unequal: No Solution
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Moving to Node #0,0,4
Current State: 20:[69, 36], Operations: ['27-1=26', '10+26=36']
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,20 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,20 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
38,
7,
34,
12
] | 23 | [
"38+7=45",
"34-12=22",
"45-22=23"
] | Current State: 23:[38, 7, 34, 12], Operations: []
Exploring Operation: 38+7=45, Resulting Numbers: [34, 12, 45]
Generated Node #2: [34, 12, 45] from Operation: 38+7=45
Current State: 23:[34, 12, 45], Operations: ['38+7=45']
Exploring Operation: 34-12=22, Resulting Numbers: [45, 22]
Generated Node #3: [45, 22] from Operation: 34-12=22
Current State: 23:[45, 22], Operations: ['38+7=45', '34-12=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[38, 7, 34, 12], Operations: []
Exploring Operation: 34-7=27, Resulting Numbers: [38, 12, 27]
Generated Node #0,0: 23:[38, 12, 27] Operation: 34-7=27
Exploring Operation: 38-12=26, Resulting Numbers: [7, 34, 26]
Generated Node #0,1: 23:[7, 34, 26] Operation: 38-12=26
Exploring Operation: 7+12=19, Resulting Numbers: [38, 34, 19]
Generated Node #0,2: 23:[38, 34, 19] Operation: 7+12=19
Exploring Operation: 38-7=31, Resulting Numbers: [34, 12, 31]
Generated Node #0,3: 23:[34, 12, 31] Operation: 38-7=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[38, 12, 27], Operations: ['34-7=27']
Exploring Operation: 38-27=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 23:[12, 11] Operation: 38-27=11
Exploring Operation: 27-12=15, Resulting Numbers: [38, 15]
Generated Node #0,0,1: 23:[38, 15] Operation: 27-12=15
Exploring Operation: 38-12=26, Resulting Numbers: [27, 26]
Generated Node #0,0,2: 23:[27, 26] Operation: 38-12=26
Exploring Operation: 38+12=50, Resulting Numbers: [27, 50]
Generated Node #0,0,3: 23:[27, 50] Operation: 38+12=50
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[27, 26], Operations: ['34-7=27', '38-12=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,23 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: 23:[12, 11], Operations: ['34-7=27', '38-27=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[38, 7, 34, 12], Operations: []
Exploring Operation: 34-7=27, Resulting Numbers: [38, 12, 27]
Generated Node #0,0: 23:[38, 12, 27] Operation: 34-7=27
Moving to Node #0,0
Current State: 23:[38, 12, 27], Operations: ['34-7=27']
Exploring Operation: 38-27=11, Resulting Numbers: [12, 11]
Generated Node #0,0,0: 23:[12, 11] Operation: 38-27=11
Moving to Node #0,0,0
Current State: 23:[12, 11], Operations: ['34-7=27', '38-27=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
97,
65,
43,
18
] | 91 | [
"65+43=108",
"108/18=6",
"97-6=91"
] | Current State: 91:[97, 65, 43, 18], Operations: []
Exploring Operation: 65+43=108, Resulting Numbers: [97, 18, 108]
Generated Node #2: [97, 18, 108] from Operation: 65+43=108
Current State: 91:[97, 18, 108], Operations: ['65+43=108']
Exploring Operation: 108/18=6, Resulting Numbers: [97, 6]
Generated Node #3: [97, 6] from Operation: 108/18=6
Current State: 91:[97, 6], Operations: ['65+43=108', '108/18=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[97, 65, 43, 18], Operations: []
Exploring Operation: 65-43=22, Resulting Numbers: [97, 18, 22]
Generated Node #0,0: 91:[97, 18, 22] Operation: 65-43=22
Exploring Operation: 65+43=108, Resulting Numbers: [97, 18, 108]
Generated Node #0,1: 91:[97, 18, 108] Operation: 65+43=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[97, 18, 22], Operations: ['65-43=22']
Exploring Operation: 22-18=4, Resulting Numbers: [97, 4]
Generated Node #0,0,0: 91:[97, 4] Operation: 22-18=4
Exploring Operation: 97-18=79, Resulting Numbers: [22, 79]
Generated Node #0,0,1: 91:[22, 79] Operation: 97-18=79
Moving to Node #0,0,0
Current State: 91:[97, 4], Operations: ['65-43=22', '22-18=4']
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[22, 79], Operations: ['65-43=22', '97-18=79']
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[97, 18, 108], Operations: ['65+43=108']
Exploring Operation: 108-18=90, Resulting Numbers: [97, 90]
Generated Node #0,1,0: 91:[97, 90] Operation: 108-18=90
Exploring Operation: 108-97=11, Resulting Numbers: [18, 11]
Generated Node #0,1,1: 91:[18, 11] Operation: 108-97=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[97, 90], Operations: ['65+43=108', '108-18=90']
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 97+90=187, Resulting Numbers: [187]
187,91 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: 91:[18, 11], Operations: ['65+43=108', '108-97=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,91 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 |
[
32,
61,
55,
22
] | 16 | [
"32+61=93",
"55+22=77",
"93-77=16"
] | Current State: 16:[32, 61, 55, 22], Operations: []
Exploring Operation: 32+61=93, Resulting Numbers: [55, 22, 93]
Generated Node #2: [55, 22, 93] from Operation: 32+61=93
Current State: 16:[55, 22, 93], Operations: ['32+61=93']
Exploring Operation: 55+22=77, Resulting Numbers: [93, 77]
Generated Node #3: [93, 77] from Operation: 55+22=77
Current State: 16:[93, 77], Operations: ['32+61=93', '55+22=77']
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[32, 61, 55, 22], Operations: []
Exploring Operation: 61-55=6, Resulting Numbers: [32, 22, 6]
Generated Node #0,0: 16:[32, 22, 6] Operation: 61-55=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[32, 22, 6], Operations: ['61-55=6']
Exploring Operation: 32-22=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 16:[6, 10] Operation: 32-22=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[6, 10], Operations: ['61-55=6', '32-22=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[32, 61, 55, 22], Operations: []
Exploring Operation: 61-55=6, Resulting Numbers: [32, 22, 6]
Generated Node #0,0: 16:[32, 22, 6] Operation: 61-55=6
Moving to Node #0,0
Current State: 16:[32, 22, 6], Operations: ['61-55=6']
Exploring Operation: 32-22=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 16:[6, 10] Operation: 32-22=10
Moving to Node #0,0,0
Current State: 16:[6, 10], Operations: ['61-55=6', '32-22=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
99,
40,
33,
51
] | 41 | [
"99-40=59",
"51-33=18",
"59-18=41"
] | Current State: 41:[99, 40, 33, 51], Operations: []
Exploring Operation: 99-40=59, Resulting Numbers: [33, 51, 59]
Generated Node #2: [33, 51, 59] from Operation: 99-40=59
Current State: 41:[33, 51, 59], Operations: ['99-40=59']
Exploring Operation: 51-33=18, Resulting Numbers: [59, 18]
Generated Node #3: [59, 18] from Operation: 51-33=18
Current State: 41:[59, 18], Operations: ['99-40=59', '51-33=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[99, 40, 33, 51], Operations: []
Exploring Operation: 99-40=59, Resulting Numbers: [33, 51, 59]
Generated Node #0,0: 41:[33, 51, 59] Operation: 99-40=59
Exploring Operation: 99/33=3, Resulting Numbers: [40, 51, 3]
Generated Node #0,1: 41:[40, 51, 3] Operation: 99/33=3
Exploring Operation: 99-51=48, Resulting Numbers: [40, 33, 48]
Generated Node #0,2: 41:[40, 33, 48] Operation: 99-51=48
Exploring Operation: 99-33=66, Resulting Numbers: [40, 51, 66]
Generated Node #0,3: 41:[40, 51, 66] Operation: 99-33=66
Moving to Node #0,2
Current State: 41:[40, 33, 48], Operations: ['99-51=48']
Exploring Operation: 40-33=7, Resulting Numbers: [48, 7]
Generated Node #0,2,0: 41:[48, 7] Operation: 40-33=7
Exploring Operation: 40+33=73, Resulting Numbers: [48, 73]
Generated Node #0,2,1: 41:[48, 73] Operation: 40+33=73
Exploring Operation: 48-33=15, Resulting Numbers: [40, 15]
Generated Node #0,2,2: 41:[40, 15] Operation: 48-33=15
Exploring Operation: 48-40=8, Resulting Numbers: [33, 8]
Generated Node #0,2,3: 41:[33, 8] Operation: 48-40=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[40, 15], Operations: ['99-51=48', '48-33=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,41 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[48, 73], Operations: ['99-51=48', '40+33=73']
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 48*73=3504, Resulting Numbers: [3504]
3504,41 unequal: No Solution
Exploring Operation: 48+73=121, Resulting Numbers: [121]
121,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[48, 7], Operations: ['99-51=48', '40-33=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,41 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[99, 40, 33, 51], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [40, 33, 48]
Generated Node #0,2: 41:[40, 33, 48] Operation: 99-51=48
Moving to Node #0,2
Current State: 41:[40, 33, 48], Operations: ['99-51=48']
Exploring Operation: 40-33=7, Resulting Numbers: [48, 7]
Generated Node #0,2,0: 41:[48, 7] Operation: 40-33=7
Moving to Node #0,2,0
Current State: 41:[48, 7], Operations: ['99-51=48', '40-33=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
54,
96,
81,
19
] | 45 | [
"54*96=5184",
"5184/81=64",
"64-19=45"
] | Current State: 45:[54, 96, 81, 19], Operations: []
Exploring Operation: 54*96=5184, Resulting Numbers: [81, 19, 5184]
Generated Node #2: [81, 19, 5184] from Operation: 54*96=5184
Current State: 45:[81, 19, 5184], Operations: ['54*96=5184']
Exploring Operation: 5184/81=64, Resulting Numbers: [19, 64]
Generated Node #3: [19, 64] from Operation: 5184/81=64
Current State: 45:[19, 64], Operations: ['54*96=5184', '5184/81=64']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[54, 96, 81, 19], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [54, 81, 77]
Generated Node #0,0: 45:[54, 81, 77] Operation: 96-19=77
Exploring Operation: 81-54=27, Resulting Numbers: [96, 19, 27]
Generated Node #0,1: 45:[96, 19, 27] Operation: 81-54=27
Exploring Operation: 96-54=42, Resulting Numbers: [81, 19, 42]
Generated Node #0,2: 45:[81, 19, 42] Operation: 96-54=42
Exploring Operation: 96-81=15, Resulting Numbers: [54, 19, 15]
Generated Node #0,3: 45:[54, 19, 15] Operation: 96-81=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[54, 19, 15], Operations: ['96-81=15']
Exploring Operation: 54-15=39, Resulting Numbers: [19, 39]
Generated Node #0,3,0: 45:[19, 39] Operation: 54-15=39
Exploring Operation: 54-19=35, Resulting Numbers: [15, 35]
Generated Node #0,3,1: 45:[15, 35] Operation: 54-19=35
Exploring Operation: 19+15=34, Resulting Numbers: [54, 34]
Generated Node #0,3,2: 45:[54, 34] Operation: 19+15=34
Exploring Operation: 19-15=4, Resulting Numbers: [54, 4]
Generated Node #0,3,3: 45:[54, 4] Operation: 19-15=4
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[19, 39], Operations: ['96-81=15', '54-15=39']
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,45 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,45 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: 45:[15, 35], Operations: ['96-81=15', '54-19=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,45 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: 45:[54, 4], Operations: ['96-81=15', '19-15=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,45 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,45 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: 45:[54, 34], Operations: ['96-81=15', '19+15=34']
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,45 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,45 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: 45:[81, 19, 42], Operations: ['96-54=42']
Exploring Operation: 42-19=23, Resulting Numbers: [81, 23]
Generated Node #0,2,0: 45:[81, 23] Operation: 42-19=23
Exploring Operation: 81-42=39, Resulting Numbers: [19, 39]
Generated Node #0,2,1: 45:[19, 39] Operation: 81-42=39
Exploring Operation: 81-19=62, Resulting Numbers: [42, 62]
Generated Node #0,2,2: 45:[42, 62] Operation: 81-19=62
Exploring Operation: 19+42=61, Resulting Numbers: [81, 61]
Generated Node #0,2,3: 45:[81, 61] Operation: 19+42=61
Moving to Node #0,2,1
Current State: 45:[19, 39], Operations: ['96-54=42', '81-42=39']
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,45 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[42, 62], Operations: ['96-54=42', '81-19=62']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[81, 23], Operations: ['96-54=42', '42-19=23']
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,45 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[81, 61], Operations: ['96-54=42', '19+42=61']
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,45 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,45 unequal: No Solution
No 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: 45:[96, 19, 27], Operations: ['81-54=27']
Exploring Operation: 96-19=77, Resulting Numbers: [27, 77]
Generated Node #0,1,0: 45:[27, 77] Operation: 96-19=77
Exploring Operation: 96-27=69, Resulting Numbers: [19, 69]
Generated Node #0,1,1: 45:[19, 69] Operation: 96-27=69
Exploring Operation: 19+27=46, Resulting Numbers: [96, 46]
Generated Node #0,1,2: 45:[96, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [96, 8]
Generated Node #0,1,3: 45:[96, 8] Operation: 27-19=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[19, 69], Operations: ['81-54=27', '96-27=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,45 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,45 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: 45:[27, 77], Operations: ['81-54=27', '96-19=77']
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,45 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: 45:[96, 46], Operations: ['81-54=27', '19+27=46']
Exploring Operation: 96+46=142, Resulting Numbers: [142]
142,45 unequal: No Solution
Exploring Operation: 96*46=4416, Resulting Numbers: [4416]
4416,45 unequal: No Solution
Exploring Operation: 96-46=50, Resulting Numbers: [50]
50,45 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: 45:[96, 8], Operations: ['81-54=27', '27-19=8']
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 96*8=768, Resulting Numbers: [768]
768,45 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,45 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: 45:[54, 81, 77], Operations: ['96-19=77']
Exploring Operation: 54+81=135, Resulting Numbers: [77, 135]
Generated Node #0,0,0: 45:[77, 135] Operation: 54+81=135
Exploring Operation: 81-54=27, Resulting Numbers: [77, 27]
Generated Node #0,0,1: 45:[77, 27] Operation: 81-54=27
Exploring Operation: 81-77=4, Resulting Numbers: [54, 4]
Generated Node #0,0,2: 45:[54, 4] Operation: 81-77=4
Exploring Operation: 77-54=23, Resulting Numbers: [81, 23]
Generated Node #0,0,3: 45:[81, 23] Operation: 77-54=23
Moving to Node #0,0,2
Current State: 45:[54, 4], Operations: ['96-19=77', '81-77=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,45 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[81, 23], Operations: ['96-19=77', '77-54=23']
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,45 unequal: No Solution
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[77, 27], Operations: ['96-19=77', '81-54=27']
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[77, 135], Operations: ['96-19=77', '54+81=135']
Exploring Operation: 77*135=10395, Resulting Numbers: [10395]
10395,45 unequal: No Solution
Exploring Operation: 77+135=212, Resulting Numbers: [212]
212,45 unequal: No Solution
Exploring Operation: 135-77=58, Resulting Numbers: [58]
58,45 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 |
[
74,
29,
63,
74
] | 34 | [
"74+29=103",
"63+74=137",
"137-103=34"
] | Current State: 34:[74, 29, 63, 74], Operations: []
Exploring Operation: 74+29=103, Resulting Numbers: [63, 103]
Generated Node #2: [63, 103] from Operation: 74+29=103
Current State: 34:[63, 103], Operations: ['74+29=103']
Exploring Operation: 63+74=137, Resulting Numbers: [103, 137]
Generated Node #3: [103, 137] from Operation: 63+74=137
Current State: 34:[103, 137], Operations: ['74+29=103', '63+74=137']
Exploring Operation: 137-103=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[74, 29, 63, 74], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [74, 29, 11]
Generated Node #0,0: 34:[74, 29, 11] Operation: 74-63=11
Exploring Operation: 74-74=0, Resulting Numbers: [29, 63, 0]
Generated Node #0,1: 34:[29, 63, 0] Operation: 74-74=0
Exploring Operation: 74-63=11, Resulting Numbers: [29, 74, 11]
Generated Node #0,2: 34:[29, 74, 11] Operation: 74-63=11
Exploring Operation: 74/74=1, Resulting Numbers: [29, 63, 1]
Generated Node #0,3: 34:[29, 63, 1] Operation: 74/74=1
Exploring Operation: 74-29=45, Resulting Numbers: [63, 74, 45]
Generated Node #0,4: 34:[63, 74, 45] Operation: 74-29=45
Moving to Node #0,3
Current State: 34:[29, 63, 1], Operations: ['74/74=1']
Exploring Operation: 29+1=30, Resulting Numbers: [63, 30]
Generated Node #0,3,0: 34:[63, 30] Operation: 29+1=30
Exploring Operation: 29*1=29, Resulting Numbers: [63, 29]
Generated Node #0,3,1: 34:[63, 29] Operation: 29*1=29
Exploring Operation: 63-29=34, Resulting Numbers: [1, 34]
Generated Node #0,3,2: 34:[1, 34] Operation: 63-29=34
Exploring Operation: 29/1=29, Resulting Numbers: [63, 29]
Generated Node #0,3,3: 34:[63, 29] Operation: 29/1=29
Exploring Operation: 63-1=62, Resulting Numbers: [29, 62]
Generated Node #0,3,4: 34:[29, 62] Operation: 63-1=62
Moving to Node #0,1
Current State: 34:[29, 63, 0], Operations: ['74-74=0']
Exploring Operation: 29-0=29, Resulting Numbers: [63, 29]
Generated Node #0,1,0: 34:[63, 29] Operation: 29-0=29
Exploring Operation: 63-29=34, Resulting Numbers: [0, 34]
Generated Node #0,1,1: 34:[0, 34] Operation: 63-29=34
Exploring Operation: 63*0=0, Resulting Numbers: [29, 0]
Generated Node #0,1,2: 34:[29, 0] Operation: 63*0=0
Exploring Operation: 29+0=29, Resulting Numbers: [63, 29]
Generated Node #0,1,3: 34:[63, 29] Operation: 29+0=29
Exploring Operation: 29*0=0, Resulting Numbers: [63, 0]
Generated Node #0,1,4: 34:[63, 0] Operation: 29*0=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[0, 34], Operations: ['74-74=0', '63-29=34']
Exploring Operation: 0*34=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 0+34=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[74, 29, 63, 74], Operations: []
Exploring Operation: 74-74=0, Resulting Numbers: [29, 63, 0]
Generated Node #0,1: 34:[29, 63, 0] Operation: 74-74=0
Moving to Node #0,1
Current State: 34:[29, 63, 0], Operations: ['74-74=0']
Exploring Operation: 63-29=34, Resulting Numbers: [0, 34]
Generated Node #0,1,1: 34:[0, 34] Operation: 63-29=34
Moving to Node #0,1,1
Current State: 34:[0, 34], Operations: ['74-74=0', '63-29=34']
Exploring Operation: 0+34=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
28,
94,
96,
62
] | 32 | [
"94-28=66",
"96-62=34",
"66-34=32"
] | Current State: 32:[28, 94, 96, 62], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [96, 62, 66]
Generated Node #2: [96, 62, 66] from Operation: 94-28=66
Current State: 32:[96, 62, 66], Operations: ['94-28=66']
Exploring Operation: 96-62=34, Resulting Numbers: [66, 34]
Generated Node #3: [66, 34] from Operation: 96-62=34
Current State: 32:[66, 34], Operations: ['94-28=66', '96-62=34']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[28, 94, 96, 62], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [28, 96, 32]
Generated Node #0,0: 32:[28, 96, 32] Operation: 94-62=32
Exploring Operation: 96-94=2, Resulting Numbers: [28, 62, 2]
Generated Node #0,1: 32:[28, 62, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[28, 62, 2], Operations: ['96-94=2']
Exploring Operation: 62-28=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 32:[2, 34] Operation: 62-28=34
Exploring Operation: 62/2=31, Resulting Numbers: [28, 31]
Generated Node #0,1,1: 32:[28, 31] Operation: 62/2=31
Moving to Node #0,1,0
Current State: 32:[2, 34], Operations: ['96-94=2', '62-28=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[28, 94, 96, 62], Operations: []
Exploring Operation: 96-94=2, Resulting Numbers: [28, 62, 2]
Generated Node #0,1: 32:[28, 62, 2] Operation: 96-94=2
Moving to Node #0,1
Current State: 32:[28, 62, 2], Operations: ['96-94=2']
Exploring Operation: 62-28=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 32:[2, 34] Operation: 62-28=34
Moving to Node #0,1,0
Current State: 32:[2, 34], Operations: ['96-94=2', '62-28=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
94,
19,
58,
87
] | 70 | [
"94-19=75",
"58+87=145",
"145-75=70"
] | Current State: 70:[94, 19, 58, 87], Operations: []
Exploring Operation: 94-19=75, Resulting Numbers: [58, 87, 75]
Generated Node #2: [58, 87, 75] from Operation: 94-19=75
Current State: 70:[58, 87, 75], Operations: ['94-19=75']
Exploring Operation: 58+87=145, Resulting Numbers: [75, 145]
Generated Node #3: [75, 145] from Operation: 58+87=145
Current State: 70:[75, 145], Operations: ['94-19=75', '58+87=145']
Exploring Operation: 145-75=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[94, 19, 58, 87], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [19, 87, 36]
Generated Node #0,0: 70:[19, 87, 36] Operation: 94-58=36
Exploring Operation: 94-87=7, Resulting Numbers: [19, 58, 7]
Generated Node #0,1: 70:[19, 58, 7] Operation: 94-87=7
Moving to Node #0,1
Current State: 70:[19, 58, 7], Operations: ['94-87=7']
Exploring Operation: 58-19=39, Resulting Numbers: [7, 39]
Generated Node #0,1,0: 70:[7, 39] Operation: 58-19=39
Exploring Operation: 19+58=77, Resulting Numbers: [7, 77]
Generated Node #0,1,1: 70:[7, 77] Operation: 19+58=77
Moving to Node #0,0
Current State: 70:[19, 87, 36], Operations: ['94-58=36']
Exploring Operation: 87-19=68, Resulting Numbers: [36, 68]
Generated Node #0,0,0: 70:[36, 68] Operation: 87-19=68
Exploring Operation: 36-19=17, Resulting Numbers: [87, 17]
Generated Node #0,0,1: 70:[87, 17] Operation: 36-19=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[36, 68], Operations: ['94-58=36', '87-19=68']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 36+68=104, Resulting Numbers: [104]
104,70 unequal: No Solution
No 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: 70:[87, 17], Operations: ['94-58=36', '36-19=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[94, 19, 58, 87], Operations: []
Exploring Operation: 94-58=36, Resulting Numbers: [19, 87, 36]
Generated Node #0,0: 70:[19, 87, 36] Operation: 94-58=36
Moving to Node #0,0
Current State: 70:[19, 87, 36], Operations: ['94-58=36']
Exploring Operation: 36-19=17, Resulting Numbers: [87, 17]
Generated Node #0,0,1: 70:[87, 17] Operation: 36-19=17
Moving to Node #0,0,1
Current State: 70:[87, 17], Operations: ['94-58=36', '36-19=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | sum_heuristic |
[
41,
44,
57,
26
] | 80 | [
"44-41=3",
"57+26=83",
"83-3=80"
] | Current State: 80:[41, 44, 57, 26], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [57, 26, 3]
Generated Node #2: [57, 26, 3] from Operation: 44-41=3
Current State: 80:[57, 26, 3], Operations: ['44-41=3']
Exploring Operation: 57+26=83, Resulting Numbers: [3, 83]
Generated Node #3: [3, 83] from Operation: 57+26=83
Current State: 80:[3, 83], Operations: ['44-41=3', '57+26=83']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[41, 44, 57, 26], Operations: []
Exploring Operation: 57+26=83, Resulting Numbers: [41, 44, 83]
Generated Node #0,0: 80:[41, 44, 83] Operation: 57+26=83
Exploring Operation: 57-41=16, Resulting Numbers: [44, 26, 16]
Generated Node #0,1: 80:[44, 26, 16] Operation: 57-41=16
Exploring Operation: 57-44=13, Resulting Numbers: [41, 26, 13]
Generated Node #0,2: 80:[41, 26, 13] Operation: 57-44=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[41, 44, 83], Operations: ['57+26=83']
Exploring Operation: 83-41=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 80:[44, 42] Operation: 83-41=42
Exploring Operation: 44-41=3, Resulting Numbers: [83, 3]
Generated Node #0,0,1: 80:[83, 3] Operation: 44-41=3
Exploring Operation: 83-44=39, Resulting Numbers: [41, 39]
Generated Node #0,0,2: 80:[41, 39] Operation: 83-44=39
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[41, 39], Operations: ['57+26=83', '83-44=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[41, 44, 57, 26], Operations: []
Exploring Operation: 57+26=83, Resulting Numbers: [41, 44, 83]
Generated Node #0,0: 80:[41, 44, 83] Operation: 57+26=83
Moving to Node #0,0
Current State: 80:[41, 44, 83], Operations: ['57+26=83']
Exploring Operation: 83-44=39, Resulting Numbers: [41, 39]
Generated Node #0,0,2: 80:[41, 39] Operation: 83-44=39
Moving to Node #0,0,2
Current State: 80:[41, 39], Operations: ['57+26=83', '83-44=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
44,
41,
49,
42
] | 57 | [
"44-42=2",
"49*2=98",
"98-41=57"
] | Current State: 57:[44, 41, 49, 42], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [41, 49, 2]
Generated Node #2: [41, 49, 2] from Operation: 44-42=2
Current State: 57:[41, 49, 2], Operations: ['44-42=2']
Exploring Operation: 49*2=98, Resulting Numbers: [41, 98]
Generated Node #3: [41, 98] from Operation: 49*2=98
Current State: 57:[41, 98], Operations: ['44-42=2', '49*2=98']
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[44, 41, 49, 42], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [49, 42, 3]
Generated Node #0,0: 57:[49, 42, 3] Operation: 44-41=3
Exploring Operation: 42-41=1, Resulting Numbers: [44, 49, 1]
Generated Node #0,1: 57:[44, 49, 1] Operation: 42-41=1
Moving to Node #0,0
Current State: 57:[49, 42, 3], Operations: ['44-41=3']
Exploring Operation: 42/3=14, Resulting Numbers: [49, 14]
Generated Node #0,0,0: 57:[49, 14] Operation: 42/3=14
Exploring Operation: 49-42=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 57:[3, 7] Operation: 49-42=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[3, 7], Operations: ['44-41=3', '49-42=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,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,0,0
Current State: 57:[49, 14], Operations: ['44-41=3', '42/3=14']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,57 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,57 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: 57:[44, 49, 1], Operations: ['42-41=1']
Exploring Operation: 44+1=45, Resulting Numbers: [49, 45]
Generated Node #0,1,0: 57:[49, 45] Operation: 44+1=45
Exploring Operation: 49-44=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 57:[1, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[1, 5], Operations: ['42-41=1', '49-44=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,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,1,0
Current State: 57:[49, 45], Operations: ['42-41=1', '44+1=45']
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,57 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
96,
80,
91,
23
] | 39 | [
"96-91=5",
"80/5=16",
"23+16=39"
] | Current State: 39:[96, 80, 91, 23], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [80, 23, 5]
Generated Node #2: [80, 23, 5] from Operation: 96-91=5
Current State: 39:[80, 23, 5], Operations: ['96-91=5']
Exploring Operation: 80/5=16, Resulting Numbers: [23, 16]
Generated Node #3: [23, 16] from Operation: 80/5=16
Current State: 39:[23, 16], Operations: ['96-91=5', '80/5=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[96, 80, 91, 23], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [91, 23, 16]
Generated Node #0,0: 39:[91, 23, 16] Operation: 96-80=16
Exploring Operation: 80-23=57, Resulting Numbers: [96, 91, 57]
Generated Node #0,1: 39:[96, 91, 57] Operation: 80-23=57
Exploring Operation: 96-23=73, Resulting Numbers: [80, 91, 73]
Generated Node #0,2: 39:[80, 91, 73] Operation: 96-23=73
Exploring Operation: 91-80=11, Resulting Numbers: [96, 23, 11]
Generated Node #0,3: 39:[96, 23, 11] Operation: 91-80=11
Exploring Operation: 96-91=5, Resulting Numbers: [80, 23, 5]
Generated Node #0,4: 39:[80, 23, 5] Operation: 96-91=5
Moving to Node #0,4
Current State: 39:[80, 23, 5], Operations: ['96-91=5']
Exploring Operation: 23+5=28, Resulting Numbers: [80, 28]
Generated Node #0,4,0: 39:[80, 28] Operation: 23+5=28
Exploring Operation: 80-23=57, Resulting Numbers: [5, 57]
Generated Node #0,4,1: 39:[5, 57] Operation: 80-23=57
Exploring Operation: 80/5=16, Resulting Numbers: [23, 16]
Generated Node #0,4,2: 39:[23, 16] Operation: 80/5=16
Exploring Operation: 80-5=75, Resulting Numbers: [23, 75]
Generated Node #0,4,3: 39:[23, 75] Operation: 80-5=75
Exploring Operation: 23-5=18, Resulting Numbers: [80, 18]
Generated Node #0,4,4: 39:[80, 18] Operation: 23-5=18
Moving to Node #0,0
Current State: 39:[91, 23, 16], Operations: ['96-80=16']
Exploring Operation: 91-16=75, Resulting Numbers: [23, 75]
Generated Node #0,0,0: 39:[23, 75] Operation: 91-16=75
Exploring Operation: 23-16=7, Resulting Numbers: [91, 7]
Generated Node #0,0,1: 39:[91, 7] Operation: 23-16=7
Exploring Operation: 91+23=114, Resulting Numbers: [16, 114]
Generated Node #0,0,2: 39:[16, 114] Operation: 91+23=114
Exploring Operation: 91-23=68, Resulting Numbers: [16, 68]
Generated Node #0,0,3: 39:[16, 68] Operation: 91-23=68
Exploring Operation: 23+16=39, Resulting Numbers: [91, 39]
Generated Node #0,0,4: 39:[91, 39] Operation: 23+16=39
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[16, 68], Operations: ['96-80=16', '91-23=68']
Exploring Operation: 16+68=84, Resulting Numbers: [84]
84,39 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 16*68=1088, Resulting Numbers: [1088]
1088,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[23, 75], Operations: ['96-80=16', '91-16=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 39:[91, 39], Operations: ['96-80=16', '23+16=39']
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,39 unequal: No Solution
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,39 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[91, 7], Operations: ['96-80=16', '23-16=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,39 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[16, 114], Operations: ['96-80=16', '91+23=114']
Exploring Operation: 16+114=130, Resulting Numbers: [130]
130,39 unequal: No Solution
Exploring Operation: 16*114=1824, Resulting Numbers: [1824]
1824,39 unequal: No Solution
Exploring Operation: 114-16=98, Resulting Numbers: [98]
98,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 39:[96, 23, 11], Operations: ['91-80=11']
Exploring Operation: 96+11=107, Resulting Numbers: [23, 107]
Generated Node #0,3,0: 39:[23, 107] Operation: 96+11=107
Exploring Operation: 23+11=34, Resulting Numbers: [96, 34]
Generated Node #0,3,1: 39:[96, 34] Operation: 23+11=34
Exploring Operation: 23-11=12, Resulting Numbers: [96, 12]
Generated Node #0,3,2: 39:[96, 12] Operation: 23-11=12
Exploring Operation: 96-11=85, Resulting Numbers: [23, 85]
Generated Node #0,3,3: 39:[23, 85] Operation: 96-11=85
Exploring Operation: 96-23=73, Resulting Numbers: [11, 73]
Generated Node #0,3,4: 39:[11, 73] Operation: 96-23=73
Moving to Node #0,1
Current State: 39:[96, 91, 57], Operations: ['80-23=57']
Exploring Operation: 96-57=39, Resulting Numbers: [91, 39]
Generated Node #0,1,0: 39:[91, 39] Operation: 96-57=39
Exploring Operation: 96-91=5, Resulting Numbers: [57, 5]
Generated Node #0,1,1: 39:[57, 5] Operation: 96-91=5
Exploring Operation: 96+91=187, Resulting Numbers: [57, 187]
Generated Node #0,1,2: 39:[57, 187] Operation: 96+91=187
Exploring Operation: 96+57=153, Resulting Numbers: [91, 153]
Generated Node #0,1,3: 39:[91, 153] Operation: 96+57=153
Exploring Operation: 91-57=34, Resulting Numbers: [96, 34]
Generated Node #0,1,4: 39:[96, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[57, 5], Operations: ['80-23=57', '96-91=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,39 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[91, 39], Operations: ['80-23=57', '96-57=39']
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,39 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 39:[96, 34], Operations: ['80-23=57', '91-57=34']
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,39 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[57, 187], Operations: ['80-23=57', '96+91=187']
Exploring Operation: 187-57=130, Resulting Numbers: [130]
130,39 unequal: No Solution
Exploring Operation: 57+187=244, Resulting Numbers: [244]
244,39 unequal: No Solution
Exploring Operation: 57*187=10659, Resulting Numbers: [10659]
10659,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 39:[91, 153], Operations: ['80-23=57', '96+57=153']
Exploring Operation: 91*153=13923, Resulting Numbers: [13923]
13923,39 unequal: No Solution
Exploring Operation: 153-91=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 91+153=244, Resulting Numbers: [244]
244,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 39:[80, 91, 73], Operations: ['96-23=73']
Exploring Operation: 80+91=171, Resulting Numbers: [73, 171]
Generated Node #0,2,0: 39:[73, 171] Operation: 80+91=171
Exploring Operation: 91-73=18, Resulting Numbers: [80, 18]
Generated Node #0,2,1: 39:[80, 18] Operation: 91-73=18
Exploring Operation: 80-73=7, Resulting Numbers: [91, 7]
Generated Node #0,2,2: 39:[91, 7] Operation: 80-73=7
Exploring Operation: 80+73=153, Resulting Numbers: [91, 153]
Generated Node #0,2,3: 39:[91, 153] Operation: 80+73=153
Exploring Operation: 91-80=11, Resulting Numbers: [73, 11]
Generated Node #0,2,4: 39:[73, 11] Operation: 91-80=11
Moving to Node #0,4,2
Current State: 39:[23, 16], Operations: ['96-91=5', '80/5=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[96, 80, 91, 23], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [80, 23, 5]
Generated Node #0,4: 39:[80, 23, 5] Operation: 96-91=5
Moving to Node #0,4
Current State: 39:[80, 23, 5], Operations: ['96-91=5']
Exploring Operation: 80/5=16, Resulting Numbers: [23, 16]
Generated Node #0,4,2: 39:[23, 16] Operation: 80/5=16
Moving to Node #0,4,2
Current State: 39:[23, 16], Operations: ['96-91=5', '80/5=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.942708 | hs_5 | mult_heuristic |
[
52,
7,
61,
18
] | 45 | [
"61-52=9",
"7*9=63",
"63-18=45"
] | Current State: 45:[52, 7, 61, 18], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [7, 18, 9]
Generated Node #2: [7, 18, 9] from Operation: 61-52=9
Current State: 45:[7, 18, 9], Operations: ['61-52=9']
Exploring Operation: 7*9=63, Resulting Numbers: [18, 63]
Generated Node #3: [18, 63] from Operation: 7*9=63
Current State: 45:[18, 63], Operations: ['61-52=9', '7*9=63']
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[52, 7, 61, 18], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [52, 7, 43]
Generated Node #0,0: 45:[52, 7, 43] Operation: 61-18=43
Exploring Operation: 61-52=9, Resulting Numbers: [7, 18, 9]
Generated Node #0,1: 45:[7, 18, 9] Operation: 61-52=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[7, 18, 9], Operations: ['61-52=9']
Exploring Operation: 18-9=9, Resulting Numbers: [7, 9]
Generated Node #0,1,0: 45:[7, 9] Operation: 18-9=9
Exploring Operation: 18-7=11, Resulting Numbers: [9, 11]
Generated Node #0,1,1: 45:[9, 11] Operation: 18-7=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[7, 9], Operations: ['61-52=9', '18-9=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,45 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: 45:[9, 11], Operations: ['61-52=9', '18-7=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,45 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: 45:[52, 7, 43], Operations: ['61-18=43']
Exploring Operation: 52-43=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 45:[7, 9] Operation: 52-43=9
Exploring Operation: 52-7=45, Resulting Numbers: [43, 45]
Generated Node #0,0,1: 45:[43, 45] Operation: 52-7=45
Moving to Node #0,0,0
Current State: 45:[7, 9], Operations: ['61-18=43', '52-43=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[43, 45], Operations: ['61-18=43', '52-7=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
97,
2,
58
] | 45 | [
"58-32=26",
"2*26=52",
"97-52=45"
] | Current State: 45:[32, 97, 2, 58], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [97, 2, 26]
Generated Node #2: [97, 2, 26] from Operation: 58-32=26
Current State: 45:[97, 2, 26], Operations: ['58-32=26']
Exploring Operation: 2*26=52, Resulting Numbers: [97, 52]
Generated Node #3: [97, 52] from Operation: 2*26=52
Current State: 45:[97, 52], Operations: ['58-32=26', '2*26=52']
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[32, 97, 2, 58], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [32, 2, 39]
Generated Node #0,0: 45:[32, 2, 39] Operation: 97-58=39
Moving to Node #0,0
Current State: 45:[32, 2, 39], Operations: ['97-58=39']
Exploring Operation: 39-32=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 45:[2, 7] Operation: 39-32=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[2, 7], Operations: ['97-58=39', '39-32=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,45 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 |
[
75,
45,
95,
19
] | 45 | [
"95-75=20",
"20-19=1",
"45*1=45"
] | Current State: 45:[75, 45, 95, 19], Operations: []
Exploring Operation: 95-75=20, Resulting Numbers: [45, 19, 20]
Generated Node #2: [45, 19, 20] from Operation: 95-75=20
Current State: 45:[45, 19, 20], Operations: ['95-75=20']
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 20-19=1
Current State: 45:[45, 1], Operations: ['95-75=20', '20-19=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[75, 45, 95, 19], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [45, 95, 56]
Generated Node #0,0: 45:[45, 95, 56] Operation: 75-19=56
Exploring Operation: 95/19=5, Resulting Numbers: [75, 45, 5]
Generated Node #0,1: 45:[75, 45, 5] Operation: 95/19=5
Exploring Operation: 95-45=50, Resulting Numbers: [75, 19, 50]
Generated Node #0,2: 45:[75, 19, 50] Operation: 95-45=50
Exploring Operation: 95-19=76, Resulting Numbers: [75, 45, 76]
Generated Node #0,3: 45:[75, 45, 76] Operation: 95-19=76
Exploring Operation: 95-75=20, Resulting Numbers: [45, 19, 20]
Generated Node #0,4: 45:[45, 19, 20] Operation: 95-75=20
Moving to Node #0,4
Current State: 45:[45, 19, 20], Operations: ['95-75=20']
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #0,4,0: 45:[45, 1] Operation: 20-19=1
Exploring Operation: 45-20=25, Resulting Numbers: [19, 25]
Generated Node #0,4,1: 45:[19, 25] Operation: 45-20=25
Exploring Operation: 45+19=64, Resulting Numbers: [20, 64]
Generated Node #0,4,2: 45:[20, 64] Operation: 45+19=64
Exploring Operation: 19+20=39, Resulting Numbers: [45, 39]
Generated Node #0,4,3: 45:[45, 39] Operation: 19+20=39
Exploring Operation: 45-19=26, Resulting Numbers: [20, 26]
Generated Node #0,4,4: 45:[20, 26] Operation: 45-19=26
Moving to Node #0,1
Current State: 45:[75, 45, 5], Operations: ['95/19=5']
Exploring Operation: 75-5=70, Resulting Numbers: [45, 70]
Generated Node #0,1,0: 45:[45, 70] Operation: 75-5=70
Exploring Operation: 75+5=80, Resulting Numbers: [45, 80]
Generated Node #0,1,1: 45:[45, 80] Operation: 75+5=80
Exploring Operation: 45/5=9, Resulting Numbers: [75, 9]
Generated Node #0,1,2: 45:[75, 9] Operation: 45/5=9
Exploring Operation: 75-45=30, Resulting Numbers: [5, 30]
Generated Node #0,1,3: 45:[5, 30] Operation: 75-45=30
Exploring Operation: 75/5=15, Resulting Numbers: [45, 15]
Generated Node #0,1,4: 45:[45, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 45:[45, 15], Operations: ['95/19=5', '75/5=15']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 45*15=675, Resulting Numbers: [675]
675,45 unequal: No Solution
No 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: 45:[5, 30], Operations: ['95/19=5', '75-45=30']
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,45 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,45 unequal: No Solution
No 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: 45:[45, 70], Operations: ['95/19=5', '75-5=70']
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,45 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,45 unequal: No Solution
No 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: 45:[75, 9], Operations: ['95/19=5', '45/5=9']
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,45 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,45 unequal: No Solution
No 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: 45:[45, 80], Operations: ['95/19=5', '75+5=80']
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,45 unequal: No Solution
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,45 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,45 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: 45:[75, 19, 50], Operations: ['95-45=50']
Exploring Operation: 75-19=56, Resulting Numbers: [50, 56]
Generated Node #0,2,0: 45:[50, 56] Operation: 75-19=56
Exploring Operation: 50-19=31, Resulting Numbers: [75, 31]
Generated Node #0,2,1: 45:[75, 31] Operation: 50-19=31
Exploring Operation: 75-50=25, Resulting Numbers: [19, 25]
Generated Node #0,2,2: 45:[19, 25] Operation: 75-50=25
Exploring Operation: 19+50=69, Resulting Numbers: [75, 69]
Generated Node #0,2,3: 45:[75, 69] Operation: 19+50=69
Exploring Operation: 75+19=94, Resulting Numbers: [50, 94]
Generated Node #0,2,4: 45:[50, 94] Operation: 75+19=94
Moving to Node #0,0
Current State: 45:[45, 95, 56], Operations: ['75-19=56']
Exploring Operation: 45+95=140, Resulting Numbers: [56, 140]
Generated Node #0,0,0: 45:[56, 140] Operation: 45+95=140
Exploring Operation: 56-45=11, Resulting Numbers: [95, 11]
Generated Node #0,0,1: 45:[95, 11] Operation: 56-45=11
Exploring Operation: 95-45=50, Resulting Numbers: [56, 50]
Generated Node #0,0,2: 45:[56, 50] Operation: 95-45=50
Exploring Operation: 45+56=101, Resulting Numbers: [95, 101]
Generated Node #0,0,3: 45:[95, 101] Operation: 45+56=101
Exploring Operation: 95-56=39, Resulting Numbers: [45, 39]
Generated Node #0,0,4: 45:[45, 39] Operation: 95-56=39
Moving to Node #0,3
Current State: 45:[75, 45, 76], Operations: ['95-19=76']
Exploring Operation: 76-45=31, Resulting Numbers: [75, 31]
Generated Node #0,3,0: 45:[75, 31] Operation: 76-45=31
Exploring Operation: 75+76=151, Resulting Numbers: [45, 151]
Generated Node #0,3,1: 45:[45, 151] Operation: 75+76=151
Exploring Operation: 75+45=120, Resulting Numbers: [76, 120]
Generated Node #0,3,2: 45:[76, 120] Operation: 75+45=120
Exploring Operation: 75-45=30, Resulting Numbers: [76, 30]
Generated Node #0,3,3: 45:[76, 30] Operation: 75-45=30
Exploring Operation: 76-75=1, Resulting Numbers: [45, 1]
Generated Node #0,3,4: 45:[45, 1] Operation: 76-75=1
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 45:[45, 1], Operations: ['95-19=76', '76-75=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[75, 45, 95, 19], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [75, 45, 76]
Generated Node #0,3: 45:[75, 45, 76] Operation: 95-19=76
Moving to Node #0,3
Current State: 45:[75, 45, 76], Operations: ['95-19=76']
Exploring Operation: 76-75=1, Resulting Numbers: [45, 1]
Generated Node #0,3,4: 45:[45, 1] Operation: 76-75=1
Moving to Node #0,3,4
Current State: 45:[45, 1], Operations: ['95-19=76', '76-75=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_5 | sum_heuristic |
[
32,
21,
37,
95
] | 12 | [
"32-21=11",
"37+95=132",
"132/11=12"
] | Current State: 12:[32, 21, 37, 95], Operations: []
Exploring Operation: 32-21=11, Resulting Numbers: [37, 95, 11]
Generated Node #2: [37, 95, 11] from Operation: 32-21=11
Current State: 12:[37, 95, 11], Operations: ['32-21=11']
Exploring Operation: 37+95=132, Resulting Numbers: [11, 132]
Generated Node #3: [11, 132] from Operation: 37+95=132
Current State: 12:[11, 132], Operations: ['32-21=11', '37+95=132']
Exploring Operation: 132/11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[32, 21, 37, 95], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [32, 21, 58]
Generated Node #0,0: 12:[32, 21, 58] Operation: 95-37=58
Exploring Operation: 37-32=5, Resulting Numbers: [21, 95, 5]
Generated Node #0,1: 12:[21, 95, 5] Operation: 37-32=5
Exploring Operation: 95-32=63, Resulting Numbers: [21, 37, 63]
Generated Node #0,2: 12:[21, 37, 63] Operation: 95-32=63
Moving to Node #0,0
Current State: 12:[32, 21, 58], Operations: ['95-37=58']
Exploring Operation: 58-21=37, Resulting Numbers: [32, 37]
Generated Node #0,0,0: 12:[32, 37] Operation: 58-21=37
Exploring Operation: 32-21=11, Resulting Numbers: [58, 11]
Generated Node #0,0,1: 12:[58, 11] Operation: 32-21=11
Exploring Operation: 58-32=26, Resulting Numbers: [21, 26]
Generated Node #0,0,2: 12:[21, 26] Operation: 58-32=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[21, 26], Operations: ['95-37=58', '58-32=26']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,12 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,12 unequal: No Solution
No 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: 12:[32, 37], Operations: ['95-37=58', '58-21=37']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,12 unequal: No Solution
No 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: 12:[58, 11], Operations: ['95-37=58', '32-21=11']
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,12 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,12 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: 12:[21, 37, 63], Operations: ['95-32=63']
Exploring Operation: 63/21=3, Resulting Numbers: [37, 3]
Generated Node #0,2,0: 12:[37, 3] Operation: 63/21=3
Exploring Operation: 37-21=16, Resulting Numbers: [63, 16]
Generated Node #0,2,1: 12:[63, 16] Operation: 37-21=16
Exploring Operation: 63-37=26, Resulting Numbers: [21, 26]
Generated Node #0,2,2: 12:[21, 26] Operation: 63-37=26
Moving to Node #0,1
Current State: 12:[21, 95, 5], Operations: ['37-32=5']
Exploring Operation: 21-5=16, Resulting Numbers: [95, 16]
Generated Node #0,1,0: 12:[95, 16] Operation: 21-5=16
Exploring Operation: 95-21=74, Resulting Numbers: [5, 74]
Generated Node #0,1,1: 12:[5, 74] Operation: 95-21=74
Exploring Operation: 95/5=19, Resulting Numbers: [21, 19]
Generated Node #0,1,2: 12:[21, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[21, 19], Operations: ['37-32=5', '95/5=19']
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,12 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No 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: 12:[5, 74], Operations: ['37-32=5', '95-21=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,12 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,12 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,12 unequal: No Solution
No 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: 12:[95, 16], Operations: ['37-32=5', '21-5=16']
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,12 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,12 unequal: No Solution
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,12 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: 12:[21, 26], Operations: ['95-32=63', '63-37=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,12 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[37, 3], Operations: ['95-32=63', '63/21=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[63, 16], Operations: ['95-32=63', '37-21=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,12 unequal: No Solution
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,12 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
85,
7,
51,
3
] | 30 | [
"85-7=78",
"51-3=48",
"78-48=30"
] | Current State: 30:[85, 7, 51, 3], Operations: []
Exploring Operation: 85-7=78, Resulting Numbers: [51, 3, 78]
Generated Node #2: [51, 3, 78] from Operation: 85-7=78
Current State: 30:[51, 3, 78], Operations: ['85-7=78']
Exploring Operation: 51-3=48, Resulting Numbers: [78, 48]
Generated Node #3: [78, 48] from Operation: 51-3=48
Current State: 30:[78, 48], Operations: ['85-7=78', '51-3=48']
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[85, 7, 51, 3], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [85, 7, 17]
Generated Node #0,0: 30:[85, 7, 17] Operation: 51/3=17
Exploring Operation: 51-7=44, Resulting Numbers: [85, 3, 44]
Generated Node #0,1: 30:[85, 3, 44] Operation: 51-7=44
Exploring Operation: 85-51=34, Resulting Numbers: [7, 3, 34]
Generated Node #0,2: 30:[7, 3, 34] Operation: 85-51=34
Exploring Operation: 85-3=82, Resulting Numbers: [7, 51, 82]
Generated Node #0,3: 30:[7, 51, 82] Operation: 85-3=82
Exploring Operation: 85-7=78, Resulting Numbers: [51, 3, 78]
Generated Node #0,4: 30:[51, 3, 78] Operation: 85-7=78
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[7, 3, 34], Operations: ['85-51=34']
Exploring Operation: 3+34=37, Resulting Numbers: [7, 37]
Generated Node #0,2,0: 30:[7, 37] Operation: 3+34=37
Exploring Operation: 7+3=10, Resulting Numbers: [34, 10]
Generated Node #0,2,1: 30:[34, 10] Operation: 7+3=10
Exploring Operation: 34-7=27, Resulting Numbers: [3, 27]
Generated Node #0,2,2: 30:[3, 27] Operation: 34-7=27
Exploring Operation: 34-3=31, Resulting Numbers: [7, 31]
Generated Node #0,2,3: 30:[7, 31] Operation: 34-3=31
Exploring Operation: 7-3=4, Resulting Numbers: [34, 4]
Generated Node #0,2,4: 30:[34, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 30:[7, 31], Operations: ['85-51=34', '34-3=31']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,30 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,30 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: 30:[3, 27], Operations: ['85-51=34', '34-7=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,30 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[85, 7, 51, 3], Operations: []
Exploring Operation: 85-51=34, Resulting Numbers: [7, 3, 34]
Generated Node #0,2: 30:[7, 3, 34] Operation: 85-51=34
Moving to Node #0,2
Current State: 30:[7, 3, 34], Operations: ['85-51=34']
Exploring Operation: 34-7=27, Resulting Numbers: [3, 27]
Generated Node #0,2,2: 30:[3, 27] Operation: 34-7=27
Moving to Node #0,2,2
Current State: 30:[3, 27], Operations: ['85-51=34', '34-7=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
54,
14,
8,
99
] | 90 | [
"14-8=6",
"54/6=9",
"99-9=90"
] | Current State: 90:[54, 14, 8, 99], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [54, 99, 6]
Generated Node #2: [54, 99, 6] from Operation: 14-8=6
Current State: 90:[54, 99, 6], Operations: ['14-8=6']
Exploring Operation: 54/6=9, Resulting Numbers: [99, 9]
Generated Node #3: [99, 9] from Operation: 54/6=9
Current State: 90:[99, 9], Operations: ['14-8=6', '54/6=9']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[54, 14, 8, 99], Operations: []
Exploring Operation: 54-8=46, Resulting Numbers: [14, 99, 46]
Generated Node #0,0: 90:[14, 99, 46] Operation: 54-8=46
Exploring Operation: 99-8=91, Resulting Numbers: [54, 14, 91]
Generated Node #0,1: 90:[54, 14, 91] Operation: 99-8=91
Exploring Operation: 99-14=85, Resulting Numbers: [54, 8, 85]
Generated Node #0,2: 90:[54, 8, 85] Operation: 99-14=85
Exploring Operation: 54-14=40, Resulting Numbers: [8, 99, 40]
Generated Node #0,3: 90:[8, 99, 40] Operation: 54-14=40
Exploring Operation: 99-54=45, Resulting Numbers: [14, 8, 45]
Generated Node #0,4: 90:[14, 8, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[14, 8, 45], Operations: ['99-54=45']
Exploring Operation: 45-14=31, Resulting Numbers: [8, 31]
Generated Node #0,4,0: 90:[8, 31] Operation: 45-14=31
Exploring Operation: 14+8=22, Resulting Numbers: [45, 22]
Generated Node #0,4,1: 90:[45, 22] Operation: 14+8=22
Exploring Operation: 14-8=6, Resulting Numbers: [45, 6]
Generated Node #0,4,2: 90:[45, 6] Operation: 14-8=6
Exploring Operation: 8+45=53, Resulting Numbers: [14, 53]
Generated Node #0,4,3: 90:[14, 53] Operation: 8+45=53
Exploring Operation: 45-8=37, Resulting Numbers: [14, 37]
Generated Node #0,4,4: 90:[14, 37] Operation: 45-8=37
Moving to Node #0,4,2
Current State: 90:[45, 6], Operations: ['99-54=45', '14-8=6']
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,90 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,4,0
Current State: 90:[8, 31], Operations: ['99-54=45', '45-14=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,90 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[45, 22], Operations: ['99-54=45', '14+8=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,90 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[14, 37], Operations: ['99-54=45', '45-8=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,90 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[14, 53], Operations: ['99-54=45', '8+45=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,90 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[14, 99, 46], Operations: ['54-8=46']
Exploring Operation: 99-46=53, Resulting Numbers: [14, 53]
Generated Node #0,0,0: 90:[14, 53] Operation: 99-46=53
Exploring Operation: 14+46=60, Resulting Numbers: [99, 60]
Generated Node #0,0,1: 90:[99, 60] Operation: 14+46=60
Exploring Operation: 46-14=32, Resulting Numbers: [99, 32]
Generated Node #0,0,2: 90:[99, 32] Operation: 46-14=32
Exploring Operation: 14+99=113, Resulting Numbers: [46, 113]
Generated Node #0,0,3: 90:[46, 113] Operation: 14+99=113
Exploring Operation: 99-14=85, Resulting Numbers: [46, 85]
Generated Node #0,0,4: 90:[46, 85] Operation: 99-14=85
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[46, 85], Operations: ['54-8=46', '99-14=85']
Exploring Operation: 46+85=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 46*85=3910, Resulting Numbers: [3910]
3910,90 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,90 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: 90:[14, 53], Operations: ['54-8=46', '99-46=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,90 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: 90:[99, 32], Operations: ['54-8=46', '46-14=32']
Exploring Operation: 99*32=3168, Resulting Numbers: [3168]
3168,90 unequal: No Solution
Exploring Operation: 99+32=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,90 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: 90:[99, 60], Operations: ['54-8=46', '14+46=60']
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,90 unequal: No Solution
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,90 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,90 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: 90:[46, 113], Operations: ['54-8=46', '14+99=113']
Exploring Operation: 46*113=5198, Resulting Numbers: [5198]
5198,90 unequal: No Solution
Exploring Operation: 113-46=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 46+113=159, Resulting Numbers: [159]
159,90 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: 90:[54, 14, 91], Operations: ['99-8=91']
Exploring Operation: 54-14=40, Resulting Numbers: [91, 40]
Generated Node #0,1,0: 90:[91, 40] Operation: 54-14=40
Exploring Operation: 91-54=37, Resulting Numbers: [14, 37]
Generated Node #0,1,1: 90:[14, 37] Operation: 91-54=37
Exploring Operation: 91-14=77, Resulting Numbers: [54, 77]
Generated Node #0,1,2: 90:[54, 77] Operation: 91-14=77
Exploring Operation: 54+14=68, Resulting Numbers: [91, 68]
Generated Node #0,1,3: 90:[91, 68] Operation: 54+14=68
Exploring Operation: 14+91=105, Resulting Numbers: [54, 105]
Generated Node #0,1,4: 90:[54, 105] Operation: 14+91=105
Moving to Node #0,1,0
Current State: 90:[91, 40], Operations: ['99-8=91', '54-14=40']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[14, 37], Operations: ['99-8=91', '91-54=37']
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,90 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[54, 77], Operations: ['99-8=91', '91-14=77']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,90 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[91, 68], Operations: ['99-8=91', '54+14=68']
Exploring Operation: 91*68=6188, Resulting Numbers: [6188]
6188,90 unequal: No Solution
Exploring Operation: 91+68=159, Resulting Numbers: [159]
159,90 unequal: No Solution
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[54, 105], Operations: ['99-8=91', '14+91=105']
Exploring Operation: 54+105=159, Resulting Numbers: [159]
159,90 unequal: No Solution
Exploring Operation: 105-54=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 54*105=5670, Resulting Numbers: [5670]
5670,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[54, 8, 85], Operations: ['99-14=85']
Exploring Operation: 85-8=77, Resulting Numbers: [54, 77]
Generated Node #0,2,0: 90:[54, 77] Operation: 85-8=77
Exploring Operation: 85-54=31, Resulting Numbers: [8, 31]
Generated Node #0,2,1: 90:[8, 31] Operation: 85-54=31
Exploring Operation: 8+85=93, Resulting Numbers: [54, 93]
Generated Node #0,2,2: 90:[54, 93] Operation: 8+85=93
Exploring Operation: 54+8=62, Resulting Numbers: [85, 62]
Generated Node #0,2,3: 90:[85, 62] Operation: 54+8=62
Exploring Operation: 54-8=46, Resulting Numbers: [85, 46]
Generated Node #0,2,4: 90:[85, 46] Operation: 54-8=46
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[8, 31], Operations: ['99-14=85', '85-54=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,90 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,90 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,4
Current State: 90:[85, 46], Operations: ['99-14=85', '54-8=46']
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 85*46=3910, Resulting Numbers: [3910]
3910,90 unequal: No Solution
Exploring Operation: 85+46=131, Resulting Numbers: [131]
131,90 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: 90:[54, 93], Operations: ['99-14=85', '8+85=93']
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,90 unequal: No Solution
Exploring Operation: 54+93=147, Resulting Numbers: [147]
147,90 unequal: No Solution
Exploring Operation: 54*93=5022, Resulting Numbers: [5022]
5022,90 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: 90:[54, 77], Operations: ['99-14=85', '85-8=77']
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,90 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: 90:[85, 62], Operations: ['99-14=85', '54+8=62']
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,90 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,90 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: 90:[8, 99, 40], Operations: ['54-14=40']
Exploring Operation: 40/8=5, Resulting Numbers: [99, 5]
Generated Node #0,3,0: 90:[99, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [99, 32]
Generated Node #0,3,1: 90:[99, 32] Operation: 40-8=32
Exploring Operation: 8+40=48, Resulting Numbers: [99, 48]
Generated Node #0,3,2: 90:[99, 48] Operation: 8+40=48
Exploring Operation: 99-8=91, Resulting Numbers: [40, 91]
Generated Node #0,3,3: 90:[40, 91] Operation: 99-8=91
Exploring Operation: 99-40=59, Resulting Numbers: [8, 59]
Generated Node #0,3,4: 90:[8, 59] Operation: 99-40=59
Moving to Node #0,3,3
Current State: 90:[40, 91], Operations: ['54-14=40', '99-8=91']
Exploring Operation: 40+91=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 40*91=3640, Resulting Numbers: [3640]
3640,90 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[99, 5], Operations: ['54-14=40', '40/8=5']
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,90 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,90 unequal: No Solution
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[99, 32], Operations: ['54-14=40', '40-8=32']
Exploring Operation: 99+32=131, Resulting Numbers: [131]
131,90 unequal: No Solution
Exploring Operation: 99*32=3168, Resulting Numbers: [3168]
3168,90 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[99, 48], Operations: ['54-14=40', '8+40=48']
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,90 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[8, 59], Operations: ['54-14=40', '99-40=59']
Exploring Operation: 8*59=472, Resulting Numbers: [472]
472,90 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 8+59=67, Resulting Numbers: [67]
67,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
84,
39,
3
] | 23 | [
"84-19=65",
"39+3=42",
"65-42=23"
] | Current State: 23:[19, 84, 39, 3], Operations: []
Exploring Operation: 84-19=65, Resulting Numbers: [39, 3, 65]
Generated Node #2: [39, 3, 65] from Operation: 84-19=65
Current State: 23:[39, 3, 65], Operations: ['84-19=65']
Exploring Operation: 39+3=42, Resulting Numbers: [65, 42]
Generated Node #3: [65, 42] from Operation: 39+3=42
Current State: 23:[65, 42], Operations: ['84-19=65', '39+3=42']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[19, 84, 39, 3], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [19, 3, 45]
Generated Node #0,0: 23:[19, 3, 45] Operation: 84-39=45
Exploring Operation: 84-19=65, Resulting Numbers: [39, 3, 65]
Generated Node #0,1: 23:[39, 3, 65] Operation: 84-19=65
Exploring Operation: 39/3=13, Resulting Numbers: [19, 84, 13]
Generated Node #0,2: 23:[19, 84, 13] Operation: 39/3=13
Exploring Operation: 84/3=28, Resulting Numbers: [19, 39, 28]
Generated Node #0,3: 23:[19, 39, 28] Operation: 84/3=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[19, 39, 28], Operations: ['84/3=28']
Exploring Operation: 28-19=9, Resulting Numbers: [39, 9]
Generated Node #0,3,0: 23:[39, 9] Operation: 28-19=9
Exploring Operation: 39-28=11, Resulting Numbers: [19, 11]
Generated Node #0,3,1: 23:[19, 11] Operation: 39-28=11
Exploring Operation: 39-19=20, Resulting Numbers: [28, 20]
Generated Node #0,3,2: 23:[28, 20] Operation: 39-19=20
Exploring Operation: 19+39=58, Resulting Numbers: [28, 58]
Generated Node #0,3,3: 23:[28, 58] Operation: 19+39=58
Moving to Node #0,3,2
Current State: 23:[28, 20], Operations: ['84/3=28', '39-19=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[19, 11], Operations: ['84/3=28', '39-28=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[39, 9], Operations: ['84/3=28', '28-19=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,23 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[28, 58], Operations: ['84/3=28', '19+39=58']
Exploring Operation: 28+58=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 28*58=1624, Resulting Numbers: [1624]
1624,23 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,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
Current State: 23:[19, 3, 45], Operations: ['84-39=45']
Exploring Operation: 45-3=42, Resulting Numbers: [19, 42]
Generated Node #0,0,0: 23:[19, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [19, 15]
Generated Node #0,0,1: 23:[19, 15] Operation: 45/3=15
Exploring Operation: 19+3=22, Resulting Numbers: [45, 22]
Generated Node #0,0,2: 23:[45, 22] Operation: 19+3=22
Exploring Operation: 45-19=26, Resulting Numbers: [3, 26]
Generated Node #0,0,3: 23:[3, 26] Operation: 45-19=26
Moving to Node #0,0,1
Current State: 23:[19, 15], Operations: ['84-39=45', '45/3=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[45, 22], Operations: ['84-39=45', '19+3=22']
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,23 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[19, 84, 39, 3], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [19, 3, 45]
Generated Node #0,0: 23:[19, 3, 45] Operation: 84-39=45
Moving to Node #0,0
Current State: 23:[19, 3, 45], Operations: ['84-39=45']
Exploring Operation: 19+3=22, Resulting Numbers: [45, 22]
Generated Node #0,0,2: 23:[45, 22] Operation: 19+3=22
Moving to Node #0,0,2
Current State: 23:[45, 22], Operations: ['84-39=45', '19+3=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
42,
90,
14,
60
] | 19 | [
"60-42=18",
"90/18=5",
"14+5=19"
] | Current State: 19:[42, 90, 14, 60], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [90, 14, 18]
Generated Node #2: [90, 14, 18] from Operation: 60-42=18
Current State: 19:[90, 14, 18], Operations: ['60-42=18']
Exploring Operation: 90/18=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 90/18=5
Current State: 19:[14, 5], Operations: ['60-42=18', '90/18=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[42, 90, 14, 60], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [42, 14, 30]
Generated Node #0,0: 19:[42, 14, 30] Operation: 90-60=30
Exploring Operation: 90-42=48, Resulting Numbers: [14, 60, 48]
Generated Node #0,1: 19:[14, 60, 48] Operation: 90-42=48
Moving to Node #0,0
Current State: 19:[42, 14, 30], Operations: ['90-60=30']
Exploring Operation: 42-30=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 19:[14, 12] Operation: 42-30=12
Exploring Operation: 42-14=28, Resulting Numbers: [30, 28]
Generated Node #0,0,1: 19:[30, 28] Operation: 42-14=28
Moving to Node #0,1
Current State: 19:[14, 60, 48], Operations: ['90-42=48']
Exploring Operation: 60-14=46, Resulting Numbers: [48, 46]
Generated Node #0,1,0: 19:[48, 46] Operation: 60-14=46
Exploring Operation: 60-48=12, Resulting Numbers: [14, 12]
Generated Node #0,1,1: 19:[14, 12] Operation: 60-48=12
Moving to Node #0,0,0
Current State: 19:[14, 12], Operations: ['90-60=30', '42-30=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[14, 12], Operations: ['90-42=48', '60-48=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[30, 28], Operations: ['90-60=30', '42-14=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[48, 46], Operations: ['90-42=48', '60-14=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,19 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
92,
94,
18
] | 78 | [
"62+92=154",
"94-18=76",
"154-76=78"
] | Current State: 78:[62, 92, 94, 18], Operations: []
Exploring Operation: 62+92=154, Resulting Numbers: [94, 18, 154]
Generated Node #2: [94, 18, 154] from Operation: 62+92=154
Current State: 78:[94, 18, 154], Operations: ['62+92=154']
Exploring Operation: 94-18=76, Resulting Numbers: [154, 76]
Generated Node #3: [154, 76] from Operation: 94-18=76
Current State: 78:[154, 76], Operations: ['62+92=154', '94-18=76']
Exploring Operation: 154-76=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[62, 92, 94, 18], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [62, 18, 2]
Generated Node #0,0: 78:[62, 18, 2] Operation: 94-92=2
Exploring Operation: 92-62=30, Resulting Numbers: [94, 18, 30]
Generated Node #0,1: 78:[94, 18, 30] Operation: 92-62=30
Moving to Node #0,0
Current State: 78:[62, 18, 2], Operations: ['94-92=2']
Exploring Operation: 62-18=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 78:[2, 44] Operation: 62-18=44
Exploring Operation: 62+18=80, Resulting Numbers: [2, 80]
Generated Node #0,0,1: 78:[2, 80] Operation: 62+18=80
Moving to Node #0,1
Current State: 78:[94, 18, 30], Operations: ['92-62=30']
Exploring Operation: 94-18=76, Resulting Numbers: [30, 76]
Generated Node #0,1,0: 78:[30, 76] Operation: 94-18=76
Exploring Operation: 30-18=12, Resulting Numbers: [94, 12]
Generated Node #0,1,1: 78:[94, 12] Operation: 30-18=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[30, 76], Operations: ['92-62=30', '94-18=76']
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[94, 12], Operations: ['92-62=30', '30-18=12']
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 78:[2, 80], Operations: ['94-92=2', '62+18=80']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[62, 92, 94, 18], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [62, 18, 2]
Generated Node #0,0: 78:[62, 18, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 78:[62, 18, 2], Operations: ['94-92=2']
Exploring Operation: 62+18=80, Resulting Numbers: [2, 80]
Generated Node #0,0,1: 78:[2, 80] Operation: 62+18=80
Moving to Node #0,0,1
Current State: 78:[2, 80], Operations: ['94-92=2', '62+18=80']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
33,
70,
29,
4
] | 54 | [
"33-29=4",
"4*4=16",
"70-16=54"
] | Current State: 54:[33, 70, 29, 4], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4, 4]
Generated Node #2: [70, 4, 4] from Operation: 33-29=4
Current State: 54:[70, 4, 4], Operations: ['33-29=4']
Exploring Operation: 4*4=16, Resulting Numbers: [70, 16]
Generated Node #3: [70, 16] from Operation: 4*4=16
Current State: 54:[70, 16], Operations: ['33-29=4', '4*4=16']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[33, 70, 29, 4], Operations: []
Exploring Operation: 70-29=41, Resulting Numbers: [33, 4, 41]
Generated Node #0,0: 54:[33, 4, 41] Operation: 70-29=41
Exploring Operation: 33-4=29, Resulting Numbers: [70, 29, 29]
Generated Node #0,1: 54:[70, 29, 29] Operation: 33-4=29
Exploring Operation: 70-33=37, Resulting Numbers: [29, 4, 37]
Generated Node #0,2: 54:[29, 4, 37] Operation: 70-33=37
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4, 4]
Generated Node #0,3: 54:[70, 4, 4] Operation: 33-29=4
Exploring Operation: 70-4=66, Resulting Numbers: [33, 29, 66]
Generated Node #0,4: 54:[33, 29, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[29, 4, 37], Operations: ['70-33=37']
Exploring Operation: 29-4=25, Resulting Numbers: [37, 25]
Generated Node #0,2,0: 54:[37, 25] Operation: 29-4=25
Exploring Operation: 29+37=66, Resulting Numbers: [4, 66]
Generated Node #0,2,1: 54:[4, 66] Operation: 29+37=66
Exploring Operation: 4+37=41, Resulting Numbers: [29, 41]
Generated Node #0,2,2: 54:[29, 41] Operation: 4+37=41
Exploring Operation: 37-4=33, Resulting Numbers: [29, 33]
Generated Node #0,2,3: 54:[29, 33] Operation: 37-4=33
Exploring Operation: 37-29=8, Resulting Numbers: [4, 8]
Generated Node #0,2,4: 54:[4, 8] Operation: 37-29=8
Moving to Node #0,2,4
Current State: 54:[4, 8], Operations: ['70-33=37', '37-29=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[29, 33], Operations: ['70-33=37', '37-4=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[37, 25], Operations: ['70-33=37', '29-4=25']
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[4, 66], Operations: ['70-33=37', '29+37=66']
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,54 unequal: No Solution
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[29, 41], Operations: ['70-33=37', '4+37=41']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,54 unequal: No Solution
No 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: 54:[70, 4, 4], Operations: ['33-29=4']
Exploring Operation: 4+4=8, Resulting Numbers: [70, 8]
Generated Node #0,3,0: 54:[70, 8] Operation: 4+4=8
Exploring Operation: 70-4=66, Resulting Numbers: [4, 66]
Generated Node #0,3,1: 54:[4, 66] Operation: 70-4=66
Exploring Operation: 70-4=66, Resulting Numbers: [4, 66]
Generated Node #0,3,2: 54:[4, 66] Operation: 70-4=66
Exploring Operation: 4*4=16, Resulting Numbers: [70, 16]
Generated Node #0,3,3: 54:[70, 16] Operation: 4*4=16
Exploring Operation: 4/4=1, Resulting Numbers: [70, 1]
Generated Node #0,3,4: 54:[70, 1] Operation: 4/4=1
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[4, 66], Operations: ['33-29=4', '70-4=66']
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,54 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: 54:[4, 66], Operations: ['33-29=4', '70-4=66']
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,54 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,54 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: 54:[70, 8], Operations: ['33-29=4', '4+4=8']
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,54 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,54 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: 54:[70, 1], Operations: ['33-29=4', '4/4=1']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,54 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: 54:[70, 16], Operations: ['33-29=4', '4*4=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,54 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[33, 70, 29, 4], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [70, 4, 4]
Generated Node #0,3: 54:[70, 4, 4] Operation: 33-29=4
Moving to Node #0,3
Current State: 54:[70, 4, 4], Operations: ['33-29=4']
Exploring Operation: 4*4=16, Resulting Numbers: [70, 16]
Generated Node #0,3,3: 54:[70, 16] Operation: 4*4=16
Moving to Node #0,3,3
Current State: 54:[70, 16], Operations: ['33-29=4', '4*4=16']
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 | hs_5 | mult_heuristic |
[
72,
51,
12,
9
] | 45 | [
"72*12=864",
"864/9=96",
"96-51=45"
] | Current State: 45:[72, 51, 12, 9], Operations: []
Exploring Operation: 72*12=864, Resulting Numbers: [51, 9, 864]
Generated Node #2: [51, 9, 864] from Operation: 72*12=864
Current State: 45:[51, 9, 864], Operations: ['72*12=864']
Exploring Operation: 864/9=96, Resulting Numbers: [51, 96]
Generated Node #3: [51, 96] from Operation: 864/9=96
Current State: 45:[51, 96], Operations: ['72*12=864', '864/9=96']
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[72, 51, 12, 9], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [51, 9, 6]
Generated Node #0,0: 45:[51, 9, 6] Operation: 72/12=6
Exploring Operation: 72-51=21, Resulting Numbers: [12, 9, 21]
Generated Node #0,1: 45:[12, 9, 21] Operation: 72-51=21
Moving to Node #0,0
Current State: 45:[51, 9, 6], Operations: ['72/12=6']
Exploring Operation: 51-9=42, Resulting Numbers: [6, 42]
Generated Node #0,0,0: 45:[6, 42] Operation: 51-9=42
Exploring Operation: 51-6=45, Resulting Numbers: [9, 45]
Generated Node #0,0,1: 45:[9, 45] Operation: 51-6=45
Moving to Node #0,1
Current State: 45:[12, 9, 21], Operations: ['72-51=21']
Exploring Operation: 12-9=3, Resulting Numbers: [21, 3]
Generated Node #0,1,0: 45:[21, 3] Operation: 12-9=3
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #0,1,1: 45:[9, 9] Operation: 21-12=9
Moving to Node #0,0,1
Current State: 45:[9, 45], Operations: ['72/12=6', '51-6=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[9, 9], Operations: ['72-51=21', '21-12=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[6, 42], Operations: ['72/12=6', '51-9=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[21, 3], Operations: ['72-51=21', '12-9=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
43,
67,
13
] | 82 | [
"43-41=2",
"67+13=80",
"2+80=82"
] | Current State: 82:[41, 43, 67, 13], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [67, 13, 2]
Generated Node #2: [67, 13, 2] from Operation: 43-41=2
Current State: 82:[67, 13, 2], Operations: ['43-41=2']
Exploring Operation: 67+13=80, Resulting Numbers: [2, 80]
Generated Node #3: [2, 80] from Operation: 67+13=80
Current State: 82:[2, 80], Operations: ['43-41=2', '67+13=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[41, 43, 67, 13], Operations: []
Exploring Operation: 67+13=80, Resulting Numbers: [41, 43, 80]
Generated Node #0,0: 82:[41, 43, 80] Operation: 67+13=80
Moving to Node #0,0
Current State: 82:[41, 43, 80], Operations: ['67+13=80']
Exploring Operation: 43-41=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 82:[80, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[80, 2], Operations: ['67+13=80', '43-41=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[41, 43, 67, 13], Operations: []
Exploring Operation: 67+13=80, Resulting Numbers: [41, 43, 80]
Generated Node #0,0: 82:[41, 43, 80] Operation: 67+13=80
Moving to Node #0,0
Current State: 82:[41, 43, 80], Operations: ['67+13=80']
Exploring Operation: 43-41=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 82:[80, 2] Operation: 43-41=2
Moving to Node #0,0,0
Current State: 82:[80, 2], Operations: ['67+13=80', '43-41=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
87,
24,
73,
35
] | 25 | [
"87-24=63",
"73-35=38",
"63-38=25"
] | Current State: 25:[87, 24, 73, 35], Operations: []
Exploring Operation: 87-24=63, Resulting Numbers: [73, 35, 63]
Generated Node #2: [73, 35, 63] from Operation: 87-24=63
Current State: 25:[73, 35, 63], Operations: ['87-24=63']
Exploring Operation: 73-35=38, Resulting Numbers: [63, 38]
Generated Node #3: [63, 38] from Operation: 73-35=38
Current State: 25:[63, 38], Operations: ['87-24=63', '73-35=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 24, 73, 35], Operations: []
Exploring Operation: 87-35=52, Resulting Numbers: [24, 73, 52]
Generated Node #0,0: 25:[24, 73, 52] Operation: 87-35=52
Exploring Operation: 87-73=14, Resulting Numbers: [24, 35, 14]
Generated Node #0,1: 25:[24, 35, 14] Operation: 87-73=14
Exploring Operation: 73-35=38, Resulting Numbers: [87, 24, 38]
Generated Node #0,2: 25:[87, 24, 38] Operation: 73-35=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[24, 35, 14], Operations: ['87-73=14']
Exploring Operation: 35-24=11, Resulting Numbers: [14, 11]
Generated Node #0,1,0: 25:[14, 11] Operation: 35-24=11
Exploring Operation: 24-14=10, Resulting Numbers: [35, 10]
Generated Node #0,1,1: 25:[35, 10] Operation: 24-14=10
Exploring Operation: 35-14=21, Resulting Numbers: [24, 21]
Generated Node #0,1,2: 25:[24, 21] Operation: 35-14=21
Moving to Node #0,1,2
Current State: 25:[24, 21], Operations: ['87-73=14', '35-14=21']
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,25 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[14, 11], Operations: ['87-73=14', '35-24=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[87, 24, 73, 35], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [24, 35, 14]
Generated Node #0,1: 25:[24, 35, 14] Operation: 87-73=14
Moving to Node #0,1
Current State: 25:[24, 35, 14], Operations: ['87-73=14']
Exploring Operation: 35-24=11, Resulting Numbers: [14, 11]
Generated Node #0,1,0: 25:[14, 11] Operation: 35-24=11
Moving to Node #0,1,0
Current State: 25:[14, 11], Operations: ['87-73=14', '35-24=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
18,
50,
46,
95
] | 18 | [
"50+46=96",
"96-95=1",
"18*1=18"
] | Current State: 18:[18, 50, 46, 95], Operations: []
Exploring Operation: 50+46=96, Resulting Numbers: [18, 95, 96]
Generated Node #2: [18, 95, 96] from Operation: 50+46=96
Current State: 18:[18, 95, 96], Operations: ['50+46=96']
Exploring Operation: 96-95=1, Resulting Numbers: [18, 1]
Generated Node #3: [18, 1] from Operation: 96-95=1
Current State: 18:[18, 1], Operations: ['50+46=96', '96-95=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[18, 50, 46, 95], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [18, 46, 45]
Generated Node #0,0: 18:[18, 46, 45] Operation: 95-50=45
Exploring Operation: 95-46=49, Resulting Numbers: [18, 50, 49]
Generated Node #0,1: 18:[18, 50, 49] Operation: 95-46=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[18, 46, 45], Operations: ['95-50=45']
Exploring Operation: 46-45=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 18:[18, 1] Operation: 46-45=1
Exploring Operation: 46-18=28, Resulting Numbers: [45, 28]
Generated Node #0,0,1: 18:[45, 28] Operation: 46-18=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[18, 1], Operations: ['95-50=45', '46-45=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[18, 50, 46, 95], Operations: []
Exploring Operation: 95-50=45, Resulting Numbers: [18, 46, 45]
Generated Node #0,0: 18:[18, 46, 45] Operation: 95-50=45
Moving to Node #0,0
Current State: 18:[18, 46, 45], Operations: ['95-50=45']
Exploring Operation: 46-45=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 18:[18, 1] Operation: 46-45=1
Moving to Node #0,0,0
Current State: 18:[18, 1], Operations: ['95-50=45', '46-45=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
50,
45,
78,
17
] | 34 | [
"50+45=95",
"78-17=61",
"95-61=34"
] | Current State: 34:[50, 45, 78, 17], Operations: []
Exploring Operation: 50+45=95, Resulting Numbers: [78, 17, 95]
Generated Node #2: [78, 17, 95] from Operation: 50+45=95
Current State: 34:[78, 17, 95], Operations: ['50+45=95']
Exploring Operation: 78-17=61, Resulting Numbers: [95, 61]
Generated Node #3: [95, 61] from Operation: 78-17=61
Current State: 34:[95, 61], Operations: ['50+45=95', '78-17=61']
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[50, 45, 78, 17], Operations: []
Exploring Operation: 78-45=33, Resulting Numbers: [50, 17, 33]
Generated Node #0,0: 34:[50, 17, 33] Operation: 78-45=33
Exploring Operation: 78-50=28, Resulting Numbers: [45, 17, 28]
Generated Node #0,1: 34:[45, 17, 28] Operation: 78-50=28
Moving to Node #0,0
Current State: 34:[50, 17, 33], Operations: ['78-45=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17, 17]
Generated Node #0,0,0: 34:[17, 17] Operation: 50-33=17
Exploring Operation: 50-17=33, Resulting Numbers: [33, 33]
Generated Node #0,0,1: 34:[33, 33] Operation: 50-17=33
Moving to Node #0,1
Current State: 34:[45, 17, 28], Operations: ['78-50=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17, 17]
Generated Node #0,1,0: 34:[17, 17] Operation: 45-28=17
Exploring Operation: 45-17=28, Resulting Numbers: [28, 28]
Generated Node #0,1,1: 34:[28, 28] Operation: 45-17=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[17, 17], Operations: ['78-50=28', '45-28=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[50, 45, 78, 17], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [45, 17, 28]
Generated Node #0,1: 34:[45, 17, 28] Operation: 78-50=28
Moving to Node #0,1
Current State: 34:[45, 17, 28], Operations: ['78-50=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17, 17]
Generated Node #0,1,0: 34:[17, 17] Operation: 45-28=17
Moving to Node #0,1,0
Current State: 34:[17, 17], Operations: ['78-50=28', '45-28=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
4,
3,
36,
33
] | 11 | [
"4*3=12",
"36/12=3",
"33/3=11"
] | Current State: 11:[4, 3, 36, 33], Operations: []
Exploring Operation: 4*3=12, Resulting Numbers: [36, 33, 12]
Generated Node #2: [36, 33, 12] from Operation: 4*3=12
Current State: 11:[36, 33, 12], Operations: ['4*3=12']
Exploring Operation: 36/12=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 36/12=3
Current State: 11:[33, 3], Operations: ['4*3=12', '36/12=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[4, 3, 36, 33], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [4, 3, 3]
Generated Node #0,0: 11:[4, 3, 3] Operation: 36-33=3
Exploring Operation: 36/3=12, Resulting Numbers: [4, 33, 12]
Generated Node #0,1: 11:[4, 33, 12] Operation: 36/3=12
Exploring Operation: 4*3=12, Resulting Numbers: [36, 33, 12]
Generated Node #0,2: 11:[36, 33, 12] Operation: 4*3=12
Exploring Operation: 33/3=11, Resulting Numbers: [4, 36, 11]
Generated Node #0,3: 11:[4, 36, 11] Operation: 33/3=11
Exploring Operation: 36/4=9, Resulting Numbers: [3, 33, 9]
Generated Node #0,4: 11:[3, 33, 9] Operation: 36/4=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[4, 3, 3], Operations: ['36-33=3']
Exploring Operation: 3*3=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 11:[4, 9] Operation: 3*3=9
Exploring Operation: 4*3=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 11:[3, 12] Operation: 4*3=12
Exploring Operation: 4+3=7, Resulting Numbers: [3, 7]
Generated Node #0,0,2: 11:[3, 7] Operation: 4+3=7
Exploring Operation: 4+3=7, Resulting Numbers: [3, 7]
Generated Node #0,0,3: 11:[3, 7] Operation: 4+3=7
Exploring Operation: 4*3=12, Resulting Numbers: [3, 12]
Generated Node #0,0,4: 11:[3, 12] Operation: 4*3=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[4, 9], Operations: ['36-33=3', '3*3=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[3, 12], Operations: ['36-33=3', '4*3=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 11:[3, 12], Operations: ['36-33=3', '4*3=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[3, 7], Operations: ['36-33=3', '4+3=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[3, 7], Operations: ['36-33=3', '4+3=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[4, 33, 12], Operations: ['36/3=12']
Exploring Operation: 4+12=16, Resulting Numbers: [33, 16]
Generated Node #0,1,0: 11:[33, 16] Operation: 4+12=16
Exploring Operation: 33-12=21, Resulting Numbers: [4, 21]
Generated Node #0,1,1: 11:[4, 21] Operation: 33-12=21
Exploring Operation: 4+33=37, Resulting Numbers: [12, 37]
Generated Node #0,1,2: 11:[12, 37] Operation: 4+33=37
Exploring Operation: 33-4=29, Resulting Numbers: [12, 29]
Generated Node #0,1,3: 11:[12, 29] Operation: 33-4=29
Exploring Operation: 12-4=8, Resulting Numbers: [33, 8]
Generated Node #0,1,4: 11:[33, 8] Operation: 12-4=8
Moving to Node #0,1,1
Current State: 11:[4, 21], Operations: ['36/3=12', '33-12=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[12, 29], Operations: ['36/3=12', '33-4=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,11 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Moving to Node #0,1,4
Current State: 11:[33, 8], Operations: ['36/3=12', '12-4=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,11 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[33, 16], Operations: ['36/3=12', '4+12=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[12, 37], Operations: ['36/3=12', '4+33=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[4, 36, 11], Operations: ['33/3=11']
Exploring Operation: 36/4=9, Resulting Numbers: [11, 9]
Generated Node #0,3,0: 11:[11, 9] Operation: 36/4=9
Exploring Operation: 4+36=40, Resulting Numbers: [11, 40]
Generated Node #0,3,1: 11:[11, 40] Operation: 4+36=40
Exploring Operation: 4+11=15, Resulting Numbers: [36, 15]
Generated Node #0,3,2: 11:[36, 15] Operation: 4+11=15
Exploring Operation: 36-4=32, Resulting Numbers: [11, 32]
Generated Node #0,3,3: 11:[11, 32] Operation: 36-4=32
Exploring Operation: 36-11=25, Resulting Numbers: [4, 25]
Generated Node #0,3,4: 11:[4, 25] Operation: 36-11=25
Moving to Node #0,3,0
Current State: 11:[11, 9], Operations: ['33/3=11', '36/4=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[4, 25], Operations: ['33/3=11', '36-11=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[11, 32], Operations: ['33/3=11', '36-4=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,11 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[11, 40], Operations: ['33/3=11', '4+36=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,11 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[36, 15], Operations: ['33/3=11', '4+11=15']
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,11 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,11 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,11 unequal: No Solution
No 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
Current State: 11:[3, 33, 9], Operations: ['36/4=9']
Exploring Operation: 3+9=12, Resulting Numbers: [33, 12]
Generated Node #0,4,0: 11:[33, 12] Operation: 3+9=12
Exploring Operation: 33-3=30, Resulting Numbers: [9, 30]
Generated Node #0,4,1: 11:[9, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [9, 11]
Generated Node #0,4,2: 11:[9, 11] Operation: 33/3=11
Exploring Operation: 33-9=24, Resulting Numbers: [3, 24]
Generated Node #0,4,3: 11:[3, 24] Operation: 33-9=24
Exploring Operation: 3+33=36, Resulting Numbers: [9, 36]
Generated Node #0,4,4: 11:[9, 36] Operation: 3+33=36
Moving to Node #0,4,2
Current State: 11:[9, 11], Operations: ['36/4=9', '33/3=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[3, 24], Operations: ['36/4=9', '33-9=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Moving to Node #0,4,1
Current State: 11:[9, 30], Operations: ['36/4=9', '33-3=30']
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,11 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Moving to Node #0,4,0
Current State: 11:[33, 12], Operations: ['36/4=9', '3+9=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,11 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,11 unequal: No Solution
Moving to Node #0,4,4
Current State: 11:[9, 36], Operations: ['36/4=9', '3+33=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,11 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,11 unequal: No Solution
No 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: 11:[36, 33, 12], Operations: ['4*3=12']
Exploring Operation: 33-12=21, Resulting Numbers: [36, 21]
Generated Node #0,2,0: 11:[36, 21] Operation: 33-12=21
Exploring Operation: 36-33=3, Resulting Numbers: [12, 3]
Generated Node #0,2,1: 11:[12, 3] Operation: 36-33=3
Exploring Operation: 36+33=69, Resulting Numbers: [12, 69]
Generated Node #0,2,2: 11:[12, 69] Operation: 36+33=69
Exploring Operation: 36-12=24, Resulting Numbers: [33, 24]
Generated Node #0,2,3: 11:[33, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [33, 3]
Generated Node #0,2,4: 11:[33, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[12, 3], Operations: ['4*3=12', '36-33=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 11:[33, 3], Operations: ['4*3=12', '36/12=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,11 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[4, 3, 36, 33], Operations: []
Exploring Operation: 4*3=12, Resulting Numbers: [36, 33, 12]
Generated Node #0,2: 11:[36, 33, 12] Operation: 4*3=12
Moving to Node #0,2
Current State: 11:[36, 33, 12], Operations: ['4*3=12']
Exploring Operation: 36/12=3, Resulting Numbers: [33, 3]
Generated Node #0,2,4: 11:[33, 3] Operation: 36/12=3
Moving to Node #0,2,4
Current State: 11:[33, 3], Operations: ['4*3=12', '36/12=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.907986 | hs_5 | mult_heuristic |
[
14,
14,
55,
11
] | 55 | [
"14-14=0",
"11*0=0",
"55+0=55"
] | Current State: 55:[14, 14, 55, 11], Operations: []
Exploring Operation: 14-14=0, Resulting Numbers: [55, 11, 0]
Generated Node #2: [55, 11, 0] from Operation: 14-14=0
Current State: 55:[55, 11, 0], Operations: ['14-14=0']
Exploring Operation: 11*0=0, Resulting Numbers: [55, 0]
Generated Node #3: [55, 0] from Operation: 11*0=0
Current State: 55:[55, 0], Operations: ['14-14=0', '11*0=0']
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[14, 14, 55, 11], Operations: []
Exploring Operation: 14/14=1, Resulting Numbers: [55, 11, 1]
Generated Node #0,0: 55:[55, 11, 1] Operation: 14/14=1
Exploring Operation: 14-11=3, Resulting Numbers: [14, 55, 3]
Generated Node #0,1: 55:[14, 55, 3] Operation: 14-11=3
Exploring Operation: 14-14=0, Resulting Numbers: [55, 11, 0]
Generated Node #0,2: 55:[55, 11, 0] Operation: 14-14=0
Exploring Operation: 14-11=3, Resulting Numbers: [14, 55, 3]
Generated Node #0,3: 55:[14, 55, 3] Operation: 14-11=3
Exploring Operation: 55/11=5, Resulting Numbers: [14, 14, 5]
Generated Node #0,4: 55:[14, 14, 5] Operation: 55/11=5
Moving to Node #0,0
Current State: 55:[55, 11, 1], Operations: ['14/14=1']
Exploring Operation: 55+1=56, Resulting Numbers: [11, 56]
Generated Node #0,0,0: 55:[11, 56] Operation: 55+1=56
Exploring Operation: 55*1=55, Resulting Numbers: [11, 55]
Generated Node #0,0,1: 55:[11, 55] Operation: 55*1=55
Exploring Operation: 55/1=55, Resulting Numbers: [11, 55]
Generated Node #0,0,2: 55:[11, 55] Operation: 55/1=55
Exploring Operation: 11*1=11, Resulting Numbers: [55, 11]
Generated Node #0,0,3: 55:[55, 11] Operation: 11*1=11
Exploring Operation: 11/1=11, Resulting Numbers: [55, 11]
Generated Node #0,0,4: 55:[55, 11] Operation: 11/1=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[11, 55], Operations: ['14/14=1', '55*1=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,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,0,2
Current State: 55:[11, 55], Operations: ['14/14=1', '55/1=55']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,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,0,3
Current State: 55:[55, 11], Operations: ['14/14=1', '11*1=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,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,0,4
Current State: 55:[55, 11], Operations: ['14/14=1', '11/1=11']
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,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,0,0
Current State: 55:[11, 56], Operations: ['14/14=1', '55+1=56']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,55 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: 55:[55, 11, 0], Operations: ['14-14=0']
Exploring Operation: 11+0=11, Resulting Numbers: [55, 11]
Generated Node #0,2,0: 55:[55, 11] Operation: 11+0=11
Exploring Operation: 55/11=5, Resulting Numbers: [0, 5]
Generated Node #0,2,1: 55:[0, 5] Operation: 55/11=5
Exploring Operation: 11-0=11, Resulting Numbers: [55, 11]
Generated Node #0,2,2: 55:[55, 11] Operation: 11-0=11
Exploring Operation: 55+0=55, Resulting Numbers: [11, 55]
Generated Node #0,2,3: 55:[11, 55] Operation: 55+0=55
Exploring Operation: 55-0=55, Resulting Numbers: [11, 55]
Generated Node #0,2,4: 55:[11, 55] Operation: 55-0=55
Moving to Node #0,1
Current State: 55:[14, 55, 3], Operations: ['14-11=3']
Exploring Operation: 55+3=58, Resulting Numbers: [14, 58]
Generated Node #0,1,0: 55:[14, 58] Operation: 55+3=58
Exploring Operation: 14+3=17, Resulting Numbers: [55, 17]
Generated Node #0,1,1: 55:[55, 17] Operation: 14+3=17
Exploring Operation: 14*3=42, Resulting Numbers: [55, 42]
Generated Node #0,1,2: 55:[55, 42] Operation: 14*3=42
Exploring Operation: 14-3=11, Resulting Numbers: [55, 11]
Generated Node #0,1,3: 55:[55, 11] Operation: 14-3=11
Exploring Operation: 55-3=52, Resulting Numbers: [14, 52]
Generated Node #0,1,4: 55:[14, 52] Operation: 55-3=52
Moving to Node #0,3
Current State: 55:[14, 55, 3], Operations: ['14-11=3']
Exploring Operation: 55+3=58, Resulting Numbers: [14, 58]
Generated Node #0,3,0: 55:[14, 58] Operation: 55+3=58
Exploring Operation: 14-3=11, Resulting Numbers: [55, 11]
Generated Node #0,3,1: 55:[55, 11] Operation: 14-3=11
Exploring Operation: 55-3=52, Resulting Numbers: [14, 52]
Generated Node #0,3,2: 55:[14, 52] Operation: 55-3=52
Exploring Operation: 14+3=17, Resulting Numbers: [55, 17]
Generated Node #0,3,3: 55:[55, 17] Operation: 14+3=17
Exploring Operation: 14*3=42, Resulting Numbers: [55, 42]
Generated Node #0,3,4: 55:[55, 42] Operation: 14*3=42
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[55, 11], Operations: ['14-11=3', '14-3=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,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,3,0
Current State: 55:[14, 58], Operations: ['14-11=3', '55+3=58']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,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,3,2
Current State: 55:[14, 52], Operations: ['14-11=3', '55-3=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,55 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,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,3,3
Current State: 55:[55, 17], Operations: ['14-11=3', '14+3=17']
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,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,3,4
Current State: 55:[55, 42], Operations: ['14-11=3', '14*3=42']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 55*42=2310, Resulting Numbers: [2310]
2310,55 unequal: No Solution
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,55 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: 55:[14, 14, 5], Operations: ['55/11=5']
Exploring Operation: 14-5=9, Resulting Numbers: [14, 9]
Generated Node #0,4,0: 55:[14, 9] Operation: 14-5=9
Exploring Operation: 14/14=1, Resulting Numbers: [5, 1]
Generated Node #0,4,1: 55:[5, 1] Operation: 14/14=1
Exploring Operation: 14-5=9, Resulting Numbers: [14, 9]
Generated Node #0,4,2: 55:[14, 9] Operation: 14-5=9
Exploring Operation: 14-14=0, Resulting Numbers: [5, 0]
Generated Node #0,4,3: 55:[5, 0] Operation: 14-14=0
Exploring Operation: 14+5=19, Resulting Numbers: [14, 19]
Generated Node #0,4,4: 55:[14, 19] Operation: 14+5=19
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 55:[5, 1], Operations: ['55/11=5', '14/14=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,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,4,0
Current State: 55:[14, 9], Operations: ['55/11=5', '14-5=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,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,4,2
Current State: 55:[14, 9], Operations: ['55/11=5', '14-5=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,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,4,3
Current State: 55:[5, 0], Operations: ['55/11=5', '14-14=0']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,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,4,4
Current State: 55:[14, 19], Operations: ['55/11=5', '14+5=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,55 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 55:[55, 11], Operations: ['14-14=0', '11+0=11']
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[11, 55], Operations: ['14-14=0', '55+0=55']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[55, 11], Operations: ['14-11=3', '14-3=11']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[55, 11], Operations: ['14-14=0', '11-0=11']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Moving to Node #0,2,4
Current State: 55:[11, 55], Operations: ['14-14=0', '55-0=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,55 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[0, 5], Operations: ['14-14=0', '55/11=5']
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 0+5=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 0*5=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[14, 58], Operations: ['14-11=3', '55+3=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[14, 52], Operations: ['14-11=3', '55-3=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,55 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[55, 17], Operations: ['14-11=3', '14+3=17']
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,55 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[55, 42], Operations: ['14-11=3', '14*3=42']
Exploring Operation: 55*42=2310, Resulting Numbers: [2310]
2310,55 unequal: No Solution
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,55 unequal: No Solution
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
13,
19,
35,
7
] | 60 | [
"13+19=32",
"35-7=28",
"32+28=60"
] | Current State: 60:[13, 19, 35, 7], Operations: []
Exploring Operation: 13+19=32, Resulting Numbers: [35, 7, 32]
Generated Node #2: [35, 7, 32] from Operation: 13+19=32
Current State: 60:[35, 7, 32], Operations: ['13+19=32']
Exploring Operation: 35-7=28, Resulting Numbers: [32, 28]
Generated Node #3: [32, 28] from Operation: 35-7=28
Current State: 60:[32, 28], Operations: ['13+19=32', '35-7=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[13, 19, 35, 7], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [13, 7, 16]
Generated Node #0,0: 60:[13, 7, 16] Operation: 35-19=16
Exploring Operation: 35/7=5, Resulting Numbers: [13, 19, 5]
Generated Node #0,1: 60:[13, 19, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[13, 19, 5], Operations: ['35/7=5']
Exploring Operation: 13+19=32, Resulting Numbers: [5, 32]
Generated Node #0,1,0: 60:[5, 32] Operation: 13+19=32
Exploring Operation: 19-13=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 60:[5, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[5, 6], Operations: ['35/7=5', '19-13=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,60 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: 60:[5, 32], Operations: ['35/7=5', '13+19=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,60 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: 60:[13, 7, 16], Operations: ['35-19=16']
Exploring Operation: 13+7=20, Resulting Numbers: [16, 20]
Generated Node #0,0,0: 60:[16, 20] Operation: 13+7=20
Exploring Operation: 13-7=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 60:[16, 6] Operation: 13-7=6
Moving to Node #0,0,0
Current State: 60:[16, 20], Operations: ['35-19=16', '13+7=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[16, 6], Operations: ['35-19=16', '13-7=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
14,
33,
35
] | 31 | [
"28/14=2",
"33*2=66",
"66-35=31"
] | Current State: 31:[28, 14, 33, 35], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [33, 35, 2]
Generated Node #2: [33, 35, 2] from Operation: 28/14=2
Current State: 31:[33, 35, 2], Operations: ['28/14=2']
Exploring Operation: 33*2=66, Resulting Numbers: [35, 66]
Generated Node #3: [35, 66] from Operation: 33*2=66
Current State: 31:[35, 66], Operations: ['28/14=2', '33*2=66']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[28, 14, 33, 35], Operations: []
Exploring Operation: 28+14=42, Resulting Numbers: [33, 35, 42]
Generated Node #0,0: 31:[33, 35, 42] Operation: 28+14=42
Exploring Operation: 33-14=19, Resulting Numbers: [28, 35, 19]
Generated Node #0,1: 31:[28, 35, 19] Operation: 33-14=19
Exploring Operation: 28-14=14, Resulting Numbers: [33, 35, 14]
Generated Node #0,2: 31:[33, 35, 14] Operation: 28-14=14
Exploring Operation: 14+33=47, Resulting Numbers: [28, 35, 47]
Generated Node #0,3: 31:[28, 35, 47] Operation: 14+33=47
Exploring Operation: 35-14=21, Resulting Numbers: [28, 33, 21]
Generated Node #0,4: 31:[28, 33, 21] Operation: 35-14=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[28, 33, 21], Operations: ['35-14=21']
Exploring Operation: 33-21=12, Resulting Numbers: [28, 12]
Generated Node #0,4,0: 31:[28, 12] Operation: 33-21=12
Exploring Operation: 33-28=5, Resulting Numbers: [21, 5]
Generated Node #0,4,1: 31:[21, 5] Operation: 33-28=5
Exploring Operation: 33+21=54, Resulting Numbers: [28, 54]
Generated Node #0,4,2: 31:[28, 54] Operation: 33+21=54
Exploring Operation: 28+21=49, Resulting Numbers: [33, 49]
Generated Node #0,4,3: 31:[33, 49] Operation: 28+21=49
Exploring Operation: 28-21=7, Resulting Numbers: [33, 7]
Generated Node #0,4,4: 31:[33, 7] Operation: 28-21=7
Moving to Node #0,4,3
Current State: 31:[33, 49], Operations: ['35-14=21', '28+21=49']
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[28, 12], Operations: ['35-14=21', '33-21=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,31 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[28, 54], Operations: ['35-14=21', '33+21=54']
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,31 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[33, 7], Operations: ['35-14=21', '28-21=7']
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,31 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[21, 5], Operations: ['35-14=21', '33-28=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,31 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,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,0
Current State: 31:[33, 35, 42], Operations: ['28+14=42']
Exploring Operation: 42-33=9, Resulting Numbers: [35, 9]
Generated Node #0,0,0: 31:[35, 9] Operation: 42-33=9
Exploring Operation: 35-33=2, Resulting Numbers: [42, 2]
Generated Node #0,0,1: 31:[42, 2] Operation: 35-33=2
Exploring Operation: 33+42=75, Resulting Numbers: [35, 75]
Generated Node #0,0,2: 31:[35, 75] Operation: 33+42=75
Exploring Operation: 42-35=7, Resulting Numbers: [33, 7]
Generated Node #0,0,3: 31:[33, 7] Operation: 42-35=7
Exploring Operation: 33+35=68, Resulting Numbers: [42, 68]
Generated Node #0,0,4: 31:[42, 68] Operation: 33+35=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[35, 9], Operations: ['28+14=42', '42-33=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,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,0,3
Current State: 31:[33, 7], Operations: ['28+14=42', '42-35=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,31 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,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,0,1
Current State: 31:[42, 2], Operations: ['28+14=42', '35-33=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,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,0,2
Current State: 31:[35, 75], Operations: ['28+14=42', '33+42=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,31 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,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,0,4
Current State: 31:[42, 68], Operations: ['28+14=42', '33+35=68']
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,31 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[28, 35, 19], Operations: ['33-14=19']
Exploring Operation: 35-19=16, Resulting Numbers: [28, 16]
Generated Node #0,1,0: 31:[28, 16] Operation: 35-19=16
Exploring Operation: 35+19=54, Resulting Numbers: [28, 54]
Generated Node #0,1,1: 31:[28, 54] Operation: 35+19=54
Exploring Operation: 28+19=47, Resulting Numbers: [35, 47]
Generated Node #0,1,2: 31:[35, 47] Operation: 28+19=47
Exploring Operation: 28-19=9, Resulting Numbers: [35, 9]
Generated Node #0,1,3: 31:[35, 9] Operation: 28-19=9
Exploring Operation: 35-28=7, Resulting Numbers: [19, 7]
Generated Node #0,1,4: 31:[19, 7] Operation: 35-28=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[28, 16], Operations: ['33-14=19', '35-19=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,31 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,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,2
Current State: 31:[35, 47], Operations: ['33-14=19', '28+19=47']
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 35*47=1645, Resulting Numbers: [1645]
1645,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:[28, 54], Operations: ['33-14=19', '35+19=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,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,3
Current State: 31:[35, 9], Operations: ['33-14=19', '28-19=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,31 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,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,4
Current State: 31:[19, 7], Operations: ['33-14=19', '35-28=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[33, 35, 14], Operations: ['28-14=14']
Exploring Operation: 33-14=19, Resulting Numbers: [35, 19]
Generated Node #0,2,0: 31:[35, 19] Operation: 33-14=19
Exploring Operation: 35-33=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 31:[14, 2] Operation: 35-33=2
Exploring Operation: 33+14=47, Resulting Numbers: [35, 47]
Generated Node #0,2,2: 31:[35, 47] Operation: 33+14=47
Exploring Operation: 35+14=49, Resulting Numbers: [33, 49]
Generated Node #0,2,3: 31:[33, 49] Operation: 35+14=49
Exploring Operation: 35-14=21, Resulting Numbers: [33, 21]
Generated Node #0,2,4: 31:[33, 21] Operation: 35-14=21
Moving to Node #0,2,4
Current State: 31:[33, 21], Operations: ['28-14=14', '35-14=21']
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,31 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[35, 19], Operations: ['28-14=14', '33-14=19']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[35, 47], Operations: ['28-14=14', '33+14=47']
Exploring Operation: 35*47=1645, Resulting Numbers: [1645]
1645,31 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[33, 49], Operations: ['28-14=14', '35+14=49']
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,31 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[14, 2], Operations: ['28-14=14', '35-33=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,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,3
Current State: 31:[28, 35, 47], Operations: ['14+33=47']
Exploring Operation: 47-35=12, Resulting Numbers: [28, 12]
Generated Node #0,3,0: 31:[28, 12] Operation: 47-35=12
Exploring Operation: 35-28=7, Resulting Numbers: [47, 7]
Generated Node #0,3,1: 31:[47, 7] Operation: 35-28=7
Exploring Operation: 28+35=63, Resulting Numbers: [47, 63]
Generated Node #0,3,2: 31:[47, 63] Operation: 28+35=63
Exploring Operation: 28+47=75, Resulting Numbers: [35, 75]
Generated Node #0,3,3: 31:[35, 75] Operation: 28+47=75
Exploring Operation: 47-28=19, Resulting Numbers: [35, 19]
Generated Node #0,3,4: 31:[35, 19] Operation: 47-28=19
Moving to Node #0,3,4
Current State: 31:[35, 19], Operations: ['14+33=47', '47-28=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,31 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[28, 12], Operations: ['14+33=47', '47-35=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,31 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[47, 7], Operations: ['14+33=47', '35-28=7']
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,31 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[47, 63], Operations: ['14+33=47', '28+35=63']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 47*63=2961, Resulting Numbers: [2961]
2961,31 unequal: No Solution
Exploring Operation: 47+63=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[35, 75], Operations: ['14+33=47', '28+47=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,31 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
73,
41,
92,
71
] | 53 | [
"73-41=32",
"92-71=21",
"32+21=53"
] | Current State: 53:[73, 41, 92, 71], Operations: []
Exploring Operation: 73-41=32, Resulting Numbers: [92, 71, 32]
Generated Node #2: [92, 71, 32] from Operation: 73-41=32
Current State: 53:[92, 71, 32], Operations: ['73-41=32']
Exploring Operation: 92-71=21, Resulting Numbers: [32, 21]
Generated Node #3: [32, 21] from Operation: 92-71=21
Current State: 53:[32, 21], Operations: ['73-41=32', '92-71=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[73, 41, 92, 71], Operations: []
Exploring Operation: 92-41=51, Resulting Numbers: [73, 71, 51]
Generated Node #0,0: 53:[73, 71, 51] Operation: 92-41=51
Exploring Operation: 73-41=32, Resulting Numbers: [92, 71, 32]
Generated Node #0,1: 53:[92, 71, 32] Operation: 73-41=32
Exploring Operation: 92-73=19, Resulting Numbers: [41, 71, 19]
Generated Node #0,2: 53:[41, 71, 19] Operation: 92-73=19
Exploring Operation: 71-41=30, Resulting Numbers: [73, 92, 30]
Generated Node #0,3: 53:[73, 92, 30] Operation: 71-41=30
Exploring Operation: 92-71=21, Resulting Numbers: [73, 41, 21]
Generated Node #0,4: 53:[73, 41, 21] Operation: 92-71=21
Moving to Node #0,0
Current State: 53:[73, 71, 51], Operations: ['92-41=51']
Exploring Operation: 73+51=124, Resulting Numbers: [71, 124]
Generated Node #0,0,0: 53:[71, 124] Operation: 73+51=124
Exploring Operation: 71-51=20, Resulting Numbers: [73, 20]
Generated Node #0,0,1: 53:[73, 20] Operation: 71-51=20
Exploring Operation: 71+51=122, Resulting Numbers: [73, 122]
Generated Node #0,0,2: 53:[73, 122] Operation: 71+51=122
Exploring Operation: 73-71=2, Resulting Numbers: [51, 2]
Generated Node #0,0,3: 53:[51, 2] Operation: 73-71=2
Exploring Operation: 73-51=22, Resulting Numbers: [71, 22]
Generated Node #0,0,4: 53:[71, 22] Operation: 73-51=22
Moving to Node #0,4
Current State: 53:[73, 41, 21], Operations: ['92-71=21']
Exploring Operation: 41+21=62, Resulting Numbers: [73, 62]
Generated Node #0,4,0: 53:[73, 62] Operation: 41+21=62
Exploring Operation: 73-21=52, Resulting Numbers: [41, 52]
Generated Node #0,4,1: 53:[41, 52] Operation: 73-21=52
Exploring Operation: 73-41=32, Resulting Numbers: [21, 32]
Generated Node #0,4,2: 53:[21, 32] Operation: 73-41=32
Exploring Operation: 41-21=20, Resulting Numbers: [73, 20]
Generated Node #0,4,3: 53:[73, 20] Operation: 41-21=20
Exploring Operation: 73+21=94, Resulting Numbers: [41, 94]
Generated Node #0,4,4: 53:[41, 94] Operation: 73+21=94
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[41, 52], Operations: ['92-71=21', '73-21=52']
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,53 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[73, 62], Operations: ['92-71=21', '41+21=62']
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,53 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,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,4,2
Current State: 53:[21, 32], Operations: ['92-71=21', '73-41=32']
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,53 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[73, 41, 92, 71], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [73, 41, 21]
Generated Node #0,4: 53:[73, 41, 21] Operation: 92-71=21
Moving to Node #0,4
Current State: 53:[73, 41, 21], Operations: ['92-71=21']
Exploring Operation: 73-41=32, Resulting Numbers: [21, 32]
Generated Node #0,4,2: 53:[21, 32] Operation: 73-41=32
Moving to Node #0,4,2
Current State: 53:[21, 32], Operations: ['92-71=21', '73-41=32']
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | sum_heuristic |
[
59,
95,
8,
49
] | 41 | [
"95+49=144",
"144/8=18",
"59-18=41"
] | Current State: 41:[59, 95, 8, 49], Operations: []
Exploring Operation: 95+49=144, Resulting Numbers: [59, 8, 144]
Generated Node #2: [59, 8, 144] from Operation: 95+49=144
Current State: 41:[59, 8, 144], Operations: ['95+49=144']
Exploring Operation: 144/8=18, Resulting Numbers: [59, 18]
Generated Node #3: [59, 18] from Operation: 144/8=18
Current State: 41:[59, 18], Operations: ['95+49=144', '144/8=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[59, 95, 8, 49], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [8, 49, 36]
Generated Node #0,0: 41:[8, 49, 36] Operation: 95-59=36
Moving to Node #0,0
Current State: 41:[8, 49, 36], Operations: ['95-59=36']
Exploring Operation: 49-8=41, Resulting Numbers: [36, 41]
Generated Node #0,0,0: 41:[36, 41] Operation: 49-8=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[36, 41], Operations: ['95-59=36', '49-8=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
22,
23,
4
] | 42 | [
"28+22=50",
"23*4=92",
"92-50=42"
] | Current State: 42:[28, 22, 23, 4], Operations: []
Exploring Operation: 28+22=50, Resulting Numbers: [23, 4, 50]
Generated Node #2: [23, 4, 50] from Operation: 28+22=50
Current State: 42:[23, 4, 50], Operations: ['28+22=50']
Exploring Operation: 23*4=92, Resulting Numbers: [50, 92]
Generated Node #3: [50, 92] from Operation: 23*4=92
Current State: 42:[50, 92], Operations: ['28+22=50', '23*4=92']
Exploring Operation: 92-50=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[28, 22, 23, 4], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [22, 4, 5]
Generated Node #0,0: 42:[22, 4, 5] Operation: 28-23=5
Exploring Operation: 28-22=6, Resulting Numbers: [23, 4, 6]
Generated Node #0,1: 42:[23, 4, 6] Operation: 28-22=6
Moving to Node #0,0
Current State: 42:[22, 4, 5], Operations: ['28-23=5']
Exploring Operation: 5-4=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 42:[22, 1] Operation: 5-4=1
Exploring Operation: 4*5=20, Resulting Numbers: [22, 20]
Generated Node #0,0,1: 42:[22, 20] Operation: 4*5=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[22, 1], Operations: ['28-23=5', '5-4=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,42 unequal: No Solution
No 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: 42:[22, 20], Operations: ['28-23=5', '4*5=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[28, 22, 23, 4], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [22, 4, 5]
Generated Node #0,0: 42:[22, 4, 5] Operation: 28-23=5
Moving to Node #0,0
Current State: 42:[22, 4, 5], Operations: ['28-23=5']
Exploring Operation: 4*5=20, Resulting Numbers: [22, 20]
Generated Node #0,0,1: 42:[22, 20] Operation: 4*5=20
Moving to Node #0,0,1
Current State: 42:[22, 20], Operations: ['28-23=5', '4*5=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
72,
24,
22,
96
] | 44 | [
"72-24=48",
"22*96=2112",
"2112/48=44"
] | Current State: 44:[72, 24, 22, 96], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [22, 96, 48]
Generated Node #2: [22, 96, 48] from Operation: 72-24=48
Current State: 44:[22, 96, 48], Operations: ['72-24=48']
Exploring Operation: 22*96=2112, Resulting Numbers: [48, 2112]
Generated Node #3: [48, 2112] from Operation: 22*96=2112
Current State: 44:[48, 2112], Operations: ['72-24=48', '22*96=2112']
Exploring Operation: 2112/48=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[72, 24, 22, 96], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [24, 22, 24]
Generated Node #0,0: 44:[24, 22, 24] Operation: 96-72=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[24, 22, 24], Operations: ['96-72=24']
Exploring Operation: 24/24=1, Resulting Numbers: [22, 1]
Generated Node #0,0,0: 44:[22, 1] Operation: 24/24=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[22, 1], Operations: ['96-72=24', '24/24=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,44 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 |
[
85,
62,
1,
3
] | 26 | [
"85-62=23",
"1*3=3",
"23+3=26"
] | Current State: 26:[85, 62, 1, 3], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [1, 3, 23]
Generated Node #2: [1, 3, 23] from Operation: 85-62=23
Current State: 26:[1, 3, 23], Operations: ['85-62=23']
Exploring Operation: 1*3=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 1*3=3
Current State: 26:[23, 3], Operations: ['85-62=23', '1*3=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[85, 62, 1, 3], Operations: []
Exploring Operation: 85-62=23, Resulting Numbers: [1, 3, 23]
Generated Node #0,0: 26:[1, 3, 23] Operation: 85-62=23
Exploring Operation: 85-3=82, Resulting Numbers: [62, 1, 82]
Generated Node #0,1: 26:[62, 1, 82] Operation: 85-3=82
Exploring Operation: 62-3=59, Resulting Numbers: [85, 1, 59]
Generated Node #0,2: 26:[85, 1, 59] Operation: 62-3=59
Moving to Node #0,0
Current State: 26:[1, 3, 23], Operations: ['85-62=23']
Exploring Operation: 3+23=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 26:[1, 26] Operation: 3+23=26
Exploring Operation: 1+23=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 26:[3, 24] Operation: 1+23=24
Exploring Operation: 3-1=2, Resulting Numbers: [23, 2]
Generated Node #0,0,2: 26:[23, 2] Operation: 3-1=2
Moving to Node #0,1
Current State: 26:[62, 1, 82], Operations: ['85-3=82']
Exploring Operation: 82-1=81, Resulting Numbers: [62, 81]
Generated Node #0,1,0: 26:[62, 81] Operation: 82-1=81
Exploring Operation: 62-1=61, Resulting Numbers: [82, 61]
Generated Node #0,1,1: 26:[82, 61] Operation: 62-1=61
Exploring Operation: 82-62=20, Resulting Numbers: [1, 20]
Generated Node #0,1,2: 26:[1, 20] Operation: 82-62=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[1, 20], Operations: ['85-3=82', '82-62=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No 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: 26:[62, 81], Operations: ['85-3=82', '82-1=81']
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,26 unequal: No Solution
Exploring Operation: 62*81=5022, Resulting Numbers: [5022]
5022,26 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No 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: 26:[82, 61], Operations: ['85-3=82', '62-1=61']
Exploring Operation: 82-61=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 82*61=5002, Resulting Numbers: [5002]
5002,26 unequal: No Solution
Exploring Operation: 82+61=143, Resulting Numbers: [143]
143,26 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: 26:[85, 1, 59], Operations: ['62-3=59']
Exploring Operation: 85-59=26, Resulting Numbers: [1, 26]
Generated Node #0,2,0: 26:[1, 26] Operation: 85-59=26
Exploring Operation: 85-1=84, Resulting Numbers: [59, 84]
Generated Node #0,2,1: 26:[59, 84] Operation: 85-1=84
Exploring Operation: 59-1=58, Resulting Numbers: [85, 58]
Generated Node #0,2,2: 26:[85, 58] Operation: 59-1=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[1, 26], Operations: ['62-3=59', '85-59=26']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[85, 62, 1, 3], Operations: []
Exploring Operation: 62-3=59, Resulting Numbers: [85, 1, 59]
Generated Node #0,2: 26:[85, 1, 59] Operation: 62-3=59
Moving to Node #0,2
Current State: 26:[85, 1, 59], Operations: ['62-3=59']
Exploring Operation: 85-59=26, Resulting Numbers: [1, 26]
Generated Node #0,2,0: 26:[1, 26] Operation: 85-59=26
Moving to Node #0,2,0
Current State: 26:[1, 26], Operations: ['62-3=59', '85-59=26']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
30,
15,
62,
91
] | 74 | [
"30+15=45",
"91-62=29",
"45+29=74"
] | Current State: 74:[30, 15, 62, 91], Operations: []
Exploring Operation: 30+15=45, Resulting Numbers: [62, 91, 45]
Generated Node #2: [62, 91, 45] from Operation: 30+15=45
Current State: 74:[62, 91, 45], Operations: ['30+15=45']
Exploring Operation: 91-62=29, Resulting Numbers: [45, 29]
Generated Node #3: [45, 29] from Operation: 91-62=29
Current State: 74:[45, 29], Operations: ['30+15=45', '91-62=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[30, 15, 62, 91], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [30, 15, 29]
Generated Node #0,0: 74:[30, 15, 29] Operation: 91-62=29
Exploring Operation: 15+62=77, Resulting Numbers: [30, 91, 77]
Generated Node #0,1: 74:[30, 91, 77] Operation: 15+62=77
Exploring Operation: 91-15=76, Resulting Numbers: [30, 62, 76]
Generated Node #0,2: 74:[30, 62, 76] Operation: 91-15=76
Moving to Node #0,2
Current State: 74:[30, 62, 76], Operations: ['91-15=76']
Exploring Operation: 76-62=14, Resulting Numbers: [30, 14]
Generated Node #0,2,0: 74:[30, 14] Operation: 76-62=14
Exploring Operation: 30+62=92, Resulting Numbers: [76, 92]
Generated Node #0,2,1: 74:[76, 92] Operation: 30+62=92
Exploring Operation: 62-30=32, Resulting Numbers: [76, 32]
Generated Node #0,2,2: 74:[76, 32] Operation: 62-30=32
Moving to Node #0,1
Current State: 74:[30, 91, 77], Operations: ['15+62=77']
Exploring Operation: 91-77=14, Resulting Numbers: [30, 14]
Generated Node #0,1,0: 74:[30, 14] Operation: 91-77=14
Exploring Operation: 91-30=61, Resulting Numbers: [77, 61]
Generated Node #0,1,1: 74:[77, 61] Operation: 91-30=61
Exploring Operation: 77-30=47, Resulting Numbers: [91, 47]
Generated Node #0,1,2: 74:[91, 47] Operation: 77-30=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[77, 61], Operations: ['15+62=77', '91-30=61']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,74 unequal: No Solution
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,74 unequal: No Solution
No 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: 74:[30, 14], Operations: ['15+62=77', '91-77=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,74 unequal: No Solution
No 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: 74:[91, 47], Operations: ['15+62=77', '77-30=47']
Exploring Operation: 91-47=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 91+47=138, Resulting Numbers: [138]
138,74 unequal: No Solution
Exploring Operation: 91*47=4277, Resulting Numbers: [4277]
4277,74 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: 74:[30, 15, 29], Operations: ['91-62=29']
Exploring Operation: 30-29=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 74:[15, 1] Operation: 30-29=1
Exploring Operation: 15+29=44, Resulting Numbers: [30, 44]
Generated Node #0,0,1: 74:[30, 44] Operation: 15+29=44
Exploring Operation: 30/15=2, Resulting Numbers: [29, 2]
Generated Node #0,0,2: 74:[29, 2] Operation: 30/15=2
Moving to Node #0,2,2
Current State: 74:[76, 32], Operations: ['91-15=76', '62-30=32']
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 76*32=2432, Resulting Numbers: [2432]
2432,74 unequal: No Solution
Exploring Operation: 76+32=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[29, 2], Operations: ['91-62=29', '30/15=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,74 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[30, 44], Operations: ['91-62=29', '15+29=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[30, 15, 62, 91], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [30, 15, 29]
Generated Node #0,0: 74:[30, 15, 29] Operation: 91-62=29
Moving to Node #0,0
Current State: 74:[30, 15, 29], Operations: ['91-62=29']
Exploring Operation: 15+29=44, Resulting Numbers: [30, 44]
Generated Node #0,0,1: 74:[30, 44] Operation: 15+29=44
Moving to Node #0,0,1
Current State: 74:[30, 44], Operations: ['91-62=29', '15+29=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.972222 | hs_3 | mult_heuristic |
[
36,
46,
95,
82
] | 96 | [
"36+46=82",
"82/82=1",
"95+1=96"
] | Current State: 96:[36, 46, 95, 82], Operations: []
Exploring Operation: 36+46=82, Resulting Numbers: [95, 82, 82]
Generated Node #2: [95, 82, 82] from Operation: 36+46=82
Current State: 96:[95, 82, 82], Operations: ['36+46=82']
Exploring Operation: 82/82=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 82/82=1
Current State: 96:[95, 1], Operations: ['36+46=82', '82/82=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[36, 46, 95, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [36, 46, 13]
Generated Node #0,0: 96:[36, 46, 13] Operation: 95-82=13
Exploring Operation: 82-36=46, Resulting Numbers: [46, 95, 46]
Generated Node #0,1: 96:[46, 95, 46] Operation: 82-36=46
Moving to Node #0,1
Current State: 96:[46, 95, 46], Operations: ['82-36=46']
Exploring Operation: 46/46=1, Resulting Numbers: [95, 1]
Generated Node #0,1,0: 96:[95, 1] Operation: 46/46=1
Exploring Operation: 95-46=49, Resulting Numbers: [46, 49]
Generated Node #0,1,1: 96:[46, 49] Operation: 95-46=49
Moving to Node #0,0
Current State: 96:[36, 46, 13], Operations: ['95-82=13']
Exploring Operation: 46-36=10, Resulting Numbers: [13, 10]
Generated Node #0,0,0: 96:[13, 10] Operation: 46-36=10
Exploring Operation: 36+13=49, Resulting Numbers: [46, 49]
Generated Node #0,0,1: 96:[46, 49] Operation: 36+13=49
Moving to Node #0,1,0
Current State: 96:[95, 1], Operations: ['82-36=46', '46/46=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[36, 46, 95, 82], Operations: []
Exploring Operation: 82-36=46, Resulting Numbers: [46, 95, 46]
Generated Node #0,1: 96:[46, 95, 46] Operation: 82-36=46
Moving to Node #0,1
Current State: 96:[46, 95, 46], Operations: ['82-36=46']
Exploring Operation: 46/46=1, Resulting Numbers: [95, 1]
Generated Node #0,1,0: 96:[95, 1] Operation: 46/46=1
Moving to Node #0,1,0
Current State: 96:[95, 1], Operations: ['82-36=46', '46/46=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
54,
78,
75,
40
] | 57 | [
"75*40=3000",
"78+3000=3078",
"3078/54=57"
] | Current State: 57:[54, 78, 75, 40], Operations: []
Exploring Operation: 75*40=3000, Resulting Numbers: [54, 78, 3000]
Generated Node #2: [54, 78, 3000] from Operation: 75*40=3000
Current State: 57:[54, 78, 3000], Operations: ['75*40=3000']
Exploring Operation: 78+3000=3078, Resulting Numbers: [54, 3078]
Generated Node #3: [54, 3078] from Operation: 78+3000=3078
Current State: 57:[54, 3078], Operations: ['75*40=3000', '78+3000=3078']
Exploring Operation: 3078/54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[54, 78, 75, 40], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [54, 40, 3]
Generated Node #0,0: 57:[54, 40, 3] Operation: 78-75=3
Exploring Operation: 78-40=38, Resulting Numbers: [54, 75, 38]
Generated Node #0,1: 57:[54, 75, 38] Operation: 78-40=38
Exploring Operation: 75-54=21, Resulting Numbers: [78, 40, 21]
Generated Node #0,2: 57:[78, 40, 21] Operation: 75-54=21
Exploring Operation: 78-54=24, Resulting Numbers: [75, 40, 24]
Generated Node #0,3: 57:[75, 40, 24] Operation: 78-54=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[54, 40, 3], Operations: ['78-75=3']
Exploring Operation: 54/3=18, Resulting Numbers: [40, 18]
Generated Node #0,0,0: 57:[40, 18] Operation: 54/3=18
Exploring Operation: 54+3=57, Resulting Numbers: [40, 57]
Generated Node #0,0,1: 57:[40, 57] Operation: 54+3=57
Exploring Operation: 40+3=43, Resulting Numbers: [54, 43]
Generated Node #0,0,2: 57:[54, 43] Operation: 40+3=43
Exploring Operation: 54-40=14, Resulting Numbers: [3, 14]
Generated Node #0,0,3: 57:[3, 14] Operation: 54-40=14
Moving to Node #0,0,3
Current State: 57:[3, 14], Operations: ['78-75=3', '54-40=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[54, 43], Operations: ['78-75=3', '40+3=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[40, 57], Operations: ['78-75=3', '54+3=57']
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,57 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[40, 18], Operations: ['78-75=3', '54/3=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,57 unequal: No Solution
Exploring Operation: 40+18=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,1
Current State: 57:[54, 75, 38], Operations: ['78-40=38']
Exploring Operation: 54+38=92, Resulting Numbers: [75, 92]
Generated Node #0,1,0: 57:[75, 92] Operation: 54+38=92
Exploring Operation: 75-54=21, Resulting Numbers: [38, 21]
Generated Node #0,1,1: 57:[38, 21] Operation: 75-54=21
Exploring Operation: 75-38=37, Resulting Numbers: [54, 37]
Generated Node #0,1,2: 57:[54, 37] Operation: 75-38=37
Exploring Operation: 54-38=16, Resulting Numbers: [75, 16]
Generated Node #0,1,3: 57:[75, 16] Operation: 54-38=16
Moving to Node #0,1,1
Current State: 57:[38, 21], Operations: ['78-40=38', '75-54=21']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[75, 16], Operations: ['78-40=38', '54-38=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,57 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[54, 37], Operations: ['78-40=38', '75-38=37']
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,57 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[75, 92], Operations: ['78-40=38', '54+38=92']
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,57 unequal: No Solution
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,57 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,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,2
Current State: 57:[78, 40, 21], Operations: ['75-54=21']
Exploring Operation: 40+21=61, Resulting Numbers: [78, 61]
Generated Node #0,2,0: 57:[78, 61] Operation: 40+21=61
Exploring Operation: 78-40=38, Resulting Numbers: [21, 38]
Generated Node #0,2,1: 57:[21, 38] Operation: 78-40=38
Exploring Operation: 78-21=57, Resulting Numbers: [40, 57]
Generated Node #0,2,2: 57:[40, 57] Operation: 78-21=57
Exploring Operation: 40-21=19, Resulting Numbers: [78, 19]
Generated Node #0,2,3: 57:[78, 19] Operation: 40-21=19
Moving to Node #0,2,2
Current State: 57:[40, 57], Operations: ['75-54=21', '78-21=57']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,57 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[78, 19], Operations: ['75-54=21', '40-21=19']
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[21, 38], Operations: ['75-54=21', '78-40=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,57 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[78, 61], Operations: ['75-54=21', '40+21=61']
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,57 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 78*61=4758, Resulting Numbers: [4758]
4758,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
Current State: 57:[75, 40, 24], Operations: ['78-54=24']
Exploring Operation: 40-24=16, Resulting Numbers: [75, 16]
Generated Node #0,3,0: 57:[75, 16] Operation: 40-24=16
Exploring Operation: 75-24=51, Resulting Numbers: [40, 51]
Generated Node #0,3,1: 57:[40, 51] Operation: 75-24=51
Exploring Operation: 75-40=35, Resulting Numbers: [24, 35]
Generated Node #0,3,2: 57:[24, 35] Operation: 75-40=35
Exploring Operation: 40+24=64, Resulting Numbers: [75, 64]
Generated Node #0,3,3: 57:[75, 64] Operation: 40+24=64
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[75, 16], Operations: ['78-54=24', '40-24=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,57 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,57 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: 57:[24, 35], Operations: ['78-54=24', '75-40=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,57 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: 57:[40, 51], Operations: ['78-54=24', '75-24=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,57 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,57 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,57 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: 57:[75, 64], Operations: ['78-54=24', '40+24=64']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,57 unequal: No Solution
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,57 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 |
[
4,
28,
1,
84
] | 12 | [
"28/4=7",
"1*84=84",
"84/7=12"
] | Current State: 12:[4, 28, 1, 84], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [1, 84, 7]
Generated Node #2: [1, 84, 7] from Operation: 28/4=7
Current State: 12:[1, 84, 7], Operations: ['28/4=7']
Exploring Operation: 1*84=84, Resulting Numbers: [7, 84]
Generated Node #3: [7, 84] from Operation: 1*84=84
Current State: 12:[7, 84], Operations: ['28/4=7', '1*84=84']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[4, 28, 1, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [4, 1, 3]
Generated Node #0,0: 12:[4, 1, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[4, 1, 3], Operations: ['84/28=3']
Exploring Operation: 4*1=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 12:[3, 4] Operation: 4*1=4
Moving to Node #0,0,0
Current State: 12:[3, 4], Operations: ['84/28=3', '4*1=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[4, 28, 1, 84], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [4, 1, 3]
Generated Node #0,0: 12:[4, 1, 3] Operation: 84/28=3
Moving to Node #0,0
Current State: 12:[4, 1, 3], Operations: ['84/28=3']
Exploring Operation: 4*1=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 12:[3, 4] Operation: 4*1=4
Moving to Node #0,0,0
Current State: 12:[3, 4], Operations: ['84/28=3', '4*1=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
74,
64,
3,
13
] | 93 | [
"74+13=87",
"87/3=29",
"64+29=93"
] | Current State: 93:[74, 64, 3, 13], Operations: []
Exploring Operation: 74+13=87, Resulting Numbers: [64, 3, 87]
Generated Node #2: [64, 3, 87] from Operation: 74+13=87
Current State: 93:[64, 3, 87], Operations: ['74+13=87']
Exploring Operation: 87/3=29, Resulting Numbers: [64, 29]
Generated Node #3: [64, 29] from Operation: 87/3=29
Current State: 93:[64, 29], Operations: ['74+13=87', '87/3=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[74, 64, 3, 13], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [3, 13, 10]
Generated Node #0,0: 93:[3, 13, 10] Operation: 74-64=10
Exploring Operation: 64-13=51, Resulting Numbers: [74, 3, 51]
Generated Node #0,1: 93:[74, 3, 51] Operation: 64-13=51
Exploring Operation: 64+13=77, Resulting Numbers: [74, 3, 77]
Generated Node #0,2: 93:[74, 3, 77] Operation: 64+13=77
Exploring Operation: 74+13=87, Resulting Numbers: [64, 3, 87]
Generated Node #0,3: 93:[64, 3, 87] Operation: 74+13=87
Exploring Operation: 74+64=138, Resulting Numbers: [3, 13, 138]
Generated Node #0,4: 93:[3, 13, 138] Operation: 74+64=138
Moving to Node #0,0
Current State: 93:[3, 13, 10], Operations: ['74-64=10']
Exploring Operation: 13+10=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 93:[3, 23] Operation: 13+10=23
Exploring Operation: 3*10=30, Resulting Numbers: [13, 30]
Generated Node #0,0,1: 93:[13, 30] Operation: 3*10=30
Exploring Operation: 13-10=3, Resulting Numbers: [3, 3]
Generated Node #0,0,2: 93:[3, 3] Operation: 13-10=3
Exploring Operation: 13-3=10, Resulting Numbers: [10, 10]
Generated Node #0,0,3: 93:[10, 10] Operation: 13-3=10
Exploring Operation: 10-3=7, Resulting Numbers: [13, 7]
Generated Node #0,0,4: 93:[13, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[3, 3], Operations: ['74-64=10', '13-10=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,93 unequal: No Solution
No 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: 93:[3, 23], Operations: ['74-64=10', '13+10=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No 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: 93:[13, 30], Operations: ['74-64=10', '3*10=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,93 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,93 unequal: No Solution
No 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: 93:[10, 10], Operations: ['74-64=10', '13-3=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,93 unequal: No Solution
No 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: 93:[13, 7], Operations: ['74-64=10', '10-3=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,93 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: 93:[64, 3, 87], Operations: ['74+13=87']
Exploring Operation: 3+87=90, Resulting Numbers: [64, 90]
Generated Node #0,3,0: 93:[64, 90] Operation: 3+87=90
Exploring Operation: 87-64=23, Resulting Numbers: [3, 23]
Generated Node #0,3,1: 93:[3, 23] Operation: 87-64=23
Exploring Operation: 64+3=67, Resulting Numbers: [87, 67]
Generated Node #0,3,2: 93:[87, 67] Operation: 64+3=67
Exploring Operation: 64-3=61, Resulting Numbers: [87, 61]
Generated Node #0,3,3: 93:[87, 61] Operation: 64-3=61
Exploring Operation: 87/3=29, Resulting Numbers: [64, 29]
Generated Node #0,3,4: 93:[64, 29] Operation: 87/3=29
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[3, 23], Operations: ['74+13=87', '87-64=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No 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: 93:[64, 29], Operations: ['74+13=87', '87/3=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,93 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[74, 64, 3, 13], Operations: []
Exploring Operation: 74+13=87, Resulting Numbers: [64, 3, 87]
Generated Node #0,3: 93:[64, 3, 87] Operation: 74+13=87
Moving to Node #0,3
Current State: 93:[64, 3, 87], Operations: ['74+13=87']
Exploring Operation: 87/3=29, Resulting Numbers: [64, 29]
Generated Node #0,3,4: 93:[64, 29] Operation: 87/3=29
Moving to Node #0,3,4
Current State: 93:[64, 29], Operations: ['74+13=87', '87/3=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
2,
1,
40,
11
] | 29 | [
"2-1=1",
"40-11=29",
"1*29=29"
] | Current State: 29:[2, 1, 40, 11], Operations: []
Exploring Operation: 2-1=1, Resulting Numbers: [40, 11, 1]
Generated Node #2: [40, 11, 1] from Operation: 2-1=1
Current State: 29:[40, 11, 1], Operations: ['2-1=1']
Exploring Operation: 40-11=29, Resulting Numbers: [1, 29]
Generated Node #3: [1, 29] from Operation: 40-11=29
Current State: 29:[1, 29], Operations: ['2-1=1', '40-11=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 1, 40, 11], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [40, 11, 3]
Generated Node #0,0: 29:[40, 11, 3] Operation: 2+1=3
Exploring Operation: 40-2=38, Resulting Numbers: [1, 11, 38]
Generated Node #0,1: 29:[1, 11, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [1, 11, 20]
Generated Node #0,2: 29:[1, 11, 20] Operation: 40/2=20
Exploring Operation: 2*11=22, Resulting Numbers: [1, 40, 22]
Generated Node #0,3: 29:[1, 40, 22] Operation: 2*11=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[1, 40, 22], Operations: ['2*11=22']
Exploring Operation: 1+22=23, Resulting Numbers: [40, 23]
Generated Node #0,3,0: 29:[40, 23] Operation: 1+22=23
Exploring Operation: 1*40=40, Resulting Numbers: [22, 40]
Generated Node #0,3,1: 29:[22, 40] Operation: 1*40=40
Exploring Operation: 40/1=40, Resulting Numbers: [22, 40]
Generated Node #0,3,2: 29:[22, 40] Operation: 40/1=40
Exploring Operation: 40-1=39, Resulting Numbers: [22, 39]
Generated Node #0,3,3: 29:[22, 39] Operation: 40-1=39
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[40, 23], Operations: ['2*11=22', '1+22=23']
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,29 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,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,3,3
Current State: 29:[22, 39], Operations: ['2*11=22', '40-1=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,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,3,1
Current State: 29:[22, 40], Operations: ['2*11=22', '1*40=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,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,3,2
Current State: 29:[22, 40], Operations: ['2*11=22', '40/1=40']
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,29 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[40, 11, 3], Operations: ['2+1=3']
Exploring Operation: 40-11=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 29:[3, 29] Operation: 40-11=29
Exploring Operation: 11+3=14, Resulting Numbers: [40, 14]
Generated Node #0,0,1: 29:[40, 14] Operation: 11+3=14
Exploring Operation: 40-3=37, Resulting Numbers: [11, 37]
Generated Node #0,0,2: 29:[11, 37] Operation: 40-3=37
Exploring Operation: 11*3=33, Resulting Numbers: [40, 33]
Generated Node #0,0,3: 29:[40, 33] Operation: 11*3=33
Moving to Node #0,0,3
Current State: 29:[40, 33], Operations: ['2+1=3', '11*3=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[40, 14], Operations: ['2+1=3', '11+3=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,29 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[3, 29], Operations: ['2+1=3', '40-11=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,29 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[11, 37], Operations: ['2+1=3', '40-3=37']
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,29 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,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,1
Current State: 29:[1, 11, 38], Operations: ['40-2=38']
Exploring Operation: 38-1=37, Resulting Numbers: [11, 37]
Generated Node #0,1,0: 29:[11, 37] Operation: 38-1=37
Exploring Operation: 1+11=12, Resulting Numbers: [38, 12]
Generated Node #0,1,1: 29:[38, 12] Operation: 1+11=12
Exploring Operation: 11/1=11, Resulting Numbers: [38, 11]
Generated Node #0,1,2: 29:[38, 11] Operation: 11/1=11
Exploring Operation: 1*11=11, Resulting Numbers: [38, 11]
Generated Node #0,1,3: 29:[38, 11] Operation: 1*11=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[11, 37], Operations: ['40-2=38', '38-1=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,29 unequal: No Solution
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,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,1,1
Current State: 29:[38, 12], Operations: ['40-2=38', '1+11=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,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,1,2
Current State: 29:[38, 11], Operations: ['40-2=38', '11/1=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,29 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,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,1,3
Current State: 29:[38, 11], Operations: ['40-2=38', '1*11=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,29 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[1, 11, 20], Operations: ['40/2=20']
Exploring Operation: 1+20=21, Resulting Numbers: [11, 21]
Generated Node #0,2,0: 29:[11, 21] Operation: 1+20=21
Exploring Operation: 1+11=12, Resulting Numbers: [20, 12]
Generated Node #0,2,1: 29:[20, 12] Operation: 1+11=12
Exploring Operation: 11/1=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 29:[20, 11] Operation: 11/1=11
Exploring Operation: 1*11=11, Resulting Numbers: [20, 11]
Generated Node #0,2,3: 29:[20, 11] Operation: 1*11=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[11, 21], Operations: ['40/2=20', '1+20=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,29 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,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,2,1
Current State: 29:[20, 12], Operations: ['40/2=20', '1+11=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,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,2,2
Current State: 29:[20, 11], Operations: ['40/2=20', '11/1=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,29 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,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,2,3
Current State: 29:[20, 11], Operations: ['40/2=20', '1*11=11']
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,29 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,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_4 | sum_heuristic |
[
4,
39,
61,
9
] | 15 | [
"4+61=65",
"9*65=585",
"585/39=15"
] | Current State: 15:[4, 39, 61, 9], Operations: []
Exploring Operation: 4+61=65, Resulting Numbers: [39, 9, 65]
Generated Node #2: [39, 9, 65] from Operation: 4+61=65
Current State: 15:[39, 9, 65], Operations: ['4+61=65']
Exploring Operation: 9*65=585, Resulting Numbers: [39, 585]
Generated Node #3: [39, 585] from Operation: 9*65=585
Current State: 15:[39, 585], Operations: ['4+61=65', '9*65=585']
Exploring Operation: 585/39=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[4, 39, 61, 9], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [4, 9, 22]
Generated Node #0,0: 15:[4, 9, 22] Operation: 61-39=22
Exploring Operation: 39-9=30, Resulting Numbers: [4, 61, 30]
Generated Node #0,1: 15:[4, 61, 30] Operation: 39-9=30
Exploring Operation: 61-9=52, Resulting Numbers: [4, 39, 52]
Generated Node #0,2: 15:[4, 39, 52] Operation: 61-9=52
Moving to Node #0,0
Current State: 15:[4, 9, 22], Operations: ['61-39=22']
Exploring Operation: 22-4=18, Resulting Numbers: [9, 18]
Generated Node #0,0,0: 15:[9, 18] Operation: 22-4=18
Exploring Operation: 9-4=5, Resulting Numbers: [22, 5]
Generated Node #0,0,1: 15:[22, 5] Operation: 9-4=5
Exploring Operation: 22-9=13, Resulting Numbers: [4, 13]
Generated Node #0,0,2: 15:[4, 13] Operation: 22-9=13
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[4, 13], Operations: ['61-39=22', '22-9=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,15 unequal: No Solution
No 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: 15:[9, 18], Operations: ['61-39=22', '22-4=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No 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: 15:[22, 5], Operations: ['61-39=22', '9-4=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,15 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: 15:[4, 61, 30], Operations: ['39-9=30']
Exploring Operation: 61-30=31, Resulting Numbers: [4, 31]
Generated Node #0,1,0: 15:[4, 31] Operation: 61-30=31
Exploring Operation: 61-4=57, Resulting Numbers: [30, 57]
Generated Node #0,1,1: 15:[30, 57] Operation: 61-4=57
Exploring Operation: 30-4=26, Resulting Numbers: [61, 26]
Generated Node #0,1,2: 15:[61, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[4, 31], Operations: ['39-9=30', '61-30=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,15 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,15 unequal: No Solution
No 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: 15:[30, 57], Operations: ['39-9=30', '61-4=57']
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,15 unequal: No Solution
No 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: 15:[61, 26], Operations: ['39-9=30', '30-4=26']
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,15 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,15 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: 15:[4, 39, 52], Operations: ['61-9=52']
Exploring Operation: 52/4=13, Resulting Numbers: [39, 13]
Generated Node #0,2,0: 15:[39, 13] Operation: 52/4=13
Exploring Operation: 39-4=35, Resulting Numbers: [52, 35]
Generated Node #0,2,1: 15:[52, 35] Operation: 39-4=35
Exploring Operation: 52-39=13, Resulting Numbers: [4, 13]
Generated Node #0,2,2: 15:[4, 13] Operation: 52-39=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[4, 13], Operations: ['61-9=52', '52-39=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,15 unequal: No Solution
No 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: 15:[39, 13], Operations: ['61-9=52', '52/4=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No 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: 15:[52, 35], Operations: ['61-9=52', '39-4=35']
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,15 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
94,
6,
60,
74
] | 18 | [
"94-60=34",
"74+34=108",
"108/6=18"
] | Current State: 18:[94, 6, 60, 74], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [6, 74, 34]
Generated Node #2: [6, 74, 34] from Operation: 94-60=34
Current State: 18:[6, 74, 34], Operations: ['94-60=34']
Exploring Operation: 74+34=108, Resulting Numbers: [6, 108]
Generated Node #3: [6, 108] from Operation: 74+34=108
Current State: 18:[6, 108], Operations: ['94-60=34', '74+34=108']
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[94, 6, 60, 74], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [94, 74, 10]
Generated Node #0,0: 18:[94, 74, 10] Operation: 60/6=10
Exploring Operation: 94-60=34, Resulting Numbers: [6, 74, 34]
Generated Node #0,1: 18:[6, 74, 34] Operation: 94-60=34
Exploring Operation: 74-60=14, Resulting Numbers: [94, 6, 14]
Generated Node #0,2: 18:[94, 6, 14] Operation: 74-60=14
Exploring Operation: 94-6=88, Resulting Numbers: [60, 74, 88]
Generated Node #0,3: 18:[60, 74, 88] Operation: 94-6=88
Exploring Operation: 94-74=20, Resulting Numbers: [6, 60, 20]
Generated Node #0,4: 18:[6, 60, 20] Operation: 94-74=20
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[6, 60, 20], Operations: ['94-74=20']
Exploring Operation: 60/6=10, Resulting Numbers: [20, 10]
Generated Node #0,4,0: 18:[20, 10] Operation: 60/6=10
Exploring Operation: 60-20=40, Resulting Numbers: [6, 40]
Generated Node #0,4,1: 18:[6, 40] Operation: 60-20=40
Exploring Operation: 60-6=54, Resulting Numbers: [20, 54]
Generated Node #0,4,2: 18:[20, 54] Operation: 60-6=54
Exploring Operation: 60/20=3, Resulting Numbers: [6, 3]
Generated Node #0,4,3: 18:[6, 3] Operation: 60/20=3
Exploring Operation: 20-6=14, Resulting Numbers: [60, 14]
Generated Node #0,4,4: 18:[60, 14] Operation: 20-6=14
Moving to Node #0,4,3
Current State: 18:[6, 3], Operations: ['94-74=20', '60/20=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[94, 6, 60, 74], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [6, 60, 20]
Generated Node #0,4: 18:[6, 60, 20] Operation: 94-74=20
Moving to Node #0,4
Current State: 18:[6, 60, 20], Operations: ['94-74=20']
Exploring Operation: 60/20=3, Resulting Numbers: [6, 3]
Generated Node #0,4,3: 18:[6, 3] Operation: 60/20=3
Moving to Node #0,4,3
Current State: 18:[6, 3], Operations: ['94-74=20', '60/20=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
91,
47,
94,
30
] | 20 | [
"91-47=44",
"94-30=64",
"64-44=20"
] | Current State: 20:[91, 47, 94, 30], Operations: []
Exploring Operation: 91-47=44, Resulting Numbers: [94, 30, 44]
Generated Node #2: [94, 30, 44] from Operation: 91-47=44
Current State: 20:[94, 30, 44], Operations: ['91-47=44']
Exploring Operation: 94-30=64, Resulting Numbers: [44, 64]
Generated Node #3: [44, 64] from Operation: 94-30=64
Current State: 20:[44, 64], Operations: ['91-47=44', '94-30=64']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[91, 47, 94, 30], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [47, 30, 3]
Generated Node #0,0: 20:[47, 30, 3] Operation: 94-91=3
Exploring Operation: 94/47=2, Resulting Numbers: [91, 30, 2]
Generated Node #0,1: 20:[91, 30, 2] Operation: 94/47=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[47, 30, 3], Operations: ['94-91=3']
Exploring Operation: 47-30=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 20:[3, 17] Operation: 47-30=17
Exploring Operation: 30/3=10, Resulting Numbers: [47, 10]
Generated Node #0,0,1: 20:[47, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[3, 17], Operations: ['94-91=3', '47-30=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[91, 47, 94, 30], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [47, 30, 3]
Generated Node #0,0: 20:[47, 30, 3] Operation: 94-91=3
Moving to Node #0,0
Current State: 20:[47, 30, 3], Operations: ['94-91=3']
Exploring Operation: 47-30=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 20:[3, 17] Operation: 47-30=17
Moving to Node #0,0,0
Current State: 20:[3, 17], Operations: ['94-91=3', '47-30=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
76,
64,
98,
27
] | 59 | [
"76-64=12",
"98-27=71",
"71-12=59"
] | Current State: 59:[76, 64, 98, 27], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [98, 27, 12]
Generated Node #2: [98, 27, 12] from Operation: 76-64=12
Current State: 59:[98, 27, 12], Operations: ['76-64=12']
Exploring Operation: 98-27=71, Resulting Numbers: [12, 71]
Generated Node #3: [12, 71] from Operation: 98-27=71
Current State: 59:[12, 71], Operations: ['76-64=12', '98-27=71']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[76, 64, 98, 27], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [64, 27, 22]
Generated Node #0,0: 59:[64, 27, 22] Operation: 98-76=22
Exploring Operation: 76-27=49, Resulting Numbers: [64, 98, 49]
Generated Node #0,1: 59:[64, 98, 49] Operation: 76-27=49
Exploring Operation: 98-27=71, Resulting Numbers: [76, 64, 71]
Generated Node #0,2: 59:[76, 64, 71] Operation: 98-27=71
Moving to Node #0,2
Current State: 59:[76, 64, 71], Operations: ['98-27=71']
Exploring Operation: 76-64=12, Resulting Numbers: [71, 12]
Generated Node #0,2,0: 59:[71, 12] Operation: 76-64=12
Exploring Operation: 76-71=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 59:[64, 5] Operation: 76-71=5
Exploring Operation: 71-64=7, Resulting Numbers: [76, 7]
Generated Node #0,2,2: 59:[76, 7] Operation: 71-64=7
Moving to Node #0,1
Current State: 59:[64, 98, 49], Operations: ['76-27=49']
Exploring Operation: 98-49=49, Resulting Numbers: [64, 49]
Generated Node #0,1,0: 59:[64, 49] Operation: 98-49=49
Exploring Operation: 98-64=34, Resulting Numbers: [49, 34]
Generated Node #0,1,1: 59:[49, 34] Operation: 98-64=34
Exploring Operation: 98/49=2, Resulting Numbers: [64, 2]
Generated Node #0,1,2: 59:[64, 2] Operation: 98/49=2
Moving to Node #0,0
Current State: 59:[64, 27, 22], Operations: ['98-76=22']
Exploring Operation: 27+22=49, Resulting Numbers: [64, 49]
Generated Node #0,0,0: 59:[64, 49] Operation: 27+22=49
Exploring Operation: 64-27=37, Resulting Numbers: [22, 37]
Generated Node #0,0,1: 59:[22, 37] Operation: 64-27=37
Exploring Operation: 64-22=42, Resulting Numbers: [27, 42]
Generated Node #0,0,2: 59:[27, 42] Operation: 64-22=42
Moving to Node #0,1,0
Current State: 59:[64, 49], Operations: ['76-27=49', '98-49=49']
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,59 unequal: No Solution
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[64, 49], Operations: ['98-76=22', '27+22=49']
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[49, 34], Operations: ['76-27=49', '98-64=34']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[27, 42], Operations: ['98-76=22', '64-22=42']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,59 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[22, 37], Operations: ['98-76=22', '64-27=37']
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[76, 64, 98, 27], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [64, 27, 22]
Generated Node #0,0: 59:[64, 27, 22] Operation: 98-76=22
Moving to Node #0,0
Current State: 59:[64, 27, 22], Operations: ['98-76=22']
Exploring Operation: 64-27=37, Resulting Numbers: [22, 37]
Generated Node #0,0,1: 59:[22, 37] Operation: 64-27=37
Moving to Node #0,0,1
Current State: 59:[22, 37], Operations: ['98-76=22', '64-27=37']
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
43,
2,
90,
7
] | 81 | [
"43-7=36",
"90/2=45",
"36+45=81"
] | Current State: 81:[43, 2, 90, 7], Operations: []
Exploring Operation: 43-7=36, Resulting Numbers: [2, 90, 36]
Generated Node #2: [2, 90, 36] from Operation: 43-7=36
Current State: 81:[2, 90, 36], Operations: ['43-7=36']
Exploring Operation: 90/2=45, Resulting Numbers: [36, 45]
Generated Node #3: [36, 45] from Operation: 90/2=45
Current State: 81:[36, 45], Operations: ['43-7=36', '90/2=45']
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[43, 2, 90, 7], Operations: []
Exploring Operation: 90-43=47, Resulting Numbers: [2, 7, 47]
Generated Node #0,0: 81:[2, 7, 47] Operation: 90-43=47
Exploring Operation: 43-7=36, Resulting Numbers: [2, 90, 36]
Generated Node #0,1: 81:[2, 90, 36] Operation: 43-7=36
Exploring Operation: 43*2=86, Resulting Numbers: [90, 7, 86]
Generated Node #0,2: 81:[90, 7, 86] Operation: 43*2=86
Exploring Operation: 90-7=83, Resulting Numbers: [43, 2, 83]
Generated Node #0,3: 81:[43, 2, 83] Operation: 90-7=83
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[90, 7, 86], Operations: ['43*2=86']
Exploring Operation: 90+7=97, Resulting Numbers: [86, 97]
Generated Node #0,2,0: 81:[86, 97] Operation: 90+7=97
Exploring Operation: 90-86=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 81:[7, 4] Operation: 90-86=4
Exploring Operation: 90-7=83, Resulting Numbers: [86, 83]
Generated Node #0,2,2: 81:[86, 83] Operation: 90-7=83
Exploring Operation: 86-7=79, Resulting Numbers: [90, 79]
Generated Node #0,2,3: 81:[90, 79] Operation: 86-7=79
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[7, 4], Operations: ['43*2=86', '90-86=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,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:[86, 83], Operations: ['43*2=86', '90-7=83']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 86+83=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 86*83=7138, Resulting Numbers: [7138]
7138,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:[90, 79], Operations: ['43*2=86', '86-7=79']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 90+79=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 90*79=7110, Resulting Numbers: [7110]
7110,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,0
Current State: 81:[86, 97], Operations: ['43*2=86', '90+7=97']
Exploring Operation: 86*97=8342, Resulting Numbers: [8342]
8342,81 unequal: No Solution
Exploring Operation: 86+97=183, Resulting Numbers: [183]
183,81 unequal: No Solution
Exploring Operation: 97-86=11, Resulting Numbers: [11]
11,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,1
Current State: 81:[2, 90, 36], Operations: ['43-7=36']
Exploring Operation: 90-2=88, Resulting Numbers: [36, 88]
Generated Node #0,1,0: 81:[36, 88] Operation: 90-2=88
Exploring Operation: 36/2=18, Resulting Numbers: [90, 18]
Generated Node #0,1,1: 81:[90, 18] Operation: 36/2=18
Exploring Operation: 2*36=72, Resulting Numbers: [90, 72]
Generated Node #0,1,2: 81:[90, 72] Operation: 2*36=72
Exploring Operation: 36-2=34, Resulting Numbers: [90, 34]
Generated Node #0,1,3: 81:[90, 34] Operation: 36-2=34
Moving to Node #0,1,0
Current State: 81:[36, 88], Operations: ['43-7=36', '90-2=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,81 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[90, 34], Operations: ['43-7=36', '36-2=34']
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[90, 72], Operations: ['43-7=36', '2*36=72']
Exploring Operation: 90+72=162, Resulting Numbers: [162]
162,81 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 90*72=6480, Resulting Numbers: [6480]
6480,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[90, 18], Operations: ['43-7=36', '36/2=18']
Exploring Operation: 90*18=1620, Resulting Numbers: [1620]
1620,81 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,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,3
Current State: 81:[43, 2, 83], Operations: ['90-7=83']
Exploring Operation: 83-43=40, Resulting Numbers: [2, 40]
Generated Node #0,3,0: 81:[2, 40] Operation: 83-43=40
Exploring Operation: 43*2=86, Resulting Numbers: [83, 86]
Generated Node #0,3,1: 81:[83, 86] Operation: 43*2=86
Exploring Operation: 83-2=81, Resulting Numbers: [43, 81]
Generated Node #0,3,2: 81:[43, 81] Operation: 83-2=81
Exploring Operation: 43-2=41, Resulting Numbers: [83, 41]
Generated Node #0,3,3: 81:[83, 41] Operation: 43-2=41
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[83, 86], Operations: ['90-7=83', '43*2=86']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,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,0
Current State: 81:[2, 40], Operations: ['90-7=83', '83-43=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,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:[43, 81], Operations: ['90-7=83', '83-2=81']
Exploring Operation: 43+81=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 43*81=3483, Resulting Numbers: [3483]
3483,81 unequal: No Solution
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,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:[83, 41], Operations: ['90-7=83', '43-2=41']
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 83+41=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 83*41=3403, Resulting Numbers: [3403]
3403,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, 7, 47], Operations: ['90-43=47']
Exploring Operation: 2*47=94, Resulting Numbers: [7, 94]
Generated Node #0,0,0: 81:[7, 94] Operation: 2*47=94
Exploring Operation: 2+7=9, Resulting Numbers: [47, 9]
Generated Node #0,0,1: 81:[47, 9] Operation: 2+7=9
Exploring Operation: 47-7=40, Resulting Numbers: [2, 40]
Generated Node #0,0,2: 81:[2, 40] Operation: 47-7=40
Exploring Operation: 47-2=45, Resulting Numbers: [7, 45]
Generated Node #0,0,3: 81:[7, 45] Operation: 47-2=45
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[2, 40], Operations: ['90-43=47', '47-7=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,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,0,0
Current State: 81:[7, 94], Operations: ['90-43=47', '2*47=94']
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,81 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,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,0,1
Current State: 81:[47, 9], Operations: ['90-43=47', '2+7=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 47*9=423, Resulting Numbers: [423]
423,81 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,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,0,3
Current State: 81:[7, 45], Operations: ['90-43=47', '47-2=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,81 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,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 |
[
41,
48,
24,
75
] | 93 | [
"48-41=7",
"24*7=168",
"168-75=93"
] | Current State: 93:[41, 48, 24, 75], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [24, 75, 7]
Generated Node #2: [24, 75, 7] from Operation: 48-41=7
Current State: 93:[24, 75, 7], Operations: ['48-41=7']
Exploring Operation: 24*7=168, Resulting Numbers: [75, 168]
Generated Node #3: [75, 168] from Operation: 24*7=168
Current State: 93:[75, 168], Operations: ['48-41=7', '24*7=168']
Exploring Operation: 168-75=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[41, 48, 24, 75], Operations: []
Exploring Operation: 75-48=27, Resulting Numbers: [41, 24, 27]
Generated Node #0,0: 93:[41, 24, 27] Operation: 75-48=27
Exploring Operation: 41+48=89, Resulting Numbers: [24, 75, 89]
Generated Node #0,1: 93:[24, 75, 89] Operation: 41+48=89
Exploring Operation: 75-41=34, Resulting Numbers: [48, 24, 34]
Generated Node #0,2: 93:[48, 24, 34] Operation: 75-41=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[41, 24, 27], Operations: ['75-48=27']
Exploring Operation: 41-24=17, Resulting Numbers: [27, 17]
Generated Node #0,0,0: 93:[27, 17] Operation: 41-24=17
Exploring Operation: 41-27=14, Resulting Numbers: [24, 14]
Generated Node #0,0,1: 93:[24, 14] Operation: 41-27=14
Exploring Operation: 27-24=3, Resulting Numbers: [41, 3]
Generated Node #0,0,2: 93:[41, 3] Operation: 27-24=3
Moving to Node #0,0,2
Current State: 93:[41, 3], Operations: ['75-48=27', '27-24=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[27, 17], Operations: ['75-48=27', '41-24=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,93 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,93 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[24, 14], Operations: ['75-48=27', '41-27=14']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,93 unequal: No Solution
No 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: 93:[48, 24, 34], Operations: ['75-41=34']
Exploring Operation: 48/24=2, Resulting Numbers: [34, 2]
Generated Node #0,2,0: 93:[34, 2] Operation: 48/24=2
Exploring Operation: 48+34=82, Resulting Numbers: [24, 82]
Generated Node #0,2,1: 93:[24, 82] Operation: 48+34=82
Exploring Operation: 48-24=24, Resulting Numbers: [34, 24]
Generated Node #0,2,2: 93:[34, 24] Operation: 48-24=24
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[34, 2], Operations: ['75-41=34', '48/24=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,93 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: 93:[34, 24], Operations: ['75-41=34', '48-24=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,93 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,93 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: 93:[24, 82], Operations: ['75-41=34', '48+34=82']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,93 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,93 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: 93:[24, 75, 89], Operations: ['41+48=89']
Exploring Operation: 24+75=99, Resulting Numbers: [89, 99]
Generated Node #0,1,0: 93:[89, 99] Operation: 24+75=99
Exploring Operation: 75-24=51, Resulting Numbers: [89, 51]
Generated Node #0,1,1: 93:[89, 51] Operation: 75-24=51
Exploring Operation: 89-75=14, Resulting Numbers: [24, 14]
Generated Node #0,1,2: 93:[24, 14] Operation: 89-75=14
Moving to Node #0,1,0
Current State: 93:[89, 99], Operations: ['41+48=89', '24+75=99']
Exploring Operation: 89*99=8811, Resulting Numbers: [8811]
8811,93 unequal: No Solution
Exploring Operation: 89+99=188, Resulting Numbers: [188]
188,93 unequal: No Solution
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[24, 14], Operations: ['41+48=89', '89-75=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,93 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[89, 51], Operations: ['41+48=89', '75-24=51']
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,93 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,93 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
65,
53,
96,
97
] | 13 | [
"65-53=12",
"97-96=1",
"12+1=13"
] | Current State: 13:[65, 53, 96, 97], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [96, 97, 12]
Generated Node #2: [96, 97, 12] from Operation: 65-53=12
Current State: 13:[96, 97, 12], Operations: ['65-53=12']
Exploring Operation: 97-96=1, Resulting Numbers: [12, 1]
Generated Node #3: [12, 1] from Operation: 97-96=1
Current State: 13:[12, 1], Operations: ['65-53=12', '97-96=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[65, 53, 96, 97], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [65, 97, 43]
Generated Node #0,0: 13:[65, 97, 43] Operation: 96-53=43
Exploring Operation: 97-65=32, Resulting Numbers: [53, 96, 32]
Generated Node #0,1: 13:[53, 96, 32] Operation: 97-65=32
Exploring Operation: 97-96=1, Resulting Numbers: [65, 53, 1]
Generated Node #0,2: 13:[65, 53, 1] Operation: 97-96=1
Exploring Operation: 96-65=31, Resulting Numbers: [53, 97, 31]
Generated Node #0,3: 13:[53, 97, 31] Operation: 96-65=31
Moving to Node #0,2
Current State: 13:[65, 53, 1], Operations: ['97-96=1']
Exploring Operation: 53-1=52, Resulting Numbers: [65, 52]
Generated Node #0,2,0: 13:[65, 52] Operation: 53-1=52
Exploring Operation: 65*1=65, Resulting Numbers: [53, 65]
Generated Node #0,2,1: 13:[53, 65] Operation: 65*1=65
Exploring Operation: 65-1=64, Resulting Numbers: [53, 64]
Generated Node #0,2,2: 13:[53, 64] Operation: 65-1=64
Exploring Operation: 65-53=12, Resulting Numbers: [1, 12]
Generated Node #0,2,3: 13:[1, 12] Operation: 65-53=12
Moving to Node #0,3
Current State: 13:[53, 97, 31], Operations: ['96-65=31']
Exploring Operation: 53-31=22, Resulting Numbers: [97, 22]
Generated Node #0,3,0: 13:[97, 22] Operation: 53-31=22
Exploring Operation: 97-31=66, Resulting Numbers: [53, 66]
Generated Node #0,3,1: 13:[53, 66] Operation: 97-31=66
Exploring Operation: 97-53=44, Resulting Numbers: [31, 44]
Generated Node #0,3,2: 13:[31, 44] Operation: 97-53=44
Exploring Operation: 53+97=150, Resulting Numbers: [31, 150]
Generated Node #0,3,3: 13:[31, 150] Operation: 53+97=150
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[31, 44], Operations: ['96-65=31', '97-53=44']
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[65, 53, 96, 97], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [53, 97, 31]
Generated Node #0,3: 13:[53, 97, 31] Operation: 96-65=31
Moving to Node #0,3
Current State: 13:[53, 97, 31], Operations: ['96-65=31']
Exploring Operation: 97-53=44, Resulting Numbers: [31, 44]
Generated Node #0,3,2: 13:[31, 44] Operation: 97-53=44
Moving to Node #0,3,2
Current State: 13:[31, 44], Operations: ['96-65=31', '97-53=44']
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
26,
24,
66,
79
] | 92 | [
"26-24=2",
"79*2=158",
"158-66=92"
] | Current State: 92:[26, 24, 66, 79], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [66, 79, 2]
Generated Node #2: [66, 79, 2] from Operation: 26-24=2
Current State: 92:[66, 79, 2], Operations: ['26-24=2']
Exploring Operation: 79*2=158, Resulting Numbers: [66, 158]
Generated Node #3: [66, 158] from Operation: 79*2=158
Current State: 92:[66, 158], Operations: ['26-24=2', '79*2=158']
Exploring Operation: 158-66=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[26, 24, 66, 79], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [26, 79, 42]
Generated Node #0,0: 92:[26, 79, 42] Operation: 66-24=42
Exploring Operation: 66-26=40, Resulting Numbers: [24, 79, 40]
Generated Node #0,1: 92:[24, 79, 40] Operation: 66-26=40
Exploring Operation: 24+66=90, Resulting Numbers: [26, 79, 90]
Generated Node #0,2: 92:[26, 79, 90] Operation: 24+66=90
Exploring Operation: 26+66=92, Resulting Numbers: [24, 79, 92]
Generated Node #0,3: 92:[24, 79, 92] Operation: 26+66=92
Exploring Operation: 79-66=13, Resulting Numbers: [26, 24, 13]
Generated Node #0,4: 92:[26, 24, 13] Operation: 79-66=13
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[26, 24, 13], Operations: ['79-66=13']
Exploring Operation: 26-24=2, Resulting Numbers: [13, 2]
Generated Node #0,4,0: 92:[13, 2] Operation: 26-24=2
Exploring Operation: 26+13=39, Resulting Numbers: [24, 39]
Generated Node #0,4,1: 92:[24, 39] Operation: 26+13=39
Exploring Operation: 24-13=11, Resulting Numbers: [26, 11]
Generated Node #0,4,2: 92:[26, 11] Operation: 24-13=11
Exploring Operation: 26/13=2, Resulting Numbers: [24, 2]
Generated Node #0,4,3: 92:[24, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [24, 13]
Generated Node #0,4,4: 92:[24, 13] Operation: 26-13=13
Moving to Node #0,4,3
Current State: 92:[24, 2], Operations: ['79-66=13', '26/13=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[24, 39], Operations: ['79-66=13', '26+13=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,92 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,4,0
Current State: 92:[13, 2], Operations: ['79-66=13', '26-24=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[26, 11], Operations: ['79-66=13', '24-13=11']
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,92 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[24, 13], Operations: ['79-66=13', '26-13=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,92 unequal: No Solution
No 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: 92:[24, 79, 92], Operations: ['26+66=92']
Exploring Operation: 79-24=55, Resulting Numbers: [92, 55]
Generated Node #0,3,0: 92:[92, 55] Operation: 79-24=55
Exploring Operation: 24+79=103, Resulting Numbers: [92, 103]
Generated Node #0,3,1: 92:[92, 103] Operation: 24+79=103
Exploring Operation: 24+92=116, Resulting Numbers: [79, 116]
Generated Node #0,3,2: 92:[79, 116] Operation: 24+92=116
Exploring Operation: 92-24=68, Resulting Numbers: [79, 68]
Generated Node #0,3,3: 92:[79, 68] Operation: 92-24=68
Exploring Operation: 92-79=13, Resulting Numbers: [24, 13]
Generated Node #0,3,4: 92:[24, 13] Operation: 92-79=13
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[92, 55], Operations: ['26+66=92', '79-24=55']
Exploring Operation: 92-55=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 92*55=5060, Resulting Numbers: [5060]
5060,92 unequal: No Solution
Exploring Operation: 92+55=147, Resulting Numbers: [147]
147,92 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: 92:[24, 13], Operations: ['26+66=92', '92-79=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,92 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: 92:[92, 103], Operations: ['26+66=92', '24+79=103']
Exploring Operation: 92*103=9476, Resulting Numbers: [9476]
9476,92 unequal: No Solution
Exploring Operation: 92+103=195, Resulting Numbers: [195]
195,92 unequal: No Solution
Exploring Operation: 103-92=11, Resulting Numbers: [11]
11,92 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: 92:[79, 68], Operations: ['26+66=92', '92-24=68']
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 79*68=5372, Resulting Numbers: [5372]
5372,92 unequal: No Solution
Exploring Operation: 79+68=147, Resulting Numbers: [147]
147,92 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: 92:[79, 116], Operations: ['26+66=92', '24+92=116']
Exploring Operation: 79+116=195, Resulting Numbers: [195]
195,92 unequal: No Solution
Exploring Operation: 79*116=9164, Resulting Numbers: [9164]
9164,92 unequal: No Solution
Exploring Operation: 116-79=37, Resulting Numbers: [37]
37,92 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: 92:[26, 79, 90], Operations: ['24+66=90']
Exploring Operation: 90-26=64, Resulting Numbers: [79, 64]
Generated Node #0,2,0: 92:[79, 64] Operation: 90-26=64
Exploring Operation: 90-79=11, Resulting Numbers: [26, 11]
Generated Node #0,2,1: 92:[26, 11] Operation: 90-79=11
Exploring Operation: 79-26=53, Resulting Numbers: [90, 53]
Generated Node #0,2,2: 92:[90, 53] Operation: 79-26=53
Exploring Operation: 26+90=116, Resulting Numbers: [79, 116]
Generated Node #0,2,3: 92:[79, 116] Operation: 26+90=116
Exploring Operation: 26+79=105, Resulting Numbers: [90, 105]
Generated Node #0,2,4: 92:[90, 105] Operation: 26+79=105
Moving to Node #0,2,2
Current State: 92:[90, 53], Operations: ['24+66=90', '79-26=53']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 90+53=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 90*53=4770, Resulting Numbers: [4770]
4770,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[26, 11], Operations: ['24+66=90', '90-79=11']
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,92 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,2,4
Current State: 92:[90, 105], Operations: ['24+66=90', '26+79=105']
Exploring Operation: 90*105=9450, Resulting Numbers: [9450]
9450,92 unequal: No Solution
Exploring Operation: 90+105=195, Resulting Numbers: [195]
195,92 unequal: No Solution
Exploring Operation: 105-90=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[79, 64], Operations: ['24+66=90', '90-26=64']
Exploring Operation: 79*64=5056, Resulting Numbers: [5056]
5056,92 unequal: No Solution
Exploring Operation: 79-64=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 79+64=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[79, 116], Operations: ['24+66=90', '26+90=116']
Exploring Operation: 79+116=195, Resulting Numbers: [195]
195,92 unequal: No Solution
Exploring Operation: 79*116=9164, Resulting Numbers: [9164]
9164,92 unequal: No Solution
Exploring Operation: 116-79=37, Resulting Numbers: [37]
37,92 unequal: No Solution
No 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: 92:[26, 79, 42], Operations: ['66-24=42']
Exploring Operation: 79+42=121, Resulting Numbers: [26, 121]
Generated Node #0,0,0: 92:[26, 121] Operation: 79+42=121
Exploring Operation: 79-26=53, Resulting Numbers: [42, 53]
Generated Node #0,0,1: 92:[42, 53] Operation: 79-26=53
Exploring Operation: 79-42=37, Resulting Numbers: [26, 37]
Generated Node #0,0,2: 92:[26, 37] Operation: 79-42=37
Exploring Operation: 42-26=16, Resulting Numbers: [79, 16]
Generated Node #0,0,3: 92:[79, 16] Operation: 42-26=16
Exploring Operation: 26+79=105, Resulting Numbers: [42, 105]
Generated Node #0,0,4: 92:[42, 105] Operation: 26+79=105
Moving to Node #0,0,1
Current State: 92:[42, 53], Operations: ['66-24=42', '79-26=53']
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,92 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[26, 37], Operations: ['66-24=42', '79-42=37']
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,92 unequal: No Solution
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[42, 105], Operations: ['66-24=42', '26+79=105']
Exploring Operation: 42*105=4410, Resulting Numbers: [4410]
4410,92 unequal: No Solution
Exploring Operation: 42+105=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 105-42=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[79, 16], Operations: ['66-24=42', '42-26=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[26, 121], Operations: ['66-24=42', '79+42=121']
Exploring Operation: 26+121=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 26*121=3146, Resulting Numbers: [3146]
3146,92 unequal: No Solution
Exploring Operation: 121-26=95, Resulting Numbers: [95]
95,92 unequal: No Solution
No 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: 92:[24, 79, 40], Operations: ['66-26=40']
Exploring Operation: 40-24=16, Resulting Numbers: [79, 16]
Generated Node #0,1,0: 92:[79, 16] Operation: 40-24=16
Exploring Operation: 79-40=39, Resulting Numbers: [24, 39]
Generated Node #0,1,1: 92:[24, 39] Operation: 79-40=39
Exploring Operation: 24+79=103, Resulting Numbers: [40, 103]
Generated Node #0,1,2: 92:[40, 103] Operation: 24+79=103
Exploring Operation: 79-24=55, Resulting Numbers: [40, 55]
Generated Node #0,1,3: 92:[40, 55] Operation: 79-24=55
Exploring Operation: 79+40=119, Resulting Numbers: [24, 119]
Generated Node #0,1,4: 92:[24, 119] Operation: 79+40=119
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[24, 39], Operations: ['66-26=40', '79-40=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,92 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: 92:[40, 55], Operations: ['66-26=40', '79-24=55']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,92 unequal: No Solution
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,92 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: 92:[40, 103], Operations: ['66-26=40', '24+79=103']
Exploring Operation: 103-40=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 40*103=4120, Resulting Numbers: [4120]
4120,92 unequal: No Solution
Exploring Operation: 40+103=143, Resulting Numbers: [143]
143,92 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: 92:[79, 16], Operations: ['66-26=40', '40-24=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,92 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,4
Current State: 92:[24, 119], Operations: ['66-26=40', '79+40=119']
Exploring Operation: 119-24=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 24+119=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 24*119=2856, Resulting Numbers: [2856]
2856,92 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_5 | sum_heuristic |
[
66,
2,
56,
7
] | 19 | [
"66+2=68",
"56-7=49",
"68-49=19"
] | Current State: 19:[66, 2, 56, 7], Operations: []
Exploring Operation: 66+2=68, Resulting Numbers: [56, 7, 68]
Generated Node #2: [56, 7, 68] from Operation: 66+2=68
Current State: 19:[56, 7, 68], Operations: ['66+2=68']
Exploring Operation: 56-7=49, Resulting Numbers: [68, 49]
Generated Node #3: [68, 49] from Operation: 56-7=49
Current State: 19:[68, 49], Operations: ['66+2=68', '56-7=49']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[66, 2, 56, 7], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [56, 7, 33]
Generated Node #0,0: 19:[56, 7, 33] Operation: 66/2=33
Exploring Operation: 56/2=28, Resulting Numbers: [66, 7, 28]
Generated Node #0,1: 19:[66, 7, 28] Operation: 56/2=28
Exploring Operation: 66-56=10, Resulting Numbers: [2, 7, 10]
Generated Node #0,2: 19:[2, 7, 10] Operation: 66-56=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[2, 7, 10], Operations: ['66-56=10']
Exploring Operation: 2*7=14, Resulting Numbers: [10, 14]
Generated Node #0,2,0: 19:[10, 14] Operation: 2*7=14
Exploring Operation: 2*10=20, Resulting Numbers: [7, 20]
Generated Node #0,2,1: 19:[7, 20] Operation: 2*10=20
Exploring Operation: 2+7=9, Resulting Numbers: [10, 9]
Generated Node #0,2,2: 19:[10, 9] Operation: 2+7=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[7, 20], Operations: ['66-56=10', '2*10=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,19 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: 19:[10, 14], Operations: ['66-56=10', '2*7=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,19 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: 19:[10, 9], Operations: ['66-56=10', '2+7=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[66, 2, 56, 7], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [2, 7, 10]
Generated Node #0,2: 19:[2, 7, 10] Operation: 66-56=10
Moving to Node #0,2
Current State: 19:[2, 7, 10], Operations: ['66-56=10']
Exploring Operation: 2+7=9, Resulting Numbers: [10, 9]
Generated Node #0,2,2: 19:[10, 9] Operation: 2+7=9
Moving to Node #0,2,2
Current State: 19:[10, 9], Operations: ['66-56=10', '2+7=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
2,
54,
50,
23
] | 84 | [
"23-2=21",
"54-50=4",
"21*4=84"
] | Current State: 84:[2, 54, 50, 23], Operations: []
Exploring Operation: 23-2=21, Resulting Numbers: [54, 50, 21]
Generated Node #2: [54, 50, 21] from Operation: 23-2=21
Current State: 84:[54, 50, 21], Operations: ['23-2=21']
Exploring Operation: 54-50=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 54-50=4
Current State: 84:[21, 4], Operations: ['23-2=21', '54-50=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 54, 50, 23], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [2, 23, 4]
Generated Node #0,0: 84:[2, 23, 4] Operation: 54-50=4
Exploring Operation: 54/2=27, Resulting Numbers: [50, 23, 27]
Generated Node #0,1: 84:[50, 23, 27] Operation: 54/2=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[2, 23, 4], Operations: ['54-50=4']
Exploring Operation: 23-2=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 84:[4, 21] Operation: 23-2=21
Exploring Operation: 23+4=27, Resulting Numbers: [2, 27]
Generated Node #0,0,1: 84:[2, 27] Operation: 23+4=27
Moving to Node #0,0,0
Current State: 84:[4, 21], Operations: ['54-50=4', '23-2=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[2, 54, 50, 23], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [2, 23, 4]
Generated Node #0,0: 84:[2, 23, 4] Operation: 54-50=4
Moving to Node #0,0
Current State: 84:[2, 23, 4], Operations: ['54-50=4']
Exploring Operation: 23-2=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 84:[4, 21] Operation: 23-2=21
Moving to Node #0,0,0
Current State: 84:[4, 21], Operations: ['54-50=4', '23-2=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
65,
66,
76,
95
] | 14 | [
"65*76=4940",
"4940/95=52",
"66-52=14"
] | Current State: 14:[65, 66, 76, 95], Operations: []
Exploring Operation: 65*76=4940, Resulting Numbers: [66, 95, 4940]
Generated Node #2: [66, 95, 4940] from Operation: 65*76=4940
Current State: 14:[66, 95, 4940], Operations: ['65*76=4940']
Exploring Operation: 4940/95=52, Resulting Numbers: [66, 52]
Generated Node #3: [66, 52] from Operation: 4940/95=52
Current State: 14:[66, 52], Operations: ['65*76=4940', '4940/95=52']
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[65, 66, 76, 95], Operations: []
Exploring Operation: 95-76=19, Resulting Numbers: [65, 66, 19]
Generated Node #0,0: 14:[65, 66, 19] Operation: 95-76=19
Moving to Node #0,0
Current State: 14:[65, 66, 19], Operations: ['95-76=19']
Exploring Operation: 66-65=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 14:[19, 1] Operation: 66-65=1
Moving to Node #0,0,0
Current State: 14:[19, 1], Operations: ['95-76=19', '66-65=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,14 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
12,
36,
73
] | 92 | [
"22+73=95",
"36/12=3",
"95-3=92"
] | Current State: 92:[22, 12, 36, 73], Operations: []
Exploring Operation: 22+73=95, Resulting Numbers: [12, 36, 95]
Generated Node #2: [12, 36, 95] from Operation: 22+73=95
Current State: 92:[12, 36, 95], Operations: ['22+73=95']
Exploring Operation: 36/12=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 36/12=3
Current State: 92:[95, 3], Operations: ['22+73=95', '36/12=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[22, 12, 36, 73], Operations: []
Exploring Operation: 12+73=85, Resulting Numbers: [22, 36, 85]
Generated Node #0,0: 92:[22, 36, 85] Operation: 12+73=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[22, 36, 85], Operations: ['12+73=85']
Exploring Operation: 85-36=49, Resulting Numbers: [22, 49]
Generated Node #0,0,0: 92:[22, 49] Operation: 85-36=49
Moving to Node #0,0,0
Current State: 92:[22, 49], Operations: ['12+73=85', '85-36=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,92 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 |
[
69,
35,
22,
25
] | 80 | [
"69*25=1725",
"35+1725=1760",
"1760/22=80"
] | Current State: 80:[69, 35, 22, 25], Operations: []
Exploring Operation: 69*25=1725, Resulting Numbers: [35, 22, 1725]
Generated Node #2: [35, 22, 1725] from Operation: 69*25=1725
Current State: 80:[35, 22, 1725], Operations: ['69*25=1725']
Exploring Operation: 35+1725=1760, Resulting Numbers: [22, 1760]
Generated Node #3: [22, 1760] from Operation: 35+1725=1760
Current State: 80:[22, 1760], Operations: ['69*25=1725', '35+1725=1760']
Exploring Operation: 1760/22=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[69, 35, 22, 25], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [22, 25, 34]
Generated Node #0,0: 80:[22, 25, 34] Operation: 69-35=34
Exploring Operation: 69-25=44, Resulting Numbers: [35, 22, 44]
Generated Node #0,1: 80:[35, 22, 44] Operation: 69-25=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[35, 22, 44], Operations: ['69-25=44']
Exploring Operation: 44-35=9, Resulting Numbers: [22, 9]
Generated Node #0,1,0: 80:[22, 9] Operation: 44-35=9
Exploring Operation: 35+44=79, Resulting Numbers: [22, 79]
Generated Node #0,1,1: 80:[22, 79] Operation: 35+44=79
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[22, 9], Operations: ['69-25=44', '44-35=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,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,1,1
Current State: 80:[22, 79], Operations: ['69-25=44', '35+44=79']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,80 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: 80:[22, 25, 34], Operations: ['69-35=34']
Exploring Operation: 25-22=3, Resulting Numbers: [34, 3]
Generated Node #0,0,0: 80:[34, 3] Operation: 25-22=3
Exploring Operation: 34-25=9, Resulting Numbers: [22, 9]
Generated Node #0,0,1: 80:[22, 9] Operation: 34-25=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[22, 9], Operations: ['69-35=34', '34-25=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,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,0
Current State: 80:[34, 3], Operations: ['69-35=34', '25-22=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,80 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 |
[
99,
21,
30,
5
] | 72 | [
"99-21=78",
"30*5=150",
"150-78=72"
] | Current State: 72:[99, 21, 30, 5], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [30, 5, 78]
Generated Node #2: [30, 5, 78] from Operation: 99-21=78
Current State: 72:[30, 5, 78], Operations: ['99-21=78']
Exploring Operation: 30*5=150, Resulting Numbers: [78, 150]
Generated Node #3: [78, 150] from Operation: 30*5=150
Current State: 72:[78, 150], Operations: ['99-21=78', '30*5=150']
Exploring Operation: 150-78=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[99, 21, 30, 5], Operations: []
Exploring Operation: 30-21=9, Resulting Numbers: [99, 5, 9]
Generated Node #0,0: 72:[99, 5, 9] Operation: 30-21=9
Exploring Operation: 99-21=78, Resulting Numbers: [30, 5, 78]
Generated Node #0,1: 72:[30, 5, 78] Operation: 99-21=78
Exploring Operation: 99-30=69, Resulting Numbers: [21, 5, 69]
Generated Node #0,2: 72:[21, 5, 69] Operation: 99-30=69
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[21, 5, 69], Operations: ['99-30=69']
Exploring Operation: 5+69=74, Resulting Numbers: [21, 74]
Generated Node #0,2,0: 72:[21, 74] Operation: 5+69=74
Exploring Operation: 21+5=26, Resulting Numbers: [69, 26]
Generated Node #0,2,1: 72:[69, 26] Operation: 21+5=26
Exploring Operation: 21-5=16, Resulting Numbers: [69, 16]
Generated Node #0,2,2: 72:[69, 16] Operation: 21-5=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[21, 74], Operations: ['99-30=69', '5+69=74']
Exploring Operation: 21*74=1554, Resulting Numbers: [1554]
1554,72 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,72 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: 72:[69, 26], Operations: ['99-30=69', '21+5=26']
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,72 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,72 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,72 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: 72:[69, 16], Operations: ['99-30=69', '21-5=16']
Exploring Operation: 69*16=1104, Resulting Numbers: [1104]
1104,72 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,72 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: 72:[30, 5, 78], Operations: ['99-21=78']
Exploring Operation: 30/5=6, Resulting Numbers: [78, 6]
Generated Node #0,1,0: 72:[78, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [78, 35]
Generated Node #0,1,1: 72:[78, 35] Operation: 30+5=35
Exploring Operation: 30-5=25, Resulting Numbers: [78, 25]
Generated Node #0,1,2: 72:[78, 25] Operation: 30-5=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[78, 6], Operations: ['99-21=78', '30/5=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[99, 21, 30, 5], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [30, 5, 78]
Generated Node #0,1: 72:[30, 5, 78] Operation: 99-21=78
Moving to Node #0,1
Current State: 72:[30, 5, 78], Operations: ['99-21=78']
Exploring Operation: 30/5=6, Resulting Numbers: [78, 6]
Generated Node #0,1,0: 72:[78, 6] Operation: 30/5=6
Moving to Node #0,1,0
Current State: 72:[78, 6], Operations: ['99-21=78', '30/5=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
15,
51,
30,
73
] | 67 | [
"51-15=36",
"30+73=103",
"103-36=67"
] | Current State: 67:[15, 51, 30, 73], Operations: []
Exploring Operation: 51-15=36, Resulting Numbers: [30, 73, 36]
Generated Node #2: [30, 73, 36] from Operation: 51-15=36
Current State: 67:[30, 73, 36], Operations: ['51-15=36']
Exploring Operation: 30+73=103, Resulting Numbers: [36, 103]
Generated Node #3: [36, 103] from Operation: 30+73=103
Current State: 67:[36, 103], Operations: ['51-15=36', '30+73=103']
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[15, 51, 30, 73], Operations: []
Exploring Operation: 15+51=66, Resulting Numbers: [30, 73, 66]
Generated Node #0,0: 67:[30, 73, 66] Operation: 15+51=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[30, 73, 66], Operations: ['15+51=66']
Exploring Operation: 73-30=43, Resulting Numbers: [66, 43]
Generated Node #0,0,0: 67:[66, 43] Operation: 73-30=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[66, 43], Operations: ['15+51=66', '73-30=43']
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
81,
67,
41
] | 93 | [
"81-14=67",
"67-41=26",
"67+26=93"
] | Current State: 93:[14, 81, 67, 41], Operations: []
Exploring Operation: 81-14=67, Resulting Numbers: [67, 41, 67]
Generated Node #2: [67, 41, 67] from Operation: 81-14=67
Current State: 93:[67, 41, 67], Operations: ['81-14=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,93 equal: Goal Reached
Exploring Operation: 67+26=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[14, 81, 67, 41], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [14, 41, 14]
Generated Node #0,0: 93:[14, 41, 14] Operation: 81-67=14
Exploring Operation: 14+81=95, Resulting Numbers: [67, 41, 95]
Generated Node #0,1: 93:[67, 41, 95] Operation: 14+81=95
Exploring Operation: 14+67=81, Resulting Numbers: [81, 41, 81]
Generated Node #0,2: 93:[81, 41, 81] Operation: 14+67=81
Exploring Operation: 67-41=26, Resulting Numbers: [14, 81, 26]
Generated Node #0,3: 93:[14, 81, 26] Operation: 67-41=26
Moving to Node #0,3
Current State: 93:[14, 81, 26], Operations: ['67-41=26']
Exploring Operation: 14+26=40, Resulting Numbers: [81, 40]
Generated Node #0,3,0: 93:[81, 40] Operation: 14+26=40
Exploring Operation: 81+26=107, Resulting Numbers: [14, 107]
Generated Node #0,3,1: 93:[14, 107] Operation: 81+26=107
Exploring Operation: 14+81=95, Resulting Numbers: [26, 95]
Generated Node #0,3,2: 93:[26, 95] Operation: 14+81=95
Exploring Operation: 26-14=12, Resulting Numbers: [81, 12]
Generated Node #0,3,3: 93:[81, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[26, 95], Operations: ['67-41=26', '14+81=95']
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,93 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,93 unequal: No Solution
No 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: 93:[81, 40], Operations: ['67-41=26', '14+26=40']
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,93 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,93 unequal: No Solution
No 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: 93:[81, 12], Operations: ['67-41=26', '26-14=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,93 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[14, 81, 67, 41], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [14, 81, 26]
Generated Node #0,3: 93:[14, 81, 26] Operation: 67-41=26
Moving to Node #0,3
Current State: 93:[14, 81, 26], Operations: ['67-41=26']
Exploring Operation: 26-14=12, Resulting Numbers: [81, 12]
Generated Node #0,3,3: 93:[81, 12] Operation: 26-14=12
Moving to Node #0,3,3
Current State: 93:[81, 12], Operations: ['67-41=26', '26-14=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
65,
26,
54,
44
] | 29 | [
"65-26=39",
"54-44=10",
"39-10=29"
] | Current State: 29:[65, 26, 54, 44], Operations: []
Exploring Operation: 65-26=39, Resulting Numbers: [54, 44, 39]
Generated Node #2: [54, 44, 39] from Operation: 65-26=39
Current State: 29:[54, 44, 39], Operations: ['65-26=39']
Exploring Operation: 54-44=10, Resulting Numbers: [39, 10]
Generated Node #3: [39, 10] from Operation: 54-44=10
Current State: 29:[39, 10], Operations: ['65-26=39', '54-44=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[65, 26, 54, 44], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [26, 54, 21]
Generated Node #0,0: 29:[26, 54, 21] Operation: 65-44=21
Exploring Operation: 65-54=11, Resulting Numbers: [26, 44, 11]
Generated Node #0,1: 29:[26, 44, 11] Operation: 65-54=11
Exploring Operation: 65-26=39, Resulting Numbers: [54, 44, 39]
Generated Node #0,2: 29:[54, 44, 39] Operation: 65-26=39
Exploring Operation: 54-26=28, Resulting Numbers: [65, 44, 28]
Generated Node #0,3: 29:[65, 44, 28] Operation: 54-26=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[26, 54, 21], Operations: ['65-44=21']
Exploring Operation: 26+21=47, Resulting Numbers: [54, 47]
Generated Node #0,0,0: 29:[54, 47] Operation: 26+21=47
Exploring Operation: 26-21=5, Resulting Numbers: [54, 5]
Generated Node #0,0,1: 29:[54, 5] Operation: 26-21=5
Exploring Operation: 54-21=33, Resulting Numbers: [26, 33]
Generated Node #0,0,2: 29:[26, 33] Operation: 54-21=33
Exploring Operation: 54-26=28, Resulting Numbers: [21, 28]
Generated Node #0,0,3: 29:[21, 28] Operation: 54-26=28
Moving to Node #0,0,2
Current State: 29:[26, 33], Operations: ['65-44=21', '54-21=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[21, 28], Operations: ['65-44=21', '54-26=28']
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,29 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[54, 47], Operations: ['65-44=21', '26+21=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,29 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[54, 5], Operations: ['65-44=21', '26-21=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,29 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,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,1
Current State: 29:[26, 44, 11], Operations: ['65-54=11']
Exploring Operation: 26+11=37, Resulting Numbers: [44, 37]
Generated Node #0,1,0: 29:[44, 37] Operation: 26+11=37
Exploring Operation: 44-11=33, Resulting Numbers: [26, 33]
Generated Node #0,1,1: 29:[26, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [26, 4]
Generated Node #0,1,2: 29:[26, 4] Operation: 44/11=4
Exploring Operation: 44-26=18, Resulting Numbers: [11, 18]
Generated Node #0,1,3: 29:[11, 18] Operation: 44-26=18
Moving to Node #0,1,1
Current State: 29:[26, 33], Operations: ['65-54=11', '44-11=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,29 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[44, 37], Operations: ['65-54=11', '26+11=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,29 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[26, 4], Operations: ['65-54=11', '44/11=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,29 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[11, 18], Operations: ['65-54=11', '44-26=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[65, 26, 54, 44], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [26, 44, 11]
Generated Node #0,1: 29:[26, 44, 11] Operation: 65-54=11
Moving to Node #0,1
Current State: 29:[26, 44, 11], Operations: ['65-54=11']
Exploring Operation: 44-26=18, Resulting Numbers: [11, 18]
Generated Node #0,1,3: 29:[11, 18] Operation: 44-26=18
Moving to Node #0,1,3
Current State: 29:[11, 18], Operations: ['65-54=11', '44-26=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
27,
23,
29,
61
] | 40 | [
"27+23=50",
"29+61=90",
"90-50=40"
] | Current State: 40:[27, 23, 29, 61], Operations: []
Exploring Operation: 27+23=50, Resulting Numbers: [29, 61, 50]
Generated Node #2: [29, 61, 50] from Operation: 27+23=50
Current State: 40:[29, 61, 50], Operations: ['27+23=50']
Exploring Operation: 29+61=90, Resulting Numbers: [50, 90]
Generated Node #3: [50, 90] from Operation: 29+61=90
Current State: 40:[50, 90], Operations: ['27+23=50', '29+61=90']
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[27, 23, 29, 61], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [27, 29, 38]
Generated Node #0,0: 40:[27, 29, 38] Operation: 61-23=38
Exploring Operation: 61-27=34, Resulting Numbers: [23, 29, 34]
Generated Node #0,1: 40:[23, 29, 34] Operation: 61-27=34
Moving to Node #0,0
Current State: 40:[27, 29, 38], Operations: ['61-23=38']
Exploring Operation: 29-27=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 40:[38, 2] Operation: 29-27=2
Exploring Operation: 38-29=9, Resulting Numbers: [27, 9]
Generated Node #0,0,1: 40:[27, 9] Operation: 38-29=9
Moving to Node #0,1
Current State: 40:[23, 29, 34], Operations: ['61-27=34']
Exploring Operation: 29-23=6, Resulting Numbers: [34, 6]
Generated Node #0,1,0: 40:[34, 6] Operation: 29-23=6
Exploring Operation: 34-29=5, Resulting Numbers: [23, 5]
Generated Node #0,1,1: 40:[23, 5] Operation: 34-29=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[23, 5], Operations: ['61-27=34', '34-29=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[34, 6], Operations: ['61-27=34', '29-23=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[27, 23, 29, 61], Operations: []
Exploring Operation: 61-27=34, Resulting Numbers: [23, 29, 34]
Generated Node #0,1: 40:[23, 29, 34] Operation: 61-27=34
Moving to Node #0,1
Current State: 40:[23, 29, 34], Operations: ['61-27=34']
Exploring Operation: 29-23=6, Resulting Numbers: [34, 6]
Generated Node #0,1,0: 40:[34, 6] Operation: 29-23=6
Moving to Node #0,1,0
Current State: 40:[34, 6], Operations: ['61-27=34', '29-23=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
25,
21,
43,
51
] | 32 | [
"25-21=4",
"51-43=8",
"4*8=32"
] | Current State: 32:[25, 21, 43, 51], Operations: []
Exploring Operation: 25-21=4, Resulting Numbers: [43, 51, 4]
Generated Node #2: [43, 51, 4] from Operation: 25-21=4
Current State: 32:[43, 51, 4], Operations: ['25-21=4']
Exploring Operation: 51-43=8, Resulting Numbers: [4, 8]
Generated Node #3: [4, 8] from Operation: 51-43=8
Current State: 32:[4, 8], Operations: ['25-21=4', '51-43=8']
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[25, 21, 43, 51], Operations: []
Exploring Operation: 51-25=26, Resulting Numbers: [21, 43, 26]
Generated Node #0,0: 32:[21, 43, 26] Operation: 51-25=26
Exploring Operation: 51-43=8, Resulting Numbers: [25, 21, 8]
Generated Node #0,1: 32:[25, 21, 8] Operation: 51-43=8
Exploring Operation: 51-21=30, Resulting Numbers: [25, 43, 30]
Generated Node #0,2: 32:[25, 43, 30] Operation: 51-21=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[25, 21, 8], Operations: ['51-43=8']
Exploring Operation: 25-21=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 32:[8, 4] Operation: 25-21=4
Exploring Operation: 25+8=33, Resulting Numbers: [21, 33]
Generated Node #0,1,1: 32:[21, 33] Operation: 25+8=33
Exploring Operation: 25-8=17, Resulting Numbers: [21, 17]
Generated Node #0,1,2: 32:[21, 17] Operation: 25-8=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 32:[8, 4], Operations: ['51-43=8', '25-21=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[25, 21, 43, 51], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [25, 21, 8]
Generated Node #0,1: 32:[25, 21, 8] Operation: 51-43=8
Moving to Node #0,1
Current State: 32:[25, 21, 8], Operations: ['51-43=8']
Exploring Operation: 25-21=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 32:[8, 4] Operation: 25-21=4
Moving to Node #0,1,0
Current State: 32:[8, 4], Operations: ['51-43=8', '25-21=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
46,
49,
41,
9
] | 53 | [
"49-46=3",
"41+9=50",
"3+50=53"
] | Current State: 53:[46, 49, 41, 9], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [41, 9, 3]
Generated Node #2: [41, 9, 3] from Operation: 49-46=3
Current State: 53:[41, 9, 3], Operations: ['49-46=3']
Exploring Operation: 41+9=50, Resulting Numbers: [3, 50]
Generated Node #3: [3, 50] from Operation: 41+9=50
Current State: 53:[3, 50], Operations: ['49-46=3', '41+9=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[46, 49, 41, 9], Operations: []
Exploring Operation: 49+9=58, Resulting Numbers: [46, 41, 58]
Generated Node #0,0: 53:[46, 41, 58] Operation: 49+9=58
Exploring Operation: 46+9=55, Resulting Numbers: [49, 41, 55]
Generated Node #0,1: 53:[49, 41, 55] Operation: 46+9=55
Exploring Operation: 46-9=37, Resulting Numbers: [49, 41, 37]
Generated Node #0,2: 53:[49, 41, 37] Operation: 46-9=37
Exploring Operation: 41+9=50, Resulting Numbers: [46, 49, 50]
Generated Node #0,3: 53:[46, 49, 50] Operation: 41+9=50
Moving to Node #0,3
Current State: 53:[46, 49, 50], Operations: ['41+9=50']
Exploring Operation: 46+50=96, Resulting Numbers: [49, 96]
Generated Node #0,3,0: 53:[49, 96] Operation: 46+50=96
Exploring Operation: 50-46=4, Resulting Numbers: [49, 4]
Generated Node #0,3,1: 53:[49, 4] Operation: 50-46=4
Exploring Operation: 49-46=3, Resulting Numbers: [50, 3]
Generated Node #0,3,2: 53:[50, 3] Operation: 49-46=3
Exploring Operation: 46+49=95, Resulting Numbers: [50, 95]
Generated Node #0,3,3: 53:[50, 95] Operation: 46+49=95
Moving to Node #0,1
Current State: 53:[49, 41, 55], Operations: ['46+9=55']
Exploring Operation: 49-41=8, Resulting Numbers: [55, 8]
Generated Node #0,1,0: 53:[55, 8] Operation: 49-41=8
Exploring Operation: 49+41=90, Resulting Numbers: [55, 90]
Generated Node #0,1,1: 53:[55, 90] Operation: 49+41=90
Exploring Operation: 41+55=96, Resulting Numbers: [49, 96]
Generated Node #0,1,2: 53:[49, 96] Operation: 41+55=96
Exploring Operation: 55-41=14, Resulting Numbers: [49, 14]
Generated Node #0,1,3: 53:[49, 14] Operation: 55-41=14
Moving to Node #0,0
Current State: 53:[46, 41, 58], Operations: ['49+9=58']
Exploring Operation: 58-41=17, Resulting Numbers: [46, 17]
Generated Node #0,0,0: 53:[46, 17] Operation: 58-41=17
Exploring Operation: 46-41=5, Resulting Numbers: [58, 5]
Generated Node #0,0,1: 53:[58, 5] Operation: 46-41=5
Exploring Operation: 46+41=87, Resulting Numbers: [58, 87]
Generated Node #0,0,2: 53:[58, 87] Operation: 46+41=87
Exploring Operation: 58-46=12, Resulting Numbers: [41, 12]
Generated Node #0,0,3: 53:[41, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[58, 87], Operations: ['49+9=58', '46+41=87']
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,53 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[46, 17], Operations: ['49+9=58', '58-41=17']
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,53 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[58, 5], Operations: ['49+9=58', '46-41=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,53 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[46, 49, 41, 9], Operations: []
Exploring Operation: 49+9=58, Resulting Numbers: [46, 41, 58]
Generated Node #0,0: 53:[46, 41, 58] Operation: 49+9=58
Moving to Node #0,0
Current State: 53:[46, 41, 58], Operations: ['49+9=58']
Exploring Operation: 46-41=5, Resulting Numbers: [58, 5]
Generated Node #0,0,1: 53:[58, 5] Operation: 46-41=5
Moving to Node #0,0,1
Current State: 53:[58, 5], Operations: ['49+9=58', '46-41=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | mult_heuristic |
[
80,
24,
82,
16
] | 64 | [
"82-80=2",
"24*2=48",
"16+48=64"
] | Current State: 64:[80, 24, 82, 16], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [24, 16, 2]
Generated Node #2: [24, 16, 2] from Operation: 82-80=2
Current State: 64:[24, 16, 2], Operations: ['82-80=2']
Exploring Operation: 24*2=48, Resulting Numbers: [16, 48]
Generated Node #3: [16, 48] from Operation: 24*2=48
Current State: 64:[16, 48], Operations: ['82-80=2', '24*2=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[80, 24, 82, 16], Operations: []
Exploring Operation: 80-16=64, Resulting Numbers: [24, 82, 64]
Generated Node #0,0: 64:[24, 82, 64] Operation: 80-16=64
Exploring Operation: 80-24=56, Resulting Numbers: [82, 16, 56]
Generated Node #0,1: 64:[82, 16, 56] Operation: 80-24=56
Exploring Operation: 82-16=66, Resulting Numbers: [80, 24, 66]
Generated Node #0,2: 64:[80, 24, 66] Operation: 82-16=66
Exploring Operation: 82-80=2, Resulting Numbers: [24, 16, 2]
Generated Node #0,3: 64:[24, 16, 2] Operation: 82-80=2
Exploring Operation: 82-24=58, Resulting Numbers: [80, 16, 58]
Generated Node #0,4: 64:[80, 16, 58] Operation: 82-24=58
Moving to Node #0,3
Current State: 64:[24, 16, 2], Operations: ['82-80=2']
Exploring Operation: 24+2=26, Resulting Numbers: [16, 26]
Generated Node #0,3,0: 64:[16, 26] Operation: 24+2=26
Exploring Operation: 24/2=12, Resulting Numbers: [16, 12]
Generated Node #0,3,1: 64:[16, 12] Operation: 24/2=12
Exploring Operation: 24-16=8, Resulting Numbers: [2, 8]
Generated Node #0,3,2: 64:[2, 8] Operation: 24-16=8
Exploring Operation: 24+16=40, Resulting Numbers: [2, 40]
Generated Node #0,3,3: 64:[2, 40] Operation: 24+16=40
Exploring Operation: 24-2=22, Resulting Numbers: [16, 22]
Generated Node #0,3,4: 64:[16, 22] Operation: 24-2=22
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[2, 8], Operations: ['82-80=2', '24-16=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,64 unequal: No Solution
No 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: 64:[16, 12], Operations: ['82-80=2', '24/2=12']
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,64 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,64 unequal: No Solution
No 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: 64:[16, 26], Operations: ['82-80=2', '24+2=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,64 unequal: No Solution
No 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: 64:[16, 22], Operations: ['82-80=2', '24-2=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,64 unequal: No Solution
No 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: 64:[2, 40], Operations: ['82-80=2', '24+16=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,64 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: 64:[80, 16, 58], Operations: ['82-24=58']
Exploring Operation: 80-58=22, Resulting Numbers: [16, 22]
Generated Node #0,4,0: 64:[16, 22] Operation: 80-58=22
Exploring Operation: 80/16=5, Resulting Numbers: [58, 5]
Generated Node #0,4,1: 64:[58, 5] Operation: 80/16=5
Exploring Operation: 58-16=42, Resulting Numbers: [80, 42]
Generated Node #0,4,2: 64:[80, 42] Operation: 58-16=42
Exploring Operation: 80-16=64, Resulting Numbers: [58, 64]
Generated Node #0,4,3: 64:[58, 64] Operation: 80-16=64
Exploring Operation: 16+58=74, Resulting Numbers: [80, 74]
Generated Node #0,4,4: 64:[80, 74] Operation: 16+58=74
Moving to Node #0,0
Current State: 64:[24, 82, 64], Operations: ['80-16=64']
Exploring Operation: 82-24=58, Resulting Numbers: [64, 58]
Generated Node #0,0,0: 64:[64, 58] Operation: 82-24=58
Exploring Operation: 24+82=106, Resulting Numbers: [64, 106]
Generated Node #0,0,1: 64:[64, 106] Operation: 24+82=106
Exploring Operation: 64-24=40, Resulting Numbers: [82, 40]
Generated Node #0,0,2: 64:[82, 40] Operation: 64-24=40
Exploring Operation: 24+64=88, Resulting Numbers: [82, 88]
Generated Node #0,0,3: 64:[82, 88] Operation: 24+64=88
Exploring Operation: 82-64=18, Resulting Numbers: [24, 18]
Generated Node #0,0,4: 64:[24, 18] Operation: 82-64=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[64, 58], Operations: ['80-16=64', '82-24=58']
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,64 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,64 unequal: No Solution
No 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: 64:[24, 18], Operations: ['80-16=64', '82-64=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,64 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,64 unequal: No Solution
No 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: 64:[82, 40], Operations: ['80-16=64', '64-24=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,64 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,64 unequal: No Solution
No 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: 64:[64, 106], Operations: ['80-16=64', '24+82=106']
Exploring Operation: 64*106=6784, Resulting Numbers: [6784]
6784,64 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,64 unequal: No Solution
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,64 unequal: No Solution
No 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: 64:[82, 88], Operations: ['80-16=64', '24+64=88']
Exploring Operation: 82*88=7216, Resulting Numbers: [7216]
7216,64 unequal: No Solution
Exploring Operation: 88-82=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 82+88=170, Resulting Numbers: [170]
170,64 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: 64:[82, 16, 56], Operations: ['80-24=56']
Exploring Operation: 82-16=66, Resulting Numbers: [56, 66]
Generated Node #0,1,0: 64:[56, 66] Operation: 82-16=66
Exploring Operation: 16+56=72, Resulting Numbers: [82, 72]
Generated Node #0,1,1: 64:[82, 72] Operation: 16+56=72
Exploring Operation: 82+16=98, Resulting Numbers: [56, 98]
Generated Node #0,1,2: 64:[56, 98] Operation: 82+16=98
Exploring Operation: 56-16=40, Resulting Numbers: [82, 40]
Generated Node #0,1,3: 64:[82, 40] Operation: 56-16=40
Exploring Operation: 82-56=26, Resulting Numbers: [16, 26]
Generated Node #0,1,4: 64:[16, 26] Operation: 82-56=26
Moving to Node #0,2
Current State: 64:[80, 24, 66], Operations: ['82-16=66']
Exploring Operation: 80+24=104, Resulting Numbers: [66, 104]
Generated Node #0,2,0: 64:[66, 104] Operation: 80+24=104
Exploring Operation: 80-24=56, Resulting Numbers: [66, 56]
Generated Node #0,2,1: 64:[66, 56] Operation: 80-24=56
Exploring Operation: 24+66=90, Resulting Numbers: [80, 90]
Generated Node #0,2,2: 64:[80, 90] Operation: 24+66=90
Exploring Operation: 66-24=42, Resulting Numbers: [80, 42]
Generated Node #0,2,3: 64:[80, 42] Operation: 66-24=42
Exploring Operation: 80-66=14, Resulting Numbers: [24, 14]
Generated Node #0,2,4: 64:[24, 14] Operation: 80-66=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[66, 56], Operations: ['82-16=66', '80-24=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,64 unequal: No Solution
No 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: 64:[24, 14], Operations: ['82-16=66', '80-66=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,64 unequal: No Solution
No 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: 64:[80, 42], Operations: ['82-16=66', '66-24=42']
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,64 unequal: No Solution
No 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: 64:[66, 104], Operations: ['82-16=66', '80+24=104']
Exploring Operation: 66+104=170, Resulting Numbers: [170]
170,64 unequal: No Solution
Exploring Operation: 66*104=6864, Resulting Numbers: [6864]
6864,64 unequal: No Solution
Exploring Operation: 104-66=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No 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: 64:[80, 90], Operations: ['82-16=66', '24+66=90']
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,64 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,64 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 64:[16, 22], Operations: ['82-24=58', '80-58=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,64 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[16, 26], Operations: ['80-24=56', '82-56=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[58, 64], Operations: ['82-24=58', '80-16=64']
Exploring Operation: 58+64=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 58*64=3712, Resulting Numbers: [3712]
3712,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[58, 5], Operations: ['82-24=58', '80/16=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,64 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[56, 66], Operations: ['80-24=56', '82-16=66']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,64 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[82, 72], Operations: ['80-24=56', '16+56=72']
Exploring Operation: 82*72=5904, Resulting Numbers: [5904]
5904,64 unequal: No Solution
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 82+72=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[80, 74], Operations: ['82-24=58', '16+58=74']
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[80, 42], Operations: ['82-24=58', '58-16=42']
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[82, 40], Operations: ['80-24=56', '56-16=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[56, 98], Operations: ['80-24=56', '82+16=98']
Exploring Operation: 56+98=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Exploring Operation: 56*98=5488, Resulting Numbers: [5488]
5488,64 unequal: No Solution
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
51,
37,
3,
78
] | 52 | [
"37-3=34",
"78*34=2652",
"2652/51=52"
] | Current State: 52:[51, 37, 3, 78], Operations: []
Exploring Operation: 37-3=34, Resulting Numbers: [51, 78, 34]
Generated Node #2: [51, 78, 34] from Operation: 37-3=34
Current State: 52:[51, 78, 34], Operations: ['37-3=34']
Exploring Operation: 78*34=2652, Resulting Numbers: [51, 2652]
Generated Node #3: [51, 2652] from Operation: 78*34=2652
Current State: 52:[51, 2652], Operations: ['37-3=34', '78*34=2652']
Exploring Operation: 2652/51=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[51, 37, 3, 78], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [51, 37, 26]
Generated Node #0,0: 52:[51, 37, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[51, 37, 26], Operations: ['78/3=26']
Exploring Operation: 51-37=14, Resulting Numbers: [26, 14]
Generated Node #0,0,0: 52:[26, 14] Operation: 51-37=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[26, 14], Operations: ['78/3=26', '51-37=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,52 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 |
[
71,
18,
72,
69
] | 65 | [
"72-69=3",
"18/3=6",
"71-6=65"
] | Current State: 65:[71, 18, 72, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [71, 18, 3]
Generated Node #2: [71, 18, 3] from Operation: 72-69=3
Current State: 65:[71, 18, 3], Operations: ['72-69=3']
Exploring Operation: 18/3=6, Resulting Numbers: [71, 6]
Generated Node #3: [71, 6] from Operation: 18/3=6
Current State: 65:[71, 6], Operations: ['72-69=3', '18/3=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[71, 18, 72, 69], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [71, 69, 4]
Generated Node #0,0: 65:[71, 69, 4] Operation: 72/18=4
Exploring Operation: 72-71=1, Resulting Numbers: [18, 69, 1]
Generated Node #0,1: 65:[18, 69, 1] Operation: 72-71=1
Exploring Operation: 72-69=3, Resulting Numbers: [71, 18, 3]
Generated Node #0,2: 65:[71, 18, 3] Operation: 72-69=3
Moving to Node #0,0
Current State: 65:[71, 69, 4], Operations: ['72/18=4']
Exploring Operation: 69-4=65, Resulting Numbers: [71, 65]
Generated Node #0,0,0: 65:[71, 65] Operation: 69-4=65
Exploring Operation: 71-69=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 65:[4, 2] Operation: 71-69=2
Exploring Operation: 71-4=67, Resulting Numbers: [69, 67]
Generated Node #0,0,2: 65:[69, 67] Operation: 71-4=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[4, 2], Operations: ['72/18=4', '71-69=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No 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: 65:[71, 65], Operations: ['72/18=4', '69-4=65']
Exploring Operation: 71*65=4615, Resulting Numbers: [4615]
4615,65 unequal: No Solution
Exploring Operation: 71+65=136, Resulting Numbers: [136]
136,65 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No 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: 65:[69, 67], Operations: ['72/18=4', '71-4=67']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,65 unequal: No Solution
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,65 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: 65:[18, 69, 1], Operations: ['72-71=1']
Exploring Operation: 69-1=68, Resulting Numbers: [18, 68]
Generated Node #0,1,0: 65:[18, 68] Operation: 69-1=68
Exploring Operation: 18-1=17, Resulting Numbers: [69, 17]
Generated Node #0,1,1: 65:[69, 17] Operation: 18-1=17
Exploring Operation: 18*1=18, Resulting Numbers: [69, 18]
Generated Node #0,1,2: 65:[69, 18] Operation: 18*1=18
Moving to Node #0,2
Current State: 65:[71, 18, 3], Operations: ['72-69=3']
Exploring Operation: 18-3=15, Resulting Numbers: [71, 15]
Generated Node #0,2,0: 65:[71, 15] Operation: 18-3=15
Exploring Operation: 71-3=68, Resulting Numbers: [18, 68]
Generated Node #0,2,1: 65:[18, 68] Operation: 71-3=68
Exploring Operation: 18/3=6, Resulting Numbers: [71, 6]
Generated Node #0,2,2: 65:[71, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[71, 6], Operations: ['72-69=3', '18/3=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[71, 18, 72, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [71, 18, 3]
Generated Node #0,2: 65:[71, 18, 3] Operation: 72-69=3
Moving to Node #0,2
Current State: 65:[71, 18, 3], Operations: ['72-69=3']
Exploring Operation: 18/3=6, Resulting Numbers: [71, 6]
Generated Node #0,2,2: 65:[71, 6] Operation: 18/3=6
Moving to Node #0,2,2
Current State: 65:[71, 6], Operations: ['72-69=3', '18/3=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
26,
83,
35,
37
] | 37 | [
"26+83=109",
"35+37=72",
"109-72=37"
] | Current State: 37:[26, 83, 35, 37], Operations: []
Exploring Operation: 26+83=109, Resulting Numbers: [35, 37, 109]
Generated Node #2: [35, 37, 109] from Operation: 26+83=109
Current State: 37:[35, 37, 109], Operations: ['26+83=109']
Exploring Operation: 35+37=72, Resulting Numbers: [109, 72]
Generated Node #3: [109, 72] from Operation: 35+37=72
Current State: 37:[109, 72], Operations: ['26+83=109', '35+37=72']
Exploring Operation: 109-72=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[26, 83, 35, 37], Operations: []
Exploring Operation: 83-26=57, Resulting Numbers: [35, 37, 57]
Generated Node #0,0: 37:[35, 37, 57] Operation: 83-26=57
Exploring Operation: 83-37=46, Resulting Numbers: [26, 35, 46]
Generated Node #0,1: 37:[26, 35, 46] Operation: 83-37=46
Exploring Operation: 26+83=109, Resulting Numbers: [35, 37, 109]
Generated Node #0,2: 37:[35, 37, 109] Operation: 26+83=109
Exploring Operation: 26+35=61, Resulting Numbers: [83, 37, 61]
Generated Node #0,3: 37:[83, 37, 61] Operation: 26+35=61
Exploring Operation: 83-35=48, Resulting Numbers: [26, 37, 48]
Generated Node #0,4: 37:[26, 37, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[35, 37, 57], Operations: ['83-26=57']
Exploring Operation: 35+57=92, Resulting Numbers: [37, 92]
Generated Node #0,0,0: 37:[37, 92] Operation: 35+57=92
Exploring Operation: 35+37=72, Resulting Numbers: [57, 72]
Generated Node #0,0,1: 37:[57, 72] Operation: 35+37=72
Exploring Operation: 37-35=2, Resulting Numbers: [57, 2]
Generated Node #0,0,2: 37:[57, 2] Operation: 37-35=2
Exploring Operation: 57-37=20, Resulting Numbers: [35, 20]
Generated Node #0,0,3: 37:[35, 20] Operation: 57-37=20
Exploring Operation: 57-35=22, Resulting Numbers: [37, 22]
Generated Node #0,0,4: 37:[37, 22] Operation: 57-35=22
Moving to Node #0,0,4
Current State: 37:[37, 22], Operations: ['83-26=57', '57-35=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,37 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[35, 20], Operations: ['83-26=57', '57-37=20']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,37 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[37, 92], Operations: ['83-26=57', '35+57=92']
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,37 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[57, 72], Operations: ['83-26=57', '35+37=72']
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 57*72=4104, Resulting Numbers: [4104]
4104,37 unequal: No Solution
Exploring Operation: 57+72=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[57, 2], Operations: ['83-26=57', '37-35=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[26, 35, 46], Operations: ['83-37=46']
Exploring Operation: 26+35=61, Resulting Numbers: [46, 61]
Generated Node #0,1,0: 37:[46, 61] Operation: 26+35=61
Exploring Operation: 35-26=9, Resulting Numbers: [46, 9]
Generated Node #0,1,1: 37:[46, 9] Operation: 35-26=9
Exploring Operation: 46-35=11, Resulting Numbers: [26, 11]
Generated Node #0,1,2: 37:[26, 11] Operation: 46-35=11
Exploring Operation: 46-26=20, Resulting Numbers: [35, 20]
Generated Node #0,1,3: 37:[35, 20] Operation: 46-26=20
Exploring Operation: 26+46=72, Resulting Numbers: [35, 72]
Generated Node #0,1,4: 37:[35, 72] Operation: 26+46=72
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[35, 20], Operations: ['83-37=46', '46-26=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,37 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,37 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: 37:[46, 61], Operations: ['83-37=46', '26+35=61']
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 46*61=2806, Resulting Numbers: [2806]
2806,37 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,37 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: 37:[46, 9], Operations: ['83-37=46', '35-26=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[26, 83, 35, 37], Operations: []
Exploring Operation: 83-37=46, Resulting Numbers: [26, 35, 46]
Generated Node #0,1: 37:[26, 35, 46] Operation: 83-37=46
Moving to Node #0,1
Current State: 37:[26, 35, 46], Operations: ['83-37=46']
Exploring Operation: 35-26=9, Resulting Numbers: [46, 9]
Generated Node #0,1,1: 37:[46, 9] Operation: 35-26=9
Moving to Node #0,1,1
Current State: 37:[46, 9], Operations: ['83-37=46', '35-26=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
61,
42,
10,
59
] | 11 | [
"61-59=2",
"42/2=21",
"21-10=11"
] | Current State: 11:[61, 42, 10, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [42, 10, 2]
Generated Node #2: [42, 10, 2] from Operation: 61-59=2
Current State: 11:[42, 10, 2], Operations: ['61-59=2']
Exploring Operation: 42/2=21, Resulting Numbers: [10, 21]
Generated Node #3: [10, 21] from Operation: 42/2=21
Current State: 11:[10, 21], Operations: ['61-59=2', '42/2=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[61, 42, 10, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [42, 10, 2]
Generated Node #0,0: 11:[42, 10, 2] Operation: 61-59=2
Moving to Node #0,0
Current State: 11:[42, 10, 2], Operations: ['61-59=2']
Exploring Operation: 42/2=21, Resulting Numbers: [10, 21]
Generated Node #0,0,0: 11:[10, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[10, 21], Operations: ['61-59=2', '42/2=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[61, 42, 10, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [42, 10, 2]
Generated Node #0,0: 11:[42, 10, 2] Operation: 61-59=2
Moving to Node #0,0
Current State: 11:[42, 10, 2], Operations: ['61-59=2']
Exploring Operation: 42/2=21, Resulting Numbers: [10, 21]
Generated Node #0,0,0: 11:[10, 21] Operation: 42/2=21
Moving to Node #0,0,0
Current State: 11:[10, 21], Operations: ['61-59=2', '42/2=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
74,
95,
92,
83
] | 93 | [
"74+92=166",
"166/83=2",
"95-2=93"
] | Current State: 93:[74, 95, 92, 83], Operations: []
Exploring Operation: 74+92=166, Resulting Numbers: [95, 83, 166]
Generated Node #2: [95, 83, 166] from Operation: 74+92=166
Current State: 93:[95, 83, 166], Operations: ['74+92=166']
Exploring Operation: 166/83=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 166/83=2
Current State: 93:[95, 2], Operations: ['74+92=166', '166/83=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[74, 95, 92, 83], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [92, 83, 21]
Generated Node #0,0: 93:[92, 83, 21] Operation: 95-74=21
Exploring Operation: 83-74=9, Resulting Numbers: [95, 92, 9]
Generated Node #0,1: 93:[95, 92, 9] Operation: 83-74=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[95, 92, 9], Operations: ['83-74=9']
Exploring Operation: 95-9=86, Resulting Numbers: [92, 86]
Generated Node #0,1,0: 93:[92, 86] Operation: 95-9=86
Exploring Operation: 95-92=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 93:[9, 3] Operation: 95-92=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 93:[9, 3], Operations: ['83-74=9', '95-92=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,93 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: 93:[92, 86], Operations: ['83-74=9', '95-9=86']
Exploring Operation: 92+86=178, Resulting Numbers: [178]
178,93 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,93 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: 93:[92, 83, 21], Operations: ['95-74=21']
Exploring Operation: 92-83=9, Resulting Numbers: [21, 9]
Generated Node #0,0,0: 93:[21, 9] Operation: 92-83=9
Exploring Operation: 83+21=104, Resulting Numbers: [92, 104]
Generated Node #0,0,1: 93:[92, 104] Operation: 83+21=104
Moving to Node #0,0,1
Current State: 93:[92, 104], Operations: ['95-74=21', '83+21=104']
Exploring Operation: 104-92=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 92+104=196, Resulting Numbers: [196]
196,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[21, 9], Operations: ['95-74=21', '92-83=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
43,
41,
93
] | 11 | [
"86/43=2",
"41*2=82",
"93-82=11"
] | Current State: 11:[86, 43, 41, 93], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [41, 93, 2]
Generated Node #2: [41, 93, 2] from Operation: 86/43=2
Current State: 11:[41, 93, 2], Operations: ['86/43=2']
Exploring Operation: 41*2=82, Resulting Numbers: [93, 82]
Generated Node #3: [93, 82] from Operation: 41*2=82
Current State: 11:[93, 82], Operations: ['86/43=2', '41*2=82']
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[86, 43, 41, 93], Operations: []
Exploring Operation: 86-41=45, Resulting Numbers: [43, 93, 45]
Generated Node #0,0: 11:[43, 93, 45] Operation: 86-41=45
Exploring Operation: 86-43=43, Resulting Numbers: [41, 93, 43]
Generated Node #0,1: 11:[41, 93, 43] Operation: 86-43=43
Exploring Operation: 93-86=7, Resulting Numbers: [43, 41, 7]
Generated Node #0,2: 11:[43, 41, 7] Operation: 93-86=7
Exploring Operation: 93-43=50, Resulting Numbers: [86, 41, 50]
Generated Node #0,3: 11:[86, 41, 50] Operation: 93-43=50
Exploring Operation: 86/43=2, Resulting Numbers: [41, 93, 2]
Generated Node #0,4: 11:[41, 93, 2] Operation: 86/43=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[43, 41, 7], Operations: ['93-86=7']
Exploring Operation: 43+7=50, Resulting Numbers: [41, 50]
Generated Node #0,2,0: 11:[41, 50] Operation: 43+7=50
Exploring Operation: 43-41=2, Resulting Numbers: [7, 2]
Generated Node #0,2,1: 11:[7, 2] Operation: 43-41=2
Exploring Operation: 41+7=48, Resulting Numbers: [43, 48]
Generated Node #0,2,2: 11:[43, 48] Operation: 41+7=48
Exploring Operation: 41-7=34, Resulting Numbers: [43, 34]
Generated Node #0,2,3: 11:[43, 34] Operation: 41-7=34
Exploring Operation: 43-7=36, Resulting Numbers: [41, 36]
Generated Node #0,2,4: 11:[41, 36] Operation: 43-7=36
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[7, 2], Operations: ['93-86=7', '43-41=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 11:[43, 34], Operations: ['93-86=7', '41-7=34']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,11 unequal: No Solution
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 11:[41, 36], Operations: ['93-86=7', '43-7=36']
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,11 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[41, 50], Operations: ['93-86=7', '43+7=50']
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[43, 48], Operations: ['93-86=7', '41+7=48']
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,11 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 11:[41, 93, 2], Operations: ['86/43=2']
Exploring Operation: 93-41=52, Resulting Numbers: [2, 52]
Generated Node #0,4,0: 11:[2, 52] Operation: 93-41=52
Exploring Operation: 93-2=91, Resulting Numbers: [41, 91]
Generated Node #0,4,1: 11:[41, 91] Operation: 93-2=91
Exploring Operation: 93+2=95, Resulting Numbers: [41, 95]
Generated Node #0,4,2: 11:[41, 95] Operation: 93+2=95
Exploring Operation: 41+2=43, Resulting Numbers: [93, 43]
Generated Node #0,4,3: 11:[93, 43] Operation: 41+2=43
Exploring Operation: 41-2=39, Resulting Numbers: [93, 39]
Generated Node #0,4,4: 11:[93, 39] Operation: 41-2=39
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 11:[2, 52], Operations: ['86/43=2', '93-41=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 11:[41, 91], Operations: ['86/43=2', '93-2=91']
Exploring Operation: 41+91=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 41*91=3731, Resulting Numbers: [3731]
3731,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 11:[93, 39], Operations: ['86/43=2', '41-2=39']
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 11:[41, 95], Operations: ['86/43=2', '93+2=95']
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,11 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 11:[93, 43], Operations: ['86/43=2', '41+2=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,11 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,11 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[41, 93, 43], Operations: ['86-43=43']
Exploring Operation: 93-43=50, Resulting Numbers: [41, 50]
Generated Node #0,1,0: 11:[41, 50] Operation: 93-43=50
Exploring Operation: 93-41=52, Resulting Numbers: [43, 52]
Generated Node #0,1,1: 11:[43, 52] Operation: 93-41=52
Exploring Operation: 41+93=134, Resulting Numbers: [43, 134]
Generated Node #0,1,2: 11:[43, 134] Operation: 41+93=134
Exploring Operation: 41+43=84, Resulting Numbers: [93, 84]
Generated Node #0,1,3: 11:[93, 84] Operation: 41+43=84
Exploring Operation: 43-41=2, Resulting Numbers: [93, 2]
Generated Node #0,1,4: 11:[93, 2] Operation: 43-41=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[41, 50], Operations: ['86-43=43', '93-43=50']
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[43, 52], Operations: ['86-43=43', '93-41=52']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,11 unequal: No Solution
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 11:[93, 2], Operations: ['86-43=43', '43-41=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[43, 134], Operations: ['86-43=43', '41+93=134']
Exploring Operation: 134-43=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 43*134=5762, Resulting Numbers: [5762]
5762,11 unequal: No Solution
Exploring Operation: 43+134=177, Resulting Numbers: [177]
177,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[93, 84], Operations: ['86-43=43', '41+43=84']
Exploring Operation: 93*84=7812, Resulting Numbers: [7812]
7812,11 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[86, 41, 50], Operations: ['93-43=50']
Exploring Operation: 86-50=36, Resulting Numbers: [41, 36]
Generated Node #0,3,0: 11:[41, 36] Operation: 86-50=36
Exploring Operation: 86-41=45, Resulting Numbers: [50, 45]
Generated Node #0,3,1: 11:[50, 45] Operation: 86-41=45
Exploring Operation: 50-41=9, Resulting Numbers: [86, 9]
Generated Node #0,3,2: 11:[86, 9] Operation: 50-41=9
Exploring Operation: 86+50=136, Resulting Numbers: [41, 136]
Generated Node #0,3,3: 11:[41, 136] Operation: 86+50=136
Exploring Operation: 86+41=127, Resulting Numbers: [50, 127]
Generated Node #0,3,4: 11:[50, 127] Operation: 86+41=127
Moving to Node #0,3,0
Current State: 11:[41, 36], Operations: ['93-43=50', '86-50=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,11 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[50, 45], Operations: ['93-43=50', '86-41=45']
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[86, 9], Operations: ['93-43=50', '50-41=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[41, 136], Operations: ['93-43=50', '86+50=136']
Exploring Operation: 41*136=5576, Resulting Numbers: [5576]
5576,11 unequal: No Solution
Exploring Operation: 136-41=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 41+136=177, Resulting Numbers: [177]
177,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[50, 127], Operations: ['93-43=50', '86+41=127']
Exploring Operation: 127-50=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 50*127=6350, Resulting Numbers: [6350]
6350,11 unequal: No Solution
Exploring Operation: 50+127=177, Resulting Numbers: [177]
177,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[43, 93, 45], Operations: ['86-41=45']
Exploring Operation: 43+45=88, Resulting Numbers: [93, 88]
Generated Node #0,0,0: 11:[93, 88] Operation: 43+45=88
Exploring Operation: 93-43=50, Resulting Numbers: [45, 50]
Generated Node #0,0,1: 11:[45, 50] Operation: 93-43=50
Exploring Operation: 93-45=48, Resulting Numbers: [43, 48]
Generated Node #0,0,2: 11:[43, 48] Operation: 93-45=48
Exploring Operation: 43+93=136, Resulting Numbers: [45, 136]
Generated Node #0,0,3: 11:[45, 136] Operation: 43+93=136
Exploring Operation: 45-43=2, Resulting Numbers: [93, 2]
Generated Node #0,0,4: 11:[93, 2] Operation: 45-43=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[43, 48], Operations: ['86-41=45', '93-45=48']
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,11 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[45, 50], Operations: ['86-41=45', '93-43=50']
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,11 unequal: No Solution
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 11:[93, 2], Operations: ['86-41=45', '45-43=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,11 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,11 unequal: No Solution
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[93, 88], Operations: ['86-41=45', '43+45=88']
Exploring Operation: 93+88=181, Resulting Numbers: [181]
181,11 unequal: No Solution
Exploring Operation: 93*88=8184, Resulting Numbers: [8184]
8184,11 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[45, 136], Operations: ['86-41=45', '43+93=136']
Exploring Operation: 45+136=181, Resulting Numbers: [181]
181,11 unequal: No Solution
Exploring Operation: 45*136=6120, Resulting Numbers: [6120]
6120,11 unequal: No Solution
Exploring Operation: 136-45=91, Resulting Numbers: [91]
91,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
26,
95,
12,
85
] | 34 | [
"26+12=38",
"85*38=3230",
"3230/95=34"
] | Current State: 34:[26, 95, 12, 85], Operations: []
Exploring Operation: 26+12=38, Resulting Numbers: [95, 85, 38]
Generated Node #2: [95, 85, 38] from Operation: 26+12=38
Current State: 34:[95, 85, 38], Operations: ['26+12=38']
Exploring Operation: 85*38=3230, Resulting Numbers: [95, 3230]
Generated Node #3: [95, 3230] from Operation: 85*38=3230
Current State: 34:[95, 3230], Operations: ['26+12=38', '85*38=3230']
Exploring Operation: 3230/95=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[26, 95, 12, 85], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [26, 12, 10]
Generated Node #0,0: 34:[26, 12, 10] Operation: 95-85=10
Exploring Operation: 95-26=69, Resulting Numbers: [12, 85, 69]
Generated Node #0,1: 34:[12, 85, 69] Operation: 95-26=69
Moving to Node #0,0
Current State: 34:[26, 12, 10], Operations: ['95-85=10']
Exploring Operation: 26+10=36, Resulting Numbers: [12, 36]
Generated Node #0,0,0: 34:[12, 36] Operation: 26+10=36
Exploring Operation: 26-10=16, Resulting Numbers: [12, 16]
Generated Node #0,0,1: 34:[12, 16] Operation: 26-10=16
Moving to Node #0,1
Current State: 34:[12, 85, 69], Operations: ['95-26=69']
Exploring Operation: 85-69=16, Resulting Numbers: [12, 16]
Generated Node #0,1,0: 34:[12, 16] Operation: 85-69=16
Exploring Operation: 85-12=73, Resulting Numbers: [69, 73]
Generated Node #0,1,1: 34:[69, 73] Operation: 85-12=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[12, 16], Operations: ['95-26=69', '85-69=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,34 unequal: No Solution
No 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: 34:[69, 73], Operations: ['95-26=69', '85-12=73']
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,34 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: 34:[12, 16], Operations: ['95-85=10', '26-10=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[12, 36], Operations: ['95-85=10', '26+10=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
58,
34,
60
] | 89 | [
"5+58=63",
"60-34=26",
"63+26=89"
] | Current State: 89:[5, 58, 34, 60], Operations: []
Exploring Operation: 5+58=63, Resulting Numbers: [34, 60, 63]
Generated Node #2: [34, 60, 63] from Operation: 5+58=63
Current State: 89:[34, 60, 63], Operations: ['5+58=63']
Exploring Operation: 60-34=26, Resulting Numbers: [63, 26]
Generated Node #3: [63, 26] from Operation: 60-34=26
Current State: 89:[63, 26], Operations: ['5+58=63', '60-34=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[5, 58, 34, 60], Operations: []
Exploring Operation: 5+60=65, Resulting Numbers: [58, 34, 65]
Generated Node #0,0: 89:[58, 34, 65] Operation: 5+60=65
Exploring Operation: 58+34=92, Resulting Numbers: [5, 60, 92]
Generated Node #0,1: 89:[5, 60, 92] Operation: 58+34=92
Exploring Operation: 5+34=39, Resulting Numbers: [58, 60, 39]
Generated Node #0,2: 89:[58, 60, 39] Operation: 5+34=39
Exploring Operation: 5+58=63, Resulting Numbers: [34, 60, 63]
Generated Node #0,3: 89:[34, 60, 63] Operation: 5+58=63
Moving to Node #0,0
Current State: 89:[58, 34, 65], Operations: ['5+60=65']
Exploring Operation: 34+65=99, Resulting Numbers: [58, 99]
Generated Node #0,0,0: 89:[58, 99] Operation: 34+65=99
Exploring Operation: 58+65=123, Resulting Numbers: [34, 123]
Generated Node #0,0,1: 89:[34, 123] Operation: 58+65=123
Exploring Operation: 58-34=24, Resulting Numbers: [65, 24]
Generated Node #0,0,2: 89:[65, 24] Operation: 58-34=24
Exploring Operation: 58+34=92, Resulting Numbers: [65, 92]
Generated Node #0,0,3: 89:[65, 92] Operation: 58+34=92
Moving to Node #0,3
Current State: 89:[34, 60, 63], Operations: ['5+58=63']
Exploring Operation: 63-34=29, Resulting Numbers: [60, 29]
Generated Node #0,3,0: 89:[60, 29] Operation: 63-34=29
Exploring Operation: 60-34=26, Resulting Numbers: [63, 26]
Generated Node #0,3,1: 89:[63, 26] Operation: 60-34=26
Exploring Operation: 34+60=94, Resulting Numbers: [63, 94]
Generated Node #0,3,2: 89:[63, 94] Operation: 34+60=94
Exploring Operation: 34+63=97, Resulting Numbers: [60, 97]
Generated Node #0,3,3: 89:[60, 97] Operation: 34+63=97
Moving to Node #0,2
Current State: 89:[58, 60, 39], Operations: ['5+34=39']
Exploring Operation: 58+39=97, Resulting Numbers: [60, 97]
Generated Node #0,2,0: 89:[60, 97] Operation: 58+39=97
Exploring Operation: 60+39=99, Resulting Numbers: [58, 99]
Generated Node #0,2,1: 89:[58, 99] Operation: 60+39=99
Exploring Operation: 58-39=19, Resulting Numbers: [60, 19]
Generated Node #0,2,2: 89:[60, 19] Operation: 58-39=19
Exploring Operation: 58+60=118, Resulting Numbers: [39, 118]
Generated Node #0,2,3: 89:[39, 118] Operation: 58+60=118
Moving to Node #0,1
Current State: 89:[5, 60, 92], Operations: ['58+34=92']
Exploring Operation: 60-5=55, Resulting Numbers: [92, 55]
Generated Node #0,1,0: 89:[92, 55] Operation: 60-5=55
Exploring Operation: 92-5=87, Resulting Numbers: [60, 87]
Generated Node #0,1,1: 89:[60, 87] Operation: 92-5=87
Exploring Operation: 5+92=97, Resulting Numbers: [60, 97]
Generated Node #0,1,2: 89:[60, 97] Operation: 5+92=97
Exploring Operation: 5+60=65, Resulting Numbers: [92, 65]
Generated Node #0,1,3: 89:[92, 65] Operation: 5+60=65
Moving to Node #0,0,3
Current State: 89:[65, 92], Operations: ['5+60=65', '58+34=92']
Exploring Operation: 65+92=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 92-65=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Exploring Operation: 65*92=5980, Resulting Numbers: [5980]
5980,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[92, 65], Operations: ['58+34=92', '5+60=65']
Exploring Operation: 92-65=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Exploring Operation: 92*65=5980, Resulting Numbers: [5980]
5980,89 unequal: No Solution
Exploring Operation: 92+65=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[60, 87], Operations: ['58+34=92', '92-5=87']
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,89 unequal: No Solution
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,89 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[63, 94], Operations: ['5+58=63', '34+60=94']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[92, 55], Operations: ['58+34=92', '60-5=55']
Exploring Operation: 92-55=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 92*55=5060, Resulting Numbers: [5060]
5060,89 unequal: No Solution
Exploring Operation: 92+55=147, Resulting Numbers: [147]
147,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[60, 97], Operations: ['5+58=63', '34+63=97']
Exploring Operation: 60+97=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 60*97=5820, Resulting Numbers: [5820]
5820,89 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[60, 97], Operations: ['5+34=39', '58+39=97']
Exploring Operation: 60+97=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 60*97=5820, Resulting Numbers: [5820]
5820,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[60, 97], Operations: ['58+34=92', '5+92=97']
Exploring Operation: 60+97=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 60*97=5820, Resulting Numbers: [5820]
5820,89 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[58, 99], Operations: ['5+60=65', '34+65=99']
Exploring Operation: 58*99=5742, Resulting Numbers: [5742]
5742,89 unequal: No Solution
Exploring Operation: 58+99=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[58, 99], Operations: ['5+34=39', '60+39=99']
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 58+99=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 58*99=5742, Resulting Numbers: [5742]
5742,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[39, 118], Operations: ['5+34=39', '58+60=118']
Exploring Operation: 39+118=157, Resulting Numbers: [157]
157,89 unequal: No Solution
Exploring Operation: 39*118=4602, Resulting Numbers: [4602]
4602,89 unequal: No Solution
Exploring Operation: 118-39=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[60, 29], Operations: ['5+58=63', '63-34=29']
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,89 unequal: No Solution
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[5, 58, 34, 60], Operations: []
Exploring Operation: 5+58=63, Resulting Numbers: [34, 60, 63]
Generated Node #0,3: 89:[34, 60, 63] Operation: 5+58=63
Moving to Node #0,3
Current State: 89:[34, 60, 63], Operations: ['5+58=63']
Exploring Operation: 63-34=29, Resulting Numbers: [60, 29]
Generated Node #0,3,0: 89:[60, 29] Operation: 63-34=29
Moving to Node #0,3,0
Current State: 89:[60, 29], Operations: ['5+58=63', '63-34=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.948785 | hs_4 | sum_heuristic |
[
58,
23,
57,
30
] | 35 | [
"58+57=115",
"115/23=5",
"30+5=35"
] | Current State: 35:[58, 23, 57, 30], Operations: []
Exploring Operation: 58+57=115, Resulting Numbers: [23, 30, 115]
Generated Node #2: [23, 30, 115] from Operation: 58+57=115
Current State: 35:[23, 30, 115], Operations: ['58+57=115']
Exploring Operation: 115/23=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 115/23=5
Current State: 35:[30, 5], Operations: ['58+57=115', '115/23=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[58, 23, 57, 30], Operations: []
Exploring Operation: 58-23=35, Resulting Numbers: [57, 30, 35]
Generated Node #0,0: 35:[57, 30, 35] Operation: 58-23=35
Exploring Operation: 58-57=1, Resulting Numbers: [23, 30, 1]
Generated Node #0,1: 35:[23, 30, 1] Operation: 58-57=1
Exploring Operation: 57-23=34, Resulting Numbers: [58, 30, 34]
Generated Node #0,2: 35:[58, 30, 34] Operation: 57-23=34
Moving to Node #0,1
Current State: 35:[23, 30, 1], Operations: ['58-57=1']
Exploring Operation: 30-23=7, Resulting Numbers: [1, 7]
Generated Node #0,1,0: 35:[1, 7] Operation: 30-23=7
Exploring Operation: 30+1=31, Resulting Numbers: [23, 31]
Generated Node #0,1,1: 35:[23, 31] Operation: 30+1=31
Exploring Operation: 23+1=24, Resulting Numbers: [30, 24]
Generated Node #0,1,2: 35:[30, 24] Operation: 23+1=24
Moving to Node #0,0
Current State: 35:[57, 30, 35], Operations: ['58-23=35']
Exploring Operation: 35-30=5, Resulting Numbers: [57, 5]
Generated Node #0,0,0: 35:[57, 5] Operation: 35-30=5
Exploring Operation: 57-35=22, Resulting Numbers: [30, 22]
Generated Node #0,0,1: 35:[30, 22] Operation: 57-35=22
Exploring Operation: 57-30=27, Resulting Numbers: [35, 27]
Generated Node #0,0,2: 35:[35, 27] Operation: 57-30=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[35, 27], Operations: ['58-23=35', '57-30=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,35 unequal: No Solution
No 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: 35:[30, 22], Operations: ['58-23=35', '57-35=22']
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,35 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No 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: 35:[57, 5], Operations: ['58-23=35', '35-30=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,35 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,35 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: 35:[58, 30, 34], Operations: ['57-23=34']
Exploring Operation: 58-34=24, Resulting Numbers: [30, 24]
Generated Node #0,2,0: 35:[30, 24] Operation: 58-34=24
Exploring Operation: 58-30=28, Resulting Numbers: [34, 28]
Generated Node #0,2,1: 35:[34, 28] Operation: 58-30=28
Exploring Operation: 34-30=4, Resulting Numbers: [58, 4]
Generated Node #0,2,2: 35:[58, 4] Operation: 34-30=4
Moving to Node #0,1,0
Current State: 35:[1, 7], Operations: ['58-57=1', '30-23=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[34, 28], Operations: ['57-23=34', '58-30=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,35 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[30, 24], Operations: ['58-57=1', '23+1=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[30, 24], Operations: ['57-23=34', '58-34=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,35 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[23, 31], Operations: ['58-57=1', '30+1=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,35 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[58, 4], Operations: ['57-23=34', '34-30=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,35 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
97,
24,
22
] | 23 | [
"97-28=69",
"24+22=46",
"69-46=23"
] | Current State: 23:[28, 97, 24, 22], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [24, 22, 69]
Generated Node #2: [24, 22, 69] from Operation: 97-28=69
Current State: 23:[24, 22, 69], Operations: ['97-28=69']
Exploring Operation: 24+22=46, Resulting Numbers: [69, 46]
Generated Node #3: [69, 46] from Operation: 24+22=46
Current State: 23:[69, 46], Operations: ['97-28=69', '24+22=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[28, 97, 24, 22], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [24, 22, 69]
Generated Node #0,0: 23:[24, 22, 69] Operation: 97-28=69
Exploring Operation: 97-24=73, Resulting Numbers: [28, 22, 73]
Generated Node #0,1: 23:[28, 22, 73] Operation: 97-24=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[24, 22, 69], Operations: ['97-28=69']
Exploring Operation: 69-22=47, Resulting Numbers: [24, 47]
Generated Node #0,0,0: 23:[24, 47] Operation: 69-22=47
Exploring Operation: 69-24=45, Resulting Numbers: [22, 45]
Generated Node #0,0,1: 23:[22, 45] Operation: 69-24=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[22, 45], Operations: ['97-28=69', '69-24=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[28, 97, 24, 22], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [24, 22, 69]
Generated Node #0,0: 23:[24, 22, 69] Operation: 97-28=69
Moving to Node #0,0
Current State: 23:[24, 22, 69], Operations: ['97-28=69']
Exploring Operation: 69-24=45, Resulting Numbers: [22, 45]
Generated Node #0,0,1: 23:[22, 45] Operation: 69-24=45
Moving to Node #0,0,1
Current State: 23:[22, 45], Operations: ['97-28=69', '69-24=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
43,
46,
23,
46
] | 20 | [
"43+46=89",
"23+46=69",
"89-69=20"
] | Current State: 20:[43, 46, 23, 46], Operations: []
Exploring Operation: 43+46=89, Resulting Numbers: [23, 89]
Generated Node #2: [23, 89] from Operation: 43+46=89
Current State: 20:[23, 89], Operations: ['43+46=89']
Exploring Operation: 23+46=69, Resulting Numbers: [89, 69]
Generated Node #3: [89, 69] from Operation: 23+46=69
Current State: 20:[89, 69], Operations: ['43+46=89', '23+46=69']
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[43, 46, 23, 46], Operations: []
Exploring Operation: 46/46=1, Resulting Numbers: [43, 23, 1]
Generated Node #0,0: 20:[43, 23, 1] Operation: 46/46=1
Moving to Node #0,0
Current State: 20:[43, 23, 1], Operations: ['46/46=1']
Exploring Operation: 43-23=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 20:[1, 20] Operation: 43-23=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[1, 20], Operations: ['46/46=1', '43-23=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[43, 46, 23, 46], Operations: []
Exploring Operation: 46/46=1, Resulting Numbers: [43, 23, 1]
Generated Node #0,0: 20:[43, 23, 1] Operation: 46/46=1
Moving to Node #0,0
Current State: 20:[43, 23, 1], Operations: ['46/46=1']
Exploring Operation: 43-23=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 20:[1, 20] Operation: 43-23=20
Moving to Node #0,0,0
Current State: 20:[1, 20], Operations: ['46/46=1', '43-23=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
14,
86,
1
] | 66 | [
"6+14=20",
"86*1=86",
"86-20=66"
] | Current State: 66:[6, 14, 86, 1], Operations: []
Exploring Operation: 6+14=20, Resulting Numbers: [86, 1, 20]
Generated Node #2: [86, 1, 20] from Operation: 6+14=20
Current State: 66:[86, 1, 20], Operations: ['6+14=20']
Exploring Operation: 86*1=86, Resulting Numbers: [20, 86]
Generated Node #3: [20, 86] from Operation: 86*1=86
Current State: 66:[20, 86], Operations: ['6+14=20', '86*1=86']
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[6, 14, 86, 1], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [14, 1, 80]
Generated Node #0,0: 66:[14, 1, 80] Operation: 86-6=80
Exploring Operation: 86-14=72, Resulting Numbers: [6, 1, 72]
Generated Node #0,1: 66:[6, 1, 72] Operation: 86-14=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[6, 1, 72], Operations: ['86-14=72']
Exploring Operation: 72-6=66, Resulting Numbers: [1, 66]
Generated Node #0,1,0: 66:[1, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [1, 12]
Generated Node #0,1,1: 66:[1, 12] Operation: 72/6=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[1, 66], Operations: ['86-14=72', '72-6=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[6, 14, 86, 1], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [6, 1, 72]
Generated Node #0,1: 66:[6, 1, 72] Operation: 86-14=72
Moving to Node #0,1
Current State: 66:[6, 1, 72], Operations: ['86-14=72']
Exploring Operation: 72-6=66, Resulting Numbers: [1, 66]
Generated Node #0,1,0: 66:[1, 66] Operation: 72-6=66
Moving to Node #0,1,0
Current State: 66:[1, 66], Operations: ['86-14=72', '72-6=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
87,
88,
5,
68
] | 17 | [
"88-87=1",
"5-1=4",
"68/4=17"
] | Current State: 17:[87, 88, 5, 68], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [5, 68, 1]
Generated Node #2: [5, 68, 1] from Operation: 88-87=1
Current State: 17:[5, 68, 1], Operations: ['88-87=1']
Exploring Operation: 5-1=4, Resulting Numbers: [68, 4]
Generated Node #3: [68, 4] from Operation: 5-1=4
Current State: 17:[68, 4], Operations: ['88-87=1', '5-1=4']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[87, 88, 5, 68], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [88, 68, 82]
Generated Node #0,0: 17:[88, 68, 82] Operation: 87-5=82
Exploring Operation: 87-68=19, Resulting Numbers: [88, 5, 19]
Generated Node #0,1: 17:[88, 5, 19] Operation: 87-68=19
Exploring Operation: 88-68=20, Resulting Numbers: [87, 5, 20]
Generated Node #0,2: 17:[87, 5, 20] Operation: 88-68=20
Exploring Operation: 88-87=1, Resulting Numbers: [5, 68, 1]
Generated Node #0,3: 17:[5, 68, 1] Operation: 88-87=1
Moving to Node #0,3
Current State: 17:[5, 68, 1], Operations: ['88-87=1']
Exploring Operation: 68-1=67, Resulting Numbers: [5, 67]
Generated Node #0,3,0: 17:[5, 67] Operation: 68-1=67
Exploring Operation: 5*1=5, Resulting Numbers: [68, 5]
Generated Node #0,3,1: 17:[68, 5] Operation: 5*1=5
Exploring Operation: 68-5=63, Resulting Numbers: [1, 63]
Generated Node #0,3,2: 17:[1, 63] Operation: 68-5=63
Exploring Operation: 5+1=6, Resulting Numbers: [68, 6]
Generated Node #0,3,3: 17:[68, 6] Operation: 5+1=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[5, 67], Operations: ['88-87=1', '68-1=67']
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,17 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,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,3,2
Current State: 17:[1, 63], Operations: ['88-87=1', '68-5=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,17 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,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,3,3
Current State: 17:[68, 6], Operations: ['88-87=1', '5+1=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,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,3,1
Current State: 17:[68, 5], Operations: ['88-87=1', '5*1=5']
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,17 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,17 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: 17:[87, 5, 20], Operations: ['88-68=20']
Exploring Operation: 20-5=15, Resulting Numbers: [87, 15]
Generated Node #0,2,0: 17:[87, 15] Operation: 20-5=15
Exploring Operation: 87+5=92, Resulting Numbers: [20, 92]
Generated Node #0,2,1: 17:[20, 92] Operation: 87+5=92
Exploring Operation: 87-5=82, Resulting Numbers: [20, 82]
Generated Node #0,2,2: 17:[20, 82] Operation: 87-5=82
Exploring Operation: 87-20=67, Resulting Numbers: [5, 67]
Generated Node #0,2,3: 17:[5, 67] Operation: 87-20=67
Moving to Node #0,1
Current State: 17:[88, 5, 19], Operations: ['87-68=19']
Exploring Operation: 88+5=93, Resulting Numbers: [19, 93]
Generated Node #0,1,0: 17:[19, 93] Operation: 88+5=93
Exploring Operation: 88-19=69, Resulting Numbers: [5, 69]
Generated Node #0,1,1: 17:[5, 69] Operation: 88-19=69
Exploring Operation: 88-5=83, Resulting Numbers: [19, 83]
Generated Node #0,1,2: 17:[19, 83] Operation: 88-5=83
Exploring Operation: 19-5=14, Resulting Numbers: [88, 14]
Generated Node #0,1,3: 17:[88, 14] Operation: 19-5=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[5, 69], Operations: ['87-68=19', '88-19=69']
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,17 unequal: No Solution
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,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,1,2
Current State: 17:[19, 83], Operations: ['87-68=19', '88-5=83']
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,17 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,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,1,3
Current State: 17:[88, 14], Operations: ['87-68=19', '19-5=14']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,17 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,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,1,0
Current State: 17:[19, 93], Operations: ['87-68=19', '88+5=93']
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 19*93=1767, Resulting Numbers: [1767]
1767,17 unequal: No Solution
Exploring Operation: 19+93=112, Resulting Numbers: [112]
112,17 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: 17:[88, 68, 82], Operations: ['87-5=82']
Exploring Operation: 88-68=20, Resulting Numbers: [82, 20]
Generated Node #0,0,0: 17:[82, 20] Operation: 88-68=20
Exploring Operation: 88+68=156, Resulting Numbers: [82, 156]
Generated Node #0,0,1: 17:[82, 156] Operation: 88+68=156
Exploring Operation: 88-82=6, Resulting Numbers: [68, 6]
Generated Node #0,0,2: 17:[68, 6] Operation: 88-82=6
Exploring Operation: 82-68=14, Resulting Numbers: [88, 14]
Generated Node #0,0,3: 17:[88, 14] Operation: 82-68=14
Moving to Node #0,2,3
Current State: 17:[5, 67], Operations: ['88-68=20', '87-20=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 5*67=335, Resulting Numbers: [335]
335,17 unequal: No Solution
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[68, 6], Operations: ['87-5=82', '88-82=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,17 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[82, 20], Operations: ['87-5=82', '88-68=20']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,17 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[20, 82], Operations: ['88-68=20', '87-5=82']
Exploring Operation: 20+82=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 20*82=1640, Resulting Numbers: [1640]
1640,17 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[87, 15], Operations: ['88-68=20', '20-5=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,17 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[88, 14], Operations: ['87-5=82', '82-68=14']
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,17 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[20, 92], Operations: ['88-68=20', '87+5=92']
Exploring Operation: 20+92=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 20*92=1840, Resulting Numbers: [1840]
1840,17 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[82, 156], Operations: ['87-5=82', '88+68=156']
Exploring Operation: 82*156=12792, Resulting Numbers: [12792]
12792,17 unequal: No Solution
Exploring Operation: 156-82=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 82+156=238, Resulting Numbers: [238]
238,17 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
90,
1,
30,
93
] | 97 | [
"90/30=3",
"1+93=94",
"3+94=97"
] | Current State: 97:[90, 1, 30, 93], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [1, 93, 3]
Generated Node #2: [1, 93, 3] from Operation: 90/30=3
Current State: 97:[1, 93, 3], Operations: ['90/30=3']
Exploring Operation: 1+93=94, Resulting Numbers: [3, 94]
Generated Node #3: [3, 94] from Operation: 1+93=94
Current State: 97:[3, 94], Operations: ['90/30=3', '1+93=94']
Exploring Operation: 3+94=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[90, 1, 30, 93], Operations: []
Exploring Operation: 90/1=90, Resulting Numbers: [30, 93, 90]
Generated Node #0,0: 97:[30, 93, 90] Operation: 90/1=90
Exploring Operation: 90+1=91, Resulting Numbers: [30, 93, 91]
Generated Node #0,1: 97:[30, 93, 91] Operation: 90+1=91
Exploring Operation: 1+93=94, Resulting Numbers: [90, 30, 94]
Generated Node #0,2: 97:[90, 30, 94] Operation: 1+93=94
Exploring Operation: 90*1=90, Resulting Numbers: [30, 93, 90]
Generated Node #0,3: 97:[30, 93, 90] Operation: 90*1=90
Exploring Operation: 1+30=31, Resulting Numbers: [90, 93, 31]
Generated Node #0,4: 97:[90, 93, 31] Operation: 1+30=31
Moving to Node #0,1
Current State: 97:[30, 93, 91], Operations: ['90+1=91']
Exploring Operation: 30+93=123, Resulting Numbers: [91, 123]
Generated Node #0,1,0: 97:[91, 123] Operation: 30+93=123
Exploring Operation: 93+91=184, Resulting Numbers: [30, 184]
Generated Node #0,1,1: 97:[30, 184] Operation: 93+91=184
Exploring Operation: 91-30=61, Resulting Numbers: [93, 61]
Generated Node #0,1,2: 97:[93, 61] Operation: 91-30=61
Exploring Operation: 93-30=63, Resulting Numbers: [91, 63]
Generated Node #0,1,3: 97:[91, 63] Operation: 93-30=63
Exploring Operation: 30+91=121, Resulting Numbers: [93, 121]
Generated Node #0,1,4: 97:[93, 121] Operation: 30+91=121
Moving to Node #0,4
Current State: 97:[90, 93, 31], Operations: ['1+30=31']
Exploring Operation: 93-31=62, Resulting Numbers: [90, 62]
Generated Node #0,4,0: 97:[90, 62] Operation: 93-31=62
Exploring Operation: 90-31=59, Resulting Numbers: [93, 59]
Generated Node #0,4,1: 97:[93, 59] Operation: 90-31=59
Exploring Operation: 93+31=124, Resulting Numbers: [90, 124]
Generated Node #0,4,2: 97:[90, 124] Operation: 93+31=124
Exploring Operation: 93/31=3, Resulting Numbers: [90, 3]
Generated Node #0,4,3: 97:[90, 3] Operation: 93/31=3
Exploring Operation: 90+31=121, Resulting Numbers: [93, 121]
Generated Node #0,4,4: 97:[93, 121] Operation: 90+31=121
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[93, 121], Operations: ['1+30=31', '90+31=121']
Exploring Operation: 121-93=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 93+121=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 93*121=11253, Resulting Numbers: [11253]
11253,97 unequal: No Solution
No 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: 97:[90, 124], Operations: ['1+30=31', '93+31=124']
Exploring Operation: 124-90=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 90*124=11160, Resulting Numbers: [11160]
11160,97 unequal: No Solution
Exploring Operation: 90+124=214, Resulting Numbers: [214]
214,97 unequal: No Solution
No 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: 97:[90, 62], Operations: ['1+30=31', '93-31=62']
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,97 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No 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: 97:[93, 59], Operations: ['1+30=31', '90-31=59']
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,97 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,97 unequal: No Solution
No 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: 97:[90, 3], Operations: ['1+30=31', '93/31=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,97 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 90*3=270, Resulting Numbers: [270]
270,97 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: 97:[90, 30, 94], Operations: ['1+93=94']
Exploring Operation: 30+94=124, Resulting Numbers: [90, 124]
Generated Node #0,2,0: 97:[90, 124] Operation: 30+94=124
Exploring Operation: 90/30=3, Resulting Numbers: [94, 3]
Generated Node #0,2,1: 97:[94, 3] Operation: 90/30=3
Exploring Operation: 94-30=64, Resulting Numbers: [90, 64]
Generated Node #0,2,2: 97:[90, 64] Operation: 94-30=64
Exploring Operation: 90+30=120, Resulting Numbers: [94, 120]
Generated Node #0,2,3: 97:[94, 120] Operation: 90+30=120
Exploring Operation: 90-30=60, Resulting Numbers: [94, 60]
Generated Node #0,2,4: 97:[94, 60] Operation: 90-30=60
Moving to Node #0,0
Current State: 97:[30, 93, 90], Operations: ['90/1=90']
Exploring Operation: 30+90=120, Resulting Numbers: [93, 120]
Generated Node #0,0,0: 97:[93, 120] Operation: 30+90=120
Exploring Operation: 90/30=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 97:[93, 3] Operation: 90/30=3
Exploring Operation: 30+93=123, Resulting Numbers: [90, 123]
Generated Node #0,0,2: 97:[90, 123] Operation: 30+93=123
Exploring Operation: 93-30=63, Resulting Numbers: [90, 63]
Generated Node #0,0,3: 97:[90, 63] Operation: 93-30=63
Exploring Operation: 90-30=60, Resulting Numbers: [93, 60]
Generated Node #0,0,4: 97:[93, 60] Operation: 90-30=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[93, 120], Operations: ['90/1=90', '30+90=120']
Exploring Operation: 120-93=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Exploring Operation: 93*120=11160, Resulting Numbers: [11160]
11160,97 unequal: No Solution
Exploring Operation: 93+120=213, Resulting Numbers: [213]
213,97 unequal: No Solution
No 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: 97:[90, 123], Operations: ['90/1=90', '30+93=123']
Exploring Operation: 123-90=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 90*123=11070, Resulting Numbers: [11070]
11070,97 unequal: No Solution
Exploring Operation: 90+123=213, Resulting Numbers: [213]
213,97 unequal: No Solution
No 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: 97:[90, 63], Operations: ['90/1=90', '93-30=63']
Exploring Operation: 90*63=5670, Resulting Numbers: [5670]
5670,97 unequal: No Solution
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Exploring Operation: 90+63=153, Resulting Numbers: [153]
153,97 unequal: No Solution
No 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: 97:[93, 60], Operations: ['90/1=90', '90-30=60']
Exploring Operation: 93*60=5580, Resulting Numbers: [5580]
5580,97 unequal: No Solution
Exploring Operation: 93+60=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,97 unequal: No Solution
No 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: 97:[93, 3], Operations: ['90/1=90', '90/30=3']
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,97 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,97 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: 97:[30, 93, 90], Operations: ['90*1=90']
Exploring Operation: 30+90=120, Resulting Numbers: [93, 120]
Generated Node #0,3,0: 97:[93, 120] Operation: 30+90=120
Exploring Operation: 30+93=123, Resulting Numbers: [90, 123]
Generated Node #0,3,1: 97:[90, 123] Operation: 30+93=123
Exploring Operation: 93-30=63, Resulting Numbers: [90, 63]
Generated Node #0,3,2: 97:[90, 63] Operation: 93-30=63
Exploring Operation: 90/30=3, Resulting Numbers: [93, 3]
Generated Node #0,3,3: 97:[93, 3] Operation: 90/30=3
Exploring Operation: 90-30=60, Resulting Numbers: [93, 60]
Generated Node #0,3,4: 97:[93, 60] Operation: 90-30=60
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[93, 120], Operations: ['90*1=90', '30+90=120']
Exploring Operation: 120-93=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Exploring Operation: 93+120=213, Resulting Numbers: [213]
213,97 unequal: No Solution
Exploring Operation: 93*120=11160, Resulting Numbers: [11160]
11160,97 unequal: No Solution
No 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: 97:[90, 123], Operations: ['90*1=90', '30+93=123']
Exploring Operation: 90*123=11070, Resulting Numbers: [11070]
11070,97 unequal: No Solution
Exploring Operation: 123-90=33, Resulting Numbers: [33]
33,97 unequal: No Solution
Exploring Operation: 90+123=213, Resulting Numbers: [213]
213,97 unequal: No Solution
No 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: 97:[90, 63], Operations: ['90*1=90', '93-30=63']
Exploring Operation: 90*63=5670, Resulting Numbers: [5670]
5670,97 unequal: No Solution
Exploring Operation: 90+63=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,97 unequal: No Solution
No 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: 97:[93, 60], Operations: ['90*1=90', '90-30=60']
Exploring Operation: 93*60=5580, Resulting Numbers: [5580]
5580,97 unequal: No Solution
Exploring Operation: 93+60=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,97 unequal: No Solution
No 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: 97:[93, 3], Operations: ['90*1=90', '90/30=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,97 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,97 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 97:[94, 120], Operations: ['1+93=94', '90+30=120']
Exploring Operation: 94*120=11280, Resulting Numbers: [11280]
11280,97 unequal: No Solution
Exploring Operation: 94+120=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 120-94=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[93, 121], Operations: ['90+1=91', '30+91=121']
Exploring Operation: 93*121=11253, Resulting Numbers: [11253]
11253,97 unequal: No Solution
Exploring Operation: 121-93=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 93+121=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[91, 123], Operations: ['90+1=91', '30+93=123']
Exploring Operation: 91*123=11193, Resulting Numbers: [11193]
11193,97 unequal: No Solution
Exploring Operation: 123-91=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Exploring Operation: 91+123=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[90, 124], Operations: ['1+93=94', '30+94=124']
Exploring Operation: 90+124=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 124-90=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 90*124=11160, Resulting Numbers: [11160]
11160,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[93, 61], Operations: ['90+1=91', '91-30=61']
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,97 unequal: No Solution
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[94, 60], Operations: ['1+93=94', '90-30=60']
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[91, 63], Operations: ['90+1=91', '93-30=63']
Exploring Operation: 91-63=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 91*63=5733, Resulting Numbers: [5733]
5733,97 unequal: No Solution
Exploring Operation: 91+63=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[90, 64], Operations: ['1+93=94', '94-30=64']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,97 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[94, 3], Operations: ['1+93=94', '90/30=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,97 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[90, 1, 30, 93], Operations: []
Exploring Operation: 1+93=94, Resulting Numbers: [90, 30, 94]
Generated Node #0,2: 97:[90, 30, 94] Operation: 1+93=94
Moving to Node #0,2
Current State: 97:[90, 30, 94], Operations: ['1+93=94']
Exploring Operation: 90/30=3, Resulting Numbers: [94, 3]
Generated Node #0,2,1: 97:[94, 3] Operation: 90/30=3
Moving to Node #0,2,1
Current State: 97:[94, 3], Operations: ['1+93=94', '90/30=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.905382 | hs_5 | sum_heuristic |
[
11,
9,
28,
76
] | 66 | [
"11-9=2",
"76/2=38",
"28+38=66"
] | Current State: 66:[11, 9, 28, 76], Operations: []
Exploring Operation: 11-9=2, Resulting Numbers: [28, 76, 2]
Generated Node #2: [28, 76, 2] from Operation: 11-9=2
Current State: 66:[28, 76, 2], Operations: ['11-9=2']
Exploring Operation: 76/2=38, Resulting Numbers: [28, 38]
Generated Node #3: [28, 38] from Operation: 76/2=38
Current State: 66:[28, 38], Operations: ['11-9=2', '76/2=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[11, 9, 28, 76], Operations: []
Exploring Operation: 76-9=67, Resulting Numbers: [11, 28, 67]
Generated Node #0,0: 66:[11, 28, 67] Operation: 76-9=67
Moving to Node #0,0
Current State: 66:[11, 28, 67], Operations: ['76-9=67']
Exploring Operation: 28-11=17, Resulting Numbers: [67, 17]
Generated Node #0,0,0: 66:[67, 17] Operation: 28-11=17
Moving to Node #0,0,0
Current State: 66:[67, 17], Operations: ['76-9=67', '28-11=17']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
86,
82,
73
] | 75 | [
"86-6=80",
"82+73=155",
"155-80=75"
] | Current State: 75:[6, 86, 82, 73], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [82, 73, 80]
Generated Node #2: [82, 73, 80] from Operation: 86-6=80
Current State: 75:[82, 73, 80], Operations: ['86-6=80']
Exploring Operation: 82+73=155, Resulting Numbers: [80, 155]
Generated Node #3: [80, 155] from Operation: 82+73=155
Current State: 75:[80, 155], Operations: ['86-6=80', '82+73=155']
Exploring Operation: 155-80=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[6, 86, 82, 73], Operations: []
Exploring Operation: 86-6=80, Resulting Numbers: [82, 73, 80]
Generated Node #0,0: 75:[82, 73, 80] Operation: 86-6=80
Exploring Operation: 86-82=4, Resulting Numbers: [6, 73, 4]
Generated Node #0,1: 75:[6, 73, 4] Operation: 86-82=4
Exploring Operation: 86-73=13, Resulting Numbers: [6, 82, 13]
Generated Node #0,2: 75:[6, 82, 13] Operation: 86-73=13
Moving to Node #0,1
Current State: 75:[6, 73, 4], Operations: ['86-82=4']
Exploring Operation: 6-4=2, Resulting Numbers: [73, 2]
Generated Node #0,1,0: 75:[73, 2] Operation: 6-4=2
Exploring Operation: 6*4=24, Resulting Numbers: [73, 24]
Generated Node #0,1,1: 75:[73, 24] Operation: 6*4=24
Exploring Operation: 73+4=77, Resulting Numbers: [6, 77]
Generated Node #0,1,2: 75:[6, 77] Operation: 73+4=77
Moving to Node #0,2
Current State: 75:[6, 82, 13], Operations: ['86-73=13']
Exploring Operation: 82-13=69, Resulting Numbers: [6, 69]
Generated Node #0,2,0: 75:[6, 69] Operation: 82-13=69
Exploring Operation: 82-6=76, Resulting Numbers: [13, 76]
Generated Node #0,2,1: 75:[13, 76] Operation: 82-6=76
Exploring Operation: 13-6=7, Resulting Numbers: [82, 7]
Generated Node #0,2,2: 75:[82, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[13, 76], Operations: ['86-73=13', '82-6=76']
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 13*76=988, Resulting Numbers: [988]
988,75 unequal: No Solution
Exploring Operation: 13+76=89, Resulting Numbers: [89]
89,75 unequal: No Solution
No 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: 75:[6, 69], Operations: ['86-73=13', '82-13=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[6, 86, 82, 73], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [6, 82, 13]
Generated Node #0,2: 75:[6, 82, 13] Operation: 86-73=13
Moving to Node #0,2
Current State: 75:[6, 82, 13], Operations: ['86-73=13']
Exploring Operation: 82-13=69, Resulting Numbers: [6, 69]
Generated Node #0,2,0: 75:[6, 69] Operation: 82-13=69
Moving to Node #0,2,0
Current State: 75:[6, 69], Operations: ['86-73=13', '82-13=69']
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
34,
20,
26,
10
] | 58 | [
"34+26=60",
"20/10=2",
"60-2=58"
] | Current State: 58:[34, 20, 26, 10], Operations: []
Exploring Operation: 34+26=60, Resulting Numbers: [20, 10, 60]
Generated Node #2: [20, 10, 60] from Operation: 34+26=60
Current State: 58:[20, 10, 60], Operations: ['34+26=60']
Exploring Operation: 20/10=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 20/10=2
Current State: 58:[60, 2], Operations: ['34+26=60', '20/10=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[34, 20, 26, 10], Operations: []
Exploring Operation: 20-10=10, Resulting Numbers: [34, 26, 10]
Generated Node #0,0: 58:[34, 26, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [34, 26, 30]
Generated Node #0,1: 58:[34, 26, 30] Operation: 20+10=30
Exploring Operation: 34+20=54, Resulting Numbers: [26, 10, 54]
Generated Node #0,2: 58:[26, 10, 54] Operation: 34+20=54
Exploring Operation: 20/10=2, Resulting Numbers: [34, 26, 2]
Generated Node #0,3: 58:[34, 26, 2] Operation: 20/10=2
Exploring Operation: 34-10=24, Resulting Numbers: [20, 26, 24]
Generated Node #0,4: 58:[20, 26, 24] Operation: 34-10=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[34, 26, 2], Operations: ['20/10=2']
Exploring Operation: 26+2=28, Resulting Numbers: [34, 28]
Generated Node #0,3,0: 58:[34, 28] Operation: 26+2=28
Exploring Operation: 34-2=32, Resulting Numbers: [26, 32]
Generated Node #0,3,1: 58:[26, 32] Operation: 34-2=32
Exploring Operation: 34+2=36, Resulting Numbers: [26, 36]
Generated Node #0,3,2: 58:[26, 36] Operation: 34+2=36
Exploring Operation: 34-26=8, Resulting Numbers: [2, 8]
Generated Node #0,3,3: 58:[2, 8] Operation: 34-26=8
Exploring Operation: 34+26=60, Resulting Numbers: [2, 60]
Generated Node #0,3,4: 58:[2, 60] Operation: 34+26=60
Moving to Node #0,3,4
Current State: 58:[2, 60], Operations: ['20/10=2', '34+26=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,58 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[34, 20, 26, 10], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [34, 26, 2]
Generated Node #0,3: 58:[34, 26, 2] Operation: 20/10=2
Moving to Node #0,3
Current State: 58:[34, 26, 2], Operations: ['20/10=2']
Exploring Operation: 34+26=60, Resulting Numbers: [2, 60]
Generated Node #0,3,4: 58:[2, 60] Operation: 34+26=60
Moving to Node #0,3,4
Current State: 58:[2, 60], Operations: ['20/10=2', '34+26=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
90,
84,
12,
62
] | 60 | [
"90-84=6",
"12/6=2",
"62-2=60"
] | Current State: 60:[90, 84, 12, 62], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [12, 62, 6]
Generated Node #2: [12, 62, 6] from Operation: 90-84=6
Current State: 60:[12, 62, 6], Operations: ['90-84=6']
Exploring Operation: 12/6=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 12/6=2
Current State: 60:[62, 2], Operations: ['90-84=6', '12/6=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[90, 84, 12, 62], Operations: []
Exploring Operation: 90-84=6, Resulting Numbers: [12, 62, 6]
Generated Node #0,0: 60:[12, 62, 6] Operation: 90-84=6
Moving to Node #0,0
Current State: 60:[12, 62, 6], Operations: ['90-84=6']
Exploring Operation: 12-6=6, Resulting Numbers: [62, 6]
Generated Node #0,0,0: 60:[62, 6] Operation: 12-6=6
Moving to Node #0,0,0
Current State: 60:[62, 6], Operations: ['90-84=6', '12-6=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,60 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
76,
34,
19
] | 96 | [
"76-33=43",
"34+19=53",
"43+53=96"
] | Current State: 96:[33, 76, 34, 19], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [34, 19, 43]
Generated Node #2: [34, 19, 43] from Operation: 76-33=43
Current State: 96:[34, 19, 43], Operations: ['76-33=43']
Exploring Operation: 34+19=53, Resulting Numbers: [43, 53]
Generated Node #3: [43, 53] from Operation: 34+19=53
Current State: 96:[43, 53], Operations: ['76-33=43', '34+19=53']
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[33, 76, 34, 19], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [34, 19, 43]
Generated Node #0,0: 96:[34, 19, 43] Operation: 76-33=43
Exploring Operation: 76/19=4, Resulting Numbers: [33, 34, 4]
Generated Node #0,1: 96:[33, 34, 4] Operation: 76/19=4
Exploring Operation: 76+19=95, Resulting Numbers: [33, 34, 95]
Generated Node #0,2: 96:[33, 34, 95] Operation: 76+19=95
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[33, 34, 4], Operations: ['76/19=4']
Exploring Operation: 34-4=30, Resulting Numbers: [33, 30]
Generated Node #0,1,0: 96:[33, 30] Operation: 34-4=30
Exploring Operation: 34-33=1, Resulting Numbers: [4, 1]
Generated Node #0,1,1: 96:[4, 1] Operation: 34-33=1
Exploring Operation: 33-4=29, Resulting Numbers: [34, 29]
Generated Node #0,1,2: 96:[34, 29] Operation: 33-4=29
Moving to Node #0,1,1
Current State: 96:[4, 1], Operations: ['76/19=4', '34-33=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[33, 30], Operations: ['76/19=4', '34-4=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,96 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[34, 29], Operations: ['76/19=4', '33-4=29']
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,96 unequal: No Solution
No 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: 96:[33, 34, 95], Operations: ['76+19=95']
Exploring Operation: 34-33=1, Resulting Numbers: [95, 1]
Generated Node #0,2,0: 96:[95, 1] Operation: 34-33=1
Exploring Operation: 95-34=61, Resulting Numbers: [33, 61]
Generated Node #0,2,1: 96:[33, 61] Operation: 95-34=61
Exploring Operation: 95-33=62, Resulting Numbers: [34, 62]
Generated Node #0,2,2: 96:[34, 62] Operation: 95-33=62
Moving to Node #0,2,0
Current State: 96:[95, 1], Operations: ['76+19=95', '34-33=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[33, 76, 34, 19], Operations: []
Exploring Operation: 76+19=95, Resulting Numbers: [33, 34, 95]
Generated Node #0,2: 96:[33, 34, 95] Operation: 76+19=95
Moving to Node #0,2
Current State: 96:[33, 34, 95], Operations: ['76+19=95']
Exploring Operation: 34-33=1, Resulting Numbers: [95, 1]
Generated Node #0,2,0: 96:[95, 1] Operation: 34-33=1
Moving to Node #0,2,0
Current State: 96:[95, 1], Operations: ['76+19=95', '34-33=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
4,
25,
66,
56
] | 11 | [
"25-4=21",
"66-56=10",
"21-10=11"
] | Current State: 11:[4, 25, 66, 56], Operations: []
Exploring Operation: 25-4=21, Resulting Numbers: [66, 56, 21]
Generated Node #2: [66, 56, 21] from Operation: 25-4=21
Current State: 11:[66, 56, 21], Operations: ['25-4=21']
Exploring Operation: 66-56=10, Resulting Numbers: [21, 10]
Generated Node #3: [21, 10] from Operation: 66-56=10
Current State: 11:[21, 10], Operations: ['25-4=21', '66-56=10']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[4, 25, 66, 56], Operations: []
Exploring Operation: 56-25=31, Resulting Numbers: [4, 66, 31]
Generated Node #0,0: 11:[4, 66, 31] Operation: 56-25=31
Exploring Operation: 25-4=21, Resulting Numbers: [66, 56, 21]
Generated Node #0,1: 11:[66, 56, 21] Operation: 25-4=21
Exploring Operation: 56/4=14, Resulting Numbers: [25, 66, 14]
Generated Node #0,2: 11:[25, 66, 14] Operation: 56/4=14
Exploring Operation: 66-56=10, Resulting Numbers: [4, 25, 10]
Generated Node #0,3: 11:[4, 25, 10] Operation: 66-56=10
Exploring Operation: 66-25=41, Resulting Numbers: [4, 56, 41]
Generated Node #0,4: 11:[4, 56, 41] Operation: 66-25=41
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[4, 25, 10], Operations: ['66-56=10']
Exploring Operation: 25-4=21, Resulting Numbers: [10, 21]
Generated Node #0,3,0: 11:[10, 21] Operation: 25-4=21
Exploring Operation: 4+10=14, Resulting Numbers: [25, 14]
Generated Node #0,3,1: 11:[25, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [25, 6]
Generated Node #0,3,2: 11:[25, 6] Operation: 10-4=6
Exploring Operation: 25-10=15, Resulting Numbers: [4, 15]
Generated Node #0,3,3: 11:[4, 15] Operation: 25-10=15
Exploring Operation: 4+25=29, Resulting Numbers: [10, 29]
Generated Node #0,3,4: 11:[10, 29] Operation: 4+25=29
Moving to Node #0,3,0
Current State: 11:[10, 21], Operations: ['66-56=10', '25-4=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[4, 25, 66, 56], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [4, 25, 10]
Generated Node #0,3: 11:[4, 25, 10] Operation: 66-56=10
Moving to Node #0,3
Current State: 11:[4, 25, 10], Operations: ['66-56=10']
Exploring Operation: 25-4=21, Resulting Numbers: [10, 21]
Generated Node #0,3,0: 11:[10, 21] Operation: 25-4=21
Moving to Node #0,3,0
Current State: 11:[10, 21], Operations: ['66-56=10', '25-4=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
2,
60,
14,
48
] | 53 | [
"14-2=12",
"60/12=5",
"48+5=53"
] | Current State: 53:[2, 60, 14, 48], Operations: []
Exploring Operation: 14-2=12, Resulting Numbers: [60, 48, 12]
Generated Node #2: [60, 48, 12] from Operation: 14-2=12
Current State: 53:[60, 48, 12], Operations: ['14-2=12']
Exploring Operation: 60/12=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 60/12=5
Current State: 53:[48, 5], Operations: ['14-2=12', '60/12=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[2, 60, 14, 48], Operations: []
Exploring Operation: 2+14=16, Resulting Numbers: [60, 48, 16]
Generated Node #0,0: 53:[60, 48, 16] Operation: 2+14=16
Exploring Operation: 2*14=28, Resulting Numbers: [60, 48, 28]
Generated Node #0,1: 53:[60, 48, 28] Operation: 2*14=28
Exploring Operation: 2+48=50, Resulting Numbers: [60, 14, 50]
Generated Node #0,2: 53:[60, 14, 50] Operation: 2+48=50
Exploring Operation: 60-2=58, Resulting Numbers: [14, 48, 58]
Generated Node #0,3: 53:[14, 48, 58] Operation: 60-2=58
Exploring Operation: 2+60=62, Resulting Numbers: [14, 48, 62]
Generated Node #0,4: 53:[14, 48, 62] Operation: 2+60=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[60, 48, 28], Operations: ['2*14=28']
Exploring Operation: 60-28=32, Resulting Numbers: [48, 32]
Generated Node #0,1,0: 53:[48, 32] Operation: 60-28=32
Exploring Operation: 48-28=20, Resulting Numbers: [60, 20]
Generated Node #0,1,1: 53:[60, 20] Operation: 48-28=20
Exploring Operation: 60+28=88, Resulting Numbers: [48, 88]
Generated Node #0,1,2: 53:[48, 88] Operation: 60+28=88
Exploring Operation: 60-48=12, Resulting Numbers: [28, 12]
Generated Node #0,1,3: 53:[28, 12] Operation: 60-48=12
Exploring Operation: 48+28=76, Resulting Numbers: [60, 76]
Generated Node #0,1,4: 53:[60, 76] Operation: 48+28=76
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[48, 32], Operations: ['2*14=28', '60-28=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,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,4
Current State: 53:[60, 76], Operations: ['2*14=28', '48+28=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,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,1
Current State: 53:[60, 20], Operations: ['2*14=28', '48-28=20']
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,53 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,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:[48, 88], Operations: ['2*14=28', '60+28=88']
Exploring Operation: 48*88=4224, Resulting Numbers: [4224]
4224,53 unequal: No Solution
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 48+88=136, Resulting Numbers: [136]
136,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:[28, 12], Operations: ['2*14=28', '60-48=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,53 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,53 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,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:[60, 48, 16], Operations: ['2+14=16']
Exploring Operation: 48+16=64, Resulting Numbers: [60, 64]
Generated Node #0,0,0: 53:[60, 64] Operation: 48+16=64
Exploring Operation: 48/16=3, Resulting Numbers: [60, 3]
Generated Node #0,0,1: 53:[60, 3] Operation: 48/16=3
Exploring Operation: 60-16=44, Resulting Numbers: [48, 44]
Generated Node #0,0,2: 53:[48, 44] Operation: 60-16=44
Exploring Operation: 48-16=32, Resulting Numbers: [60, 32]
Generated Node #0,0,3: 53:[60, 32] Operation: 48-16=32
Exploring Operation: 60+16=76, Resulting Numbers: [48, 76]
Generated Node #0,0,4: 53:[48, 76] Operation: 60+16=76
Moving to Node #0,0,2
Current State: 53:[48, 44], Operations: ['2+14=16', '60-16=44']
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,53 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[60, 64], Operations: ['2+14=16', '48+16=64']
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,53 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[60, 32], Operations: ['2+14=16', '48-16=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[48, 76], Operations: ['2+14=16', '60+16=76']
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[60, 3], Operations: ['2+14=16', '48/16=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,53 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,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
Current State: 53:[60, 14, 50], Operations: ['2+48=50']
Exploring Operation: 50-14=36, Resulting Numbers: [60, 36]
Generated Node #0,2,0: 53:[60, 36] Operation: 50-14=36
Exploring Operation: 60+14=74, Resulting Numbers: [50, 74]
Generated Node #0,2,1: 53:[50, 74] Operation: 60+14=74
Exploring Operation: 14+50=64, Resulting Numbers: [60, 64]
Generated Node #0,2,2: 53:[60, 64] Operation: 14+50=64
Exploring Operation: 60-14=46, Resulting Numbers: [50, 46]
Generated Node #0,2,3: 53:[50, 46] Operation: 60-14=46
Exploring Operation: 60-50=10, Resulting Numbers: [14, 10]
Generated Node #0,2,4: 53:[14, 10] Operation: 60-50=10
Moving to Node #0,2,3
Current State: 53:[50, 46], Operations: ['2+48=50', '60-14=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[60, 64], Operations: ['2+48=50', '14+50=64']
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,53 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[60, 36], Operations: ['2+48=50', '50-14=36']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[50, 74], Operations: ['2+48=50', '60+14=74']
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,53 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[14, 10], Operations: ['2+48=50', '60-50=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,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:[14, 48, 58], Operations: ['60-2=58']
Exploring Operation: 14+48=62, Resulting Numbers: [58, 62]
Generated Node #0,3,0: 53:[58, 62] Operation: 14+48=62
Exploring Operation: 14+58=72, Resulting Numbers: [48, 72]
Generated Node #0,3,1: 53:[48, 72] Operation: 14+58=72
Exploring Operation: 58-14=44, Resulting Numbers: [48, 44]
Generated Node #0,3,2: 53:[48, 44] Operation: 58-14=44
Exploring Operation: 58-48=10, Resulting Numbers: [14, 10]
Generated Node #0,3,3: 53:[14, 10] Operation: 58-48=10
Exploring Operation: 48-14=34, Resulting Numbers: [58, 34]
Generated Node #0,3,4: 53:[58, 34] Operation: 48-14=34
Moving to Node #0,3,0
Current State: 53:[58, 62], Operations: ['60-2=58', '14+48=62']
Exploring Operation: 58*62=3596, Resulting Numbers: [3596]
3596,53 unequal: No Solution
Exploring Operation: 58+62=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[48, 44], Operations: ['60-2=58', '58-14=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[48, 72], Operations: ['60-2=58', '14+58=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,53 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[58, 34], Operations: ['60-2=58', '48-14=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,53 unequal: No Solution
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,53 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[14, 10], Operations: ['60-2=58', '58-48=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,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,4
Current State: 53:[14, 48, 62], Operations: ['2+60=62']
Exploring Operation: 48-14=34, Resulting Numbers: [62, 34]
Generated Node #0,4,0: 53:[62, 34] Operation: 48-14=34
Exploring Operation: 14+62=76, Resulting Numbers: [48, 76]
Generated Node #0,4,1: 53:[48, 76] Operation: 14+62=76
Exploring Operation: 14+48=62, Resulting Numbers: [62, 62]
Generated Node #0,4,2: 53:[62, 62] Operation: 14+48=62
Exploring Operation: 62-14=48, Resulting Numbers: [48, 48]
Generated Node #0,4,3: 53:[48, 48] Operation: 62-14=48
Exploring Operation: 62-48=14, Resulting Numbers: [14, 14]
Generated Node #0,4,4: 53:[14, 14] Operation: 62-48=14
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 53:[48, 48], Operations: ['2+60=62', '62-14=48']
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,53 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,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,4,2
Current State: 53:[62, 62], Operations: ['2+60=62', '14+48=62']
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,53 unequal: No Solution
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,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,4,0
Current State: 53:[62, 34], Operations: ['2+60=62', '48-14=34']
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,53 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,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,4,1
Current State: 53:[48, 76], Operations: ['2+60=62', '14+62=76']
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,53 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,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,4,4
Current State: 53:[14, 14], Operations: ['2+60=62', '62-48=14']
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,53 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,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_5 | mult_heuristic |
[
41,
5,
25,
21
] | 41 | [
"25-5=20",
"21-20=1",
"41*1=41"
] | Current State: 41:[41, 5, 25, 21], Operations: []
Exploring Operation: 25-5=20, Resulting Numbers: [41, 21, 20]
Generated Node #2: [41, 21, 20] from Operation: 25-5=20
Current State: 41:[41, 21, 20], Operations: ['25-5=20']
Exploring Operation: 21-20=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 21-20=1
Current State: 41:[41, 1], Operations: ['25-5=20', '21-20=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[41, 5, 25, 21], Operations: []
Exploring Operation: 5+25=30, Resulting Numbers: [41, 21, 30]
Generated Node #0,0: 41:[41, 21, 30] Operation: 5+25=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[41, 21, 30], Operations: ['5+25=30']
Exploring Operation: 21+30=51, Resulting Numbers: [41, 51]
Generated Node #0,0,0: 41:[41, 51] Operation: 21+30=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[41, 51], Operations: ['5+25=30', '21+30=51']
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
99,
70,
71
] | 98 | [
"99-71=28",
"6*28=168",
"168-70=98"
] | Current State: 98:[6, 99, 70, 71], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [6, 70, 28]
Generated Node #2: [6, 70, 28] from Operation: 99-71=28
Current State: 98:[6, 70, 28], Operations: ['99-71=28']
Exploring Operation: 6*28=168, Resulting Numbers: [70, 168]
Generated Node #3: [70, 168] from Operation: 6*28=168
Current State: 98:[70, 168], Operations: ['99-71=28', '6*28=168']
Exploring Operation: 168-70=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[6, 99, 70, 71], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [6, 70, 28]
Generated Node #0,0: 98:[6, 70, 28] Operation: 99-71=28
Exploring Operation: 70-6=64, Resulting Numbers: [99, 71, 64]
Generated Node #0,1: 98:[99, 71, 64] Operation: 70-6=64
Exploring Operation: 71-70=1, Resulting Numbers: [6, 99, 1]
Generated Node #0,2: 98:[6, 99, 1] Operation: 71-70=1
Moving to Node #0,2
Current State: 98:[6, 99, 1], Operations: ['71-70=1']
Exploring Operation: 99-1=98, Resulting Numbers: [6, 98]
Generated Node #0,2,0: 98:[6, 98] Operation: 99-1=98
Exploring Operation: 6+1=7, Resulting Numbers: [99, 7]
Generated Node #0,2,1: 98:[99, 7] Operation: 6+1=7
Exploring Operation: 6*1=6, Resulting Numbers: [99, 6]
Generated Node #0,2,2: 98:[99, 6] Operation: 6*1=6
Moving to Node #0,0
Current State: 98:[6, 70, 28], Operations: ['99-71=28']
Exploring Operation: 70+28=98, Resulting Numbers: [6, 98]
Generated Node #0,0,0: 98:[6, 98] Operation: 70+28=98
Exploring Operation: 70-6=64, Resulting Numbers: [28, 64]
Generated Node #0,0,1: 98:[28, 64] Operation: 70-6=64
Exploring Operation: 70-28=42, Resulting Numbers: [6, 42]
Generated Node #0,0,2: 98:[6, 42] Operation: 70-28=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[6, 98], Operations: ['99-71=28', '70+28=98']
Exploring Operation: 6+98=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 6*98=588, Resulting Numbers: [588]
588,98 unequal: No Solution
No 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: 98:[6, 42], Operations: ['99-71=28', '70-28=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,98 unequal: No Solution
No 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: 98:[28, 64], Operations: ['99-71=28', '70-6=64']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 28*64=1792, Resulting Numbers: [1792]
1792,98 unequal: No Solution
Exploring Operation: 28+64=92, Resulting Numbers: [92]
92,98 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: 98:[99, 71, 64], Operations: ['70-6=64']
Exploring Operation: 99-71=28, Resulting Numbers: [64, 28]
Generated Node #0,1,0: 98:[64, 28] Operation: 99-71=28
Exploring Operation: 71-64=7, Resulting Numbers: [99, 7]
Generated Node #0,1,1: 98:[99, 7] Operation: 71-64=7
Exploring Operation: 99-64=35, Resulting Numbers: [71, 35]
Generated Node #0,1,2: 98:[71, 35] Operation: 99-64=35
Moving to Node #0,2,0
Current State: 98:[6, 98], Operations: ['71-70=1', '99-1=98']
Exploring Operation: 6+98=104, Resulting Numbers: [104]
104,98 unequal: No Solution
Exploring Operation: 6*98=588, Resulting Numbers: [588]
588,98 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[99, 7], Operations: ['71-70=1', '6+1=7']
Exploring Operation: 99+7=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 99*7=693, Resulting Numbers: [693]
693,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[99, 7], Operations: ['70-6=64', '71-64=7']
Exploring Operation: 99+7=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 99*7=693, Resulting Numbers: [693]
693,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[99, 6], Operations: ['71-70=1', '6*1=6']
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 99*6=594, Resulting Numbers: [594]
594,98 unequal: No Solution
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[64, 28], Operations: ['70-6=64', '99-71=28']
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,98 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[71, 35], Operations: ['70-6=64', '99-64=35']
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,98 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,98 unequal: No Solution
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
35,
38,
38,
26
] | 26 | [
"38-38=0",
"35*0=0",
"26+0=26"
] | Current State: 26:[35, 38, 38, 26], Operations: []
Exploring Operation: 38-38=0, Resulting Numbers: [35, 26, 0]
Generated Node #2: [35, 26, 0] from Operation: 38-38=0
Current State: 26:[35, 26, 0], Operations: ['38-38=0']
Exploring Operation: 35*0=0, Resulting Numbers: [26, 0]
Generated Node #3: [26, 0] from Operation: 35*0=0
Current State: 26:[26, 0], Operations: ['38-38=0', '35*0=0']
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[35, 38, 38, 26], Operations: []
Exploring Operation: 38-26=12, Resulting Numbers: [35, 38, 12]
Generated Node #0,0: 26:[35, 38, 12] Operation: 38-26=12
Exploring Operation: 38-35=3, Resulting Numbers: [38, 26, 3]
Generated Node #0,1: 26:[38, 26, 3] Operation: 38-35=3
Exploring Operation: 38-35=3, Resulting Numbers: [38, 26, 3]
Generated Node #0,2: 26:[38, 26, 3] Operation: 38-35=3
Exploring Operation: 38-38=0, Resulting Numbers: [35, 26, 0]
Generated Node #0,3: 26:[35, 26, 0] Operation: 38-38=0
Exploring Operation: 38/38=1, Resulting Numbers: [35, 26, 1]
Generated Node #0,4: 26:[35, 26, 1] Operation: 38/38=1
Moving to Node #0,4
Current State: 26:[35, 26, 1], Operations: ['38/38=1']
Exploring Operation: 26*1=26, Resulting Numbers: [35, 26]
Generated Node #0,4,0: 26:[35, 26] Operation: 26*1=26
Exploring Operation: 35-26=9, Resulting Numbers: [1, 9]
Generated Node #0,4,1: 26:[1, 9] Operation: 35-26=9
Exploring Operation: 35-1=34, Resulting Numbers: [26, 34]
Generated Node #0,4,2: 26:[26, 34] Operation: 35-1=34
Exploring Operation: 35/1=35, Resulting Numbers: [26, 35]
Generated Node #0,4,3: 26:[26, 35] Operation: 35/1=35
Exploring Operation: 35*1=35, Resulting Numbers: [26, 35]
Generated Node #0,4,4: 26:[26, 35] Operation: 35*1=35
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 26:[1, 9], Operations: ['38/38=1', '35-26=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No 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: 26:[26, 34], Operations: ['38/38=1', '35-1=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,26 unequal: No Solution
No 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: 26:[35, 26], Operations: ['38/38=1', '26*1=26']
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,26 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,26 unequal: No Solution
No 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: 26:[26, 35], Operations: ['38/38=1', '35/1=35']
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,26 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No 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: 26:[26, 35], Operations: ['38/38=1', '35*1=35']
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,26 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,26 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,26 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: 26:[35, 26, 0], Operations: ['38-38=0']
Exploring Operation: 26+0=26, Resulting Numbers: [35, 26]
Generated Node #0,3,0: 26:[35, 26] Operation: 26+0=26
Exploring Operation: 35-26=9, Resulting Numbers: [0, 9]
Generated Node #0,3,1: 26:[0, 9] Operation: 35-26=9
Exploring Operation: 35-0=35, Resulting Numbers: [26, 35]
Generated Node #0,3,2: 26:[26, 35] Operation: 35-0=35
Exploring Operation: 35*0=0, Resulting Numbers: [26, 0]
Generated Node #0,3,3: 26:[26, 0] Operation: 35*0=0
Exploring Operation: 35+0=35, Resulting Numbers: [26, 35]
Generated Node #0,3,4: 26:[26, 35] Operation: 35+0=35
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[26, 0], Operations: ['38-38=0', '35*0=0']
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[35, 38, 38, 26], Operations: []
Exploring Operation: 38-38=0, Resulting Numbers: [35, 26, 0]
Generated Node #0,3: 26:[35, 26, 0] Operation: 38-38=0
Moving to Node #0,3
Current State: 26:[35, 26, 0], Operations: ['38-38=0']
Exploring Operation: 35*0=0, Resulting Numbers: [26, 0]
Generated Node #0,3,3: 26:[26, 0] Operation: 35*0=0
Moving to Node #0,3,3
Current State: 26:[26, 0], Operations: ['38-38=0', '35*0=0']
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
54,
5,
44,
86
] | 71 | [
"54+5=59",
"44+86=130",
"130-59=71"
] | Current State: 71:[54, 5, 44, 86], Operations: []
Exploring Operation: 54+5=59, Resulting Numbers: [44, 86, 59]
Generated Node #2: [44, 86, 59] from Operation: 54+5=59
Current State: 71:[44, 86, 59], Operations: ['54+5=59']
Exploring Operation: 44+86=130, Resulting Numbers: [59, 130]
Generated Node #3: [59, 130] from Operation: 44+86=130
Current State: 71:[59, 130], Operations: ['54+5=59', '44+86=130']
Exploring Operation: 130-59=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[54, 5, 44, 86], Operations: []
Exploring Operation: 5+44=49, Resulting Numbers: [54, 86, 49]
Generated Node #0,0: 71:[54, 86, 49] Operation: 5+44=49
Exploring Operation: 54+5=59, Resulting Numbers: [44, 86, 59]
Generated Node #0,1: 71:[44, 86, 59] Operation: 54+5=59
Exploring Operation: 86-5=81, Resulting Numbers: [54, 44, 81]
Generated Node #0,2: 71:[54, 44, 81] Operation: 86-5=81
Exploring Operation: 54-5=49, Resulting Numbers: [44, 86, 49]
Generated Node #0,3: 71:[44, 86, 49] Operation: 54-5=49
Moving to Node #0,0
Current State: 71:[54, 86, 49], Operations: ['5+44=49']
Exploring Operation: 54+49=103, Resulting Numbers: [86, 103]
Generated Node #0,0,0: 71:[86, 103] Operation: 54+49=103
Exploring Operation: 86-49=37, Resulting Numbers: [54, 37]
Generated Node #0,0,1: 71:[54, 37] Operation: 86-49=37
Exploring Operation: 54-49=5, Resulting Numbers: [86, 5]
Generated Node #0,0,2: 71:[86, 5] Operation: 54-49=5
Exploring Operation: 86-54=32, Resulting Numbers: [49, 32]
Generated Node #0,0,3: 71:[49, 32] Operation: 86-54=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[86, 103], Operations: ['5+44=49', '54+49=103']
Exploring Operation: 103-86=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 86*103=8858, Resulting Numbers: [8858]
8858,71 unequal: No Solution
Exploring Operation: 86+103=189, Resulting Numbers: [189]
189,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,1
Current State: 71:[54, 37], Operations: ['5+44=49', '86-49=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,71 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,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:[49, 32], Operations: ['5+44=49', '86-54=32']
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,71 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,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:[86, 5], Operations: ['5+44=49', '54-49=5']
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,71 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: 71:[54, 44, 81], Operations: ['86-5=81']
Exploring Operation: 54+44=98, Resulting Numbers: [81, 98]
Generated Node #0,2,0: 71:[81, 98] Operation: 54+44=98
Exploring Operation: 81-44=37, Resulting Numbers: [54, 37]
Generated Node #0,2,1: 71:[54, 37] Operation: 81-44=37
Exploring Operation: 81-54=27, Resulting Numbers: [44, 27]
Generated Node #0,2,2: 71:[44, 27] Operation: 81-54=27
Exploring Operation: 54-44=10, Resulting Numbers: [81, 10]
Generated Node #0,2,3: 71:[81, 10] Operation: 54-44=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[81, 98], Operations: ['86-5=81', '54+44=98']
Exploring Operation: 81*98=7938, Resulting Numbers: [7938]
7938,71 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 81+98=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,2,1
Current State: 71:[54, 37], Operations: ['86-5=81', '81-44=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,71 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,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,2,2
Current State: 71:[44, 27], Operations: ['86-5=81', '81-54=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,71 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[54, 5, 44, 86], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [54, 44, 81]
Generated Node #0,2: 71:[54, 44, 81] Operation: 86-5=81
Moving to Node #0,2
Current State: 71:[54, 44, 81], Operations: ['86-5=81']
Exploring Operation: 81-54=27, Resulting Numbers: [44, 27]
Generated Node #0,2,2: 71:[44, 27] Operation: 81-54=27
Moving to Node #0,2,2
Current State: 71:[44, 27], Operations: ['86-5=81', '81-54=27']
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
36,
35,
59,
3
] | 20 | [
"36-35=1",
"59+1=60",
"60/3=20"
] | Current State: 20:[36, 35, 59, 3], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [59, 3, 1]
Generated Node #2: [59, 3, 1] from Operation: 36-35=1
Current State: 20:[59, 3, 1], Operations: ['36-35=1']
Exploring Operation: 59+1=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 59+1=60
Current State: 20:[3, 60], Operations: ['36-35=1', '59+1=60']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[36, 35, 59, 3], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [35, 59, 12]
Generated Node #0,0: 20:[35, 59, 12] Operation: 36/3=12
Exploring Operation: 36-35=1, Resulting Numbers: [59, 3, 1]
Generated Node #0,1: 20:[59, 3, 1] Operation: 36-35=1
Exploring Operation: 59-36=23, Resulting Numbers: [35, 3, 23]
Generated Node #0,2: 20:[35, 3, 23] Operation: 59-36=23
Exploring Operation: 59-35=24, Resulting Numbers: [36, 3, 24]
Generated Node #0,3: 20:[36, 3, 24] Operation: 59-35=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[35, 3, 23], Operations: ['59-36=23']
Exploring Operation: 35-23=12, Resulting Numbers: [3, 12]
Generated Node #0,2,0: 20:[3, 12] Operation: 35-23=12
Exploring Operation: 35+3=38, Resulting Numbers: [23, 38]
Generated Node #0,2,1: 20:[23, 38] Operation: 35+3=38
Exploring Operation: 23-3=20, Resulting Numbers: [35, 20]
Generated Node #0,2,2: 20:[35, 20] Operation: 23-3=20
Exploring Operation: 35-3=32, Resulting Numbers: [23, 32]
Generated Node #0,2,3: 20:[23, 32] Operation: 35-3=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[3, 12], Operations: ['59-36=23', '35-23=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,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,2,2
Current State: 20:[35, 20], Operations: ['59-36=23', '23-3=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,20 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,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,2,3
Current State: 20:[23, 32], Operations: ['59-36=23', '35-3=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,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,2,1
Current State: 20:[23, 38], Operations: ['59-36=23', '35+3=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[36, 3, 24], Operations: ['59-35=24']
Exploring Operation: 36-3=33, Resulting Numbers: [24, 33]
Generated Node #0,3,0: 20:[24, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [24, 12]
Generated Node #0,3,1: 20:[24, 12] Operation: 36/3=12
Exploring Operation: 36-24=12, Resulting Numbers: [3, 12]
Generated Node #0,3,2: 20:[3, 12] Operation: 36-24=12
Exploring Operation: 24-3=21, Resulting Numbers: [36, 21]
Generated Node #0,3,3: 20:[36, 21] Operation: 24-3=21
Moving to Node #0,3,2
Current State: 20:[3, 12], Operations: ['59-35=24', '36-24=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[24, 12], Operations: ['59-35=24', '36/3=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[36, 21], Operations: ['59-35=24', '24-3=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,20 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[24, 33], Operations: ['59-35=24', '36-3=33']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,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:[59, 3, 1], Operations: ['36-35=1']
Exploring Operation: 3-1=2, Resulting Numbers: [59, 2]
Generated Node #0,1,0: 20:[59, 2] Operation: 3-1=2
Exploring Operation: 59-1=58, Resulting Numbers: [3, 58]
Generated Node #0,1,1: 20:[3, 58] Operation: 59-1=58
Exploring Operation: 59-3=56, Resulting Numbers: [1, 56]
Generated Node #0,1,2: 20:[1, 56] Operation: 59-3=56
Exploring Operation: 3+1=4, Resulting Numbers: [59, 4]
Generated Node #0,1,3: 20:[59, 4] Operation: 3+1=4
Moving to Node #0,1,2
Current State: 20:[1, 56], Operations: ['36-35=1', '59-3=56']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[3, 58], Operations: ['36-35=1', '59-1=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,20 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[59, 2], Operations: ['36-35=1', '3-1=2']
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,20 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[59, 4], Operations: ['36-35=1', '3+1=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,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:[35, 59, 12], Operations: ['36/3=12']
Exploring Operation: 59-12=47, Resulting Numbers: [35, 47]
Generated Node #0,0,0: 20:[35, 47] Operation: 59-12=47
Exploring Operation: 59-35=24, Resulting Numbers: [12, 24]
Generated Node #0,0,1: 20:[12, 24] Operation: 59-35=24
Exploring Operation: 35+12=47, Resulting Numbers: [59, 47]
Generated Node #0,0,2: 20:[59, 47] Operation: 35+12=47
Exploring Operation: 35-12=23, Resulting Numbers: [59, 23]
Generated Node #0,0,3: 20:[59, 23] Operation: 35-12=23
Moving to Node #0,0,1
Current State: 20:[12, 24], Operations: ['36/3=12', '59-35=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,20 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[59, 23], Operations: ['36/3=12', '35-12=23']
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,20 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[35, 47], Operations: ['36/3=12', '59-12=47']
Exploring Operation: 35*47=1645, Resulting Numbers: [1645]
1645,20 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[59, 47], Operations: ['36/3=12', '35+12=47']
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,20 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,20 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,20 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 |
[
25,
75,
72,
63
] | 85 | [
"75-25=50",
"72+63=135",
"135-50=85"
] | Current State: 85:[25, 75, 72, 63], Operations: []
Exploring Operation: 75-25=50, Resulting Numbers: [72, 63, 50]
Generated Node #2: [72, 63, 50] from Operation: 75-25=50
Current State: 85:[72, 63, 50], Operations: ['75-25=50']
Exploring Operation: 72+63=135, Resulting Numbers: [50, 135]
Generated Node #3: [50, 135] from Operation: 72+63=135
Current State: 85:[50, 135], Operations: ['75-25=50', '72+63=135']
Exploring Operation: 135-50=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[25, 75, 72, 63], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [72, 63, 3]
Generated Node #0,0: 85:[72, 63, 3] Operation: 75/25=3
Exploring Operation: 75-72=3, Resulting Numbers: [25, 63, 3]
Generated Node #0,1: 85:[25, 63, 3] Operation: 75-72=3
Exploring Operation: 72-63=9, Resulting Numbers: [25, 75, 9]
Generated Node #0,2: 85:[25, 75, 9] Operation: 72-63=9
Exploring Operation: 75-63=12, Resulting Numbers: [25, 72, 12]
Generated Node #0,3: 85:[25, 72, 12] Operation: 75-63=12
Exploring Operation: 25+63=88, Resulting Numbers: [75, 72, 88]
Generated Node #0,4: 85:[75, 72, 88] Operation: 25+63=88
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[25, 75, 9], Operations: ['72-63=9']
Exploring Operation: 25+9=34, Resulting Numbers: [75, 34]
Generated Node #0,2,0: 85:[75, 34] Operation: 25+9=34
Exploring Operation: 25+75=100, Resulting Numbers: [9, 100]
Generated Node #0,2,1: 85:[9, 100] Operation: 25+75=100
Exploring Operation: 75+9=84, Resulting Numbers: [25, 84]
Generated Node #0,2,2: 85:[25, 84] Operation: 75+9=84
Exploring Operation: 75/25=3, Resulting Numbers: [9, 3]
Generated Node #0,2,3: 85:[9, 3] Operation: 75/25=3
Exploring Operation: 25-9=16, Resulting Numbers: [75, 16]
Generated Node #0,2,4: 85:[75, 16] Operation: 25-9=16
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[9, 3], Operations: ['72-63=9', '75/25=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,85 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: 85:[25, 84], Operations: ['72-63=9', '75+9=84']
Exploring Operation: 25*84=2100, Resulting Numbers: [2100]
2100,85 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 25+84=109, Resulting Numbers: [109]
109,85 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,4
Current State: 85:[75, 16], Operations: ['72-63=9', '25-9=16']
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,85 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,85 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: 85:[9, 100], Operations: ['72-63=9', '25+75=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 9+100=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 9*100=900, Resulting Numbers: [900]
900,85 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: 85:[75, 34], Operations: ['72-63=9', '25+9=34']
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,85 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: 85:[25, 72, 12], Operations: ['75-63=12']
Exploring Operation: 25-12=13, Resulting Numbers: [72, 13]
Generated Node #0,3,0: 85:[72, 13] Operation: 25-12=13
Exploring Operation: 25+12=37, Resulting Numbers: [72, 37]
Generated Node #0,3,1: 85:[72, 37] Operation: 25+12=37
Exploring Operation: 72+12=84, Resulting Numbers: [25, 84]
Generated Node #0,3,2: 85:[25, 84] Operation: 72+12=84
Exploring Operation: 25+72=97, Resulting Numbers: [12, 97]
Generated Node #0,3,3: 85:[12, 97] Operation: 25+72=97
Exploring Operation: 72/12=6, Resulting Numbers: [25, 6]
Generated Node #0,3,4: 85:[25, 6] Operation: 72/12=6
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[25, 84], Operations: ['75-63=12', '72+12=84']
Exploring Operation: 25+84=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 25*84=2100, Resulting Numbers: [2100]
2100,85 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: 85:[25, 6], Operations: ['75-63=12', '72/12=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,85 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,85 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: 85:[72, 13], Operations: ['75-63=12', '25-12=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,85 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[25, 75, 72, 63], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [25, 72, 12]
Generated Node #0,3: 85:[25, 72, 12] Operation: 75-63=12
Moving to Node #0,3
Current State: 85:[25, 72, 12], Operations: ['75-63=12']
Exploring Operation: 25-12=13, Resulting Numbers: [72, 13]
Generated Node #0,3,0: 85:[72, 13] Operation: 25-12=13
Moving to Node #0,3,0
Current State: 85:[72, 13], Operations: ['75-63=12', '25-12=13']
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
66,
4,
18,
17
] | 69 | [
"66+4=70",
"18-17=1",
"70-1=69"
] | Current State: 69:[66, 4, 18, 17], Operations: []
Exploring Operation: 66+4=70, Resulting Numbers: [18, 17, 70]
Generated Node #2: [18, 17, 70] from Operation: 66+4=70
Current State: 69:[18, 17, 70], Operations: ['66+4=70']
Exploring Operation: 18-17=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 18-17=1
Current State: 69:[70, 1], Operations: ['66+4=70', '18-17=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[66, 4, 18, 17], Operations: []
Exploring Operation: 4*17=68, Resulting Numbers: [66, 18, 68]
Generated Node #0,0: 69:[66, 18, 68] Operation: 4*17=68
Exploring Operation: 4+17=21, Resulting Numbers: [66, 18, 21]
Generated Node #0,1: 69:[66, 18, 21] Operation: 4+17=21
Exploring Operation: 18-17=1, Resulting Numbers: [66, 4, 1]
Generated Node #0,2: 69:[66, 4, 1] Operation: 18-17=1
Exploring Operation: 66+4=70, Resulting Numbers: [18, 17, 70]
Generated Node #0,3: 69:[18, 17, 70] Operation: 66+4=70
Exploring Operation: 4+18=22, Resulting Numbers: [66, 17, 22]
Generated Node #0,4: 69:[66, 17, 22] Operation: 4+18=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[66, 4, 1], Operations: ['18-17=1']
Exploring Operation: 4-1=3, Resulting Numbers: [66, 3]
Generated Node #0,2,0: 69:[66, 3] Operation: 4-1=3
Exploring Operation: 66+4=70, Resulting Numbers: [1, 70]
Generated Node #0,2,1: 69:[1, 70] Operation: 66+4=70
Exploring Operation: 66/1=66, Resulting Numbers: [4, 66]
Generated Node #0,2,2: 69:[4, 66] Operation: 66/1=66
Exploring Operation: 66*1=66, Resulting Numbers: [4, 66]
Generated Node #0,2,3: 69:[4, 66] Operation: 66*1=66
Exploring Operation: 66+1=67, Resulting Numbers: [4, 67]
Generated Node #0,2,4: 69:[4, 67] Operation: 66+1=67
Moving to Node #0,2,0
Current State: 69:[66, 3], Operations: ['18-17=1', '4-1=3']
Exploring Operation: 66*3=198, Resulting Numbers: [198]
198,69 unequal: No Solution
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[66, 4, 18, 17], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [66, 4, 1]
Generated Node #0,2: 69:[66, 4, 1] Operation: 18-17=1
Moving to Node #0,2
Current State: 69:[66, 4, 1], Operations: ['18-17=1']
Exploring Operation: 4-1=3, Resulting Numbers: [66, 3]
Generated Node #0,2,0: 69:[66, 3] Operation: 4-1=3
Moving to Node #0,2,0
Current State: 69:[66, 3], Operations: ['18-17=1', '4-1=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
48,
30,
60,
87
] | 41 | [
"87-48=39",
"60/30=2",
"39+2=41"
] | Current State: 41:[48, 30, 60, 87], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [30, 60, 39]
Generated Node #2: [30, 60, 39] from Operation: 87-48=39
Current State: 41:[30, 60, 39], Operations: ['87-48=39']
Exploring Operation: 60/30=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 60/30=2
Current State: 41:[39, 2], Operations: ['87-48=39', '60/30=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[48, 30, 60, 87], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [30, 60, 39]
Generated Node #0,0: 41:[30, 60, 39] Operation: 87-48=39
Exploring Operation: 87-30=57, Resulting Numbers: [48, 60, 57]
Generated Node #0,1: 41:[48, 60, 57] Operation: 87-30=57
Exploring Operation: 87-60=27, Resulting Numbers: [48, 30, 27]
Generated Node #0,2: 41:[48, 30, 27] Operation: 87-60=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[30, 60, 39], Operations: ['87-48=39']
Exploring Operation: 60-30=30, Resulting Numbers: [39, 30]
Generated Node #0,0,0: 41:[39, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [39, 2]
Generated Node #0,0,1: 41:[39, 2] Operation: 60/30=2
Exploring Operation: 60-39=21, Resulting Numbers: [30, 21]
Generated Node #0,0,2: 41:[30, 21] Operation: 60-39=21
Moving to Node #0,0,0
Current State: 41:[39, 30], Operations: ['87-48=39', '60-30=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[30, 21], Operations: ['87-48=39', '60-39=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,41 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[39, 2], Operations: ['87-48=39', '60/30=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[48, 30, 60, 87], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [30, 60, 39]
Generated Node #0,0: 41:[30, 60, 39] Operation: 87-48=39
Moving to Node #0,0
Current State: 41:[30, 60, 39], Operations: ['87-48=39']
Exploring Operation: 60/30=2, Resulting Numbers: [39, 2]
Generated Node #0,0,1: 41:[39, 2] Operation: 60/30=2
Moving to Node #0,0,1
Current State: 41:[39, 2], Operations: ['87-48=39', '60/30=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
11,
43,
11,
55
] | 47 | [
"55-11=44",
"44/11=4",
"43+4=47"
] | Current State: 47:[11, 43, 11, 55], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [43, 44]
Generated Node #2: [43, 44] from Operation: 55-11=44
Current State: 47:[43, 44], Operations: ['55-11=44']
Exploring Operation: 44/11=4, Resulting Numbers: [43, 4]
Generated Node #3: [43, 4] from Operation: 44/11=4
Current State: 47:[43, 4], Operations: ['55-11=44', '44/11=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[11, 43, 11, 55], Operations: []
Exploring Operation: 43+11=54, Resulting Numbers: [11, 55, 54]
Generated Node #0,0: 47:[11, 55, 54] Operation: 43+11=54
Exploring Operation: 11+43=54, Resulting Numbers: [11, 55, 54]
Generated Node #0,1: 47:[11, 55, 54] Operation: 11+43=54
Exploring Operation: 55-11=44, Resulting Numbers: [11, 43, 44]
Generated Node #0,2: 47:[11, 43, 44] Operation: 55-11=44
Exploring Operation: 55-11=44, Resulting Numbers: [43, 11, 44]
Generated Node #0,3: 47:[43, 11, 44] Operation: 55-11=44
Exploring Operation: 11+11=22, Resulting Numbers: [43, 55, 22]
Generated Node #0,4: 47:[43, 55, 22] Operation: 11+11=22
Start Sub Search at level 1: Moving to Node #0,4
Current State: 47:[43, 55, 22], Operations: ['11+11=22']
Exploring Operation: 55-22=33, Resulting Numbers: [43, 33]
Generated Node #0,4,0: 47:[43, 33] Operation: 55-22=33
Exploring Operation: 43-22=21, Resulting Numbers: [55, 21]
Generated Node #0,4,1: 47:[55, 21] Operation: 43-22=21
Exploring Operation: 55-43=12, Resulting Numbers: [22, 12]
Generated Node #0,4,2: 47:[22, 12] Operation: 55-43=12
Exploring Operation: 55+22=77, Resulting Numbers: [43, 77]
Generated Node #0,4,3: 47:[43, 77] Operation: 55+22=77
Exploring Operation: 43+22=65, Resulting Numbers: [55, 65]
Generated Node #0,4,4: 47:[55, 65] Operation: 43+22=65
Moving to Node #0,4,0
Current State: 47:[43, 33], Operations: ['11+11=22', '55-22=33']
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,47 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,4,4
Current State: 47:[55, 65], Operations: ['11+11=22', '43+22=65']
Exploring Operation: 55*65=3575, Resulting Numbers: [3575]
3575,47 unequal: No Solution
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 55+65=120, Resulting Numbers: [120]
120,47 unequal: No Solution
Moving to Node #0,4,1
Current State: 47:[55, 21], Operations: ['11+11=22', '43-22=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,47 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,4,3
Current State: 47:[43, 77], Operations: ['11+11=22', '55+22=77']
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,47 unequal: No Solution
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,47 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Moving to Node #0,4,2
Current State: 47:[22, 12], Operations: ['11+11=22', '55-43=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,47 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,47 unequal: No Solution
No 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: 47:[11, 43, 44], Operations: ['55-11=44']
Exploring Operation: 44/11=4, Resulting Numbers: [43, 4]
Generated Node #0,2,0: 47:[43, 4] Operation: 44/11=4
Exploring Operation: 11+44=55, Resulting Numbers: [43, 55]
Generated Node #0,2,1: 47:[43, 55] Operation: 11+44=55
Exploring Operation: 43-11=32, Resulting Numbers: [44, 32]
Generated Node #0,2,2: 47:[44, 32] Operation: 43-11=32
Exploring Operation: 11+43=54, Resulting Numbers: [44, 54]
Generated Node #0,2,3: 47:[44, 54] Operation: 11+43=54
Exploring Operation: 44-11=33, Resulting Numbers: [43, 33]
Generated Node #0,2,4: 47:[43, 33] Operation: 44-11=33
Moving to Node #0,2,3
Current State: 47:[44, 54], Operations: ['55-11=44', '11+43=54']
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,47 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[43, 55], Operations: ['55-11=44', '11+44=55']
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,47 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[44, 32], Operations: ['55-11=44', '43-11=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,47 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,47 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[43, 33], Operations: ['55-11=44', '44-11=33']
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[43, 4], Operations: ['55-11=44', '44/11=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,47 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[11, 43, 11, 55], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [11, 43, 44]
Generated Node #0,2: 47:[11, 43, 44] Operation: 55-11=44
Moving to Node #0,2
Current State: 47:[11, 43, 44], Operations: ['55-11=44']
Exploring Operation: 44/11=4, Resulting Numbers: [43, 4]
Generated Node #0,2,0: 47:[43, 4] Operation: 44/11=4
Moving to Node #0,2,0
Current State: 47:[43, 4], Operations: ['55-11=44', '44/11=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_5 | sum_heuristic |
[
80,
37,
43,
15
] | 15 | [
"80-37=43",
"43+15=58",
"58-43=15"
] | Current State: 15:[80, 37, 43, 15], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [43, 15, 43]
Generated Node #2: [43, 15, 43] from Operation: 80-37=43
Current State: 15:[43, 15, 43], Operations: ['80-37=43']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,15 equal: Goal Reached
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[80, 37, 43, 15], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [43, 15, 43]
Generated Node #0,0: 15:[43, 15, 43] Operation: 80-37=43
Exploring Operation: 43-37=6, Resulting Numbers: [80, 15, 6]
Generated Node #0,1: 15:[80, 15, 6] Operation: 43-37=6
Exploring Operation: 80-15=65, Resulting Numbers: [37, 43, 65]
Generated Node #0,2: 15:[37, 43, 65] Operation: 80-15=65
Exploring Operation: 80-43=37, Resulting Numbers: [37, 15, 37]
Generated Node #0,3: 15:[37, 15, 37] Operation: 80-43=37
Moving to Node #0,3
Current State: 15:[37, 15, 37], Operations: ['80-43=37']
Exploring Operation: 37/37=1, Resulting Numbers: [15, 1]
Generated Node #0,3,0: 15:[15, 1] Operation: 37/37=1
Exploring Operation: 37-15=22, Resulting Numbers: [37, 22]
Generated Node #0,3,1: 15:[37, 22] Operation: 37-15=22
Exploring Operation: 37-37=0, Resulting Numbers: [15, 0]
Generated Node #0,3,2: 15:[15, 0] Operation: 37-37=0
Exploring Operation: 37-15=22, Resulting Numbers: [37, 22]
Generated Node #0,3,3: 15:[37, 22] Operation: 37-15=22
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[15, 1], Operations: ['80-43=37', '37/37=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[80, 37, 43, 15], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [37, 15, 37]
Generated Node #0,3: 15:[37, 15, 37] Operation: 80-43=37
Moving to Node #0,3
Current State: 15:[37, 15, 37], Operations: ['80-43=37']
Exploring Operation: 37/37=1, Resulting Numbers: [15, 1]
Generated Node #0,3,0: 15:[15, 1] Operation: 37/37=1
Moving to Node #0,3,0
Current State: 15:[15, 1], Operations: ['80-43=37', '37/37=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
34,
77,
60,
31
] | 72 | [
"77-34=43",
"60-31=29",
"43+29=72"
] | Current State: 72:[34, 77, 60, 31], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [60, 31, 43]
Generated Node #2: [60, 31, 43] from Operation: 77-34=43
Current State: 72:[60, 31, 43], Operations: ['77-34=43']
Exploring Operation: 60-31=29, Resulting Numbers: [43, 29]
Generated Node #3: [43, 29] from Operation: 60-31=29
Current State: 72:[43, 29], Operations: ['77-34=43', '60-31=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[34, 77, 60, 31], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [34, 31, 17]
Generated Node #0,0: 72:[34, 31, 17] Operation: 77-60=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[34, 31, 17], Operations: ['77-60=17']
Exploring Operation: 34-31=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 72:[17, 3] Operation: 34-31=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[17, 3], Operations: ['77-60=17', '34-31=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,72 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 |
[
78,
33,
47,
34
] | 39 | [
"47-34=13",
"78/13=6",
"33+6=39"
] | Current State: 39:[78, 33, 47, 34], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [78, 33, 13]
Generated Node #2: [78, 33, 13] from Operation: 47-34=13
Current State: 39:[78, 33, 13], Operations: ['47-34=13']
Exploring Operation: 78/13=6, Resulting Numbers: [33, 6]
Generated Node #3: [33, 6] from Operation: 78/13=6
Current State: 39:[33, 6], Operations: ['47-34=13', '78/13=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[78, 33, 47, 34], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [78, 33, 13]
Generated Node #0,0: 39:[78, 33, 13] Operation: 47-34=13
Exploring Operation: 78-34=44, Resulting Numbers: [33, 47, 44]
Generated Node #0,1: 39:[33, 47, 44] Operation: 78-34=44
Exploring Operation: 78-33=45, Resulting Numbers: [47, 34, 45]
Generated Node #0,2: 39:[47, 34, 45] Operation: 78-33=45
Exploring Operation: 78-47=31, Resulting Numbers: [33, 34, 31]
Generated Node #0,3: 39:[33, 34, 31] Operation: 78-47=31
Exploring Operation: 47-33=14, Resulting Numbers: [78, 34, 14]
Generated Node #0,4: 39:[78, 34, 14] Operation: 47-33=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[33, 47, 44], Operations: ['78-34=44']
Exploring Operation: 33+44=77, Resulting Numbers: [47, 77]
Generated Node #0,1,0: 39:[47, 77] Operation: 33+44=77
Exploring Operation: 47-33=14, Resulting Numbers: [44, 14]
Generated Node #0,1,1: 39:[44, 14] Operation: 47-33=14
Exploring Operation: 44-33=11, Resulting Numbers: [47, 11]
Generated Node #0,1,2: 39:[47, 11] Operation: 44-33=11
Exploring Operation: 33+47=80, Resulting Numbers: [44, 80]
Generated Node #0,1,3: 39:[44, 80] Operation: 33+47=80
Exploring Operation: 47-44=3, Resulting Numbers: [33, 3]
Generated Node #0,1,4: 39:[33, 3] Operation: 47-44=3
Moving to Node #0,1,1
Current State: 39:[44, 14], Operations: ['78-34=44', '47-33=14']
Exploring Operation: 44+14=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[33, 3], Operations: ['78-34=44', '47-44=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[47, 11], Operations: ['78-34=44', '44-33=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,39 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[47, 77], Operations: ['78-34=44', '33+44=77']
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,39 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[44, 80], Operations: ['78-34=44', '33+47=80']
Exploring Operation: 44+80=124, Resulting Numbers: [124]
124,39 unequal: No Solution
Exploring Operation: 44*80=3520, Resulting Numbers: [3520]
3520,39 unequal: No Solution
Exploring Operation: 80-44=36, Resulting Numbers: [36]
36,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[47, 34, 45], Operations: ['78-33=45']
Exploring Operation: 45-34=11, Resulting Numbers: [47, 11]
Generated Node #0,2,0: 39:[47, 11] Operation: 45-34=11
Exploring Operation: 47-45=2, Resulting Numbers: [34, 2]
Generated Node #0,2,1: 39:[34, 2] Operation: 47-45=2
Exploring Operation: 47-34=13, Resulting Numbers: [45, 13]
Generated Node #0,2,2: 39:[45, 13] Operation: 47-34=13
Exploring Operation: 47+34=81, Resulting Numbers: [45, 81]
Generated Node #0,2,3: 39:[45, 81] Operation: 47+34=81
Exploring Operation: 34+45=79, Resulting Numbers: [47, 79]
Generated Node #0,2,4: 39:[47, 79] Operation: 34+45=79
Moving to Node #0,2,1
Current State: 39:[34, 2], Operations: ['78-33=45', '47-45=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[45, 13], Operations: ['78-33=45', '47-34=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[47, 11], Operations: ['78-33=45', '45-34=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[45, 81], Operations: ['78-33=45', '47+34=81']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 45*81=3645, Resulting Numbers: [3645]
3645,39 unequal: No Solution
Moving to Node #0,2,4
Current State: 39:[47, 79], Operations: ['78-33=45', '34+45=79']
Exploring Operation: 47*79=3713, Resulting Numbers: [3713]
3713,39 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 47+79=126, Resulting Numbers: [126]
126,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[33, 34, 31], Operations: ['78-47=31']
Exploring Operation: 34+31=65, Resulting Numbers: [33, 65]
Generated Node #0,3,0: 39:[33, 65] Operation: 34+31=65
Exploring Operation: 34-31=3, Resulting Numbers: [33, 3]
Generated Node #0,3,1: 39:[33, 3] Operation: 34-31=3
Exploring Operation: 33+31=64, Resulting Numbers: [34, 64]
Generated Node #0,3,2: 39:[34, 64] Operation: 33+31=64
Exploring Operation: 34-33=1, Resulting Numbers: [31, 1]
Generated Node #0,3,3: 39:[31, 1] Operation: 34-33=1
Exploring Operation: 33-31=2, Resulting Numbers: [34, 2]
Generated Node #0,3,4: 39:[34, 2] Operation: 33-31=2
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[33, 3], Operations: ['78-47=31', '34-31=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,39 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,39 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: 39:[34, 2], Operations: ['78-47=31', '33-31=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,39 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: 39:[31, 1], Operations: ['78-47=31', '34-33=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,39 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: 39:[34, 64], Operations: ['78-47=31', '33+31=64']
Exploring Operation: 34*64=2176, Resulting Numbers: [2176]
2176,39 unequal: No Solution
Exploring Operation: 34+64=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,39 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: 39:[33, 65], Operations: ['78-47=31', '34+31=65']
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,39 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,39 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: 39:[78, 33, 13], Operations: ['47-34=13']
Exploring Operation: 33+13=46, Resulting Numbers: [78, 46]
Generated Node #0,0,0: 39:[78, 46] Operation: 33+13=46
Exploring Operation: 33-13=20, Resulting Numbers: [78, 20]
Generated Node #0,0,1: 39:[78, 20] Operation: 33-13=20
Exploring Operation: 78-33=45, Resulting Numbers: [13, 45]
Generated Node #0,0,2: 39:[13, 45] Operation: 78-33=45
Exploring Operation: 78-13=65, Resulting Numbers: [33, 65]
Generated Node #0,0,3: 39:[33, 65] Operation: 78-13=65
Exploring Operation: 78/13=6, Resulting Numbers: [33, 6]
Generated Node #0,0,4: 39:[33, 6] Operation: 78/13=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[13, 45], Operations: ['47-34=13', '78-33=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,39 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,39 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: 39:[33, 6], Operations: ['47-34=13', '78/13=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[78, 33, 47, 34], Operations: []
Exploring Operation: 47-34=13, Resulting Numbers: [78, 33, 13]
Generated Node #0,0: 39:[78, 33, 13] Operation: 47-34=13
Moving to Node #0,0
Current State: 39:[78, 33, 13], Operations: ['47-34=13']
Exploring Operation: 78/13=6, Resulting Numbers: [33, 6]
Generated Node #0,0,4: 39:[33, 6] Operation: 78/13=6
Moving to Node #0,0,4
Current State: 39:[33, 6], Operations: ['47-34=13', '78/13=6']
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.927083 | hs_5 | sum_heuristic |
[
36,
5,
58,
72
] | 50 | [
"36*5=180",
"58+72=130",
"180-130=50"
] | Current State: 50:[36, 5, 58, 72], Operations: []
Exploring Operation: 36*5=180, Resulting Numbers: [58, 72, 180]
Generated Node #2: [58, 72, 180] from Operation: 36*5=180
Current State: 50:[58, 72, 180], Operations: ['36*5=180']
Exploring Operation: 58+72=130, Resulting Numbers: [180, 130]
Generated Node #3: [180, 130] from Operation: 58+72=130
Current State: 50:[180, 130], Operations: ['36*5=180', '58+72=130']
Exploring Operation: 180-130=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[36, 5, 58, 72], Operations: []
Exploring Operation: 72-58=14, Resulting Numbers: [36, 5, 14]
Generated Node #0,0: 50:[36, 5, 14] Operation: 72-58=14
Exploring Operation: 36-5=31, Resulting Numbers: [58, 72, 31]
Generated Node #0,1: 50:[58, 72, 31] Operation: 36-5=31
Exploring Operation: 72-36=36, Resulting Numbers: [5, 58, 36]
Generated Node #0,2: 50:[5, 58, 36] Operation: 72-36=36
Exploring Operation: 58-36=22, Resulting Numbers: [5, 72, 22]
Generated Node #0,3: 50:[5, 72, 22] Operation: 58-36=22
Exploring Operation: 72/36=2, Resulting Numbers: [5, 58, 2]
Generated Node #0,4: 50:[5, 58, 2] Operation: 72/36=2
Moving to Node #0,4
Current State: 50:[5, 58, 2], Operations: ['72/36=2']
Exploring Operation: 58-5=53, Resulting Numbers: [2, 53]
Generated Node #0,4,0: 50:[2, 53] Operation: 58-5=53
Exploring Operation: 58-2=56, Resulting Numbers: [5, 56]
Generated Node #0,4,1: 50:[5, 56] Operation: 58-2=56
Exploring Operation: 5*2=10, Resulting Numbers: [58, 10]
Generated Node #0,4,2: 50:[58, 10] Operation: 5*2=10
Exploring Operation: 5-2=3, Resulting Numbers: [58, 3]
Generated Node #0,4,3: 50:[58, 3] Operation: 5-2=3
Exploring Operation: 58/2=29, Resulting Numbers: [5, 29]
Generated Node #0,4,4: 50:[5, 29] Operation: 58/2=29
Moving to Node #0,0
Current State: 50:[36, 5, 14], Operations: ['72-58=14']
Exploring Operation: 36+5=41, Resulting Numbers: [14, 41]
Generated Node #0,0,0: 50:[14, 41] Operation: 36+5=41
Exploring Operation: 36+14=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 50:[5, 50] Operation: 36+14=50
Exploring Operation: 14-5=9, Resulting Numbers: [36, 9]
Generated Node #0,0,2: 50:[36, 9] Operation: 14-5=9
Exploring Operation: 36-5=31, Resulting Numbers: [14, 31]
Generated Node #0,0,3: 50:[14, 31] Operation: 36-5=31
Exploring Operation: 36-14=22, Resulting Numbers: [5, 22]
Generated Node #0,0,4: 50:[5, 22] Operation: 36-14=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[5, 50], Operations: ['72-58=14', '36+14=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,50 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No 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: 50:[5, 22], Operations: ['72-58=14', '36-14=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,50 unequal: No Solution
No 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: 50:[14, 31], Operations: ['72-58=14', '36-5=31']
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,50 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,50 unequal: No Solution
No 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: 50:[36, 9], Operations: ['72-58=14', '14-5=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,50 unequal: No Solution
No 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: 50:[14, 41], Operations: ['72-58=14', '36+5=41']
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,50 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,50 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: 50:[5, 58, 36], Operations: ['72-36=36']
Exploring Operation: 5+58=63, Resulting Numbers: [36, 63]
Generated Node #0,2,0: 50:[36, 63] Operation: 5+58=63
Exploring Operation: 58-5=53, Resulting Numbers: [36, 53]
Generated Node #0,2,1: 50:[36, 53] Operation: 58-5=53
Exploring Operation: 58-36=22, Resulting Numbers: [5, 22]
Generated Node #0,2,2: 50:[5, 22] Operation: 58-36=22
Exploring Operation: 36-5=31, Resulting Numbers: [58, 31]
Generated Node #0,2,3: 50:[58, 31] Operation: 36-5=31
Exploring Operation: 5+36=41, Resulting Numbers: [58, 41]
Generated Node #0,2,4: 50:[58, 41] Operation: 5+36=41
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[5, 22], Operations: ['72-36=36', '58-36=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,50 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,50 unequal: No Solution
No 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: 50:[36, 53], Operations: ['72-36=36', '58-5=53']
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,50 unequal: No Solution
No 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: 50:[58, 31], Operations: ['72-36=36', '36-5=31']
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,50 unequal: No Solution
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,50 unequal: No Solution
No 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: 50:[58, 41], Operations: ['72-36=36', '5+36=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,50 unequal: No Solution
No 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: 50:[36, 63], Operations: ['72-36=36', '5+58=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,50 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,50 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: 50:[5, 72, 22], Operations: ['58-36=22']
Exploring Operation: 5+22=27, Resulting Numbers: [72, 27]
Generated Node #0,3,0: 50:[72, 27] Operation: 5+22=27
Exploring Operation: 5+72=77, Resulting Numbers: [22, 77]
Generated Node #0,3,1: 50:[22, 77] Operation: 5+72=77
Exploring Operation: 72-22=50, Resulting Numbers: [5, 50]
Generated Node #0,3,2: 50:[5, 50] Operation: 72-22=50
Exploring Operation: 72-5=67, Resulting Numbers: [22, 67]
Generated Node #0,3,3: 50:[22, 67] Operation: 72-5=67
Exploring Operation: 22-5=17, Resulting Numbers: [72, 17]
Generated Node #0,3,4: 50:[72, 17] Operation: 22-5=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[5, 50], Operations: ['58-36=22', '72-22=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,50 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,50 unequal: No Solution
No 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: 50:[22, 67], Operations: ['58-36=22', '72-5=67']
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 22*67=1474, Resulting Numbers: [1474]
1474,50 unequal: No Solution
Exploring Operation: 22+67=89, Resulting Numbers: [89]
89,50 unequal: No Solution
No 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: 50:[72, 27], Operations: ['58-36=22', '5+22=27']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,50 unequal: No Solution
No 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: 50:[72, 17], Operations: ['58-36=22', '22-5=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,50 unequal: No Solution
No 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: 50:[22, 77], Operations: ['58-36=22', '5+72=77']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,50 unequal: No Solution
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,50 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: 50:[58, 72, 31], Operations: ['36-5=31']
Exploring Operation: 72-31=41, Resulting Numbers: [58, 41]
Generated Node #0,1,0: 50:[58, 41] Operation: 72-31=41
Exploring Operation: 72-58=14, Resulting Numbers: [31, 14]
Generated Node #0,1,1: 50:[31, 14] Operation: 72-58=14
Exploring Operation: 72+31=103, Resulting Numbers: [58, 103]
Generated Node #0,1,2: 50:[58, 103] Operation: 72+31=103
Exploring Operation: 58+31=89, Resulting Numbers: [72, 89]
Generated Node #0,1,3: 50:[72, 89] Operation: 58+31=89
Exploring Operation: 58-31=27, Resulting Numbers: [72, 27]
Generated Node #0,1,4: 50:[72, 27] Operation: 58-31=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[31, 14], Operations: ['36-5=31', '72-58=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,50 unequal: No Solution
No 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: 50:[58, 41], Operations: ['36-5=31', '72-31=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,50 unequal: No Solution
No 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: 50:[72, 27], Operations: ['36-5=31', '58-31=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,50 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,50 unequal: No Solution
No 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: 50:[58, 103], Operations: ['36-5=31', '72+31=103']
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,50 unequal: No Solution
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,50 unequal: No Solution
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No 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: 50:[72, 89], Operations: ['36-5=31', '58+31=89']
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,50 unequal: No Solution
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 50:[2, 53], Operations: ['72/36=2', '58-5=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,50 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[5, 29], Operations: ['72/36=2', '58/2=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,50 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[5, 56], Operations: ['72/36=2', '58-2=56']
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,50 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[58, 10], Operations: ['72/36=2', '5*2=10']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,50 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[58, 3], Operations: ['72/36=2', '5-2=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,50 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,50 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
81,
29,
31,
65
] | 97 | [
"31-29=2",
"81*2=162",
"162-65=97"
] | Current State: 97:[81, 29, 31, 65], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [81, 65, 2]
Generated Node #2: [81, 65, 2] from Operation: 31-29=2
Current State: 97:[81, 65, 2], Operations: ['31-29=2']
Exploring Operation: 81*2=162, Resulting Numbers: [65, 162]
Generated Node #3: [65, 162] from Operation: 81*2=162
Current State: 97:[65, 162], Operations: ['31-29=2', '81*2=162']
Exploring Operation: 162-65=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[81, 29, 31, 65], Operations: []
Exploring Operation: 81+29=110, Resulting Numbers: [31, 65, 110]
Generated Node #0,0: 97:[31, 65, 110] Operation: 81+29=110
Exploring Operation: 29+31=60, Resulting Numbers: [81, 65, 60]
Generated Node #0,1: 97:[81, 65, 60] Operation: 29+31=60
Exploring Operation: 31+65=96, Resulting Numbers: [81, 29, 96]
Generated Node #0,2: 97:[81, 29, 96] Operation: 31+65=96
Exploring Operation: 81+31=112, Resulting Numbers: [29, 65, 112]
Generated Node #0,3: 97:[29, 65, 112] Operation: 81+31=112
Exploring Operation: 29+65=94, Resulting Numbers: [81, 31, 94]
Generated Node #0,4: 97:[81, 31, 94] Operation: 29+65=94
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[81, 65, 60], Operations: ['29+31=60']
Exploring Operation: 65-60=5, Resulting Numbers: [81, 5]
Generated Node #0,1,0: 97:[81, 5] Operation: 65-60=5
Exploring Operation: 81-60=21, Resulting Numbers: [65, 21]
Generated Node #0,1,1: 97:[65, 21] Operation: 81-60=21
Exploring Operation: 81+60=141, Resulting Numbers: [65, 141]
Generated Node #0,1,2: 97:[65, 141] Operation: 81+60=141
Exploring Operation: 81+65=146, Resulting Numbers: [60, 146]
Generated Node #0,1,3: 97:[60, 146] Operation: 81+65=146
Exploring Operation: 65+60=125, Resulting Numbers: [81, 125]
Generated Node #0,1,4: 97:[81, 125] Operation: 65+60=125
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 97:[81, 125], Operations: ['29+31=60', '65+60=125']
Exploring Operation: 81+125=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 81*125=10125, Resulting Numbers: [10125]
10125,97 unequal: No Solution
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[65, 141], Operations: ['29+31=60', '81+60=141']
Exploring Operation: 65*141=9165, Resulting Numbers: [9165]
9165,97 unequal: No Solution
Exploring Operation: 65+141=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 141-65=76, Resulting Numbers: [76]
76,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[60, 146], Operations: ['29+31=60', '81+65=146']
Exploring Operation: 146-60=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 60+146=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 60*146=8760, Resulting Numbers: [8760]
8760,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[81, 5], Operations: ['29+31=60', '65-60=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,97 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[65, 21], Operations: ['29+31=60', '81-60=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[81, 29, 96], Operations: ['31+65=96']
Exploring Operation: 81+96=177, Resulting Numbers: [29, 177]
Generated Node #0,2,0: 97:[29, 177] Operation: 81+96=177
Exploring Operation: 96-29=67, Resulting Numbers: [81, 67]
Generated Node #0,2,1: 97:[81, 67] Operation: 96-29=67
Exploring Operation: 29+96=125, Resulting Numbers: [81, 125]
Generated Node #0,2,2: 97:[81, 125] Operation: 29+96=125
Exploring Operation: 81+29=110, Resulting Numbers: [96, 110]
Generated Node #0,2,3: 97:[96, 110] Operation: 81+29=110
Exploring Operation: 81-29=52, Resulting Numbers: [96, 52]
Generated Node #0,2,4: 97:[96, 52] Operation: 81-29=52
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[96, 110], Operations: ['31+65=96', '81+29=110']
Exploring Operation: 96+110=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 96*110=10560, Resulting Numbers: [10560]
10560,97 unequal: No Solution
Exploring Operation: 110-96=14, Resulting Numbers: [14]
14,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,2,2
Current State: 97:[81, 125], Operations: ['31+65=96', '29+96=125']
Exploring Operation: 81*125=10125, Resulting Numbers: [10125]
10125,97 unequal: No Solution
Exploring Operation: 81+125=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,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,2,1
Current State: 97:[81, 67], Operations: ['31+65=96', '96-29=67']
Exploring Operation: 81*67=5427, Resulting Numbers: [5427]
5427,97 unequal: No Solution
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,97 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,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,2,4
Current State: 97:[96, 52], Operations: ['31+65=96', '81-29=52']
Exploring Operation: 96+52=148, Resulting Numbers: [148]
148,97 unequal: No Solution
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 96*52=4992, Resulting Numbers: [4992]
4992,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,2,0
Current State: 97:[29, 177], Operations: ['31+65=96', '81+96=177']
Exploring Operation: 29*177=5133, Resulting Numbers: [5133]
5133,97 unequal: No Solution
Exploring Operation: 29+177=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 177-29=148, Resulting Numbers: [148]
148,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 97:[81, 31, 94], Operations: ['29+65=94']
Exploring Operation: 81+94=175, Resulting Numbers: [31, 175]
Generated Node #0,4,0: 97:[31, 175] Operation: 81+94=175
Exploring Operation: 31+94=125, Resulting Numbers: [81, 125]
Generated Node #0,4,1: 97:[81, 125] Operation: 31+94=125
Exploring Operation: 81+31=112, Resulting Numbers: [94, 112]
Generated Node #0,4,2: 97:[94, 112] Operation: 81+31=112
Exploring Operation: 94-31=63, Resulting Numbers: [81, 63]
Generated Node #0,4,3: 97:[81, 63] Operation: 94-31=63
Exploring Operation: 81-31=50, Resulting Numbers: [94, 50]
Generated Node #0,4,4: 97:[94, 50] Operation: 81-31=50
Moving to Node #0,4,2
Current State: 97:[94, 112], Operations: ['29+65=94', '81+31=112']
Exploring Operation: 94+112=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 112-94=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 94*112=10528, Resulting Numbers: [10528]
10528,97 unequal: No Solution
Moving to Node #0,4,1
Current State: 97:[81, 125], Operations: ['29+65=94', '31+94=125']
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 81*125=10125, Resulting Numbers: [10125]
10125,97 unequal: No Solution
Exploring Operation: 81+125=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Moving to Node #0,4,3
Current State: 97:[81, 63], Operations: ['29+65=94', '94-31=63']
Exploring Operation: 81*63=5103, Resulting Numbers: [5103]
5103,97 unequal: No Solution
Exploring Operation: 81+63=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 81-63=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Moving to Node #0,4,4
Current State: 97:[94, 50], Operations: ['29+65=94', '81-31=50']
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,97 unequal: No Solution
Moving to Node #0,4,0
Current State: 97:[31, 175], Operations: ['29+65=94', '81+94=175']
Exploring Operation: 175-31=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 31+175=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 31*175=5425, Resulting Numbers: [5425]
5425,97 unequal: No Solution
No 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: 97:[31, 65, 110], Operations: ['81+29=110']
Exploring Operation: 31+65=96, Resulting Numbers: [110, 96]
Generated Node #0,0,0: 97:[110, 96] Operation: 31+65=96
Exploring Operation: 65-31=34, Resulting Numbers: [110, 34]
Generated Node #0,0,1: 97:[110, 34] Operation: 65-31=34
Exploring Operation: 110-65=45, Resulting Numbers: [31, 45]
Generated Node #0,0,2: 97:[31, 45] Operation: 110-65=45
Exploring Operation: 110-31=79, Resulting Numbers: [65, 79]
Generated Node #0,0,3: 97:[65, 79] Operation: 110-31=79
Exploring Operation: 31+110=141, Resulting Numbers: [65, 141]
Generated Node #0,0,4: 97:[65, 141] Operation: 31+110=141
Moving to Node #0,0,0
Current State: 97:[110, 96], Operations: ['81+29=110', '31+65=96']
Exploring Operation: 110*96=10560, Resulting Numbers: [10560]
10560,97 unequal: No Solution
Exploring Operation: 110+96=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 110-96=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[65, 79], Operations: ['81+29=110', '110-31=79']
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,97 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[110, 34], Operations: ['81+29=110', '65-31=34']
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 110*34=3740, Resulting Numbers: [3740]
3740,97 unequal: No Solution
Exploring Operation: 110+34=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[65, 141], Operations: ['81+29=110', '31+110=141']
Exploring Operation: 65+141=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 141-65=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 65*141=9165, Resulting Numbers: [9165]
9165,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[31, 45], Operations: ['81+29=110', '110-65=45']
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,97 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,97 unequal: No Solution
No 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: 97:[29, 65, 112], Operations: ['81+31=112']
Exploring Operation: 112-29=83, Resulting Numbers: [65, 83]
Generated Node #0,3,0: 97:[65, 83] Operation: 112-29=83
Exploring Operation: 29+65=94, Resulting Numbers: [112, 94]
Generated Node #0,3,1: 97:[112, 94] Operation: 29+65=94
Exploring Operation: 112-65=47, Resulting Numbers: [29, 47]
Generated Node #0,3,2: 97:[29, 47] Operation: 112-65=47
Exploring Operation: 29+112=141, Resulting Numbers: [65, 141]
Generated Node #0,3,3: 97:[65, 141] Operation: 29+112=141
Exploring Operation: 65-29=36, Resulting Numbers: [112, 36]
Generated Node #0,3,4: 97:[112, 36] Operation: 65-29=36
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[112, 94], Operations: ['81+31=112', '29+65=94']
Exploring Operation: 112-94=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 112+94=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 112*94=10528, Resulting Numbers: [10528]
10528,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,3,0
Current State: 97:[65, 83], Operations: ['81+31=112', '112-29=83']
Exploring Operation: 65+83=148, Resulting Numbers: [148]
148,97 unequal: No Solution
Exploring Operation: 65*83=5395, Resulting Numbers: [5395]
5395,97 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,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,3,3
Current State: 97:[65, 141], Operations: ['81+31=112', '29+112=141']
Exploring Operation: 65+141=206, Resulting Numbers: [206]
206,97 unequal: No Solution
Exploring Operation: 141-65=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 65*141=9165, Resulting Numbers: [9165]
9165,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,3,4
Current State: 97:[112, 36], Operations: ['81+31=112', '65-29=36']
Exploring Operation: 112+36=148, Resulting Numbers: [148]
148,97 unequal: No Solution
Exploring Operation: 112*36=4032, Resulting Numbers: [4032]
4032,97 unequal: No Solution
Exploring Operation: 112-36=76, Resulting Numbers: [76]
76,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,3,2
Current State: 97:[29, 47], Operations: ['81+31=112', '112-65=47']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.