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 |
|---|---|---|---|---|---|---|---|---|
[
1,
40,
67,
58
] | 50 | [
"1+40=41",
"67-58=9",
"41+9=50"
] | Current State: 50:[1, 40, 67, 58], Operations: []
Exploring Operation: 1+40=41, Resulting Numbers: [67, 58, 41]
Generated Node #2: [67, 58, 41] from Operation: 1+40=41
Current State: 50:[67, 58, 41], Operations: ['1+40=41']
Exploring Operation: 67-58=9, Resulting Numbers: [41, 9]
Generated Node #3: [41, 9] from Operation: 67-58=9
Current State: 50:[41, 9], Operations: ['1+40=41', '67-58=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[1, 40, 67, 58], Operations: []
Exploring Operation: 67-40=27, Resulting Numbers: [1, 58, 27]
Generated Node #0,0: 50:[1, 58, 27] Operation: 67-40=27
Moving to Node #0,0
Current State: 50:[1, 58, 27], Operations: ['67-40=27']
Exploring Operation: 58-27=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 50:[1, 31] Operation: 58-27=31
Moving to Node #0,0,0
Current State: 50:[1, 31], Operations: ['67-40=27', '58-27=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
22,
66,
44
] | 86 | [
"66-22=44",
"44/44=1",
"85+1=86"
] | Current State: 86:[85, 22, 66, 44], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [85, 44, 44]
Generated Node #2: [85, 44, 44] from Operation: 66-22=44
Current State: 86:[85, 44, 44], Operations: ['66-22=44']
Exploring Operation: 44/44=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 44/44=1
Current State: 86:[85, 1], Operations: ['66-22=44', '44/44=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[85, 22, 66, 44], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [85, 44, 3]
Generated Node #0,0: 86:[85, 44, 3] Operation: 66/22=3
Exploring Operation: 66-22=44, Resulting Numbers: [85, 44, 44]
Generated Node #0,1: 86:[85, 44, 44] Operation: 66-22=44
Moving to Node #0,0
Current State: 86:[85, 44, 3], Operations: ['66/22=3']
Exploring Operation: 85-44=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 86:[3, 41] Operation: 85-44=41
Exploring Operation: 85+3=88, Resulting Numbers: [44, 88]
Generated Node #0,0,1: 86:[44, 88] Operation: 85+3=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[3, 41], Operations: ['66/22=3', '85-44=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No 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: 86:[44, 88], Operations: ['66/22=3', '85+3=88']
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,86 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: 86:[85, 44, 44], Operations: ['66-22=44']
Exploring Operation: 44/44=1, Resulting Numbers: [85, 1]
Generated Node #0,1,0: 86:[85, 1] Operation: 44/44=1
Exploring Operation: 85-44=41, Resulting Numbers: [44, 41]
Generated Node #0,1,1: 86:[44, 41] Operation: 85-44=41
Moving to Node #0,1,0
Current State: 86:[85, 1], Operations: ['66-22=44', '44/44=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[85, 22, 66, 44], Operations: []
Exploring Operation: 66-22=44, Resulting Numbers: [85, 44, 44]
Generated Node #0,1: 86:[85, 44, 44] Operation: 66-22=44
Moving to Node #0,1
Current State: 86:[85, 44, 44], Operations: ['66-22=44']
Exploring Operation: 44/44=1, Resulting Numbers: [85, 1]
Generated Node #0,1,0: 86:[85, 1] Operation: 44/44=1
Moving to Node #0,1,0
Current State: 86:[85, 1], Operations: ['66-22=44', '44/44=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
27,
15,
9,
98
] | 65 | [
"27+15=42",
"9+98=107",
"107-42=65"
] | Current State: 65:[27, 15, 9, 98], Operations: []
Exploring Operation: 27+15=42, Resulting Numbers: [9, 98, 42]
Generated Node #2: [9, 98, 42] from Operation: 27+15=42
Current State: 65:[9, 98, 42], Operations: ['27+15=42']
Exploring Operation: 9+98=107, Resulting Numbers: [42, 107]
Generated Node #3: [42, 107] from Operation: 9+98=107
Current State: 65:[42, 107], Operations: ['27+15=42', '9+98=107']
Exploring Operation: 107-42=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[27, 15, 9, 98], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [15, 9, 71]
Generated Node #0,0: 65:[15, 9, 71] Operation: 98-27=71
Moving to Node #0,0
Current State: 65:[15, 9, 71], Operations: ['98-27=71']
Exploring Operation: 71-9=62, Resulting Numbers: [15, 62]
Generated Node #0,0,0: 65:[15, 62] Operation: 71-9=62
Moving to Node #0,0,0
Current State: 65:[15, 62], Operations: ['98-27=71', '71-9=62']
Exploring Operation: 15+62=77, Resulting Numbers: [77]
77,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
29,
3,
24
] | 67 | [
"40*3=120",
"29+24=53",
"120-53=67"
] | Current State: 67:[40, 29, 3, 24], Operations: []
Exploring Operation: 40*3=120, Resulting Numbers: [29, 24, 120]
Generated Node #2: [29, 24, 120] from Operation: 40*3=120
Current State: 67:[29, 24, 120], Operations: ['40*3=120']
Exploring Operation: 29+24=53, Resulting Numbers: [120, 53]
Generated Node #3: [120, 53] from Operation: 29+24=53
Current State: 67:[120, 53], Operations: ['40*3=120', '29+24=53']
Exploring Operation: 120-53=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[40, 29, 3, 24], Operations: []
Exploring Operation: 40+3=43, Resulting Numbers: [29, 24, 43]
Generated Node #0,0: 67:[29, 24, 43] Operation: 40+3=43
Exploring Operation: 3*24=72, Resulting Numbers: [40, 29, 72]
Generated Node #0,1: 67:[40, 29, 72] Operation: 3*24=72
Exploring Operation: 29*3=87, Resulting Numbers: [40, 24, 87]
Generated Node #0,2: 67:[40, 24, 87] Operation: 29*3=87
Moving to Node #0,1
Current State: 67:[40, 29, 72], Operations: ['3*24=72']
Exploring Operation: 40-29=11, Resulting Numbers: [72, 11]
Generated Node #0,1,0: 67:[72, 11] Operation: 40-29=11
Exploring Operation: 40+29=69, Resulting Numbers: [72, 69]
Generated Node #0,1,1: 67:[72, 69] Operation: 40+29=69
Exploring Operation: 72-29=43, Resulting Numbers: [40, 43]
Generated Node #0,1,2: 67:[40, 43] Operation: 72-29=43
Moving to Node #0,2
Current State: 67:[40, 24, 87], Operations: ['29*3=87']
Exploring Operation: 87-24=63, Resulting Numbers: [40, 63]
Generated Node #0,2,0: 67:[40, 63] Operation: 87-24=63
Exploring Operation: 40+24=64, Resulting Numbers: [87, 64]
Generated Node #0,2,1: 67:[87, 64] Operation: 40+24=64
Exploring Operation: 87-40=47, Resulting Numbers: [24, 47]
Generated Node #0,2,2: 67:[24, 47] Operation: 87-40=47
Moving to Node #0,0
Current State: 67:[29, 24, 43], Operations: ['40+3=43']
Exploring Operation: 24+43=67, Resulting Numbers: [29, 67]
Generated Node #0,0,0: 67:[29, 67] Operation: 24+43=67
Exploring Operation: 29+24=53, Resulting Numbers: [43, 53]
Generated Node #0,0,1: 67:[43, 53] Operation: 29+24=53
Exploring Operation: 29+43=72, Resulting Numbers: [24, 72]
Generated Node #0,0,2: 67:[24, 72] Operation: 29+43=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[29, 67], Operations: ['40+3=43', '24+43=67']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 29*67=1943, Resulting Numbers: [1943]
1943,67 unequal: No Solution
Exploring Operation: 29+67=96, Resulting Numbers: [96]
96,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[43, 53], Operations: ['40+3=43', '29+24=53']
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,67 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[24, 72], Operations: ['40+3=43', '29+43=72']
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 67:[72, 69], Operations: ['3*24=72', '40+29=69']
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 72*69=4968, Resulting Numbers: [4968]
4968,67 unequal: No Solution
Exploring Operation: 72+69=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[87, 64], Operations: ['29*3=87', '40+24=64']
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 87*64=5568, Resulting Numbers: [5568]
5568,67 unequal: No Solution
Exploring Operation: 87+64=151, Resulting Numbers: [151]
151,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[40, 63], Operations: ['29*3=87', '87-24=63']
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,67 unequal: No Solution
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,67 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[40, 43], Operations: ['3*24=72', '72-29=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[72, 11], Operations: ['3*24=72', '40-29=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[24, 47], Operations: ['29*3=87', '87-40=47']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,67 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,67 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
38,
31,
31
] | 42 | [
"3+38=41",
"31/31=1",
"41+1=42"
] | Current State: 42:[3, 38, 31, 31], Operations: []
Exploring Operation: 3+38=41, Resulting Numbers: [31, 31, 41]
Generated Node #2: [31, 31, 41] from Operation: 3+38=41
Current State: 42:[31, 31, 41], Operations: ['3+38=41']
Exploring Operation: 31/31=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 31/31=1
Current State: 42:[41, 1], Operations: ['3+38=41', '31/31=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[3, 38, 31, 31], Operations: []
Exploring Operation: 31/31=1, Resulting Numbers: [3, 38, 1]
Generated Node #0,0: 42:[3, 38, 1] Operation: 31/31=1
Exploring Operation: 38-31=7, Resulting Numbers: [3, 31, 7]
Generated Node #0,1: 42:[3, 31, 7] Operation: 38-31=7
Exploring Operation: 31-31=0, Resulting Numbers: [3, 38, 0]
Generated Node #0,2: 42:[3, 38, 0] Operation: 31-31=0
Exploring Operation: 38-31=7, Resulting Numbers: [3, 31, 7]
Generated Node #0,3: 42:[3, 31, 7] Operation: 38-31=7
Moving to Node #0,0
Current State: 42:[3, 38, 1], Operations: ['31/31=1']
Exploring Operation: 3-1=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 42:[38, 2] Operation: 3-1=2
Exploring Operation: 3*1=3, Resulting Numbers: [38, 3]
Generated Node #0,0,1: 42:[38, 3] Operation: 3*1=3
Exploring Operation: 38+1=39, Resulting Numbers: [3, 39]
Generated Node #0,0,2: 42:[3, 39] Operation: 38+1=39
Exploring Operation: 3+38=41, Resulting Numbers: [1, 41]
Generated Node #0,0,3: 42:[1, 41] Operation: 3+38=41
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[1, 41], Operations: ['31/31=1', '3+38=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[3, 38, 31, 31], Operations: []
Exploring Operation: 31/31=1, Resulting Numbers: [3, 38, 1]
Generated Node #0,0: 42:[3, 38, 1] Operation: 31/31=1
Moving to Node #0,0
Current State: 42:[3, 38, 1], Operations: ['31/31=1']
Exploring Operation: 3+38=41, Resulting Numbers: [1, 41]
Generated Node #0,0,3: 42:[1, 41] Operation: 3+38=41
Moving to Node #0,0,3
Current State: 42:[1, 41], Operations: ['31/31=1', '3+38=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
60,
53,
3,
79
] | 31 | [
"60+53=113",
"3+79=82",
"113-82=31"
] | Current State: 31:[60, 53, 3, 79], Operations: []
Exploring Operation: 60+53=113, Resulting Numbers: [3, 79, 113]
Generated Node #2: [3, 79, 113] from Operation: 60+53=113
Current State: 31:[3, 79, 113], Operations: ['60+53=113']
Exploring Operation: 3+79=82, Resulting Numbers: [113, 82]
Generated Node #3: [113, 82] from Operation: 3+79=82
Current State: 31:[113, 82], Operations: ['60+53=113', '3+79=82']
Exploring Operation: 113-82=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[60, 53, 3, 79], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [60, 3, 26]
Generated Node #0,0: 31:[60, 3, 26] Operation: 79-53=26
Exploring Operation: 79-60=19, Resulting Numbers: [53, 3, 19]
Generated Node #0,1: 31:[53, 3, 19] Operation: 79-60=19
Exploring Operation: 60/3=20, Resulting Numbers: [53, 79, 20]
Generated Node #0,2: 31:[53, 79, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [53, 79, 57]
Generated Node #0,3: 31:[53, 79, 57] Operation: 60-3=57
Moving to Node #0,0
Current State: 31:[60, 3, 26], Operations: ['79-53=26']
Exploring Operation: 3+26=29, Resulting Numbers: [60, 29]
Generated Node #0,0,0: 31:[60, 29] Operation: 3+26=29
Exploring Operation: 60/3=20, Resulting Numbers: [26, 20]
Generated Node #0,0,1: 31:[26, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [26, 57]
Generated Node #0,0,2: 31:[26, 57] Operation: 60-3=57
Exploring Operation: 60-26=34, Resulting Numbers: [3, 34]
Generated Node #0,0,3: 31:[3, 34] Operation: 60-26=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[26, 20], Operations: ['79-53=26', '60/3=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,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,0
Current State: 31:[60, 29], Operations: ['79-53=26', '3+26=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,31 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[60, 53, 3, 79], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [60, 3, 26]
Generated Node #0,0: 31:[60, 3, 26] Operation: 79-53=26
Moving to Node #0,0
Current State: 31:[60, 3, 26], Operations: ['79-53=26']
Exploring Operation: 3+26=29, Resulting Numbers: [60, 29]
Generated Node #0,0,0: 31:[60, 29] Operation: 3+26=29
Moving to Node #0,0,0
Current State: 31:[60, 29], Operations: ['79-53=26', '3+26=29']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
68,
68,
85,
24
] | 20 | [
"85-68=17",
"68/17=4",
"24-4=20"
] | Current State: 20:[68, 68, 85, 24], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [24, 17]
Generated Node #2: [24, 17] from Operation: 85-68=17
Current State: 20:[24, 17], Operations: ['85-68=17']
Exploring Operation: 68/17=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 68/17=4
Current State: 20:[24, 4], Operations: ['85-68=17', '68/17=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[68, 68, 85, 24], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [68, 24, 17]
Generated Node #0,0: 20:[68, 24, 17] Operation: 85-68=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[68, 24, 17], Operations: ['85-68=17']
Exploring Operation: 68/17=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 20:[24, 4] Operation: 68/17=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[24, 4], Operations: ['85-68=17', '68/17=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[68, 68, 85, 24], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [68, 24, 17]
Generated Node #0,0: 20:[68, 24, 17] Operation: 85-68=17
Moving to Node #0,0
Current State: 20:[68, 24, 17], Operations: ['85-68=17']
Exploring Operation: 68/17=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 20:[24, 4] Operation: 68/17=4
Moving to Node #0,0,0
Current State: 20:[24, 4], Operations: ['85-68=17', '68/17=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
23,
35,
84,
83
] | 57 | [
"23+35=58",
"84-83=1",
"58-1=57"
] | Current State: 57:[23, 35, 84, 83], Operations: []
Exploring Operation: 23+35=58, Resulting Numbers: [84, 83, 58]
Generated Node #2: [84, 83, 58] from Operation: 23+35=58
Current State: 57:[84, 83, 58], Operations: ['23+35=58']
Exploring Operation: 84-83=1, Resulting Numbers: [58, 1]
Generated Node #3: [58, 1] from Operation: 84-83=1
Current State: 57:[58, 1], Operations: ['23+35=58', '84-83=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[23, 35, 84, 83], Operations: []
Exploring Operation: 84-35=49, Resulting Numbers: [23, 83, 49]
Generated Node #0,0: 57:[23, 83, 49] Operation: 84-35=49
Exploring Operation: 84-83=1, Resulting Numbers: [23, 35, 1]
Generated Node #0,1: 57:[23, 35, 1] Operation: 84-83=1
Exploring Operation: 83-35=48, Resulting Numbers: [23, 84, 48]
Generated Node #0,2: 57:[23, 84, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[23, 35, 1], Operations: ['84-83=1']
Exploring Operation: 23+35=58, Resulting Numbers: [1, 58]
Generated Node #0,1,0: 57:[1, 58] Operation: 23+35=58
Exploring Operation: 35-23=12, Resulting Numbers: [1, 12]
Generated Node #0,1,1: 57:[1, 12] Operation: 35-23=12
Exploring Operation: 23-1=22, Resulting Numbers: [35, 22]
Generated Node #0,1,2: 57:[35, 22] Operation: 23-1=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[1, 58], Operations: ['84-83=1', '23+35=58']
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[23, 35, 84, 83], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [23, 35, 1]
Generated Node #0,1: 57:[23, 35, 1] Operation: 84-83=1
Moving to Node #0,1
Current State: 57:[23, 35, 1], Operations: ['84-83=1']
Exploring Operation: 23+35=58, Resulting Numbers: [1, 58]
Generated Node #0,1,0: 57:[1, 58] Operation: 23+35=58
Moving to Node #0,1,0
Current State: 57:[1, 58], Operations: ['84-83=1', '23+35=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
74,
19,
75,
88
] | 69 | [
"75-74=1",
"88-19=69",
"1*69=69"
] | Current State: 69:[74, 19, 75, 88], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [19, 88, 1]
Generated Node #2: [19, 88, 1] from Operation: 75-74=1
Current State: 69:[19, 88, 1], Operations: ['75-74=1']
Exploring Operation: 88-19=69, Resulting Numbers: [1, 69]
Generated Node #3: [1, 69] from Operation: 88-19=69
Current State: 69:[1, 69], Operations: ['75-74=1', '88-19=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[74, 19, 75, 88], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [19, 75, 14]
Generated Node #0,0: 69:[19, 75, 14] Operation: 88-74=14
Exploring Operation: 88-19=69, Resulting Numbers: [74, 75, 69]
Generated Node #0,1: 69:[74, 75, 69] Operation: 88-19=69
Exploring Operation: 75-74=1, Resulting Numbers: [19, 88, 1]
Generated Node #0,2: 69:[19, 88, 1] Operation: 75-74=1
Exploring Operation: 88-75=13, Resulting Numbers: [74, 19, 13]
Generated Node #0,3: 69:[74, 19, 13] Operation: 88-75=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[74, 75, 69], Operations: ['88-19=69']
Exploring Operation: 75-69=6, Resulting Numbers: [74, 6]
Generated Node #0,1,0: 69:[74, 6] Operation: 75-69=6
Exploring Operation: 75-74=1, Resulting Numbers: [69, 1]
Generated Node #0,1,1: 69:[69, 1] Operation: 75-74=1
Exploring Operation: 74-69=5, Resulting Numbers: [75, 5]
Generated Node #0,1,2: 69:[75, 5] Operation: 74-69=5
Exploring Operation: 74+75=149, Resulting Numbers: [69, 149]
Generated Node #0,1,3: 69:[69, 149] Operation: 74+75=149
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[69, 1], Operations: ['88-19=69', '75-74=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[74, 19, 75, 88], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [74, 75, 69]
Generated Node #0,1: 69:[74, 75, 69] Operation: 88-19=69
Moving to Node #0,1
Current State: 69:[74, 75, 69], Operations: ['88-19=69']
Exploring Operation: 75-74=1, Resulting Numbers: [69, 1]
Generated Node #0,1,1: 69:[69, 1] Operation: 75-74=1
Moving to Node #0,1,1
Current State: 69:[69, 1], Operations: ['88-19=69', '75-74=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
26,
9,
58,
21
] | 36 | [
"26+58=84",
"9*84=756",
"756/21=36"
] | Current State: 36:[26, 9, 58, 21], Operations: []
Exploring Operation: 26+58=84, Resulting Numbers: [9, 21, 84]
Generated Node #2: [9, 21, 84] from Operation: 26+58=84
Current State: 36:[9, 21, 84], Operations: ['26+58=84']
Exploring Operation: 9*84=756, Resulting Numbers: [21, 756]
Generated Node #3: [21, 756] from Operation: 9*84=756
Current State: 36:[21, 756], Operations: ['26+58=84', '9*84=756']
Exploring Operation: 756/21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[26, 9, 58, 21], Operations: []
Exploring Operation: 26-21=5, Resulting Numbers: [9, 58, 5]
Generated Node #0,0: 36:[9, 58, 5] Operation: 26-21=5
Exploring Operation: 58-26=32, Resulting Numbers: [9, 21, 32]
Generated Node #0,1: 36:[9, 21, 32] Operation: 58-26=32
Exploring Operation: 58-21=37, Resulting Numbers: [26, 9, 37]
Generated Node #0,2: 36:[26, 9, 37] Operation: 58-21=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[9, 21, 32], Operations: ['58-26=32']
Exploring Operation: 21-9=12, Resulting Numbers: [32, 12]
Generated Node #0,1,0: 36:[32, 12] Operation: 21-9=12
Exploring Operation: 9+32=41, Resulting Numbers: [21, 41]
Generated Node #0,1,1: 36:[21, 41] Operation: 9+32=41
Exploring Operation: 32-21=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 36:[9, 11] Operation: 32-21=11
Moving to Node #0,1,2
Current State: 36:[9, 11], Operations: ['58-26=32', '32-21=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[32, 12], Operations: ['58-26=32', '21-9=12']
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,36 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[21, 41], Operations: ['58-26=32', '9+32=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,36 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[26, 9, 37], Operations: ['58-21=37']
Exploring Operation: 26+9=35, Resulting Numbers: [37, 35]
Generated Node #0,2,0: 36:[37, 35] Operation: 26+9=35
Exploring Operation: 26-9=17, Resulting Numbers: [37, 17]
Generated Node #0,2,1: 36:[37, 17] Operation: 26-9=17
Exploring Operation: 37-26=11, Resulting Numbers: [9, 11]
Generated Node #0,2,2: 36:[9, 11] Operation: 37-26=11
Moving to Node #0,2,2
Current State: 36:[9, 11], Operations: ['58-21=37', '37-26=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[37, 35], Operations: ['58-21=37', '26+9=35']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,36 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[37, 17], Operations: ['58-21=37', '26-9=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[9, 58, 5], Operations: ['26-21=5']
Exploring Operation: 58-9=49, Resulting Numbers: [5, 49]
Generated Node #0,0,0: 36:[5, 49] Operation: 58-9=49
Exploring Operation: 9-5=4, Resulting Numbers: [58, 4]
Generated Node #0,0,1: 36:[58, 4] Operation: 9-5=4
Exploring Operation: 58-5=53, Resulting Numbers: [9, 53]
Generated Node #0,0,2: 36:[9, 53] Operation: 58-5=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[5, 49], Operations: ['26-21=5', '58-9=49']
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,36 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[9, 53], Operations: ['26-21=5', '58-5=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[58, 4], Operations: ['26-21=5', '9-5=4']
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,36 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
48,
81,
83,
8
] | 42 | [
"81-48=33",
"83-8=75",
"75-33=42"
] | Current State: 42:[48, 81, 83, 8], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [83, 8, 33]
Generated Node #2: [83, 8, 33] from Operation: 81-48=33
Current State: 42:[83, 8, 33], Operations: ['81-48=33']
Exploring Operation: 83-8=75, Resulting Numbers: [33, 75]
Generated Node #3: [33, 75] from Operation: 83-8=75
Current State: 42:[33, 75], Operations: ['81-48=33', '83-8=75']
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[48, 81, 83, 8], Operations: []
Exploring Operation: 83-48=35, Resulting Numbers: [81, 8, 35]
Generated Node #0,0: 42:[81, 8, 35] Operation: 83-48=35
Exploring Operation: 83-81=2, Resulting Numbers: [48, 8, 2]
Generated Node #0,1: 42:[48, 8, 2] Operation: 83-81=2
Moving to Node #0,1
Current State: 42:[48, 8, 2], Operations: ['83-81=2']
Exploring Operation: 48-8=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 42:[2, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 42:[2, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[2, 6], Operations: ['83-81=2', '48/8=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,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,1,0
Current State: 42:[2, 40], Operations: ['83-81=2', '48-8=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[48, 81, 83, 8], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [48, 8, 2]
Generated Node #0,1: 42:[48, 8, 2] Operation: 83-81=2
Moving to Node #0,1
Current State: 42:[48, 8, 2], Operations: ['83-81=2']
Exploring Operation: 48-8=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 42:[2, 40] Operation: 48-8=40
Moving to Node #0,1,0
Current State: 42:[2, 40], Operations: ['83-81=2', '48-8=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
42,
94,
73,
92
] | 90 | [
"94-73=21",
"42/21=2",
"92-2=90"
] | Current State: 90:[42, 94, 73, 92], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [42, 92, 21]
Generated Node #2: [42, 92, 21] from Operation: 94-73=21
Current State: 90:[42, 92, 21], Operations: ['94-73=21']
Exploring Operation: 42/21=2, Resulting Numbers: [92, 2]
Generated Node #3: [92, 2] from Operation: 42/21=2
Current State: 90:[92, 2], Operations: ['94-73=21', '42/21=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[42, 94, 73, 92], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [94, 92, 31]
Generated Node #0,0: 90:[94, 92, 31] Operation: 73-42=31
Exploring Operation: 92-73=19, Resulting Numbers: [42, 94, 19]
Generated Node #0,1: 90:[42, 94, 19] Operation: 92-73=19
Exploring Operation: 94-92=2, Resulting Numbers: [42, 73, 2]
Generated Node #0,2: 90:[42, 73, 2] Operation: 94-92=2
Exploring Operation: 94-73=21, Resulting Numbers: [42, 92, 21]
Generated Node #0,3: 90:[42, 92, 21] Operation: 94-73=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[94, 92, 31], Operations: ['73-42=31']
Exploring Operation: 94+31=125, Resulting Numbers: [92, 125]
Generated Node #0,0,0: 90:[92, 125] Operation: 94+31=125
Exploring Operation: 94-31=63, Resulting Numbers: [92, 63]
Generated Node #0,0,1: 90:[92, 63] Operation: 94-31=63
Exploring Operation: 94-92=2, Resulting Numbers: [31, 2]
Generated Node #0,0,2: 90:[31, 2] Operation: 94-92=2
Exploring Operation: 92-31=61, Resulting Numbers: [94, 61]
Generated Node #0,0,3: 90:[94, 61] Operation: 92-31=61
Moving to Node #0,0,2
Current State: 90:[31, 2], Operations: ['73-42=31', '94-92=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,90 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[94, 61], Operations: ['73-42=31', '92-31=61']
Exploring Operation: 94+61=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Exploring Operation: 94*61=5734, Resulting Numbers: [5734]
5734,90 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[92, 63], Operations: ['73-42=31', '94-31=63']
Exploring Operation: 92+63=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Exploring Operation: 92-63=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 92*63=5796, Resulting Numbers: [5796]
5796,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[92, 125], Operations: ['73-42=31', '94+31=125']
Exploring Operation: 125-92=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 92+125=217, Resulting Numbers: [217]
217,90 unequal: No Solution
Exploring Operation: 92*125=11500, Resulting Numbers: [11500]
11500,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,1
Current State: 90:[42, 94, 19], Operations: ['92-73=19']
Exploring Operation: 94-19=75, Resulting Numbers: [42, 75]
Generated Node #0,1,0: 90:[42, 75] Operation: 94-19=75
Exploring Operation: 42-19=23, Resulting Numbers: [94, 23]
Generated Node #0,1,1: 90:[94, 23] Operation: 42-19=23
Exploring Operation: 42+19=61, Resulting Numbers: [94, 61]
Generated Node #0,1,2: 90:[94, 61] Operation: 42+19=61
Exploring Operation: 94-42=52, Resulting Numbers: [19, 52]
Generated Node #0,1,3: 90:[19, 52] Operation: 94-42=52
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[19, 52], Operations: ['92-73=19', '94-42=52']
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,90 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,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,1,1
Current State: 90:[94, 23], Operations: ['92-73=19', '42-19=23']
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 94*23=2162, Resulting Numbers: [2162]
2162,90 unequal: No Solution
Exploring Operation: 94+23=117, Resulting Numbers: [117]
117,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,1,0
Current State: 90:[42, 75], Operations: ['92-73=19', '94-19=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,90 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,90 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,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,1,2
Current State: 90:[94, 61], Operations: ['92-73=19', '42+19=61']
Exploring Operation: 94*61=5734, Resulting Numbers: [5734]
5734,90 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 94+61=155, Resulting Numbers: [155]
155,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:[42, 92, 21], Operations: ['94-73=21']
Exploring Operation: 42-21=21, Resulting Numbers: [92, 21]
Generated Node #0,3,0: 90:[92, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [92, 2]
Generated Node #0,3,1: 90:[92, 2] Operation: 42/21=2
Exploring Operation: 92-42=50, Resulting Numbers: [21, 50]
Generated Node #0,3,2: 90:[21, 50] Operation: 92-42=50
Exploring Operation: 42+21=63, Resulting Numbers: [92, 63]
Generated Node #0,3,3: 90:[92, 63] Operation: 42+21=63
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[92, 2], Operations: ['94-73=21', '42/21=2']
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,90 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[42, 94, 73, 92], Operations: []
Exploring Operation: 94-73=21, Resulting Numbers: [42, 92, 21]
Generated Node #0,3: 90:[42, 92, 21] Operation: 94-73=21
Moving to Node #0,3
Current State: 90:[42, 92, 21], Operations: ['94-73=21']
Exploring Operation: 42/21=2, Resulting Numbers: [92, 2]
Generated Node #0,3,1: 90:[92, 2] Operation: 42/21=2
Moving to Node #0,3,1
Current State: 90:[92, 2], Operations: ['94-73=21', '42/21=2']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
36,
72,
24,
4
] | 94 | [
"72/36=2",
"24*4=96",
"96-2=94"
] | Current State: 94:[36, 72, 24, 4], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [24, 4, 2]
Generated Node #2: [24, 4, 2] from Operation: 72/36=2
Current State: 94:[24, 4, 2], Operations: ['72/36=2']
Exploring Operation: 24*4=96, Resulting Numbers: [2, 96]
Generated Node #3: [2, 96] from Operation: 24*4=96
Current State: 94:[2, 96], Operations: ['72/36=2', '24*4=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[36, 72, 24, 4], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [36, 4, 48]
Generated Node #0,0: 94:[36, 4, 48] Operation: 72-24=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[36, 4, 48], Operations: ['72-24=48']
Exploring Operation: 36+4=40, Resulting Numbers: [48, 40]
Generated Node #0,0,0: 94:[48, 40] Operation: 36+4=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[48, 40], Operations: ['72-24=48', '36+4=40']
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
36,
14,
78
] | 98 | [
"78-36=42",
"42/14=3",
"95+3=98"
] | Current State: 98:[95, 36, 14, 78], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [95, 14, 42]
Generated Node #2: [95, 14, 42] from Operation: 78-36=42
Current State: 98:[95, 14, 42], Operations: ['78-36=42']
Exploring Operation: 42/14=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 42/14=3
Current State: 98:[95, 3], Operations: ['78-36=42', '42/14=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[95, 36, 14, 78], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [95, 14, 42]
Generated Node #0,0: 98:[95, 14, 42] Operation: 78-36=42
Exploring Operation: 36+78=114, Resulting Numbers: [95, 14, 114]
Generated Node #0,1: 98:[95, 14, 114] Operation: 36+78=114
Exploring Operation: 95-78=17, Resulting Numbers: [36, 14, 17]
Generated Node #0,2: 98:[36, 14, 17] Operation: 95-78=17
Moving to Node #0,0
Current State: 98:[95, 14, 42], Operations: ['78-36=42']
Exploring Operation: 95-42=53, Resulting Numbers: [14, 53]
Generated Node #0,0,0: 98:[14, 53] Operation: 95-42=53
Exploring Operation: 14+42=56, Resulting Numbers: [95, 56]
Generated Node #0,0,1: 98:[95, 56] Operation: 14+42=56
Exploring Operation: 42/14=3, Resulting Numbers: [95, 3]
Generated Node #0,0,2: 98:[95, 3] Operation: 42/14=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[14, 53], Operations: ['78-36=42', '95-42=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,98 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,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:[95, 3], Operations: ['78-36=42', '42/14=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,98 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,98 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[95, 36, 14, 78], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [95, 14, 42]
Generated Node #0,0: 98:[95, 14, 42] Operation: 78-36=42
Moving to Node #0,0
Current State: 98:[95, 14, 42], Operations: ['78-36=42']
Exploring Operation: 42/14=3, Resulting Numbers: [95, 3]
Generated Node #0,0,2: 98:[95, 3] Operation: 42/14=3
Moving to Node #0,0,2
Current State: 98:[95, 3], Operations: ['78-36=42', '42/14=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
89,
5,
40,
47
] | 34 | [
"89-47=42",
"40/5=8",
"42-8=34"
] | Current State: 34:[89, 5, 40, 47], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [5, 40, 42]
Generated Node #2: [5, 40, 42] from Operation: 89-47=42
Current State: 34:[5, 40, 42], Operations: ['89-47=42']
Exploring Operation: 40/5=8, Resulting Numbers: [42, 8]
Generated Node #3: [42, 8] from Operation: 40/5=8
Current State: 34:[42, 8], Operations: ['89-47=42', '40/5=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[89, 5, 40, 47], Operations: []
Exploring Operation: 47-40=7, Resulting Numbers: [89, 5, 7]
Generated Node #0,0: 34:[89, 5, 7] Operation: 47-40=7
Exploring Operation: 40-5=35, Resulting Numbers: [89, 47, 35]
Generated Node #0,1: 34:[89, 47, 35] Operation: 40-5=35
Exploring Operation: 89-47=42, Resulting Numbers: [5, 40, 42]
Generated Node #0,2: 34:[5, 40, 42] Operation: 89-47=42
Exploring Operation: 89-5=84, Resulting Numbers: [40, 47, 84]
Generated Node #0,3: 34:[40, 47, 84] Operation: 89-5=84
Exploring Operation: 89-40=49, Resulting Numbers: [5, 47, 49]
Generated Node #0,4: 34:[5, 47, 49] Operation: 89-40=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[5, 40, 42], Operations: ['89-47=42']
Exploring Operation: 5+40=45, Resulting Numbers: [42, 45]
Generated Node #0,2,0: 34:[42, 45] Operation: 5+40=45
Exploring Operation: 40-5=35, Resulting Numbers: [42, 35]
Generated Node #0,2,1: 34:[42, 35] Operation: 40-5=35
Exploring Operation: 42-5=37, Resulting Numbers: [40, 37]
Generated Node #0,2,2: 34:[40, 37] Operation: 42-5=37
Exploring Operation: 40/5=8, Resulting Numbers: [42, 8]
Generated Node #0,2,3: 34:[42, 8] Operation: 40/5=8
Exploring Operation: 42-40=2, Resulting Numbers: [5, 2]
Generated Node #0,2,4: 34:[5, 2] Operation: 42-40=2
Moving to Node #0,2,4
Current State: 34:[5, 2], Operations: ['89-47=42', '42-40=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[40, 37], Operations: ['89-47=42', '42-5=37']
Exploring Operation: 40+37=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 40*37=1480, Resulting Numbers: [1480]
1480,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[42, 35], Operations: ['89-47=42', '40-5=35']
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,34 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[42, 8], Operations: ['89-47=42', '40/5=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[89, 5, 40, 47], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [5, 40, 42]
Generated Node #0,2: 34:[5, 40, 42] Operation: 89-47=42
Moving to Node #0,2
Current State: 34:[5, 40, 42], Operations: ['89-47=42']
Exploring Operation: 40/5=8, Resulting Numbers: [42, 8]
Generated Node #0,2,3: 34:[42, 8] Operation: 40/5=8
Moving to Node #0,2,3
Current State: 34:[42, 8], Operations: ['89-47=42', '40/5=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
10,
75,
92,
23
] | 30 | [
"10+75=85",
"92+23=115",
"115-85=30"
] | Current State: 30:[10, 75, 92, 23], Operations: []
Exploring Operation: 10+75=85, Resulting Numbers: [92, 23, 85]
Generated Node #2: [92, 23, 85] from Operation: 10+75=85
Current State: 30:[92, 23, 85], Operations: ['10+75=85']
Exploring Operation: 92+23=115, Resulting Numbers: [85, 115]
Generated Node #3: [85, 115] from Operation: 92+23=115
Current State: 30:[85, 115], Operations: ['10+75=85', '92+23=115']
Exploring Operation: 115-85=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 75, 92, 23], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [10, 23, 17]
Generated Node #0,0: 30:[10, 23, 17] Operation: 92-75=17
Exploring Operation: 92/23=4, Resulting Numbers: [10, 75, 4]
Generated Node #0,1: 30:[10, 75, 4] Operation: 92/23=4
Exploring Operation: 92-23=69, Resulting Numbers: [10, 75, 69]
Generated Node #0,2: 30:[10, 75, 69] Operation: 92-23=69
Exploring Operation: 75-23=52, Resulting Numbers: [10, 92, 52]
Generated Node #0,3: 30:[10, 92, 52] Operation: 75-23=52
Moving to Node #0,0
Current State: 30:[10, 23, 17], Operations: ['92-75=17']
Exploring Operation: 10+23=33, Resulting Numbers: [17, 33]
Generated Node #0,0,0: 30:[17, 33] Operation: 10+23=33
Exploring Operation: 23-17=6, Resulting Numbers: [10, 6]
Generated Node #0,0,1: 30:[10, 6] Operation: 23-17=6
Exploring Operation: 17-10=7, Resulting Numbers: [23, 7]
Generated Node #0,0,2: 30:[23, 7] Operation: 17-10=7
Exploring Operation: 23-10=13, Resulting Numbers: [17, 13]
Generated Node #0,0,3: 30:[17, 13] Operation: 23-10=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[10, 6], Operations: ['92-75=17', '23-17=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No 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: 30:[17, 13], Operations: ['92-75=17', '23-10=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,30 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[10, 75, 92, 23], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [10, 23, 17]
Generated Node #0,0: 30:[10, 23, 17] Operation: 92-75=17
Moving to Node #0,0
Current State: 30:[10, 23, 17], Operations: ['92-75=17']
Exploring Operation: 23-10=13, Resulting Numbers: [17, 13]
Generated Node #0,0,3: 30:[17, 13] Operation: 23-10=13
Moving to Node #0,0,3
Current State: 30:[17, 13], Operations: ['92-75=17', '23-10=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
17,
45,
46,
36
] | 53 | [
"17+36=53",
"46-45=1",
"53*1=53"
] | Current State: 53:[17, 45, 46, 36], Operations: []
Exploring Operation: 17+36=53, Resulting Numbers: [45, 46, 53]
Generated Node #2: [45, 46, 53] from Operation: 17+36=53
Current State: 53:[45, 46, 53], Operations: ['17+36=53']
Exploring Operation: 46-45=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 46-45=1
Current State: 53:[53, 1], Operations: ['17+36=53', '46-45=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[17, 45, 46, 36], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [46, 36, 28]
Generated Node #0,0: 53:[46, 36, 28] Operation: 45-17=28
Exploring Operation: 17+36=53, Resulting Numbers: [45, 46, 53]
Generated Node #0,1: 53:[45, 46, 53] Operation: 17+36=53
Exploring Operation: 17+45=62, Resulting Numbers: [46, 36, 62]
Generated Node #0,2: 53:[46, 36, 62] Operation: 17+45=62
Exploring Operation: 17+46=63, Resulting Numbers: [45, 36, 63]
Generated Node #0,3: 53:[45, 36, 63] Operation: 17+46=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[45, 46, 53], Operations: ['17+36=53']
Exploring Operation: 53-45=8, Resulting Numbers: [46, 8]
Generated Node #0,1,0: 53:[46, 8] Operation: 53-45=8
Exploring Operation: 45+53=98, Resulting Numbers: [46, 98]
Generated Node #0,1,1: 53:[46, 98] Operation: 45+53=98
Exploring Operation: 45+46=91, Resulting Numbers: [53, 91]
Generated Node #0,1,2: 53:[53, 91] Operation: 45+46=91
Exploring Operation: 46-45=1, Resulting Numbers: [53, 1]
Generated Node #0,1,3: 53:[53, 1] Operation: 46-45=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[53, 91], Operations: ['17+36=53', '45+46=91']
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,53 unequal: No Solution
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[46, 8], Operations: ['17+36=53', '53-45=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,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:[46, 98], Operations: ['17+36=53', '45+53=98']
Exploring Operation: 46+98=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 46*98=4508, Resulting Numbers: [4508]
4508,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:[53, 1], Operations: ['17+36=53', '46-45=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[17, 45, 46, 36], Operations: []
Exploring Operation: 17+36=53, Resulting Numbers: [45, 46, 53]
Generated Node #0,1: 53:[45, 46, 53] Operation: 17+36=53
Moving to Node #0,1
Current State: 53:[45, 46, 53], Operations: ['17+36=53']
Exploring Operation: 46-45=1, Resulting Numbers: [53, 1]
Generated Node #0,1,3: 53:[53, 1] Operation: 46-45=1
Moving to Node #0,1,3
Current State: 53:[53, 1], Operations: ['17+36=53', '46-45=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
53,
6,
30,
62
] | 79 | [
"53-6=47",
"62-30=32",
"47+32=79"
] | Current State: 79:[53, 6, 30, 62], Operations: []
Exploring Operation: 53-6=47, Resulting Numbers: [30, 62, 47]
Generated Node #2: [30, 62, 47] from Operation: 53-6=47
Current State: 79:[30, 62, 47], Operations: ['53-6=47']
Exploring Operation: 62-30=32, Resulting Numbers: [47, 32]
Generated Node #3: [47, 32] from Operation: 62-30=32
Current State: 79:[47, 32], Operations: ['53-6=47', '62-30=32']
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[53, 6, 30, 62], Operations: []
Exploring Operation: 53+6=59, Resulting Numbers: [30, 62, 59]
Generated Node #0,0: 79:[30, 62, 59] Operation: 53+6=59
Exploring Operation: 6+30=36, Resulting Numbers: [53, 62, 36]
Generated Node #0,1: 79:[53, 62, 36] Operation: 6+30=36
Exploring Operation: 6+62=68, Resulting Numbers: [53, 30, 68]
Generated Node #0,2: 79:[53, 30, 68] Operation: 6+62=68
Moving to Node #0,0
Current State: 79:[30, 62, 59], Operations: ['53+6=59']
Exploring Operation: 62-30=32, Resulting Numbers: [59, 32]
Generated Node #0,0,0: 79:[59, 32] Operation: 62-30=32
Exploring Operation: 30+59=89, Resulting Numbers: [62, 89]
Generated Node #0,0,1: 79:[62, 89] Operation: 30+59=89
Exploring Operation: 30+62=92, Resulting Numbers: [59, 92]
Generated Node #0,0,2: 79:[59, 92] Operation: 30+62=92
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[62, 89], Operations: ['53+6=59', '30+59=89']
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,79 unequal: No Solution
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[59, 92], Operations: ['53+6=59', '30+62=92']
Exploring Operation: 59+92=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 92-59=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 59*92=5428, Resulting Numbers: [5428]
5428,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[59, 32], Operations: ['53+6=59', '62-30=32']
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,79 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: 79:[53, 62, 36], Operations: ['6+30=36']
Exploring Operation: 53+36=89, Resulting Numbers: [62, 89]
Generated Node #0,1,0: 79:[62, 89] Operation: 53+36=89
Exploring Operation: 62+36=98, Resulting Numbers: [53, 98]
Generated Node #0,1,1: 79:[53, 98] Operation: 62+36=98
Exploring Operation: 53+62=115, Resulting Numbers: [36, 115]
Generated Node #0,1,2: 79:[36, 115] Operation: 53+62=115
Moving to Node #0,2
Current State: 79:[53, 30, 68], Operations: ['6+62=68']
Exploring Operation: 53+30=83, Resulting Numbers: [68, 83]
Generated Node #0,2,0: 79:[68, 83] Operation: 53+30=83
Exploring Operation: 30+68=98, Resulting Numbers: [53, 98]
Generated Node #0,2,1: 79:[53, 98] Operation: 30+68=98
Exploring Operation: 53-30=23, Resulting Numbers: [68, 23]
Generated Node #0,2,2: 79:[68, 23] Operation: 53-30=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[68, 83], Operations: ['6+62=68', '53+30=83']
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 68*83=5644, Resulting Numbers: [5644]
5644,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[53, 98], Operations: ['6+62=68', '30+68=98']
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 53+98=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 53*98=5194, Resulting Numbers: [5194]
5194,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[68, 23], Operations: ['6+62=68', '53-30=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 68*23=1564, Resulting Numbers: [1564]
1564,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 79:[62, 89], Operations: ['6+30=36', '53+36=89']
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[53, 98], Operations: ['6+30=36', '62+36=98']
Exploring Operation: 53+98=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 53*98=5194, Resulting Numbers: [5194]
5194,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[36, 115], Operations: ['6+30=36', '53+62=115']
Exploring Operation: 36+115=151, Resulting Numbers: [151]
151,79 unequal: No Solution
Exploring Operation: 36*115=4140, Resulting Numbers: [4140]
4140,79 unequal: No Solution
Exploring Operation: 115-36=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[53, 6, 30, 62], Operations: []
Exploring Operation: 6+30=36, Resulting Numbers: [53, 62, 36]
Generated Node #0,1: 79:[53, 62, 36] Operation: 6+30=36
Moving to Node #0,1
Current State: 79:[53, 62, 36], Operations: ['6+30=36']
Exploring Operation: 53+62=115, Resulting Numbers: [36, 115]
Generated Node #0,1,2: 79:[36, 115] Operation: 53+62=115
Moving to Node #0,1,2
Current State: 79:[36, 115], Operations: ['6+30=36', '53+62=115']
Exploring Operation: 115-36=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
89,
3,
91,
8
] | 12 | [
"91-89=2",
"3*8=24",
"24/2=12"
] | Current State: 12:[89, 3, 91, 8], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [3, 8, 2]
Generated Node #2: [3, 8, 2] from Operation: 91-89=2
Current State: 12:[3, 8, 2], Operations: ['91-89=2']
Exploring Operation: 3*8=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 3*8=24
Current State: 12:[2, 24], Operations: ['91-89=2', '3*8=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[89, 3, 91, 8], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [3, 8, 2]
Generated Node #0,0: 12:[3, 8, 2] Operation: 91-89=2
Moving to Node #0,0
Current State: 12:[3, 8, 2], Operations: ['91-89=2']
Exploring Operation: 8-2=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 12:[3, 6] Operation: 8-2=6
Moving to Node #0,0,0
Current State: 12:[3, 6], Operations: ['91-89=2', '8-2=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
58,
45,
54
] | 90 | [
"8*45=360",
"58-54=4",
"360/4=90"
] | Current State: 90:[8, 58, 45, 54], Operations: []
Exploring Operation: 8*45=360, Resulting Numbers: [58, 54, 360]
Generated Node #2: [58, 54, 360] from Operation: 8*45=360
Current State: 90:[58, 54, 360], Operations: ['8*45=360']
Exploring Operation: 58-54=4, Resulting Numbers: [360, 4]
Generated Node #3: [360, 4] from Operation: 58-54=4
Current State: 90:[360, 4], Operations: ['8*45=360', '58-54=4']
Exploring Operation: 360/4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[8, 58, 45, 54], Operations: []
Exploring Operation: 58-45=13, Resulting Numbers: [8, 54, 13]
Generated Node #0,0: 90:[8, 54, 13] Operation: 58-45=13
Exploring Operation: 58-54=4, Resulting Numbers: [8, 45, 4]
Generated Node #0,1: 90:[8, 45, 4] Operation: 58-54=4
Moving to Node #0,1
Current State: 90:[8, 45, 4], Operations: ['58-54=4']
Exploring Operation: 8-4=4, Resulting Numbers: [45, 4]
Generated Node #0,1,0: 90:[45, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 90:[45, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[45, 2], Operations: ['58-54=4', '8/4=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[8, 58, 45, 54], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [8, 45, 4]
Generated Node #0,1: 90:[8, 45, 4] Operation: 58-54=4
Moving to Node #0,1
Current State: 90:[8, 45, 4], Operations: ['58-54=4']
Exploring Operation: 8/4=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 90:[45, 2] Operation: 8/4=2
Moving to Node #0,1,1
Current State: 90:[45, 2], Operations: ['58-54=4', '8/4=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
93,
40,
25,
85
] | 32 | [
"93-25=68",
"40*68=2720",
"2720/85=32"
] | Current State: 32:[93, 40, 25, 85], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [40, 85, 68]
Generated Node #2: [40, 85, 68] from Operation: 93-25=68
Current State: 32:[40, 85, 68], Operations: ['93-25=68']
Exploring Operation: 40*68=2720, Resulting Numbers: [85, 2720]
Generated Node #3: [85, 2720] from Operation: 40*68=2720
Current State: 32:[85, 2720], Operations: ['93-25=68', '40*68=2720']
Exploring Operation: 2720/85=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[93, 40, 25, 85], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [40, 25, 8]
Generated Node #0,0: 32:[40, 25, 8] Operation: 93-85=8
Moving to Node #0,0
Current State: 32:[40, 25, 8], Operations: ['93-85=8']
Exploring Operation: 40-25=15, Resulting Numbers: [8, 15]
Generated Node #0,0,0: 32:[8, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[8, 15], Operations: ['93-85=8', '40-25=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,32 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 |
[
66,
13,
37,
6
] | 35 | [
"66/6=11",
"37-13=24",
"11+24=35"
] | Current State: 35:[66, 13, 37, 6], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [13, 37, 11]
Generated Node #2: [13, 37, 11] from Operation: 66/6=11
Current State: 35:[13, 37, 11], Operations: ['66/6=11']
Exploring Operation: 37-13=24, Resulting Numbers: [11, 24]
Generated Node #3: [11, 24] from Operation: 37-13=24
Current State: 35:[11, 24], Operations: ['66/6=11', '37-13=24']
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[66, 13, 37, 6], Operations: []
Exploring Operation: 66-6=60, Resulting Numbers: [13, 37, 60]
Generated Node #0,0: 35:[13, 37, 60] Operation: 66-6=60
Exploring Operation: 66-37=29, Resulting Numbers: [13, 6, 29]
Generated Node #0,1: 35:[13, 6, 29] Operation: 66-37=29
Exploring Operation: 66-13=53, Resulting Numbers: [37, 6, 53]
Generated Node #0,2: 35:[37, 6, 53] Operation: 66-13=53
Exploring Operation: 66/6=11, Resulting Numbers: [13, 37, 11]
Generated Node #0,3: 35:[13, 37, 11] Operation: 66/6=11
Moving to Node #0,3
Current State: 35:[13, 37, 11], Operations: ['66/6=11']
Exploring Operation: 13-11=2, Resulting Numbers: [37, 2]
Generated Node #0,3,0: 35:[37, 2] Operation: 13-11=2
Exploring Operation: 37-13=24, Resulting Numbers: [11, 24]
Generated Node #0,3,1: 35:[11, 24] Operation: 37-13=24
Exploring Operation: 13+11=24, Resulting Numbers: [37, 24]
Generated Node #0,3,2: 35:[37, 24] Operation: 13+11=24
Exploring Operation: 37-11=26, Resulting Numbers: [13, 26]
Generated Node #0,3,3: 35:[13, 26] Operation: 37-11=26
Moving to Node #0,1
Current State: 35:[13, 6, 29], Operations: ['66-37=29']
Exploring Operation: 29-13=16, Resulting Numbers: [6, 16]
Generated Node #0,1,0: 35:[6, 16] Operation: 29-13=16
Exploring Operation: 13+29=42, Resulting Numbers: [6, 42]
Generated Node #0,1,1: 35:[6, 42] Operation: 13+29=42
Exploring Operation: 13-6=7, Resulting Numbers: [29, 7]
Generated Node #0,1,2: 35:[29, 7] Operation: 13-6=7
Exploring Operation: 6+29=35, Resulting Numbers: [13, 35]
Generated Node #0,1,3: 35:[13, 35] Operation: 6+29=35
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[29, 7], Operations: ['66-37=29', '13-6=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,35 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,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,1,3
Current State: 35:[13, 35], Operations: ['66-37=29', '6+29=35']
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,35 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,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,1,1
Current State: 35:[6, 42], Operations: ['66-37=29', '13+29=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,35 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,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,1,0
Current State: 35:[6, 16], Operations: ['66-37=29', '29-13=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,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:[37, 6, 53], Operations: ['66-13=53']
Exploring Operation: 53-6=47, Resulting Numbers: [37, 47]
Generated Node #0,2,0: 35:[37, 47] Operation: 53-6=47
Exploring Operation: 37-6=31, Resulting Numbers: [53, 31]
Generated Node #0,2,1: 35:[53, 31] Operation: 37-6=31
Exploring Operation: 37+6=43, Resulting Numbers: [53, 43]
Generated Node #0,2,2: 35:[53, 43] Operation: 37+6=43
Exploring Operation: 53-37=16, Resulting Numbers: [6, 16]
Generated Node #0,2,3: 35:[6, 16] Operation: 53-37=16
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[6, 16], Operations: ['66-13=53', '53-37=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,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,2,0
Current State: 35:[37, 47], Operations: ['66-13=53', '53-6=47']
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 37*47=1739, Resulting Numbers: [1739]
1739,35 unequal: No Solution
Exploring Operation: 37+47=84, Resulting Numbers: [84]
84,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,2,1
Current State: 35:[53, 31], Operations: ['66-13=53', '37-6=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,35 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,35 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,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,2,2
Current State: 35:[53, 43], Operations: ['66-13=53', '37+6=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,35 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,35 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: 35:[13, 37, 60], Operations: ['66-6=60']
Exploring Operation: 37-13=24, Resulting Numbers: [60, 24]
Generated Node #0,0,0: 35:[60, 24] Operation: 37-13=24
Exploring Operation: 60-13=47, Resulting Numbers: [37, 47]
Generated Node #0,0,1: 35:[37, 47] Operation: 60-13=47
Exploring Operation: 13+37=50, Resulting Numbers: [60, 50]
Generated Node #0,0,2: 35:[60, 50] Operation: 13+37=50
Exploring Operation: 60-37=23, Resulting Numbers: [13, 23]
Generated Node #0,0,3: 35:[13, 23] Operation: 60-37=23
Moving to Node #0,3,0
Current State: 35:[37, 2], Operations: ['66/6=11', '13-11=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,35 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[66, 13, 37, 6], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [13, 37, 11]
Generated Node #0,3: 35:[13, 37, 11] Operation: 66/6=11
Moving to Node #0,3
Current State: 35:[13, 37, 11], Operations: ['66/6=11']
Exploring Operation: 13-11=2, Resulting Numbers: [37, 2]
Generated Node #0,3,0: 35:[37, 2] Operation: 13-11=2
Moving to Node #0,3,0
Current State: 35:[37, 2], Operations: ['66/6=11', '13-11=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
19,
83,
78,
81
] | 99 | [
"19+83=102",
"81-78=3",
"102-3=99"
] | Current State: 99:[19, 83, 78, 81], Operations: []
Exploring Operation: 19+83=102, Resulting Numbers: [78, 81, 102]
Generated Node #2: [78, 81, 102] from Operation: 19+83=102
Current State: 99:[78, 81, 102], Operations: ['19+83=102']
Exploring Operation: 81-78=3, Resulting Numbers: [102, 3]
Generated Node #3: [102, 3] from Operation: 81-78=3
Current State: 99:[102, 3], Operations: ['19+83=102', '81-78=3']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[19, 83, 78, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [19, 78, 2]
Generated Node #0,0: 99:[19, 78, 2] Operation: 83-81=2
Exploring Operation: 81-78=3, Resulting Numbers: [19, 83, 3]
Generated Node #0,1: 99:[19, 83, 3] Operation: 81-78=3
Exploring Operation: 83-78=5, Resulting Numbers: [19, 81, 5]
Generated Node #0,2: 99:[19, 81, 5] Operation: 83-78=5
Moving to Node #0,1
Current State: 99:[19, 83, 3], Operations: ['81-78=3']
Exploring Operation: 19-3=16, Resulting Numbers: [83, 16]
Generated Node #0,1,0: 99:[83, 16] Operation: 19-3=16
Exploring Operation: 83+3=86, Resulting Numbers: [19, 86]
Generated Node #0,1,1: 99:[19, 86] Operation: 83+3=86
Exploring Operation: 19+83=102, Resulting Numbers: [3, 102]
Generated Node #0,1,2: 99:[3, 102] Operation: 19+83=102
Moving to Node #0,2
Current State: 99:[19, 81, 5], Operations: ['83-78=5']
Exploring Operation: 19-5=14, Resulting Numbers: [81, 14]
Generated Node #0,2,0: 99:[81, 14] Operation: 19-5=14
Exploring Operation: 81+5=86, Resulting Numbers: [19, 86]
Generated Node #0,2,1: 99:[19, 86] Operation: 81+5=86
Exploring Operation: 19+81=100, Resulting Numbers: [5, 100]
Generated Node #0,2,2: 99:[5, 100] Operation: 19+81=100
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[5, 100], Operations: ['83-78=5', '19+81=100']
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 5+100=105, Resulting Numbers: [105]
105,99 unequal: No Solution
No 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: 99:[81, 14], Operations: ['83-78=5', '19-5=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,99 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,99 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,99 unequal: No Solution
No 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: 99:[19, 86], Operations: ['83-78=5', '81+5=86']
Exploring Operation: 19+86=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 19*86=1634, Resulting Numbers: [1634]
1634,99 unequal: No Solution
Exploring Operation: 86-19=67, Resulting Numbers: [67]
67,99 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: 99:[19, 78, 2], Operations: ['83-81=2']
Exploring Operation: 78/2=39, Resulting Numbers: [19, 39]
Generated Node #0,0,0: 99:[19, 39] Operation: 78/2=39
Exploring Operation: 19+78=97, Resulting Numbers: [2, 97]
Generated Node #0,0,1: 99:[2, 97] Operation: 19+78=97
Exploring Operation: 19*2=38, Resulting Numbers: [78, 38]
Generated Node #0,0,2: 99:[78, 38] Operation: 19*2=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[2, 97], Operations: ['83-81=2', '19+78=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[19, 83, 78, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [19, 78, 2]
Generated Node #0,0: 99:[19, 78, 2] Operation: 83-81=2
Moving to Node #0,0
Current State: 99:[19, 78, 2], Operations: ['83-81=2']
Exploring Operation: 19+78=97, Resulting Numbers: [2, 97]
Generated Node #0,0,1: 99:[2, 97] Operation: 19+78=97
Moving to Node #0,0,1
Current State: 99:[2, 97], Operations: ['83-81=2', '19+78=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
69,
88,
24,
68
] | 64 | [
"69-68=1",
"88-24=64",
"1*64=64"
] | Current State: 64:[69, 88, 24, 68], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [88, 24, 1]
Generated Node #2: [88, 24, 1] from Operation: 69-68=1
Current State: 64:[88, 24, 1], Operations: ['69-68=1']
Exploring Operation: 88-24=64, Resulting Numbers: [1, 64]
Generated Node #3: [1, 64] from Operation: 88-24=64
Current State: 64:[1, 64], Operations: ['69-68=1', '88-24=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[69, 88, 24, 68], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [69, 68, 64]
Generated Node #0,0: 64:[69, 68, 64] Operation: 88-24=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[69, 68, 64], Operations: ['88-24=64']
Exploring Operation: 69-68=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 64:[64, 1] Operation: 69-68=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[64, 1], Operations: ['88-24=64', '69-68=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[69, 88, 24, 68], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [69, 68, 64]
Generated Node #0,0: 64:[69, 68, 64] Operation: 88-24=64
Moving to Node #0,0
Current State: 64:[69, 68, 64], Operations: ['88-24=64']
Exploring Operation: 69-68=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 64:[64, 1] Operation: 69-68=1
Moving to Node #0,0,0
Current State: 64:[64, 1], Operations: ['88-24=64', '69-68=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
52,
2,
2
] | 27 | [
"54/2=27",
"52+2=54",
"54-27=27"
] | Current State: 27:[54, 52, 2, 2], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [52, 27]
Generated Node #2: [52, 27] from Operation: 54/2=27
Current State: 27:[52, 27], Operations: ['54/2=27']
Exploring Operation: 52+2=54, Resulting Numbers: [27, 54]
Generated Node #3: [27, 54] from Operation: 52+2=54
Current State: 27:[27, 54], Operations: ['54/2=27', '52+2=54']
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[54, 52, 2, 2], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [52, 2, 27]
Generated Node #0,0: 27:[52, 2, 27] Operation: 54/2=27
Exploring Operation: 54/2=27, Resulting Numbers: [52, 2, 27]
Generated Node #0,1: 27:[52, 2, 27] Operation: 54/2=27
Exploring Operation: 54-52=2, Resulting Numbers: [2, 2, 2]
Generated Node #0,2: 27:[2, 2, 2] Operation: 54-52=2
Moving to Node #0,2
Current State: 27:[2, 2, 2], Operations: ['54-52=2']
Exploring Operation: 2+2=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 27:[2, 4] Operation: 2+2=4
Exploring Operation: 2+2=4, Resulting Numbers: [2, 4]
Generated Node #0,2,1: 27:[2, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 27:[2, 4] Operation: 2*2=4
Moving to Node #0,0
Current State: 27:[52, 2, 27], Operations: ['54/2=27']
Exploring Operation: 52/2=26, Resulting Numbers: [27, 26]
Generated Node #0,0,0: 27:[27, 26] Operation: 52/2=26
Exploring Operation: 52-27=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 27:[2, 25] Operation: 52-27=25
Exploring Operation: 52-2=50, Resulting Numbers: [27, 50]
Generated Node #0,0,2: 27:[27, 50] Operation: 52-2=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[27, 26], Operations: ['54/2=27', '52/2=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,27 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[2, 25], Operations: ['54/2=27', '52-27=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[54, 52, 2, 2], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [52, 2, 27]
Generated Node #0,0: 27:[52, 2, 27] Operation: 54/2=27
Moving to Node #0,0
Current State: 27:[52, 2, 27], Operations: ['54/2=27']
Exploring Operation: 52-27=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 27:[2, 25] Operation: 52-27=25
Moving to Node #0,0,1
Current State: 27:[2, 25], Operations: ['54/2=27', '52-27=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
65,
1,
52,
30
] | 23 | [
"52*30=1560",
"1560/65=24",
"24-1=23"
] | Current State: 23:[65, 1, 52, 30], Operations: []
Exploring Operation: 52*30=1560, Resulting Numbers: [65, 1, 1560]
Generated Node #2: [65, 1, 1560] from Operation: 52*30=1560
Current State: 23:[65, 1, 1560], Operations: ['52*30=1560']
Exploring Operation: 1560/65=24, Resulting Numbers: [1, 24]
Generated Node #3: [1, 24] from Operation: 1560/65=24
Current State: 23:[1, 24], Operations: ['52*30=1560', '1560/65=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[65, 1, 52, 30], Operations: []
Exploring Operation: 52-1=51, Resulting Numbers: [65, 30, 51]
Generated Node #0,0: 23:[65, 30, 51] Operation: 52-1=51
Exploring Operation: 65-52=13, Resulting Numbers: [1, 30, 13]
Generated Node #0,1: 23:[1, 30, 13] Operation: 65-52=13
Exploring Operation: 65-30=35, Resulting Numbers: [1, 52, 35]
Generated Node #0,2: 23:[1, 52, 35] Operation: 65-30=35
Exploring Operation: 52-30=22, Resulting Numbers: [65, 1, 22]
Generated Node #0,3: 23:[65, 1, 22] Operation: 52-30=22
Exploring Operation: 65-1=64, Resulting Numbers: [52, 30, 64]
Generated Node #0,4: 23:[52, 30, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[1, 30, 13], Operations: ['65-52=13']
Exploring Operation: 1*30=30, Resulting Numbers: [13, 30]
Generated Node #0,1,0: 23:[13, 30] Operation: 1*30=30
Exploring Operation: 1+13=14, Resulting Numbers: [30, 14]
Generated Node #0,1,1: 23:[30, 14] Operation: 1+13=14
Exploring Operation: 30-1=29, Resulting Numbers: [13, 29]
Generated Node #0,1,2: 23:[13, 29] Operation: 30-1=29
Exploring Operation: 30/1=30, Resulting Numbers: [13, 30]
Generated Node #0,1,3: 23:[13, 30] Operation: 30/1=30
Exploring Operation: 1*13=13, Resulting Numbers: [30, 13]
Generated Node #0,1,4: 23:[30, 13] Operation: 1*13=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[30, 14], Operations: ['65-52=13', '1+13=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,23 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,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,1,2
Current State: 23:[13, 29], Operations: ['65-52=13', '30-1=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,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,1,0
Current State: 23:[13, 30], Operations: ['65-52=13', '1*30=30']
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,23 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,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,1,3
Current State: 23:[13, 30], Operations: ['65-52=13', '30/1=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,23 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,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,1,4
Current State: 23:[30, 13], Operations: ['65-52=13', '1*13=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,23 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,23 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: 23:[1, 52, 35], Operations: ['65-30=35']
Exploring Operation: 1*52=52, Resulting Numbers: [35, 52]
Generated Node #0,2,0: 23:[35, 52] Operation: 1*52=52
Exploring Operation: 52-1=51, Resulting Numbers: [35, 51]
Generated Node #0,2,1: 23:[35, 51] Operation: 52-1=51
Exploring Operation: 52/1=52, Resulting Numbers: [35, 52]
Generated Node #0,2,2: 23:[35, 52] Operation: 52/1=52
Exploring Operation: 52-35=17, Resulting Numbers: [1, 17]
Generated Node #0,2,3: 23:[1, 17] Operation: 52-35=17
Exploring Operation: 35-1=34, Resulting Numbers: [52, 34]
Generated Node #0,2,4: 23:[52, 34] Operation: 35-1=34
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[1, 17], Operations: ['65-30=35', '52-35=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,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,2,1
Current State: 23:[35, 51], Operations: ['65-30=35', '52-1=51']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,23 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,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,2,4
Current State: 23:[52, 34], Operations: ['65-30=35', '35-1=34']
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,23 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,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,2,0
Current State: 23:[35, 52], Operations: ['65-30=35', '1*52=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,23 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,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,2,2
Current State: 23:[35, 52], Operations: ['65-30=35', '52/1=52']
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,23 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,23 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: 23:[65, 1, 22], Operations: ['52-30=22']
Exploring Operation: 1+22=23, Resulting Numbers: [65, 23]
Generated Node #0,3,0: 23:[65, 23] Operation: 1+22=23
Exploring Operation: 65/1=65, Resulting Numbers: [22, 65]
Generated Node #0,3,1: 23:[22, 65] Operation: 65/1=65
Exploring Operation: 65-22=43, Resulting Numbers: [1, 43]
Generated Node #0,3,2: 23:[1, 43] Operation: 65-22=43
Exploring Operation: 65-1=64, Resulting Numbers: [22, 64]
Generated Node #0,3,3: 23:[22, 64] Operation: 65-1=64
Exploring Operation: 65*1=65, Resulting Numbers: [22, 65]
Generated Node #0,3,4: 23:[22, 65] Operation: 65*1=65
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[65, 23], Operations: ['52-30=22', '1+22=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,23 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,23 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,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,3,2
Current State: 23:[1, 43], Operations: ['52-30=22', '65-22=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,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,3,3
Current State: 23:[22, 64], Operations: ['52-30=22', '65-1=64']
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 22*64=1408, Resulting Numbers: [1408]
1408,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,3,1
Current State: 23:[22, 65], Operations: ['52-30=22', '65/1=65']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,23 unequal: No Solution
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,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,3,4
Current State: 23:[22, 65], Operations: ['52-30=22', '65*1=65']
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,23 unequal: No Solution
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,23 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,23 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: 23:[65, 30, 51], Operations: ['52-1=51']
Exploring Operation: 65-51=14, Resulting Numbers: [30, 14]
Generated Node #0,0,0: 23:[30, 14] Operation: 65-51=14
Exploring Operation: 51-30=21, Resulting Numbers: [65, 21]
Generated Node #0,0,1: 23:[65, 21] Operation: 51-30=21
Exploring Operation: 65+30=95, Resulting Numbers: [51, 95]
Generated Node #0,0,2: 23:[51, 95] Operation: 65+30=95
Exploring Operation: 65-30=35, Resulting Numbers: [51, 35]
Generated Node #0,0,3: 23:[51, 35] Operation: 65-30=35
Exploring Operation: 65+51=116, Resulting Numbers: [30, 116]
Generated Node #0,0,4: 23:[30, 116] Operation: 65+51=116
Moving to Node #0,0,0
Current State: 23:[30, 14], Operations: ['52-1=51', '65-51=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,23 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[51, 35], Operations: ['52-1=51', '65-30=35']
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,23 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[65, 21], Operations: ['52-1=51', '51-30=21']
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,23 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[51, 95], Operations: ['52-1=51', '65+30=95']
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,23 unequal: No Solution
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[30, 116], Operations: ['52-1=51', '65+51=116']
Exploring Operation: 116-30=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 30*116=3480, Resulting Numbers: [3480]
3480,23 unequal: No Solution
Exploring Operation: 30+116=146, Resulting Numbers: [146]
146,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,4
Current State: 23:[52, 30, 64], Operations: ['65-1=64']
Exploring Operation: 52-30=22, Resulting Numbers: [64, 22]
Generated Node #0,4,0: 23:[64, 22] Operation: 52-30=22
Exploring Operation: 52+64=116, Resulting Numbers: [30, 116]
Generated Node #0,4,1: 23:[30, 116] Operation: 52+64=116
Exploring Operation: 64-30=34, Resulting Numbers: [52, 34]
Generated Node #0,4,2: 23:[52, 34] Operation: 64-30=34
Exploring Operation: 64-52=12, Resulting Numbers: [30, 12]
Generated Node #0,4,3: 23:[30, 12] Operation: 64-52=12
Exploring Operation: 52+30=82, Resulting Numbers: [64, 82]
Generated Node #0,4,4: 23:[64, 82] Operation: 52+30=82
Moving to Node #0,4,3
Current State: 23:[30, 12], Operations: ['65-1=64', '64-52=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[52, 34], Operations: ['65-1=64', '64-30=34']
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,23 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[64, 22], Operations: ['65-1=64', '52-30=22']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[30, 116], Operations: ['65-1=64', '52+64=116']
Exploring Operation: 116-30=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 30+116=146, Resulting Numbers: [146]
146,23 unequal: No Solution
Exploring Operation: 30*116=3480, Resulting Numbers: [3480]
3480,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[64, 82], Operations: ['65-1=64', '52+30=82']
Exploring Operation: 64*82=5248, Resulting Numbers: [5248]
5248,23 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 64+82=146, Resulting Numbers: [146]
146,23 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 |
[
27,
73,
18,
68
] | 50 | [
"27+73=100",
"68-18=50",
"100-50=50"
] | Current State: 50:[27, 73, 18, 68], Operations: []
Exploring Operation: 27+73=100, Resulting Numbers: [18, 68, 100]
Generated Node #2: [18, 68, 100] from Operation: 27+73=100
Current State: 50:[18, 68, 100], Operations: ['27+73=100']
Exploring Operation: 68-18=50, Resulting Numbers: [100, 50]
Generated Node #3: [100, 50] from Operation: 68-18=50
Current State: 50:[100, 50], Operations: ['27+73=100', '68-18=50']
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 73, 18, 68], Operations: []
Exploring Operation: 73-68=5, Resulting Numbers: [27, 18, 5]
Generated Node #0,0: 50:[27, 18, 5] Operation: 73-68=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[27, 18, 5], Operations: ['73-68=5']
Exploring Operation: 27-18=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 50:[5, 9] Operation: 27-18=9
Moving to Node #0,0,0
Current State: 50:[5, 9], Operations: ['73-68=5', '27-18=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
83,
12,
54
] | 19 | [
"2+83=85",
"12+54=66",
"85-66=19"
] | Current State: 19:[2, 83, 12, 54], Operations: []
Exploring Operation: 2+83=85, Resulting Numbers: [12, 54, 85]
Generated Node #2: [12, 54, 85] from Operation: 2+83=85
Current State: 19:[12, 54, 85], Operations: ['2+83=85']
Exploring Operation: 12+54=66, Resulting Numbers: [85, 66]
Generated Node #3: [85, 66] from Operation: 12+54=66
Current State: 19:[85, 66], Operations: ['2+83=85', '12+54=66']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 83, 12, 54], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [83, 12, 27]
Generated Node #0,0: 19:[83, 12, 27] Operation: 54/2=27
Exploring Operation: 83-54=29, Resulting Numbers: [2, 12, 29]
Generated Node #0,1: 19:[2, 12, 29] Operation: 83-54=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[2, 12, 29], Operations: ['83-54=29']
Exploring Operation: 2+12=14, Resulting Numbers: [29, 14]
Generated Node #0,1,0: 19:[29, 14] Operation: 2+12=14
Exploring Operation: 2*12=24, Resulting Numbers: [29, 24]
Generated Node #0,1,1: 19:[29, 24] Operation: 2*12=24
Moving to Node #0,1,0
Current State: 19:[29, 14], Operations: ['83-54=29', '2+12=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[29, 24], Operations: ['83-54=29', '2*12=24']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,19 unequal: No Solution
No 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: 19:[83, 12, 27], Operations: ['54/2=27']
Exploring Operation: 83-27=56, Resulting Numbers: [12, 56]
Generated Node #0,0,0: 19:[12, 56] Operation: 83-27=56
Exploring Operation: 83-12=71, Resulting Numbers: [27, 71]
Generated Node #0,0,1: 19:[27, 71] Operation: 83-12=71
Moving to Node #0,0,0
Current State: 19:[12, 56], Operations: ['54/2=27', '83-27=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[27, 71], Operations: ['54/2=27', '83-12=71']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,19 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 |
[
47,
5,
6,
13
] | 72 | [
"47+13=60",
"60/5=12",
"6*12=72"
] | Current State: 72:[47, 5, 6, 13], Operations: []
Exploring Operation: 47+13=60, Resulting Numbers: [5, 6, 60]
Generated Node #2: [5, 6, 60] from Operation: 47+13=60
Current State: 72:[5, 6, 60], Operations: ['47+13=60']
Exploring Operation: 60/5=12, Resulting Numbers: [6, 12]
Generated Node #3: [6, 12] from Operation: 60/5=12
Current State: 72:[6, 12], Operations: ['47+13=60', '60/5=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[47, 5, 6, 13], Operations: []
Exploring Operation: 47-13=34, Resulting Numbers: [5, 6, 34]
Generated Node #0,0: 72:[5, 6, 34] Operation: 47-13=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[5, 6, 34], Operations: ['47-13=34']
Exploring Operation: 5+6=11, Resulting Numbers: [34, 11]
Generated Node #0,0,0: 72:[34, 11] Operation: 5+6=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[34, 11], Operations: ['47-13=34', '5+6=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,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 |
[
72,
56,
23,
89
] | 96 | [
"72-56=16",
"23+89=112",
"112-16=96"
] | Current State: 96:[72, 56, 23, 89], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [23, 89, 16]
Generated Node #2: [23, 89, 16] from Operation: 72-56=16
Current State: 96:[23, 89, 16], Operations: ['72-56=16']
Exploring Operation: 23+89=112, Resulting Numbers: [16, 112]
Generated Node #3: [16, 112] from Operation: 23+89=112
Current State: 96:[16, 112], Operations: ['72-56=16', '23+89=112']
Exploring Operation: 112-16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[72, 56, 23, 89], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [56, 23, 17]
Generated Node #0,0: 96:[56, 23, 17] Operation: 89-72=17
Exploring Operation: 72-23=49, Resulting Numbers: [56, 89, 49]
Generated Node #0,1: 96:[56, 89, 49] Operation: 72-23=49
Exploring Operation: 72-56=16, Resulting Numbers: [23, 89, 16]
Generated Node #0,2: 96:[23, 89, 16] Operation: 72-56=16
Exploring Operation: 72+23=95, Resulting Numbers: [56, 89, 95]
Generated Node #0,3: 96:[56, 89, 95] Operation: 72+23=95
Moving to Node #0,2
Current State: 96:[23, 89, 16], Operations: ['72-56=16']
Exploring Operation: 23-16=7, Resulting Numbers: [89, 7]
Generated Node #0,2,0: 96:[89, 7] Operation: 23-16=7
Exploring Operation: 89+16=105, Resulting Numbers: [23, 105]
Generated Node #0,2,1: 96:[23, 105] Operation: 89+16=105
Exploring Operation: 23+16=39, Resulting Numbers: [89, 39]
Generated Node #0,2,2: 96:[89, 39] Operation: 23+16=39
Exploring Operation: 23+89=112, Resulting Numbers: [16, 112]
Generated Node #0,2,3: 96:[16, 112] Operation: 23+89=112
Moving to Node #0,0
Current State: 96:[56, 23, 17], Operations: ['89-72=17']
Exploring Operation: 56-17=39, Resulting Numbers: [23, 39]
Generated Node #0,0,0: 96:[23, 39] Operation: 56-17=39
Exploring Operation: 23+17=40, Resulting Numbers: [56, 40]
Generated Node #0,0,1: 96:[56, 40] Operation: 23+17=40
Exploring Operation: 23-17=6, Resulting Numbers: [56, 6]
Generated Node #0,0,2: 96:[56, 6] Operation: 23-17=6
Exploring Operation: 56-23=33, Resulting Numbers: [17, 33]
Generated Node #0,0,3: 96:[17, 33] Operation: 56-23=33
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[17, 33], Operations: ['89-72=17', '56-23=33']
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,96 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,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,0,0
Current State: 96:[23, 39], Operations: ['89-72=17', '56-17=39']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,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,0,2
Current State: 96:[56, 6], Operations: ['89-72=17', '23-17=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,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,0,1
Current State: 96:[56, 40], Operations: ['89-72=17', '23+17=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[72, 56, 23, 89], Operations: []
Exploring Operation: 89-72=17, Resulting Numbers: [56, 23, 17]
Generated Node #0,0: 96:[56, 23, 17] Operation: 89-72=17
Moving to Node #0,0
Current State: 96:[56, 23, 17], Operations: ['89-72=17']
Exploring Operation: 23+17=40, Resulting Numbers: [56, 40]
Generated Node #0,0,1: 96:[56, 40] Operation: 23+17=40
Moving to Node #0,0,1
Current State: 96:[56, 40], Operations: ['89-72=17', '23+17=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
64,
27,
93,
16
] | 18 | [
"64+27=91",
"93+16=109",
"109-91=18"
] | Current State: 18:[64, 27, 93, 16], Operations: []
Exploring Operation: 64+27=91, Resulting Numbers: [93, 16, 91]
Generated Node #2: [93, 16, 91] from Operation: 64+27=91
Current State: 18:[93, 16, 91], Operations: ['64+27=91']
Exploring Operation: 93+16=109, Resulting Numbers: [91, 109]
Generated Node #3: [91, 109] from Operation: 93+16=109
Current State: 18:[91, 109], Operations: ['64+27=91', '93+16=109']
Exploring Operation: 109-91=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[64, 27, 93, 16], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [27, 93, 4]
Generated Node #0,0: 18:[27, 93, 4] Operation: 64/16=4
Exploring Operation: 93-27=66, Resulting Numbers: [64, 16, 66]
Generated Node #0,1: 18:[64, 16, 66] Operation: 93-27=66
Exploring Operation: 93-64=29, Resulting Numbers: [27, 16, 29]
Generated Node #0,2: 18:[27, 16, 29] Operation: 93-64=29
Exploring Operation: 64-27=37, Resulting Numbers: [93, 16, 37]
Generated Node #0,3: 18:[93, 16, 37] Operation: 64-27=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[27, 16, 29], Operations: ['93-64=29']
Exploring Operation: 29-27=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 18:[16, 2] Operation: 29-27=2
Exploring Operation: 27-16=11, Resulting Numbers: [29, 11]
Generated Node #0,2,1: 18:[29, 11] Operation: 27-16=11
Exploring Operation: 29-16=13, Resulting Numbers: [27, 13]
Generated Node #0,2,2: 18:[27, 13] Operation: 29-16=13
Exploring Operation: 27+16=43, Resulting Numbers: [29, 43]
Generated Node #0,2,3: 18:[29, 43] Operation: 27+16=43
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[16, 2], Operations: ['93-64=29', '29-27=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[64, 27, 93, 16], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [27, 16, 29]
Generated Node #0,2: 18:[27, 16, 29] Operation: 93-64=29
Moving to Node #0,2
Current State: 18:[27, 16, 29], Operations: ['93-64=29']
Exploring Operation: 29-27=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 18:[16, 2] Operation: 29-27=2
Moving to Node #0,2,0
Current State: 18:[16, 2], Operations: ['93-64=29', '29-27=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
63,
11,
15,
99
] | 57 | [
"63-15=48",
"99/11=9",
"48+9=57"
] | Current State: 57:[63, 11, 15, 99], Operations: []
Exploring Operation: 63-15=48, Resulting Numbers: [11, 99, 48]
Generated Node #2: [11, 99, 48] from Operation: 63-15=48
Current State: 57:[11, 99, 48], Operations: ['63-15=48']
Exploring Operation: 99/11=9, Resulting Numbers: [48, 9]
Generated Node #3: [48, 9] from Operation: 99/11=9
Current State: 57:[48, 9], Operations: ['63-15=48', '99/11=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[63, 11, 15, 99], Operations: []
Exploring Operation: 99-11=88, Resulting Numbers: [63, 15, 88]
Generated Node #0,0: 57:[63, 15, 88] Operation: 99-11=88
Exploring Operation: 99-15=84, Resulting Numbers: [63, 11, 84]
Generated Node #0,1: 57:[63, 11, 84] Operation: 99-15=84
Exploring Operation: 99/11=9, Resulting Numbers: [63, 15, 9]
Generated Node #0,2: 57:[63, 15, 9] Operation: 99/11=9
Exploring Operation: 99-63=36, Resulting Numbers: [11, 15, 36]
Generated Node #0,3: 57:[11, 15, 36] Operation: 99-63=36
Moving to Node #0,2
Current State: 57:[63, 15, 9], Operations: ['99/11=9']
Exploring Operation: 63-9=54, Resulting Numbers: [15, 54]
Generated Node #0,2,0: 57:[15, 54] Operation: 63-9=54
Exploring Operation: 15-9=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 57:[63, 6] Operation: 15-9=6
Exploring Operation: 15+9=24, Resulting Numbers: [63, 24]
Generated Node #0,2,2: 57:[63, 24] Operation: 15+9=24
Exploring Operation: 63/9=7, Resulting Numbers: [15, 7]
Generated Node #0,2,3: 57:[15, 7] Operation: 63/9=7
Moving to Node #0,3
Current State: 57:[11, 15, 36], Operations: ['99-63=36']
Exploring Operation: 11+36=47, Resulting Numbers: [15, 47]
Generated Node #0,3,0: 57:[15, 47] Operation: 11+36=47
Exploring Operation: 36-15=21, Resulting Numbers: [11, 21]
Generated Node #0,3,1: 57:[11, 21] Operation: 36-15=21
Exploring Operation: 36-11=25, Resulting Numbers: [15, 25]
Generated Node #0,3,2: 57:[15, 25] Operation: 36-11=25
Exploring Operation: 15+36=51, Resulting Numbers: [11, 51]
Generated Node #0,3,3: 57:[11, 51] Operation: 15+36=51
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[11, 21], Operations: ['99-63=36', '36-15=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[15, 25], Operations: ['99-63=36', '36-11=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[15, 47], Operations: ['99-63=36', '11+36=47']
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,57 unequal: No Solution
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,57 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[11, 51], Operations: ['99-63=36', '15+36=51']
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,57 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,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:[63, 11, 84], Operations: ['99-15=84']
Exploring Operation: 63-11=52, Resulting Numbers: [84, 52]
Generated Node #0,1,0: 57:[84, 52] Operation: 63-11=52
Exploring Operation: 84-63=21, Resulting Numbers: [11, 21]
Generated Node #0,1,1: 57:[11, 21] Operation: 84-63=21
Exploring Operation: 84-11=73, Resulting Numbers: [63, 73]
Generated Node #0,1,2: 57:[63, 73] Operation: 84-11=73
Exploring Operation: 63+11=74, Resulting Numbers: [84, 74]
Generated Node #0,1,3: 57:[84, 74] Operation: 63+11=74
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[11, 21], Operations: ['99-15=84', '84-63=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,57 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,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,2
Current State: 57:[63, 73], Operations: ['99-15=84', '84-11=73']
Exploring Operation: 63*73=4599, Resulting Numbers: [4599]
4599,57 unequal: No Solution
Exploring Operation: 63+73=136, Resulting Numbers: [136]
136,57 unequal: No Solution
Exploring Operation: 73-63=10, Resulting Numbers: [10]
10,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:[84, 52], Operations: ['99-15=84', '63-11=52']
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,57 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,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,3
Current State: 57:[84, 74], Operations: ['99-15=84', '63+11=74']
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,57 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,57 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: 57:[63, 15, 88], Operations: ['99-11=88']
Exploring Operation: 63-15=48, Resulting Numbers: [88, 48]
Generated Node #0,0,0: 57:[88, 48] Operation: 63-15=48
Exploring Operation: 63+15=78, Resulting Numbers: [88, 78]
Generated Node #0,0,1: 57:[88, 78] Operation: 63+15=78
Exploring Operation: 88-63=25, Resulting Numbers: [15, 25]
Generated Node #0,0,2: 57:[15, 25] Operation: 88-63=25
Exploring Operation: 88-15=73, Resulting Numbers: [63, 73]
Generated Node #0,0,3: 57:[63, 73] Operation: 88-15=73
Moving to Node #0,2,0
Current State: 57:[15, 54], Operations: ['99/11=9', '63-9=54']
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,57 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[15, 7], Operations: ['99/11=9', '63/9=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,57 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[63, 6], Operations: ['99/11=9', '15-9=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,57 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[63, 11, 15, 99], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [63, 15, 9]
Generated Node #0,2: 57:[63, 15, 9] Operation: 99/11=9
Moving to Node #0,2
Current State: 57:[63, 15, 9], Operations: ['99/11=9']
Exploring Operation: 15-9=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 57:[63, 6] Operation: 15-9=6
Moving to Node #0,2,1
Current State: 57:[63, 6], Operations: ['99/11=9', '15-9=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.950521 | hs_4 | sum_heuristic |
[
17,
47,
97,
83
] | 44 | [
"47-17=30",
"97-83=14",
"30+14=44"
] | Current State: 44:[17, 47, 97, 83], Operations: []
Exploring Operation: 47-17=30, Resulting Numbers: [97, 83, 30]
Generated Node #2: [97, 83, 30] from Operation: 47-17=30
Current State: 44:[97, 83, 30], Operations: ['47-17=30']
Exploring Operation: 97-83=14, Resulting Numbers: [30, 14]
Generated Node #3: [30, 14] from Operation: 97-83=14
Current State: 44:[30, 14], Operations: ['47-17=30', '97-83=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[17, 47, 97, 83], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [17, 47, 14]
Generated Node #0,0: 44:[17, 47, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[17, 47, 14], Operations: ['97-83=14']
Exploring Operation: 17-14=3, Resulting Numbers: [47, 3]
Generated Node #0,0,0: 44:[47, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 44:[47, 3], Operations: ['97-83=14', '17-14=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[17, 47, 97, 83], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [17, 47, 14]
Generated Node #0,0: 44:[17, 47, 14] Operation: 97-83=14
Moving to Node #0,0
Current State: 44:[17, 47, 14], Operations: ['97-83=14']
Exploring Operation: 17-14=3, Resulting Numbers: [47, 3]
Generated Node #0,0,0: 44:[47, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 44:[47, 3], Operations: ['97-83=14', '17-14=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
26,
35,
28,
24
] | 37 | [
"28+24=52",
"52/26=2",
"35+2=37"
] | Current State: 37:[26, 35, 28, 24], Operations: []
Exploring Operation: 28+24=52, Resulting Numbers: [26, 35, 52]
Generated Node #2: [26, 35, 52] from Operation: 28+24=52
Current State: 37:[26, 35, 52], Operations: ['28+24=52']
Exploring Operation: 52/26=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 52/26=2
Current State: 37:[35, 2], Operations: ['28+24=52', '52/26=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[26, 35, 28, 24], Operations: []
Exploring Operation: 26+28=54, Resulting Numbers: [35, 24, 54]
Generated Node #0,0: 37:[35, 24, 54] Operation: 26+28=54
Exploring Operation: 28+24=52, Resulting Numbers: [26, 35, 52]
Generated Node #0,1: 37:[26, 35, 52] Operation: 28+24=52
Exploring Operation: 26+24=50, Resulting Numbers: [35, 28, 50]
Generated Node #0,2: 37:[35, 28, 50] Operation: 26+24=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[35, 28, 50], Operations: ['26+24=50']
Exploring Operation: 50-28=22, Resulting Numbers: [35, 22]
Generated Node #0,2,0: 37:[35, 22] Operation: 50-28=22
Exploring Operation: 35+28=63, Resulting Numbers: [50, 63]
Generated Node #0,2,1: 37:[50, 63] Operation: 35+28=63
Exploring Operation: 50-35=15, Resulting Numbers: [28, 15]
Generated Node #0,2,2: 37:[28, 15] Operation: 50-35=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[35, 22], Operations: ['26+24=50', '50-28=22']
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,37 unequal: No Solution
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,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,2,2
Current State: 37:[28, 15], Operations: ['26+24=50', '50-35=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,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,2,1
Current State: 37:[50, 63], Operations: ['26+24=50', '35+28=63']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,37 unequal: No Solution
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,37 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: 37:[26, 35, 52], Operations: ['28+24=52']
Exploring Operation: 52-26=26, Resulting Numbers: [35, 26]
Generated Node #0,1,0: 37:[35, 26] Operation: 52-26=26
Exploring Operation: 52-35=17, Resulting Numbers: [26, 17]
Generated Node #0,1,1: 37:[26, 17] Operation: 52-35=17
Exploring Operation: 52/26=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 37:[35, 2] Operation: 52/26=2
Moving to Node #0,1,0
Current State: 37:[35, 26], Operations: ['28+24=52', '52-26=26']
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,37 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[26, 17], Operations: ['28+24=52', '52-35=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[35, 2], Operations: ['28+24=52', '52/26=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[26, 35, 28, 24], Operations: []
Exploring Operation: 28+24=52, Resulting Numbers: [26, 35, 52]
Generated Node #0,1: 37:[26, 35, 52] Operation: 28+24=52
Moving to Node #0,1
Current State: 37:[26, 35, 52], Operations: ['28+24=52']
Exploring Operation: 52/26=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 37:[35, 2] Operation: 52/26=2
Moving to Node #0,1,2
Current State: 37:[35, 2], Operations: ['28+24=52', '52/26=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
47,
3,
43,
23
] | 59 | [
"47+23=70",
"3*43=129",
"129-70=59"
] | Current State: 59:[47, 3, 43, 23], Operations: []
Exploring Operation: 47+23=70, Resulting Numbers: [3, 43, 70]
Generated Node #2: [3, 43, 70] from Operation: 47+23=70
Current State: 59:[3, 43, 70], Operations: ['47+23=70']
Exploring Operation: 3*43=129, Resulting Numbers: [70, 129]
Generated Node #3: [70, 129] from Operation: 3*43=129
Current State: 59:[70, 129], Operations: ['47+23=70', '3*43=129']
Exploring Operation: 129-70=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[47, 3, 43, 23], Operations: []
Exploring Operation: 3*23=69, Resulting Numbers: [47, 43, 69]
Generated Node #0,0: 59:[47, 43, 69] Operation: 3*23=69
Moving to Node #0,0
Current State: 59:[47, 43, 69], Operations: ['3*23=69']
Exploring Operation: 47+43=90, Resulting Numbers: [69, 90]
Generated Node #0,0,0: 59:[69, 90] Operation: 47+43=90
Moving to Node #0,0,0
Current State: 59:[69, 90], Operations: ['3*23=69', '47+43=90']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
46,
62,
60
] | 31 | [
"60/4=15",
"62-46=16",
"15+16=31"
] | Current State: 31:[4, 46, 62, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [46, 62, 15]
Generated Node #2: [46, 62, 15] from Operation: 60/4=15
Current State: 31:[46, 62, 15], Operations: ['60/4=15']
Exploring Operation: 62-46=16, Resulting Numbers: [15, 16]
Generated Node #3: [15, 16] from Operation: 62-46=16
Current State: 31:[15, 16], Operations: ['60/4=15', '62-46=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 46, 62, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [46, 62, 15]
Generated Node #0,0: 31:[46, 62, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[46, 62, 15], Operations: ['60/4=15']
Exploring Operation: 62-46=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 31:[15, 16] Operation: 62-46=16
Moving to Node #0,0,0
Current State: 31:[15, 16], Operations: ['60/4=15', '62-46=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[4, 46, 62, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [46, 62, 15]
Generated Node #0,0: 31:[46, 62, 15] Operation: 60/4=15
Moving to Node #0,0
Current State: 31:[46, 62, 15], Operations: ['60/4=15']
Exploring Operation: 62-46=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 31:[15, 16] Operation: 62-46=16
Moving to Node #0,0,0
Current State: 31:[15, 16], Operations: ['60/4=15', '62-46=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
77,
7,
91,
15
] | 49 | [
"77-15=62",
"91/7=13",
"62-13=49"
] | Current State: 49:[77, 7, 91, 15], Operations: []
Exploring Operation: 77-15=62, Resulting Numbers: [7, 91, 62]
Generated Node #2: [7, 91, 62] from Operation: 77-15=62
Current State: 49:[7, 91, 62], Operations: ['77-15=62']
Exploring Operation: 91/7=13, Resulting Numbers: [62, 13]
Generated Node #3: [62, 13] from Operation: 91/7=13
Current State: 49:[62, 13], Operations: ['77-15=62', '91/7=13']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[77, 7, 91, 15], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [7, 15, 14]
Generated Node #0,0: 49:[7, 15, 14] Operation: 91-77=14
Exploring Operation: 77-15=62, Resulting Numbers: [7, 91, 62]
Generated Node #0,1: 49:[7, 91, 62] Operation: 77-15=62
Exploring Operation: 91/7=13, Resulting Numbers: [77, 15, 13]
Generated Node #0,2: 49:[77, 15, 13] Operation: 91/7=13
Exploring Operation: 77/7=11, Resulting Numbers: [91, 15, 11]
Generated Node #0,3: 49:[91, 15, 11] Operation: 77/7=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[7, 15, 14], Operations: ['91-77=14']
Exploring Operation: 15-14=1, Resulting Numbers: [7, 1]
Generated Node #0,0,0: 49:[7, 1] Operation: 15-14=1
Exploring Operation: 15-7=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 49:[14, 8] Operation: 15-7=8
Exploring Operation: 14-7=7, Resulting Numbers: [15, 7]
Generated Node #0,0,2: 49:[15, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [15, 2]
Generated Node #0,0,3: 49:[15, 2] Operation: 14/7=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[7, 1], Operations: ['91-77=14', '15-14=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[14, 8], Operations: ['91-77=14', '15-7=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,49 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[15, 7], Operations: ['91-77=14', '14-7=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[15, 2], Operations: ['91-77=14', '14/7=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[77, 15, 13], Operations: ['91/7=13']
Exploring Operation: 77-13=64, Resulting Numbers: [15, 64]
Generated Node #0,2,0: 49:[15, 64] Operation: 77-13=64
Exploring Operation: 77-15=62, Resulting Numbers: [13, 62]
Generated Node #0,2,1: 49:[13, 62] Operation: 77-15=62
Exploring Operation: 77+15=92, Resulting Numbers: [13, 92]
Generated Node #0,2,2: 49:[13, 92] Operation: 77+15=92
Exploring Operation: 15-13=2, Resulting Numbers: [77, 2]
Generated Node #0,2,3: 49:[77, 2] Operation: 15-13=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[13, 62], Operations: ['91/7=13', '77-15=62']
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[77, 7, 91, 15], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [77, 15, 13]
Generated Node #0,2: 49:[77, 15, 13] Operation: 91/7=13
Moving to Node #0,2
Current State: 49:[77, 15, 13], Operations: ['91/7=13']
Exploring Operation: 77-15=62, Resulting Numbers: [13, 62]
Generated Node #0,2,1: 49:[13, 62] Operation: 77-15=62
Moving to Node #0,2,1
Current State: 49:[13, 62], Operations: ['91/7=13', '77-15=62']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
4,
64,
48,
3
] | 68 | [
"64-4=60",
"60/3=20",
"48+20=68"
] | Current State: 68:[4, 64, 48, 3], Operations: []
Exploring Operation: 64-4=60, Resulting Numbers: [48, 3, 60]
Generated Node #2: [48, 3, 60] from Operation: 64-4=60
Current State: 68:[48, 3, 60], Operations: ['64-4=60']
Exploring Operation: 60/3=20, Resulting Numbers: [48, 20]
Generated Node #3: [48, 20] from Operation: 60/3=20
Current State: 68:[48, 20], Operations: ['64-4=60', '60/3=20']
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[4, 64, 48, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [4, 64, 16]
Generated Node #0,0: 68:[4, 64, 16] Operation: 48/3=16
Exploring Operation: 64-48=16, Resulting Numbers: [4, 3, 16]
Generated Node #0,1: 68:[4, 3, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 68:[4, 3, 16], Operations: ['64-48=16']
Exploring Operation: 16/4=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 68:[3, 4] Operation: 16/4=4
Exploring Operation: 4-3=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 68:[16, 1] Operation: 4-3=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[3, 4], Operations: ['64-48=16', '16/4=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[16, 1], Operations: ['64-48=16', '4-3=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 68:[4, 64, 16], Operations: ['48/3=16']
Exploring Operation: 64/16=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 68:[4, 4] Operation: 64/16=4
Exploring Operation: 4+64=68, Resulting Numbers: [16, 68]
Generated Node #0,0,1: 68:[16, 68] Operation: 4+64=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[4, 4], Operations: ['48/3=16', '64/16=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[16, 68], Operations: ['48/3=16', '4+64=68']
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 16+68=84, Resulting Numbers: [84]
84,68 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 |
[
8,
72,
24,
74
] | 69 | [
"74-8=66",
"72/24=3",
"66+3=69"
] | Current State: 69:[8, 72, 24, 74], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [72, 24, 66]
Generated Node #2: [72, 24, 66] from Operation: 74-8=66
Current State: 69:[72, 24, 66], Operations: ['74-8=66']
Exploring Operation: 72/24=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 72/24=3
Current State: 69:[66, 3], Operations: ['74-8=66', '72/24=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[8, 72, 24, 74], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [72, 74, 3]
Generated Node #0,0: 69:[72, 74, 3] Operation: 24/8=3
Exploring Operation: 74-8=66, Resulting Numbers: [72, 24, 66]
Generated Node #0,1: 69:[72, 24, 66] Operation: 74-8=66
Exploring Operation: 74-72=2, Resulting Numbers: [8, 24, 2]
Generated Node #0,2: 69:[8, 24, 2] Operation: 74-72=2
Exploring Operation: 72/24=3, Resulting Numbers: [8, 74, 3]
Generated Node #0,3: 69:[8, 74, 3] Operation: 72/24=3
Moving to Node #0,1
Current State: 69:[72, 24, 66], Operations: ['74-8=66']
Exploring Operation: 66-24=42, Resulting Numbers: [72, 42]
Generated Node #0,1,0: 69:[72, 42] Operation: 66-24=42
Exploring Operation: 72-24=48, Resulting Numbers: [66, 48]
Generated Node #0,1,1: 69:[66, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [66, 3]
Generated Node #0,1,2: 69:[66, 3] Operation: 72/24=3
Exploring Operation: 72-66=6, Resulting Numbers: [24, 6]
Generated Node #0,1,3: 69:[24, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[66, 3], Operations: ['74-8=66', '72/24=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:[8, 72, 24, 74], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [72, 24, 66]
Generated Node #0,1: 69:[72, 24, 66] Operation: 74-8=66
Moving to Node #0,1
Current State: 69:[72, 24, 66], Operations: ['74-8=66']
Exploring Operation: 72/24=3, Resulting Numbers: [66, 3]
Generated Node #0,1,2: 69:[66, 3] Operation: 72/24=3
Moving to Node #0,1,2
Current State: 69:[66, 3], Operations: ['74-8=66', '72/24=3']
Exploring Operation: 66+3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
8,
73,
61,
58
] | 97 | [
"61-58=3",
"8*3=24",
"73+24=97"
] | Current State: 97:[8, 73, 61, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [8, 73, 3]
Generated Node #2: [8, 73, 3] from Operation: 61-58=3
Current State: 97:[8, 73, 3], Operations: ['61-58=3']
Exploring Operation: 8*3=24, Resulting Numbers: [73, 24]
Generated Node #3: [73, 24] from Operation: 8*3=24
Current State: 97:[73, 24], Operations: ['61-58=3', '8*3=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[8, 73, 61, 58], Operations: []
Exploring Operation: 8+61=69, Resulting Numbers: [73, 58, 69]
Generated Node #0,0: 97:[73, 58, 69] Operation: 8+61=69
Exploring Operation: 8+73=81, Resulting Numbers: [61, 58, 81]
Generated Node #0,1: 97:[61, 58, 81] Operation: 8+73=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[73, 58, 69], Operations: ['8+61=69']
Exploring Operation: 58+69=127, Resulting Numbers: [73, 127]
Generated Node #0,0,0: 97:[73, 127] Operation: 58+69=127
Exploring Operation: 73+58=131, Resulting Numbers: [69, 131]
Generated Node #0,0,1: 97:[69, 131] Operation: 73+58=131
Moving to Node #0,0,0
Current State: 97:[73, 127], Operations: ['8+61=69', '58+69=127']
Exploring Operation: 127-73=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 73+127=200, Resulting Numbers: [200]
200,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[69, 131], Operations: ['8+61=69', '73+58=131']
Exploring Operation: 131-69=62, Resulting Numbers: [62]
62,97 unequal: No Solution
Exploring Operation: 69+131=200, Resulting Numbers: [200]
200,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,1
Current State: 97:[61, 58, 81], Operations: ['8+73=81']
Exploring Operation: 58+81=139, Resulting Numbers: [61, 139]
Generated Node #0,1,0: 97:[61, 139] Operation: 58+81=139
Exploring Operation: 61+58=119, Resulting Numbers: [81, 119]
Generated Node #0,1,1: 97:[81, 119] Operation: 61+58=119
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[81, 119], Operations: ['8+73=81', '61+58=119']
Exploring Operation: 81+119=200, Resulting Numbers: [200]
200,97 unequal: No Solution
Exploring Operation: 119-81=38, Resulting Numbers: [38]
38,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:[61, 139], Operations: ['8+73=81', '58+81=139']
Exploring Operation: 61+139=200, Resulting Numbers: [200]
200,97 unequal: No Solution
Exploring Operation: 139-61=78, Resulting Numbers: [78]
78,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_2 | mult_heuristic |
[
63,
82,
75,
21
] | 60 | [
"82-75=7",
"21/7=3",
"63-3=60"
] | Current State: 60:[63, 82, 75, 21], Operations: []
Exploring Operation: 82-75=7, Resulting Numbers: [63, 21, 7]
Generated Node #2: [63, 21, 7] from Operation: 82-75=7
Current State: 60:[63, 21, 7], Operations: ['82-75=7']
Exploring Operation: 21/7=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 21/7=3
Current State: 60:[63, 3], Operations: ['82-75=7', '21/7=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[63, 82, 75, 21], Operations: []
Exploring Operation: 82-21=61, Resulting Numbers: [63, 75, 61]
Generated Node #0,0: 60:[63, 75, 61] Operation: 82-21=61
Exploring Operation: 82-63=19, Resulting Numbers: [75, 21, 19]
Generated Node #0,1: 60:[75, 21, 19] Operation: 82-63=19
Exploring Operation: 75-63=12, Resulting Numbers: [82, 21, 12]
Generated Node #0,2: 60:[82, 21, 12] Operation: 75-63=12
Exploring Operation: 82-75=7, Resulting Numbers: [63, 21, 7]
Generated Node #0,3: 60:[63, 21, 7] Operation: 82-75=7
Moving to Node #0,3
Current State: 60:[63, 21, 7], Operations: ['82-75=7']
Exploring Operation: 21-7=14, Resulting Numbers: [63, 14]
Generated Node #0,3,0: 60:[63, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [63, 3]
Generated Node #0,3,1: 60:[63, 3] Operation: 21/7=3
Exploring Operation: 63/21=3, Resulting Numbers: [7, 3]
Generated Node #0,3,2: 60:[7, 3] Operation: 63/21=3
Exploring Operation: 63/7=9, Resulting Numbers: [21, 9]
Generated Node #0,3,3: 60:[21, 9] Operation: 63/7=9
Moving to Node #0,1
Current State: 60:[75, 21, 19], Operations: ['82-63=19']
Exploring Operation: 75-19=56, Resulting Numbers: [21, 56]
Generated Node #0,1,0: 60:[21, 56] Operation: 75-19=56
Exploring Operation: 21-19=2, Resulting Numbers: [75, 2]
Generated Node #0,1,1: 60:[75, 2] Operation: 21-19=2
Exploring Operation: 75-21=54, Resulting Numbers: [19, 54]
Generated Node #0,1,2: 60:[19, 54] Operation: 75-21=54
Exploring Operation: 21+19=40, Resulting Numbers: [75, 40]
Generated Node #0,1,3: 60:[75, 40] Operation: 21+19=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[21, 56], Operations: ['82-63=19', '75-19=56']
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 21*56=1176, Resulting Numbers: [1176]
1176,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[19, 54], Operations: ['82-63=19', '75-21=54']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,60 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[75, 2], Operations: ['82-63=19', '21-19=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,60 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[75, 40], Operations: ['82-63=19', '21+19=40']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,60 unequal: No Solution
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 60:[63, 75, 61], Operations: ['82-21=61']
Exploring Operation: 75-61=14, Resulting Numbers: [63, 14]
Generated Node #0,0,0: 60:[63, 14] Operation: 75-61=14
Exploring Operation: 63+75=138, Resulting Numbers: [61, 138]
Generated Node #0,0,1: 60:[61, 138] Operation: 63+75=138
Exploring Operation: 63-61=2, Resulting Numbers: [75, 2]
Generated Node #0,0,2: 60:[75, 2] Operation: 63-61=2
Exploring Operation: 75-63=12, Resulting Numbers: [61, 12]
Generated Node #0,0,3: 60:[61, 12] Operation: 75-63=12
Moving to Node #0,2
Current State: 60:[82, 21, 12], Operations: ['75-63=12']
Exploring Operation: 21+12=33, Resulting Numbers: [82, 33]
Generated Node #0,2,0: 60:[82, 33] Operation: 21+12=33
Exploring Operation: 82-21=61, Resulting Numbers: [12, 61]
Generated Node #0,2,1: 60:[12, 61] Operation: 82-21=61
Exploring Operation: 82-12=70, Resulting Numbers: [21, 70]
Generated Node #0,2,2: 60:[21, 70] Operation: 82-12=70
Exploring Operation: 21-12=9, Resulting Numbers: [82, 9]
Generated Node #0,2,3: 60:[82, 9] Operation: 21-12=9
Moving to Node #0,3,2
Current State: 60:[7, 3], Operations: ['82-75=7', '63/21=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[61, 12], Operations: ['82-21=61', '75-63=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,60 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[12, 61], Operations: ['75-63=12', '82-21=61']
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,60 unequal: No Solution
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,60 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[21, 9], Operations: ['82-75=7', '63/7=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,60 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[63, 3], Operations: ['82-75=7', '21/7=3']
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,60 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[63, 82, 75, 21], Operations: []
Exploring Operation: 82-75=7, Resulting Numbers: [63, 21, 7]
Generated Node #0,3: 60:[63, 21, 7] Operation: 82-75=7
Moving to Node #0,3
Current State: 60:[63, 21, 7], Operations: ['82-75=7']
Exploring Operation: 21/7=3, Resulting Numbers: [63, 3]
Generated Node #0,3,1: 60:[63, 3] Operation: 21/7=3
Moving to Node #0,3,1
Current State: 60:[63, 3], Operations: ['82-75=7', '21/7=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
29,
48,
6,
68
] | 93 | [
"48-29=19",
"6+68=74",
"19+74=93"
] | Current State: 93:[29, 48, 6, 68], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [6, 68, 19]
Generated Node #2: [6, 68, 19] from Operation: 48-29=19
Current State: 93:[6, 68, 19], Operations: ['48-29=19']
Exploring Operation: 6+68=74, Resulting Numbers: [19, 74]
Generated Node #3: [19, 74] from Operation: 6+68=74
Current State: 93:[19, 74], Operations: ['48-29=19', '6+68=74']
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[29, 48, 6, 68], Operations: []
Exploring Operation: 29+68=97, Resulting Numbers: [48, 6, 97]
Generated Node #0,0: 93:[48, 6, 97] Operation: 29+68=97
Exploring Operation: 68-48=20, Resulting Numbers: [29, 6, 20]
Generated Node #0,1: 93:[29, 6, 20] Operation: 68-48=20
Exploring Operation: 68-29=39, Resulting Numbers: [48, 6, 39]
Generated Node #0,2: 93:[48, 6, 39] Operation: 68-29=39
Exploring Operation: 48+68=116, Resulting Numbers: [29, 6, 116]
Generated Node #0,3: 93:[29, 6, 116] Operation: 48+68=116
Exploring Operation: 48/6=8, Resulting Numbers: [29, 68, 8]
Generated Node #0,4: 93:[29, 68, 8] Operation: 48/6=8
Moving to Node #0,1
Current State: 93:[29, 6, 20], Operations: ['68-48=20']
Exploring Operation: 6+20=26, Resulting Numbers: [29, 26]
Generated Node #0,1,0: 93:[29, 26] Operation: 6+20=26
Exploring Operation: 29+6=35, Resulting Numbers: [20, 35]
Generated Node #0,1,1: 93:[20, 35] Operation: 29+6=35
Exploring Operation: 20-6=14, Resulting Numbers: [29, 14]
Generated Node #0,1,2: 93:[29, 14] Operation: 20-6=14
Exploring Operation: 29-6=23, Resulting Numbers: [20, 23]
Generated Node #0,1,3: 93:[20, 23] Operation: 29-6=23
Exploring Operation: 29-20=9, Resulting Numbers: [6, 9]
Generated Node #0,1,4: 93:[6, 9] Operation: 29-20=9
Moving to Node #0,0
Current State: 93:[48, 6, 97], Operations: ['29+68=97']
Exploring Operation: 97-48=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 93:[6, 49] Operation: 97-48=49
Exploring Operation: 48-6=42, Resulting Numbers: [97, 42]
Generated Node #0,0,1: 93:[97, 42] Operation: 48-6=42
Exploring Operation: 97-6=91, Resulting Numbers: [48, 91]
Generated Node #0,0,2: 93:[48, 91] Operation: 97-6=91
Exploring Operation: 48/6=8, Resulting Numbers: [97, 8]
Generated Node #0,0,3: 93:[97, 8] Operation: 48/6=8
Exploring Operation: 48+6=54, Resulting Numbers: [97, 54]
Generated Node #0,0,4: 93:[97, 54] Operation: 48+6=54
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[97, 8], Operations: ['29+68=97', '48/6=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,93 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,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:[97, 42], Operations: ['29+68=97', '48-6=42']
Exploring Operation: 97+42=139, Resulting Numbers: [139]
139,93 unequal: No Solution
Exploring Operation: 97*42=4074, Resulting Numbers: [4074]
4074,93 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,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,2
Current State: 93:[48, 91], Operations: ['29+68=97', '97-6=91']
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,93 unequal: No Solution
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,93 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,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:[6, 49], Operations: ['29+68=97', '97-48=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,93 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,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:[97, 54], Operations: ['29+68=97', '48+6=54']
Exploring Operation: 97+54=151, Resulting Numbers: [151]
151,93 unequal: No Solution
Exploring Operation: 97*54=5238, Resulting Numbers: [5238]
5238,93 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,93 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: 93:[48, 6, 39], Operations: ['68-29=39']
Exploring Operation: 48/6=8, Resulting Numbers: [39, 8]
Generated Node #0,2,0: 93:[39, 8] Operation: 48/6=8
Exploring Operation: 48-39=9, Resulting Numbers: [6, 9]
Generated Node #0,2,1: 93:[6, 9] Operation: 48-39=9
Exploring Operation: 48-6=42, Resulting Numbers: [39, 42]
Generated Node #0,2,2: 93:[39, 42] Operation: 48-6=42
Exploring Operation: 48+39=87, Resulting Numbers: [6, 87]
Generated Node #0,2,3: 93:[6, 87] Operation: 48+39=87
Exploring Operation: 39-6=33, Resulting Numbers: [48, 33]
Generated Node #0,2,4: 93:[48, 33] Operation: 39-6=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[6, 9], Operations: ['68-29=39', '48-39=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,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,3
Current State: 93:[6, 87], Operations: ['68-29=39', '48+39=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,93 unequal: No Solution
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[29, 48, 6, 68], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [48, 6, 39]
Generated Node #0,2: 93:[48, 6, 39] Operation: 68-29=39
Moving to Node #0,2
Current State: 93:[48, 6, 39], Operations: ['68-29=39']
Exploring Operation: 48+39=87, Resulting Numbers: [6, 87]
Generated Node #0,2,3: 93:[6, 87] Operation: 48+39=87
Moving to Node #0,2,3
Current State: 93:[6, 87], Operations: ['68-29=39', '48+39=87']
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
84,
6,
26,
35
] | 38 | [
"84-6=78",
"78/26=3",
"35+3=38"
] | Current State: 38:[84, 6, 26, 35], Operations: []
Exploring Operation: 84-6=78, Resulting Numbers: [26, 35, 78]
Generated Node #2: [26, 35, 78] from Operation: 84-6=78
Current State: 38:[26, 35, 78], Operations: ['84-6=78']
Exploring Operation: 78/26=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 78/26=3
Current State: 38:[35, 3], Operations: ['84-6=78', '78/26=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[84, 6, 26, 35], Operations: []
Exploring Operation: 84-35=49, Resulting Numbers: [6, 26, 49]
Generated Node #0,0: 38:[6, 26, 49] Operation: 84-35=49
Exploring Operation: 84/6=14, Resulting Numbers: [26, 35, 14]
Generated Node #0,1: 38:[26, 35, 14] Operation: 84/6=14
Moving to Node #0,1
Current State: 38:[26, 35, 14], Operations: ['84/6=14']
Exploring Operation: 35-14=21, Resulting Numbers: [26, 21]
Generated Node #0,1,0: 38:[26, 21] Operation: 35-14=21
Exploring Operation: 26+14=40, Resulting Numbers: [35, 40]
Generated Node #0,1,1: 38:[35, 40] Operation: 26+14=40
Moving to Node #0,0
Current State: 38:[6, 26, 49], Operations: ['84-35=49']
Exploring Operation: 26-6=20, Resulting Numbers: [49, 20]
Generated Node #0,0,0: 38:[49, 20] Operation: 26-6=20
Exploring Operation: 49-26=23, Resulting Numbers: [6, 23]
Generated Node #0,0,1: 38:[6, 23] Operation: 49-26=23
Moving to Node #0,1,1
Current State: 38:[35, 40], Operations: ['84/6=14', '26+14=40']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[6, 23], Operations: ['84-35=49', '49-26=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[26, 21], Operations: ['84/6=14', '35-14=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[49, 20], Operations: ['84-35=49', '26-6=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,38 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
60,
67,
5
] | 100 | [
"67-59=8",
"5*8=40",
"60+40=100"
] | Current State: 100:[59, 60, 67, 5], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [60, 5, 8]
Generated Node #2: [60, 5, 8] from Operation: 67-59=8
Current State: 100:[60, 5, 8], Operations: ['67-59=8']
Exploring Operation: 5*8=40, Resulting Numbers: [60, 40]
Generated Node #3: [60, 40] from Operation: 5*8=40
Current State: 100:[60, 40], Operations: ['67-59=8', '5*8=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[59, 60, 67, 5], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [59, 5, 7]
Generated Node #0,0: 100:[59, 5, 7] Operation: 67-60=7
Exploring Operation: 67-59=8, Resulting Numbers: [60, 5, 8]
Generated Node #0,1: 100:[60, 5, 8] Operation: 67-59=8
Moving to Node #0,0
Current State: 100:[59, 5, 7], Operations: ['67-60=7']
Exploring Operation: 59-5=54, Resulting Numbers: [7, 54]
Generated Node #0,0,0: 100:[7, 54] Operation: 59-5=54
Exploring Operation: 59-7=52, Resulting Numbers: [5, 52]
Generated Node #0,0,1: 100:[5, 52] Operation: 59-7=52
Moving to Node #0,1
Current State: 100:[60, 5, 8], Operations: ['67-59=8']
Exploring Operation: 60/5=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 100:[8, 12] Operation: 60/5=12
Exploring Operation: 60-8=52, Resulting Numbers: [5, 52]
Generated Node #0,1,1: 100:[5, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[5, 52], Operations: ['67-59=8', '60-8=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[8, 12], Operations: ['67-59=8', '60/5=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,100 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: 100:[5, 52], Operations: ['67-60=7', '59-7=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[7, 54], Operations: ['67-60=7', '59-5=54']
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,100 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
12,
2,
35
] | 69 | [
"40+12=52",
"2*52=104",
"104-35=69"
] | Current State: 69:[40, 12, 2, 35], Operations: []
Exploring Operation: 40+12=52, Resulting Numbers: [2, 35, 52]
Generated Node #2: [2, 35, 52] from Operation: 40+12=52
Current State: 69:[2, 35, 52], Operations: ['40+12=52']
Exploring Operation: 2*52=104, Resulting Numbers: [35, 104]
Generated Node #3: [35, 104] from Operation: 2*52=104
Current State: 69:[35, 104], Operations: ['40+12=52', '2*52=104']
Exploring Operation: 104-35=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[40, 12, 2, 35], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [12, 2, 5]
Generated Node #0,0: 69:[12, 2, 5] Operation: 40-35=5
Moving to Node #0,0
Current State: 69:[12, 2, 5], Operations: ['40-35=5']
Exploring Operation: 12*2=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 69:[5, 24] Operation: 12*2=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[5, 24], Operations: ['40-35=5', '12*2=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,69 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 |
[
15,
3,
9,
95
] | 13 | [
"15-3=12",
"9*12=108",
"108-95=13"
] | Current State: 13:[15, 3, 9, 95], Operations: []
Exploring Operation: 15-3=12, Resulting Numbers: [9, 95, 12]
Generated Node #2: [9, 95, 12] from Operation: 15-3=12
Current State: 13:[9, 95, 12], Operations: ['15-3=12']
Exploring Operation: 9*12=108, Resulting Numbers: [95, 108]
Generated Node #3: [95, 108] from Operation: 9*12=108
Current State: 13:[95, 108], Operations: ['15-3=12', '9*12=108']
Exploring Operation: 108-95=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[15, 3, 9, 95], Operations: []
Exploring Operation: 95-15=80, Resulting Numbers: [3, 9, 80]
Generated Node #0,0: 13:[3, 9, 80] Operation: 95-15=80
Exploring Operation: 3+9=12, Resulting Numbers: [15, 95, 12]
Generated Node #0,1: 13:[15, 95, 12] Operation: 3+9=12
Moving to Node #0,0
Current State: 13:[3, 9, 80], Operations: ['95-15=80']
Exploring Operation: 80-3=77, Resulting Numbers: [9, 77]
Generated Node #0,0,0: 13:[9, 77] Operation: 80-3=77
Exploring Operation: 3+9=12, Resulting Numbers: [80, 12]
Generated Node #0,0,1: 13:[80, 12] Operation: 3+9=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[9, 77], Operations: ['95-15=80', '80-3=77']
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 9+77=86, Resulting Numbers: [86]
86,13 unequal: No Solution
No 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: 13:[80, 12], Operations: ['95-15=80', '3+9=12']
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,13 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: 13:[15, 95, 12], Operations: ['3+9=12']
Exploring Operation: 95-15=80, Resulting Numbers: [12, 80]
Generated Node #0,1,0: 13:[12, 80] Operation: 95-15=80
Exploring Operation: 95-12=83, Resulting Numbers: [15, 83]
Generated Node #0,1,1: 13:[15, 83] Operation: 95-12=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[12, 80], Operations: ['3+9=12', '95-15=80']
Exploring Operation: 12+80=92, Resulting Numbers: [92]
92,13 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,13 unequal: No Solution
No 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: 13:[15, 83], Operations: ['3+9=12', '95-12=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,13 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 |
[
84,
98,
85,
72
] | 27 | [
"98-84=14",
"85-72=13",
"14+13=27"
] | Current State: 27:[84, 98, 85, 72], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [85, 72, 14]
Generated Node #2: [85, 72, 14] from Operation: 98-84=14
Current State: 27:[85, 72, 14], Operations: ['98-84=14']
Exploring Operation: 85-72=13, Resulting Numbers: [14, 13]
Generated Node #3: [14, 13] from Operation: 85-72=13
Current State: 27:[14, 13], Operations: ['98-84=14', '85-72=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[84, 98, 85, 72], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [98, 72, 1]
Generated Node #0,0: 27:[98, 72, 1] Operation: 85-84=1
Exploring Operation: 84-72=12, Resulting Numbers: [98, 85, 12]
Generated Node #0,1: 27:[98, 85, 12] Operation: 84-72=12
Exploring Operation: 98-84=14, Resulting Numbers: [85, 72, 14]
Generated Node #0,2: 27:[85, 72, 14] Operation: 98-84=14
Exploring Operation: 98-85=13, Resulting Numbers: [84, 72, 13]
Generated Node #0,3: 27:[84, 72, 13] Operation: 98-85=13
Exploring Operation: 98-72=26, Resulting Numbers: [84, 85, 26]
Generated Node #0,4: 27:[84, 85, 26] Operation: 98-72=26
Moving to Node #0,3
Current State: 27:[84, 72, 13], Operations: ['98-85=13']
Exploring Operation: 72-13=59, Resulting Numbers: [84, 59]
Generated Node #0,3,0: 27:[84, 59] Operation: 72-13=59
Exploring Operation: 84-13=71, Resulting Numbers: [72, 71]
Generated Node #0,3,1: 27:[72, 71] Operation: 84-13=71
Exploring Operation: 84-72=12, Resulting Numbers: [13, 12]
Generated Node #0,3,2: 27:[13, 12] Operation: 84-72=12
Exploring Operation: 72+13=85, Resulting Numbers: [84, 85]
Generated Node #0,3,3: 27:[84, 85] Operation: 72+13=85
Exploring Operation: 84+13=97, Resulting Numbers: [72, 97]
Generated Node #0,3,4: 27:[72, 97] Operation: 84+13=97
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[13, 12], Operations: ['98-85=13', '84-72=12']
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[84, 59], Operations: ['98-85=13', '72-13=59']
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,27 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[72, 71], Operations: ['98-85=13', '84-13=71']
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 72*71=5112, Resulting Numbers: [5112]
5112,27 unequal: No Solution
Exploring Operation: 72+71=143, Resulting Numbers: [143]
143,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[84, 85], Operations: ['98-85=13', '72+13=85']
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,27 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,27 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 27:[72, 97], Operations: ['98-85=13', '84+13=97']
Exploring Operation: 72*97=6984, Resulting Numbers: [6984]
6984,27 unequal: No Solution
Exploring Operation: 72+97=169, Resulting Numbers: [169]
169,27 unequal: No Solution
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 27:[85, 72, 14], Operations: ['98-84=14']
Exploring Operation: 85+14=99, Resulting Numbers: [72, 99]
Generated Node #0,2,0: 27:[72, 99] Operation: 85+14=99
Exploring Operation: 72+14=86, Resulting Numbers: [85, 86]
Generated Node #0,2,1: 27:[85, 86] Operation: 72+14=86
Exploring Operation: 72-14=58, Resulting Numbers: [85, 58]
Generated Node #0,2,2: 27:[85, 58] Operation: 72-14=58
Exploring Operation: 85-14=71, Resulting Numbers: [72, 71]
Generated Node #0,2,3: 27:[72, 71] Operation: 85-14=71
Exploring Operation: 85-72=13, Resulting Numbers: [14, 13]
Generated Node #0,2,4: 27:[14, 13] Operation: 85-72=13
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 27:[14, 13], Operations: ['98-84=14', '85-72=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[84, 98, 85, 72], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [85, 72, 14]
Generated Node #0,2: 27:[85, 72, 14] Operation: 98-84=14
Moving to Node #0,2
Current State: 27:[85, 72, 14], Operations: ['98-84=14']
Exploring Operation: 85-72=13, Resulting Numbers: [14, 13]
Generated Node #0,2,4: 27:[14, 13] Operation: 85-72=13
Moving to Node #0,2,4
Current State: 27:[14, 13], Operations: ['98-84=14', '85-72=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
15,
76,
68,
2
] | 15 | [
"68-15=53",
"76/2=38",
"53-38=15"
] | Current State: 15:[15, 76, 68, 2], Operations: []
Exploring Operation: 68-15=53, Resulting Numbers: [76, 2, 53]
Generated Node #2: [76, 2, 53] from Operation: 68-15=53
Current State: 15:[76, 2, 53], Operations: ['68-15=53']
Exploring Operation: 76/2=38, Resulting Numbers: [53, 38]
Generated Node #3: [53, 38] from Operation: 76/2=38
Current State: 15:[53, 38], Operations: ['68-15=53', '76/2=38']
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[15, 76, 68, 2], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [15, 2, 8]
Generated Node #0,0: 15:[15, 2, 8] Operation: 76-68=8
Exploring Operation: 68/2=34, Resulting Numbers: [15, 76, 34]
Generated Node #0,1: 15:[15, 76, 34] Operation: 68/2=34
Exploring Operation: 76/2=38, Resulting Numbers: [15, 68, 38]
Generated Node #0,2: 15:[15, 68, 38] Operation: 76/2=38
Exploring Operation: 76-15=61, Resulting Numbers: [68, 2, 61]
Generated Node #0,3: 15:[68, 2, 61] Operation: 76-15=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[15, 2, 8], Operations: ['76-68=8']
Exploring Operation: 2*8=16, Resulting Numbers: [15, 16]
Generated Node #0,0,0: 15:[15, 16] Operation: 2*8=16
Exploring Operation: 8-2=6, Resulting Numbers: [15, 6]
Generated Node #0,0,1: 15:[15, 6] Operation: 8-2=6
Exploring Operation: 15-8=7, Resulting Numbers: [2, 7]
Generated Node #0,0,2: 15:[2, 7] Operation: 15-8=7
Exploring Operation: 8/2=4, Resulting Numbers: [15, 4]
Generated Node #0,0,3: 15:[15, 4] Operation: 8/2=4
Moving to Node #0,0,0
Current State: 15:[15, 16], Operations: ['76-68=8', '2*8=16']
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,15 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[15, 4], Operations: ['76-68=8', '8/2=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[15, 6], Operations: ['76-68=8', '8-2=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[2, 7], Operations: ['76-68=8', '15-8=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 2+7=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,2
Current State: 15:[15, 68, 38], Operations: ['76/2=38']
Exploring Operation: 38-15=23, Resulting Numbers: [68, 23]
Generated Node #0,2,0: 15:[68, 23] Operation: 38-15=23
Exploring Operation: 68-38=30, Resulting Numbers: [15, 30]
Generated Node #0,2,1: 15:[15, 30] Operation: 68-38=30
Exploring Operation: 68-15=53, Resulting Numbers: [38, 53]
Generated Node #0,2,2: 15:[38, 53] Operation: 68-15=53
Exploring Operation: 15+68=83, Resulting Numbers: [38, 83]
Generated Node #0,2,3: 15:[38, 83] Operation: 15+68=83
Moving to Node #0,2,1
Current State: 15:[15, 30], Operations: ['76/2=38', '68-38=30']
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,15 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[15, 76, 68, 2], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [15, 68, 38]
Generated Node #0,2: 15:[15, 68, 38] Operation: 76/2=38
Moving to Node #0,2
Current State: 15:[15, 68, 38], Operations: ['76/2=38']
Exploring Operation: 68-38=30, Resulting Numbers: [15, 30]
Generated Node #0,2,1: 15:[15, 30] Operation: 68-38=30
Moving to Node #0,2,1
Current State: 15:[15, 30], Operations: ['76/2=38', '68-38=30']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
57,
20,
24,
40
] | 72 | [
"57-20=37",
"40-37=3",
"24*3=72"
] | Current State: 72:[57, 20, 24, 40], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [24, 40, 37]
Generated Node #2: [24, 40, 37] from Operation: 57-20=37
Current State: 72:[24, 40, 37], Operations: ['57-20=37']
Exploring Operation: 40-37=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 40-37=3
Current State: 72:[24, 3], Operations: ['57-20=37', '40-37=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[57, 20, 24, 40], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [20, 24, 17]
Generated Node #0,0: 72:[20, 24, 17] Operation: 57-40=17
Exploring Operation: 57-20=37, Resulting Numbers: [24, 40, 37]
Generated Node #0,1: 72:[24, 40, 37] Operation: 57-20=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[20, 24, 17], Operations: ['57-40=17']
Exploring Operation: 24-20=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 72:[17, 4] Operation: 24-20=4
Exploring Operation: 20-17=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 72:[24, 3] Operation: 20-17=3
Moving to Node #0,0,1
Current State: 72:[24, 3], Operations: ['57-40=17', '20-17=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[57, 20, 24, 40], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [20, 24, 17]
Generated Node #0,0: 72:[20, 24, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 72:[20, 24, 17], Operations: ['57-40=17']
Exploring Operation: 20-17=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 72:[24, 3] Operation: 20-17=3
Moving to Node #0,0,1
Current State: 72:[24, 3], Operations: ['57-40=17', '20-17=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
82,
21,
37,
3
] | 18 | [
"82-37=45",
"21*3=63",
"63-45=18"
] | Current State: 18:[82, 21, 37, 3], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [21, 3, 45]
Generated Node #2: [21, 3, 45] from Operation: 82-37=45
Current State: 18:[21, 3, 45], Operations: ['82-37=45']
Exploring Operation: 21*3=63, Resulting Numbers: [45, 63]
Generated Node #3: [45, 63] from Operation: 21*3=63
Current State: 18:[45, 63], Operations: ['82-37=45', '21*3=63']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[82, 21, 37, 3], Operations: []
Exploring Operation: 82-21=61, Resulting Numbers: [37, 3, 61]
Generated Node #0,0: 18:[37, 3, 61] Operation: 82-21=61
Exploring Operation: 82-37=45, Resulting Numbers: [21, 3, 45]
Generated Node #0,1: 18:[21, 3, 45] Operation: 82-37=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[21, 3, 45], Operations: ['82-37=45']
Exploring Operation: 45-21=24, Resulting Numbers: [3, 24]
Generated Node #0,1,0: 18:[3, 24] Operation: 45-21=24
Exploring Operation: 45/3=15, Resulting Numbers: [21, 15]
Generated Node #0,1,1: 18:[21, 15] Operation: 45/3=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[3, 24], Operations: ['82-37=45', '45-21=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No 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: 18:[21, 15], Operations: ['82-37=45', '45/3=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,18 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: 18:[37, 3, 61], Operations: ['82-21=61']
Exploring Operation: 61-37=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 18:[3, 24] Operation: 61-37=24
Exploring Operation: 37-3=34, Resulting Numbers: [61, 34]
Generated Node #0,0,1: 18:[61, 34] Operation: 37-3=34
Moving to Node #0,0,0
Current State: 18:[3, 24], Operations: ['82-21=61', '61-37=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[61, 34], Operations: ['82-21=61', '37-3=34']
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,18 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 |
[
58,
37,
65,
68
] | 15 | [
"65-58=7",
"37+68=105",
"105/7=15"
] | Current State: 15:[58, 37, 65, 68], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [37, 68, 7]
Generated Node #2: [37, 68, 7] from Operation: 65-58=7
Current State: 15:[37, 68, 7], Operations: ['65-58=7']
Exploring Operation: 37+68=105, Resulting Numbers: [7, 105]
Generated Node #3: [7, 105] from Operation: 37+68=105
Current State: 15:[7, 105], Operations: ['65-58=7', '37+68=105']
Exploring Operation: 105/7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[58, 37, 65, 68], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [58, 37, 3]
Generated Node #0,0: 15:[58, 37, 3] Operation: 68-65=3
Exploring Operation: 68-58=10, Resulting Numbers: [37, 65, 10]
Generated Node #0,1: 15:[37, 65, 10] Operation: 68-58=10
Exploring Operation: 65-58=7, Resulting Numbers: [37, 68, 7]
Generated Node #0,2: 15:[37, 68, 7] Operation: 65-58=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[58, 37, 3], Operations: ['68-65=3']
Exploring Operation: 58-37=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 15:[3, 21] Operation: 58-37=21
Exploring Operation: 58-3=55, Resulting Numbers: [37, 55]
Generated Node #0,0,1: 15:[37, 55] Operation: 58-3=55
Exploring Operation: 37-3=34, Resulting Numbers: [58, 34]
Generated Node #0,0,2: 15:[58, 34] Operation: 37-3=34
Moving to Node #0,0,0
Current State: 15:[3, 21], Operations: ['68-65=3', '58-37=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[37, 55], Operations: ['68-65=3', '58-3=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,15 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[58, 34], Operations: ['68-65=3', '37-3=34']
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,15 unequal: No Solution
Exploring Operation: 58*34=1972, Resulting Numbers: [1972]
1972,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
Current State: 15:[37, 65, 10], Operations: ['68-58=10']
Exploring Operation: 65-10=55, Resulting Numbers: [37, 55]
Generated Node #0,1,0: 15:[37, 55] Operation: 65-10=55
Exploring Operation: 37-10=27, Resulting Numbers: [65, 27]
Generated Node #0,1,1: 15:[65, 27] Operation: 37-10=27
Exploring Operation: 65-37=28, Resulting Numbers: [10, 28]
Generated Node #0,1,2: 15:[10, 28] Operation: 65-37=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[10, 28], Operations: ['68-58=10', '65-37=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,15 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,15 unequal: No Solution
No 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: 15:[37, 55], Operations: ['68-58=10', '65-10=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,15 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 37*55=2035, Resulting Numbers: [2035]
2035,15 unequal: No Solution
No 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: 15:[65, 27], Operations: ['68-58=10', '37-10=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,15 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,15 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,15 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: 15:[37, 68, 7], Operations: ['65-58=7']
Exploring Operation: 68-7=61, Resulting Numbers: [37, 61]
Generated Node #0,2,0: 15:[37, 61] Operation: 68-7=61
Exploring Operation: 68-37=31, Resulting Numbers: [7, 31]
Generated Node #0,2,1: 15:[7, 31] Operation: 68-37=31
Exploring Operation: 37-7=30, Resulting Numbers: [68, 30]
Generated Node #0,2,2: 15:[68, 30] Operation: 37-7=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[7, 31], Operations: ['65-58=7', '68-37=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,15 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,15 unequal: No Solution
No 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: 15:[37, 61], Operations: ['65-58=7', '68-7=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,15 unequal: No Solution
No 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: 15:[68, 30], Operations: ['65-58=7', '37-7=30']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
65,
68,
27,
65
] | 27 | [
"65-65=0",
"68*0=0",
"27+0=27"
] | Current State: 27:[65, 68, 27, 65], Operations: []
Exploring Operation: 65-65=0, Resulting Numbers: [68, 27, 0]
Generated Node #2: [68, 27, 0] from Operation: 65-65=0
Current State: 27:[68, 27, 0], Operations: ['65-65=0']
Exploring Operation: 68*0=0, Resulting Numbers: [27, 0]
Generated Node #3: [27, 0] from Operation: 68*0=0
Current State: 27:[27, 0], Operations: ['65-65=0', '68*0=0']
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[65, 68, 27, 65], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [27, 65, 3]
Generated Node #0,0: 27:[27, 65, 3] Operation: 68-65=3
Moving to Node #0,0
Current State: 27:[27, 65, 3], Operations: ['68-65=3']
Exploring Operation: 65-27=38, Resulting Numbers: [3, 38]
Generated Node #0,0,0: 27:[3, 38] Operation: 65-27=38
Moving to Node #0,0,0
Current State: 27:[3, 38], Operations: ['68-65=3', '65-27=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
59,
90,
18
] | 77 | [
"91-90=1",
"59+18=77",
"1*77=77"
] | Current State: 77:[91, 59, 90, 18], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [59, 18, 1]
Generated Node #2: [59, 18, 1] from Operation: 91-90=1
Current State: 77:[59, 18, 1], Operations: ['91-90=1']
Exploring Operation: 59+18=77, Resulting Numbers: [1, 77]
Generated Node #3: [1, 77] from Operation: 59+18=77
Current State: 77:[1, 77], Operations: ['91-90=1', '59+18=77']
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[91, 59, 90, 18], Operations: []
Exploring Operation: 59+18=77, Resulting Numbers: [91, 90, 77]
Generated Node #0,0: 77:[91, 90, 77] Operation: 59+18=77
Exploring Operation: 91-90=1, Resulting Numbers: [59, 18, 1]
Generated Node #0,1: 77:[59, 18, 1] Operation: 91-90=1
Moving to Node #0,0
Current State: 77:[91, 90, 77], Operations: ['59+18=77']
Exploring Operation: 91-90=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 77:[77, 1] Operation: 91-90=1
Exploring Operation: 91-77=14, Resulting Numbers: [90, 14]
Generated Node #0,0,1: 77:[90, 14] Operation: 91-77=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[77, 1], Operations: ['59+18=77', '91-90=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[91, 59, 90, 18], Operations: []
Exploring Operation: 59+18=77, Resulting Numbers: [91, 90, 77]
Generated Node #0,0: 77:[91, 90, 77] Operation: 59+18=77
Moving to Node #0,0
Current State: 77:[91, 90, 77], Operations: ['59+18=77']
Exploring Operation: 91-90=1, Resulting Numbers: [77, 1]
Generated Node #0,0,0: 77:[77, 1] Operation: 91-90=1
Moving to Node #0,0,0
Current State: 77:[77, 1], Operations: ['59+18=77', '91-90=1']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
71,
45,
2,
60
] | 28 | [
"71+45=116",
"116-60=56",
"56/2=28"
] | Current State: 28:[71, 45, 2, 60], Operations: []
Exploring Operation: 71+45=116, Resulting Numbers: [2, 60, 116]
Generated Node #2: [2, 60, 116] from Operation: 71+45=116
Current State: 28:[2, 60, 116], Operations: ['71+45=116']
Exploring Operation: 116-60=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 116-60=56
Current State: 28:[2, 56], Operations: ['71+45=116', '116-60=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[71, 45, 2, 60], Operations: []
Exploring Operation: 71-45=26, Resulting Numbers: [2, 60, 26]
Generated Node #0,0: 28:[2, 60, 26] Operation: 71-45=26
Exploring Operation: 71-60=11, Resulting Numbers: [45, 2, 11]
Generated Node #0,1: 28:[45, 2, 11] Operation: 71-60=11
Moving to Node #0,1
Current State: 28:[45, 2, 11], Operations: ['71-60=11']
Exploring Operation: 45-2=43, Resulting Numbers: [11, 43]
Generated Node #0,1,0: 28:[11, 43] Operation: 45-2=43
Exploring Operation: 45-11=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 28:[2, 34] Operation: 45-11=34
Moving to Node #0,0
Current State: 28:[2, 60, 26], Operations: ['71-45=26']
Exploring Operation: 60-26=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 28:[2, 34] Operation: 60-26=34
Exploring Operation: 60/2=30, Resulting Numbers: [26, 30]
Generated Node #0,0,1: 28:[26, 30] Operation: 60/2=30
Moving to Node #0,0,1
Current State: 28:[26, 30], Operations: ['71-45=26', '60/2=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[2, 34], Operations: ['71-60=11', '45-11=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[2, 34], Operations: ['71-45=26', '60-26=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[11, 43], Operations: ['71-60=11', '45-2=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,28 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
41,
60,
81
] | 31 | [
"93-41=52",
"81-60=21",
"52-21=31"
] | Current State: 31:[93, 41, 60, 81], Operations: []
Exploring Operation: 93-41=52, Resulting Numbers: [60, 81, 52]
Generated Node #2: [60, 81, 52] from Operation: 93-41=52
Current State: 31:[60, 81, 52], Operations: ['93-41=52']
Exploring Operation: 81-60=21, Resulting Numbers: [52, 21]
Generated Node #3: [52, 21] from Operation: 81-60=21
Current State: 31:[52, 21], Operations: ['93-41=52', '81-60=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[93, 41, 60, 81], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [41, 81, 33]
Generated Node #0,0: 31:[41, 81, 33] Operation: 93-60=33
Exploring Operation: 93-81=12, Resulting Numbers: [41, 60, 12]
Generated Node #0,1: 31:[41, 60, 12] Operation: 93-81=12
Exploring Operation: 81-60=21, Resulting Numbers: [93, 41, 21]
Generated Node #0,2: 31:[93, 41, 21] Operation: 81-60=21
Moving to Node #0,1
Current State: 31:[41, 60, 12], Operations: ['93-81=12']
Exploring Operation: 60-41=19, Resulting Numbers: [12, 19]
Generated Node #0,1,0: 31:[12, 19] Operation: 60-41=19
Exploring Operation: 60-12=48, Resulting Numbers: [41, 48]
Generated Node #0,1,1: 31:[41, 48] Operation: 60-12=48
Exploring Operation: 41-12=29, Resulting Numbers: [60, 29]
Generated Node #0,1,2: 31:[60, 29] Operation: 41-12=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[41, 48], Operations: ['93-81=12', '60-12=48']
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,31 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,31 unequal: No Solution
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[12, 19], Operations: ['93-81=12', '60-41=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[93, 41, 60, 81], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [41, 60, 12]
Generated Node #0,1: 31:[41, 60, 12] Operation: 93-81=12
Moving to Node #0,1
Current State: 31:[41, 60, 12], Operations: ['93-81=12']
Exploring Operation: 60-41=19, Resulting Numbers: [12, 19]
Generated Node #0,1,0: 31:[12, 19] Operation: 60-41=19
Moving to Node #0,1,0
Current State: 31:[12, 19], Operations: ['93-81=12', '60-41=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
48,
93,
38,
34
] | 49 | [
"93-48=45",
"38-34=4",
"45+4=49"
] | Current State: 49:[48, 93, 38, 34], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [38, 34, 45]
Generated Node #2: [38, 34, 45] from Operation: 93-48=45
Current State: 49:[38, 34, 45], Operations: ['93-48=45']
Exploring Operation: 38-34=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 38-34=4
Current State: 49:[45, 4], Operations: ['93-48=45', '38-34=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[48, 93, 38, 34], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [48, 93, 4]
Generated Node #0,0: 49:[48, 93, 4] Operation: 38-34=4
Exploring Operation: 93-38=55, Resulting Numbers: [48, 34, 55]
Generated Node #0,1: 49:[48, 34, 55] Operation: 93-38=55
Exploring Operation: 93-34=59, Resulting Numbers: [48, 38, 59]
Generated Node #0,2: 49:[48, 38, 59] Operation: 93-34=59
Exploring Operation: 48-38=10, Resulting Numbers: [93, 34, 10]
Generated Node #0,3: 49:[93, 34, 10] Operation: 48-38=10
Exploring Operation: 93-48=45, Resulting Numbers: [38, 34, 45]
Generated Node #0,4: 49:[38, 34, 45] Operation: 93-48=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[48, 34, 55], Operations: ['93-38=55']
Exploring Operation: 48-34=14, Resulting Numbers: [55, 14]
Generated Node #0,1,0: 49:[55, 14] Operation: 48-34=14
Exploring Operation: 55-34=21, Resulting Numbers: [48, 21]
Generated Node #0,1,1: 49:[48, 21] Operation: 55-34=21
Exploring Operation: 48+34=82, Resulting Numbers: [55, 82]
Generated Node #0,1,2: 49:[55, 82] Operation: 48+34=82
Exploring Operation: 34+55=89, Resulting Numbers: [48, 89]
Generated Node #0,1,3: 49:[48, 89] Operation: 34+55=89
Exploring Operation: 55-48=7, Resulting Numbers: [34, 7]
Generated Node #0,1,4: 49:[34, 7] Operation: 55-48=7
Moving to Node #0,1,0
Current State: 49:[55, 14], Operations: ['93-38=55', '48-34=14']
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,49 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[34, 7], Operations: ['93-38=55', '55-48=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,49 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[48, 21], Operations: ['93-38=55', '55-34=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,49 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[55, 82], Operations: ['93-38=55', '48+34=82']
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,49 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[48, 89], Operations: ['93-38=55', '34+55=89']
Exploring Operation: 48+89=137, Resulting Numbers: [137]
137,49 unequal: No Solution
Exploring Operation: 48*89=4272, Resulting Numbers: [4272]
4272,49 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[48, 38, 59], Operations: ['93-34=59']
Exploring Operation: 48+38=86, Resulting Numbers: [59, 86]
Generated Node #0,2,0: 49:[59, 86] Operation: 48+38=86
Exploring Operation: 48-38=10, Resulting Numbers: [59, 10]
Generated Node #0,2,1: 49:[59, 10] Operation: 48-38=10
Exploring Operation: 59-48=11, Resulting Numbers: [38, 11]
Generated Node #0,2,2: 49:[38, 11] Operation: 59-48=11
Exploring Operation: 38+59=97, Resulting Numbers: [48, 97]
Generated Node #0,2,3: 49:[48, 97] Operation: 38+59=97
Exploring Operation: 59-38=21, Resulting Numbers: [48, 21]
Generated Node #0,2,4: 49:[48, 21] Operation: 59-38=21
Moving to Node #0,2,1
Current State: 49:[59, 10], Operations: ['93-34=59', '48-38=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[48, 93, 38, 34], Operations: []
Exploring Operation: 93-34=59, Resulting Numbers: [48, 38, 59]
Generated Node #0,2: 49:[48, 38, 59] Operation: 93-34=59
Moving to Node #0,2
Current State: 49:[48, 38, 59], Operations: ['93-34=59']
Exploring Operation: 48-38=10, Resulting Numbers: [59, 10]
Generated Node #0,2,1: 49:[59, 10] Operation: 48-38=10
Moving to Node #0,2,1
Current State: 49:[59, 10], Operations: ['93-34=59', '48-38=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
72,
31,
29,
79
] | 43 | [
"31-29=2",
"72/2=36",
"79-36=43"
] | Current State: 43:[72, 31, 29, 79], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [72, 79, 2]
Generated Node #2: [72, 79, 2] from Operation: 31-29=2
Current State: 43:[72, 79, 2], Operations: ['31-29=2']
Exploring Operation: 72/2=36, Resulting Numbers: [79, 36]
Generated Node #3: [79, 36] from Operation: 72/2=36
Current State: 43:[79, 36], Operations: ['31-29=2', '72/2=36']
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[72, 31, 29, 79], Operations: []
Exploring Operation: 72-29=43, Resulting Numbers: [31, 79, 43]
Generated Node #0,0: 43:[31, 79, 43] Operation: 72-29=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[31, 79, 43], Operations: ['72-29=43']
Exploring Operation: 79-31=48, Resulting Numbers: [43, 48]
Generated Node #0,0,0: 43:[43, 48] Operation: 79-31=48
Moving to Node #0,0,0
Current State: 43:[43, 48], Operations: ['72-29=43', '79-31=48']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,43 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 |
[
88,
1,
79,
51
] | 43 | [
"88-1=87",
"79+51=130",
"130-87=43"
] | Current State: 43:[88, 1, 79, 51], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [79, 51, 87]
Generated Node #2: [79, 51, 87] from Operation: 88-1=87
Current State: 43:[79, 51, 87], Operations: ['88-1=87']
Exploring Operation: 79+51=130, Resulting Numbers: [87, 130]
Generated Node #3: [87, 130] from Operation: 79+51=130
Current State: 43:[87, 130], Operations: ['88-1=87', '79+51=130']
Exploring Operation: 130-87=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[88, 1, 79, 51], Operations: []
Exploring Operation: 88-79=9, Resulting Numbers: [1, 51, 9]
Generated Node #0,0: 43:[1, 51, 9] Operation: 88-79=9
Exploring Operation: 88-51=37, Resulting Numbers: [1, 79, 37]
Generated Node #0,1: 43:[1, 79, 37] Operation: 88-51=37
Exploring Operation: 79-1=78, Resulting Numbers: [88, 51, 78]
Generated Node #0,2: 43:[88, 51, 78] Operation: 79-1=78
Exploring Operation: 88-1=87, Resulting Numbers: [79, 51, 87]
Generated Node #0,3: 43:[79, 51, 87] Operation: 88-1=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[1, 51, 9], Operations: ['88-79=9']
Exploring Operation: 51-1=50, Resulting Numbers: [9, 50]
Generated Node #0,0,0: 43:[9, 50] Operation: 51-1=50
Exploring Operation: 1+9=10, Resulting Numbers: [51, 10]
Generated Node #0,0,1: 43:[51, 10] Operation: 1+9=10
Exploring Operation: 51/1=51, Resulting Numbers: [9, 51]
Generated Node #0,0,2: 43:[9, 51] Operation: 51/1=51
Exploring Operation: 1*51=51, Resulting Numbers: [9, 51]
Generated Node #0,0,3: 43:[9, 51] Operation: 1*51=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[9, 50], Operations: ['88-79=9', '51-1=50']
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,43 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No 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: 43:[51, 10], Operations: ['88-79=9', '1+9=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,43 unequal: No Solution
No 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: 43:[9, 51], Operations: ['88-79=9', '51/1=51']
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,43 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No 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: 43:[9, 51], Operations: ['88-79=9', '1*51=51']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,43 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,43 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: 43:[1, 79, 37], Operations: ['88-51=37']
Exploring Operation: 1*79=79, Resulting Numbers: [37, 79]
Generated Node #0,1,0: 43:[37, 79] Operation: 1*79=79
Exploring Operation: 79-1=78, Resulting Numbers: [37, 78]
Generated Node #0,1,1: 43:[37, 78] Operation: 79-1=78
Exploring Operation: 1+37=38, Resulting Numbers: [79, 38]
Generated Node #0,1,2: 43:[79, 38] Operation: 1+37=38
Exploring Operation: 79/1=79, Resulting Numbers: [37, 79]
Generated Node #0,1,3: 43:[37, 79] Operation: 79/1=79
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[37, 78], Operations: ['88-51=37', '79-1=78']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 37*78=2886, Resulting Numbers: [2886]
2886,43 unequal: No Solution
Exploring Operation: 37+78=115, Resulting Numbers: [115]
115,43 unequal: No Solution
No 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: 43:[79, 38], Operations: ['88-51=37', '1+37=38']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,43 unequal: No Solution
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,43 unequal: No Solution
No 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: 43:[37, 79], Operations: ['88-51=37', '1*79=79']
Exploring Operation: 37*79=2923, Resulting Numbers: [2923]
2923,43 unequal: No Solution
Exploring Operation: 37+79=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No 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: 43:[37, 79], Operations: ['88-51=37', '79/1=79']
Exploring Operation: 37+79=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 37*79=2923, Resulting Numbers: [2923]
2923,43 unequal: No Solution
Exploring Operation: 79-37=42, Resulting Numbers: [42]
42,43 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: 43:[88, 51, 78], Operations: ['79-1=78']
Exploring Operation: 88-51=37, Resulting Numbers: [78, 37]
Generated Node #0,2,0: 43:[78, 37] Operation: 88-51=37
Exploring Operation: 88+51=139, Resulting Numbers: [78, 139]
Generated Node #0,2,1: 43:[78, 139] Operation: 88+51=139
Exploring Operation: 78-51=27, Resulting Numbers: [88, 27]
Generated Node #0,2,2: 43:[88, 27] Operation: 78-51=27
Exploring Operation: 88-78=10, Resulting Numbers: [51, 10]
Generated Node #0,2,3: 43:[51, 10] Operation: 88-78=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[78, 37], Operations: ['79-1=78', '88-51=37']
Exploring Operation: 78*37=2886, Resulting Numbers: [2886]
2886,43 unequal: No Solution
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No 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: 43:[51, 10], Operations: ['79-1=78', '88-78=10']
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,43 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No 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: 43:[88, 27], Operations: ['79-1=78', '78-51=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,43 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,43 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,43 unequal: No Solution
No 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: 43:[78, 139], Operations: ['79-1=78', '88+51=139']
Exploring Operation: 78+139=217, Resulting Numbers: [217]
217,43 unequal: No Solution
Exploring Operation: 139-78=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 78*139=10842, Resulting Numbers: [10842]
10842,43 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: 43:[79, 51, 87], Operations: ['88-1=87']
Exploring Operation: 87-79=8, Resulting Numbers: [51, 8]
Generated Node #0,3,0: 43:[51, 8] Operation: 87-79=8
Exploring Operation: 87-51=36, Resulting Numbers: [79, 36]
Generated Node #0,3,1: 43:[79, 36] Operation: 87-51=36
Exploring Operation: 79+51=130, Resulting Numbers: [87, 130]
Generated Node #0,3,2: 43:[87, 130] Operation: 79+51=130
Exploring Operation: 79-51=28, Resulting Numbers: [87, 28]
Generated Node #0,3,3: 43:[87, 28] Operation: 79-51=28
Moving to Node #0,3,0
Current State: 43:[51, 8], Operations: ['88-1=87', '87-79=8']
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,43 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[88, 1, 79, 51], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [79, 51, 87]
Generated Node #0,3: 43:[79, 51, 87] Operation: 88-1=87
Moving to Node #0,3
Current State: 43:[79, 51, 87], Operations: ['88-1=87']
Exploring Operation: 87-79=8, Resulting Numbers: [51, 8]
Generated Node #0,3,0: 43:[51, 8] Operation: 87-79=8
Moving to Node #0,3,0
Current State: 43:[51, 8], Operations: ['88-1=87', '87-79=8']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_4 | mult_heuristic |
[
77,
58,
62,
93
] | 90 | [
"77+58=135",
"62*135=8370",
"8370/93=90"
] | Current State: 90:[77, 58, 62, 93], Operations: []
Exploring Operation: 77+58=135, Resulting Numbers: [62, 93, 135]
Generated Node #2: [62, 93, 135] from Operation: 77+58=135
Current State: 90:[62, 93, 135], Operations: ['77+58=135']
Exploring Operation: 62*135=8370, Resulting Numbers: [93, 8370]
Generated Node #3: [93, 8370] from Operation: 62*135=8370
Current State: 90:[93, 8370], Operations: ['77+58=135', '62*135=8370']
Exploring Operation: 8370/93=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[77, 58, 62, 93], Operations: []
Exploring Operation: 77-58=19, Resulting Numbers: [62, 93, 19]
Generated Node #0,0: 90:[62, 93, 19] Operation: 77-58=19
Exploring Operation: 77-62=15, Resulting Numbers: [58, 93, 15]
Generated Node #0,1: 90:[58, 93, 15] Operation: 77-62=15
Exploring Operation: 62-58=4, Resulting Numbers: [77, 93, 4]
Generated Node #0,2: 90:[77, 93, 4] Operation: 62-58=4
Moving to Node #0,1
Current State: 90:[58, 93, 15], Operations: ['77-62=15']
Exploring Operation: 58+15=73, Resulting Numbers: [93, 73]
Generated Node #0,1,0: 90:[93, 73] Operation: 58+15=73
Exploring Operation: 58-15=43, Resulting Numbers: [93, 43]
Generated Node #0,1,1: 90:[93, 43] Operation: 58-15=43
Exploring Operation: 93-58=35, Resulting Numbers: [15, 35]
Generated Node #0,1,2: 90:[15, 35] Operation: 93-58=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[93, 43], Operations: ['77-62=15', '58-15=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,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,1,2
Current State: 90:[15, 35], Operations: ['77-62=15', '93-58=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,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,1,0
Current State: 90:[93, 73], Operations: ['77-62=15', '58+15=73']
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 93*73=6789, Resulting Numbers: [6789]
6789,90 unequal: No Solution
Exploring Operation: 93+73=166, Resulting Numbers: [166]
166,90 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: 90:[77, 93, 4], Operations: ['62-58=4']
Exploring Operation: 93-4=89, Resulting Numbers: [77, 89]
Generated Node #0,2,0: 90:[77, 89] Operation: 93-4=89
Exploring Operation: 93-77=16, Resulting Numbers: [4, 16]
Generated Node #0,2,1: 90:[4, 16] Operation: 93-77=16
Exploring Operation: 77+4=81, Resulting Numbers: [93, 81]
Generated Node #0,2,2: 90:[93, 81] Operation: 77+4=81
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[4, 16], Operations: ['62-58=4', '93-77=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,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,2
Current State: 90:[93, 81], Operations: ['62-58=4', '77+4=81']
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,90 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 93*81=7533, Resulting Numbers: [7533]
7533,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,0
Current State: 90:[77, 89], Operations: ['62-58=4', '93-4=89']
Exploring Operation: 77+89=166, Resulting Numbers: [166]
166,90 unequal: No Solution
Exploring Operation: 77*89=6853, Resulting Numbers: [6853]
6853,90 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,90 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: 90:[62, 93, 19], Operations: ['77-58=19']
Exploring Operation: 62+19=81, Resulting Numbers: [93, 81]
Generated Node #0,0,0: 90:[93, 81] Operation: 62+19=81
Exploring Operation: 62-19=43, Resulting Numbers: [93, 43]
Generated Node #0,0,1: 90:[93, 43] Operation: 62-19=43
Exploring Operation: 93-62=31, Resulting Numbers: [19, 31]
Generated Node #0,0,2: 90:[19, 31] Operation: 93-62=31
Moving to Node #0,0,2
Current State: 90:[19, 31], Operations: ['77-58=19', '93-62=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,90 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[93, 43], Operations: ['77-58=19', '62-19=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,90 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[93, 81], Operations: ['77-58=19', '62+19=81']
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 93*81=7533, Resulting Numbers: [7533]
7533,90 unequal: No Solution
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,90 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
96,
20,
92,
48
] | 53 | [
"96-92=4",
"20/4=5",
"48+5=53"
] | Current State: 53:[96, 20, 92, 48], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [20, 48, 4]
Generated Node #2: [20, 48, 4] from Operation: 96-92=4
Current State: 53:[20, 48, 4], Operations: ['96-92=4']
Exploring Operation: 20/4=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 20/4=5
Current State: 53:[48, 5], Operations: ['96-92=4', '20/4=5']
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[96, 20, 92, 48], Operations: []
Exploring Operation: 96-20=76, Resulting Numbers: [92, 48, 76]
Generated Node #0,0: 53:[92, 48, 76] Operation: 96-20=76
Moving to Node #0,0
Current State: 53:[92, 48, 76], Operations: ['96-20=76']
Exploring Operation: 92-48=44, Resulting Numbers: [76, 44]
Generated Node #0,0,0: 53:[76, 44] Operation: 92-48=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[76, 44], Operations: ['96-20=76', '92-48=44']
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,53 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,
62,
21,
20
] | 60 | [
"69-62=7",
"21*20=420",
"420/7=60"
] | Current State: 60:[69, 62, 21, 20], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [21, 20, 7]
Generated Node #2: [21, 20, 7] from Operation: 69-62=7
Current State: 60:[21, 20, 7], Operations: ['69-62=7']
Exploring Operation: 21*20=420, Resulting Numbers: [7, 420]
Generated Node #3: [7, 420] from Operation: 21*20=420
Current State: 60:[7, 420], Operations: ['69-62=7', '21*20=420']
Exploring Operation: 420/7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[69, 62, 21, 20], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [69, 62, 1]
Generated Node #0,0: 60:[69, 62, 1] Operation: 21-20=1
Exploring Operation: 69-62=7, Resulting Numbers: [21, 20, 7]
Generated Node #0,1: 60:[21, 20, 7] Operation: 69-62=7
Exploring Operation: 69-21=48, Resulting Numbers: [62, 20, 48]
Generated Node #0,2: 60:[62, 20, 48] Operation: 69-21=48
Moving to Node #0,1
Current State: 60:[21, 20, 7], Operations: ['69-62=7']
Exploring Operation: 21/7=3, Resulting Numbers: [20, 3]
Generated Node #0,1,0: 60:[20, 3] Operation: 21/7=3
Exploring Operation: 21-20=1, Resulting Numbers: [7, 1]
Generated Node #0,1,1: 60:[7, 1] Operation: 21-20=1
Exploring Operation: 21-7=14, Resulting Numbers: [20, 14]
Generated Node #0,1,2: 60:[20, 14] Operation: 21-7=14
Moving to Node #0,0
Current State: 60:[69, 62, 1], Operations: ['21-20=1']
Exploring Operation: 62-1=61, Resulting Numbers: [69, 61]
Generated Node #0,0,0: 60:[69, 61] Operation: 62-1=61
Exploring Operation: 69-1=68, Resulting Numbers: [62, 68]
Generated Node #0,0,1: 60:[62, 68] Operation: 69-1=68
Exploring Operation: 69-62=7, Resulting Numbers: [1, 7]
Generated Node #0,0,2: 60:[1, 7] Operation: 69-62=7
Moving to Node #0,2
Current State: 60:[62, 20, 48], Operations: ['69-21=48']
Exploring Operation: 62-48=14, Resulting Numbers: [20, 14]
Generated Node #0,2,0: 60:[20, 14] Operation: 62-48=14
Exploring Operation: 48-20=28, Resulting Numbers: [62, 28]
Generated Node #0,2,1: 60:[62, 28] Operation: 48-20=28
Exploring Operation: 20+48=68, Resulting Numbers: [62, 68]
Generated Node #0,2,2: 60:[62, 68] Operation: 20+48=68
Moving to Node #0,1,0
Current State: 60:[20, 3], Operations: ['69-62=7', '21/7=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[69, 62, 21, 20], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [21, 20, 7]
Generated Node #0,1: 60:[21, 20, 7] Operation: 69-62=7
Moving to Node #0,1
Current State: 60:[21, 20, 7], Operations: ['69-62=7']
Exploring Operation: 21/7=3, Resulting Numbers: [20, 3]
Generated Node #0,1,0: 60:[20, 3] Operation: 21/7=3
Moving to Node #0,1,0
Current State: 60:[20, 3], Operations: ['69-62=7', '21/7=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
37,
51,
28,
5
] | 47 | [
"51-37=14",
"28+5=33",
"14+33=47"
] | Current State: 47:[37, 51, 28, 5], Operations: []
Exploring Operation: 51-37=14, Resulting Numbers: [28, 5, 14]
Generated Node #2: [28, 5, 14] from Operation: 51-37=14
Current State: 47:[28, 5, 14], Operations: ['51-37=14']
Exploring Operation: 28+5=33, Resulting Numbers: [14, 33]
Generated Node #3: [14, 33] from Operation: 28+5=33
Current State: 47:[14, 33], Operations: ['51-37=14', '28+5=33']
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[37, 51, 28, 5], Operations: []
Exploring Operation: 37+5=42, Resulting Numbers: [51, 28, 42]
Generated Node #0,0: 47:[51, 28, 42] Operation: 37+5=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[51, 28, 42], Operations: ['37+5=42']
Exploring Operation: 28+42=70, Resulting Numbers: [51, 70]
Generated Node #0,0,0: 47:[51, 70] Operation: 28+42=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[51, 70], Operations: ['37+5=42', '28+42=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,47 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 |
[
18,
44,
85,
37
] | 14 | [
"18+44=62",
"85-37=48",
"62-48=14"
] | Current State: 14:[18, 44, 85, 37], Operations: []
Exploring Operation: 18+44=62, Resulting Numbers: [85, 37, 62]
Generated Node #2: [85, 37, 62] from Operation: 18+44=62
Current State: 14:[85, 37, 62], Operations: ['18+44=62']
Exploring Operation: 85-37=48, Resulting Numbers: [62, 48]
Generated Node #3: [62, 48] from Operation: 85-37=48
Current State: 14:[62, 48], Operations: ['18+44=62', '85-37=48']
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[18, 44, 85, 37], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [18, 37, 41]
Generated Node #0,0: 14:[18, 37, 41] Operation: 85-44=41
Exploring Operation: 85-37=48, Resulting Numbers: [18, 44, 48]
Generated Node #0,1: 14:[18, 44, 48] Operation: 85-37=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[18, 37, 41], Operations: ['85-44=41']
Exploring Operation: 41-37=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 14:[18, 4] Operation: 41-37=4
Exploring Operation: 37-18=19, Resulting Numbers: [41, 19]
Generated Node #0,0,1: 14:[41, 19] Operation: 37-18=19
Moving to Node #0,0,0
Current State: 14:[18, 4], Operations: ['85-44=41', '41-37=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,14 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[18, 44, 85, 37], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [18, 37, 41]
Generated Node #0,0: 14:[18, 37, 41] Operation: 85-44=41
Moving to Node #0,0
Current State: 14:[18, 37, 41], Operations: ['85-44=41']
Exploring Operation: 41-37=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 14:[18, 4] Operation: 41-37=4
Moving to Node #0,0,0
Current State: 14:[18, 4], Operations: ['85-44=41', '41-37=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
7,
72,
33,
94
] | 48 | [
"7+72=79",
"33+94=127",
"127-79=48"
] | Current State: 48:[7, 72, 33, 94], Operations: []
Exploring Operation: 7+72=79, Resulting Numbers: [33, 94, 79]
Generated Node #2: [33, 94, 79] from Operation: 7+72=79
Current State: 48:[33, 94, 79], Operations: ['7+72=79']
Exploring Operation: 33+94=127, Resulting Numbers: [79, 127]
Generated Node #3: [79, 127] from Operation: 33+94=127
Current State: 48:[79, 127], Operations: ['7+72=79', '33+94=127']
Exploring Operation: 127-79=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[7, 72, 33, 94], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [7, 33, 22]
Generated Node #0,0: 48:[7, 33, 22] Operation: 94-72=22
Exploring Operation: 72-7=65, Resulting Numbers: [33, 94, 65]
Generated Node #0,1: 48:[33, 94, 65] Operation: 72-7=65
Exploring Operation: 72-33=39, Resulting Numbers: [7, 94, 39]
Generated Node #0,2: 48:[7, 94, 39] Operation: 72-33=39
Exploring Operation: 94-33=61, Resulting Numbers: [7, 72, 61]
Generated Node #0,3: 48:[7, 72, 61] Operation: 94-33=61
Moving to Node #0,0
Current State: 48:[7, 33, 22], Operations: ['94-72=22']
Exploring Operation: 7+33=40, Resulting Numbers: [22, 40]
Generated Node #0,0,0: 48:[22, 40] Operation: 7+33=40
Exploring Operation: 33-7=26, Resulting Numbers: [22, 26]
Generated Node #0,0,1: 48:[22, 26] Operation: 33-7=26
Exploring Operation: 33-22=11, Resulting Numbers: [7, 11]
Generated Node #0,0,2: 48:[7, 11] Operation: 33-22=11
Exploring Operation: 33+22=55, Resulting Numbers: [7, 55]
Generated Node #0,0,3: 48:[7, 55] Operation: 33+22=55
Moving to Node #0,3
Current State: 48:[7, 72, 61], Operations: ['94-33=61']
Exploring Operation: 72-7=65, Resulting Numbers: [61, 65]
Generated Node #0,3,0: 48:[61, 65] Operation: 72-7=65
Exploring Operation: 61-7=54, Resulting Numbers: [72, 54]
Generated Node #0,3,1: 48:[72, 54] Operation: 61-7=54
Exploring Operation: 7+72=79, Resulting Numbers: [61, 79]
Generated Node #0,3,2: 48:[61, 79] Operation: 7+72=79
Exploring Operation: 72-61=11, Resulting Numbers: [7, 11]
Generated Node #0,3,3: 48:[7, 11] Operation: 72-61=11
Moving to Node #0,2
Current State: 48:[7, 94, 39], Operations: ['72-33=39']
Exploring Operation: 94-7=87, Resulting Numbers: [39, 87]
Generated Node #0,2,0: 48:[39, 87] Operation: 94-7=87
Exploring Operation: 39-7=32, Resulting Numbers: [94, 32]
Generated Node #0,2,1: 48:[94, 32] Operation: 39-7=32
Exploring Operation: 94-39=55, Resulting Numbers: [7, 55]
Generated Node #0,2,2: 48:[7, 55] Operation: 94-39=55
Exploring Operation: 7+39=46, Resulting Numbers: [94, 46]
Generated Node #0,2,3: 48:[94, 46] Operation: 7+39=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[7, 55], Operations: ['72-33=39', '94-39=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[7, 72, 33, 94], Operations: []
Exploring Operation: 72-33=39, Resulting Numbers: [7, 94, 39]
Generated Node #0,2: 48:[7, 94, 39] Operation: 72-33=39
Moving to Node #0,2
Current State: 48:[7, 94, 39], Operations: ['72-33=39']
Exploring Operation: 94-39=55, Resulting Numbers: [7, 55]
Generated Node #0,2,2: 48:[7, 55] Operation: 94-39=55
Moving to Node #0,2,2
Current State: 48:[7, 55], Operations: ['72-33=39', '94-39=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
75,
86,
45,
50
] | 60 | [
"86-50=36",
"75*36=2700",
"2700/45=60"
] | Current State: 60:[75, 86, 45, 50], Operations: []
Exploring Operation: 86-50=36, Resulting Numbers: [75, 45, 36]
Generated Node #2: [75, 45, 36] from Operation: 86-50=36
Current State: 60:[75, 45, 36], Operations: ['86-50=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [45, 2700]
Generated Node #3: [45, 2700] from Operation: 75*36=2700
Current State: 60:[45, 2700], Operations: ['86-50=36', '75*36=2700']
Exploring Operation: 2700/45=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[75, 86, 45, 50], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [45, 50, 11]
Generated Node #0,0: 60:[45, 50, 11] Operation: 86-75=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[45, 50, 11], Operations: ['86-75=11']
Exploring Operation: 50-45=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 60:[11, 5] Operation: 50-45=5
Moving to Node #0,0,0
Current State: 60:[11, 5], Operations: ['86-75=11', '50-45=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,60 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 |
[
41,
43,
11,
43
] | 41 | [
"43-43=0",
"11*0=0",
"41+0=41"
] | Current State: 41:[41, 43, 11, 43], Operations: []
Exploring Operation: 43-43=0, Resulting Numbers: [41, 11, 0]
Generated Node #2: [41, 11, 0] from Operation: 43-43=0
Current State: 41:[41, 11, 0], Operations: ['43-43=0']
Exploring Operation: 11*0=0, Resulting Numbers: [41, 0]
Generated Node #3: [41, 0] from Operation: 11*0=0
Current State: 41:[41, 0], Operations: ['43-43=0', '11*0=0']
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[41, 43, 11, 43], Operations: []
Exploring Operation: 41+11=52, Resulting Numbers: [43, 43, 52]
Generated Node #0,0: 41:[43, 43, 52] Operation: 41+11=52
Exploring Operation: 43-11=32, Resulting Numbers: [41, 43, 32]
Generated Node #0,1: 41:[41, 43, 32] Operation: 43-11=32
Exploring Operation: 43-11=32, Resulting Numbers: [41, 43, 32]
Generated Node #0,2: 41:[41, 43, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[41, 43, 32], Operations: ['43-11=32']
Exploring Operation: 43-32=11, Resulting Numbers: [41, 11]
Generated Node #0,1,0: 41:[41, 11] Operation: 43-32=11
Exploring Operation: 41+32=73, Resulting Numbers: [43, 73]
Generated Node #0,1,1: 41:[43, 73] Operation: 41+32=73
Exploring Operation: 41-32=9, Resulting Numbers: [43, 9]
Generated Node #0,1,2: 41:[43, 9] Operation: 41-32=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[41, 11], Operations: ['43-11=32', '43-32=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,41 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[43, 73], Operations: ['43-11=32', '41+32=73']
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,41 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[43, 9], Operations: ['43-11=32', '41-32=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[41, 43, 32], Operations: ['43-11=32']
Exploring Operation: 41-32=9, Resulting Numbers: [43, 9]
Generated Node #0,2,0: 41:[43, 9] Operation: 41-32=9
Exploring Operation: 41+32=73, Resulting Numbers: [43, 73]
Generated Node #0,2,1: 41:[43, 73] Operation: 41+32=73
Exploring Operation: 43-32=11, Resulting Numbers: [41, 11]
Generated Node #0,2,2: 41:[41, 11] Operation: 43-32=11
Moving to Node #0,2,2
Current State: 41:[41, 11], Operations: ['43-11=32', '43-32=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[43, 9], Operations: ['43-11=32', '41-32=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,41 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[43, 73], Operations: ['43-11=32', '41+32=73']
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,41 unequal: No Solution
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,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,0
Current State: 41:[43, 43, 52], Operations: ['41+11=52']
Exploring Operation: 52-43=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 41:[43, 9] Operation: 52-43=9
Exploring Operation: 43/43=1, Resulting Numbers: [52, 1]
Generated Node #0,0,1: 41:[52, 1] Operation: 43/43=1
Exploring Operation: 52-43=9, Resulting Numbers: [43, 9]
Generated Node #0,0,2: 41:[43, 9] Operation: 52-43=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[43, 9], Operations: ['41+11=52', '52-43=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[43, 9], Operations: ['41+11=52', '52-43=9']
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,41 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[52, 1], Operations: ['41+11=52', '43/43=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
76,
48,
40,
19
] | 87 | [
"76-48=28",
"40+19=59",
"28+59=87"
] | Current State: 87:[76, 48, 40, 19], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [40, 19, 28]
Generated Node #2: [40, 19, 28] from Operation: 76-48=28
Current State: 87:[40, 19, 28], Operations: ['76-48=28']
Exploring Operation: 40+19=59, Resulting Numbers: [28, 59]
Generated Node #3: [28, 59] from Operation: 40+19=59
Current State: 87:[28, 59], Operations: ['76-48=28', '40+19=59']
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[76, 48, 40, 19], Operations: []
Exploring Operation: 48+40=88, Resulting Numbers: [76, 19, 88]
Generated Node #0,0: 87:[76, 19, 88] Operation: 48+40=88
Exploring Operation: 48-40=8, Resulting Numbers: [76, 19, 8]
Generated Node #0,1: 87:[76, 19, 8] Operation: 48-40=8
Exploring Operation: 48-19=29, Resulting Numbers: [76, 40, 29]
Generated Node #0,2: 87:[76, 40, 29] Operation: 48-19=29
Exploring Operation: 76-48=28, Resulting Numbers: [40, 19, 28]
Generated Node #0,3: 87:[40, 19, 28] Operation: 76-48=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[76, 19, 88], Operations: ['48+40=88']
Exploring Operation: 76+19=95, Resulting Numbers: [88, 95]
Generated Node #0,0,0: 87:[88, 95] Operation: 76+19=95
Exploring Operation: 76/19=4, Resulting Numbers: [88, 4]
Generated Node #0,0,1: 87:[88, 4] Operation: 76/19=4
Exploring Operation: 76-19=57, Resulting Numbers: [88, 57]
Generated Node #0,0,2: 87:[88, 57] Operation: 76-19=57
Exploring Operation: 88-76=12, Resulting Numbers: [19, 12]
Generated Node #0,0,3: 87:[19, 12] Operation: 88-76=12
Moving to Node #0,0,1
Current State: 87:[88, 4], Operations: ['48+40=88', '76/19=4']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[88, 95], Operations: ['48+40=88', '76+19=95']
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,87 unequal: No Solution
Exploring Operation: 88*95=8360, Resulting Numbers: [8360]
8360,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[19, 12], Operations: ['48+40=88', '88-76=12']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,87 unequal: No Solution
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[88, 57], Operations: ['48+40=88', '76-19=57']
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,87 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[76, 40, 29], Operations: ['48-19=29']
Exploring Operation: 76+40=116, Resulting Numbers: [29, 116]
Generated Node #0,2,0: 87:[29, 116] Operation: 76+40=116
Exploring Operation: 76-40=36, Resulting Numbers: [29, 36]
Generated Node #0,2,1: 87:[29, 36] Operation: 76-40=36
Exploring Operation: 76+29=105, Resulting Numbers: [40, 105]
Generated Node #0,2,2: 87:[40, 105] Operation: 76+29=105
Exploring Operation: 40-29=11, Resulting Numbers: [76, 11]
Generated Node #0,2,3: 87:[76, 11] Operation: 40-29=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 87:[29, 36], Operations: ['48-19=29', '76-40=36']
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 87:[76, 11], Operations: ['48-19=29', '40-29=11']
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,87 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[76, 48, 40, 19], Operations: []
Exploring Operation: 48-19=29, Resulting Numbers: [76, 40, 29]
Generated Node #0,2: 87:[76, 40, 29] Operation: 48-19=29
Moving to Node #0,2
Current State: 87:[76, 40, 29], Operations: ['48-19=29']
Exploring Operation: 40-29=11, Resulting Numbers: [76, 11]
Generated Node #0,2,3: 87:[76, 11] Operation: 40-29=11
Moving to Node #0,2,3
Current State: 87:[76, 11], Operations: ['48-19=29', '40-29=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
29,
29,
2,
94
] | 46 | [
"29/29=1",
"94/2=47",
"47-1=46"
] | Current State: 46:[29, 29, 2, 94], Operations: []
Exploring Operation: 29/29=1, Resulting Numbers: [2, 94, 1]
Generated Node #2: [2, 94, 1] from Operation: 29/29=1
Current State: 46:[2, 94, 1], Operations: ['29/29=1']
Exploring Operation: 94/2=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 94/2=47
Current State: 46:[1, 47], Operations: ['29/29=1', '94/2=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[29, 29, 2, 94], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [29, 2, 65]
Generated Node #0,0: 46:[29, 2, 65] Operation: 94-29=65
Exploring Operation: 29/29=1, Resulting Numbers: [2, 94, 1]
Generated Node #0,1: 46:[2, 94, 1] Operation: 29/29=1
Exploring Operation: 94-29=65, Resulting Numbers: [29, 2, 65]
Generated Node #0,2: 46:[29, 2, 65] Operation: 94-29=65
Exploring Operation: 94/2=47, Resulting Numbers: [29, 29, 47]
Generated Node #0,3: 46:[29, 29, 47] Operation: 94/2=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[29, 29, 47], Operations: ['94/2=47']
Exploring Operation: 29-29=0, Resulting Numbers: [47, 0]
Generated Node #0,3,0: 46:[47, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [47, 1]
Generated Node #0,3,1: 46:[47, 1] Operation: 29/29=1
Exploring Operation: 47-29=18, Resulting Numbers: [29, 18]
Generated Node #0,3,2: 46:[29, 18] Operation: 47-29=18
Exploring Operation: 47-29=18, Resulting Numbers: [29, 18]
Generated Node #0,3,3: 46:[29, 18] Operation: 47-29=18
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[47, 1], Operations: ['94/2=47', '29/29=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[29, 29, 2, 94], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [29, 29, 47]
Generated Node #0,3: 46:[29, 29, 47] Operation: 94/2=47
Moving to Node #0,3
Current State: 46:[29, 29, 47], Operations: ['94/2=47']
Exploring Operation: 29/29=1, Resulting Numbers: [47, 1]
Generated Node #0,3,1: 46:[47, 1] Operation: 29/29=1
Moving to Node #0,3,1
Current State: 46:[47, 1], Operations: ['94/2=47', '29/29=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
19,
23,
81,
3
] | 36 | [
"19+23=42",
"81-3=78",
"78-42=36"
] | Current State: 36:[19, 23, 81, 3], Operations: []
Exploring Operation: 19+23=42, Resulting Numbers: [81, 3, 42]
Generated Node #2: [81, 3, 42] from Operation: 19+23=42
Current State: 36:[81, 3, 42], Operations: ['19+23=42']
Exploring Operation: 81-3=78, Resulting Numbers: [42, 78]
Generated Node #3: [42, 78] from Operation: 81-3=78
Current State: 36:[42, 78], Operations: ['19+23=42', '81-3=78']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[19, 23, 81, 3], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [19, 3, 58]
Generated Node #0,0: 36:[19, 3, 58] Operation: 81-23=58
Exploring Operation: 81-19=62, Resulting Numbers: [23, 3, 62]
Generated Node #0,1: 36:[23, 3, 62] Operation: 81-19=62
Exploring Operation: 81/3=27, Resulting Numbers: [19, 23, 27]
Generated Node #0,2: 36:[19, 23, 27] Operation: 81/3=27
Moving to Node #0,2
Current State: 36:[19, 23, 27], Operations: ['81/3=27']
Exploring Operation: 23-19=4, Resulting Numbers: [27, 4]
Generated Node #0,2,0: 36:[27, 4] Operation: 23-19=4
Exploring Operation: 27-19=8, Resulting Numbers: [23, 8]
Generated Node #0,2,1: 36:[23, 8] Operation: 27-19=8
Exploring Operation: 27-23=4, Resulting Numbers: [19, 4]
Generated Node #0,2,2: 36:[19, 4] Operation: 27-23=4
Moving to Node #0,0
Current State: 36:[19, 3, 58], Operations: ['81-23=58']
Exploring Operation: 58-19=39, Resulting Numbers: [3, 39]
Generated Node #0,0,0: 36:[3, 39] Operation: 58-19=39
Exploring Operation: 19-3=16, Resulting Numbers: [58, 16]
Generated Node #0,0,1: 36:[58, 16] Operation: 19-3=16
Exploring Operation: 58-3=55, Resulting Numbers: [19, 55]
Generated Node #0,0,2: 36:[19, 55] Operation: 58-3=55
Moving to Node #0,1
Current State: 36:[23, 3, 62], Operations: ['81-19=62']
Exploring Operation: 23-3=20, Resulting Numbers: [62, 20]
Generated Node #0,1,0: 36:[62, 20] Operation: 23-3=20
Exploring Operation: 62-3=59, Resulting Numbers: [23, 59]
Generated Node #0,1,1: 36:[23, 59] Operation: 62-3=59
Exploring Operation: 62-23=39, Resulting Numbers: [3, 39]
Generated Node #0,1,2: 36:[3, 39] Operation: 62-23=39
Moving to Node #0,2,2
Current State: 36:[19, 4], Operations: ['81/3=27', '27-23=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[3, 39], Operations: ['81-19=62', '62-23=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[19, 23, 81, 3], Operations: []
Exploring Operation: 81-19=62, Resulting Numbers: [23, 3, 62]
Generated Node #0,1: 36:[23, 3, 62] Operation: 81-19=62
Moving to Node #0,1
Current State: 36:[23, 3, 62], Operations: ['81-19=62']
Exploring Operation: 62-23=39, Resulting Numbers: [3, 39]
Generated Node #0,1,2: 36:[3, 39] Operation: 62-23=39
Moving to Node #0,1,2
Current State: 36:[3, 39], Operations: ['81-19=62', '62-23=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.980903 | hs_3 | sum_heuristic |
[
17,
15,
6,
78
] | 70 | [
"17-15=2",
"78-6=72",
"72-2=70"
] | Current State: 70:[17, 15, 6, 78], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [6, 78, 2]
Generated Node #2: [6, 78, 2] from Operation: 17-15=2
Current State: 70:[6, 78, 2], Operations: ['17-15=2']
Exploring Operation: 78-6=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 78-6=72
Current State: 70:[2, 72], Operations: ['17-15=2', '78-6=72']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[17, 15, 6, 78], Operations: []
Exploring Operation: 78-6=72, Resulting Numbers: [17, 15, 72]
Generated Node #0,0: 70:[17, 15, 72] Operation: 78-6=72
Exploring Operation: 78/6=13, Resulting Numbers: [17, 15, 13]
Generated Node #0,1: 70:[17, 15, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[17, 15, 13], Operations: ['78/6=13']
Exploring Operation: 17-15=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 70:[13, 2] Operation: 17-15=2
Exploring Operation: 17-13=4, Resulting Numbers: [15, 4]
Generated Node #0,1,1: 70:[15, 4] Operation: 17-13=4
Moving to Node #0,1,0
Current State: 70:[13, 2], Operations: ['78/6=13', '17-15=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[15, 4], Operations: ['78/6=13', '17-13=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,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
Current State: 70:[17, 15, 72], Operations: ['78-6=72']
Exploring Operation: 17-15=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 70:[72, 2] Operation: 17-15=2
Exploring Operation: 17+15=32, Resulting Numbers: [72, 32]
Generated Node #0,0,1: 70:[72, 32] Operation: 17+15=32
Moving to Node #0,0,0
Current State: 70:[72, 2], Operations: ['78-6=72', '17-15=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[17, 15, 6, 78], Operations: []
Exploring Operation: 78-6=72, Resulting Numbers: [17, 15, 72]
Generated Node #0,0: 70:[17, 15, 72] Operation: 78-6=72
Moving to Node #0,0
Current State: 70:[17, 15, 72], Operations: ['78-6=72']
Exploring Operation: 17-15=2, Resulting Numbers: [72, 2]
Generated Node #0,0,0: 70:[72, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 70:[72, 2], Operations: ['78-6=72', '17-15=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
3,
36,
32,
66
] | 59 | [
"3+36=39",
"32+66=98",
"98-39=59"
] | Current State: 59:[3, 36, 32, 66], Operations: []
Exploring Operation: 3+36=39, Resulting Numbers: [32, 66, 39]
Generated Node #2: [32, 66, 39] from Operation: 3+36=39
Current State: 59:[32, 66, 39], Operations: ['3+36=39']
Exploring Operation: 32+66=98, Resulting Numbers: [39, 98]
Generated Node #3: [39, 98] from Operation: 32+66=98
Current State: 59:[39, 98], Operations: ['3+36=39', '32+66=98']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[3, 36, 32, 66], Operations: []
Exploring Operation: 36-3=33, Resulting Numbers: [32, 66, 33]
Generated Node #0,0: 59:[32, 66, 33] Operation: 36-3=33
Exploring Operation: 3+36=39, Resulting Numbers: [32, 66, 39]
Generated Node #0,1: 59:[32, 66, 39] Operation: 3+36=39
Exploring Operation: 66-3=63, Resulting Numbers: [36, 32, 63]
Generated Node #0,2: 59:[36, 32, 63] Operation: 66-3=63
Exploring Operation: 32-3=29, Resulting Numbers: [36, 66, 29]
Generated Node #0,3: 59:[36, 66, 29] Operation: 32-3=29
Exploring Operation: 3+32=35, Resulting Numbers: [36, 66, 35]
Generated Node #0,4: 59:[36, 66, 35] Operation: 3+32=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[32, 66, 39], Operations: ['3+36=39']
Exploring Operation: 39-32=7, Resulting Numbers: [66, 7]
Generated Node #0,1,0: 59:[66, 7] Operation: 39-32=7
Exploring Operation: 32+39=71, Resulting Numbers: [66, 71]
Generated Node #0,1,1: 59:[66, 71] Operation: 32+39=71
Exploring Operation: 66-39=27, Resulting Numbers: [32, 27]
Generated Node #0,1,2: 59:[32, 27] Operation: 66-39=27
Exploring Operation: 32+66=98, Resulting Numbers: [39, 98]
Generated Node #0,1,3: 59:[39, 98] Operation: 32+66=98
Exploring Operation: 66-32=34, Resulting Numbers: [39, 34]
Generated Node #0,1,4: 59:[39, 34] Operation: 66-32=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[66, 71], Operations: ['3+36=39', '32+39=71']
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,59 unequal: No Solution
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,59 unequal: No Solution
No 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: 59:[39, 34], Operations: ['3+36=39', '66-32=34']
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,59 unequal: No Solution
No 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: 59:[66, 7], Operations: ['3+36=39', '39-32=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[3, 36, 32, 66], Operations: []
Exploring Operation: 3+36=39, Resulting Numbers: [32, 66, 39]
Generated Node #0,1: 59:[32, 66, 39] Operation: 3+36=39
Moving to Node #0,1
Current State: 59:[32, 66, 39], Operations: ['3+36=39']
Exploring Operation: 39-32=7, Resulting Numbers: [66, 7]
Generated Node #0,1,0: 59:[66, 7] Operation: 39-32=7
Moving to Node #0,1,0
Current State: 59:[66, 7], Operations: ['3+36=39', '39-32=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
71,
69,
7,
73
] | 31 | [
"73-71=2",
"69-7=62",
"62/2=31"
] | Current State: 31:[71, 69, 7, 73], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [69, 7, 2]
Generated Node #2: [69, 7, 2] from Operation: 73-71=2
Current State: 31:[69, 7, 2], Operations: ['73-71=2']
Exploring Operation: 69-7=62, Resulting Numbers: [2, 62]
Generated Node #3: [2, 62] from Operation: 69-7=62
Current State: 31:[2, 62], Operations: ['73-71=2', '69-7=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[71, 69, 7, 73], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [71, 7, 4]
Generated Node #0,0: 31:[71, 7, 4] Operation: 73-69=4
Exploring Operation: 69-7=62, Resulting Numbers: [71, 73, 62]
Generated Node #0,1: 31:[71, 73, 62] Operation: 69-7=62
Exploring Operation: 71-69=2, Resulting Numbers: [7, 73, 2]
Generated Node #0,2: 31:[7, 73, 2] Operation: 71-69=2
Exploring Operation: 73-71=2, Resulting Numbers: [69, 7, 2]
Generated Node #0,3: 31:[69, 7, 2] Operation: 73-71=2
Exploring Operation: 71-7=64, Resulting Numbers: [69, 73, 64]
Generated Node #0,4: 31:[69, 73, 64] Operation: 71-7=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[71, 7, 4], Operations: ['73-69=4']
Exploring Operation: 71-7=64, Resulting Numbers: [4, 64]
Generated Node #0,0,0: 31:[4, 64] Operation: 71-7=64
Exploring Operation: 71+4=75, Resulting Numbers: [7, 75]
Generated Node #0,0,1: 31:[7, 75] Operation: 71+4=75
Exploring Operation: 71-4=67, Resulting Numbers: [7, 67]
Generated Node #0,0,2: 31:[7, 67] Operation: 71-4=67
Exploring Operation: 7*4=28, Resulting Numbers: [71, 28]
Generated Node #0,0,3: 31:[71, 28] Operation: 7*4=28
Exploring Operation: 7+4=11, Resulting Numbers: [71, 11]
Generated Node #0,0,4: 31:[71, 11] Operation: 7+4=11
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[71, 28], Operations: ['73-69=4', '7*4=28']
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,31 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,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,0
Current State: 31:[4, 64], Operations: ['73-69=4', '71-7=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,31 unequal: No Solution
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,31 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,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:[7, 67], Operations: ['73-69=4', '71-4=67']
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 7*67=469, Resulting Numbers: [469]
469,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:[71, 11], Operations: ['73-69=4', '7+4=11']
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,31 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,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:[7, 75], Operations: ['73-69=4', '71+4=75']
Exploring Operation: 7+75=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 7*75=525, Resulting Numbers: [525]
525,31 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,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,3
Current State: 31:[69, 7, 2], Operations: ['73-71=2']
Exploring Operation: 69+2=71, Resulting Numbers: [7, 71]
Generated Node #0,3,0: 31:[7, 71] Operation: 69+2=71
Exploring Operation: 69-7=62, Resulting Numbers: [2, 62]
Generated Node #0,3,1: 31:[2, 62] Operation: 69-7=62
Exploring Operation: 7+2=9, Resulting Numbers: [69, 9]
Generated Node #0,3,2: 31:[69, 9] Operation: 7+2=9
Exploring Operation: 69-2=67, Resulting Numbers: [7, 67]
Generated Node #0,3,3: 31:[7, 67] Operation: 69-2=67
Exploring Operation: 7*2=14, Resulting Numbers: [69, 14]
Generated Node #0,3,4: 31:[69, 14] Operation: 7*2=14
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 31:[69, 14], Operations: ['73-71=2', '7*2=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,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,3,1
Current State: 31:[2, 62], Operations: ['73-71=2', '69-7=62']
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,31 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[71, 69, 7, 73], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [69, 7, 2]
Generated Node #0,3: 31:[69, 7, 2] Operation: 73-71=2
Moving to Node #0,3
Current State: 31:[69, 7, 2], Operations: ['73-71=2']
Exploring Operation: 69-7=62, Resulting Numbers: [2, 62]
Generated Node #0,3,1: 31:[2, 62] Operation: 69-7=62
Moving to Node #0,3,1
Current State: 31:[2, 62], Operations: ['73-71=2', '69-7=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
20,
85,
60,
17
] | 75 | [
"20+60=80",
"85/17=5",
"80-5=75"
] | Current State: 75:[20, 85, 60, 17], Operations: []
Exploring Operation: 20+60=80, Resulting Numbers: [85, 17, 80]
Generated Node #2: [85, 17, 80] from Operation: 20+60=80
Current State: 75:[85, 17, 80], Operations: ['20+60=80']
Exploring Operation: 85/17=5, Resulting Numbers: [80, 5]
Generated Node #3: [80, 5] from Operation: 85/17=5
Current State: 75:[80, 5], Operations: ['20+60=80', '85/17=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[20, 85, 60, 17], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [20, 17, 25]
Generated Node #0,0: 75:[20, 17, 25] Operation: 85-60=25
Exploring Operation: 60/20=3, Resulting Numbers: [85, 17, 3]
Generated Node #0,1: 75:[85, 17, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[20, 17, 25], Operations: ['85-60=25']
Exploring Operation: 20-17=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 20-17=3
Exploring Operation: 25-20=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 75:[17, 5] Operation: 25-20=5
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['85-60=25', '20-17=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[20, 85, 60, 17], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [20, 17, 25]
Generated Node #0,0: 75:[20, 17, 25] Operation: 85-60=25
Moving to Node #0,0
Current State: 75:[20, 17, 25], Operations: ['85-60=25']
Exploring Operation: 20-17=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 75:[25, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 75:[25, 3], Operations: ['85-60=25', '20-17=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
10,
62,
80,
11
] | 92 | [
"10*11=110",
"80-62=18",
"110-18=92"
] | Current State: 92:[10, 62, 80, 11], Operations: []
Exploring Operation: 10*11=110, Resulting Numbers: [62, 80, 110]
Generated Node #2: [62, 80, 110] from Operation: 10*11=110
Current State: 92:[62, 80, 110], Operations: ['10*11=110']
Exploring Operation: 80-62=18, Resulting Numbers: [110, 18]
Generated Node #3: [110, 18] from Operation: 80-62=18
Current State: 92:[110, 18], Operations: ['10*11=110', '80-62=18']
Exploring Operation: 110-18=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[10, 62, 80, 11], Operations: []
Exploring Operation: 80+11=91, Resulting Numbers: [10, 62, 91]
Generated Node #0,0: 92:[10, 62, 91] Operation: 80+11=91
Exploring Operation: 62-11=51, Resulting Numbers: [10, 80, 51]
Generated Node #0,1: 92:[10, 80, 51] Operation: 62-11=51
Exploring Operation: 62-10=52, Resulting Numbers: [80, 11, 52]
Generated Node #0,2: 92:[80, 11, 52] Operation: 62-10=52
Exploring Operation: 80-62=18, Resulting Numbers: [10, 11, 18]
Generated Node #0,3: 92:[10, 11, 18] Operation: 80-62=18
Moving to Node #0,3
Current State: 92:[10, 11, 18], Operations: ['80-62=18']
Exploring Operation: 18-11=7, Resulting Numbers: [10, 7]
Generated Node #0,3,0: 92:[10, 7] Operation: 18-11=7
Exploring Operation: 11-10=1, Resulting Numbers: [18, 1]
Generated Node #0,3,1: 92:[18, 1] Operation: 11-10=1
Exploring Operation: 10+11=21, Resulting Numbers: [18, 21]
Generated Node #0,3,2: 92:[18, 21] Operation: 10+11=21
Exploring Operation: 18-10=8, Resulting Numbers: [11, 8]
Generated Node #0,3,3: 92:[11, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[18, 1], Operations: ['80-62=18', '11-10=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,92 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,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,2
Current State: 92:[18, 21], Operations: ['80-62=18', '10+11=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,92 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,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,0
Current State: 92:[10, 7], Operations: ['80-62=18', '18-11=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,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,3
Current State: 92:[11, 8], Operations: ['80-62=18', '18-10=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,92 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: 92:[10, 80, 51], Operations: ['62-11=51']
Exploring Operation: 80-51=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 92:[10, 29] Operation: 80-51=29
Exploring Operation: 80/10=8, Resulting Numbers: [51, 8]
Generated Node #0,1,1: 92:[51, 8] Operation: 80/10=8
Exploring Operation: 10+80=90, Resulting Numbers: [51, 90]
Generated Node #0,1,2: 92:[51, 90] Operation: 10+80=90
Exploring Operation: 51-10=41, Resulting Numbers: [80, 41]
Generated Node #0,1,3: 92:[80, 41] Operation: 51-10=41
Moving to Node #0,0
Current State: 92:[10, 62, 91], Operations: ['80+11=91']
Exploring Operation: 62-10=52, Resulting Numbers: [91, 52]
Generated Node #0,0,0: 92:[91, 52] Operation: 62-10=52
Exploring Operation: 10+91=101, Resulting Numbers: [62, 101]
Generated Node #0,0,1: 92:[62, 101] Operation: 10+91=101
Exploring Operation: 91-62=29, Resulting Numbers: [10, 29]
Generated Node #0,0,2: 92:[10, 29] Operation: 91-62=29
Exploring Operation: 10+62=72, Resulting Numbers: [91, 72]
Generated Node #0,0,3: 92:[91, 72] Operation: 10+62=72
Moving to Node #0,2
Current State: 92:[80, 11, 52], Operations: ['62-10=52']
Exploring Operation: 80-11=69, Resulting Numbers: [52, 69]
Generated Node #0,2,0: 92:[52, 69] Operation: 80-11=69
Exploring Operation: 80-52=28, Resulting Numbers: [11, 28]
Generated Node #0,2,1: 92:[11, 28] Operation: 80-52=28
Exploring Operation: 52-11=41, Resulting Numbers: [80, 41]
Generated Node #0,2,2: 92:[80, 41] Operation: 52-11=41
Exploring Operation: 80+11=91, Resulting Numbers: [52, 91]
Generated Node #0,2,3: 92:[52, 91] Operation: 80+11=91
Moving to Node #0,1,2
Current State: 92:[51, 90], Operations: ['62-11=51', '10+80=90']
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,92 unequal: No Solution
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,92 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[91, 52], Operations: ['80+11=91', '62-10=52']
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,92 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[52, 91], Operations: ['62-10=52', '80+11=91']
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,92 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 52*91=4732, Resulting Numbers: [4732]
4732,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[51, 8], Operations: ['62-11=51', '80/10=8']
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,92 unequal: No Solution
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[10, 29], Operations: ['62-11=51', '80-51=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,92 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[10, 29], Operations: ['80+11=91', '91-62=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[11, 28], Operations: ['62-10=52', '80-52=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,92 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[80, 41], Operations: ['62-10=52', '52-11=41']
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[80, 41], Operations: ['62-11=51', '51-10=41']
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,92 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[91, 72], Operations: ['80+11=91', '10+62=72']
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,92 unequal: No Solution
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,92 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[62, 101], Operations: ['80+11=91', '10+91=101']
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,92 unequal: No Solution
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,92 unequal: No Solution
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[52, 69], Operations: ['62-10=52', '80-11=69']
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 52+69=121, Resulting Numbers: [121]
121,92 unequal: No Solution
Exploring Operation: 52*69=3588, Resulting Numbers: [3588]
3588,92 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
48,
28,
26
] | 35 | [
"22+48=70",
"28-26=2",
"70/2=35"
] | Current State: 35:[22, 48, 28, 26], Operations: []
Exploring Operation: 22+48=70, Resulting Numbers: [28, 26, 70]
Generated Node #2: [28, 26, 70] from Operation: 22+48=70
Current State: 35:[28, 26, 70], Operations: ['22+48=70']
Exploring Operation: 28-26=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 28-26=2
Current State: 35:[70, 2], Operations: ['22+48=70', '28-26=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[22, 48, 28, 26], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [48, 28, 4]
Generated Node #0,0: 35:[48, 28, 4] Operation: 26-22=4
Exploring Operation: 48-22=26, Resulting Numbers: [28, 26, 26]
Generated Node #0,1: 35:[28, 26, 26] Operation: 48-22=26
Exploring Operation: 28-22=6, Resulting Numbers: [48, 26, 6]
Generated Node #0,2: 35:[48, 26, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[48, 28, 4], Operations: ['26-22=4']
Exploring Operation: 48-28=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 35:[4, 20] Operation: 48-28=20
Exploring Operation: 48/4=12, Resulting Numbers: [28, 12]
Generated Node #0,0,1: 35:[28, 12] Operation: 48/4=12
Exploring Operation: 28/4=7, Resulting Numbers: [48, 7]
Generated Node #0,0,2: 35:[48, 7] Operation: 28/4=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[28, 12], Operations: ['26-22=4', '48/4=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,35 unequal: No Solution
No 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: 35:[48, 7], Operations: ['26-22=4', '28/4=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,35 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,35 unequal: No Solution
No 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: 35:[4, 20], Operations: ['26-22=4', '48-28=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,35 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: 35:[48, 26, 6], Operations: ['28-22=6']
Exploring Operation: 48-6=42, Resulting Numbers: [26, 42]
Generated Node #0,2,0: 35:[26, 42] Operation: 48-6=42
Exploring Operation: 48-26=22, Resulting Numbers: [6, 22]
Generated Node #0,2,1: 35:[6, 22] Operation: 48-26=22
Exploring Operation: 48/6=8, Resulting Numbers: [26, 8]
Generated Node #0,2,2: 35:[26, 8] Operation: 48/6=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 35:[26, 8], Operations: ['28-22=6', '48/6=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 26*8=208, Resulting Numbers: [208]
208,35 unequal: No Solution
No 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: 35:[6, 22], Operations: ['28-22=6', '48-26=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,35 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No 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: 35:[26, 42], Operations: ['28-22=6', '48-6=42']
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,35 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: 35:[28, 26, 26], Operations: ['48-22=26']
Exploring Operation: 26/26=1, Resulting Numbers: [28, 1]
Generated Node #0,1,0: 35:[28, 1] Operation: 26/26=1
Exploring Operation: 28-26=2, Resulting Numbers: [26, 2]
Generated Node #0,1,1: 35:[26, 2] Operation: 28-26=2
Exploring Operation: 28-26=2, Resulting Numbers: [26, 2]
Generated Node #0,1,2: 35:[26, 2] Operation: 28-26=2
Moving to Node #0,1,0
Current State: 35:[28, 1], Operations: ['48-22=26', '26/26=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[26, 2], Operations: ['48-22=26', '28-26=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[26, 2], Operations: ['48-22=26', '28-26=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
43,
38,
49,
49
] | 80 | [
"43+38=81",
"49/49=1",
"81-1=80"
] | Current State: 80:[43, 38, 49, 49], Operations: []
Exploring Operation: 43+38=81, Resulting Numbers: [49, 49, 81]
Generated Node #2: [49, 49, 81] from Operation: 43+38=81
Current State: 80:[49, 49, 81], Operations: ['43+38=81']
Exploring Operation: 49/49=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 49/49=1
Current State: 80:[81, 1], Operations: ['43+38=81', '49/49=1']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[43, 38, 49, 49], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [43, 38, 1]
Generated Node #0,0: 80:[43, 38, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [43, 38, 0]
Generated Node #0,1: 80:[43, 38, 0] Operation: 49-49=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[43, 38, 1], Operations: ['49/49=1']
Exploring Operation: 43+38=81, Resulting Numbers: [1, 81]
Generated Node #0,0,0: 80:[1, 81] Operation: 43+38=81
Exploring Operation: 43-38=5, Resulting Numbers: [1, 5]
Generated Node #0,0,1: 80:[1, 5] Operation: 43-38=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[1, 5], Operations: ['49/49=1', '43-38=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,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:[1, 81], Operations: ['49/49=1', '43+38=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[43, 38, 49, 49], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [43, 38, 1]
Generated Node #0,0: 80:[43, 38, 1] Operation: 49/49=1
Moving to Node #0,0
Current State: 80:[43, 38, 1], Operations: ['49/49=1']
Exploring Operation: 43+38=81, Resulting Numbers: [1, 81]
Generated Node #0,0,0: 80:[1, 81] Operation: 43+38=81
Moving to Node #0,0,0
Current State: 80:[1, 81], Operations: ['49/49=1', '43+38=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
52,
32,
58,
16
] | 22 | [
"52-32=20",
"58-16=42",
"42-20=22"
] | Current State: 22:[52, 32, 58, 16], Operations: []
Exploring Operation: 52-32=20, Resulting Numbers: [58, 16, 20]
Generated Node #2: [58, 16, 20] from Operation: 52-32=20
Current State: 22:[58, 16, 20], Operations: ['52-32=20']
Exploring Operation: 58-16=42, Resulting Numbers: [20, 42]
Generated Node #3: [20, 42] from Operation: 58-16=42
Current State: 22:[20, 42], Operations: ['52-32=20', '58-16=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[52, 32, 58, 16], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [52, 16, 26]
Generated Node #0,0: 22:[52, 16, 26] Operation: 58-32=26
Exploring Operation: 58-52=6, Resulting Numbers: [32, 16, 6]
Generated Node #0,1: 22:[32, 16, 6] Operation: 58-52=6
Exploring Operation: 52-32=20, Resulting Numbers: [58, 16, 20]
Generated Node #0,2: 22:[58, 16, 20] Operation: 52-32=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[32, 16, 6], Operations: ['58-52=6']
Exploring Operation: 32/16=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 22:[6, 2] Operation: 32/16=2
Exploring Operation: 32-6=26, Resulting Numbers: [16, 26]
Generated Node #0,1,1: 22:[16, 26] Operation: 32-6=26
Exploring Operation: 32-16=16, Resulting Numbers: [6, 16]
Generated Node #0,1,2: 22:[6, 16] Operation: 32-16=16
Moving to Node #0,1,0
Current State: 22:[6, 2], Operations: ['58-52=6', '32/16=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[16, 26], Operations: ['58-52=6', '32-6=26']
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,22 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[6, 16], Operations: ['58-52=6', '32-16=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[52, 32, 58, 16], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [32, 16, 6]
Generated Node #0,1: 22:[32, 16, 6] Operation: 58-52=6
Moving to Node #0,1
Current State: 22:[32, 16, 6], Operations: ['58-52=6']
Exploring Operation: 32-16=16, Resulting Numbers: [6, 16]
Generated Node #0,1,2: 22:[6, 16] Operation: 32-16=16
Moving to Node #0,1,2
Current State: 22:[6, 16], Operations: ['58-52=6', '32-16=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
62,
57,
78,
10
] | 28 | [
"62-57=5",
"10*5=50",
"78-50=28"
] | Current State: 28:[62, 57, 78, 10], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [78, 10, 5]
Generated Node #2: [78, 10, 5] from Operation: 62-57=5
Current State: 28:[78, 10, 5], Operations: ['62-57=5']
Exploring Operation: 10*5=50, Resulting Numbers: [78, 50]
Generated Node #3: [78, 50] from Operation: 10*5=50
Current State: 28:[78, 50], Operations: ['62-57=5', '10*5=50']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[62, 57, 78, 10], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [57, 10, 16]
Generated Node #0,0: 28:[57, 10, 16] Operation: 78-62=16
Exploring Operation: 62-10=52, Resulting Numbers: [57, 78, 52]
Generated Node #0,1: 28:[57, 78, 52] Operation: 62-10=52
Exploring Operation: 57-10=47, Resulting Numbers: [62, 78, 47]
Generated Node #0,2: 28:[62, 78, 47] Operation: 57-10=47
Exploring Operation: 78-57=21, Resulting Numbers: [62, 10, 21]
Generated Node #0,3: 28:[62, 10, 21] Operation: 78-57=21
Exploring Operation: 62-57=5, Resulting Numbers: [78, 10, 5]
Generated Node #0,4: 28:[78, 10, 5] Operation: 62-57=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[57, 10, 16], Operations: ['78-62=16']
Exploring Operation: 16-10=6, Resulting Numbers: [57, 6]
Generated Node #0,0,0: 28:[57, 6] Operation: 16-10=6
Exploring Operation: 57-16=41, Resulting Numbers: [10, 41]
Generated Node #0,0,1: 28:[10, 41] Operation: 57-16=41
Exploring Operation: 10+16=26, Resulting Numbers: [57, 26]
Generated Node #0,0,2: 28:[57, 26] Operation: 10+16=26
Exploring Operation: 57+10=67, Resulting Numbers: [16, 67]
Generated Node #0,0,3: 28:[16, 67] Operation: 57+10=67
Exploring Operation: 57-10=47, Resulting Numbers: [16, 47]
Generated Node #0,0,4: 28:[16, 47] Operation: 57-10=47
Moving to Node #0,0,1
Current State: 28:[10, 41], Operations: ['78-62=16', '57-16=41']
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,28 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Moving to Node #0,0,4
Current State: 28:[16, 47], Operations: ['78-62=16', '57-10=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[57, 6], Operations: ['78-62=16', '16-10=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,28 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[57, 26], Operations: ['78-62=16', '10+16=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[16, 67], Operations: ['78-62=16', '57+10=67']
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,28 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[62, 10, 21], Operations: ['78-57=21']
Exploring Operation: 62+10=72, Resulting Numbers: [21, 72]
Generated Node #0,3,0: 28:[21, 72] Operation: 62+10=72
Exploring Operation: 62-10=52, Resulting Numbers: [21, 52]
Generated Node #0,3,1: 28:[21, 52] Operation: 62-10=52
Exploring Operation: 21-10=11, Resulting Numbers: [62, 11]
Generated Node #0,3,2: 28:[62, 11] Operation: 21-10=11
Exploring Operation: 62-21=41, Resulting Numbers: [10, 41]
Generated Node #0,3,3: 28:[10, 41] Operation: 62-21=41
Exploring Operation: 10+21=31, Resulting Numbers: [62, 31]
Generated Node #0,3,4: 28:[62, 31] Operation: 10+21=31
Moving to Node #0,3,3
Current State: 28:[10, 41], Operations: ['78-57=21', '62-21=41']
Exploring Operation: 10*41=410, Resulting Numbers: [410]
410,28 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 10+41=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[21, 52], Operations: ['78-57=21', '62-10=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,28 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[62, 11], Operations: ['78-57=21', '21-10=11']
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,28 unequal: No Solution
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Moving to Node #0,3,4
Current State: 28:[62, 31], Operations: ['78-57=21', '10+21=31']
Exploring Operation: 62*31=1922, Resulting Numbers: [1922]
1922,28 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[21, 72], Operations: ['78-57=21', '62+10=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[78, 10, 5], Operations: ['62-57=5']
Exploring Operation: 78-5=73, Resulting Numbers: [10, 73]
Generated Node #0,4,0: 28:[10, 73] Operation: 78-5=73
Exploring Operation: 78-10=68, Resulting Numbers: [5, 68]
Generated Node #0,4,1: 28:[5, 68] Operation: 78-10=68
Exploring Operation: 10-5=5, Resulting Numbers: [78, 5]
Generated Node #0,4,2: 28:[78, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [78, 2]
Generated Node #0,4,3: 28:[78, 2] Operation: 10/5=2
Exploring Operation: 10+5=15, Resulting Numbers: [78, 15]
Generated Node #0,4,4: 28:[78, 15] Operation: 10+5=15
Moving to Node #0,4,1
Current State: 28:[5, 68], Operations: ['62-57=5', '78-10=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,28 unequal: No Solution
Moving to Node #0,4,0
Current State: 28:[10, 73], Operations: ['62-57=5', '78-5=73']
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,28 unequal: No Solution
Moving to Node #0,4,3
Current State: 28:[78, 2], Operations: ['62-57=5', '10/5=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,28 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,28 unequal: No Solution
Moving to Node #0,4,2
Current State: 28:[78, 5], Operations: ['62-57=5', '10-5=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,28 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Moving to Node #0,4,4
Current State: 28:[78, 15], Operations: ['62-57=5', '10+5=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[57, 78, 52], Operations: ['62-10=52']
Exploring Operation: 78-57=21, Resulting Numbers: [52, 21]
Generated Node #0,1,0: 28:[52, 21] Operation: 78-57=21
Exploring Operation: 78-52=26, Resulting Numbers: [57, 26]
Generated Node #0,1,1: 28:[57, 26] Operation: 78-52=26
Exploring Operation: 57+78=135, Resulting Numbers: [52, 135]
Generated Node #0,1,2: 28:[52, 135] Operation: 57+78=135
Exploring Operation: 57-52=5, Resulting Numbers: [78, 5]
Generated Node #0,1,3: 28:[78, 5] Operation: 57-52=5
Exploring Operation: 57+52=109, Resulting Numbers: [78, 109]
Generated Node #0,1,4: 28:[78, 109] Operation: 57+52=109
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[52, 21], Operations: ['62-10=52', '78-57=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[57, 26], Operations: ['62-10=52', '78-52=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 28:[78, 5], Operations: ['62-10=52', '57-52=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,28 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,28 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 28:[52, 135], Operations: ['62-10=52', '57+78=135']
Exploring Operation: 52*135=7020, Resulting Numbers: [7020]
7020,28 unequal: No Solution
Exploring Operation: 135-52=83, Resulting Numbers: [83]
83,28 unequal: No Solution
Exploring Operation: 52+135=187, Resulting Numbers: [187]
187,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 28:[78, 109], Operations: ['62-10=52', '57+52=109']
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,28 unequal: No Solution
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[62, 78, 47], Operations: ['57-10=47']
Exploring Operation: 62+47=109, Resulting Numbers: [78, 109]
Generated Node #0,2,0: 28:[78, 109] Operation: 62+47=109
Exploring Operation: 78-47=31, Resulting Numbers: [62, 31]
Generated Node #0,2,1: 28:[62, 31] Operation: 78-47=31
Exploring Operation: 78-62=16, Resulting Numbers: [47, 16]
Generated Node #0,2,2: 28:[47, 16] Operation: 78-62=16
Exploring Operation: 62+78=140, Resulting Numbers: [47, 140]
Generated Node #0,2,3: 28:[47, 140] Operation: 62+78=140
Exploring Operation: 62-47=15, Resulting Numbers: [78, 15]
Generated Node #0,2,4: 28:[78, 15] Operation: 62-47=15
Moving to Node #0,2,2
Current State: 28:[47, 16], Operations: ['57-10=47', '78-62=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,28 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[62, 31], Operations: ['57-10=47', '78-47=31']
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 62*31=1922, Resulting Numbers: [1922]
1922,28 unequal: No Solution
Moving to Node #0,2,4
Current State: 28:[78, 15], Operations: ['57-10=47', '62-47=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,28 unequal: No Solution
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[78, 109], Operations: ['57-10=47', '62+47=109']
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,28 unequal: No Solution
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,28 unequal: No Solution
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[47, 140], Operations: ['57-10=47', '62+78=140']
Exploring Operation: 47*140=6580, Resulting Numbers: [6580]
6580,28 unequal: No Solution
Exploring Operation: 47+140=187, Resulting Numbers: [187]
187,28 unequal: No Solution
Exploring Operation: 140-47=93, Resulting Numbers: [93]
93,28 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 |
[
10,
37,
8,
26
] | 65 | [
"10+37=47",
"26-8=18",
"47+18=65"
] | Current State: 65:[10, 37, 8, 26], Operations: []
Exploring Operation: 10+37=47, Resulting Numbers: [8, 26, 47]
Generated Node #2: [8, 26, 47] from Operation: 10+37=47
Current State: 65:[8, 26, 47], Operations: ['10+37=47']
Exploring Operation: 26-8=18, Resulting Numbers: [47, 18]
Generated Node #3: [47, 18] from Operation: 26-8=18
Current State: 65:[47, 18], Operations: ['10+37=47', '26-8=18']
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[10, 37, 8, 26], Operations: []
Exploring Operation: 37+26=63, Resulting Numbers: [10, 8, 63]
Generated Node #0,0: 65:[10, 8, 63] Operation: 37+26=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[10, 8, 63], Operations: ['37+26=63']
Exploring Operation: 10-8=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 65:[63, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 65:[63, 2], Operations: ['37+26=63', '10-8=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[10, 37, 8, 26], Operations: []
Exploring Operation: 37+26=63, Resulting Numbers: [10, 8, 63]
Generated Node #0,0: 65:[10, 8, 63] Operation: 37+26=63
Moving to Node #0,0
Current State: 65:[10, 8, 63], Operations: ['37+26=63']
Exploring Operation: 10-8=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 65:[63, 2] Operation: 10-8=2
Moving to Node #0,0,0
Current State: 65:[63, 2], Operations: ['37+26=63', '10-8=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
64,
24,
87,
89
] | 66 | [
"87+89=176",
"24*176=4224",
"4224/64=66"
] | Current State: 66:[64, 24, 87, 89], Operations: []
Exploring Operation: 87+89=176, Resulting Numbers: [64, 24, 176]
Generated Node #2: [64, 24, 176] from Operation: 87+89=176
Current State: 66:[64, 24, 176], Operations: ['87+89=176']
Exploring Operation: 24*176=4224, Resulting Numbers: [64, 4224]
Generated Node #3: [64, 4224] from Operation: 24*176=4224
Current State: 66:[64, 4224], Operations: ['87+89=176', '24*176=4224']
Exploring Operation: 4224/64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[64, 24, 87, 89], Operations: []
Exploring Operation: 89-64=25, Resulting Numbers: [24, 87, 25]
Generated Node #0,0: 66:[24, 87, 25] Operation: 89-64=25
Exploring Operation: 89-24=65, Resulting Numbers: [64, 87, 65]
Generated Node #0,1: 66:[64, 87, 65] Operation: 89-24=65
Exploring Operation: 87-64=23, Resulting Numbers: [24, 89, 23]
Generated Node #0,2: 66:[24, 89, 23] Operation: 87-64=23
Exploring Operation: 89-87=2, Resulting Numbers: [64, 24, 2]
Generated Node #0,3: 66:[64, 24, 2] Operation: 89-87=2
Moving to Node #0,3
Current State: 66:[64, 24, 2], Operations: ['89-87=2']
Exploring Operation: 24-2=22, Resulting Numbers: [64, 22]
Generated Node #0,3,0: 66:[64, 22] Operation: 24-2=22
Exploring Operation: 64+2=66, Resulting Numbers: [24, 66]
Generated Node #0,3,1: 66:[24, 66] Operation: 64+2=66
Exploring Operation: 64/2=32, Resulting Numbers: [24, 32]
Generated Node #0,3,2: 66:[24, 32] Operation: 64/2=32
Exploring Operation: 24/2=12, Resulting Numbers: [64, 12]
Generated Node #0,3,3: 66:[64, 12] Operation: 24/2=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[64, 22], Operations: ['89-87=2', '24-2=22']
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,66 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[24, 66], Operations: ['89-87=2', '64+2=66']
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,66 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[24, 32], Operations: ['89-87=2', '64/2=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[64, 12], Operations: ['89-87=2', '24/2=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,66 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,66 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: 66:[64, 87, 65], Operations: ['89-24=65']
Exploring Operation: 65-64=1, Resulting Numbers: [87, 1]
Generated Node #0,1,0: 66:[87, 1] Operation: 65-64=1
Exploring Operation: 64+65=129, Resulting Numbers: [87, 129]
Generated Node #0,1,1: 66:[87, 129] Operation: 64+65=129
Exploring Operation: 87-65=22, Resulting Numbers: [64, 22]
Generated Node #0,1,2: 66:[64, 22] Operation: 87-65=22
Exploring Operation: 87-64=23, Resulting Numbers: [65, 23]
Generated Node #0,1,3: 66:[65, 23] Operation: 87-64=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[64, 22], Operations: ['89-24=65', '87-65=22']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[65, 23], Operations: ['89-24=65', '87-64=23']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[87, 1], Operations: ['89-24=65', '65-64=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[87, 129], Operations: ['89-24=65', '64+65=129']
Exploring Operation: 87+129=216, Resulting Numbers: [216]
216,66 unequal: No Solution
Exploring Operation: 129-87=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 87*129=11223, Resulting Numbers: [11223]
11223,66 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: 66:[24, 89, 23], Operations: ['87-64=23']
Exploring Operation: 89-24=65, Resulting Numbers: [23, 65]
Generated Node #0,2,0: 66:[23, 65] Operation: 89-24=65
Exploring Operation: 89-23=66, Resulting Numbers: [24, 66]
Generated Node #0,2,1: 66:[24, 66] Operation: 89-23=66
Exploring Operation: 24+23=47, Resulting Numbers: [89, 47]
Generated Node #0,2,2: 66:[89, 47] Operation: 24+23=47
Exploring Operation: 24-23=1, Resulting Numbers: [89, 1]
Generated Node #0,2,3: 66:[89, 1] Operation: 24-23=1
Moving to Node #0,0
Current State: 66:[24, 87, 25], Operations: ['89-64=25']
Exploring Operation: 24+25=49, Resulting Numbers: [87, 49]
Generated Node #0,0,0: 66:[87, 49] Operation: 24+25=49
Exploring Operation: 87-24=63, Resulting Numbers: [25, 63]
Generated Node #0,0,1: 66:[25, 63] Operation: 87-24=63
Exploring Operation: 87-25=62, Resulting Numbers: [24, 62]
Generated Node #0,0,2: 66:[24, 62] Operation: 87-25=62
Exploring Operation: 25-24=1, Resulting Numbers: [87, 1]
Generated Node #0,0,3: 66:[87, 1] Operation: 25-24=1
Moving to Node #0,2,0
Current State: 66:[23, 65], Operations: ['87-64=23', '89-24=65']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 23*65=1495, Resulting Numbers: [1495]
1495,66 unequal: No Solution
Exploring Operation: 23+65=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[24, 66], Operations: ['87-64=23', '89-23=66']
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,66 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[24, 62], Operations: ['89-64=25', '87-25=62']
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,66 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[25, 63], Operations: ['89-64=25', '87-24=63']
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,66 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[87, 1], Operations: ['89-64=25', '25-24=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[89, 1], Operations: ['87-64=23', '24-23=1']
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,66 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[89, 47], Operations: ['87-64=23', '24+23=47']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,66 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[87, 49], Operations: ['89-64=25', '24+25=49']
Exploring Operation: 87-49=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 87+49=136, Resulting Numbers: [136]
136,66 unequal: No Solution
Exploring Operation: 87*49=4263, Resulting Numbers: [4263]
4263,66 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
44,
19,
41,
14
] | 36 | [
"44+19=63",
"41-14=27",
"63-27=36"
] | Current State: 36:[44, 19, 41, 14], Operations: []
Exploring Operation: 44+19=63, Resulting Numbers: [41, 14, 63]
Generated Node #2: [41, 14, 63] from Operation: 44+19=63
Current State: 36:[41, 14, 63], Operations: ['44+19=63']
Exploring Operation: 41-14=27, Resulting Numbers: [63, 27]
Generated Node #3: [63, 27] from Operation: 41-14=27
Current State: 36:[63, 27], Operations: ['44+19=63', '41-14=27']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[44, 19, 41, 14], Operations: []
Exploring Operation: 44-19=25, Resulting Numbers: [41, 14, 25]
Generated Node #0,0: 36:[41, 14, 25] Operation: 44-19=25
Exploring Operation: 44-14=30, Resulting Numbers: [19, 41, 30]
Generated Node #0,1: 36:[19, 41, 30] Operation: 44-14=30
Exploring Operation: 44-41=3, Resulting Numbers: [19, 14, 3]
Generated Node #0,2: 36:[19, 14, 3] Operation: 44-41=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[19, 14, 3], Operations: ['44-41=3']
Exploring Operation: 19-14=5, Resulting Numbers: [3, 5]
Generated Node #0,2,0: 36:[3, 5] Operation: 19-14=5
Exploring Operation: 14-3=11, Resulting Numbers: [19, 11]
Generated Node #0,2,1: 36:[19, 11] Operation: 14-3=11
Exploring Operation: 14+3=17, Resulting Numbers: [19, 17]
Generated Node #0,2,2: 36:[19, 17] Operation: 14+3=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[3, 5], Operations: ['44-41=3', '19-14=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[19, 11], Operations: ['44-41=3', '14-3=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[19, 17], Operations: ['44-41=3', '14+3=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[44, 19, 41, 14], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [19, 14, 3]
Generated Node #0,2: 36:[19, 14, 3] Operation: 44-41=3
Moving to Node #0,2
Current State: 36:[19, 14, 3], Operations: ['44-41=3']
Exploring Operation: 14+3=17, Resulting Numbers: [19, 17]
Generated Node #0,2,2: 36:[19, 17] Operation: 14+3=17
Moving to Node #0,2,2
Current State: 36:[19, 17], Operations: ['44-41=3', '14+3=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
13,
97,
98,
61
] | 48 | [
"61-13=48",
"98-97=1",
"48*1=48"
] | Current State: 48:[13, 97, 98, 61], Operations: []
Exploring Operation: 61-13=48, Resulting Numbers: [97, 98, 48]
Generated Node #2: [97, 98, 48] from Operation: 61-13=48
Current State: 48:[97, 98, 48], Operations: ['61-13=48']
Exploring Operation: 98-97=1, Resulting Numbers: [48, 1]
Generated Node #3: [48, 1] from Operation: 98-97=1
Current State: 48:[48, 1], Operations: ['61-13=48', '98-97=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[13, 97, 98, 61], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [13, 97, 37]
Generated Node #0,0: 48:[13, 97, 37] Operation: 98-61=37
Exploring Operation: 97-61=36, Resulting Numbers: [13, 98, 36]
Generated Node #0,1: 48:[13, 98, 36] Operation: 97-61=36
Exploring Operation: 98-97=1, Resulting Numbers: [13, 61, 1]
Generated Node #0,2: 48:[13, 61, 1] Operation: 98-97=1
Moving to Node #0,2
Current State: 48:[13, 61, 1], Operations: ['98-97=1']
Exploring Operation: 61-13=48, Resulting Numbers: [1, 48]
Generated Node #0,2,0: 48:[1, 48] Operation: 61-13=48
Exploring Operation: 13-1=12, Resulting Numbers: [61, 12]
Generated Node #0,2,1: 48:[61, 12] Operation: 13-1=12
Exploring Operation: 61-1=60, Resulting Numbers: [13, 60]
Generated Node #0,2,2: 48:[13, 60] Operation: 61-1=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[1, 48], Operations: ['98-97=1', '61-13=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[13, 97, 98, 61], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [13, 61, 1]
Generated Node #0,2: 48:[13, 61, 1] Operation: 98-97=1
Moving to Node #0,2
Current State: 48:[13, 61, 1], Operations: ['98-97=1']
Exploring Operation: 61-13=48, Resulting Numbers: [1, 48]
Generated Node #0,2,0: 48:[1, 48] Operation: 61-13=48
Moving to Node #0,2,0
Current State: 48:[1, 48], Operations: ['98-97=1', '61-13=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
4,
12,
58,
64
] | 71 | [
"64-12=52",
"52/4=13",
"58+13=71"
] | Current State: 71:[4, 12, 58, 64], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [4, 58, 52]
Generated Node #2: [4, 58, 52] from Operation: 64-12=52
Current State: 71:[4, 58, 52], Operations: ['64-12=52']
Exploring Operation: 52/4=13, Resulting Numbers: [58, 13]
Generated Node #3: [58, 13] from Operation: 52/4=13
Current State: 71:[58, 13], Operations: ['64-12=52', '52/4=13']
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[4, 12, 58, 64], Operations: []
Exploring Operation: 4*12=48, Resulting Numbers: [58, 64, 48]
Generated Node #0,0: 71:[58, 64, 48] Operation: 4*12=48
Exploring Operation: 4+12=16, Resulting Numbers: [58, 64, 16]
Generated Node #0,1: 71:[58, 64, 16] Operation: 4+12=16
Moving to Node #0,0
Current State: 71:[58, 64, 48], Operations: ['4*12=48']
Exploring Operation: 64+48=112, Resulting Numbers: [58, 112]
Generated Node #0,0,0: 71:[58, 112] Operation: 64+48=112
Exploring Operation: 58+48=106, Resulting Numbers: [64, 106]
Generated Node #0,0,1: 71:[64, 106] Operation: 58+48=106
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[64, 106], Operations: ['4*12=48', '58+48=106']
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[58, 112], Operations: ['4*12=48', '64+48=112']
Exploring Operation: 58+112=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 112-58=54, Resulting Numbers: [54]
54,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[58, 64, 16], Operations: ['4+12=16']
Exploring Operation: 58+16=74, Resulting Numbers: [64, 74]
Generated Node #0,1,0: 71:[64, 74] Operation: 58+16=74
Exploring Operation: 64+16=80, Resulting Numbers: [58, 80]
Generated Node #0,1,1: 71:[58, 80] Operation: 64+16=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[64, 74], Operations: ['4+12=16', '58+16=74']
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[58, 80], Operations: ['4+12=16', '64+16=80']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
88,
92,
31
] | 43 | [
"78+88=166",
"92+31=123",
"166-123=43"
] | Current State: 43:[78, 88, 92, 31], Operations: []
Exploring Operation: 78+88=166, Resulting Numbers: [92, 31, 166]
Generated Node #2: [92, 31, 166] from Operation: 78+88=166
Current State: 43:[92, 31, 166], Operations: ['78+88=166']
Exploring Operation: 92+31=123, Resulting Numbers: [166, 123]
Generated Node #3: [166, 123] from Operation: 92+31=123
Current State: 43:[166, 123], Operations: ['78+88=166', '92+31=123']
Exploring Operation: 166-123=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[78, 88, 92, 31], Operations: []
Exploring Operation: 88-78=10, Resulting Numbers: [92, 31, 10]
Generated Node #0,0: 43:[92, 31, 10] Operation: 88-78=10
Exploring Operation: 92-78=14, Resulting Numbers: [88, 31, 14]
Generated Node #0,1: 43:[88, 31, 14] Operation: 92-78=14
Exploring Operation: 92-88=4, Resulting Numbers: [78, 31, 4]
Generated Node #0,2: 43:[78, 31, 4] Operation: 92-88=4
Exploring Operation: 78-31=47, Resulting Numbers: [88, 92, 47]
Generated Node #0,3: 43:[88, 92, 47] Operation: 78-31=47
Moving to Node #0,1
Current State: 43:[88, 31, 14], Operations: ['92-78=14']
Exploring Operation: 88+14=102, Resulting Numbers: [31, 102]
Generated Node #0,1,0: 43:[31, 102] Operation: 88+14=102
Exploring Operation: 31+14=45, Resulting Numbers: [88, 45]
Generated Node #0,1,1: 43:[88, 45] Operation: 31+14=45
Exploring Operation: 88-31=57, Resulting Numbers: [14, 57]
Generated Node #0,1,2: 43:[14, 57] Operation: 88-31=57
Exploring Operation: 88-14=74, Resulting Numbers: [31, 74]
Generated Node #0,1,3: 43:[31, 74] Operation: 88-14=74
Moving to Node #0,2
Current State: 43:[78, 31, 4], Operations: ['92-88=4']
Exploring Operation: 78-4=74, Resulting Numbers: [31, 74]
Generated Node #0,2,0: 43:[31, 74] Operation: 78-4=74
Exploring Operation: 78+4=82, Resulting Numbers: [31, 82]
Generated Node #0,2,1: 43:[31, 82] Operation: 78+4=82
Exploring Operation: 78-31=47, Resulting Numbers: [4, 47]
Generated Node #0,2,2: 43:[4, 47] Operation: 78-31=47
Exploring Operation: 31+4=35, Resulting Numbers: [78, 35]
Generated Node #0,2,3: 43:[78, 35] Operation: 31+4=35
Moving to Node #0,0
Current State: 43:[92, 31, 10], Operations: ['88-78=10']
Exploring Operation: 92-10=82, Resulting Numbers: [31, 82]
Generated Node #0,0,0: 43:[31, 82] Operation: 92-10=82
Exploring Operation: 31+10=41, Resulting Numbers: [92, 41]
Generated Node #0,0,1: 43:[92, 41] Operation: 31+10=41
Exploring Operation: 92+10=102, Resulting Numbers: [31, 102]
Generated Node #0,0,2: 43:[31, 102] Operation: 92+10=102
Exploring Operation: 92-31=61, Resulting Numbers: [10, 61]
Generated Node #0,0,3: 43:[10, 61] Operation: 92-31=61
Moving to Node #0,3
Current State: 43:[88, 92, 47], Operations: ['78-31=47']
Exploring Operation: 88-47=41, Resulting Numbers: [92, 41]
Generated Node #0,3,0: 43:[92, 41] Operation: 88-47=41
Exploring Operation: 92-47=45, Resulting Numbers: [88, 45]
Generated Node #0,3,1: 43:[88, 45] Operation: 92-47=45
Exploring Operation: 92-88=4, Resulting Numbers: [47, 4]
Generated Node #0,3,2: 43:[47, 4] Operation: 92-88=4
Exploring Operation: 88+92=180, Resulting Numbers: [47, 180]
Generated Node #0,3,3: 43:[47, 180] Operation: 88+92=180
Moving to Node #0,1,2
Current State: 43:[14, 57], Operations: ['92-78=14', '88-31=57']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[78, 88, 92, 31], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [88, 31, 14]
Generated Node #0,1: 43:[88, 31, 14] Operation: 92-78=14
Moving to Node #0,1
Current State: 43:[88, 31, 14], Operations: ['92-78=14']
Exploring Operation: 88-31=57, Resulting Numbers: [14, 57]
Generated Node #0,1,2: 43:[14, 57] Operation: 88-31=57
Moving to Node #0,1,2
Current State: 43:[14, 57], Operations: ['92-78=14', '88-31=57']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
47,
30,
68,
74
] | 23 | [
"47-30=17",
"74-68=6",
"17+6=23"
] | Current State: 23:[47, 30, 68, 74], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [68, 74, 17]
Generated Node #2: [68, 74, 17] from Operation: 47-30=17
Current State: 23:[68, 74, 17], Operations: ['47-30=17']
Exploring Operation: 74-68=6, Resulting Numbers: [17, 6]
Generated Node #3: [17, 6] from Operation: 74-68=6
Current State: 23:[17, 6], Operations: ['47-30=17', '74-68=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[47, 30, 68, 74], Operations: []
Exploring Operation: 68-47=21, Resulting Numbers: [30, 74, 21]
Generated Node #0,0: 23:[30, 74, 21] Operation: 68-47=21
Exploring Operation: 74-68=6, Resulting Numbers: [47, 30, 6]
Generated Node #0,1: 23:[47, 30, 6] Operation: 74-68=6
Exploring Operation: 74-47=27, Resulting Numbers: [30, 68, 27]
Generated Node #0,2: 23:[30, 68, 27] Operation: 74-47=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[47, 30, 6], Operations: ['74-68=6']
Exploring Operation: 47-6=41, Resulting Numbers: [30, 41]
Generated Node #0,1,0: 23:[30, 41] Operation: 47-6=41
Exploring Operation: 47-30=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 23:[6, 17] Operation: 47-30=17
Exploring Operation: 30-6=24, Resulting Numbers: [47, 24]
Generated Node #0,1,2: 23:[47, 24] Operation: 30-6=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[6, 17], Operations: ['74-68=6', '47-30=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[47, 30, 68, 74], Operations: []
Exploring Operation: 74-68=6, Resulting Numbers: [47, 30, 6]
Generated Node #0,1: 23:[47, 30, 6] Operation: 74-68=6
Moving to Node #0,1
Current State: 23:[47, 30, 6], Operations: ['74-68=6']
Exploring Operation: 47-30=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 23:[6, 17] Operation: 47-30=17
Moving to Node #0,1,1
Current State: 23:[6, 17], Operations: ['74-68=6', '47-30=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
9,
16,
42,
60
] | 68 | [
"16*42=672",
"672-60=612",
"612/9=68"
] | Current State: 68:[9, 16, 42, 60], Operations: []
Exploring Operation: 16*42=672, Resulting Numbers: [9, 60, 672]
Generated Node #2: [9, 60, 672] from Operation: 16*42=672
Current State: 68:[9, 60, 672], Operations: ['16*42=672']
Exploring Operation: 672-60=612, Resulting Numbers: [9, 612]
Generated Node #3: [9, 612] from Operation: 672-60=612
Current State: 68:[9, 612], Operations: ['16*42=672', '672-60=612']
Exploring Operation: 612/9=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[9, 16, 42, 60], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [42, 60, 7]
Generated Node #0,0: 68:[42, 60, 7] Operation: 16-9=7
Exploring Operation: 42-16=26, Resulting Numbers: [9, 60, 26]
Generated Node #0,1: 68:[9, 60, 26] Operation: 42-16=26
Exploring Operation: 60-42=18, Resulting Numbers: [9, 16, 18]
Generated Node #0,2: 68:[9, 16, 18] Operation: 60-42=18
Exploring Operation: 9+60=69, Resulting Numbers: [16, 42, 69]
Generated Node #0,3: 68:[16, 42, 69] Operation: 9+60=69
Exploring Operation: 42-9=33, Resulting Numbers: [16, 60, 33]
Generated Node #0,4: 68:[16, 60, 33] Operation: 42-9=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[9, 16, 18], Operations: ['60-42=18']
Exploring Operation: 18-16=2, Resulting Numbers: [9, 2]
Generated Node #0,2,0: 68:[9, 2] Operation: 18-16=2
Exploring Operation: 16-9=7, Resulting Numbers: [18, 7]
Generated Node #0,2,1: 68:[18, 7] Operation: 16-9=7
Exploring Operation: 16+18=34, Resulting Numbers: [9, 34]
Generated Node #0,2,2: 68:[9, 34] Operation: 16+18=34
Exploring Operation: 18/9=2, Resulting Numbers: [16, 2]
Generated Node #0,2,3: 68:[16, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [16, 9]
Generated Node #0,2,4: 68:[16, 9] Operation: 18-9=9
Moving to Node #0,2,3
Current State: 68:[16, 2], Operations: ['60-42=18', '18/9=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[18, 7], Operations: ['60-42=18', '16-9=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[9, 2], Operations: ['60-42=18', '18-16=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[9, 34], Operations: ['60-42=18', '16+18=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,68 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[16, 9], Operations: ['60-42=18', '18-9=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,68 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[16, 42, 69], Operations: ['9+60=69']
Exploring Operation: 42-16=26, Resulting Numbers: [69, 26]
Generated Node #0,3,0: 68:[69, 26] Operation: 42-16=26
Exploring Operation: 69-42=27, Resulting Numbers: [16, 27]
Generated Node #0,3,1: 68:[16, 27] Operation: 69-42=27
Exploring Operation: 69-16=53, Resulting Numbers: [42, 53]
Generated Node #0,3,2: 68:[42, 53] Operation: 69-16=53
Exploring Operation: 16+69=85, Resulting Numbers: [42, 85]
Generated Node #0,3,3: 68:[42, 85] Operation: 16+69=85
Exploring Operation: 16+42=58, Resulting Numbers: [69, 58]
Generated Node #0,3,4: 68:[69, 58] Operation: 16+42=58
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 68:[16, 27], Operations: ['9+60=69', '69-42=27']
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,68 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,68 unequal: No Solution
No 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: 68:[69, 26], Operations: ['9+60=69', '42-16=26']
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,68 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,68 unequal: No Solution
No 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: 68:[69, 58], Operations: ['9+60=69', '16+42=58']
Exploring Operation: 69+58=127, Resulting Numbers: [127]
127,68 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 69*58=4002, Resulting Numbers: [4002]
4002,68 unequal: No Solution
No 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: 68:[42, 53], Operations: ['9+60=69', '69-16=53']
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,68 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,68 unequal: No Solution
No 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: 68:[42, 85], Operations: ['9+60=69', '16+69=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,68 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,68 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: 68:[16, 60, 33], Operations: ['42-9=33']
Exploring Operation: 60-33=27, Resulting Numbers: [16, 27]
Generated Node #0,4,0: 68:[16, 27] Operation: 60-33=27
Exploring Operation: 16+33=49, Resulting Numbers: [60, 49]
Generated Node #0,4,1: 68:[60, 49] Operation: 16+33=49
Exploring Operation: 60-16=44, Resulting Numbers: [33, 44]
Generated Node #0,4,2: 68:[33, 44] Operation: 60-16=44
Exploring Operation: 33-16=17, Resulting Numbers: [60, 17]
Generated Node #0,4,3: 68:[60, 17] Operation: 33-16=17
Exploring Operation: 16+60=76, Resulting Numbers: [33, 76]
Generated Node #0,4,4: 68:[33, 76] Operation: 16+60=76
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 68:[16, 27], Operations: ['42-9=33', '60-33=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,68 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,68 unequal: No Solution
No 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: 68:[60, 17], Operations: ['42-9=33', '33-16=17']
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,68 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,68 unequal: No Solution
No 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: 68:[33, 76], Operations: ['42-9=33', '16+60=76']
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,68 unequal: No Solution
No 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: 68:[33, 44], Operations: ['42-9=33', '60-16=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,68 unequal: No Solution
No 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: 68:[60, 49], Operations: ['42-9=33', '16+33=49']
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,68 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,68 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: 68:[42, 60, 7], Operations: ['16-9=7']
Exploring Operation: 60-42=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 68:[7, 18] Operation: 60-42=18
Exploring Operation: 42/7=6, Resulting Numbers: [60, 6]
Generated Node #0,0,1: 68:[60, 6] Operation: 42/7=6
Exploring Operation: 60+7=67, Resulting Numbers: [42, 67]
Generated Node #0,0,2: 68:[42, 67] Operation: 60+7=67
Exploring Operation: 42+7=49, Resulting Numbers: [60, 49]
Generated Node #0,0,3: 68:[60, 49] Operation: 42+7=49
Exploring Operation: 42-7=35, Resulting Numbers: [60, 35]
Generated Node #0,0,4: 68:[60, 35] Operation: 42-7=35
Moving to Node #0,0,0
Current State: 68:[7, 18], Operations: ['16-9=7', '60-42=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,68 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[60, 35], Operations: ['16-9=7', '42-7=35']
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,68 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[42, 67], Operations: ['16-9=7', '60+7=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,68 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[60, 6], Operations: ['16-9=7', '42/7=6']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,68 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[60, 49], Operations: ['16-9=7', '42+7=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,68 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[9, 60, 26], Operations: ['42-16=26']
Exploring Operation: 9+60=69, Resulting Numbers: [26, 69]
Generated Node #0,1,0: 68:[26, 69] Operation: 9+60=69
Exploring Operation: 26-9=17, Resulting Numbers: [60, 17]
Generated Node #0,1,1: 68:[60, 17] Operation: 26-9=17
Exploring Operation: 60+26=86, Resulting Numbers: [9, 86]
Generated Node #0,1,2: 68:[9, 86] Operation: 60+26=86
Exploring Operation: 9+26=35, Resulting Numbers: [60, 35]
Generated Node #0,1,3: 68:[60, 35] Operation: 9+26=35
Exploring Operation: 60-26=34, Resulting Numbers: [9, 34]
Generated Node #0,1,4: 68:[9, 34] Operation: 60-26=34
Moving to Node #0,1,4
Current State: 68:[9, 34], Operations: ['42-16=26', '60-26=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,68 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[60, 17], Operations: ['42-16=26', '26-9=17']
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,68 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[26, 69], Operations: ['42-16=26', '9+60=69']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,68 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[60, 35], Operations: ['42-16=26', '9+26=35']
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[9, 86], Operations: ['42-16=26', '60+26=86']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 9*86=774, Resulting Numbers: [774]
774,68 unequal: No Solution
Exploring Operation: 9+86=95, Resulting Numbers: [95]
95,68 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 |
[
21,
9,
2,
98
] | 17 | [
"21+98=119",
"9-2=7",
"119/7=17"
] | Current State: 17:[21, 9, 2, 98], Operations: []
Exploring Operation: 21+98=119, Resulting Numbers: [9, 2, 119]
Generated Node #2: [9, 2, 119] from Operation: 21+98=119
Current State: 17:[9, 2, 119], Operations: ['21+98=119']
Exploring Operation: 9-2=7, Resulting Numbers: [119, 7]
Generated Node #3: [119, 7] from Operation: 9-2=7
Current State: 17:[119, 7], Operations: ['21+98=119', '9-2=7']
Exploring Operation: 119/7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[21, 9, 2, 98], Operations: []
Exploring Operation: 98-21=77, Resulting Numbers: [9, 2, 77]
Generated Node #0,0: 17:[9, 2, 77] Operation: 98-21=77
Exploring Operation: 9*2=18, Resulting Numbers: [21, 98, 18]
Generated Node #0,1: 17:[21, 98, 18] Operation: 9*2=18
Exploring Operation: 98/2=49, Resulting Numbers: [21, 9, 49]
Generated Node #0,2: 17:[21, 9, 49] Operation: 98/2=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[21, 9, 49], Operations: ['98/2=49']
Exploring Operation: 21-9=12, Resulting Numbers: [49, 12]
Generated Node #0,2,0: 17:[49, 12] Operation: 21-9=12
Exploring Operation: 49-9=40, Resulting Numbers: [21, 40]
Generated Node #0,2,1: 17:[21, 40] Operation: 49-9=40
Exploring Operation: 49-21=28, Resulting Numbers: [9, 28]
Generated Node #0,2,2: 17:[9, 28] Operation: 49-21=28
Moving to Node #0,2,2
Current State: 17:[9, 28], Operations: ['98/2=49', '49-21=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,17 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[21, 40], Operations: ['98/2=49', '49-9=40']
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,17 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[49, 12], Operations: ['98/2=49', '21-9=12']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,17 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[9, 2, 77], Operations: ['98-21=77']
Exploring Operation: 9*2=18, Resulting Numbers: [77, 18]
Generated Node #0,0,0: 17:[77, 18] Operation: 9*2=18
Exploring Operation: 9+2=11, Resulting Numbers: [77, 11]
Generated Node #0,0,1: 17:[77, 11] Operation: 9+2=11
Exploring Operation: 77-9=68, Resulting Numbers: [2, 68]
Generated Node #0,0,2: 17:[2, 68] Operation: 77-9=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[77, 18], Operations: ['98-21=77', '9*2=18']
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,17 unequal: No Solution
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,17 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[77, 11], Operations: ['98-21=77', '9+2=11']
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[2, 68], Operations: ['98-21=77', '77-9=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[21, 98, 18], Operations: ['9*2=18']
Exploring Operation: 98-21=77, Resulting Numbers: [18, 77]
Generated Node #0,1,0: 17:[18, 77] Operation: 98-21=77
Exploring Operation: 21-18=3, Resulting Numbers: [98, 3]
Generated Node #0,1,1: 17:[98, 3] Operation: 21-18=3
Exploring Operation: 98-18=80, Resulting Numbers: [21, 80]
Generated Node #0,1,2: 17:[21, 80] Operation: 98-18=80
Moving to Node #0,1,0
Current State: 17:[18, 77], Operations: ['9*2=18', '98-21=77']
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,17 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[21, 80], Operations: ['9*2=18', '98-18=80']
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,17 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[98, 3], Operations: ['9*2=18', '21-18=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,17 unequal: No Solution
Exploring Operation: 98*3=294, Resulting Numbers: [294]
294,17 unequal: No Solution
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,17 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 |
[
54,
2,
57,
80
] | 100 | [
"80-57=23",
"2*23=46",
"54+46=100"
] | Current State: 100:[54, 2, 57, 80], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [54, 2, 23]
Generated Node #2: [54, 2, 23] from Operation: 80-57=23
Current State: 100:[54, 2, 23], Operations: ['80-57=23']
Exploring Operation: 2*23=46, Resulting Numbers: [54, 46]
Generated Node #3: [54, 46] from Operation: 2*23=46
Current State: 100:[54, 46], Operations: ['80-57=23', '2*23=46']
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[54, 2, 57, 80], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [54, 2, 23]
Generated Node #0,0: 100:[54, 2, 23] Operation: 80-57=23
Exploring Operation: 57-54=3, Resulting Numbers: [2, 80, 3]
Generated Node #0,1: 100:[2, 80, 3] Operation: 57-54=3
Exploring Operation: 80-54=26, Resulting Numbers: [2, 57, 26]
Generated Node #0,2: 100:[2, 57, 26] Operation: 80-54=26
Exploring Operation: 54-2=52, Resulting Numbers: [57, 80, 52]
Generated Node #0,3: 100:[57, 80, 52] Operation: 54-2=52
Exploring Operation: 80/2=40, Resulting Numbers: [54, 57, 40]
Generated Node #0,4: 100:[54, 57, 40] Operation: 80/2=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[54, 2, 23], Operations: ['80-57=23']
Exploring Operation: 2+23=25, Resulting Numbers: [54, 25]
Generated Node #0,0,0: 100:[54, 25] Operation: 2+23=25
Exploring Operation: 54/2=27, Resulting Numbers: [23, 27]
Generated Node #0,0,1: 100:[23, 27] Operation: 54/2=27
Exploring Operation: 54-23=31, Resulting Numbers: [2, 31]
Generated Node #0,0,2: 100:[2, 31] Operation: 54-23=31
Exploring Operation: 54-2=52, Resulting Numbers: [23, 52]
Generated Node #0,0,3: 100:[23, 52] Operation: 54-2=52
Exploring Operation: 23-2=21, Resulting Numbers: [54, 21]
Generated Node #0,0,4: 100:[54, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[54, 25], Operations: ['80-57=23', '2+23=25']
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,100 unequal: No Solution
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,100 unequal: No Solution
No 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: 100:[23, 27], Operations: ['80-57=23', '54/2=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 23*27=621, Resulting Numbers: [621]
621,100 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,100 unequal: No Solution
No 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: 100:[23, 52], Operations: ['80-57=23', '54-2=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,100 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,100 unequal: No Solution
No 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: 100:[54, 21], Operations: ['80-57=23', '23-2=21']
Exploring Operation: 54+21=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 54-21=33, Resulting Numbers: [33]
33,100 unequal: No Solution
Exploring Operation: 54*21=1134, Resulting Numbers: [1134]
1134,100 unequal: No Solution
No 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: 100:[2, 31], Operations: ['80-57=23', '54-23=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,100 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: 100:[2, 57, 26], Operations: ['80-54=26']
Exploring Operation: 2*26=52, Resulting Numbers: [57, 52]
Generated Node #0,2,0: 100:[57, 52] Operation: 2*26=52
Exploring Operation: 57-2=55, Resulting Numbers: [26, 55]
Generated Node #0,2,1: 100:[26, 55] Operation: 57-2=55
Exploring Operation: 57-26=31, Resulting Numbers: [2, 31]
Generated Node #0,2,2: 100:[2, 31] Operation: 57-26=31
Exploring Operation: 2+57=59, Resulting Numbers: [26, 59]
Generated Node #0,2,3: 100:[26, 59] Operation: 2+57=59
Exploring Operation: 26-2=24, Resulting Numbers: [57, 24]
Generated Node #0,2,4: 100:[57, 24] Operation: 26-2=24
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[26, 55], Operations: ['80-54=26', '57-2=55']
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,100 unequal: No Solution
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,100 unequal: No Solution
No 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: 100:[2, 31], Operations: ['80-54=26', '57-26=31']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,100 unequal: No Solution
No 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: 100:[57, 24], Operations: ['80-54=26', '26-2=24']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,100 unequal: No Solution
Exploring Operation: 57*24=1368, Resulting Numbers: [1368]
1368,100 unequal: No Solution
Exploring Operation: 57+24=81, Resulting Numbers: [81]
81,100 unequal: No Solution
No 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: 100:[57, 52], Operations: ['80-54=26', '2*26=52']
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,100 unequal: No Solution
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,100 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,100 unequal: No Solution
No 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: 100:[26, 59], Operations: ['80-54=26', '2+57=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,100 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,100 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: 100:[2, 80, 3], Operations: ['57-54=3']
Exploring Operation: 2+3=5, Resulting Numbers: [80, 5]
Generated Node #0,1,0: 100:[80, 5] Operation: 2+3=5
Exploring Operation: 80+3=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 100:[2, 83] Operation: 80+3=83
Exploring Operation: 2+80=82, Resulting Numbers: [3, 82]
Generated Node #0,1,2: 100:[3, 82] Operation: 2+80=82
Exploring Operation: 80/2=40, Resulting Numbers: [3, 40]
Generated Node #0,1,3: 100:[3, 40] Operation: 80/2=40
Exploring Operation: 2*3=6, Resulting Numbers: [80, 6]
Generated Node #0,1,4: 100:[80, 6] Operation: 2*3=6
Moving to Node #0,1,3
Current State: 100:[3, 40], Operations: ['57-54=3', '80/2=40']
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[2, 83], Operations: ['57-54=3', '80+3=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[3, 82], Operations: ['57-54=3', '2+80=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,100 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,100 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[80, 5], Operations: ['57-54=3', '2+3=5']
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,100 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[80, 6], Operations: ['57-54=3', '2*3=6']
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[54, 57, 40], Operations: ['80/2=40']
Exploring Operation: 57-54=3, Resulting Numbers: [40, 3]
Generated Node #0,4,0: 100:[40, 3] Operation: 57-54=3
Exploring Operation: 57-40=17, Resulting Numbers: [54, 17]
Generated Node #0,4,1: 100:[54, 17] Operation: 57-40=17
Exploring Operation: 54+40=94, Resulting Numbers: [57, 94]
Generated Node #0,4,2: 100:[57, 94] Operation: 54+40=94
Exploring Operation: 54-40=14, Resulting Numbers: [57, 14]
Generated Node #0,4,3: 100:[57, 14] Operation: 54-40=14
Exploring Operation: 57+40=97, Resulting Numbers: [54, 97]
Generated Node #0,4,4: 100:[54, 97] Operation: 57+40=97
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 100:[54, 17], Operations: ['80/2=40', '57-40=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,100 unequal: No Solution
No 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: 100:[54, 97], Operations: ['80/2=40', '57+40=97']
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,100 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,100 unequal: No Solution
No 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: 100:[40, 3], Operations: ['80/2=40', '57-54=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No 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: 100:[57, 14], Operations: ['80/2=40', '54-40=14']
Exploring Operation: 57*14=798, Resulting Numbers: [798]
798,100 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,100 unequal: No Solution
No 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: 100:[57, 94], Operations: ['80/2=40', '54+40=94']
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 57+94=151, Resulting Numbers: [151]
151,100 unequal: No Solution
Exploring Operation: 57*94=5358, Resulting Numbers: [5358]
5358,100 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: 100:[57, 80, 52], Operations: ['54-2=52']
Exploring Operation: 57-52=5, Resulting Numbers: [80, 5]
Generated Node #0,3,0: 100:[80, 5] Operation: 57-52=5
Exploring Operation: 80-52=28, Resulting Numbers: [57, 28]
Generated Node #0,3,1: 100:[57, 28] Operation: 80-52=28
Exploring Operation: 57+80=137, Resulting Numbers: [52, 137]
Generated Node #0,3,2: 100:[52, 137] Operation: 57+80=137
Exploring Operation: 80-57=23, Resulting Numbers: [52, 23]
Generated Node #0,3,3: 100:[52, 23] Operation: 80-57=23
Exploring Operation: 57+52=109, Resulting Numbers: [80, 109]
Generated Node #0,3,4: 100:[80, 109] Operation: 57+52=109
Moving to Node #0,3,3
Current State: 100:[52, 23], Operations: ['54-2=52', '80-57=23']
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,100 unequal: No Solution
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[57, 28], Operations: ['54-2=52', '80-52=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[80, 5], Operations: ['54-2=52', '57-52=5']
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 80*5=400, Resulting Numbers: [400]
400,100 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,100 unequal: No Solution
Moving to Node #0,3,4
Current State: 100:[80, 109], Operations: ['54-2=52', '57+52=109']
Exploring Operation: 80+109=189, Resulting Numbers: [189]
189,100 unequal: No Solution
Exploring Operation: 109-80=29, Resulting Numbers: [29]
29,100 unequal: No Solution
Exploring Operation: 80*109=8720, Resulting Numbers: [8720]
8720,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[52, 137], Operations: ['54-2=52', '57+80=137']
Exploring Operation: 137-52=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 52*137=7124, Resulting Numbers: [7124]
7124,100 unequal: No Solution
Exploring Operation: 52+137=189, Resulting Numbers: [189]
189,100 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 |
[
53,
37,
46,
3
] | 27 | [
"53-37=16",
"46-3=43",
"43-16=27"
] | Current State: 27:[53, 37, 46, 3], Operations: []
Exploring Operation: 53-37=16, Resulting Numbers: [46, 3, 16]
Generated Node #2: [46, 3, 16] from Operation: 53-37=16
Current State: 27:[46, 3, 16], Operations: ['53-37=16']
Exploring Operation: 46-3=43, Resulting Numbers: [16, 43]
Generated Node #3: [16, 43] from Operation: 46-3=43
Current State: 27:[16, 43], Operations: ['53-37=16', '46-3=43']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[53, 37, 46, 3], Operations: []
Exploring Operation: 53-37=16, Resulting Numbers: [46, 3, 16]
Generated Node #0,0: 27:[46, 3, 16] Operation: 53-37=16
Exploring Operation: 53-46=7, Resulting Numbers: [37, 3, 7]
Generated Node #0,1: 27:[37, 3, 7] Operation: 53-46=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[37, 3, 7], Operations: ['53-46=7']
Exploring Operation: 37-7=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 27:[3, 30] Operation: 37-7=30
Exploring Operation: 37-3=34, Resulting Numbers: [7, 34]
Generated Node #0,1,1: 27:[7, 34] Operation: 37-3=34
Moving to Node #0,1,0
Current State: 27:[3, 30], Operations: ['53-46=7', '37-7=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[53, 37, 46, 3], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [37, 3, 7]
Generated Node #0,1: 27:[37, 3, 7] Operation: 53-46=7
Moving to Node #0,1
Current State: 27:[37, 3, 7], Operations: ['53-46=7']
Exploring Operation: 37-7=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 27:[3, 30] Operation: 37-7=30
Moving to Node #0,1,0
Current State: 27:[3, 30], Operations: ['53-46=7', '37-7=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
51,
30,
34,
17
] | 42 | [
"51-30=21",
"34/17=2",
"21*2=42"
] | Current State: 42:[51, 30, 34, 17], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [34, 17, 21]
Generated Node #2: [34, 17, 21] from Operation: 51-30=21
Current State: 42:[34, 17, 21], Operations: ['51-30=21']
Exploring Operation: 34/17=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 34/17=2
Current State: 42:[21, 2], Operations: ['51-30=21', '34/17=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[51, 30, 34, 17], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [34, 17, 21]
Generated Node #0,0: 42:[34, 17, 21] Operation: 51-30=21
Exploring Operation: 34-30=4, Resulting Numbers: [51, 17, 4]
Generated Node #0,1: 42:[51, 17, 4] Operation: 34-30=4
Exploring Operation: 51-34=17, Resulting Numbers: [30, 17, 17]
Generated Node #0,2: 42:[30, 17, 17] Operation: 51-34=17
Moving to Node #0,0
Current State: 42:[34, 17, 21], Operations: ['51-30=21']
Exploring Operation: 34/17=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 42:[21, 2] Operation: 34/17=2
Exploring Operation: 34-21=13, Resulting Numbers: [17, 13]
Generated Node #0,0,1: 42:[17, 13] Operation: 34-21=13
Exploring Operation: 34-17=17, Resulting Numbers: [21, 17]
Generated Node #0,0,2: 42:[21, 17] Operation: 34-17=17
Moving to Node #0,1
Current State: 42:[51, 17, 4], Operations: ['34-30=4']
Exploring Operation: 51-17=34, Resulting Numbers: [4, 34]
Generated Node #0,1,0: 42:[4, 34] Operation: 51-17=34
Exploring Operation: 51/17=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 42:[4, 3] Operation: 51/17=3
Exploring Operation: 51-4=47, Resulting Numbers: [17, 47]
Generated Node #0,1,2: 42:[17, 47] Operation: 51-4=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[4, 3], Operations: ['34-30=4', '51/17=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,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,1,2
Current State: 42:[17, 47], Operations: ['34-30=4', '51-4=47']
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,42 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,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,1,0
Current State: 42:[4, 34], Operations: ['34-30=4', '51-17=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,42 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: 42:[30, 17, 17], Operations: ['51-34=17']
Exploring Operation: 30-17=13, Resulting Numbers: [17, 13]
Generated Node #0,2,0: 42:[17, 13] Operation: 30-17=13
Exploring Operation: 30-17=13, Resulting Numbers: [17, 13]
Generated Node #0,2,1: 42:[17, 13] Operation: 30-17=13
Exploring Operation: 30+17=47, Resulting Numbers: [17, 47]
Generated Node #0,2,2: 42:[17, 47] Operation: 30+17=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[17, 13], Operations: ['51-34=17', '30-17=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,42 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,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,2,1
Current State: 42:[17, 13], Operations: ['51-34=17', '30-17=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,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,2,2
Current State: 42:[17, 47], Operations: ['51-34=17', '30+17=47']
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 42:[21, 2], Operations: ['51-30=21', '34/17=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[51, 30, 34, 17], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [34, 17, 21]
Generated Node #0,0: 42:[34, 17, 21] Operation: 51-30=21
Moving to Node #0,0
Current State: 42:[34, 17, 21], Operations: ['51-30=21']
Exploring Operation: 34/17=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 42:[21, 2] Operation: 34/17=2
Moving to Node #0,0,0
Current State: 42:[21, 2], Operations: ['51-30=21', '34/17=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
82,
21,
94,
94
] | 82 | [
"94-94=0",
"21*0=0",
"82+0=82"
] | Current State: 82:[82, 21, 94, 94], Operations: []
Exploring Operation: 94-94=0, Resulting Numbers: [82, 21, 0]
Generated Node #2: [82, 21, 0] from Operation: 94-94=0
Current State: 82:[82, 21, 0], Operations: ['94-94=0']
Exploring Operation: 21*0=0, Resulting Numbers: [82, 0]
Generated Node #3: [82, 0] from Operation: 21*0=0
Current State: 82:[82, 0], Operations: ['94-94=0', '21*0=0']
Exploring Operation: 82+0=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[82, 21, 94, 94], Operations: []
Exploring Operation: 94-21=73, Resulting Numbers: [82, 94, 73]
Generated Node #0,0: 82:[82, 94, 73] Operation: 94-21=73
Exploring Operation: 94-21=73, Resulting Numbers: [82, 94, 73]
Generated Node #0,1: 82:[82, 94, 73] Operation: 94-21=73
Exploring Operation: 94-94=0, Resulting Numbers: [82, 21, 0]
Generated Node #0,2: 82:[82, 21, 0] Operation: 94-94=0
Exploring Operation: 94-82=12, Resulting Numbers: [21, 94, 12]
Generated Node #0,3: 82:[21, 94, 12] Operation: 94-82=12
Exploring Operation: 94/94=1, Resulting Numbers: [82, 21, 1]
Generated Node #0,4: 82:[82, 21, 1] Operation: 94/94=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 82:[82, 21, 1], Operations: ['94/94=1']
Exploring Operation: 82*1=82, Resulting Numbers: [21, 82]
Generated Node #0,4,0: 82:[21, 82] Operation: 82*1=82
Exploring Operation: 21-1=20, Resulting Numbers: [82, 20]
Generated Node #0,4,1: 82:[82, 20] Operation: 21-1=20
Exploring Operation: 82/1=82, Resulting Numbers: [21, 82]
Generated Node #0,4,2: 82:[21, 82] Operation: 82/1=82
Exploring Operation: 21*1=21, Resulting Numbers: [82, 21]
Generated Node #0,4,3: 82:[82, 21] Operation: 21*1=21
Exploring Operation: 21+1=22, Resulting Numbers: [82, 22]
Generated Node #0,4,4: 82:[82, 22] Operation: 21+1=22
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 82:[82, 20], Operations: ['94/94=1', '21-1=20']
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,82 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 82:[21, 82], Operations: ['94/94=1', '82*1=82']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 82:[21, 82], Operations: ['94/94=1', '82/1=82']
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,82 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 82:[82, 21], Operations: ['94/94=1', '21*1=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,82 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 82:[82, 22], Operations: ['94/94=1', '21+1=22']
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,82 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,82 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[82, 94, 73], Operations: ['94-21=73']
Exploring Operation: 94-82=12, Resulting Numbers: [73, 12]
Generated Node #0,0,0: 82:[73, 12] Operation: 94-82=12
Exploring Operation: 94-73=21, Resulting Numbers: [82, 21]
Generated Node #0,0,1: 82:[82, 21] Operation: 94-73=21
Exploring Operation: 94+73=167, Resulting Numbers: [82, 167]
Generated Node #0,0,2: 82:[82, 167] Operation: 94+73=167
Exploring Operation: 82-73=9, Resulting Numbers: [94, 9]
Generated Node #0,0,3: 82:[94, 9] Operation: 82-73=9
Exploring Operation: 82+73=155, Resulting Numbers: [94, 155]
Generated Node #0,0,4: 82:[94, 155] Operation: 82+73=155
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[73, 12], Operations: ['94-21=73', '94-82=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,82 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[82, 21], Operations: ['94-21=73', '94-73=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,82 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[94, 9], Operations: ['94-21=73', '82-73=9']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[82, 167], Operations: ['94-21=73', '94+73=167']
Exploring Operation: 82+167=249, Resulting Numbers: [249]
249,82 unequal: No Solution
Exploring Operation: 82*167=13694, Resulting Numbers: [13694]
13694,82 unequal: No Solution
Exploring Operation: 167-82=85, Resulting Numbers: [85]
85,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 82:[94, 155], Operations: ['94-21=73', '82+73=155']
Exploring Operation: 94*155=14570, Resulting Numbers: [14570]
14570,82 unequal: No Solution
Exploring Operation: 94+155=249, Resulting Numbers: [249]
249,82 unequal: No Solution
Exploring Operation: 155-94=61, Resulting Numbers: [61]
61,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[82, 94, 73], Operations: ['94-21=73']
Exploring Operation: 82+73=155, Resulting Numbers: [94, 155]
Generated Node #0,1,0: 82:[94, 155] Operation: 82+73=155
Exploring Operation: 82-73=9, Resulting Numbers: [94, 9]
Generated Node #0,1,1: 82:[94, 9] Operation: 82-73=9
Exploring Operation: 94-82=12, Resulting Numbers: [73, 12]
Generated Node #0,1,2: 82:[73, 12] Operation: 94-82=12
Exploring Operation: 94+73=167, Resulting Numbers: [82, 167]
Generated Node #0,1,3: 82:[82, 167] Operation: 94+73=167
Exploring Operation: 94-73=21, Resulting Numbers: [82, 21]
Generated Node #0,1,4: 82:[82, 21] Operation: 94-73=21
Moving to Node #0,1,1
Current State: 82:[94, 9], Operations: ['94-21=73', '82-73=9']
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,82 unequal: No Solution
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Moving to Node #0,1,4
Current State: 82:[82, 21], Operations: ['94-21=73', '94-73=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,82 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[73, 12], Operations: ['94-21=73', '94-82=12']
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,82 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[94, 155], Operations: ['94-21=73', '82+73=155']
Exploring Operation: 94*155=14570, Resulting Numbers: [14570]
14570,82 unequal: No Solution
Exploring Operation: 94+155=249, Resulting Numbers: [249]
249,82 unequal: No Solution
Exploring Operation: 155-94=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[82, 167], Operations: ['94-21=73', '94+73=167']
Exploring Operation: 167-82=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Exploring Operation: 82+167=249, Resulting Numbers: [249]
249,82 unequal: No Solution
Exploring Operation: 82*167=13694, Resulting Numbers: [13694]
13694,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[82, 21, 0], Operations: ['94-94=0']
Exploring Operation: 21+0=21, Resulting Numbers: [82, 21]
Generated Node #0,2,0: 82:[82, 21] Operation: 21+0=21
Exploring Operation: 21*0=0, Resulting Numbers: [82, 0]
Generated Node #0,2,1: 82:[82, 0] Operation: 21*0=0
Exploring Operation: 82-0=82, Resulting Numbers: [21, 82]
Generated Node #0,2,2: 82:[21, 82] Operation: 82-0=82
Exploring Operation: 82+0=82, Resulting Numbers: [21, 82]
Generated Node #0,2,3: 82:[21, 82] Operation: 82+0=82
Exploring Operation: 21-0=21, Resulting Numbers: [82, 21]
Generated Node #0,2,4: 82:[82, 21] Operation: 21-0=21
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[82, 0], Operations: ['94-94=0', '21*0=0']
Exploring Operation: 82-0=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[82, 21, 94, 94], Operations: []
Exploring Operation: 94-94=0, Resulting Numbers: [82, 21, 0]
Generated Node #0,2: 82:[82, 21, 0] Operation: 94-94=0
Moving to Node #0,2
Current State: 82:[82, 21, 0], Operations: ['94-94=0']
Exploring Operation: 21*0=0, Resulting Numbers: [82, 0]
Generated Node #0,2,1: 82:[82, 0] Operation: 21*0=0
Moving to Node #0,2,1
Current State: 82:[82, 0], Operations: ['94-94=0', '21*0=0']
Exploring Operation: 82-0=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.934896 | hs_5 | mult_heuristic |
[
4,
32,
7,
88
] | 24 | [
"4+7=11",
"88/11=8",
"32-8=24"
] | Current State: 24:[4, 32, 7, 88], Operations: []
Exploring Operation: 4+7=11, Resulting Numbers: [32, 88, 11]
Generated Node #2: [32, 88, 11] from Operation: 4+7=11
Current State: 24:[32, 88, 11], Operations: ['4+7=11']
Exploring Operation: 88/11=8, Resulting Numbers: [32, 8]
Generated Node #3: [32, 8] from Operation: 88/11=8
Current State: 24:[32, 8], Operations: ['4+7=11', '88/11=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[4, 32, 7, 88], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [32, 7, 22]
Generated Node #0,0: 24:[32, 7, 22] Operation: 88/4=22
Exploring Operation: 32/4=8, Resulting Numbers: [7, 88, 8]
Generated Node #0,1: 24:[7, 88, 8] Operation: 32/4=8
Exploring Operation: 32-7=25, Resulting Numbers: [4, 88, 25]
Generated Node #0,2: 24:[4, 88, 25] Operation: 32-7=25
Exploring Operation: 88-32=56, Resulting Numbers: [4, 7, 56]
Generated Node #0,3: 24:[4, 7, 56] Operation: 88-32=56
Moving to Node #0,0
Current State: 24:[32, 7, 22], Operations: ['88/4=22']
Exploring Operation: 7+22=29, Resulting Numbers: [32, 29]
Generated Node #0,0,0: 24:[32, 29] Operation: 7+22=29
Exploring Operation: 32-7=25, Resulting Numbers: [22, 25]
Generated Node #0,0,1: 24:[22, 25] Operation: 32-7=25
Exploring Operation: 22-7=15, Resulting Numbers: [32, 15]
Generated Node #0,0,2: 24:[32, 15] Operation: 22-7=15
Exploring Operation: 32-22=10, Resulting Numbers: [7, 10]
Generated Node #0,0,3: 24:[7, 10] Operation: 32-22=10
Moving to Node #0,3
Current State: 24:[4, 7, 56], Operations: ['88-32=56']
Exploring Operation: 56/7=8, Resulting Numbers: [4, 8]
Generated Node #0,3,0: 24:[4, 8] Operation: 56/7=8
Exploring Operation: 56/4=14, Resulting Numbers: [7, 14]
Generated Node #0,3,1: 24:[7, 14] Operation: 56/4=14
Exploring Operation: 56-7=49, Resulting Numbers: [4, 49]
Generated Node #0,3,2: 24:[4, 49] Operation: 56-7=49
Exploring Operation: 56-4=52, Resulting Numbers: [7, 52]
Generated Node #0,3,3: 24:[7, 52] Operation: 56-4=52
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[4, 8], Operations: ['88-32=56', '56/7=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[7, 14], Operations: ['88-32=56', '56/4=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[4, 49], Operations: ['88-32=56', '56-7=49']
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,24 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[7, 52], Operations: ['88-32=56', '56-4=52']
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,24 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,24 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: 24:[4, 88, 25], Operations: ['32-7=25']
Exploring Operation: 88/4=22, Resulting Numbers: [25, 22]
Generated Node #0,2,0: 24:[25, 22] Operation: 88/4=22
Exploring Operation: 88-4=84, Resulting Numbers: [25, 84]
Generated Node #0,2,1: 24:[25, 84] Operation: 88-4=84
Exploring Operation: 88-25=63, Resulting Numbers: [4, 63]
Generated Node #0,2,2: 24:[4, 63] Operation: 88-25=63
Exploring Operation: 25-4=21, Resulting Numbers: [88, 21]
Generated Node #0,2,3: 24:[88, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[25, 22], Operations: ['32-7=25', '88/4=22']
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,24 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[4, 63], Operations: ['32-7=25', '88-25=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,24 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[25, 84], Operations: ['32-7=25', '88-4=84']
Exploring Operation: 25+84=109, Resulting Numbers: [109]
109,24 unequal: No Solution
Exploring Operation: 25*84=2100, Resulting Numbers: [2100]
2100,24 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[88, 21], Operations: ['32-7=25', '25-4=21']
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,24 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,24 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,24 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: 24:[7, 88, 8], Operations: ['32/4=8']
Exploring Operation: 88/8=11, Resulting Numbers: [7, 11]
Generated Node #0,1,0: 24:[7, 11] Operation: 88/8=11
Exploring Operation: 88-8=80, Resulting Numbers: [7, 80]
Generated Node #0,1,1: 24:[7, 80] Operation: 88-8=80
Exploring Operation: 8-7=1, Resulting Numbers: [88, 1]
Generated Node #0,1,2: 24:[88, 1] Operation: 8-7=1
Exploring Operation: 88-7=81, Resulting Numbers: [8, 81]
Generated Node #0,1,3: 24:[8, 81] Operation: 88-7=81
Moving to Node #0,1,0
Current State: 24:[7, 11], Operations: ['32/4=8', '88/8=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[22, 25], Operations: ['88/4=22', '32-7=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[7, 10], Operations: ['88/4=22', '32-22=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[32, 15], Operations: ['88/4=22', '22-7=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,24 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[32, 29], Operations: ['88/4=22', '7+22=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,24 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[7, 80], Operations: ['32/4=8', '88-8=80']
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 7*80=560, Resulting Numbers: [560]
560,24 unequal: No Solution
Exploring Operation: 7+80=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[8, 81], Operations: ['32/4=8', '88-7=81']
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,24 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[88, 1], Operations: ['32/4=8', '8-7=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,24 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,24 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
38,
91,
17,
37
] | 74 | [
"38-37=1",
"91-17=74",
"1*74=74"
] | Current State: 74:[38, 91, 17, 37], Operations: []
Exploring Operation: 38-37=1, Resulting Numbers: [91, 17, 1]
Generated Node #2: [91, 17, 1] from Operation: 38-37=1
Current State: 74:[91, 17, 1], Operations: ['38-37=1']
Exploring Operation: 91-17=74, Resulting Numbers: [1, 74]
Generated Node #3: [1, 74] from Operation: 91-17=74
Current State: 74:[1, 74], Operations: ['38-37=1', '91-17=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[38, 91, 17, 37], Operations: []
Exploring Operation: 91-38=53, Resulting Numbers: [17, 37, 53]
Generated Node #0,0: 74:[17, 37, 53] Operation: 91-38=53
Exploring Operation: 91-17=74, Resulting Numbers: [38, 37, 74]
Generated Node #0,1: 74:[38, 37, 74] Operation: 91-17=74
Moving to Node #0,1
Current State: 74:[38, 37, 74], Operations: ['91-17=74']
Exploring Operation: 38-37=1, Resulting Numbers: [74, 1]
Generated Node #0,1,0: 74:[74, 1] Operation: 38-37=1
Exploring Operation: 38+37=75, Resulting Numbers: [74, 75]
Generated Node #0,1,1: 74:[74, 75] Operation: 38+37=75
Moving to Node #0,0
Current State: 74:[17, 37, 53], Operations: ['91-38=53']
Exploring Operation: 53-17=36, Resulting Numbers: [37, 36]
Generated Node #0,0,0: 74:[37, 36] Operation: 53-17=36
Exploring Operation: 17+53=70, Resulting Numbers: [37, 70]
Generated Node #0,0,1: 74:[37, 70] Operation: 17+53=70
Moving to Node #0,1,0
Current State: 74:[74, 1], Operations: ['91-17=74', '38-37=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[38, 91, 17, 37], Operations: []
Exploring Operation: 91-17=74, Resulting Numbers: [38, 37, 74]
Generated Node #0,1: 74:[38, 37, 74] Operation: 91-17=74
Moving to Node #0,1
Current State: 74:[38, 37, 74], Operations: ['91-17=74']
Exploring Operation: 38-37=1, Resulting Numbers: [74, 1]
Generated Node #0,1,0: 74:[74, 1] Operation: 38-37=1
Moving to Node #0,1,0
Current State: 74:[74, 1], Operations: ['91-17=74', '38-37=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
46,
30,
3,
87
] | 68 | [
"46-30=16",
"87-3=84",
"84-16=68"
] | Current State: 68:[46, 30, 3, 87], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [3, 87, 16]
Generated Node #2: [3, 87, 16] from Operation: 46-30=16
Current State: 68:[3, 87, 16], Operations: ['46-30=16']
Exploring Operation: 87-3=84, Resulting Numbers: [16, 84]
Generated Node #3: [16, 84] from Operation: 87-3=84
Current State: 68:[16, 84], Operations: ['46-30=16', '87-3=84']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[46, 30, 3, 87], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [3, 87, 16]
Generated Node #0,0: 68:[3, 87, 16] Operation: 46-30=16
Exploring Operation: 87-46=41, Resulting Numbers: [30, 3, 41]
Generated Node #0,1: 68:[30, 3, 41] Operation: 87-46=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[30, 3, 41], Operations: ['87-46=41']
Exploring Operation: 30+41=71, Resulting Numbers: [3, 71]
Generated Node #0,1,0: 68:[3, 71] Operation: 30+41=71
Exploring Operation: 41-30=11, Resulting Numbers: [3, 11]
Generated Node #0,1,1: 68:[3, 11] Operation: 41-30=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[3, 71], Operations: ['87-46=41', '30+41=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[46, 30, 3, 87], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [30, 3, 41]
Generated Node #0,1: 68:[30, 3, 41] Operation: 87-46=41
Moving to Node #0,1
Current State: 68:[30, 3, 41], Operations: ['87-46=41']
Exploring Operation: 30+41=71, Resulting Numbers: [3, 71]
Generated Node #0,1,0: 68:[3, 71] Operation: 30+41=71
Moving to Node #0,1,0
Current State: 68:[3, 71], Operations: ['87-46=41', '30+41=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
23,
80,
17,
3
] | 78 | [
"23-17=6",
"6/3=2",
"80-2=78"
] | Current State: 78:[23, 80, 17, 3], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [80, 3, 6]
Generated Node #2: [80, 3, 6] from Operation: 23-17=6
Current State: 78:[80, 3, 6], Operations: ['23-17=6']
Exploring Operation: 6/3=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 6/3=2
Current State: 78:[80, 2], Operations: ['23-17=6', '6/3=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[23, 80, 17, 3], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [80, 3, 6]
Generated Node #0,0: 78:[80, 3, 6] Operation: 23-17=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[80, 3, 6], Operations: ['23-17=6']
Exploring Operation: 80-3=77, Resulting Numbers: [6, 77]
Generated Node #0,0,0: 78:[6, 77] Operation: 80-3=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[6, 77], Operations: ['23-17=6', '80-3=77']
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,78 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 |
[
28,
84,
45,
40
] | 25 | [
"84/28=3",
"45/3=15",
"40-15=25"
] | Current State: 25:[28, 84, 45, 40], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [45, 40, 3]
Generated Node #2: [45, 40, 3] from Operation: 84/28=3
Current State: 25:[45, 40, 3], Operations: ['84/28=3']
Exploring Operation: 45/3=15, Resulting Numbers: [40, 15]
Generated Node #3: [40, 15] from Operation: 45/3=15
Current State: 25:[40, 15], Operations: ['84/28=3', '45/3=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[28, 84, 45, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [28, 84, 5]
Generated Node #0,0: 25:[28, 84, 5] Operation: 45-40=5
Exploring Operation: 84-45=39, Resulting Numbers: [28, 40, 39]
Generated Node #0,1: 25:[28, 40, 39] Operation: 84-45=39
Exploring Operation: 84-40=44, Resulting Numbers: [28, 45, 44]
Generated Node #0,2: 25:[28, 45, 44] Operation: 84-40=44
Exploring Operation: 84/28=3, Resulting Numbers: [45, 40, 3]
Generated Node #0,3: 25:[45, 40, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[28, 40, 39], Operations: ['84-45=39']
Exploring Operation: 40-39=1, Resulting Numbers: [28, 1]
Generated Node #0,1,0: 25:[28, 1] Operation: 40-39=1
Exploring Operation: 28+40=68, Resulting Numbers: [39, 68]
Generated Node #0,1,1: 25:[39, 68] Operation: 28+40=68
Exploring Operation: 40-28=12, Resulting Numbers: [39, 12]
Generated Node #0,1,2: 25:[39, 12] Operation: 40-28=12
Exploring Operation: 39-28=11, Resulting Numbers: [40, 11]
Generated Node #0,1,3: 25:[40, 11] Operation: 39-28=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[28, 1], Operations: ['84-45=39', '40-39=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[39, 12], Operations: ['84-45=39', '40-28=12']
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,25 unequal: No Solution
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 25:[40, 11], Operations: ['84-45=39', '39-28=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,25 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[39, 68], Operations: ['84-45=39', '28+40=68']
Exploring Operation: 39*68=2652, Resulting Numbers: [2652]
2652,25 unequal: No Solution
Exploring Operation: 39+68=107, Resulting Numbers: [107]
107,25 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[45, 40, 3], Operations: ['84/28=3']
Exploring Operation: 45-40=5, Resulting Numbers: [3, 5]
Generated Node #0,3,0: 25:[3, 5] Operation: 45-40=5
Exploring Operation: 45-3=42, Resulting Numbers: [40, 42]
Generated Node #0,3,1: 25:[40, 42] Operation: 45-3=42
Exploring Operation: 40-3=37, Resulting Numbers: [45, 37]
Generated Node #0,3,2: 25:[45, 37] Operation: 40-3=37
Exploring Operation: 45/3=15, Resulting Numbers: [40, 15]
Generated Node #0,3,3: 25:[40, 15] Operation: 45/3=15
Moving to Node #0,3,0
Current State: 25:[3, 5], Operations: ['84/28=3', '45-40=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[40, 15], Operations: ['84/28=3', '45/3=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[28, 84, 45, 40], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [45, 40, 3]
Generated Node #0,3: 25:[45, 40, 3] Operation: 84/28=3
Moving to Node #0,3
Current State: 25:[45, 40, 3], Operations: ['84/28=3']
Exploring Operation: 45/3=15, Resulting Numbers: [40, 15]
Generated Node #0,3,3: 25:[40, 15] Operation: 45/3=15
Moving to Node #0,3,3
Current State: 25:[40, 15], Operations: ['84/28=3', '45/3=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
34,
75,
39,
49
] | 47 | [
"75-34=41",
"39+49=88",
"88-41=47"
] | Current State: 47:[34, 75, 39, 49], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [39, 49, 41]
Generated Node #2: [39, 49, 41] from Operation: 75-34=41
Current State: 47:[39, 49, 41], Operations: ['75-34=41']
Exploring Operation: 39+49=88, Resulting Numbers: [41, 88]
Generated Node #3: [41, 88] from Operation: 39+49=88
Current State: 47:[41, 88], Operations: ['75-34=41', '39+49=88']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[34, 75, 39, 49], Operations: []
Exploring Operation: 34+39=73, Resulting Numbers: [75, 49, 73]
Generated Node #0,0: 47:[75, 49, 73] Operation: 34+39=73
Exploring Operation: 75-34=41, Resulting Numbers: [39, 49, 41]
Generated Node #0,1: 47:[39, 49, 41] Operation: 75-34=41
Exploring Operation: 75-49=26, Resulting Numbers: [34, 39, 26]
Generated Node #0,2: 47:[34, 39, 26] Operation: 75-49=26
Exploring Operation: 75-39=36, Resulting Numbers: [34, 49, 36]
Generated Node #0,3: 47:[34, 49, 36] Operation: 75-39=36
Exploring Operation: 49-34=15, Resulting Numbers: [75, 39, 15]
Generated Node #0,4: 47:[75, 39, 15] Operation: 49-34=15
Moving to Node #0,1
Current State: 47:[39, 49, 41], Operations: ['75-34=41']
Exploring Operation: 39+49=88, Resulting Numbers: [41, 88]
Generated Node #0,1,0: 47:[41, 88] Operation: 39+49=88
Exploring Operation: 49-41=8, Resulting Numbers: [39, 8]
Generated Node #0,1,1: 47:[39, 8] Operation: 49-41=8
Exploring Operation: 39+41=80, Resulting Numbers: [49, 80]
Generated Node #0,1,2: 47:[49, 80] Operation: 39+41=80
Exploring Operation: 49-39=10, Resulting Numbers: [41, 10]
Generated Node #0,1,3: 47:[41, 10] Operation: 49-39=10
Exploring Operation: 41-39=2, Resulting Numbers: [49, 2]
Generated Node #0,1,4: 47:[49, 2] Operation: 41-39=2
Moving to Node #0,3
Current State: 47:[34, 49, 36], Operations: ['75-39=36']
Exploring Operation: 36-34=2, Resulting Numbers: [49, 2]
Generated Node #0,3,0: 47:[49, 2] Operation: 36-34=2
Exploring Operation: 34+36=70, Resulting Numbers: [49, 70]
Generated Node #0,3,1: 47:[49, 70] Operation: 34+36=70
Exploring Operation: 49-34=15, Resulting Numbers: [36, 15]
Generated Node #0,3,2: 47:[36, 15] Operation: 49-34=15
Exploring Operation: 49-36=13, Resulting Numbers: [34, 13]
Generated Node #0,3,3: 47:[34, 13] Operation: 49-36=13
Exploring Operation: 34+49=83, Resulting Numbers: [36, 83]
Generated Node #0,3,4: 47:[36, 83] Operation: 34+49=83
Moving to Node #0,2
Current State: 47:[34, 39, 26], Operations: ['75-49=26']
Exploring Operation: 34+39=73, Resulting Numbers: [26, 73]
Generated Node #0,2,0: 47:[26, 73] Operation: 34+39=73
Exploring Operation: 34-26=8, Resulting Numbers: [39, 8]
Generated Node #0,2,1: 47:[39, 8] Operation: 34-26=8
Exploring Operation: 39-26=13, Resulting Numbers: [34, 13]
Generated Node #0,2,2: 47:[34, 13] Operation: 39-26=13
Exploring Operation: 39+26=65, Resulting Numbers: [34, 65]
Generated Node #0,2,3: 47:[34, 65] Operation: 39+26=65
Exploring Operation: 34+26=60, Resulting Numbers: [39, 60]
Generated Node #0,2,4: 47:[39, 60] Operation: 34+26=60
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[39, 60], Operations: ['75-49=26', '34+26=60']
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,47 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,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,3
Current State: 47:[34, 65], Operations: ['75-49=26', '39+26=65']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,47 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,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,0
Current State: 47:[26, 73], Operations: ['75-49=26', '34+39=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[34, 75, 39, 49], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [34, 39, 26]
Generated Node #0,2: 47:[34, 39, 26] Operation: 75-49=26
Moving to Node #0,2
Current State: 47:[34, 39, 26], Operations: ['75-49=26']
Exploring Operation: 34+39=73, Resulting Numbers: [26, 73]
Generated Node #0,2,0: 47:[26, 73] Operation: 34+39=73
Moving to Node #0,2,0
Current State: 47:[26, 73], Operations: ['75-49=26', '34+39=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | sum_heuristic |
[
19,
83,
45,
81
] | 83 | [
"83-45=38",
"38/19=2",
"81+2=83"
] | Current State: 83:[19, 83, 45, 81], Operations: []
Exploring Operation: 83-45=38, Resulting Numbers: [19, 81, 38]
Generated Node #2: [19, 81, 38] from Operation: 83-45=38
Current State: 83:[19, 81, 38], Operations: ['83-45=38']
Exploring Operation: 38/19=2, Resulting Numbers: [81, 2]
Generated Node #3: [81, 2] from Operation: 38/19=2
Current State: 83:[81, 2], Operations: ['83-45=38', '38/19=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[19, 83, 45, 81], Operations: []
Exploring Operation: 19+83=102, Resulting Numbers: [45, 81, 102]
Generated Node #0,0: 83:[45, 81, 102] Operation: 19+83=102
Exploring Operation: 83-19=64, Resulting Numbers: [45, 81, 64]
Generated Node #0,1: 83:[45, 81, 64] Operation: 83-19=64
Exploring Operation: 19+81=100, Resulting Numbers: [83, 45, 100]
Generated Node #0,2: 83:[83, 45, 100] Operation: 19+81=100
Exploring Operation: 19+45=64, Resulting Numbers: [83, 81, 64]
Generated Node #0,3: 83:[83, 81, 64] Operation: 19+45=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[83, 81, 64], Operations: ['19+45=64']
Exploring Operation: 83-64=19, Resulting Numbers: [81, 19]
Generated Node #0,3,0: 83:[81, 19] Operation: 83-64=19
Exploring Operation: 81+64=145, Resulting Numbers: [83, 145]
Generated Node #0,3,1: 83:[83, 145] Operation: 81+64=145
Exploring Operation: 81-64=17, Resulting Numbers: [83, 17]
Generated Node #0,3,2: 83:[83, 17] Operation: 81-64=17
Exploring Operation: 83+64=147, Resulting Numbers: [81, 147]
Generated Node #0,3,3: 83:[81, 147] Operation: 83+64=147
Moving to Node #0,3,1
Current State: 83:[83, 145], Operations: ['19+45=64', '81+64=145']
Exploring Operation: 83+145=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 83*145=12035, Resulting Numbers: [12035]
12035,83 unequal: No Solution
Exploring Operation: 145-83=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[83, 17], Operations: ['19+45=64', '81-64=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,83 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[81, 19], Operations: ['19+45=64', '83-64=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,83 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[81, 147], Operations: ['19+45=64', '83+64=147']
Exploring Operation: 81+147=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 81*147=11907, Resulting Numbers: [11907]
11907,83 unequal: No Solution
Exploring Operation: 147-81=66, Resulting Numbers: [66]
66,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[83, 45, 100], Operations: ['19+81=100']
Exploring Operation: 83-45=38, Resulting Numbers: [100, 38]
Generated Node #0,2,0: 83:[100, 38] Operation: 83-45=38
Exploring Operation: 100-45=55, Resulting Numbers: [83, 55]
Generated Node #0,2,1: 83:[83, 55] Operation: 100-45=55
Exploring Operation: 83+45=128, Resulting Numbers: [100, 128]
Generated Node #0,2,2: 83:[100, 128] Operation: 83+45=128
Exploring Operation: 45+100=145, Resulting Numbers: [83, 145]
Generated Node #0,2,3: 83:[83, 145] Operation: 45+100=145
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[83, 55], Operations: ['19+81=100', '100-45=55']
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,83 unequal: No Solution
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[100, 38], Operations: ['19+81=100', '83-45=38']
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 100+38=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 100*38=3800, Resulting Numbers: [3800]
3800,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[100, 128], Operations: ['19+81=100', '83+45=128']
Exploring Operation: 100*128=12800, Resulting Numbers: [12800]
12800,83 unequal: No Solution
Exploring Operation: 128-100=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 100+128=228, Resulting Numbers: [228]
228,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[83, 145], Operations: ['19+81=100', '45+100=145']
Exploring Operation: 83*145=12035, Resulting Numbers: [12035]
12035,83 unequal: No Solution
Exploring Operation: 83+145=228, Resulting Numbers: [228]
228,83 unequal: No Solution
Exploring Operation: 145-83=62, Resulting Numbers: [62]
62,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[45, 81, 102], Operations: ['19+83=102']
Exploring Operation: 45+81=126, Resulting Numbers: [102, 126]
Generated Node #0,0,0: 83:[102, 126] Operation: 45+81=126
Exploring Operation: 81-45=36, Resulting Numbers: [102, 36]
Generated Node #0,0,1: 83:[102, 36] Operation: 81-45=36
Exploring Operation: 102-45=57, Resulting Numbers: [81, 57]
Generated Node #0,0,2: 83:[81, 57] Operation: 102-45=57
Exploring Operation: 45+102=147, Resulting Numbers: [81, 147]
Generated Node #0,0,3: 83:[81, 147] Operation: 45+102=147
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[81, 57], Operations: ['19+83=102', '102-45=57']
Exploring Operation: 81+57=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 81*57=4617, Resulting Numbers: [4617]
4617,83 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[102, 126], Operations: ['19+83=102', '45+81=126']
Exploring Operation: 102*126=12852, Resulting Numbers: [12852]
12852,83 unequal: No Solution
Exploring Operation: 126-102=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 102+126=228, Resulting Numbers: [228]
228,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[102, 36], Operations: ['19+83=102', '81-45=36']
Exploring Operation: 102+36=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 102*36=3672, Resulting Numbers: [3672]
3672,83 unequal: No Solution
Exploring Operation: 102-36=66, Resulting Numbers: [66]
66,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[81, 147], Operations: ['19+83=102', '45+102=147']
Exploring Operation: 147-81=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 81*147=11907, Resulting Numbers: [11907]
11907,83 unequal: No Solution
Exploring Operation: 81+147=228, Resulting Numbers: [228]
228,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[45, 81, 64], Operations: ['83-19=64']
Exploring Operation: 81-45=36, Resulting Numbers: [64, 36]
Generated Node #0,1,0: 83:[64, 36] Operation: 81-45=36
Exploring Operation: 45+81=126, Resulting Numbers: [64, 126]
Generated Node #0,1,1: 83:[64, 126] Operation: 45+81=126
Exploring Operation: 45+64=109, Resulting Numbers: [81, 109]
Generated Node #0,1,2: 83:[81, 109] Operation: 45+64=109
Exploring Operation: 64-45=19, Resulting Numbers: [81, 19]
Generated Node #0,1,3: 83:[81, 19] Operation: 64-45=19
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 83:[81, 109], Operations: ['83-19=64', '45+64=109']
Exploring Operation: 81*109=8829, Resulting Numbers: [8829]
8829,83 unequal: No Solution
Exploring Operation: 81+109=190, Resulting Numbers: [190]
190,83 unequal: No Solution
Exploring Operation: 109-81=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[64, 126], Operations: ['83-19=64', '45+81=126']
Exploring Operation: 64*126=8064, Resulting Numbers: [8064]
8064,83 unequal: No Solution
Exploring Operation: 126-64=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 64+126=190, Resulting Numbers: [190]
190,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[64, 36], Operations: ['83-19=64', '81-45=36']
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,83 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[81, 19], Operations: ['83-19=64', '64-45=19']
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,83 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
51,
57,
60,
7
] | 24 | [
"51+57=108",
"60+108=168",
"168/7=24"
] | Current State: 24:[51, 57, 60, 7], Operations: []
Exploring Operation: 51+57=108, Resulting Numbers: [60, 7, 108]
Generated Node #2: [60, 7, 108] from Operation: 51+57=108
Current State: 24:[60, 7, 108], Operations: ['51+57=108']
Exploring Operation: 60+108=168, Resulting Numbers: [7, 168]
Generated Node #3: [7, 168] from Operation: 60+108=168
Current State: 24:[7, 168], Operations: ['51+57=108', '60+108=168']
Exploring Operation: 168/7=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[51, 57, 60, 7], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [51, 7, 3]
Generated Node #0,0: 24:[51, 7, 3] Operation: 60-57=3
Exploring Operation: 57-51=6, Resulting Numbers: [60, 7, 6]
Generated Node #0,1: 24:[60, 7, 6] Operation: 57-51=6
Exploring Operation: 60-51=9, Resulting Numbers: [57, 7, 9]
Generated Node #0,2: 24:[57, 7, 9] Operation: 60-51=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[51, 7, 3], Operations: ['60-57=3']
Exploring Operation: 51-7=44, Resulting Numbers: [3, 44]
Generated Node #0,0,0: 24:[3, 44] Operation: 51-7=44
Exploring Operation: 51/3=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 24:[7, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [7, 48]
Generated Node #0,0,2: 24:[7, 48] Operation: 51-3=48
Moving to Node #0,0,1
Current State: 24:[7, 17], Operations: ['60-57=3', '51/3=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[51, 57, 60, 7], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [51, 7, 3]
Generated Node #0,0: 24:[51, 7, 3] Operation: 60-57=3
Moving to Node #0,0
Current State: 24:[51, 7, 3], Operations: ['60-57=3']
Exploring Operation: 51/3=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 24:[7, 17] Operation: 51/3=17
Moving to Node #0,0,1
Current State: 24:[7, 17], Operations: ['60-57=3', '51/3=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
99,
89,
95,
67
] | 39 | [
"99-95=4",
"89+67=156",
"156/4=39"
] | Current State: 39:[99, 89, 95, 67], Operations: []
Exploring Operation: 99-95=4, Resulting Numbers: [89, 67, 4]
Generated Node #2: [89, 67, 4] from Operation: 99-95=4
Current State: 39:[89, 67, 4], Operations: ['99-95=4']
Exploring Operation: 89+67=156, Resulting Numbers: [4, 156]
Generated Node #3: [4, 156] from Operation: 89+67=156
Current State: 39:[4, 156], Operations: ['99-95=4', '89+67=156']
Exploring Operation: 156/4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[99, 89, 95, 67], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [95, 67, 10]
Generated Node #0,0: 39:[95, 67, 10] Operation: 99-89=10
Exploring Operation: 99-95=4, Resulting Numbers: [89, 67, 4]
Generated Node #0,1: 39:[89, 67, 4] Operation: 99-95=4
Exploring Operation: 95-67=28, Resulting Numbers: [99, 89, 28]
Generated Node #0,2: 39:[99, 89, 28] Operation: 95-67=28
Exploring Operation: 95-89=6, Resulting Numbers: [99, 67, 6]
Generated Node #0,3: 39:[99, 67, 6] Operation: 95-89=6
Exploring Operation: 99-67=32, Resulting Numbers: [89, 95, 32]
Generated Node #0,4: 39:[89, 95, 32] Operation: 99-67=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[89, 67, 4], Operations: ['99-95=4']
Exploring Operation: 67-4=63, Resulting Numbers: [89, 63]
Generated Node #0,1,0: 39:[89, 63] Operation: 67-4=63
Exploring Operation: 89-67=22, Resulting Numbers: [4, 22]
Generated Node #0,1,1: 39:[4, 22] Operation: 89-67=22
Exploring Operation: 89+4=93, Resulting Numbers: [67, 93]
Generated Node #0,1,2: 39:[67, 93] Operation: 89+4=93
Exploring Operation: 67+4=71, Resulting Numbers: [89, 71]
Generated Node #0,1,3: 39:[89, 71] Operation: 67+4=71
Exploring Operation: 89-4=85, Resulting Numbers: [67, 85]
Generated Node #0,1,4: 39:[67, 85] Operation: 89-4=85
Moving to Node #0,1,1
Current State: 39:[4, 22], Operations: ['99-95=4', '89-67=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[67, 85], Operations: ['99-95=4', '89-4=85']
Exploring Operation: 67+85=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 67*85=5695, Resulting Numbers: [5695]
5695,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[89, 63], Operations: ['99-95=4', '67-4=63']
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,39 unequal: No Solution
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[67, 93], Operations: ['99-95=4', '89+4=93']
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[89, 71], Operations: ['99-95=4', '67+4=71']
Exploring Operation: 89*71=6319, Resulting Numbers: [6319]
6319,39 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,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
Current State: 39:[95, 67, 10], Operations: ['99-89=10']
Exploring Operation: 67+10=77, Resulting Numbers: [95, 77]
Generated Node #0,0,0: 39:[95, 77] Operation: 67+10=77
Exploring Operation: 95-10=85, Resulting Numbers: [67, 85]
Generated Node #0,0,1: 39:[67, 85] Operation: 95-10=85
Exploring Operation: 67-10=57, Resulting Numbers: [95, 57]
Generated Node #0,0,2: 39:[95, 57] Operation: 67-10=57
Exploring Operation: 95+10=105, Resulting Numbers: [67, 105]
Generated Node #0,0,3: 39:[67, 105] Operation: 95+10=105
Exploring Operation: 95-67=28, Resulting Numbers: [10, 28]
Generated Node #0,0,4: 39:[10, 28] Operation: 95-67=28
Moving to Node #0,0,4
Current State: 39:[10, 28], Operations: ['99-89=10', '95-67=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[95, 57], Operations: ['99-89=10', '67-10=57']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,39 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[67, 85], Operations: ['99-89=10', '95-10=85']
Exploring Operation: 67*85=5695, Resulting Numbers: [5695]
5695,39 unequal: No Solution
Exploring Operation: 67+85=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[95, 77], Operations: ['99-89=10', '67+10=77']
Exploring Operation: 95+77=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 95*77=7315, Resulting Numbers: [7315]
7315,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[67, 105], Operations: ['99-89=10', '95+10=105']
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,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:[99, 67, 6], Operations: ['95-89=6']
Exploring Operation: 99-67=32, Resulting Numbers: [6, 32]
Generated Node #0,3,0: 39:[6, 32] Operation: 99-67=32
Exploring Operation: 99+6=105, Resulting Numbers: [67, 105]
Generated Node #0,3,1: 39:[67, 105] Operation: 99+6=105
Exploring Operation: 67-6=61, Resulting Numbers: [99, 61]
Generated Node #0,3,2: 39:[99, 61] Operation: 67-6=61
Exploring Operation: 99-6=93, Resulting Numbers: [67, 93]
Generated Node #0,3,3: 39:[67, 93] Operation: 99-6=93
Exploring Operation: 67+6=73, Resulting Numbers: [99, 73]
Generated Node #0,3,4: 39:[99, 73] Operation: 67+6=73
Moving to Node #0,3,0
Current State: 39:[6, 32], Operations: ['95-89=6', '99-67=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,39 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[67, 93], Operations: ['95-89=6', '99-6=93']
Exploring Operation: 67*93=6231, Resulting Numbers: [6231]
6231,39 unequal: No Solution
Exploring Operation: 93-67=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 67+93=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[99, 61], Operations: ['95-89=6', '67-6=61']
Exploring Operation: 99*61=6039, Resulting Numbers: [6039]
6039,39 unequal: No Solution
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 99+61=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[67, 105], Operations: ['95-89=6', '99+6=105']
Exploring Operation: 105-67=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 67+105=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 67*105=7035, Resulting Numbers: [7035]
7035,39 unequal: No Solution
Moving to Node #0,3,4
Current State: 39:[99, 73], Operations: ['95-89=6', '67+6=73']
Exploring Operation: 99*73=7227, Resulting Numbers: [7227]
7227,39 unequal: No Solution
Exploring Operation: 99+73=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 99-73=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[89, 95, 32], Operations: ['99-67=32']
Exploring Operation: 89+32=121, Resulting Numbers: [95, 121]
Generated Node #0,4,0: 39:[95, 121] Operation: 89+32=121
Exploring Operation: 95+32=127, Resulting Numbers: [89, 127]
Generated Node #0,4,1: 39:[89, 127] Operation: 95+32=127
Exploring Operation: 95-32=63, Resulting Numbers: [89, 63]
Generated Node #0,4,2: 39:[89, 63] Operation: 95-32=63
Exploring Operation: 89-32=57, Resulting Numbers: [95, 57]
Generated Node #0,4,3: 39:[95, 57] Operation: 89-32=57
Exploring Operation: 95-89=6, Resulting Numbers: [32, 6]
Generated Node #0,4,4: 39:[32, 6] Operation: 95-89=6
Moving to Node #0,4,4
Current State: 39:[32, 6], Operations: ['99-67=32', '95-89=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[95, 57], Operations: ['99-67=32', '89-32=57']
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[89, 63], Operations: ['99-67=32', '95-32=63']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,39 unequal: No Solution
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[95, 121], Operations: ['99-67=32', '89+32=121']
Exploring Operation: 121-95=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 95*121=11495, Resulting Numbers: [11495]
11495,39 unequal: No Solution
Exploring Operation: 95+121=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[89, 127], Operations: ['99-67=32', '95+32=127']
Exploring Operation: 89*127=11303, Resulting Numbers: [11303]
11303,39 unequal: No Solution
Exploring Operation: 89+127=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Exploring Operation: 127-89=38, Resulting Numbers: [38]
38,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:[99, 89, 28], Operations: ['95-67=28']
Exploring Operation: 99+28=127, Resulting Numbers: [89, 127]
Generated Node #0,2,0: 39:[89, 127] Operation: 99+28=127
Exploring Operation: 89-28=61, Resulting Numbers: [99, 61]
Generated Node #0,2,1: 39:[99, 61] Operation: 89-28=61
Exploring Operation: 99-89=10, Resulting Numbers: [28, 10]
Generated Node #0,2,2: 39:[28, 10] Operation: 99-89=10
Exploring Operation: 89+28=117, Resulting Numbers: [99, 117]
Generated Node #0,2,3: 39:[99, 117] Operation: 89+28=117
Exploring Operation: 99-28=71, Resulting Numbers: [89, 71]
Generated Node #0,2,4: 39:[89, 71] Operation: 99-28=71
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[28, 10], Operations: ['95-67=28', '99-89=10']
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,39 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,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,2,1
Current State: 39:[99, 61], Operations: ['95-67=28', '89-28=61']
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 99+61=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 99*61=6039, Resulting Numbers: [6039]
6039,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,2,4
Current State: 39:[89, 71], Operations: ['95-67=28', '99-28=71']
Exploring Operation: 89*71=6319, Resulting Numbers: [6319]
6319,39 unequal: No Solution
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,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,2,0
Current State: 39:[89, 127], Operations: ['95-67=28', '99+28=127']
Exploring Operation: 89*127=11303, Resulting Numbers: [11303]
11303,39 unequal: No Solution
Exploring Operation: 89+127=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Exploring Operation: 127-89=38, Resulting Numbers: [38]
38,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,2,3
Current State: 39:[99, 117], Operations: ['95-67=28', '89+28=117']
Exploring Operation: 99+117=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Exploring Operation: 117-99=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 99*117=11583, Resulting Numbers: [11583]
11583,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
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.