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 |
|---|---|---|---|---|---|---|---|---|
[
41,
36,
16,
14
] | 12 | [
"41-14=27",
"16*27=432",
"432/36=12"
] | Current State: 12:[41, 36, 16, 14], Operations: []
Exploring Operation: 41-14=27, Resulting Numbers: [36, 16, 27]
Generated Node #2: [36, 16, 27] from Operation: 41-14=27
Current State: 12:[36, 16, 27], Operations: ['41-14=27']
Exploring Operation: 16*27=432, Resulting Numbers: [36, 432]
Generated Node #3: [36, 432] from Operation: 16*27=432
Current State: 12:[36, 432], Operations: ['41-14=27', '16*27=432']
Exploring Operation: 432/36=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[41, 36, 16, 14], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [16, 14, 5]
Generated Node #0,0: 12:[16, 14, 5] Operation: 41-36=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[16, 14, 5], Operations: ['41-36=5']
Exploring Operation: 16-14=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 12:[5, 2] Operation: 16-14=2
Moving to Node #0,0,0
Current State: 12:[5, 2], Operations: ['41-36=5', '16-14=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,12 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 |
[
94,
74,
21,
32
] | 32 | [
"94-74=20",
"21-20=1",
"32*1=32"
] | Current State: 32:[94, 74, 21, 32], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [21, 32, 20]
Generated Node #2: [21, 32, 20] from Operation: 94-74=20
Current State: 32:[21, 32, 20], Operations: ['94-74=20']
Exploring Operation: 21-20=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 21-20=1
Current State: 32:[32, 1], Operations: ['94-74=20', '21-20=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[94, 74, 21, 32], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [94, 32, 53]
Generated Node #0,0: 32:[94, 32, 53] Operation: 74-21=53
Exploring Operation: 94-74=20, Resulting Numbers: [21, 32, 20]
Generated Node #0,1: 32:[21, 32, 20] Operation: 94-74=20
Exploring Operation: 74-32=42, Resulting Numbers: [94, 21, 42]
Generated Node #0,2: 32:[94, 21, 42] Operation: 74-32=42
Exploring Operation: 94-32=62, Resulting Numbers: [74, 21, 62]
Generated Node #0,3: 32:[74, 21, 62] Operation: 94-32=62
Exploring Operation: 94-21=73, Resulting Numbers: [74, 32, 73]
Generated Node #0,4: 32:[74, 32, 73] Operation: 94-21=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[21, 32, 20], Operations: ['94-74=20']
Exploring Operation: 21-20=1, Resulting Numbers: [32, 1]
Generated Node #0,1,0: 32:[32, 1] Operation: 21-20=1
Exploring Operation: 21+32=53, Resulting Numbers: [20, 53]
Generated Node #0,1,1: 32:[20, 53] Operation: 21+32=53
Exploring Operation: 32-21=11, Resulting Numbers: [20, 11]
Generated Node #0,1,2: 32:[20, 11] Operation: 32-21=11
Exploring Operation: 21+20=41, Resulting Numbers: [32, 41]
Generated Node #0,1,3: 32:[32, 41] Operation: 21+20=41
Exploring Operation: 32-20=12, Resulting Numbers: [21, 12]
Generated Node #0,1,4: 32:[21, 12] Operation: 32-20=12
Moving to Node #0,1,0
Current State: 32:[32, 1], Operations: ['94-74=20', '21-20=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[94, 74, 21, 32], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [21, 32, 20]
Generated Node #0,1: 32:[21, 32, 20] Operation: 94-74=20
Moving to Node #0,1
Current State: 32:[21, 32, 20], Operations: ['94-74=20']
Exploring Operation: 21-20=1, Resulting Numbers: [32, 1]
Generated Node #0,1,0: 32:[32, 1] Operation: 21-20=1
Moving to Node #0,1,0
Current State: 32:[32, 1], Operations: ['94-74=20', '21-20=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
70,
55,
3,
96
] | 37 | [
"70-55=15",
"96+15=111",
"111/3=37"
] | Current State: 37:[70, 55, 3, 96], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [3, 96, 15]
Generated Node #2: [3, 96, 15] from Operation: 70-55=15
Current State: 37:[3, 96, 15], Operations: ['70-55=15']
Exploring Operation: 96+15=111, Resulting Numbers: [3, 111]
Generated Node #3: [3, 111] from Operation: 96+15=111
Current State: 37:[3, 111], Operations: ['70-55=15', '96+15=111']
Exploring Operation: 111/3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[70, 55, 3, 96], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [70, 55, 32]
Generated Node #0,0: 37:[70, 55, 32] Operation: 96/3=32
Exploring Operation: 96-55=41, Resulting Numbers: [70, 3, 41]
Generated Node #0,1: 37:[70, 3, 41] Operation: 96-55=41
Exploring Operation: 96-70=26, Resulting Numbers: [55, 3, 26]
Generated Node #0,2: 37:[55, 3, 26] Operation: 96-70=26
Moving to Node #0,0
Current State: 37:[70, 55, 32], Operations: ['96/3=32']
Exploring Operation: 55-32=23, Resulting Numbers: [70, 23]
Generated Node #0,0,0: 37:[70, 23] Operation: 55-32=23
Exploring Operation: 70-32=38, Resulting Numbers: [55, 38]
Generated Node #0,0,1: 37:[55, 38] Operation: 70-32=38
Exploring Operation: 70-55=15, Resulting Numbers: [32, 15]
Generated Node #0,0,2: 37:[32, 15] Operation: 70-55=15
Moving to Node #0,2
Current State: 37:[55, 3, 26], Operations: ['96-70=26']
Exploring Operation: 55-3=52, Resulting Numbers: [26, 52]
Generated Node #0,2,0: 37:[26, 52] Operation: 55-3=52
Exploring Operation: 55+3=58, Resulting Numbers: [26, 58]
Generated Node #0,2,1: 37:[26, 58] Operation: 55+3=58
Exploring Operation: 3+26=29, Resulting Numbers: [55, 29]
Generated Node #0,2,2: 37:[55, 29] Operation: 3+26=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[26, 52], Operations: ['96-70=26', '55-3=52']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[55, 29], Operations: ['96-70=26', '3+26=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,37 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[26, 58], Operations: ['96-70=26', '55+3=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,37 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,37 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: 37:[70, 3, 41], Operations: ['96-55=41']
Exploring Operation: 41-3=38, Resulting Numbers: [70, 38]
Generated Node #0,1,0: 37:[70, 38] Operation: 41-3=38
Exploring Operation: 70+3=73, Resulting Numbers: [41, 73]
Generated Node #0,1,1: 37:[41, 73] Operation: 70+3=73
Exploring Operation: 70-3=67, Resulting Numbers: [41, 67]
Generated Node #0,1,2: 37:[41, 67] Operation: 70-3=67
Moving to Node #0,0,1
Current State: 37:[55, 38], Operations: ['96/3=32', '70-32=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,37 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,37 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[32, 15], Operations: ['96/3=32', '70-55=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[41, 67], Operations: ['96-55=41', '70-3=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,37 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[70, 38], Operations: ['96-55=41', '41-3=38']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[41, 73], Operations: ['96-55=41', '70+3=73']
Exploring Operation: 41*73=2993, Resulting Numbers: [2993]
2993,37 unequal: No Solution
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 41+73=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[70, 23], Operations: ['96/3=32', '55-32=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,37 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,37 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,37 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
14,
56,
39,
41
] | 63 | [
"41-39=2",
"14/2=7",
"56+7=63"
] | Current State: 63:[14, 56, 39, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [14, 56, 2]
Generated Node #2: [14, 56, 2] from Operation: 41-39=2
Current State: 63:[14, 56, 2], Operations: ['41-39=2']
Exploring Operation: 14/2=7, Resulting Numbers: [56, 7]
Generated Node #3: [56, 7] from Operation: 14/2=7
Current State: 63:[56, 7], Operations: ['41-39=2', '14/2=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[14, 56, 39, 41], Operations: []
Exploring Operation: 39+41=80, Resulting Numbers: [14, 56, 80]
Generated Node #0,0: 63:[14, 56, 80] Operation: 39+41=80
Exploring Operation: 56-39=17, Resulting Numbers: [14, 41, 17]
Generated Node #0,1: 63:[14, 41, 17] Operation: 56-39=17
Exploring Operation: 56-41=15, Resulting Numbers: [14, 39, 15]
Generated Node #0,2: 63:[14, 39, 15] Operation: 56-41=15
Exploring Operation: 41-39=2, Resulting Numbers: [14, 56, 2]
Generated Node #0,3: 63:[14, 56, 2] Operation: 41-39=2
Exploring Operation: 39-14=25, Resulting Numbers: [56, 41, 25]
Generated Node #0,4: 63:[56, 41, 25] Operation: 39-14=25
Moving to Node #0,3
Current State: 63:[14, 56, 2], Operations: ['41-39=2']
Exploring Operation: 56/14=4, Resulting Numbers: [2, 4]
Generated Node #0,3,0: 63:[2, 4] Operation: 56/14=4
Exploring Operation: 14-2=12, Resulting Numbers: [56, 12]
Generated Node #0,3,1: 63:[56, 12] Operation: 14-2=12
Exploring Operation: 14/2=7, Resulting Numbers: [56, 7]
Generated Node #0,3,2: 63:[56, 7] Operation: 14/2=7
Exploring Operation: 56+2=58, Resulting Numbers: [14, 58]
Generated Node #0,3,3: 63:[14, 58] Operation: 56+2=58
Exploring Operation: 14+56=70, Resulting Numbers: [2, 70]
Generated Node #0,3,4: 63:[2, 70] Operation: 14+56=70
Moving to Node #0,1
Current State: 63:[14, 41, 17], Operations: ['56-39=17']
Exploring Operation: 14+41=55, Resulting Numbers: [17, 55]
Generated Node #0,1,0: 63:[17, 55] Operation: 14+41=55
Exploring Operation: 17-14=3, Resulting Numbers: [41, 3]
Generated Node #0,1,1: 63:[41, 3] Operation: 17-14=3
Exploring Operation: 41-14=27, Resulting Numbers: [17, 27]
Generated Node #0,1,2: 63:[17, 27] Operation: 41-14=27
Exploring Operation: 41+17=58, Resulting Numbers: [14, 58]
Generated Node #0,1,3: 63:[14, 58] Operation: 41+17=58
Exploring Operation: 41-17=24, Resulting Numbers: [14, 24]
Generated Node #0,1,4: 63:[14, 24] Operation: 41-17=24
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 63:[14, 24], Operations: ['56-39=17', '41-17=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,63 unequal: No Solution
No 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: 63:[17, 27], Operations: ['56-39=17', '41-14=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,63 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,63 unequal: No Solution
No 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: 63:[14, 58], Operations: ['56-39=17', '41+17=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,63 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,63 unequal: No Solution
No 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: 63:[17, 55], Operations: ['56-39=17', '14+41=55']
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,63 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,63 unequal: No Solution
No 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: 63:[41, 3], Operations: ['56-39=17', '17-14=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,63 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,63 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: 63:[14, 56, 80], Operations: ['39+41=80']
Exploring Operation: 80-56=24, Resulting Numbers: [14, 24]
Generated Node #0,0,0: 63:[14, 24] Operation: 80-56=24
Exploring Operation: 56-14=42, Resulting Numbers: [80, 42]
Generated Node #0,0,1: 63:[80, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [80, 4]
Generated Node #0,0,2: 63:[80, 4] Operation: 56/14=4
Exploring Operation: 14+56=70, Resulting Numbers: [80, 70]
Generated Node #0,0,3: 63:[80, 70] Operation: 14+56=70
Exploring Operation: 80-14=66, Resulting Numbers: [56, 66]
Generated Node #0,0,4: 63:[56, 66] Operation: 80-14=66
Moving to Node #0,2
Current State: 63:[14, 39, 15], Operations: ['56-41=15']
Exploring Operation: 39+15=54, Resulting Numbers: [14, 54]
Generated Node #0,2,0: 63:[14, 54] Operation: 39+15=54
Exploring Operation: 39-15=24, Resulting Numbers: [14, 24]
Generated Node #0,2,1: 63:[14, 24] Operation: 39-15=24
Exploring Operation: 14+39=53, Resulting Numbers: [15, 53]
Generated Node #0,2,2: 63:[15, 53] Operation: 14+39=53
Exploring Operation: 15-14=1, Resulting Numbers: [39, 1]
Generated Node #0,2,3: 63:[39, 1] Operation: 15-14=1
Exploring Operation: 39-14=25, Resulting Numbers: [15, 25]
Generated Node #0,2,4: 63:[15, 25] Operation: 39-14=25
Moving to Node #0,4
Current State: 63:[56, 41, 25], Operations: ['39-14=25']
Exploring Operation: 41+25=66, Resulting Numbers: [56, 66]
Generated Node #0,4,0: 63:[56, 66] Operation: 41+25=66
Exploring Operation: 56-41=15, Resulting Numbers: [25, 15]
Generated Node #0,4,1: 63:[25, 15] Operation: 56-41=15
Exploring Operation: 56-25=31, Resulting Numbers: [41, 31]
Generated Node #0,4,2: 63:[41, 31] Operation: 56-25=31
Exploring Operation: 56+41=97, Resulting Numbers: [25, 97]
Generated Node #0,4,3: 63:[25, 97] Operation: 56+41=97
Exploring Operation: 41-25=16, Resulting Numbers: [56, 16]
Generated Node #0,4,4: 63:[56, 16] Operation: 41-25=16
Moving to Node #0,3,0
Current State: 63:[2, 4], Operations: ['41-39=2', '56/14=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[56, 7], Operations: ['41-39=2', '14/2=7']
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,63 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[14, 56, 39, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [14, 56, 2]
Generated Node #0,3: 63:[14, 56, 2] Operation: 41-39=2
Moving to Node #0,3
Current State: 63:[14, 56, 2], Operations: ['41-39=2']
Exploring Operation: 14/2=7, Resulting Numbers: [56, 7]
Generated Node #0,3,2: 63:[56, 7] Operation: 14/2=7
Moving to Node #0,3,2
Current State: 63:[56, 7], Operations: ['41-39=2', '14/2=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.951389 | hs_5 | mult_heuristic |
[
40,
11,
59,
52
] | 91 | [
"11+59=70",
"52*70=3640",
"3640/40=91"
] | Current State: 91:[40, 11, 59, 52], Operations: []
Exploring Operation: 11+59=70, Resulting Numbers: [40, 52, 70]
Generated Node #2: [40, 52, 70] from Operation: 11+59=70
Current State: 91:[40, 52, 70], Operations: ['11+59=70']
Exploring Operation: 52*70=3640, Resulting Numbers: [40, 3640]
Generated Node #3: [40, 3640] from Operation: 52*70=3640
Current State: 91:[40, 3640], Operations: ['11+59=70', '52*70=3640']
Exploring Operation: 3640/40=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[40, 11, 59, 52], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [40, 11, 7]
Generated Node #0,0: 91:[40, 11, 7] Operation: 59-52=7
Exploring Operation: 40+52=92, Resulting Numbers: [11, 59, 92]
Generated Node #0,1: 91:[11, 59, 92] Operation: 40+52=92
Exploring Operation: 52-40=12, Resulting Numbers: [11, 59, 12]
Generated Node #0,2: 91:[11, 59, 12] Operation: 52-40=12
Exploring Operation: 59-40=19, Resulting Numbers: [11, 52, 19]
Generated Node #0,3: 91:[11, 52, 19] Operation: 59-40=19
Moving to Node #0,0
Current State: 91:[40, 11, 7], Operations: ['59-52=7']
Exploring Operation: 11-7=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 91:[40, 4] Operation: 11-7=4
Exploring Operation: 40-11=29, Resulting Numbers: [7, 29]
Generated Node #0,0,1: 91:[7, 29] Operation: 40-11=29
Exploring Operation: 40-7=33, Resulting Numbers: [11, 33]
Generated Node #0,0,2: 91:[11, 33] Operation: 40-7=33
Exploring Operation: 11+7=18, Resulting Numbers: [40, 18]
Generated Node #0,0,3: 91:[40, 18] Operation: 11+7=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[7, 29], Operations: ['59-52=7', '40-11=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,91 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[11, 33], Operations: ['59-52=7', '40-7=33']
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,91 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[40, 4], Operations: ['59-52=7', '11-7=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,91 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[40, 18], Operations: ['59-52=7', '11+7=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,91 unequal: No Solution
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,91 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: 91:[11, 59, 12], Operations: ['52-40=12']
Exploring Operation: 59+12=71, Resulting Numbers: [11, 71]
Generated Node #0,2,0: 91:[11, 71] Operation: 59+12=71
Exploring Operation: 59-11=48, Resulting Numbers: [12, 48]
Generated Node #0,2,1: 91:[12, 48] Operation: 59-11=48
Exploring Operation: 11+59=70, Resulting Numbers: [12, 70]
Generated Node #0,2,2: 91:[12, 70] Operation: 11+59=70
Exploring Operation: 59-12=47, Resulting Numbers: [11, 47]
Generated Node #0,2,3: 91:[11, 47] Operation: 59-12=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[11, 71], Operations: ['52-40=12', '59+12=71']
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,91 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[12, 70], Operations: ['52-40=12', '11+59=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[12, 48], Operations: ['52-40=12', '59-11=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,91 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[11, 47], Operations: ['52-40=12', '59-12=47']
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,91 unequal: No Solution
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 91:[11, 59, 92], Operations: ['40+52=92']
Exploring Operation: 59-11=48, Resulting Numbers: [92, 48]
Generated Node #0,1,0: 91:[92, 48] Operation: 59-11=48
Exploring Operation: 92-11=81, Resulting Numbers: [59, 81]
Generated Node #0,1,1: 91:[59, 81] Operation: 92-11=81
Exploring Operation: 11+59=70, Resulting Numbers: [92, 70]
Generated Node #0,1,2: 91:[92, 70] Operation: 11+59=70
Exploring Operation: 92-59=33, Resulting Numbers: [11, 33]
Generated Node #0,1,3: 91:[11, 33] Operation: 92-59=33
Moving to Node #0,3
Current State: 91:[11, 52, 19], Operations: ['59-40=19']
Exploring Operation: 52+19=71, Resulting Numbers: [11, 71]
Generated Node #0,3,0: 91:[11, 71] Operation: 52+19=71
Exploring Operation: 52-19=33, Resulting Numbers: [11, 33]
Generated Node #0,3,1: 91:[11, 33] Operation: 52-19=33
Exploring Operation: 11+52=63, Resulting Numbers: [19, 63]
Generated Node #0,3,2: 91:[19, 63] Operation: 11+52=63
Exploring Operation: 52-11=41, Resulting Numbers: [19, 41]
Generated Node #0,3,3: 91:[19, 41] Operation: 52-11=41
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[11, 71], Operations: ['59-40=19', '52+19=71']
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[11, 33], Operations: ['59-40=19', '52-19=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,91 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[19, 63], Operations: ['59-40=19', '11+52=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[19, 41], Operations: ['59-40=19', '52-11=41']
Exploring Operation: 19*41=779, Resulting Numbers: [779]
779,91 unequal: No Solution
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,91 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 91:[92, 70], Operations: ['40+52=92', '11+59=70']
Exploring Operation: 92*70=6440, Resulting Numbers: [6440]
6440,91 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[11, 33], Operations: ['40+52=92', '92-59=33']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,91 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[92, 48], Operations: ['40+52=92', '59-11=48']
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,91 unequal: No Solution
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,91 unequal: No Solution
Exploring Operation: 92*48=4416, Resulting Numbers: [4416]
4416,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[59, 81], Operations: ['40+52=92', '92-11=81']
Exploring Operation: 81-59=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 59*81=4779, Resulting Numbers: [4779]
4779,91 unequal: No Solution
Exploring Operation: 59+81=140, Resulting Numbers: [140]
140,91 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
78,
67,
35
] | 19 | [
"78-35=43",
"2*43=86",
"86-67=19"
] | Current State: 19:[2, 78, 67, 35], Operations: []
Exploring Operation: 78-35=43, Resulting Numbers: [2, 67, 43]
Generated Node #2: [2, 67, 43] from Operation: 78-35=43
Current State: 19:[2, 67, 43], Operations: ['78-35=43']
Exploring Operation: 2*43=86, Resulting Numbers: [67, 86]
Generated Node #3: [67, 86] from Operation: 2*43=86
Current State: 19:[67, 86], Operations: ['78-35=43', '2*43=86']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 78, 67, 35], Operations: []
Exploring Operation: 78-67=11, Resulting Numbers: [2, 35, 11]
Generated Node #0,0: 19:[2, 35, 11] Operation: 78-67=11
Exploring Operation: 78/2=39, Resulting Numbers: [67, 35, 39]
Generated Node #0,1: 19:[67, 35, 39] Operation: 78/2=39
Moving to Node #0,0
Current State: 19:[2, 35, 11], Operations: ['78-67=11']
Exploring Operation: 2*11=22, Resulting Numbers: [35, 22]
Generated Node #0,0,0: 19:[35, 22] Operation: 2*11=22
Exploring Operation: 35-2=33, Resulting Numbers: [11, 33]
Generated Node #0,0,1: 19:[11, 33] Operation: 35-2=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[35, 22], Operations: ['78-67=11', '2*11=22']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,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,1
Current State: 19:[11, 33], Operations: ['78-67=11', '35-2=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,19 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: 19:[67, 35, 39], Operations: ['78/2=39']
Exploring Operation: 67-35=32, Resulting Numbers: [39, 32]
Generated Node #0,1,0: 19:[39, 32] Operation: 67-35=32
Exploring Operation: 67-39=28, Resulting Numbers: [35, 28]
Generated Node #0,1,1: 19:[35, 28] Operation: 67-39=28
Moving to Node #0,1,1
Current State: 19:[35, 28], Operations: ['78/2=39', '67-39=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[39, 32], Operations: ['78/2=39', '67-35=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,19 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,19 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
69,
85,
49,
23
] | 39 | [
"69/23=3",
"85-49=36",
"3+36=39"
] | Current State: 39:[69, 85, 49, 23], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [85, 49, 3]
Generated Node #2: [85, 49, 3] from Operation: 69/23=3
Current State: 39:[85, 49, 3], Operations: ['69/23=3']
Exploring Operation: 85-49=36, Resulting Numbers: [3, 36]
Generated Node #3: [3, 36] from Operation: 85-49=36
Current State: 39:[3, 36], Operations: ['69/23=3', '85-49=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[69, 85, 49, 23], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [69, 23, 36]
Generated Node #0,0: 39:[69, 23, 36] Operation: 85-49=36
Exploring Operation: 69/23=3, Resulting Numbers: [85, 49, 3]
Generated Node #0,1: 39:[85, 49, 3] Operation: 69/23=3
Exploring Operation: 85-69=16, Resulting Numbers: [49, 23, 16]
Generated Node #0,2: 39:[49, 23, 16] Operation: 85-69=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[49, 23, 16], Operations: ['85-69=16']
Exploring Operation: 49-23=26, Resulting Numbers: [16, 26]
Generated Node #0,2,0: 39:[16, 26] Operation: 49-23=26
Exploring Operation: 23+16=39, Resulting Numbers: [49, 39]
Generated Node #0,2,1: 39:[49, 39] Operation: 23+16=39
Exploring Operation: 23-16=7, Resulting Numbers: [49, 7]
Generated Node #0,2,2: 39:[49, 7] Operation: 23-16=7
Moving to Node #0,2,1
Current State: 39:[49, 39], Operations: ['85-69=16', '23+16=39']
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,39 unequal: No Solution
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[49, 7], Operations: ['85-69=16', '23-16=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,39 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[16, 26], Operations: ['85-69=16', '49-23=26']
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,39 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,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:[69, 23, 36], Operations: ['85-49=36']
Exploring Operation: 69-23=46, Resulting Numbers: [36, 46]
Generated Node #0,0,0: 39:[36, 46] Operation: 69-23=46
Exploring Operation: 69-36=33, Resulting Numbers: [23, 33]
Generated Node #0,0,1: 39:[23, 33] Operation: 69-36=33
Exploring Operation: 69/23=3, Resulting Numbers: [36, 3]
Generated Node #0,0,2: 39:[36, 3] Operation: 69/23=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[36, 3], Operations: ['85-49=36', '69/23=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[69, 85, 49, 23], Operations: []
Exploring Operation: 85-49=36, Resulting Numbers: [69, 23, 36]
Generated Node #0,0: 39:[69, 23, 36] Operation: 85-49=36
Moving to Node #0,0
Current State: 39:[69, 23, 36], Operations: ['85-49=36']
Exploring Operation: 69/23=3, Resulting Numbers: [36, 3]
Generated Node #0,0,2: 39:[36, 3] Operation: 69/23=3
Moving to Node #0,0,2
Current State: 39:[36, 3], Operations: ['85-49=36', '69/23=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
44,
31,
65,
66
] | 56 | [
"44+31=75",
"65+66=131",
"131-75=56"
] | Current State: 56:[44, 31, 65, 66], Operations: []
Exploring Operation: 44+31=75, Resulting Numbers: [65, 66, 75]
Generated Node #2: [65, 66, 75] from Operation: 44+31=75
Current State: 56:[65, 66, 75], Operations: ['44+31=75']
Exploring Operation: 65+66=131, Resulting Numbers: [75, 131]
Generated Node #3: [75, 131] from Operation: 65+66=131
Current State: 56:[75, 131], Operations: ['44+31=75', '65+66=131']
Exploring Operation: 131-75=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[44, 31, 65, 66], Operations: []
Exploring Operation: 44-31=13, Resulting Numbers: [65, 66, 13]
Generated Node #0,0: 56:[65, 66, 13] Operation: 44-31=13
Exploring Operation: 66-44=22, Resulting Numbers: [31, 65, 22]
Generated Node #0,1: 56:[31, 65, 22] Operation: 66-44=22
Exploring Operation: 65-31=34, Resulting Numbers: [44, 66, 34]
Generated Node #0,2: 56:[44, 66, 34] Operation: 65-31=34
Exploring Operation: 65-44=21, Resulting Numbers: [31, 66, 21]
Generated Node #0,3: 56:[31, 66, 21] Operation: 65-44=21
Exploring Operation: 66-65=1, Resulting Numbers: [44, 31, 1]
Generated Node #0,4: 56:[44, 31, 1] Operation: 66-65=1
Moving to Node #0,4
Current State: 56:[44, 31, 1], Operations: ['66-65=1']
Exploring Operation: 44-31=13, Resulting Numbers: [1, 13]
Generated Node #0,4,0: 56:[1, 13] Operation: 44-31=13
Exploring Operation: 31-1=30, Resulting Numbers: [44, 30]
Generated Node #0,4,1: 56:[44, 30] Operation: 31-1=30
Exploring Operation: 44*1=44, Resulting Numbers: [31, 44]
Generated Node #0,4,2: 56:[31, 44] Operation: 44*1=44
Exploring Operation: 44+1=45, Resulting Numbers: [31, 45]
Generated Node #0,4,3: 56:[31, 45] Operation: 44+1=45
Exploring Operation: 44/1=44, Resulting Numbers: [31, 44]
Generated Node #0,4,4: 56:[31, 44] Operation: 44/1=44
Moving to Node #0,1
Current State: 56:[31, 65, 22], Operations: ['66-44=22']
Exploring Operation: 31+22=53, Resulting Numbers: [65, 53]
Generated Node #0,1,0: 56:[65, 53] Operation: 31+22=53
Exploring Operation: 65+22=87, Resulting Numbers: [31, 87]
Generated Node #0,1,1: 56:[31, 87] Operation: 65+22=87
Exploring Operation: 31-22=9, Resulting Numbers: [65, 9]
Generated Node #0,1,2: 56:[65, 9] Operation: 31-22=9
Exploring Operation: 65-31=34, Resulting Numbers: [22, 34]
Generated Node #0,1,3: 56:[22, 34] Operation: 65-31=34
Exploring Operation: 65-22=43, Resulting Numbers: [31, 43]
Generated Node #0,1,4: 56:[31, 43] Operation: 65-22=43
Moving to Node #0,0
Current State: 56:[65, 66, 13], Operations: ['44-31=13']
Exploring Operation: 65+13=78, Resulting Numbers: [66, 78]
Generated Node #0,0,0: 56:[66, 78] Operation: 65+13=78
Exploring Operation: 66-13=53, Resulting Numbers: [65, 53]
Generated Node #0,0,1: 56:[65, 53] Operation: 66-13=53
Exploring Operation: 66-65=1, Resulting Numbers: [13, 1]
Generated Node #0,0,2: 56:[13, 1] Operation: 66-65=1
Exploring Operation: 65/13=5, Resulting Numbers: [66, 5]
Generated Node #0,0,3: 56:[66, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [66, 52]
Generated Node #0,0,4: 56:[66, 52] Operation: 65-13=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[13, 1], Operations: ['44-31=13', '66-65=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[66, 5], Operations: ['44-31=13', '65/13=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,56 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[65, 53], Operations: ['44-31=13', '66-13=53']
Exploring Operation: 65+53=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 65*53=3445, Resulting Numbers: [3445]
3445,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[66, 52], Operations: ['44-31=13', '65-13=52']
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,56 unequal: No Solution
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,56 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[66, 78], Operations: ['44-31=13', '65+13=78']
Exploring Operation: 66+78=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 66*78=5148, Resulting Numbers: [5148]
5148,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 56:[31, 66, 21], Operations: ['65-44=21']
Exploring Operation: 66-21=45, Resulting Numbers: [31, 45]
Generated Node #0,3,0: 56:[31, 45] Operation: 66-21=45
Exploring Operation: 66+21=87, Resulting Numbers: [31, 87]
Generated Node #0,3,1: 56:[31, 87] Operation: 66+21=87
Exploring Operation: 31+21=52, Resulting Numbers: [66, 52]
Generated Node #0,3,2: 56:[66, 52] Operation: 31+21=52
Exploring Operation: 66-31=35, Resulting Numbers: [21, 35]
Generated Node #0,3,3: 56:[21, 35] Operation: 66-31=35
Exploring Operation: 31-21=10, Resulting Numbers: [66, 10]
Generated Node #0,3,4: 56:[66, 10] Operation: 31-21=10
Moving to Node #0,2
Current State: 56:[44, 66, 34], Operations: ['65-31=34']
Exploring Operation: 44-34=10, Resulting Numbers: [66, 10]
Generated Node #0,2,0: 56:[66, 10] Operation: 44-34=10
Exploring Operation: 44+34=78, Resulting Numbers: [66, 78]
Generated Node #0,2,1: 56:[66, 78] Operation: 44+34=78
Exploring Operation: 66-44=22, Resulting Numbers: [34, 22]
Generated Node #0,2,2: 56:[34, 22] Operation: 66-44=22
Exploring Operation: 66+34=100, Resulting Numbers: [44, 100]
Generated Node #0,2,3: 56:[44, 100] Operation: 66+34=100
Exploring Operation: 66-34=32, Resulting Numbers: [44, 32]
Generated Node #0,2,4: 56:[44, 32] Operation: 66-34=32
Moving to Node #0,4,0
Current State: 56:[1, 13], Operations: ['66-65=1', '44-31=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[65, 9], Operations: ['66-44=22', '31-22=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[44, 31, 65, 66], Operations: []
Exploring Operation: 66-44=22, Resulting Numbers: [31, 65, 22]
Generated Node #0,1: 56:[31, 65, 22] Operation: 66-44=22
Moving to Node #0,1
Current State: 56:[31, 65, 22], Operations: ['66-44=22']
Exploring Operation: 31-22=9, Resulting Numbers: [65, 9]
Generated Node #0,1,2: 56:[65, 9] Operation: 31-22=9
Moving to Node #0,1,2
Current State: 56:[65, 9], Operations: ['66-44=22', '31-22=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.952257 | hs_5 | sum_heuristic |
[
40,
16,
3,
9
] | 24 | [
"40*3=120",
"16*9=144",
"144-120=24"
] | Current State: 24:[40, 16, 3, 9], Operations: []
Exploring Operation: 40*3=120, Resulting Numbers: [16, 9, 120]
Generated Node #2: [16, 9, 120] from Operation: 40*3=120
Current State: 24:[16, 9, 120], Operations: ['40*3=120']
Exploring Operation: 16*9=144, Resulting Numbers: [120, 144]
Generated Node #3: [120, 144] from Operation: 16*9=144
Current State: 24:[120, 144], Operations: ['40*3=120', '16*9=144']
Exploring Operation: 144-120=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[40, 16, 3, 9], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [3, 9, 24]
Generated Node #0,0: 24:[3, 9, 24] Operation: 40-16=24
Exploring Operation: 16+9=25, Resulting Numbers: [40, 3, 25]
Generated Node #0,1: 24:[40, 3, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [40, 3, 7]
Generated Node #0,2: 24:[40, 3, 7] Operation: 16-9=7
Exploring Operation: 40-3=37, Resulting Numbers: [16, 9, 37]
Generated Node #0,3: 24:[16, 9, 37] Operation: 40-3=37
Exploring Operation: 40-9=31, Resulting Numbers: [16, 3, 31]
Generated Node #0,4: 24:[16, 3, 31] Operation: 40-9=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[3, 9, 24], Operations: ['40-16=24']
Exploring Operation: 24/3=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 24:[9, 8] Operation: 24/3=8
Exploring Operation: 9/3=3, Resulting Numbers: [24, 3]
Generated Node #0,0,1: 24:[24, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [24, 6]
Generated Node #0,0,2: 24:[24, 6] Operation: 9-3=6
Exploring Operation: 3+9=12, Resulting Numbers: [24, 12]
Generated Node #0,0,3: 24:[24, 12] Operation: 3+9=12
Exploring Operation: 3*9=27, Resulting Numbers: [24, 27]
Generated Node #0,0,4: 24:[24, 27] Operation: 3*9=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[24, 3], Operations: ['40-16=24', '9/3=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[24, 6], Operations: ['40-16=24', '9-3=6']
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,24 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[24, 12], Operations: ['40-16=24', '3+9=12']
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,24 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[9, 8], Operations: ['40-16=24', '24/3=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 24:[24, 27], Operations: ['40-16=24', '3*9=27']
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,24 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[16, 3, 31], Operations: ['40-9=31']
Exploring Operation: 31-3=28, Resulting Numbers: [16, 28]
Generated Node #0,4,0: 24:[16, 28] Operation: 31-3=28
Exploring Operation: 31-16=15, Resulting Numbers: [3, 15]
Generated Node #0,4,1: 24:[3, 15] Operation: 31-16=15
Exploring Operation: 16-3=13, Resulting Numbers: [31, 13]
Generated Node #0,4,2: 24:[31, 13] Operation: 16-3=13
Exploring Operation: 3+31=34, Resulting Numbers: [16, 34]
Generated Node #0,4,3: 24:[16, 34] Operation: 3+31=34
Exploring Operation: 16+3=19, Resulting Numbers: [31, 19]
Generated Node #0,4,4: 24:[31, 19] Operation: 16+3=19
Moving to Node #0,4,1
Current State: 24:[3, 15], Operations: ['40-9=31', '31-16=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,4,2
Current State: 24:[31, 13], Operations: ['40-9=31', '16-3=13']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,24 unequal: No Solution
Moving to Node #0,4,0
Current State: 24:[16, 28], Operations: ['40-9=31', '31-3=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,24 unequal: No Solution
Moving to Node #0,4,4
Current State: 24:[31, 19], Operations: ['40-9=31', '16+3=19']
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,24 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Moving to Node #0,4,3
Current State: 24:[16, 34], Operations: ['40-9=31', '3+31=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[40, 3, 25], Operations: ['16+9=25']
Exploring Operation: 40-3=37, Resulting Numbers: [25, 37]
Generated Node #0,1,0: 24:[25, 37] Operation: 40-3=37
Exploring Operation: 3+25=28, Resulting Numbers: [40, 28]
Generated Node #0,1,1: 24:[40, 28] Operation: 3+25=28
Exploring Operation: 25-3=22, Resulting Numbers: [40, 22]
Generated Node #0,1,2: 24:[40, 22] Operation: 25-3=22
Exploring Operation: 40-25=15, Resulting Numbers: [3, 15]
Generated Node #0,1,3: 24:[3, 15] Operation: 40-25=15
Exploring Operation: 40+3=43, Resulting Numbers: [25, 43]
Generated Node #0,1,4: 24:[25, 43] Operation: 40+3=43
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 24:[3, 15], Operations: ['16+9=25', '40-25=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[25, 37], Operations: ['16+9=25', '40-3=37']
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[40, 22], Operations: ['16+9=25', '25-3=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[40, 28], Operations: ['16+9=25', '3+25=28']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,24 unequal: No Solution
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 24:[25, 43], Operations: ['16+9=25', '40+3=43']
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,24 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[40, 3, 7], Operations: ['16-9=7']
Exploring Operation: 3*7=21, Resulting Numbers: [40, 21]
Generated Node #0,2,0: 24:[40, 21] Operation: 3*7=21
Exploring Operation: 3+7=10, Resulting Numbers: [40, 10]
Generated Node #0,2,1: 24:[40, 10] Operation: 3+7=10
Exploring Operation: 7-3=4, Resulting Numbers: [40, 4]
Generated Node #0,2,2: 24:[40, 4] Operation: 7-3=4
Exploring Operation: 40-3=37, Resulting Numbers: [7, 37]
Generated Node #0,2,3: 24:[7, 37] Operation: 40-3=37
Exploring Operation: 40-7=33, Resulting Numbers: [3, 33]
Generated Node #0,2,4: 24:[3, 33] Operation: 40-7=33
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 24:[3, 33], Operations: ['16-9=7', '40-7=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 24:[7, 37], Operations: ['16-9=7', '40-3=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,24 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 24:[40, 4], Operations: ['16-9=7', '7-3=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,24 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 24:[40, 10], Operations: ['16-9=7', '3+7=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,24 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,24 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[40, 21], Operations: ['16-9=7', '3*7=21']
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,24 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[16, 9, 37], Operations: ['40-3=37']
Exploring Operation: 16+9=25, Resulting Numbers: [37, 25]
Generated Node #0,3,0: 24:[37, 25] Operation: 16+9=25
Exploring Operation: 9+37=46, Resulting Numbers: [16, 46]
Generated Node #0,3,1: 24:[16, 46] Operation: 9+37=46
Exploring Operation: 37-16=21, Resulting Numbers: [9, 21]
Generated Node #0,3,2: 24:[9, 21] Operation: 37-16=21
Exploring Operation: 37-9=28, Resulting Numbers: [16, 28]
Generated Node #0,3,3: 24:[16, 28] Operation: 37-9=28
Exploring Operation: 16-9=7, Resulting Numbers: [37, 7]
Generated Node #0,3,4: 24:[37, 7] Operation: 16-9=7
Moving to Node #0,3,2
Current State: 24:[9, 21], Operations: ['40-3=37', '37-16=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,24 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[16, 28], Operations: ['40-3=37', '37-9=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,24 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[37, 25], Operations: ['40-3=37', '16+9=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,24 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Moving to Node #0,3,4
Current State: 24:[37, 7], Operations: ['40-3=37', '16-9=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,24 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[16, 46], Operations: ['40-3=37', '9+37=46']
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,24 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,24 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 |
[
82,
22,
6,
40
] | 44 | [
"82+6=88",
"88/22=4",
"40+4=44"
] | Current State: 44:[82, 22, 6, 40], Operations: []
Exploring Operation: 82+6=88, Resulting Numbers: [22, 40, 88]
Generated Node #2: [22, 40, 88] from Operation: 82+6=88
Current State: 44:[22, 40, 88], Operations: ['82+6=88']
Exploring Operation: 88/22=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 88/22=4
Current State: 44:[40, 4], Operations: ['82+6=88', '88/22=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[82, 22, 6, 40], Operations: []
Exploring Operation: 6+40=46, Resulting Numbers: [82, 22, 46]
Generated Node #0,0: 44:[82, 22, 46] Operation: 6+40=46
Exploring Operation: 82-6=76, Resulting Numbers: [22, 40, 76]
Generated Node #0,1: 44:[22, 40, 76] Operation: 82-6=76
Exploring Operation: 82-22=60, Resulting Numbers: [6, 40, 60]
Generated Node #0,2: 44:[6, 40, 60] Operation: 82-22=60
Exploring Operation: 82-40=42, Resulting Numbers: [22, 6, 42]
Generated Node #0,3: 44:[22, 6, 42] Operation: 82-40=42
Moving to Node #0,3
Current State: 44:[22, 6, 42], Operations: ['82-40=42']
Exploring Operation: 22-6=16, Resulting Numbers: [42, 16]
Generated Node #0,3,0: 44:[42, 16] Operation: 22-6=16
Exploring Operation: 42/6=7, Resulting Numbers: [22, 7]
Generated Node #0,3,1: 44:[22, 7] Operation: 42/6=7
Exploring Operation: 42-22=20, Resulting Numbers: [6, 20]
Generated Node #0,3,2: 44:[6, 20] Operation: 42-22=20
Exploring Operation: 6+42=48, Resulting Numbers: [22, 48]
Generated Node #0,3,3: 44:[22, 48] Operation: 6+42=48
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[22, 7], Operations: ['82-40=42', '42/6=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,44 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,44 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[6, 20], Operations: ['82-40=42', '42-22=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[22, 48], Operations: ['82-40=42', '6+42=48']
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,44 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[42, 16], Operations: ['82-40=42', '22-6=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,44 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,44 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: 44:[6, 40, 60], Operations: ['82-22=60']
Exploring Operation: 6+40=46, Resulting Numbers: [60, 46]
Generated Node #0,2,0: 44:[60, 46] Operation: 6+40=46
Exploring Operation: 60/6=10, Resulting Numbers: [40, 10]
Generated Node #0,2,1: 44:[40, 10] Operation: 60/6=10
Exploring Operation: 60-40=20, Resulting Numbers: [6, 20]
Generated Node #0,2,2: 44:[6, 20] Operation: 60-40=20
Exploring Operation: 60-6=54, Resulting Numbers: [40, 54]
Generated Node #0,2,3: 44:[40, 54] Operation: 60-6=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[6, 20], Operations: ['82-22=60', '60-40=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[40, 10], Operations: ['82-22=60', '60/6=10']
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,44 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 44:[40, 54], Operations: ['82-22=60', '60-6=54']
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,44 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[60, 46], Operations: ['82-22=60', '6+40=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,44 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,44 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: 44:[22, 40, 76], Operations: ['82-6=76']
Exploring Operation: 76-40=36, Resulting Numbers: [22, 36]
Generated Node #0,1,0: 44:[22, 36] Operation: 76-40=36
Exploring Operation: 76-22=54, Resulting Numbers: [40, 54]
Generated Node #0,1,1: 44:[40, 54] Operation: 76-22=54
Exploring Operation: 40-22=18, Resulting Numbers: [76, 18]
Generated Node #0,1,2: 44:[76, 18] Operation: 40-22=18
Exploring Operation: 22+40=62, Resulting Numbers: [76, 62]
Generated Node #0,1,3: 44:[76, 62] Operation: 22+40=62
Moving to Node #0,0
Current State: 44:[82, 22, 46], Operations: ['6+40=46']
Exploring Operation: 82+22=104, Resulting Numbers: [46, 104]
Generated Node #0,0,0: 44:[46, 104] Operation: 82+22=104
Exploring Operation: 82-46=36, Resulting Numbers: [22, 36]
Generated Node #0,0,1: 44:[22, 36] Operation: 82-46=36
Exploring Operation: 82-22=60, Resulting Numbers: [46, 60]
Generated Node #0,0,2: 44:[46, 60] Operation: 82-22=60
Exploring Operation: 46-22=24, Resulting Numbers: [82, 24]
Generated Node #0,0,3: 44:[82, 24] Operation: 46-22=24
Moving to Node #0,1,0
Current State: 44:[22, 36], Operations: ['82-6=76', '76-40=36']
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,44 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[22, 36], Operations: ['6+40=46', '82-46=36']
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[40, 54], Operations: ['82-6=76', '76-22=54']
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,44 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[46, 60], Operations: ['6+40=46', '82-22=60']
Exploring Operation: 46+60=106, Resulting Numbers: [106]
106,44 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 46*60=2760, Resulting Numbers: [2760]
2760,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[76, 18], Operations: ['82-6=76', '40-22=18']
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,44 unequal: No Solution
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,44 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[82, 24], Operations: ['6+40=46', '46-22=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,44 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[76, 62], Operations: ['82-6=76', '22+40=62']
Exploring Operation: 76*62=4712, Resulting Numbers: [4712]
4712,44 unequal: No Solution
Exploring Operation: 76+62=138, Resulting Numbers: [138]
138,44 unequal: No Solution
Exploring Operation: 76-62=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[46, 104], Operations: ['6+40=46', '82+22=104']
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,44 unequal: No Solution
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,44 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
13,
64,
76,
39
] | 39 | [
"13+64=77",
"77-76=1",
"39*1=39"
] | Current State: 39:[13, 64, 76, 39], Operations: []
Exploring Operation: 13+64=77, Resulting Numbers: [76, 39, 77]
Generated Node #2: [76, 39, 77] from Operation: 13+64=77
Current State: 39:[76, 39, 77], Operations: ['13+64=77']
Exploring Operation: 77-76=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 77-76=1
Current State: 39:[39, 1], Operations: ['13+64=77', '77-76=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[13, 64, 76, 39], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [13, 64, 37]
Generated Node #0,0: 39:[13, 64, 37] Operation: 76-39=37
Exploring Operation: 76-64=12, Resulting Numbers: [13, 39, 12]
Generated Node #0,1: 39:[13, 39, 12] Operation: 76-64=12
Exploring Operation: 64-13=51, Resulting Numbers: [76, 39, 51]
Generated Node #0,2: 39:[76, 39, 51] Operation: 64-13=51
Moving to Node #0,1
Current State: 39:[13, 39, 12], Operations: ['76-64=12']
Exploring Operation: 13-12=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 39:[39, 1] Operation: 13-12=1
Exploring Operation: 39/13=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 39:[12, 3] Operation: 39/13=3
Exploring Operation: 13+12=25, Resulting Numbers: [39, 25]
Generated Node #0,1,2: 39:[39, 25] Operation: 13+12=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[12, 3], Operations: ['76-64=12', '39/13=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[39, 1], Operations: ['76-64=12', '13-12=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[13, 64, 76, 39], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [13, 39, 12]
Generated Node #0,1: 39:[13, 39, 12] Operation: 76-64=12
Moving to Node #0,1
Current State: 39:[13, 39, 12], Operations: ['76-64=12']
Exploring Operation: 13-12=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 39:[39, 1] Operation: 13-12=1
Moving to Node #0,1,0
Current State: 39:[39, 1], Operations: ['76-64=12', '13-12=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
53,
53,
79,
96
] | 96 | [
"53-53=0",
"79*0=0",
"96+0=96"
] | Current State: 96:[53, 53, 79, 96], Operations: []
Exploring Operation: 53-53=0, Resulting Numbers: [79, 96, 0]
Generated Node #2: [79, 96, 0] from Operation: 53-53=0
Current State: 96:[79, 96, 0], Operations: ['53-53=0']
Exploring Operation: 79*0=0, Resulting Numbers: [96, 0]
Generated Node #3: [96, 0] from Operation: 79*0=0
Current State: 96:[96, 0], Operations: ['53-53=0', '79*0=0']
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[53, 53, 79, 96], Operations: []
Exploring Operation: 79-53=26, Resulting Numbers: [53, 96, 26]
Generated Node #0,0: 96:[53, 96, 26] Operation: 79-53=26
Exploring Operation: 96-79=17, Resulting Numbers: [53, 53, 17]
Generated Node #0,1: 96:[53, 53, 17] Operation: 96-79=17
Exploring Operation: 79-53=26, Resulting Numbers: [53, 96, 26]
Generated Node #0,2: 96:[53, 96, 26] Operation: 79-53=26
Moving to Node #0,0
Current State: 96:[53, 96, 26], Operations: ['79-53=26']
Exploring Operation: 96-53=43, Resulting Numbers: [26, 43]
Generated Node #0,0,0: 96:[26, 43] Operation: 96-53=43
Exploring Operation: 53+26=79, Resulting Numbers: [96, 79]
Generated Node #0,0,1: 96:[96, 79] Operation: 53+26=79
Exploring Operation: 53-26=27, Resulting Numbers: [96, 27]
Generated Node #0,0,2: 96:[96, 27] Operation: 53-26=27
Moving to Node #0,2
Current State: 96:[53, 96, 26], Operations: ['79-53=26']
Exploring Operation: 53-26=27, Resulting Numbers: [96, 27]
Generated Node #0,2,0: 96:[96, 27] Operation: 53-26=27
Exploring Operation: 96-53=43, Resulting Numbers: [26, 43]
Generated Node #0,2,1: 96:[26, 43] Operation: 96-53=43
Exploring Operation: 53+26=79, Resulting Numbers: [96, 79]
Generated Node #0,2,2: 96:[96, 79] Operation: 53+26=79
Moving to Node #0,1
Current State: 96:[53, 53, 17], Operations: ['96-79=17']
Exploring Operation: 53/53=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 96:[17, 1] Operation: 53/53=1
Exploring Operation: 53-17=36, Resulting Numbers: [53, 36]
Generated Node #0,1,1: 96:[53, 36] Operation: 53-17=36
Exploring Operation: 53-53=0, Resulting Numbers: [17, 0]
Generated Node #0,1,2: 96:[17, 0] Operation: 53-53=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[17, 1], Operations: ['96-79=17', '53/53=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,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,1,2
Current State: 96:[17, 0], Operations: ['96-79=17', '53-53=0']
Exploring Operation: 17+0=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 17-0=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 17*0=0, Resulting Numbers: [0]
0,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,1,1
Current State: 96:[53, 36], Operations: ['96-79=17', '53-17=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,96 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,96 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 96:[96, 27], Operations: ['79-53=26', '53-26=27']
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,96 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[96, 27], Operations: ['79-53=26', '53-26=27']
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,96 unequal: No Solution
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,96 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[26, 43], Operations: ['79-53=26', '96-53=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[26, 43], Operations: ['79-53=26', '96-53=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,96 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[96, 79], Operations: ['79-53=26', '53+26=79']
Exploring Operation: 96+79=175, Resulting Numbers: [175]
175,96 unequal: No Solution
Exploring Operation: 96*79=7584, Resulting Numbers: [7584]
7584,96 unequal: No Solution
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[96, 79], Operations: ['79-53=26', '53+26=79']
Exploring Operation: 96*79=7584, Resulting Numbers: [7584]
7584,96 unequal: No Solution
Exploring Operation: 96+79=175, Resulting Numbers: [175]
175,96 unequal: No Solution
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
14,
20,
22
] | 16 | [
"20+22=42",
"42/14=3",
"19-3=16"
] | Current State: 16:[19, 14, 20, 22], Operations: []
Exploring Operation: 20+22=42, Resulting Numbers: [19, 14, 42]
Generated Node #2: [19, 14, 42] from Operation: 20+22=42
Current State: 16:[19, 14, 42], Operations: ['20+22=42']
Exploring Operation: 42/14=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 42/14=3
Current State: 16:[19, 3], Operations: ['20+22=42', '42/14=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[19, 14, 20, 22], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [19, 14, 2]
Generated Node #0,0: 16:[19, 14, 2] Operation: 22-20=2
Moving to Node #0,0
Current State: 16:[19, 14, 2], Operations: ['22-20=2']
Exploring Operation: 19-14=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 16:[2, 5] Operation: 19-14=5
Moving to Node #0,0,0
Current State: 16:[2, 5], Operations: ['22-20=2', '19-14=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
39,
93,
81
] | 80 | [
"29+39=68",
"93-81=12",
"68+12=80"
] | Current State: 80:[29, 39, 93, 81], Operations: []
Exploring Operation: 29+39=68, Resulting Numbers: [93, 81, 68]
Generated Node #2: [93, 81, 68] from Operation: 29+39=68
Current State: 80:[93, 81, 68], Operations: ['29+39=68']
Exploring Operation: 93-81=12, Resulting Numbers: [68, 12]
Generated Node #3: [68, 12] from Operation: 93-81=12
Current State: 80:[68, 12], Operations: ['29+39=68', '93-81=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[29, 39, 93, 81], Operations: []
Exploring Operation: 93-81=12, Resulting Numbers: [29, 39, 12]
Generated Node #0,0: 80:[29, 39, 12] Operation: 93-81=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[29, 39, 12], Operations: ['93-81=12']
Exploring Operation: 39-29=10, Resulting Numbers: [12, 10]
Generated Node #0,0,0: 80:[12, 10] Operation: 39-29=10
Moving to Node #0,0,0
Current State: 80:[12, 10], Operations: ['93-81=12', '39-29=10']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,80 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 |
[
79,
61,
8,
86
] | 62 | [
"79+61=140",
"86-8=78",
"140-78=62"
] | Current State: 62:[79, 61, 8, 86], Operations: []
Exploring Operation: 79+61=140, Resulting Numbers: [8, 86, 140]
Generated Node #2: [8, 86, 140] from Operation: 79+61=140
Current State: 62:[8, 86, 140], Operations: ['79+61=140']
Exploring Operation: 86-8=78, Resulting Numbers: [140, 78]
Generated Node #3: [140, 78] from Operation: 86-8=78
Current State: 62:[140, 78], Operations: ['79+61=140', '86-8=78']
Exploring Operation: 140-78=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[79, 61, 8, 86], Operations: []
Exploring Operation: 86-61=25, Resulting Numbers: [79, 8, 25]
Generated Node #0,0: 62:[79, 8, 25] Operation: 86-61=25
Exploring Operation: 79-8=71, Resulting Numbers: [61, 86, 71]
Generated Node #0,1: 62:[61, 86, 71] Operation: 79-8=71
Exploring Operation: 86-79=7, Resulting Numbers: [61, 8, 7]
Generated Node #0,2: 62:[61, 8, 7] Operation: 86-79=7
Moving to Node #0,2
Current State: 62:[61, 8, 7], Operations: ['86-79=7']
Exploring Operation: 61+8=69, Resulting Numbers: [7, 69]
Generated Node #0,2,0: 62:[7, 69] Operation: 61+8=69
Exploring Operation: 8-7=1, Resulting Numbers: [61, 1]
Generated Node #0,2,1: 62:[61, 1] Operation: 8-7=1
Exploring Operation: 8*7=56, Resulting Numbers: [61, 56]
Generated Node #0,2,2: 62:[61, 56] Operation: 8*7=56
Moving to Node #0,0
Current State: 62:[79, 8, 25], Operations: ['86-61=25']
Exploring Operation: 8+25=33, Resulting Numbers: [79, 33]
Generated Node #0,0,0: 62:[79, 33] Operation: 8+25=33
Exploring Operation: 79-8=71, Resulting Numbers: [25, 71]
Generated Node #0,0,1: 62:[25, 71] Operation: 79-8=71
Exploring Operation: 79-25=54, Resulting Numbers: [8, 54]
Generated Node #0,0,2: 62:[8, 54] Operation: 79-25=54
Moving to Node #0,1
Current State: 62:[61, 86, 71], Operations: ['79-8=71']
Exploring Operation: 86-71=15, Resulting Numbers: [61, 15]
Generated Node #0,1,0: 62:[61, 15] Operation: 86-71=15
Exploring Operation: 71-61=10, Resulting Numbers: [86, 10]
Generated Node #0,1,1: 62:[86, 10] Operation: 71-61=10
Exploring Operation: 86-61=25, Resulting Numbers: [71, 25]
Generated Node #0,1,2: 62:[71, 25] Operation: 86-61=25
Moving to Node #0,2,1
Current State: 62:[61, 1], Operations: ['86-79=7', '8-7=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[79, 61, 8, 86], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [61, 8, 7]
Generated Node #0,2: 62:[61, 8, 7] Operation: 86-79=7
Moving to Node #0,2
Current State: 62:[61, 8, 7], Operations: ['86-79=7']
Exploring Operation: 8-7=1, Resulting Numbers: [61, 1]
Generated Node #0,2,1: 62:[61, 1] Operation: 8-7=1
Moving to Node #0,2,1
Current State: 62:[61, 1], Operations: ['86-79=7', '8-7=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
19,
6,
81,
42
] | 57 | [
"42-19=23",
"6*23=138",
"138-81=57"
] | Current State: 57:[19, 6, 81, 42], Operations: []
Exploring Operation: 42-19=23, Resulting Numbers: [6, 81, 23]
Generated Node #2: [6, 81, 23] from Operation: 42-19=23
Current State: 57:[6, 81, 23], Operations: ['42-19=23']
Exploring Operation: 6*23=138, Resulting Numbers: [81, 138]
Generated Node #3: [81, 138] from Operation: 6*23=138
Current State: 57:[81, 138], Operations: ['42-19=23', '6*23=138']
Exploring Operation: 138-81=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[19, 6, 81, 42], Operations: []
Exploring Operation: 81-19=62, Resulting Numbers: [6, 42, 62]
Generated Node #0,0: 57:[6, 42, 62] Operation: 81-19=62
Exploring Operation: 81-42=39, Resulting Numbers: [19, 6, 39]
Generated Node #0,1: 57:[19, 6, 39] Operation: 81-42=39
Moving to Node #0,1
Current State: 57:[19, 6, 39], Operations: ['81-42=39']
Exploring Operation: 39-19=20, Resulting Numbers: [6, 20]
Generated Node #0,1,0: 57:[6, 20] Operation: 39-19=20
Exploring Operation: 19+39=58, Resulting Numbers: [6, 58]
Generated Node #0,1,1: 57:[6, 58] Operation: 19+39=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[6, 20], Operations: ['81-42=39', '39-19=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,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,1
Current State: 57:[6, 58], Operations: ['81-42=39', '19+39=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,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:[6, 42, 62], Operations: ['81-19=62']
Exploring Operation: 42/6=7, Resulting Numbers: [62, 7]
Generated Node #0,0,0: 57:[62, 7] Operation: 42/6=7
Exploring Operation: 62-42=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 57:[6, 20] Operation: 62-42=20
Moving to Node #0,0,1
Current State: 57:[6, 20], Operations: ['81-19=62', '62-42=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[62, 7], Operations: ['81-19=62', '42/6=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,57 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
11,
78,
4,
74
] | 28 | [
"78-11=67",
"74-67=7",
"4*7=28"
] | Current State: 28:[11, 78, 4, 74], Operations: []
Exploring Operation: 78-11=67, Resulting Numbers: [4, 74, 67]
Generated Node #2: [4, 74, 67] from Operation: 78-11=67
Current State: 28:[4, 74, 67], Operations: ['78-11=67']
Exploring Operation: 74-67=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 74-67=7
Current State: 28:[4, 7], Operations: ['78-11=67', '74-67=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[11, 78, 4, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [11, 4, 4]
Generated Node #0,0: 28:[11, 4, 4] Operation: 78-74=4
Exploring Operation: 78-11=67, Resulting Numbers: [4, 74, 67]
Generated Node #0,1: 28:[4, 74, 67] Operation: 78-11=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[11, 4, 4], Operations: ['78-74=4']
Exploring Operation: 11-4=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 28:[4, 7] Operation: 11-4=7
Exploring Operation: 11-4=7, Resulting Numbers: [4, 7]
Generated Node #0,0,1: 28:[4, 7] Operation: 11-4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 7], Operations: ['78-74=4', '11-4=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[11, 78, 4, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [11, 4, 4]
Generated Node #0,0: 28:[11, 4, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 28:[11, 4, 4], Operations: ['78-74=4']
Exploring Operation: 11-4=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 28:[4, 7] Operation: 11-4=7
Moving to Node #0,0,0
Current State: 28:[4, 7], Operations: ['78-74=4', '11-4=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
62,
73,
28,
22
] | 56 | [
"73-62=11",
"28*22=616",
"616/11=56"
] | Current State: 56:[62, 73, 28, 22], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [28, 22, 11]
Generated Node #2: [28, 22, 11] from Operation: 73-62=11
Current State: 56:[28, 22, 11], Operations: ['73-62=11']
Exploring Operation: 28*22=616, Resulting Numbers: [11, 616]
Generated Node #3: [11, 616] from Operation: 28*22=616
Current State: 56:[11, 616], Operations: ['73-62=11', '28*22=616']
Exploring Operation: 616/11=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[62, 73, 28, 22], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [28, 22, 11]
Generated Node #0,0: 56:[28, 22, 11] Operation: 73-62=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[28, 22, 11], Operations: ['73-62=11']
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 56:[28, 2] Operation: 22/11=2
Moving to Node #0,0,0
Current State: 56:[28, 2], Operations: ['73-62=11', '22/11=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[62, 73, 28, 22], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [28, 22, 11]
Generated Node #0,0: 56:[28, 22, 11] Operation: 73-62=11
Moving to Node #0,0
Current State: 56:[28, 22, 11], Operations: ['73-62=11']
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 56:[28, 2] Operation: 22/11=2
Moving to Node #0,0,0
Current State: 56:[28, 2], Operations: ['73-62=11', '22/11=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
67,
30,
52
] | 51 | [
"6+67=73",
"52-30=22",
"73-22=51"
] | Current State: 51:[6, 67, 30, 52], Operations: []
Exploring Operation: 6+67=73, Resulting Numbers: [30, 52, 73]
Generated Node #2: [30, 52, 73] from Operation: 6+67=73
Current State: 51:[30, 52, 73], Operations: ['6+67=73']
Exploring Operation: 52-30=22, Resulting Numbers: [73, 22]
Generated Node #3: [73, 22] from Operation: 52-30=22
Current State: 51:[73, 22], Operations: ['6+67=73', '52-30=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[6, 67, 30, 52], Operations: []
Exploring Operation: 67-30=37, Resulting Numbers: [6, 52, 37]
Generated Node #0,0: 51:[6, 52, 37] Operation: 67-30=37
Exploring Operation: 67-52=15, Resulting Numbers: [6, 30, 15]
Generated Node #0,1: 51:[6, 30, 15] Operation: 67-52=15
Moving to Node #0,0
Current State: 51:[6, 52, 37], Operations: ['67-30=37']
Exploring Operation: 52-37=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 51:[6, 15] Operation: 52-37=15
Exploring Operation: 6+37=43, Resulting Numbers: [52, 43]
Generated Node #0,0,1: 51:[52, 43] Operation: 6+37=43
Moving to Node #0,1
Current State: 51:[6, 30, 15], Operations: ['67-52=15']
Exploring Operation: 30/15=2, Resulting Numbers: [6, 2]
Generated Node #0,1,0: 51:[6, 2] Operation: 30/15=2
Exploring Operation: 30/6=5, Resulting Numbers: [15, 5]
Generated Node #0,1,1: 51:[15, 5] Operation: 30/6=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[6, 2], Operations: ['67-52=15', '30/15=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[15, 5], Operations: ['67-52=15', '30/6=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,51 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: 51:[6, 15], Operations: ['67-30=37', '52-37=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[52, 43], Operations: ['67-30=37', '6+37=43']
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
14,
96,
34
] | 17 | [
"34+14=48",
"96/48=2",
"34/2=17"
] | Current State: 17:[34, 14, 96, 34], Operations: []
Exploring Operation: 34+14=48, Resulting Numbers: [96, 48]
Generated Node #2: [96, 48] from Operation: 34+14=48
Current State: 17:[96, 48], Operations: ['34+14=48']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,17 equal: Goal Reached
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[34, 14, 96, 34], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [96, 34, 20]
Generated Node #0,0: 17:[96, 34, 20] Operation: 34-14=20
Exploring Operation: 96-34=62, Resulting Numbers: [14, 34, 62]
Generated Node #0,1: 17:[14, 34, 62] Operation: 96-34=62
Exploring Operation: 34/34=1, Resulting Numbers: [14, 96, 1]
Generated Node #0,2: 17:[14, 96, 1] Operation: 34/34=1
Exploring Operation: 96-34=62, Resulting Numbers: [34, 14, 62]
Generated Node #0,3: 17:[34, 14, 62] Operation: 96-34=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[14, 34, 62], Operations: ['96-34=62']
Exploring Operation: 34-14=20, Resulting Numbers: [62, 20]
Generated Node #0,1,0: 17:[62, 20] Operation: 34-14=20
Exploring Operation: 62-34=28, Resulting Numbers: [14, 28]
Generated Node #0,1,1: 17:[14, 28] Operation: 62-34=28
Exploring Operation: 62-14=48, Resulting Numbers: [34, 48]
Generated Node #0,1,2: 17:[34, 48] Operation: 62-14=48
Exploring Operation: 14+34=48, Resulting Numbers: [62, 48]
Generated Node #0,1,3: 17:[62, 48] Operation: 14+34=48
Moving to Node #0,1,1
Current State: 17:[14, 28], Operations: ['96-34=62', '62-34=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,17 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[34, 48], Operations: ['96-34=62', '62-14=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[62, 20], Operations: ['96-34=62', '34-14=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,17 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[62, 48], Operations: ['96-34=62', '14+34=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,17 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,17 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[34, 14, 62], Operations: ['96-34=62']
Exploring Operation: 34+14=48, Resulting Numbers: [62, 48]
Generated Node #0,3,0: 17:[62, 48] Operation: 34+14=48
Exploring Operation: 62-14=48, Resulting Numbers: [34, 48]
Generated Node #0,3,1: 17:[34, 48] Operation: 62-14=48
Exploring Operation: 34-14=20, Resulting Numbers: [62, 20]
Generated Node #0,3,2: 17:[62, 20] Operation: 34-14=20
Exploring Operation: 62-34=28, Resulting Numbers: [14, 28]
Generated Node #0,3,3: 17:[14, 28] Operation: 62-34=28
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 17:[14, 28], Operations: ['96-34=62', '62-34=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[34, 48], Operations: ['96-34=62', '62-14=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,17 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 17:[62, 20], Operations: ['96-34=62', '34-14=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,17 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 17:[62, 48], Operations: ['96-34=62', '34+14=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,17 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[14, 96, 1], Operations: ['34/34=1']
Exploring Operation: 14*1=14, Resulting Numbers: [96, 14]
Generated Node #0,2,0: 17:[96, 14] Operation: 14*1=14
Exploring Operation: 96-14=82, Resulting Numbers: [1, 82]
Generated Node #0,2,1: 17:[1, 82] Operation: 96-14=82
Exploring Operation: 14+1=15, Resulting Numbers: [96, 15]
Generated Node #0,2,2: 17:[96, 15] Operation: 14+1=15
Exploring Operation: 96-1=95, Resulting Numbers: [14, 95]
Generated Node #0,2,3: 17:[14, 95] Operation: 96-1=95
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 17:[1, 82], Operations: ['34/34=1', '96-14=82']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 1+82=83, Resulting Numbers: [83]
83,17 unequal: No Solution
Exploring Operation: 1*82=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[96, 15], Operations: ['34/34=1', '14+1=15']
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 96*15=1440, Resulting Numbers: [1440]
1440,17 unequal: No Solution
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 17:[14, 95], Operations: ['34/34=1', '96-1=95']
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,17 unequal: No Solution
Exploring Operation: 14*95=1330, Resulting Numbers: [1330]
1330,17 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[96, 14], Operations: ['34/34=1', '14*1=14']
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,17 unequal: No Solution
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[96, 34, 20], Operations: ['34-14=20']
Exploring Operation: 96-34=62, Resulting Numbers: [20, 62]
Generated Node #0,0,0: 17:[20, 62] Operation: 96-34=62
Exploring Operation: 96+34=130, Resulting Numbers: [20, 130]
Generated Node #0,0,1: 17:[20, 130] Operation: 96+34=130
Exploring Operation: 96-20=76, Resulting Numbers: [34, 76]
Generated Node #0,0,2: 17:[34, 76] Operation: 96-20=76
Exploring Operation: 34-20=14, Resulting Numbers: [96, 14]
Generated Node #0,0,3: 17:[96, 14] Operation: 34-20=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[20, 62], Operations: ['34-14=20', '96-34=62']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,17 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[34, 76], Operations: ['34-14=20', '96-20=76']
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,17 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[96, 14], Operations: ['34-14=20', '34-20=14']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,17 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,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:[20, 130], Operations: ['34-14=20', '96+34=130']
Exploring Operation: 20*130=2600, Resulting Numbers: [2600]
2600,17 unequal: No Solution
Exploring Operation: 20+130=150, Resulting Numbers: [150]
150,17 unequal: No Solution
Exploring Operation: 130-20=110, Resulting Numbers: [110]
110,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
81,
13,
4,
74
] | 75 | [
"4+74=78",
"78/13=6",
"81-6=75"
] | Current State: 75:[81, 13, 4, 74], Operations: []
Exploring Operation: 4+74=78, Resulting Numbers: [81, 13, 78]
Generated Node #2: [81, 13, 78] from Operation: 4+74=78
Current State: 75:[81, 13, 78], Operations: ['4+74=78']
Exploring Operation: 78/13=6, Resulting Numbers: [81, 6]
Generated Node #3: [81, 6] from Operation: 78/13=6
Current State: 75:[81, 6], Operations: ['4+74=78', '78/13=6']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[81, 13, 4, 74], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [13, 74, 77]
Generated Node #0,0: 75:[13, 74, 77] Operation: 81-4=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[13, 74, 77], Operations: ['81-4=77']
Exploring Operation: 77-74=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 75:[13, 3] Operation: 77-74=3
Moving to Node #0,0,0
Current State: 75:[13, 3], Operations: ['81-4=77', '77-74=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,75 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,
84,
24,
44
] | 46 | [
"66-24=42",
"84/42=2",
"44+2=46"
] | Current State: 46:[66, 84, 24, 44], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [84, 44, 42]
Generated Node #2: [84, 44, 42] from Operation: 66-24=42
Current State: 46:[84, 44, 42], Operations: ['66-24=42']
Exploring Operation: 84/42=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 84/42=2
Current State: 46:[44, 2], Operations: ['66-24=42', '84/42=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[66, 84, 24, 44], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [24, 44, 18]
Generated Node #0,0: 46:[24, 44, 18] Operation: 84-66=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[24, 44, 18], Operations: ['84-66=18']
Exploring Operation: 44-18=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 46:[24, 26] Operation: 44-18=26
Moving to Node #0,0,0
Current State: 46:[24, 26], Operations: ['84-66=18', '44-18=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,46 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 |
[
3,
86,
4,
63
] | 91 | [
"63-4=59",
"3*59=177",
"177-86=91"
] | Current State: 91:[3, 86, 4, 63], Operations: []
Exploring Operation: 63-4=59, Resulting Numbers: [3, 86, 59]
Generated Node #2: [3, 86, 59] from Operation: 63-4=59
Current State: 91:[3, 86, 59], Operations: ['63-4=59']
Exploring Operation: 3*59=177, Resulting Numbers: [86, 177]
Generated Node #3: [86, 177] from Operation: 3*59=177
Current State: 91:[86, 177], Operations: ['63-4=59', '3*59=177']
Exploring Operation: 177-86=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[3, 86, 4, 63], Operations: []
Exploring Operation: 86-63=23, Resulting Numbers: [3, 4, 23]
Generated Node #0,0: 91:[3, 4, 23] Operation: 86-63=23
Exploring Operation: 63/3=21, Resulting Numbers: [86, 4, 21]
Generated Node #0,1: 91:[86, 4, 21] Operation: 63/3=21
Exploring Operation: 3+63=66, Resulting Numbers: [86, 4, 66]
Generated Node #0,2: 91:[86, 4, 66] Operation: 3+63=66
Exploring Operation: 3+4=7, Resulting Numbers: [86, 63, 7]
Generated Node #0,3: 91:[86, 63, 7] Operation: 3+4=7
Exploring Operation: 3+86=89, Resulting Numbers: [4, 63, 89]
Generated Node #0,4: 91:[4, 63, 89] Operation: 3+86=89
Moving to Node #0,1
Current State: 91:[86, 4, 21], Operations: ['63/3=21']
Exploring Operation: 86+4=90, Resulting Numbers: [21, 90]
Generated Node #0,1,0: 91:[21, 90] Operation: 86+4=90
Exploring Operation: 4*21=84, Resulting Numbers: [86, 84]
Generated Node #0,1,1: 91:[86, 84] Operation: 4*21=84
Exploring Operation: 4+21=25, Resulting Numbers: [86, 25]
Generated Node #0,1,2: 91:[86, 25] Operation: 4+21=25
Exploring Operation: 21-4=17, Resulting Numbers: [86, 17]
Generated Node #0,1,3: 91:[86, 17] Operation: 21-4=17
Exploring Operation: 86-4=82, Resulting Numbers: [21, 82]
Generated Node #0,1,4: 91:[21, 82] Operation: 86-4=82
Moving to Node #0,0
Current State: 91:[3, 4, 23], Operations: ['86-63=23']
Exploring Operation: 23-4=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 91:[3, 19] Operation: 23-4=19
Exploring Operation: 23-3=20, Resulting Numbers: [4, 20]
Generated Node #0,0,1: 91:[4, 20] Operation: 23-3=20
Exploring Operation: 3*4=12, Resulting Numbers: [23, 12]
Generated Node #0,0,2: 91:[23, 12] Operation: 3*4=12
Exploring Operation: 3+4=7, Resulting Numbers: [23, 7]
Generated Node #0,0,3: 91:[23, 7] Operation: 3+4=7
Exploring Operation: 4*23=92, Resulting Numbers: [3, 92]
Generated Node #0,0,4: 91:[3, 92] Operation: 4*23=92
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 91:[3, 92], Operations: ['86-63=23', '4*23=92']
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[3, 19], Operations: ['86-63=23', '23-4=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[4, 20], Operations: ['86-63=23', '23-3=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[23, 7], Operations: ['86-63=23', '3+4=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[23, 12], Operations: ['86-63=23', '3*4=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,91 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,91 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: 91:[86, 4, 66], Operations: ['3+63=66']
Exploring Operation: 4+66=70, Resulting Numbers: [86, 70]
Generated Node #0,2,0: 91:[86, 70] Operation: 4+66=70
Exploring Operation: 86-4=82, Resulting Numbers: [66, 82]
Generated Node #0,2,1: 91:[66, 82] Operation: 86-4=82
Exploring Operation: 86-66=20, Resulting Numbers: [4, 20]
Generated Node #0,2,2: 91:[4, 20] Operation: 86-66=20
Exploring Operation: 86+4=90, Resulting Numbers: [66, 90]
Generated Node #0,2,3: 91:[66, 90] Operation: 86+4=90
Exploring Operation: 66-4=62, Resulting Numbers: [86, 62]
Generated Node #0,2,4: 91:[86, 62] Operation: 66-4=62
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[4, 20], Operations: ['3+63=66', '86-66=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[86, 70], Operations: ['3+63=66', '4+66=70']
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[66, 90], Operations: ['3+63=66', '86+4=90']
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 66+90=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 66*90=5940, Resulting Numbers: [5940]
5940,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[66, 82], Operations: ['3+63=66', '86-4=82']
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,91 unequal: No Solution
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[86, 62], Operations: ['3+63=66', '66-4=62']
Exploring Operation: 86*62=5332, Resulting Numbers: [5332]
5332,91 unequal: No Solution
Exploring Operation: 86+62=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[86, 63, 7], Operations: ['3+4=7']
Exploring Operation: 63+7=70, Resulting Numbers: [86, 70]
Generated Node #0,3,0: 91:[86, 70] Operation: 63+7=70
Exploring Operation: 86-7=79, Resulting Numbers: [63, 79]
Generated Node #0,3,1: 91:[63, 79] Operation: 86-7=79
Exploring Operation: 86-63=23, Resulting Numbers: [7, 23]
Generated Node #0,3,2: 91:[7, 23] Operation: 86-63=23
Exploring Operation: 86+7=93, Resulting Numbers: [63, 93]
Generated Node #0,3,3: 91:[63, 93] Operation: 86+7=93
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #0,3,4: 91:[86, 9] Operation: 63/7=9
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[86, 9], Operations: ['3+4=7', '63/7=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,91 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[7, 23], Operations: ['3+4=7', '86-63=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[86, 70], Operations: ['3+4=7', '63+7=70']
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[63, 93], Operations: ['3+4=7', '86+7=93']
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,91 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[63, 79], Operations: ['3+4=7', '86-7=79']
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,91 unequal: No Solution
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,91 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 91:[4, 63, 89], Operations: ['3+86=89']
Exploring Operation: 89-63=26, Resulting Numbers: [4, 26]
Generated Node #0,4,0: 91:[4, 26] Operation: 89-63=26
Exploring Operation: 63-4=59, Resulting Numbers: [89, 59]
Generated Node #0,4,1: 91:[89, 59] Operation: 63-4=59
Exploring Operation: 4+89=93, Resulting Numbers: [63, 93]
Generated Node #0,4,2: 91:[63, 93] Operation: 4+89=93
Exploring Operation: 4+63=67, Resulting Numbers: [89, 67]
Generated Node #0,4,3: 91:[89, 67] Operation: 4+63=67
Exploring Operation: 89-4=85, Resulting Numbers: [63, 85]
Generated Node #0,4,4: 91:[63, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[4, 26], Operations: ['3+86=89', '89-63=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 91:[89, 67], Operations: ['3+86=89', '4+63=67']
Exploring Operation: 89+67=156, Resulting Numbers: [156]
156,91 unequal: No Solution
Exploring Operation: 89-67=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 89*67=5963, Resulting Numbers: [5963]
5963,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 91:[63, 93], Operations: ['3+86=89', '4+89=93']
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,91 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,91 unequal: No Solution
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 91:[89, 59], Operations: ['3+86=89', '63-4=59']
Exploring Operation: 89+59=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Exploring Operation: 89*59=5251, Resulting Numbers: [5251]
5251,91 unequal: No Solution
Exploring Operation: 89-59=30, Resulting Numbers: [30]
30,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 91:[63, 85], Operations: ['3+86=89', '89-4=85']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,91 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,91 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: 91:[21, 90], Operations: ['63/3=21', '86+4=90']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 21+90=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 21*90=1890, Resulting Numbers: [1890]
1890,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[86, 17], Operations: ['63/3=21', '21-4=17']
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[86, 84], Operations: ['63/3=21', '4*21=84']
Exploring Operation: 86+84=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 86*84=7224, Resulting Numbers: [7224]
7224,91 unequal: No Solution
Exploring Operation: 86-84=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[86, 25], Operations: ['63/3=21', '4+21=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,91 unequal: No Solution
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,91 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[21, 82], Operations: ['63/3=21', '86-4=82']
Exploring Operation: 21+82=103, Resulting Numbers: [103]
103,91 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,91 unequal: No Solution
Exploring Operation: 21*82=1722, Resulting Numbers: [1722]
1722,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
34,
34,
62
] | 52 | [
"62-11=51",
"34/34=1",
"51+1=52"
] | Current State: 52:[11, 34, 34, 62], Operations: []
Exploring Operation: 62-11=51, Resulting Numbers: [34, 34, 51]
Generated Node #2: [34, 34, 51] from Operation: 62-11=51
Current State: 52:[34, 34, 51], Operations: ['62-11=51']
Exploring Operation: 34/34=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 34/34=1
Current State: 52:[51, 1], Operations: ['62-11=51', '34/34=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[11, 34, 34, 62], Operations: []
Exploring Operation: 62-34=28, Resulting Numbers: [11, 34, 28]
Generated Node #0,0: 52:[11, 34, 28] Operation: 62-34=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[11, 34, 28], Operations: ['62-34=28']
Exploring Operation: 34-28=6, Resulting Numbers: [11, 6]
Generated Node #0,0,0: 52:[11, 6] Operation: 34-28=6
Moving to Node #0,0,0
Current State: 52:[11, 6], Operations: ['62-34=28', '34-28=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
22,
57,
13
] | 81 | [
"15+22=37",
"57-13=44",
"37+44=81"
] | Current State: 81:[15, 22, 57, 13], Operations: []
Exploring Operation: 15+22=37, Resulting Numbers: [57, 13, 37]
Generated Node #2: [57, 13, 37] from Operation: 15+22=37
Current State: 81:[57, 13, 37], Operations: ['15+22=37']
Exploring Operation: 57-13=44, Resulting Numbers: [37, 44]
Generated Node #3: [37, 44] from Operation: 57-13=44
Current State: 81:[37, 44], Operations: ['15+22=37', '57-13=44']
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[15, 22, 57, 13], Operations: []
Exploring Operation: 22+57=79, Resulting Numbers: [15, 13, 79]
Generated Node #0,0: 81:[15, 13, 79] Operation: 22+57=79
Exploring Operation: 57+13=70, Resulting Numbers: [15, 22, 70]
Generated Node #0,1: 81:[15, 22, 70] Operation: 57+13=70
Exploring Operation: 15+57=72, Resulting Numbers: [22, 13, 72]
Generated Node #0,2: 81:[22, 13, 72] Operation: 15+57=72
Exploring Operation: 57-22=35, Resulting Numbers: [15, 13, 35]
Generated Node #0,3: 81:[15, 13, 35] Operation: 57-22=35
Moving to Node #0,0
Current State: 81:[15, 13, 79], Operations: ['22+57=79']
Exploring Operation: 15-13=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 81:[79, 2] Operation: 15-13=2
Exploring Operation: 15+79=94, Resulting Numbers: [13, 94]
Generated Node #0,0,1: 81:[13, 94] Operation: 15+79=94
Exploring Operation: 15+13=28, Resulting Numbers: [79, 28]
Generated Node #0,0,2: 81:[79, 28] Operation: 15+13=28
Exploring Operation: 13+79=92, Resulting Numbers: [15, 92]
Generated Node #0,0,3: 81:[15, 92] Operation: 13+79=92
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[79, 2], Operations: ['22+57=79', '15-13=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[15, 22, 57, 13], Operations: []
Exploring Operation: 22+57=79, Resulting Numbers: [15, 13, 79]
Generated Node #0,0: 81:[15, 13, 79] Operation: 22+57=79
Moving to Node #0,0
Current State: 81:[15, 13, 79], Operations: ['22+57=79']
Exploring Operation: 15-13=2, Resulting Numbers: [79, 2]
Generated Node #0,0,0: 81:[79, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 81:[79, 2], Operations: ['22+57=79', '15-13=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
75,
52,
14,
40
] | 77 | [
"75-52=23",
"14+40=54",
"23+54=77"
] | Current State: 77:[75, 52, 14, 40], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [14, 40, 23]
Generated Node #2: [14, 40, 23] from Operation: 75-52=23
Current State: 77:[14, 40, 23], Operations: ['75-52=23']
Exploring Operation: 14+40=54, Resulting Numbers: [23, 54]
Generated Node #3: [23, 54] from Operation: 14+40=54
Current State: 77:[23, 54], Operations: ['75-52=23', '14+40=54']
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[75, 52, 14, 40], Operations: []
Exploring Operation: 52+14=66, Resulting Numbers: [75, 40, 66]
Generated Node #0,0: 77:[75, 40, 66] Operation: 52+14=66
Exploring Operation: 52+40=92, Resulting Numbers: [75, 14, 92]
Generated Node #0,1: 77:[75, 14, 92] Operation: 52+40=92
Exploring Operation: 52-40=12, Resulting Numbers: [75, 14, 12]
Generated Node #0,2: 77:[75, 14, 12] Operation: 52-40=12
Moving to Node #0,2
Current State: 77:[75, 14, 12], Operations: ['52-40=12']
Exploring Operation: 14-12=2, Resulting Numbers: [75, 2]
Generated Node #0,2,0: 77:[75, 2] Operation: 14-12=2
Exploring Operation: 75+12=87, Resulting Numbers: [14, 87]
Generated Node #0,2,1: 77:[14, 87] Operation: 75+12=87
Exploring Operation: 75+14=89, Resulting Numbers: [12, 89]
Generated Node #0,2,2: 77:[12, 89] Operation: 75+14=89
Moving to Node #0,1
Current State: 77:[75, 14, 92], Operations: ['52+40=92']
Exploring Operation: 92-75=17, Resulting Numbers: [14, 17]
Generated Node #0,1,0: 77:[14, 17] Operation: 92-75=17
Exploring Operation: 92-14=78, Resulting Numbers: [75, 78]
Generated Node #0,1,1: 77:[75, 78] Operation: 92-14=78
Exploring Operation: 75+14=89, Resulting Numbers: [92, 89]
Generated Node #0,1,2: 77:[92, 89] Operation: 75+14=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[75, 78], Operations: ['52+40=92', '92-14=78']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,77 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[14, 17], Operations: ['52+40=92', '92-75=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,77 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[92, 89], Operations: ['52+40=92', '75+14=89']
Exploring Operation: 92*89=8188, Resulting Numbers: [8188]
8188,77 unequal: No Solution
Exploring Operation: 92-89=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 92+89=181, Resulting Numbers: [181]
181,77 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: 77:[75, 40, 66], Operations: ['52+14=66']
Exploring Operation: 66-40=26, Resulting Numbers: [75, 26]
Generated Node #0,0,0: 77:[75, 26] Operation: 66-40=26
Exploring Operation: 40+66=106, Resulting Numbers: [75, 106]
Generated Node #0,0,1: 77:[75, 106] Operation: 40+66=106
Exploring Operation: 75-66=9, Resulting Numbers: [40, 9]
Generated Node #0,0,2: 77:[40, 9] Operation: 75-66=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[75, 26], Operations: ['52+14=66', '66-40=26']
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,77 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[75, 106], Operations: ['52+14=66', '40+66=106']
Exploring Operation: 106-75=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 75+106=181, Resulting Numbers: [181]
181,77 unequal: No Solution
Exploring Operation: 75*106=7950, Resulting Numbers: [7950]
7950,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[40, 9], Operations: ['52+14=66', '75-66=9']
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,77 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 77:[75, 2], Operations: ['52-40=12', '14-12=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[75, 52, 14, 40], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [75, 14, 12]
Generated Node #0,2: 77:[75, 14, 12] Operation: 52-40=12
Moving to Node #0,2
Current State: 77:[75, 14, 12], Operations: ['52-40=12']
Exploring Operation: 14-12=2, Resulting Numbers: [75, 2]
Generated Node #0,2,0: 77:[75, 2] Operation: 14-12=2
Moving to Node #0,2,0
Current State: 77:[75, 2], Operations: ['52-40=12', '14-12=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
40,
4,
30,
36
] | 61 | [
"40+30=70",
"36/4=9",
"70-9=61"
] | Current State: 61:[40, 4, 30, 36], Operations: []
Exploring Operation: 40+30=70, Resulting Numbers: [4, 36, 70]
Generated Node #2: [4, 36, 70] from Operation: 40+30=70
Current State: 61:[4, 36, 70], Operations: ['40+30=70']
Exploring Operation: 36/4=9, Resulting Numbers: [70, 9]
Generated Node #3: [70, 9] from Operation: 36/4=9
Current State: 61:[70, 9], Operations: ['40+30=70', '36/4=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[40, 4, 30, 36], Operations: []
Exploring Operation: 4+30=34, Resulting Numbers: [40, 36, 34]
Generated Node #0,0: 61:[40, 36, 34] Operation: 4+30=34
Exploring Operation: 40+4=44, Resulting Numbers: [30, 36, 44]
Generated Node #0,1: 61:[30, 36, 44] Operation: 40+4=44
Moving to Node #0,0
Current State: 61:[40, 36, 34], Operations: ['4+30=34']
Exploring Operation: 36+34=70, Resulting Numbers: [40, 70]
Generated Node #0,0,0: 61:[40, 70] Operation: 36+34=70
Exploring Operation: 40+34=74, Resulting Numbers: [36, 74]
Generated Node #0,0,1: 61:[36, 74] Operation: 40+34=74
Moving to Node #0,1
Current State: 61:[30, 36, 44], Operations: ['40+4=44']
Exploring Operation: 30+36=66, Resulting Numbers: [44, 66]
Generated Node #0,1,0: 61:[44, 66] Operation: 30+36=66
Exploring Operation: 30+44=74, Resulting Numbers: [36, 74]
Generated Node #0,1,1: 61:[36, 74] Operation: 30+44=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[44, 66], Operations: ['40+4=44', '30+36=66']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 44+66=110, Resulting Numbers: [110]
110,61 unequal: No Solution
No 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: 61:[36, 74], Operations: ['40+4=44', '30+44=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,61 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: 61:[40, 70], Operations: ['4+30=34', '36+34=70']
Exploring Operation: 40+70=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[36, 74], Operations: ['4+30=34', '40+34=74']
Exploring Operation: 36+74=110, Resulting Numbers: [110]
110,61 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
80,
33,
70,
61
] | 56 | [
"80-33=47",
"70-61=9",
"47+9=56"
] | Current State: 56:[80, 33, 70, 61], Operations: []
Exploring Operation: 80-33=47, Resulting Numbers: [70, 61, 47]
Generated Node #2: [70, 61, 47] from Operation: 80-33=47
Current State: 56:[70, 61, 47], Operations: ['80-33=47']
Exploring Operation: 70-61=9, Resulting Numbers: [47, 9]
Generated Node #3: [47, 9] from Operation: 70-61=9
Current State: 56:[47, 9], Operations: ['80-33=47', '70-61=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[80, 33, 70, 61], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [33, 61, 10]
Generated Node #0,0: 56:[33, 61, 10] Operation: 80-70=10
Moving to Node #0,0
Current State: 56:[33, 61, 10], Operations: ['80-70=10']
Exploring Operation: 61-33=28, Resulting Numbers: [10, 28]
Generated Node #0,0,0: 56:[10, 28] Operation: 61-33=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[10, 28], Operations: ['80-70=10', '61-33=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,56 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 |
[
36,
93,
28,
21
] | 80 | [
"36+93=129",
"28+21=49",
"129-49=80"
] | Current State: 80:[36, 93, 28, 21], Operations: []
Exploring Operation: 36+93=129, Resulting Numbers: [28, 21, 129]
Generated Node #2: [28, 21, 129] from Operation: 36+93=129
Current State: 80:[28, 21, 129], Operations: ['36+93=129']
Exploring Operation: 28+21=49, Resulting Numbers: [129, 49]
Generated Node #3: [129, 49] from Operation: 28+21=49
Current State: 80:[129, 49], Operations: ['36+93=129', '28+21=49']
Exploring Operation: 129-49=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[36, 93, 28, 21], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [36, 28, 72]
Generated Node #0,0: 80:[36, 28, 72] Operation: 93-21=72
Exploring Operation: 28-21=7, Resulting Numbers: [36, 93, 7]
Generated Node #0,1: 80:[36, 93, 7] Operation: 28-21=7
Exploring Operation: 36-28=8, Resulting Numbers: [93, 21, 8]
Generated Node #0,2: 80:[93, 21, 8] Operation: 36-28=8
Exploring Operation: 93-28=65, Resulting Numbers: [36, 21, 65]
Generated Node #0,3: 80:[36, 21, 65] Operation: 93-28=65
Moving to Node #0,2
Current State: 80:[93, 21, 8], Operations: ['36-28=8']
Exploring Operation: 93-21=72, Resulting Numbers: [8, 72]
Generated Node #0,2,0: 80:[8, 72] Operation: 93-21=72
Exploring Operation: 21-8=13, Resulting Numbers: [93, 13]
Generated Node #0,2,1: 80:[93, 13] Operation: 21-8=13
Exploring Operation: 93+8=101, Resulting Numbers: [21, 101]
Generated Node #0,2,2: 80:[21, 101] Operation: 93+8=101
Exploring Operation: 93-8=85, Resulting Numbers: [21, 85]
Generated Node #0,2,3: 80:[21, 85] Operation: 93-8=85
Moving to Node #0,1
Current State: 80:[36, 93, 7], Operations: ['28-21=7']
Exploring Operation: 36+7=43, Resulting Numbers: [93, 43]
Generated Node #0,1,0: 80:[93, 43] Operation: 36+7=43
Exploring Operation: 93-7=86, Resulting Numbers: [36, 86]
Generated Node #0,1,1: 80:[36, 86] Operation: 93-7=86
Exploring Operation: 93-36=57, Resulting Numbers: [7, 57]
Generated Node #0,1,2: 80:[7, 57] Operation: 93-36=57
Exploring Operation: 36-7=29, Resulting Numbers: [93, 29]
Generated Node #0,1,3: 80:[93, 29] Operation: 36-7=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[36, 86], Operations: ['28-21=7', '93-7=86']
Exploring Operation: 36*86=3096, Resulting Numbers: [3096]
3096,80 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 36+86=122, Resulting Numbers: [122]
122,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[93, 43], Operations: ['28-21=7', '36+7=43']
Exploring Operation: 93*43=3999, Resulting Numbers: [3999]
3999,80 unequal: No Solution
Exploring Operation: 93+43=136, Resulting Numbers: [136]
136,80 unequal: No Solution
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[7, 57], Operations: ['28-21=7', '93-36=57']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,80 unequal: No Solution
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[93, 29], Operations: ['28-21=7', '36-7=29']
Exploring Operation: 93+29=122, Resulting Numbers: [122]
122,80 unequal: No Solution
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 93*29=2697, Resulting Numbers: [2697]
2697,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 80:[36, 21, 65], Operations: ['93-28=65']
Exploring Operation: 65-36=29, Resulting Numbers: [21, 29]
Generated Node #0,3,0: 80:[21, 29] Operation: 65-36=29
Exploring Operation: 21+65=86, Resulting Numbers: [36, 86]
Generated Node #0,3,1: 80:[36, 86] Operation: 21+65=86
Exploring Operation: 65-21=44, Resulting Numbers: [36, 44]
Generated Node #0,3,2: 80:[36, 44] Operation: 65-21=44
Exploring Operation: 36-21=15, Resulting Numbers: [65, 15]
Generated Node #0,3,3: 80:[65, 15] Operation: 36-21=15
Moving to Node #0,0
Current State: 80:[36, 28, 72], Operations: ['93-21=72']
Exploring Operation: 36-28=8, Resulting Numbers: [72, 8]
Generated Node #0,0,0: 80:[72, 8] Operation: 36-28=8
Exploring Operation: 72-36=36, Resulting Numbers: [28, 36]
Generated Node #0,0,1: 80:[28, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [28, 2]
Generated Node #0,0,2: 80:[28, 2] Operation: 72/36=2
Exploring Operation: 72-28=44, Resulting Numbers: [36, 44]
Generated Node #0,0,3: 80:[36, 44] Operation: 72-28=44
Moving to Node #0,2,3
Current State: 80:[21, 85], Operations: ['36-28=8', '93-8=85']
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,80 unequal: No Solution
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[8, 72], Operations: ['36-28=8', '93-21=72']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,80 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[36, 93, 28, 21], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [93, 21, 8]
Generated Node #0,2: 80:[93, 21, 8] Operation: 36-28=8
Moving to Node #0,2
Current State: 80:[93, 21, 8], Operations: ['36-28=8']
Exploring Operation: 93-21=72, Resulting Numbers: [8, 72]
Generated Node #0,2,0: 80:[8, 72] Operation: 93-21=72
Moving to Node #0,2,0
Current State: 80:[8, 72], Operations: ['36-28=8', '93-21=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.963542 | hs_4 | mult_heuristic |
[
56,
67,
77,
62
] | 60 | [
"62-56=6",
"77-67=10",
"6*10=60"
] | Current State: 60:[56, 67, 77, 62], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [67, 77, 6]
Generated Node #2: [67, 77, 6] from Operation: 62-56=6
Current State: 60:[67, 77, 6], Operations: ['62-56=6']
Exploring Operation: 77-67=10, Resulting Numbers: [6, 10]
Generated Node #3: [6, 10] from Operation: 77-67=10
Current State: 60:[6, 10], Operations: ['62-56=6', '77-67=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[56, 67, 77, 62], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [56, 62, 10]
Generated Node #0,0: 60:[56, 62, 10] Operation: 77-67=10
Exploring Operation: 77-62=15, Resulting Numbers: [56, 67, 15]
Generated Node #0,1: 60:[56, 67, 15] Operation: 77-62=15
Exploring Operation: 77-56=21, Resulting Numbers: [67, 62, 21]
Generated Node #0,2: 60:[67, 62, 21] Operation: 77-56=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[56, 62, 10], Operations: ['77-67=10']
Exploring Operation: 62-10=52, Resulting Numbers: [56, 52]
Generated Node #0,0,0: 60:[56, 52] Operation: 62-10=52
Exploring Operation: 56+10=66, Resulting Numbers: [62, 66]
Generated Node #0,0,1: 60:[62, 66] Operation: 56+10=66
Exploring Operation: 62-56=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 60:[10, 6] Operation: 62-56=6
Moving to Node #0,0,2
Current State: 60:[10, 6], Operations: ['77-67=10', '62-56=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[56, 67, 77, 62], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [56, 62, 10]
Generated Node #0,0: 60:[56, 62, 10] Operation: 77-67=10
Moving to Node #0,0
Current State: 60:[56, 62, 10], Operations: ['77-67=10']
Exploring Operation: 62-56=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 60:[10, 6] Operation: 62-56=6
Moving to Node #0,0,2
Current State: 60:[10, 6], Operations: ['77-67=10', '62-56=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
72,
55,
65,
67
] | 19 | [
"72-55=17",
"67-65=2",
"17+2=19"
] | Current State: 19:[72, 55, 65, 67], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [65, 67, 17]
Generated Node #2: [65, 67, 17] from Operation: 72-55=17
Current State: 19:[65, 67, 17], Operations: ['72-55=17']
Exploring Operation: 67-65=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 67-65=2
Current State: 19:[17, 2], Operations: ['72-55=17', '67-65=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[72, 55, 65, 67], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [65, 67, 17]
Generated Node #0,0: 19:[65, 67, 17] Operation: 72-55=17
Exploring Operation: 72-65=7, Resulting Numbers: [55, 67, 7]
Generated Node #0,1: 19:[55, 67, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 19:[65, 67, 17], Operations: ['72-55=17']
Exploring Operation: 65-17=48, Resulting Numbers: [67, 48]
Generated Node #0,0,0: 19:[67, 48] Operation: 65-17=48
Exploring Operation: 67-65=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 19:[17, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[17, 2], Operations: ['72-55=17', '67-65=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[72, 55, 65, 67], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [65, 67, 17]
Generated Node #0,0: 19:[65, 67, 17] Operation: 72-55=17
Moving to Node #0,0
Current State: 19:[65, 67, 17], Operations: ['72-55=17']
Exploring Operation: 67-65=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 19:[17, 2] Operation: 67-65=2
Moving to Node #0,0,1
Current State: 19:[17, 2], Operations: ['72-55=17', '67-65=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
54,
9,
62,
61
] | 78 | [
"54-9=45",
"62+61=123",
"123-45=78"
] | Current State: 78:[54, 9, 62, 61], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [62, 61, 45]
Generated Node #2: [62, 61, 45] from Operation: 54-9=45
Current State: 78:[62, 61, 45], Operations: ['54-9=45']
Exploring Operation: 62+61=123, Resulting Numbers: [45, 123]
Generated Node #3: [45, 123] from Operation: 62+61=123
Current State: 78:[45, 123], Operations: ['54-9=45', '62+61=123']
Exploring Operation: 123-45=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[54, 9, 62, 61], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [54, 9, 1]
Generated Node #0,0: 78:[54, 9, 1] Operation: 62-61=1
Moving to Node #0,0
Current State: 78:[54, 9, 1], Operations: ['62-61=1']
Exploring Operation: 54/9=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 78:[1, 6] Operation: 54/9=6
Moving to Node #0,0,0
Current State: 78:[1, 6], Operations: ['62-61=1', '54/9=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
85,
1,
6
] | 84 | [
"85-70=15",
"15-1=14",
"6*14=84"
] | Current State: 84:[70, 85, 1, 6], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [1, 6, 15]
Generated Node #2: [1, 6, 15] from Operation: 85-70=15
Current State: 84:[1, 6, 15], Operations: ['85-70=15']
Exploring Operation: 15-1=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 15-1=14
Current State: 84:[6, 14], Operations: ['85-70=15', '15-1=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[70, 85, 1, 6], Operations: []
Exploring Operation: 70+1=71, Resulting Numbers: [85, 6, 71]
Generated Node #0,0: 84:[85, 6, 71] Operation: 70+1=71
Exploring Operation: 70+6=76, Resulting Numbers: [85, 1, 76]
Generated Node #0,1: 84:[85, 1, 76] Operation: 70+6=76
Exploring Operation: 70*1=70, Resulting Numbers: [85, 6, 70]
Generated Node #0,2: 84:[85, 6, 70] Operation: 70*1=70
Exploring Operation: 85-70=15, Resulting Numbers: [1, 6, 15]
Generated Node #0,3: 84:[1, 6, 15] Operation: 85-70=15
Exploring Operation: 85-1=84, Resulting Numbers: [70, 6, 84]
Generated Node #0,4: 84:[70, 6, 84] Operation: 85-1=84
Moving to Node #0,3
Current State: 84:[1, 6, 15], Operations: ['85-70=15']
Exploring Operation: 1+6=7, Resulting Numbers: [15, 7]
Generated Node #0,3,0: 84:[15, 7] Operation: 1+6=7
Exploring Operation: 1*6=6, Resulting Numbers: [15, 6]
Generated Node #0,3,1: 84:[15, 6] Operation: 1*6=6
Exploring Operation: 15-1=14, Resulting Numbers: [6, 14]
Generated Node #0,3,2: 84:[6, 14] Operation: 15-1=14
Exploring Operation: 1*15=15, Resulting Numbers: [6, 15]
Generated Node #0,3,3: 84:[6, 15] Operation: 1*15=15
Exploring Operation: 6/1=6, Resulting Numbers: [15, 6]
Generated Node #0,3,4: 84:[15, 6] Operation: 6/1=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[6, 14], Operations: ['85-70=15', '15-1=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[70, 85, 1, 6], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [1, 6, 15]
Generated Node #0,3: 84:[1, 6, 15] Operation: 85-70=15
Moving to Node #0,3
Current State: 84:[1, 6, 15], Operations: ['85-70=15']
Exploring Operation: 15-1=14, Resulting Numbers: [6, 14]
Generated Node #0,3,2: 84:[6, 14] Operation: 15-1=14
Moving to Node #0,3,2
Current State: 84:[6, 14], Operations: ['85-70=15', '15-1=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
47,
20,
11,
51
] | 89 | [
"47-20=27",
"11+51=62",
"27+62=89"
] | Current State: 89:[47, 20, 11, 51], Operations: []
Exploring Operation: 47-20=27, Resulting Numbers: [11, 51, 27]
Generated Node #2: [11, 51, 27] from Operation: 47-20=27
Current State: 89:[11, 51, 27], Operations: ['47-20=27']
Exploring Operation: 11+51=62, Resulting Numbers: [27, 62]
Generated Node #3: [27, 62] from Operation: 11+51=62
Current State: 89:[27, 62], Operations: ['47-20=27', '11+51=62']
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[47, 20, 11, 51], Operations: []
Exploring Operation: 47+20=67, Resulting Numbers: [11, 51, 67]
Generated Node #0,0: 89:[11, 51, 67] Operation: 47+20=67
Exploring Operation: 47+11=58, Resulting Numbers: [20, 51, 58]
Generated Node #0,1: 89:[20, 51, 58] Operation: 47+11=58
Moving to Node #0,0
Current State: 89:[11, 51, 67], Operations: ['47+20=67']
Exploring Operation: 11+67=78, Resulting Numbers: [51, 78]
Generated Node #0,0,0: 89:[51, 78] Operation: 11+67=78
Exploring Operation: 11+51=62, Resulting Numbers: [67, 62]
Generated Node #0,0,1: 89:[67, 62] Operation: 11+51=62
Moving to Node #0,1
Current State: 89:[20, 51, 58], Operations: ['47+11=58']
Exploring Operation: 20+51=71, Resulting Numbers: [58, 71]
Generated Node #0,1,0: 89:[58, 71] Operation: 20+51=71
Exploring Operation: 20+58=78, Resulting Numbers: [51, 78]
Generated Node #0,1,1: 89:[51, 78] Operation: 20+58=78
Moving to Node #0,0,0
Current State: 89:[51, 78], Operations: ['47+20=67', '11+67=78']
Exploring Operation: 51+78=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[58, 71], Operations: ['47+11=58', '20+51=71']
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[67, 62], Operations: ['47+20=67', '11+51=62']
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[51, 78], Operations: ['47+11=58', '20+58=78']
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,89 unequal: No Solution
Exploring Operation: 51+78=129, Resulting Numbers: [129]
129,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
20,
71,
9
] | 50 | [
"20+71=91",
"9+91=100",
"100/2=50"
] | Current State: 50:[2, 20, 71, 9], Operations: []
Exploring Operation: 20+71=91, Resulting Numbers: [2, 9, 91]
Generated Node #2: [2, 9, 91] from Operation: 20+71=91
Current State: 50:[2, 9, 91], Operations: ['20+71=91']
Exploring Operation: 9+91=100, Resulting Numbers: [2, 100]
Generated Node #3: [2, 100] from Operation: 9+91=100
Current State: 50:[2, 100], Operations: ['20+71=91', '9+91=100']
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[2, 20, 71, 9], Operations: []
Exploring Operation: 20/2=10, Resulting Numbers: [71, 9, 10]
Generated Node #0,0: 50:[71, 9, 10] Operation: 20/2=10
Exploring Operation: 71-9=62, Resulting Numbers: [2, 20, 62]
Generated Node #0,1: 50:[2, 20, 62] Operation: 71-9=62
Exploring Operation: 71-20=51, Resulting Numbers: [2, 9, 51]
Generated Node #0,2: 50:[2, 9, 51] Operation: 71-20=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[2, 9, 51], Operations: ['71-20=51']
Exploring Operation: 51-2=49, Resulting Numbers: [9, 49]
Generated Node #0,2,0: 50:[9, 49] Operation: 51-2=49
Exploring Operation: 9-2=7, Resulting Numbers: [51, 7]
Generated Node #0,2,1: 50:[51, 7] Operation: 9-2=7
Exploring Operation: 2+9=11, Resulting Numbers: [51, 11]
Generated Node #0,2,2: 50:[51, 11] Operation: 2+9=11
Moving to Node #0,2,0
Current State: 50:[9, 49], Operations: ['71-20=51', '51-2=49']
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,50 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,50 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[51, 11], Operations: ['71-20=51', '2+9=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,50 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[51, 7], Operations: ['71-20=51', '9-2=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,50 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[2, 20, 62], Operations: ['71-9=62']
Exploring Operation: 62-20=42, Resulting Numbers: [2, 42]
Generated Node #0,1,0: 50:[2, 42] Operation: 62-20=42
Exploring Operation: 62/2=31, Resulting Numbers: [20, 31]
Generated Node #0,1,1: 50:[20, 31] Operation: 62/2=31
Exploring Operation: 20/2=10, Resulting Numbers: [62, 10]
Generated Node #0,1,2: 50:[62, 10] Operation: 20/2=10
Moving to Node #0,1,0
Current State: 50:[2, 42], Operations: ['71-9=62', '62-20=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[20, 31], Operations: ['71-9=62', '62/2=31']
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,50 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[62, 10], Operations: ['71-9=62', '20/2=10']
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,50 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[71, 9, 10], Operations: ['20/2=10']
Exploring Operation: 71-10=61, Resulting Numbers: [9, 61]
Generated Node #0,0,0: 50:[9, 61] Operation: 71-10=61
Exploring Operation: 71-9=62, Resulting Numbers: [10, 62]
Generated Node #0,0,1: 50:[10, 62] Operation: 71-9=62
Exploring Operation: 10-9=1, Resulting Numbers: [71, 1]
Generated Node #0,0,2: 50:[71, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[9, 61], Operations: ['20/2=10', '71-10=61']
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,50 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No 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: 50:[10, 62], Operations: ['20/2=10', '71-9=62']
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,50 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No 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: 50:[71, 1], Operations: ['20/2=10', '10-9=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
10,
79,
6
] | 28 | [
"10*79=790",
"790-6=784",
"784/28=28"
] | Current State: 28:[28, 10, 79, 6], Operations: []
Exploring Operation: 10*79=790, Resulting Numbers: [28, 6, 790]
Generated Node #2: [28, 6, 790] from Operation: 10*79=790
Current State: 28:[28, 6, 790], Operations: ['10*79=790']
Exploring Operation: 790-6=784, Resulting Numbers: [28, 784]
Generated Node #3: [28, 784] from Operation: 790-6=784
Current State: 28:[28, 784], Operations: ['10*79=790', '790-6=784']
Exploring Operation: 784/28=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[28, 10, 79, 6], Operations: []
Exploring Operation: 79-28=51, Resulting Numbers: [10, 6, 51]
Generated Node #0,0: 28:[10, 6, 51] Operation: 79-28=51
Moving to Node #0,0
Current State: 28:[10, 6, 51], Operations: ['79-28=51']
Exploring Operation: 51-10=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 28:[6, 41] Operation: 51-10=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[6, 41], Operations: ['79-28=51', '51-10=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,28 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 |
[
17,
23,
47,
51
] | 27 | [
"51/17=3",
"47-23=24",
"3+24=27"
] | Current State: 27:[17, 23, 47, 51], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [23, 47, 3]
Generated Node #2: [23, 47, 3] from Operation: 51/17=3
Current State: 27:[23, 47, 3], Operations: ['51/17=3']
Exploring Operation: 47-23=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 47-23=24
Current State: 27:[3, 24], Operations: ['51/17=3', '47-23=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 23, 47, 51], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [17, 23, 4]
Generated Node #0,0: 27:[17, 23, 4] Operation: 51-47=4
Exploring Operation: 51-23=28, Resulting Numbers: [17, 47, 28]
Generated Node #0,1: 27:[17, 47, 28] Operation: 51-23=28
Exploring Operation: 51/17=3, Resulting Numbers: [23, 47, 3]
Generated Node #0,2: 27:[23, 47, 3] Operation: 51/17=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[17, 23, 4], Operations: ['51-47=4']
Exploring Operation: 23+4=27, Resulting Numbers: [17, 27]
Generated Node #0,0,0: 27:[17, 27] Operation: 23+4=27
Exploring Operation: 23-17=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 27:[4, 6] Operation: 23-17=6
Exploring Operation: 17-4=13, Resulting Numbers: [23, 13]
Generated Node #0,0,2: 27:[23, 13] Operation: 17-4=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[4, 6], Operations: ['51-47=4', '23-17=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[17, 27], Operations: ['51-47=4', '23+4=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[23, 13], Operations: ['51-47=4', '17-4=13']
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,27 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,27 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: 27:[23, 47, 3], Operations: ['51/17=3']
Exploring Operation: 47-23=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 27:[3, 24] Operation: 47-23=24
Exploring Operation: 47-3=44, Resulting Numbers: [23, 44]
Generated Node #0,2,1: 27:[23, 44] Operation: 47-3=44
Exploring Operation: 23+3=26, Resulting Numbers: [47, 26]
Generated Node #0,2,2: 27:[47, 26] Operation: 23+3=26
Moving to Node #0,2,0
Current State: 27:[3, 24], Operations: ['51/17=3', '47-23=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[17, 23, 47, 51], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [23, 47, 3]
Generated Node #0,2: 27:[23, 47, 3] Operation: 51/17=3
Moving to Node #0,2
Current State: 27:[23, 47, 3], Operations: ['51/17=3']
Exploring Operation: 47-23=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 27:[3, 24] Operation: 47-23=24
Moving to Node #0,2,0
Current State: 27:[3, 24], Operations: ['51/17=3', '47-23=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
53,
29,
49,
3
] | 41 | [
"53-29=24",
"24/3=8",
"49-8=41"
] | Current State: 41:[53, 29, 49, 3], Operations: []
Exploring Operation: 53-29=24, Resulting Numbers: [49, 3, 24]
Generated Node #2: [49, 3, 24] from Operation: 53-29=24
Current State: 41:[49, 3, 24], Operations: ['53-29=24']
Exploring Operation: 24/3=8, Resulting Numbers: [49, 8]
Generated Node #3: [49, 8] from Operation: 24/3=8
Current State: 41:[49, 8], Operations: ['53-29=24', '24/3=8']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[53, 29, 49, 3], Operations: []
Exploring Operation: 53-3=50, Resulting Numbers: [29, 49, 50]
Generated Node #0,0: 41:[29, 49, 50] Operation: 53-3=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[29, 49, 50], Operations: ['53-3=50']
Exploring Operation: 50-29=21, Resulting Numbers: [49, 21]
Generated Node #0,0,0: 41:[49, 21] Operation: 50-29=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[49, 21], Operations: ['53-3=50', '50-29=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
49,
20,
82
] | 34 | [
"20/20=1",
"82-49=33",
"1+33=34"
] | Current State: 34:[20, 49, 20, 82], Operations: []
Exploring Operation: 20/20=1, Resulting Numbers: [49, 82, 1]
Generated Node #2: [49, 82, 1] from Operation: 20/20=1
Current State: 34:[49, 82, 1], Operations: ['20/20=1']
Exploring Operation: 82-49=33, Resulting Numbers: [1, 33]
Generated Node #3: [1, 33] from Operation: 82-49=33
Current State: 34:[1, 33], Operations: ['20/20=1', '82-49=33']
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[20, 49, 20, 82], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [20, 20, 33]
Generated Node #0,0: 34:[20, 20, 33] Operation: 82-49=33
Moving to Node #0,0
Current State: 34:[20, 20, 33], Operations: ['82-49=33']
Exploring Operation: 20/20=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 34:[33, 1] Operation: 20/20=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[33, 1], Operations: ['82-49=33', '20/20=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[20, 49, 20, 82], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [20, 20, 33]
Generated Node #0,0: 34:[20, 20, 33] Operation: 82-49=33
Moving to Node #0,0
Current State: 34:[20, 20, 33], Operations: ['82-49=33']
Exploring Operation: 20/20=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 34:[33, 1] Operation: 20/20=1
Moving to Node #0,0,0
Current State: 34:[33, 1], Operations: ['82-49=33', '20/20=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
63,
94,
63,
63
] | 96 | [
"63+63=126",
"126/63=2",
"94+2=96"
] | Current State: 96:[63, 94, 63, 63], Operations: []
Exploring Operation: 63+63=126, Resulting Numbers: [94, 126]
Generated Node #2: [94, 126] from Operation: 63+63=126
Current State: 96:[94, 126], Operations: ['63+63=126']
Exploring Operation: 126/63=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 126/63=2
Current State: 96:[94, 2], Operations: ['63+63=126', '126/63=2']
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[63, 94, 63, 63], Operations: []
Exploring Operation: 63/63=1, Resulting Numbers: [94, 63, 1]
Generated Node #0,0: 96:[94, 63, 1] Operation: 63/63=1
Exploring Operation: 63-63=0, Resulting Numbers: [94, 63, 0]
Generated Node #0,1: 96:[94, 63, 0] Operation: 63-63=0
Exploring Operation: 63/63=1, Resulting Numbers: [63, 94, 1]
Generated Node #0,2: 96:[63, 94, 1] Operation: 63/63=1
Exploring Operation: 63/63=1, Resulting Numbers: [94, 63, 1]
Generated Node #0,3: 96:[94, 63, 1] Operation: 63/63=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[94, 63, 1], Operations: ['63/63=1']
Exploring Operation: 63-1=62, Resulting Numbers: [94, 62]
Generated Node #0,0,0: 96:[94, 62] Operation: 63-1=62
Exploring Operation: 94+1=95, Resulting Numbers: [63, 95]
Generated Node #0,0,1: 96:[63, 95] Operation: 94+1=95
Exploring Operation: 94*1=94, Resulting Numbers: [63, 94]
Generated Node #0,0,2: 96:[63, 94] Operation: 94*1=94
Exploring Operation: 94-63=31, Resulting Numbers: [1, 31]
Generated Node #0,0,3: 96:[1, 31] Operation: 94-63=31
Moving to Node #0,0,3
Current State: 96:[1, 31], Operations: ['63/63=1', '94-63=31']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[63, 95], Operations: ['63/63=1', '94+1=95']
Exploring Operation: 63*95=5985, Resulting Numbers: [5985]
5985,96 unequal: No Solution
Exploring Operation: 63+95=158, Resulting Numbers: [158]
158,96 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[94, 62], Operations: ['63/63=1', '63-1=62']
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,96 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[63, 94], Operations: ['63/63=1', '94*1=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,96 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[63, 94, 1], Operations: ['63/63=1']
Exploring Operation: 94+1=95, Resulting Numbers: [63, 95]
Generated Node #0,2,0: 96:[63, 95] Operation: 94+1=95
Exploring Operation: 63*1=63, Resulting Numbers: [94, 63]
Generated Node #0,2,1: 96:[94, 63] Operation: 63*1=63
Exploring Operation: 63-1=62, Resulting Numbers: [94, 62]
Generated Node #0,2,2: 96:[94, 62] Operation: 63-1=62
Exploring Operation: 94-63=31, Resulting Numbers: [1, 31]
Generated Node #0,2,3: 96:[1, 31] Operation: 94-63=31
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[1, 31], Operations: ['63/63=1', '94-63=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,96 unequal: No Solution
No 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: 96:[63, 95], Operations: ['63/63=1', '94+1=95']
Exploring Operation: 63+95=158, Resulting Numbers: [158]
158,96 unequal: No Solution
Exploring Operation: 63*95=5985, Resulting Numbers: [5985]
5985,96 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,96 unequal: No Solution
No 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: 96:[94, 62], Operations: ['63/63=1', '63-1=62']
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,96 unequal: No Solution
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,96 unequal: No Solution
No 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: 96:[94, 63], Operations: ['63/63=1', '63*1=63']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 94+63=157, Resulting Numbers: [157]
157,96 unequal: No Solution
Exploring Operation: 94*63=5922, Resulting Numbers: [5922]
5922,96 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: 96:[94, 63, 1], Operations: ['63/63=1']
Exploring Operation: 63-1=62, Resulting Numbers: [94, 62]
Generated Node #0,3,0: 96:[94, 62] Operation: 63-1=62
Exploring Operation: 94*1=94, Resulting Numbers: [63, 94]
Generated Node #0,3,1: 96:[63, 94] Operation: 94*1=94
Exploring Operation: 94+1=95, Resulting Numbers: [63, 95]
Generated Node #0,3,2: 96:[63, 95] Operation: 94+1=95
Exploring Operation: 94-63=31, Resulting Numbers: [1, 31]
Generated Node #0,3,3: 96:[1, 31] Operation: 94-63=31
Moving to Node #0,3,3
Current State: 96:[1, 31], Operations: ['63/63=1', '94-63=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[63, 95], Operations: ['63/63=1', '94+1=95']
Exploring Operation: 63+95=158, Resulting Numbers: [158]
158,96 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Exploring Operation: 63*95=5985, Resulting Numbers: [5985]
5985,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[94, 62], Operations: ['63/63=1', '63-1=62']
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,96 unequal: No Solution
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,96 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[63, 94], Operations: ['63/63=1', '94*1=94']
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,96 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,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,1
Current State: 96:[94, 63, 0], Operations: ['63-63=0']
Exploring Operation: 63*0=0, Resulting Numbers: [94, 0]
Generated Node #0,1,0: 96:[94, 0] Operation: 63*0=0
Exploring Operation: 94*0=0, Resulting Numbers: [63, 0]
Generated Node #0,1,1: 96:[63, 0] Operation: 94*0=0
Exploring Operation: 94-63=31, Resulting Numbers: [0, 31]
Generated Node #0,1,2: 96:[0, 31] Operation: 94-63=31
Exploring Operation: 94+0=94, Resulting Numbers: [63, 94]
Generated Node #0,1,3: 96:[63, 94] Operation: 94+0=94
Moving to Node #0,1,2
Current State: 96:[0, 31], Operations: ['63-63=0', '94-63=31']
Exploring Operation: 0+31=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 0*31=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 31-0=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[94, 0], Operations: ['63-63=0', '63*0=0']
Exploring Operation: 94-0=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 94*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[63, 94], Operations: ['63-63=0', '94+0=94']
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,96 unequal: No Solution
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[63, 0], Operations: ['63-63=0', '94*0=0']
Exploring Operation: 63-0=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Exploring Operation: 63*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 63+0=63, Resulting Numbers: [63]
63,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
85,
29,
88,
2
] | 33 | [
"88-29=59",
"2*59=118",
"118-85=33"
] | Current State: 33:[85, 29, 88, 2], Operations: []
Exploring Operation: 88-29=59, Resulting Numbers: [85, 2, 59]
Generated Node #2: [85, 2, 59] from Operation: 88-29=59
Current State: 33:[85, 2, 59], Operations: ['88-29=59']
Exploring Operation: 2*59=118, Resulting Numbers: [85, 118]
Generated Node #3: [85, 118] from Operation: 2*59=118
Current State: 33:[85, 118], Operations: ['88-29=59', '2*59=118']
Exploring Operation: 118-85=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[85, 29, 88, 2], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [29, 2, 3]
Generated Node #0,0: 33:[29, 2, 3] Operation: 88-85=3
Exploring Operation: 88-29=59, Resulting Numbers: [85, 2, 59]
Generated Node #0,1: 33:[85, 2, 59] Operation: 88-29=59
Exploring Operation: 88/2=44, Resulting Numbers: [85, 29, 44]
Generated Node #0,2: 33:[85, 29, 44] Operation: 88/2=44
Exploring Operation: 85-29=56, Resulting Numbers: [88, 2, 56]
Generated Node #0,3: 33:[88, 2, 56] Operation: 85-29=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[29, 2, 3], Operations: ['88-85=3']
Exploring Operation: 2+3=5, Resulting Numbers: [29, 5]
Generated Node #0,0,0: 33:[29, 5] Operation: 2+3=5
Exploring Operation: 29-2=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 33:[3, 27] Operation: 29-2=27
Exploring Operation: 29+2=31, Resulting Numbers: [3, 31]
Generated Node #0,0,2: 33:[3, 31] Operation: 29+2=31
Exploring Operation: 29+3=32, Resulting Numbers: [2, 32]
Generated Node #0,0,3: 33:[2, 32] Operation: 29+3=32
Moving to Node #0,0,2
Current State: 33:[3, 31], Operations: ['88-85=3', '29+2=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[2, 32], Operations: ['88-85=3', '29+3=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[3, 27], Operations: ['88-85=3', '29-2=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[29, 5], Operations: ['88-85=3', '2+3=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,33 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,33 unequal: No Solution
No 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: 33:[85, 29, 44], Operations: ['88/2=44']
Exploring Operation: 85-44=41, Resulting Numbers: [29, 41]
Generated Node #0,2,0: 33:[29, 41] Operation: 85-44=41
Exploring Operation: 44-29=15, Resulting Numbers: [85, 15]
Generated Node #0,2,1: 33:[85, 15] Operation: 44-29=15
Exploring Operation: 85+29=114, Resulting Numbers: [44, 114]
Generated Node #0,2,2: 33:[44, 114] Operation: 85+29=114
Exploring Operation: 85-29=56, Resulting Numbers: [44, 56]
Generated Node #0,2,3: 33:[44, 56] Operation: 85-29=56
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[29, 41], Operations: ['88/2=44', '85-44=41']
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,33 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[44, 56], Operations: ['88/2=44', '85-29=56']
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,33 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[85, 15], Operations: ['88/2=44', '44-29=15']
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,33 unequal: No Solution
No 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: 33:[44, 114], Operations: ['88/2=44', '85+29=114']
Exploring Operation: 44*114=5016, Resulting Numbers: [5016]
5016,33 unequal: No Solution
Exploring Operation: 114-44=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 44+114=158, Resulting Numbers: [158]
158,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[85, 2, 59], Operations: ['88-29=59']
Exploring Operation: 59-2=57, Resulting Numbers: [85, 57]
Generated Node #0,1,0: 33:[85, 57] Operation: 59-2=57
Exploring Operation: 85-2=83, Resulting Numbers: [59, 83]
Generated Node #0,1,1: 33:[59, 83] Operation: 85-2=83
Exploring Operation: 85-59=26, Resulting Numbers: [2, 26]
Generated Node #0,1,2: 33:[2, 26] Operation: 85-59=26
Exploring Operation: 85+2=87, Resulting Numbers: [59, 87]
Generated Node #0,1,3: 33:[59, 87] Operation: 85+2=87
Moving to Node #0,1,2
Current State: 33:[2, 26], Operations: ['88-29=59', '85-59=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[59, 83], Operations: ['88-29=59', '85-2=83']
Exploring Operation: 59+83=142, Resulting Numbers: [142]
142,33 unequal: No Solution
Exploring Operation: 59*83=4897, Resulting Numbers: [4897]
4897,33 unequal: No Solution
Exploring Operation: 83-59=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[85, 57], Operations: ['88-29=59', '59-2=57']
Exploring Operation: 85*57=4845, Resulting Numbers: [4845]
4845,33 unequal: No Solution
Exploring Operation: 85+57=142, Resulting Numbers: [142]
142,33 unequal: No Solution
Exploring Operation: 85-57=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[59, 87], Operations: ['88-29=59', '85+2=87']
Exploring Operation: 59+87=146, Resulting Numbers: [146]
146,33 unequal: No Solution
Exploring Operation: 59*87=5133, Resulting Numbers: [5133]
5133,33 unequal: No Solution
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,33 unequal: No Solution
No 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: 33:[88, 2, 56], Operations: ['85-29=56']
Exploring Operation: 56/2=28, Resulting Numbers: [88, 28]
Generated Node #0,3,0: 33:[88, 28] Operation: 56/2=28
Exploring Operation: 88-2=86, Resulting Numbers: [56, 86]
Generated Node #0,3,1: 33:[56, 86] Operation: 88-2=86
Exploring Operation: 88-56=32, Resulting Numbers: [2, 32]
Generated Node #0,3,2: 33:[2, 32] Operation: 88-56=32
Exploring Operation: 88/2=44, Resulting Numbers: [56, 44]
Generated Node #0,3,3: 33:[56, 44] Operation: 88/2=44
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[2, 32], Operations: ['85-29=56', '88-56=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No 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: 33:[56, 44], Operations: ['85-29=56', '88/2=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,33 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,33 unequal: No Solution
No 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: 33:[88, 28], Operations: ['85-29=56', '56/2=28']
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,33 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,33 unequal: No Solution
No 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: 33:[56, 86], Operations: ['85-29=56', '88-2=86']
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,33 unequal: No Solution
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,33 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
56,
9,
11
] | 40 | [
"58-56=2",
"9+11=20",
"2*20=40"
] | Current State: 40:[58, 56, 9, 11], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [9, 11, 2]
Generated Node #2: [9, 11, 2] from Operation: 58-56=2
Current State: 40:[9, 11, 2], Operations: ['58-56=2']
Exploring Operation: 9+11=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 9+11=20
Current State: 40:[2, 20], Operations: ['58-56=2', '9+11=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[58, 56, 9, 11], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [9, 11, 2]
Generated Node #0,0: 40:[9, 11, 2] Operation: 58-56=2
Exploring Operation: 56-11=45, Resulting Numbers: [58, 9, 45]
Generated Node #0,1: 40:[58, 9, 45] Operation: 56-11=45
Exploring Operation: 58-11=47, Resulting Numbers: [56, 9, 47]
Generated Node #0,2: 40:[56, 9, 47] Operation: 58-11=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[9, 11, 2], Operations: ['58-56=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11, 11]
Generated Node #0,0,0: 40:[11, 11] Operation: 9+2=11
Exploring Operation: 11-9=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 40:[2, 2] Operation: 11-9=2
Exploring Operation: 9+11=20, Resulting Numbers: [2, 20]
Generated Node #0,0,2: 40:[2, 20] Operation: 9+11=20
Moving to Node #0,0,1
Current State: 40:[2, 2], Operations: ['58-56=2', '11-9=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[2, 20], Operations: ['58-56=2', '9+11=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[58, 56, 9, 11], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [9, 11, 2]
Generated Node #0,0: 40:[9, 11, 2] Operation: 58-56=2
Moving to Node #0,0
Current State: 40:[9, 11, 2], Operations: ['58-56=2']
Exploring Operation: 9+11=20, Resulting Numbers: [2, 20]
Generated Node #0,0,2: 40:[2, 20] Operation: 9+11=20
Moving to Node #0,0,2
Current State: 40:[2, 20], Operations: ['58-56=2', '9+11=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
11,
3,
84,
39
] | 31 | [
"11+3=14",
"84-39=45",
"45-14=31"
] | Current State: 31:[11, 3, 84, 39], Operations: []
Exploring Operation: 11+3=14, Resulting Numbers: [84, 39, 14]
Generated Node #2: [84, 39, 14] from Operation: 11+3=14
Current State: 31:[84, 39, 14], Operations: ['11+3=14']
Exploring Operation: 84-39=45, Resulting Numbers: [14, 45]
Generated Node #3: [14, 45] from Operation: 84-39=45
Current State: 31:[14, 45], Operations: ['11+3=14', '84-39=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[11, 3, 84, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [11, 3, 45]
Generated Node #0,0: 31:[11, 3, 45] Operation: 84-39=45
Exploring Operation: 84/3=28, Resulting Numbers: [11, 39, 28]
Generated Node #0,1: 31:[11, 39, 28] Operation: 84/3=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[11, 39, 28], Operations: ['84/3=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39, 39]
Generated Node #0,1,0: 31:[39, 39] Operation: 11+28=39
Exploring Operation: 39-11=28, Resulting Numbers: [28, 28]
Generated Node #0,1,1: 31:[28, 28] Operation: 39-11=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[28, 28], Operations: ['84/3=28', '39-11=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[39, 39], Operations: ['84/3=28', '11+28=39']
Exploring Operation: 39-39=0, Resulting Numbers: [0]
0,31 unequal: No Solution
Exploring Operation: 39/39=1, Resulting Numbers: [1]
1,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,0
Current State: 31:[11, 3, 45], Operations: ['84-39=45']
Exploring Operation: 11+3=14, Resulting Numbers: [45, 14]
Generated Node #0,0,0: 31:[45, 14] Operation: 11+3=14
Exploring Operation: 11*3=33, Resulting Numbers: [45, 33]
Generated Node #0,0,1: 31:[45, 33] Operation: 11*3=33
Moving to Node #0,0,1
Current State: 31:[45, 33], Operations: ['84-39=45', '11*3=33']
Exploring Operation: 45+33=78, Resulting Numbers: [78]
78,31 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[45, 14], Operations: ['84-39=45', '11+3=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[11, 3, 84, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [11, 3, 45]
Generated Node #0,0: 31:[11, 3, 45] Operation: 84-39=45
Moving to Node #0,0
Current State: 31:[11, 3, 45], Operations: ['84-39=45']
Exploring Operation: 11+3=14, Resulting Numbers: [45, 14]
Generated Node #0,0,0: 31:[45, 14] Operation: 11+3=14
Moving to Node #0,0,0
Current State: 31:[45, 14], Operations: ['84-39=45', '11+3=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
36,
66,
54,
48
] | 40 | [
"66-54=12",
"48/12=4",
"36+4=40"
] | Current State: 40:[36, 66, 54, 48], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [36, 48, 12]
Generated Node #2: [36, 48, 12] from Operation: 66-54=12
Current State: 40:[36, 48, 12], Operations: ['66-54=12']
Exploring Operation: 48/12=4, Resulting Numbers: [36, 4]
Generated Node #3: [36, 4] from Operation: 48/12=4
Current State: 40:[36, 4], Operations: ['66-54=12', '48/12=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[36, 66, 54, 48], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [36, 48, 12]
Generated Node #0,0: 40:[36, 48, 12] Operation: 66-54=12
Exploring Operation: 66-48=18, Resulting Numbers: [36, 54, 18]
Generated Node #0,1: 40:[36, 54, 18] Operation: 66-48=18
Moving to Node #0,0
Current State: 40:[36, 48, 12], Operations: ['66-54=12']
Exploring Operation: 48-36=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 40:[12, 12] Operation: 48-36=12
Exploring Operation: 48/12=4, Resulting Numbers: [36, 4]
Generated Node #0,0,1: 40:[36, 4] Operation: 48/12=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[12, 12], Operations: ['66-54=12', '48-36=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[36, 4], Operations: ['66-54=12', '48/12=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[36, 66, 54, 48], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [36, 48, 12]
Generated Node #0,0: 40:[36, 48, 12] Operation: 66-54=12
Moving to Node #0,0
Current State: 40:[36, 48, 12], Operations: ['66-54=12']
Exploring Operation: 48/12=4, Resulting Numbers: [36, 4]
Generated Node #0,0,1: 40:[36, 4] Operation: 48/12=4
Moving to Node #0,0,1
Current State: 40:[36, 4], Operations: ['66-54=12', '48/12=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
31,
4,
62,
31
] | 70 | [
"31+4=35",
"62/31=2",
"35*2=70"
] | Current State: 70:[31, 4, 62, 31], Operations: []
Exploring Operation: 31+4=35, Resulting Numbers: [62, 35]
Generated Node #2: [62, 35] from Operation: 31+4=35
Current State: 70:[62, 35], Operations: ['31+4=35']
Exploring Operation: 62/31=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 62/31=2
Current State: 70:[35, 2], Operations: ['31+4=35', '62/31=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[31, 4, 62, 31], Operations: []
Exploring Operation: 62-31=31, Resulting Numbers: [4, 31, 31]
Generated Node #0,0: 70:[4, 31, 31] Operation: 62-31=31
Exploring Operation: 62/31=2, Resulting Numbers: [4, 31, 2]
Generated Node #0,1: 70:[4, 31, 2] Operation: 62/31=2
Exploring Operation: 62/31=2, Resulting Numbers: [31, 4, 2]
Generated Node #0,2: 70:[31, 4, 2] Operation: 62/31=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[4, 31, 2], Operations: ['62/31=2']
Exploring Operation: 4+31=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 70:[2, 35] Operation: 4+31=35
Exploring Operation: 4-2=2, Resulting Numbers: [31, 2]
Generated Node #0,1,1: 70:[31, 2] Operation: 4-2=2
Exploring Operation: 31+2=33, Resulting Numbers: [4, 33]
Generated Node #0,1,2: 70:[4, 33] Operation: 31+2=33
Moving to Node #0,1,0
Current State: 70:[2, 35], Operations: ['62/31=2', '4+31=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[31, 4, 62, 31], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [4, 31, 2]
Generated Node #0,1: 70:[4, 31, 2] Operation: 62/31=2
Moving to Node #0,1
Current State: 70:[4, 31, 2], Operations: ['62/31=2']
Exploring Operation: 4+31=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 70:[2, 35] Operation: 4+31=35
Moving to Node #0,1,0
Current State: 70:[2, 35], Operations: ['62/31=2', '4+31=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
88,
50,
18,
28
] | 77 | [
"88*28=2464",
"50-18=32",
"2464/32=77"
] | Current State: 77:[88, 50, 18, 28], Operations: []
Exploring Operation: 88*28=2464, Resulting Numbers: [50, 18, 2464]
Generated Node #2: [50, 18, 2464] from Operation: 88*28=2464
Current State: 77:[50, 18, 2464], Operations: ['88*28=2464']
Exploring Operation: 50-18=32, Resulting Numbers: [2464, 32]
Generated Node #3: [2464, 32] from Operation: 50-18=32
Current State: 77:[2464, 32], Operations: ['88*28=2464', '50-18=32']
Exploring Operation: 2464/32=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[88, 50, 18, 28], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [88, 50, 10]
Generated Node #0,0: 77:[88, 50, 10] Operation: 28-18=10
Exploring Operation: 50-28=22, Resulting Numbers: [88, 18, 22]
Generated Node #0,1: 77:[88, 18, 22] Operation: 50-28=22
Exploring Operation: 50+18=68, Resulting Numbers: [88, 28, 68]
Generated Node #0,2: 77:[88, 28, 68] Operation: 50+18=68
Exploring Operation: 50+28=78, Resulting Numbers: [88, 18, 78]
Generated Node #0,3: 77:[88, 18, 78] Operation: 50+28=78
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[88, 18, 78], Operations: ['50+28=78']
Exploring Operation: 88-78=10, Resulting Numbers: [18, 10]
Generated Node #0,3,0: 77:[18, 10] Operation: 88-78=10
Exploring Operation: 88+18=106, Resulting Numbers: [78, 106]
Generated Node #0,3,1: 77:[78, 106] Operation: 88+18=106
Exploring Operation: 88-18=70, Resulting Numbers: [78, 70]
Generated Node #0,3,2: 77:[78, 70] Operation: 88-18=70
Exploring Operation: 78-18=60, Resulting Numbers: [88, 60]
Generated Node #0,3,3: 77:[88, 60] Operation: 78-18=60
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 77:[18, 10], Operations: ['50+28=78', '88-78=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 77:[78, 70], Operations: ['50+28=78', '88-18=70']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 78*70=5460, Resulting Numbers: [5460]
5460,77 unequal: No Solution
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[88, 60], Operations: ['50+28=78', '78-18=60']
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,77 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 77:[78, 106], Operations: ['50+28=78', '88+18=106']
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[88, 18, 22], Operations: ['50-28=22']
Exploring Operation: 88/22=4, Resulting Numbers: [18, 4]
Generated Node #0,1,0: 77:[18, 4] Operation: 88/22=4
Exploring Operation: 88-22=66, Resulting Numbers: [18, 66]
Generated Node #0,1,1: 77:[18, 66] Operation: 88-22=66
Exploring Operation: 88-18=70, Resulting Numbers: [22, 70]
Generated Node #0,1,2: 77:[22, 70] Operation: 88-18=70
Exploring Operation: 22-18=4, Resulting Numbers: [88, 4]
Generated Node #0,1,3: 77:[88, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[18, 4], Operations: ['50-28=22', '88/22=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[88, 4], Operations: ['50-28=22', '22-18=4']
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,77 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[18, 66], Operations: ['50-28=22', '88-22=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,77 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[22, 70], Operations: ['50-28=22', '88-18=70']
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,77 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,77 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[88, 28, 68], Operations: ['50+18=68']
Exploring Operation: 88-28=60, Resulting Numbers: [68, 60]
Generated Node #0,2,0: 77:[68, 60] Operation: 88-28=60
Exploring Operation: 68-28=40, Resulting Numbers: [88, 40]
Generated Node #0,2,1: 77:[88, 40] Operation: 68-28=40
Exploring Operation: 88-68=20, Resulting Numbers: [28, 20]
Generated Node #0,2,2: 77:[28, 20] Operation: 88-68=20
Exploring Operation: 28+68=96, Resulting Numbers: [88, 96]
Generated Node #0,2,3: 77:[88, 96] Operation: 28+68=96
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[68, 60], Operations: ['50+18=68', '88-28=60']
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 68+60=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 68*60=4080, Resulting Numbers: [4080]
4080,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[28, 20], Operations: ['50+18=68', '88-68=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,77 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[88, 96], Operations: ['50+18=68', '28+68=96']
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,77 unequal: No Solution
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,77 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[88, 40], Operations: ['50+18=68', '68-28=40']
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,77 unequal: No Solution
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[88, 50, 10], Operations: ['28-18=10']
Exploring Operation: 88-10=78, Resulting Numbers: [50, 78]
Generated Node #0,0,0: 77:[50, 78] Operation: 88-10=78
Exploring Operation: 50/10=5, Resulting Numbers: [88, 5]
Generated Node #0,0,1: 77:[88, 5] Operation: 50/10=5
Exploring Operation: 50+10=60, Resulting Numbers: [88, 60]
Generated Node #0,0,2: 77:[88, 60] Operation: 50+10=60
Exploring Operation: 88-50=38, Resulting Numbers: [10, 38]
Generated Node #0,0,3: 77:[10, 38] Operation: 88-50=38
Moving to Node #0,0,1
Current State: 77:[88, 5], Operations: ['28-18=10', '50/10=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[88, 60], Operations: ['28-18=10', '50+10=60']
Exploring Operation: 88*60=5280, Resulting Numbers: [5280]
5280,77 unequal: No Solution
Exploring Operation: 88+60=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[50, 78], Operations: ['28-18=10', '88-10=78']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 50*78=3900, Resulting Numbers: [3900]
3900,77 unequal: No Solution
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[10, 38], Operations: ['28-18=10', '88-50=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,77 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
75,
25,
51,
6
] | 54 | [
"75/25=3",
"51+6=57",
"57-3=54"
] | Current State: 54:[75, 25, 51, 6], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [51, 6, 3]
Generated Node #2: [51, 6, 3] from Operation: 75/25=3
Current State: 54:[51, 6, 3], Operations: ['75/25=3']
Exploring Operation: 51+6=57, Resulting Numbers: [3, 57]
Generated Node #3: [3, 57] from Operation: 51+6=57
Current State: 54:[3, 57], Operations: ['75/25=3', '51+6=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[75, 25, 51, 6], Operations: []
Exploring Operation: 75-25=50, Resulting Numbers: [51, 6, 50]
Generated Node #0,0: 54:[51, 6, 50] Operation: 75-25=50
Exploring Operation: 75-51=24, Resulting Numbers: [25, 6, 24]
Generated Node #0,1: 54:[25, 6, 24] Operation: 75-51=24
Exploring Operation: 75-6=69, Resulting Numbers: [25, 51, 69]
Generated Node #0,2: 54:[25, 51, 69] Operation: 75-6=69
Exploring Operation: 75/25=3, Resulting Numbers: [51, 6, 3]
Generated Node #0,3: 54:[51, 6, 3] Operation: 75/25=3
Moving to Node #0,3
Current State: 54:[51, 6, 3], Operations: ['75/25=3']
Exploring Operation: 6+3=9, Resulting Numbers: [51, 9]
Generated Node #0,3,0: 54:[51, 9] Operation: 6+3=9
Exploring Operation: 51+3=54, Resulting Numbers: [6, 54]
Generated Node #0,3,1: 54:[6, 54] Operation: 51+3=54
Exploring Operation: 51+6=57, Resulting Numbers: [3, 57]
Generated Node #0,3,2: 54:[3, 57] Operation: 51+6=57
Exploring Operation: 51/3=17, Resulting Numbers: [6, 17]
Generated Node #0,3,3: 54:[6, 17] Operation: 51/3=17
Moving to Node #0,1
Current State: 54:[25, 6, 24], Operations: ['75-51=24']
Exploring Operation: 25-6=19, Resulting Numbers: [24, 19]
Generated Node #0,1,0: 54:[24, 19] Operation: 25-6=19
Exploring Operation: 24-6=18, Resulting Numbers: [25, 18]
Generated Node #0,1,1: 54:[25, 18] Operation: 24-6=18
Exploring Operation: 25-24=1, Resulting Numbers: [6, 1]
Generated Node #0,1,2: 54:[6, 1] Operation: 25-24=1
Exploring Operation: 24/6=4, Resulting Numbers: [25, 4]
Generated Node #0,1,3: 54:[25, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 54:[6, 1], Operations: ['75-51=24', '25-24=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[25, 18], Operations: ['75-51=24', '24-6=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,54 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 54:[25, 4], Operations: ['75-51=24', '24/6=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,54 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[24, 19], Operations: ['75-51=24', '25-6=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,54 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: 54:[51, 6, 50], Operations: ['75-25=50']
Exploring Operation: 51-6=45, Resulting Numbers: [50, 45]
Generated Node #0,0,0: 54:[50, 45] Operation: 51-6=45
Exploring Operation: 51+6=57, Resulting Numbers: [50, 57]
Generated Node #0,0,1: 54:[50, 57] Operation: 51+6=57
Exploring Operation: 51-50=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 54:[6, 1] Operation: 51-50=1
Exploring Operation: 6+50=56, Resulting Numbers: [51, 56]
Generated Node #0,0,3: 54:[51, 56] Operation: 6+50=56
Moving to Node #0,2
Current State: 54:[25, 51, 69], Operations: ['75-6=69']
Exploring Operation: 51-25=26, Resulting Numbers: [69, 26]
Generated Node #0,2,0: 54:[69, 26] Operation: 51-25=26
Exploring Operation: 69-51=18, Resulting Numbers: [25, 18]
Generated Node #0,2,1: 54:[25, 18] Operation: 69-51=18
Exploring Operation: 25+51=76, Resulting Numbers: [69, 76]
Generated Node #0,2,2: 54:[69, 76] Operation: 25+51=76
Exploring Operation: 69-25=44, Resulting Numbers: [51, 44]
Generated Node #0,2,3: 54:[51, 44] Operation: 69-25=44
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[25, 18], Operations: ['75-6=69', '69-51=18']
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[51, 44], Operations: ['75-6=69', '69-25=44']
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,54 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[69, 26], Operations: ['75-6=69', '51-25=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,54 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[69, 76], Operations: ['75-6=69', '25+51=76']
Exploring Operation: 69+76=145, Resulting Numbers: [145]
145,54 unequal: No Solution
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 69*76=5244, Resulting Numbers: [5244]
5244,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 54:[6, 54], Operations: ['75/25=3', '51+3=54']
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,54 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[6, 17], Operations: ['75/25=3', '51/3=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,54 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[6, 1], Operations: ['75-25=50', '51-50=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[51, 9], Operations: ['75/25=3', '6+3=9']
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,54 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[3, 57], Operations: ['75/25=3', '51+6=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[75, 25, 51, 6], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [51, 6, 3]
Generated Node #0,3: 54:[51, 6, 3] Operation: 75/25=3
Moving to Node #0,3
Current State: 54:[51, 6, 3], Operations: ['75/25=3']
Exploring Operation: 51+6=57, Resulting Numbers: [3, 57]
Generated Node #0,3,2: 54:[3, 57] Operation: 51+6=57
Moving to Node #0,3,2
Current State: 54:[3, 57], Operations: ['75/25=3', '51+6=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.943576 | hs_4 | sum_heuristic |
[
11,
95,
25,
19
] | 99 | [
"25+19=44",
"44/11=4",
"95+4=99"
] | Current State: 99:[11, 95, 25, 19], Operations: []
Exploring Operation: 25+19=44, Resulting Numbers: [11, 95, 44]
Generated Node #2: [11, 95, 44] from Operation: 25+19=44
Current State: 99:[11, 95, 44], Operations: ['25+19=44']
Exploring Operation: 44/11=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 44/11=4
Current State: 99:[95, 4], Operations: ['25+19=44', '44/11=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[11, 95, 25, 19], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [11, 25, 5]
Generated Node #0,0: 99:[11, 25, 5] Operation: 95/19=5
Exploring Operation: 25-19=6, Resulting Numbers: [11, 95, 6]
Generated Node #0,1: 99:[11, 95, 6] Operation: 25-19=6
Moving to Node #0,1
Current State: 99:[11, 95, 6], Operations: ['25-19=6']
Exploring Operation: 11-6=5, Resulting Numbers: [95, 5]
Generated Node #0,1,0: 99:[95, 5] Operation: 11-6=5
Exploring Operation: 95+6=101, Resulting Numbers: [11, 101]
Generated Node #0,1,1: 99:[11, 101] Operation: 95+6=101
Moving to Node #0,0
Current State: 99:[11, 25, 5], Operations: ['95/19=5']
Exploring Operation: 25+5=30, Resulting Numbers: [11, 30]
Generated Node #0,0,0: 99:[11, 30] Operation: 25+5=30
Exploring Operation: 25/5=5, Resulting Numbers: [11, 5]
Generated Node #0,0,1: 99:[11, 5] Operation: 25/5=5
Moving to Node #0,1,1
Current State: 99:[11, 101], Operations: ['25-19=6', '95+6=101']
Exploring Operation: 101-11=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 11+101=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[11, 5], Operations: ['95/19=5', '25/5=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[11, 30], Operations: ['95/19=5', '25+5=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[95, 5], Operations: ['25-19=6', '11-6=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
40,
38,
56
] | 96 | [
"40-36=4",
"38*4=152",
"152-56=96"
] | Current State: 96:[36, 40, 38, 56], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [38, 56, 4]
Generated Node #2: [38, 56, 4] from Operation: 40-36=4
Current State: 96:[38, 56, 4], Operations: ['40-36=4']
Exploring Operation: 38*4=152, Resulting Numbers: [56, 152]
Generated Node #3: [56, 152] from Operation: 38*4=152
Current State: 96:[56, 152], Operations: ['40-36=4', '38*4=152']
Exploring Operation: 152-56=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[36, 40, 38, 56], Operations: []
Exploring Operation: 40+56=96, Resulting Numbers: [36, 38, 96]
Generated Node #0,0: 96:[36, 38, 96] Operation: 40+56=96
Moving to Node #0,0
Current State: 96:[36, 38, 96], Operations: ['40+56=96']
Exploring Operation: 38-36=2, Resulting Numbers: [96, 2]
Generated Node #0,0,0: 96:[96, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[96, 2], Operations: ['40+56=96', '38-36=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,96 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 |
[
26,
61,
93,
87
] | 29 | [
"61-26=35",
"93-87=6",
"35-6=29"
] | Current State: 29:[26, 61, 93, 87], Operations: []
Exploring Operation: 61-26=35, Resulting Numbers: [93, 87, 35]
Generated Node #2: [93, 87, 35] from Operation: 61-26=35
Current State: 29:[93, 87, 35], Operations: ['61-26=35']
Exploring Operation: 93-87=6, Resulting Numbers: [35, 6]
Generated Node #3: [35, 6] from Operation: 93-87=6
Current State: 29:[35, 6], Operations: ['61-26=35', '93-87=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[26, 61, 93, 87], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [26, 61, 6]
Generated Node #0,0: 29:[26, 61, 6] Operation: 93-87=6
Exploring Operation: 87-61=26, Resulting Numbers: [26, 93, 26]
Generated Node #0,1: 29:[26, 93, 26] Operation: 87-61=26
Exploring Operation: 61-26=35, Resulting Numbers: [93, 87, 35]
Generated Node #0,2: 29:[93, 87, 35] Operation: 61-26=35
Exploring Operation: 93-61=32, Resulting Numbers: [26, 87, 32]
Generated Node #0,3: 29:[26, 87, 32] Operation: 93-61=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[26, 61, 6], Operations: ['93-87=6']
Exploring Operation: 26-6=20, Resulting Numbers: [61, 20]
Generated Node #0,0,0: 29:[61, 20] Operation: 26-6=20
Exploring Operation: 61-6=55, Resulting Numbers: [26, 55]
Generated Node #0,0,1: 29:[26, 55] Operation: 61-6=55
Exploring Operation: 61-26=35, Resulting Numbers: [6, 35]
Generated Node #0,0,2: 29:[6, 35] Operation: 61-26=35
Exploring Operation: 26+6=32, Resulting Numbers: [61, 32]
Generated Node #0,0,3: 29:[61, 32] Operation: 26+6=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[26, 55], Operations: ['93-87=6', '61-6=55']
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,29 unequal: No Solution
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[26, 61, 93, 87], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [26, 61, 6]
Generated Node #0,0: 29:[26, 61, 6] Operation: 93-87=6
Moving to Node #0,0
Current State: 29:[26, 61, 6], Operations: ['93-87=6']
Exploring Operation: 61-6=55, Resulting Numbers: [26, 55]
Generated Node #0,0,1: 29:[26, 55] Operation: 61-6=55
Moving to Node #0,0,1
Current State: 29:[26, 55], Operations: ['93-87=6', '61-6=55']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
62,
6,
43,
4
] | 82 | [
"62-43=19",
"4*19=76",
"6+76=82"
] | Current State: 82:[62, 6, 43, 4], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [6, 4, 19]
Generated Node #2: [6, 4, 19] from Operation: 62-43=19
Current State: 82:[6, 4, 19], Operations: ['62-43=19']
Exploring Operation: 4*19=76, Resulting Numbers: [6, 76]
Generated Node #3: [6, 76] from Operation: 4*19=76
Current State: 82:[6, 76], Operations: ['62-43=19', '4*19=76']
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[62, 6, 43, 4], Operations: []
Exploring Operation: 62-6=56, Resulting Numbers: [43, 4, 56]
Generated Node #0,0: 82:[43, 4, 56] Operation: 62-6=56
Exploring Operation: 62+6=68, Resulting Numbers: [43, 4, 68]
Generated Node #0,1: 82:[43, 4, 68] Operation: 62+6=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[43, 4, 68], Operations: ['62+6=68']
Exploring Operation: 4+68=72, Resulting Numbers: [43, 72]
Generated Node #0,1,0: 82:[43, 72] Operation: 4+68=72
Exploring Operation: 43-4=39, Resulting Numbers: [68, 39]
Generated Node #0,1,1: 82:[68, 39] Operation: 43-4=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[43, 72], Operations: ['62+6=68', '4+68=72']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,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,1,1
Current State: 82:[68, 39], Operations: ['62+6=68', '43-4=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,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:[43, 4, 56], Operations: ['62-6=56']
Exploring Operation: 56-4=52, Resulting Numbers: [43, 52]
Generated Node #0,0,0: 82:[43, 52] Operation: 56-4=52
Exploring Operation: 56-43=13, Resulting Numbers: [4, 13]
Generated Node #0,0,1: 82:[4, 13] Operation: 56-43=13
Moving to Node #0,0,0
Current State: 82:[43, 52], Operations: ['62-6=56', '56-4=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[4, 13], Operations: ['62-6=56', '56-43=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,82 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 |
[
15,
2,
62,
68
] | 41 | [
"15+68=83",
"2*62=124",
"124-83=41"
] | Current State: 41:[15, 2, 62, 68], Operations: []
Exploring Operation: 15+68=83, Resulting Numbers: [2, 62, 83]
Generated Node #2: [2, 62, 83] from Operation: 15+68=83
Current State: 41:[2, 62, 83], Operations: ['15+68=83']
Exploring Operation: 2*62=124, Resulting Numbers: [83, 124]
Generated Node #3: [83, 124] from Operation: 2*62=124
Current State: 41:[83, 124], Operations: ['15+68=83', '2*62=124']
Exploring Operation: 124-83=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[15, 2, 62, 68], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [62, 68, 30]
Generated Node #0,0: 41:[62, 68, 30] Operation: 15*2=30
Exploring Operation: 68/2=34, Resulting Numbers: [15, 62, 34]
Generated Node #0,1: 41:[15, 62, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[15, 62, 34], Operations: ['68/2=34']
Exploring Operation: 62-15=47, Resulting Numbers: [34, 47]
Generated Node #0,1,0: 41:[34, 47] Operation: 62-15=47
Exploring Operation: 15+34=49, Resulting Numbers: [62, 49]
Generated Node #0,1,1: 41:[62, 49] Operation: 15+34=49
Moving to Node #0,1,0
Current State: 41:[34, 47], Operations: ['68/2=34', '62-15=47']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[62, 49], Operations: ['68/2=34', '15+34=49']
Exploring Operation: 62+49=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,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:[62, 68, 30], Operations: ['15*2=30']
Exploring Operation: 68-30=38, Resulting Numbers: [62, 38]
Generated Node #0,0,0: 41:[62, 38] Operation: 68-30=38
Exploring Operation: 62-30=32, Resulting Numbers: [68, 32]
Generated Node #0,0,1: 41:[68, 32] Operation: 62-30=32
Moving to Node #0,0,0
Current State: 41:[62, 38], Operations: ['15*2=30', '68-30=38']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 62+38=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[68, 32], Operations: ['15*2=30', '62-30=32']
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,41 unequal: No Solution
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,41 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 |
[
90,
72,
53,
22
] | 13 | [
"90-72=18",
"53-22=31",
"31-18=13"
] | Current State: 13:[90, 72, 53, 22], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [53, 22, 18]
Generated Node #2: [53, 22, 18] from Operation: 90-72=18
Current State: 13:[53, 22, 18], Operations: ['90-72=18']
Exploring Operation: 53-22=31, Resulting Numbers: [18, 31]
Generated Node #3: [18, 31] from Operation: 53-22=31
Current State: 13:[18, 31], Operations: ['90-72=18', '53-22=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[90, 72, 53, 22], Operations: []
Exploring Operation: 90-53=37, Resulting Numbers: [72, 22, 37]
Generated Node #0,0: 13:[72, 22, 37] Operation: 90-53=37
Exploring Operation: 90-72=18, Resulting Numbers: [53, 22, 18]
Generated Node #0,1: 13:[53, 22, 18] Operation: 90-72=18
Moving to Node #0,1
Current State: 13:[53, 22, 18], Operations: ['90-72=18']
Exploring Operation: 53-18=35, Resulting Numbers: [22, 35]
Generated Node #0,1,0: 13:[22, 35] Operation: 53-18=35
Exploring Operation: 53-22=31, Resulting Numbers: [18, 31]
Generated Node #0,1,1: 13:[18, 31] Operation: 53-22=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[18, 31], Operations: ['90-72=18', '53-22=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[90, 72, 53, 22], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [53, 22, 18]
Generated Node #0,1: 13:[53, 22, 18] Operation: 90-72=18
Moving to Node #0,1
Current State: 13:[53, 22, 18], Operations: ['90-72=18']
Exploring Operation: 53-22=31, Resulting Numbers: [18, 31]
Generated Node #0,1,1: 13:[18, 31] Operation: 53-22=31
Moving to Node #0,1,1
Current State: 13:[18, 31], Operations: ['90-72=18', '53-22=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
80,
84,
81,
27
] | 27 | [
"84-80=4",
"81+27=108",
"108/4=27"
] | Current State: 27:[80, 84, 81, 27], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [81, 27, 4]
Generated Node #2: [81, 27, 4] from Operation: 84-80=4
Current State: 27:[81, 27, 4], Operations: ['84-80=4']
Exploring Operation: 81+27=108, Resulting Numbers: [4, 108]
Generated Node #3: [4, 108] from Operation: 81+27=108
Current State: 27:[4, 108], Operations: ['84-80=4', '81+27=108']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[80, 84, 81, 27], Operations: []
Exploring Operation: 81-80=1, Resulting Numbers: [84, 27, 1]
Generated Node #0,0: 27:[84, 27, 1] Operation: 81-80=1
Exploring Operation: 84-80=4, Resulting Numbers: [81, 27, 4]
Generated Node #0,1: 27:[81, 27, 4] Operation: 84-80=4
Exploring Operation: 84-81=3, Resulting Numbers: [80, 27, 3]
Generated Node #0,2: 27:[80, 27, 3] Operation: 84-81=3
Exploring Operation: 81/27=3, Resulting Numbers: [80, 84, 3]
Generated Node #0,3: 27:[80, 84, 3] Operation: 81/27=3
Moving to Node #0,2
Current State: 27:[80, 27, 3], Operations: ['84-81=3']
Exploring Operation: 80+3=83, Resulting Numbers: [27, 83]
Generated Node #0,2,0: 27:[27, 83] Operation: 80+3=83
Exploring Operation: 27/3=9, Resulting Numbers: [80, 9]
Generated Node #0,2,1: 27:[80, 9] Operation: 27/3=9
Exploring Operation: 80-3=77, Resulting Numbers: [27, 77]
Generated Node #0,2,2: 27:[27, 77] Operation: 80-3=77
Exploring Operation: 80-27=53, Resulting Numbers: [3, 53]
Generated Node #0,2,3: 27:[3, 53] Operation: 80-27=53
Moving to Node #0,1
Current State: 27:[81, 27, 4], Operations: ['84-80=4']
Exploring Operation: 81/27=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 27:[4, 3] Operation: 81/27=3
Exploring Operation: 81-27=54, Resulting Numbers: [4, 54]
Generated Node #0,1,1: 27:[4, 54] Operation: 81-27=54
Exploring Operation: 81-4=77, Resulting Numbers: [27, 77]
Generated Node #0,1,2: 27:[27, 77] Operation: 81-4=77
Exploring Operation: 81+4=85, Resulting Numbers: [27, 85]
Generated Node #0,1,3: 27:[27, 85] Operation: 81+4=85
Moving to Node #0,0
Current State: 27:[84, 27, 1], Operations: ['81-80=1']
Exploring Operation: 84*1=84, Resulting Numbers: [27, 84]
Generated Node #0,0,0: 27:[27, 84] Operation: 84*1=84
Exploring Operation: 84-27=57, Resulting Numbers: [1, 57]
Generated Node #0,0,1: 27:[1, 57] Operation: 84-27=57
Exploring Operation: 84-1=83, Resulting Numbers: [27, 83]
Generated Node #0,0,2: 27:[27, 83] Operation: 84-1=83
Exploring Operation: 84/1=84, Resulting Numbers: [27, 84]
Generated Node #0,0,3: 27:[27, 84] Operation: 84/1=84
Moving to Node #0,3
Current State: 27:[80, 84, 3], Operations: ['81/27=3']
Exploring Operation: 84/3=28, Resulting Numbers: [80, 28]
Generated Node #0,3,0: 27:[80, 28] Operation: 84/3=28
Exploring Operation: 84-80=4, Resulting Numbers: [3, 4]
Generated Node #0,3,1: 27:[3, 4] Operation: 84-80=4
Exploring Operation: 84-3=81, Resulting Numbers: [80, 81]
Generated Node #0,3,2: 27:[80, 81] Operation: 84-3=81
Exploring Operation: 80-3=77, Resulting Numbers: [84, 77]
Generated Node #0,3,3: 27:[84, 77] Operation: 80-3=77
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[3, 4], Operations: ['81/27=3', '84-80=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 4-3=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:[80, 28], Operations: ['81/27=3', '84/3=28']
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,27 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,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,2
Current State: 27:[80, 81], Operations: ['81/27=3', '84-3=81']
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 80*81=6480, Resulting Numbers: [6480]
6480,27 unequal: No Solution
Exploring Operation: 80+81=161, Resulting Numbers: [161]
161,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, 77], Operations: ['81/27=3', '80-3=77']
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,27 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,27 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: 27:[4, 3], Operations: ['84-80=4', '81/27=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[3, 53], Operations: ['84-81=3', '80-27=53']
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,27 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[4, 54], Operations: ['84-80=4', '81-27=54']
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,27 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[1, 57], Operations: ['81-80=1', '84-27=57']
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[27, 77], Operations: ['84-80=4', '81-4=77']
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,27 unequal: No Solution
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[27, 77], Operations: ['84-81=3', '80-3=77']
Exploring Operation: 27+77=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 27*77=2079, Resulting Numbers: [2079]
2079,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[80, 9], Operations: ['84-81=3', '27/3=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,27 unequal: No Solution
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,27 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[27, 83], Operations: ['81-80=1', '84-1=83']
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 27*83=2241, Resulting Numbers: [2241]
2241,27 unequal: No Solution
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[27, 83], Operations: ['84-81=3', '80+3=83']
Exploring Operation: 27*83=2241, Resulting Numbers: [2241]
2241,27 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[27, 84], Operations: ['81-80=1', '84/1=84']
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,27 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,27 unequal: No Solution
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[27, 84], Operations: ['81-80=1', '84*1=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,27 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[27, 85], Operations: ['84-80=4', '81+4=85']
Exploring Operation: 27*85=2295, Resulting Numbers: [2295]
2295,27 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 27+85=112, Resulting Numbers: [112]
112,27 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
45,
42,
14,
10
] | 15 | [
"42/14=3",
"10*3=30",
"45-30=15"
] | Current State: 15:[45, 42, 14, 10], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [45, 10, 3]
Generated Node #2: [45, 10, 3] from Operation: 42/14=3
Current State: 15:[45, 10, 3], Operations: ['42/14=3']
Exploring Operation: 10*3=30, Resulting Numbers: [45, 30]
Generated Node #3: [45, 30] from Operation: 10*3=30
Current State: 15:[45, 30], Operations: ['42/14=3', '10*3=30']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[45, 42, 14, 10], Operations: []
Exploring Operation: 45-14=31, Resulting Numbers: [42, 10, 31]
Generated Node #0,0: 15:[42, 10, 31] Operation: 45-14=31
Exploring Operation: 45-42=3, Resulting Numbers: [14, 10, 3]
Generated Node #0,1: 15:[14, 10, 3] Operation: 45-42=3
Exploring Operation: 45-10=35, Resulting Numbers: [42, 14, 35]
Generated Node #0,2: 15:[42, 14, 35] Operation: 45-10=35
Exploring Operation: 42/14=3, Resulting Numbers: [45, 10, 3]
Generated Node #0,3: 15:[45, 10, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [45, 10, 28]
Generated Node #0,4: 15:[45, 10, 28] Operation: 42-14=28
Moving to Node #0,1
Current State: 15:[14, 10, 3], Operations: ['45-42=3']
Exploring Operation: 10+3=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 15:[14, 13] Operation: 10+3=13
Exploring Operation: 10-3=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 15:[14, 7] Operation: 10-3=7
Exploring Operation: 14+10=24, Resulting Numbers: [3, 24]
Generated Node #0,1,2: 15:[3, 24] Operation: 14+10=24
Exploring Operation: 14+3=17, Resulting Numbers: [10, 17]
Generated Node #0,1,3: 15:[10, 17] Operation: 14+3=17
Exploring Operation: 14-10=4, Resulting Numbers: [3, 4]
Generated Node #0,1,4: 15:[3, 4] Operation: 14-10=4
Moving to Node #0,3
Current State: 15:[45, 10, 3], Operations: ['42/14=3']
Exploring Operation: 10+3=13, Resulting Numbers: [45, 13]
Generated Node #0,3,0: 15:[45, 13] Operation: 10+3=13
Exploring Operation: 45-10=35, Resulting Numbers: [3, 35]
Generated Node #0,3,1: 15:[3, 35] Operation: 45-10=35
Exploring Operation: 10-3=7, Resulting Numbers: [45, 7]
Generated Node #0,3,2: 15:[45, 7] Operation: 10-3=7
Exploring Operation: 45-3=42, Resulting Numbers: [10, 42]
Generated Node #0,3,3: 15:[10, 42] Operation: 45-3=42
Exploring Operation: 45/3=15, Resulting Numbers: [10, 15]
Generated Node #0,3,4: 15:[10, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 15:[10, 15], Operations: ['42/14=3', '45/3=15']
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,15 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,15 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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,3,1
Current State: 15:[3, 35], Operations: ['42/14=3', '45-10=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,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,3,0
Current State: 15:[45, 13], Operations: ['42/14=3', '10+3=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,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,3,2
Current State: 15:[45, 7], Operations: ['42/14=3', '10-3=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,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,3,3
Current State: 15:[10, 42], Operations: ['42/14=3', '45-3=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,15 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,15 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: 15:[42, 10, 31], Operations: ['45-14=31']
Exploring Operation: 42-31=11, Resulting Numbers: [10, 11]
Generated Node #0,0,0: 15:[10, 11] Operation: 42-31=11
Exploring Operation: 31-10=21, Resulting Numbers: [42, 21]
Generated Node #0,0,1: 15:[42, 21] Operation: 31-10=21
Exploring Operation: 42+10=52, Resulting Numbers: [31, 52]
Generated Node #0,0,2: 15:[31, 52] Operation: 42+10=52
Exploring Operation: 42-10=32, Resulting Numbers: [31, 32]
Generated Node #0,0,3: 15:[31, 32] Operation: 42-10=32
Exploring Operation: 10+31=41, Resulting Numbers: [42, 41]
Generated Node #0,0,4: 15:[42, 41] Operation: 10+31=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[10, 11], Operations: ['45-14=31', '42-31=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,15 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[42, 21], Operations: ['45-14=31', '31-10=21']
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,15 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[31, 32], Operations: ['45-14=31', '42-10=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,15 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[31, 52], Operations: ['45-14=31', '42+10=52']
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,15 unequal: No Solution
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 15:[42, 41], Operations: ['45-14=31', '10+31=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,15 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 15:[42, 14, 35], Operations: ['45-10=35']
Exploring Operation: 42/14=3, Resulting Numbers: [35, 3]
Generated Node #0,2,0: 15:[35, 3] Operation: 42/14=3
Exploring Operation: 42-35=7, Resulting Numbers: [14, 7]
Generated Node #0,2,1: 15:[14, 7] Operation: 42-35=7
Exploring Operation: 42-14=28, Resulting Numbers: [35, 28]
Generated Node #0,2,2: 15:[35, 28] Operation: 42-14=28
Exploring Operation: 35-14=21, Resulting Numbers: [42, 21]
Generated Node #0,2,3: 15:[42, 21] Operation: 35-14=21
Exploring Operation: 42+14=56, Resulting Numbers: [35, 56]
Generated Node #0,2,4: 15:[35, 56] Operation: 42+14=56
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[14, 7], Operations: ['45-10=35', '42-35=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[35, 3], Operations: ['45-10=35', '42/14=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,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,2
Current State: 15:[35, 28], Operations: ['45-10=35', '42-14=28']
Exploring Operation: 35*28=980, Resulting Numbers: [980]
980,15 unequal: No Solution
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,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,3
Current State: 15:[42, 21], Operations: ['45-10=35', '35-14=21']
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,15 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,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,4
Current State: 15:[35, 56], Operations: ['45-10=35', '42+14=56']
Exploring Operation: 35*56=1960, Resulting Numbers: [1960]
1960,15 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 35+56=91, Resulting Numbers: [91]
91,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 15:[45, 10, 28], Operations: ['42-14=28']
Exploring Operation: 45+10=55, Resulting Numbers: [28, 55]
Generated Node #0,4,0: 15:[28, 55] Operation: 45+10=55
Exploring Operation: 10+28=38, Resulting Numbers: [45, 38]
Generated Node #0,4,1: 15:[45, 38] Operation: 10+28=38
Exploring Operation: 28-10=18, Resulting Numbers: [45, 18]
Generated Node #0,4,2: 15:[45, 18] Operation: 28-10=18
Exploring Operation: 45-10=35, Resulting Numbers: [28, 35]
Generated Node #0,4,3: 15:[28, 35] Operation: 45-10=35
Exploring Operation: 45-28=17, Resulting Numbers: [10, 17]
Generated Node #0,4,4: 15:[10, 17] Operation: 45-28=17
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 15:[10, 17], Operations: ['42-14=28', '45-28=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,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,4,2
Current State: 15:[45, 18], Operations: ['42-14=28', '28-10=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,15 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,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,4,3
Current State: 15:[28, 35], Operations: ['42-14=28', '45-10=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,15 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,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,4,0
Current State: 15:[28, 55], Operations: ['42-14=28', '45+10=55']
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,15 unequal: No Solution
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,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,4,1
Current State: 15:[45, 38], Operations: ['42-14=28', '10+28=38']
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,15 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 15:[3, 4], Operations: ['45-42=3', '14-10=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[14, 7], Operations: ['45-42=3', '10-3=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,15 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[14, 13], Operations: ['45-42=3', '10+3=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[10, 17], Operations: ['45-42=3', '14+3=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[3, 24], Operations: ['45-42=3', '14+10=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,15 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
85,
19,
72
] | 26 | [
"76-72=4",
"85+19=104",
"104/4=26"
] | Current State: 26:[76, 85, 19, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [85, 19, 4]
Generated Node #2: [85, 19, 4] from Operation: 76-72=4
Current State: 26:[85, 19, 4], Operations: ['76-72=4']
Exploring Operation: 85+19=104, Resulting Numbers: [4, 104]
Generated Node #3: [4, 104] from Operation: 85+19=104
Current State: 26:[4, 104], Operations: ['76-72=4', '85+19=104']
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[76, 85, 19, 72], Operations: []
Exploring Operation: 85-72=13, Resulting Numbers: [76, 19, 13]
Generated Node #0,0: 26:[76, 19, 13] Operation: 85-72=13
Exploring Operation: 76-72=4, Resulting Numbers: [85, 19, 4]
Generated Node #0,1: 26:[85, 19, 4] Operation: 76-72=4
Exploring Operation: 85-76=9, Resulting Numbers: [19, 72, 9]
Generated Node #0,2: 26:[19, 72, 9] Operation: 85-76=9
Exploring Operation: 76/19=4, Resulting Numbers: [85, 72, 4]
Generated Node #0,3: 26:[85, 72, 4] Operation: 76/19=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[76, 19, 13], Operations: ['85-72=13']
Exploring Operation: 76/19=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 26:[13, 4] Operation: 76/19=4
Exploring Operation: 19-13=6, Resulting Numbers: [76, 6]
Generated Node #0,0,1: 26:[76, 6] Operation: 19-13=6
Exploring Operation: 76-13=63, Resulting Numbers: [19, 63]
Generated Node #0,0,2: 26:[19, 63] Operation: 76-13=63
Exploring Operation: 76-19=57, Resulting Numbers: [13, 57]
Generated Node #0,0,3: 26:[13, 57] Operation: 76-19=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[13, 4], Operations: ['85-72=13', '76/19=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[13, 57], Operations: ['85-72=13', '76-19=57']
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,26 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[19, 63], Operations: ['85-72=13', '76-13=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[76, 6], Operations: ['85-72=13', '19-13=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[19, 72, 9], Operations: ['85-76=9']
Exploring Operation: 72-9=63, Resulting Numbers: [19, 63]
Generated Node #0,2,0: 26:[19, 63] Operation: 72-9=63
Exploring Operation: 19+9=28, Resulting Numbers: [72, 28]
Generated Node #0,2,1: 26:[72, 28] Operation: 19+9=28
Exploring Operation: 72-19=53, Resulting Numbers: [9, 53]
Generated Node #0,2,2: 26:[9, 53] Operation: 72-19=53
Exploring Operation: 72/9=8, Resulting Numbers: [19, 8]
Generated Node #0,2,3: 26:[19, 8] Operation: 72/9=8
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[19, 8], Operations: ['85-76=9', '72/9=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,26 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[9, 53], Operations: ['85-76=9', '72-19=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[19, 63], Operations: ['85-76=9', '72-9=63']
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,26 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[72, 28], Operations: ['85-76=9', '19+9=28']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,26 unequal: No Solution
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[85, 19, 4], Operations: ['76-72=4']
Exploring Operation: 19+4=23, Resulting Numbers: [85, 23]
Generated Node #0,1,0: 26:[85, 23] Operation: 19+4=23
Exploring Operation: 85-19=66, Resulting Numbers: [4, 66]
Generated Node #0,1,1: 26:[4, 66] Operation: 85-19=66
Exploring Operation: 85-4=81, Resulting Numbers: [19, 81]
Generated Node #0,1,2: 26:[19, 81] Operation: 85-4=81
Exploring Operation: 19-4=15, Resulting Numbers: [85, 15]
Generated Node #0,1,3: 26:[85, 15] Operation: 19-4=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[4, 66], Operations: ['76-72=4', '85-19=66']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[19, 81], Operations: ['76-72=4', '85-4=81']
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,26 unequal: No Solution
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[85, 15], Operations: ['76-72=4', '19-4=15']
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,26 unequal: No Solution
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[85, 23], Operations: ['76-72=4', '19+4=23']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 85*23=1955, Resulting Numbers: [1955]
1955,26 unequal: No Solution
Exploring Operation: 85+23=108, Resulting Numbers: [108]
108,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[85, 72, 4], Operations: ['76/19=4']
Exploring Operation: 85-4=81, Resulting Numbers: [72, 81]
Generated Node #0,3,0: 26:[72, 81] Operation: 85-4=81
Exploring Operation: 72-4=68, Resulting Numbers: [85, 68]
Generated Node #0,3,1: 26:[85, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [85, 18]
Generated Node #0,3,2: 26:[85, 18] Operation: 72/4=18
Exploring Operation: 85-72=13, Resulting Numbers: [4, 13]
Generated Node #0,3,3: 26:[4, 13] Operation: 85-72=13
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[4, 13], Operations: ['76/19=4', '85-72=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[85, 18], Operations: ['76/19=4', '72/4=18']
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,26 unequal: No Solution
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,26 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[72, 81], Operations: ['76/19=4', '85-4=81']
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,26 unequal: No Solution
Exploring Operation: 72*81=5832, Resulting Numbers: [5832]
5832,26 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[85, 68], Operations: ['76/19=4', '72-4=68']
Exploring Operation: 85+68=153, Resulting Numbers: [153]
153,26 unequal: No Solution
Exploring Operation: 85*68=5780, Resulting Numbers: [5780]
5780,26 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
67,
17,
64
] | 38 | [
"67-64=3",
"63/3=21",
"17+21=38"
] | Current State: 38:[63, 67, 17, 64], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [63, 17, 3]
Generated Node #2: [63, 17, 3] from Operation: 67-64=3
Current State: 38:[63, 17, 3], Operations: ['67-64=3']
Exploring Operation: 63/3=21, Resulting Numbers: [17, 21]
Generated Node #3: [17, 21] from Operation: 63/3=21
Current State: 38:[17, 21], Operations: ['67-64=3', '63/3=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[63, 67, 17, 64], Operations: []
Exploring Operation: 67-63=4, Resulting Numbers: [17, 64, 4]
Generated Node #0,0: 38:[17, 64, 4] Operation: 67-63=4
Exploring Operation: 64-63=1, Resulting Numbers: [67, 17, 1]
Generated Node #0,1: 38:[67, 17, 1] Operation: 64-63=1
Exploring Operation: 63-17=46, Resulting Numbers: [67, 64, 46]
Generated Node #0,2: 38:[67, 64, 46] Operation: 63-17=46
Exploring Operation: 67-64=3, Resulting Numbers: [63, 17, 3]
Generated Node #0,3: 38:[63, 17, 3] Operation: 67-64=3
Exploring Operation: 67-17=50, Resulting Numbers: [63, 64, 50]
Generated Node #0,4: 38:[63, 64, 50] Operation: 67-17=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[63, 17, 3], Operations: ['67-64=3']
Exploring Operation: 17+3=20, Resulting Numbers: [63, 20]
Generated Node #0,3,0: 38:[63, 20] Operation: 17+3=20
Exploring Operation: 63-17=46, Resulting Numbers: [3, 46]
Generated Node #0,3,1: 38:[3, 46] Operation: 63-17=46
Exploring Operation: 63-3=60, Resulting Numbers: [17, 60]
Generated Node #0,3,2: 38:[17, 60] Operation: 63-3=60
Exploring Operation: 63+3=66, Resulting Numbers: [17, 66]
Generated Node #0,3,3: 38:[17, 66] Operation: 63+3=66
Exploring Operation: 63/3=21, Resulting Numbers: [17, 21]
Generated Node #0,3,4: 38:[17, 21] Operation: 63/3=21
Moving to Node #0,3,4
Current State: 38:[17, 21], Operations: ['67-64=3', '63/3=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,38 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[63, 67, 17, 64], Operations: []
Exploring Operation: 67-64=3, Resulting Numbers: [63, 17, 3]
Generated Node #0,3: 38:[63, 17, 3] Operation: 67-64=3
Moving to Node #0,3
Current State: 38:[63, 17, 3], Operations: ['67-64=3']
Exploring Operation: 63/3=21, Resulting Numbers: [17, 21]
Generated Node #0,3,4: 38:[17, 21] Operation: 63/3=21
Moving to Node #0,3,4
Current State: 38:[17, 21], Operations: ['67-64=3', '63/3=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
71,
43,
20,
48
] | 75 | [
"48-43=5",
"20/5=4",
"71+4=75"
] | Current State: 75:[71, 43, 20, 48], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [71, 20, 5]
Generated Node #2: [71, 20, 5] from Operation: 48-43=5
Current State: 75:[71, 20, 5], Operations: ['48-43=5']
Exploring Operation: 20/5=4, Resulting Numbers: [71, 4]
Generated Node #3: [71, 4] from Operation: 20/5=4
Current State: 75:[71, 4], Operations: ['48-43=5', '20/5=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[71, 43, 20, 48], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [71, 20, 5]
Generated Node #0,0: 75:[71, 20, 5] Operation: 48-43=5
Exploring Operation: 71-48=23, Resulting Numbers: [43, 20, 23]
Generated Node #0,1: 75:[43, 20, 23] Operation: 71-48=23
Exploring Operation: 43+48=91, Resulting Numbers: [71, 20, 91]
Generated Node #0,2: 75:[71, 20, 91] Operation: 43+48=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[71, 20, 5], Operations: ['48-43=5']
Exploring Operation: 20+5=25, Resulting Numbers: [71, 25]
Generated Node #0,0,0: 75:[71, 25] Operation: 20+5=25
Exploring Operation: 20/5=4, Resulting Numbers: [71, 4]
Generated Node #0,0,1: 75:[71, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [71, 15]
Generated Node #0,0,2: 75:[71, 15] Operation: 20-5=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[71, 25], Operations: ['48-43=5', '20+5=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,75 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,75 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,75 unequal: No Solution
No 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: 75:[71, 15], Operations: ['48-43=5', '20-5=15']
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 71*15=1065, Resulting Numbers: [1065]
1065,75 unequal: No Solution
No 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: 75:[71, 4], Operations: ['48-43=5', '20/5=4']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[71, 43, 20, 48], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [71, 20, 5]
Generated Node #0,0: 75:[71, 20, 5] Operation: 48-43=5
Moving to Node #0,0
Current State: 75:[71, 20, 5], Operations: ['48-43=5']
Exploring Operation: 20/5=4, Resulting Numbers: [71, 4]
Generated Node #0,0,1: 75:[71, 4] Operation: 20/5=4
Moving to Node #0,0,1
Current State: 75:[71, 4], Operations: ['48-43=5', '20/5=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
49,
39,
12,
66
] | 47 | [
"12+66=78",
"78/39=2",
"49-2=47"
] | Current State: 47:[49, 39, 12, 66], Operations: []
Exploring Operation: 12+66=78, Resulting Numbers: [49, 39, 78]
Generated Node #2: [49, 39, 78] from Operation: 12+66=78
Current State: 47:[49, 39, 78], Operations: ['12+66=78']
Exploring Operation: 78/39=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 78/39=2
Current State: 47:[49, 2], Operations: ['12+66=78', '78/39=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[49, 39, 12, 66], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [49, 39, 54]
Generated Node #0,0: 47:[49, 39, 54] Operation: 66-12=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[49, 39, 54], Operations: ['66-12=54']
Exploring Operation: 54-39=15, Resulting Numbers: [49, 15]
Generated Node #0,0,0: 47:[49, 15] Operation: 54-39=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[49, 15], Operations: ['66-12=54', '54-39=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,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 |
[
49,
9,
59,
38
] | 52 | [
"59-49=10",
"9*10=90",
"90-38=52"
] | Current State: 52:[49, 9, 59, 38], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [9, 38, 10]
Generated Node #2: [9, 38, 10] from Operation: 59-49=10
Current State: 52:[9, 38, 10], Operations: ['59-49=10']
Exploring Operation: 9*10=90, Resulting Numbers: [38, 90]
Generated Node #3: [38, 90] from Operation: 9*10=90
Current State: 52:[38, 90], Operations: ['59-49=10', '9*10=90']
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[49, 9, 59, 38], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [9, 59, 11]
Generated Node #0,0: 52:[9, 59, 11] Operation: 49-38=11
Exploring Operation: 59-38=21, Resulting Numbers: [49, 9, 21]
Generated Node #0,1: 52:[49, 9, 21] Operation: 59-38=21
Moving to Node #0,1
Current State: 52:[49, 9, 21], Operations: ['59-38=21']
Exploring Operation: 49-21=28, Resulting Numbers: [9, 28]
Generated Node #0,1,0: 52:[9, 28] Operation: 49-21=28
Exploring Operation: 21-9=12, Resulting Numbers: [49, 12]
Generated Node #0,1,1: 52:[49, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[49, 12], Operations: ['59-38=21', '21-9=12']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[9, 28], Operations: ['59-38=21', '49-21=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,52 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: 52:[9, 59, 11], Operations: ['49-38=11']
Exploring Operation: 59-9=50, Resulting Numbers: [11, 50]
Generated Node #0,0,0: 52:[11, 50] Operation: 59-9=50
Exploring Operation: 11-9=2, Resulting Numbers: [59, 2]
Generated Node #0,0,1: 52:[59, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 52:[11, 50], Operations: ['49-38=11', '59-9=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[59, 2], Operations: ['49-38=11', '11-9=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
18,
56,
66,
14
] | 12 | [
"66-18=48",
"56/14=4",
"48/4=12"
] | Current State: 12:[18, 56, 66, 14], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [56, 14, 48]
Generated Node #2: [56, 14, 48] from Operation: 66-18=48
Current State: 12:[56, 14, 48], Operations: ['66-18=48']
Exploring Operation: 56/14=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 56/14=4
Current State: 12:[48, 4], Operations: ['66-18=48', '56/14=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[18, 56, 66, 14], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [18, 14, 10]
Generated Node #0,0: 12:[18, 14, 10] Operation: 66-56=10
Exploring Operation: 56/14=4, Resulting Numbers: [18, 66, 4]
Generated Node #0,1: 12:[18, 66, 4] Operation: 56/14=4
Exploring Operation: 56-18=38, Resulting Numbers: [66, 14, 38]
Generated Node #0,2: 12:[66, 14, 38] Operation: 56-18=38
Moving to Node #0,0
Current State: 12:[18, 14, 10], Operations: ['66-56=10']
Exploring Operation: 14-10=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 12:[18, 4] Operation: 14-10=4
Exploring Operation: 18-14=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 12:[10, 4] Operation: 18-14=4
Exploring Operation: 18-10=8, Resulting Numbers: [14, 8]
Generated Node #0,0,2: 12:[14, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[10, 4], Operations: ['66-56=10', '18-14=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[14, 8], Operations: ['66-56=10', '18-10=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[18, 4], Operations: ['66-56=10', '14-10=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,12 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: 12:[18, 66, 4], Operations: ['56/14=4']
Exploring Operation: 18-4=14, Resulting Numbers: [66, 14]
Generated Node #0,1,0: 12:[66, 14] Operation: 18-4=14
Exploring Operation: 66-18=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 12:[4, 48] Operation: 66-18=48
Exploring Operation: 66-4=62, Resulting Numbers: [18, 62]
Generated Node #0,1,2: 12:[18, 62] Operation: 66-4=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[4, 48], Operations: ['56/14=4', '66-18=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[18, 56, 66, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [18, 66, 4]
Generated Node #0,1: 12:[18, 66, 4] Operation: 56/14=4
Moving to Node #0,1
Current State: 12:[18, 66, 4], Operations: ['56/14=4']
Exploring Operation: 66-18=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 12:[4, 48] Operation: 66-18=48
Moving to Node #0,1,1
Current State: 12:[4, 48], Operations: ['56/14=4', '66-18=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
19,
9,
19,
86
] | 95 | [
"19+9=28",
"86-19=67",
"28+67=95"
] | Current State: 95:[19, 9, 19, 86], Operations: []
Exploring Operation: 19+9=28, Resulting Numbers: [86, 28]
Generated Node #2: [86, 28] from Operation: 19+9=28
Current State: 95:[86, 28], Operations: ['19+9=28']
Exploring Operation: 86-19=67, Resulting Numbers: [28, 67]
Generated Node #3: [28, 67] from Operation: 86-19=67
Current State: 95:[28, 67], Operations: ['19+9=28', '86-19=67']
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[19, 9, 19, 86], Operations: []
Exploring Operation: 19-9=10, Resulting Numbers: [19, 86, 10]
Generated Node #0,0: 95:[19, 86, 10] Operation: 19-9=10
Exploring Operation: 19-9=10, Resulting Numbers: [19, 86, 10]
Generated Node #0,1: 95:[19, 86, 10] Operation: 19-9=10
Exploring Operation: 19+86=105, Resulting Numbers: [9, 19, 105]
Generated Node #0,2: 95:[9, 19, 105] Operation: 19+86=105
Exploring Operation: 9+86=95, Resulting Numbers: [19, 19, 95]
Generated Node #0,3: 95:[19, 19, 95] Operation: 9+86=95
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[19, 19, 95], Operations: ['9+86=95']
Exploring Operation: 19-19=0, Resulting Numbers: [95, 0]
Generated Node #0,3,0: 95:[95, 0] Operation: 19-19=0
Exploring Operation: 95/19=5, Resulting Numbers: [19, 5]
Generated Node #0,3,1: 95:[19, 5] Operation: 95/19=5
Exploring Operation: 95/19=5, Resulting Numbers: [19, 5]
Generated Node #0,3,2: 95:[19, 5] Operation: 95/19=5
Exploring Operation: 19/19=1, Resulting Numbers: [95, 1]
Generated Node #0,3,3: 95:[95, 1] Operation: 19/19=1
Moving to Node #0,3,1
Current State: 95:[19, 5], Operations: ['9+86=95', '95/19=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[19, 9, 19, 86], Operations: []
Exploring Operation: 9+86=95, Resulting Numbers: [19, 19, 95]
Generated Node #0,3: 95:[19, 19, 95] Operation: 9+86=95
Moving to Node #0,3
Current State: 95:[19, 19, 95], Operations: ['9+86=95']
Exploring Operation: 95/19=5, Resulting Numbers: [19, 5]
Generated Node #0,3,1: 95:[19, 5] Operation: 95/19=5
Moving to Node #0,3,1
Current State: 95:[19, 5], Operations: ['9+86=95', '95/19=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
39,
35,
2,
4
] | 99 | [
"39+2=41",
"35*4=140",
"140-41=99"
] | Current State: 99:[39, 35, 2, 4], Operations: []
Exploring Operation: 39+2=41, Resulting Numbers: [35, 4, 41]
Generated Node #2: [35, 4, 41] from Operation: 39+2=41
Current State: 99:[35, 4, 41], Operations: ['39+2=41']
Exploring Operation: 35*4=140, Resulting Numbers: [41, 140]
Generated Node #3: [41, 140] from Operation: 35*4=140
Current State: 99:[41, 140], Operations: ['39+2=41', '35*4=140']
Exploring Operation: 140-41=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[39, 35, 2, 4], Operations: []
Exploring Operation: 39-4=35, Resulting Numbers: [35, 2, 35]
Generated Node #0,0: 99:[35, 2, 35] Operation: 39-4=35
Exploring Operation: 39-35=4, Resulting Numbers: [2, 4, 4]
Generated Node #0,1: 99:[2, 4, 4] Operation: 39-35=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[2, 4, 4], Operations: ['39-35=4']
Exploring Operation: 4-2=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 99:[4, 2] Operation: 4-2=2
Exploring Operation: 2*4=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 99:[4, 8] Operation: 2*4=8
Moving to Node #0,1,0
Current State: 99:[4, 2], Operations: ['39-35=4', '4-2=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[4, 8], Operations: ['39-35=4', '2*4=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,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,0
Current State: 99:[35, 2, 35], Operations: ['39-4=35']
Exploring Operation: 35-2=33, Resulting Numbers: [35, 33]
Generated Node #0,0,0: 99:[35, 33] Operation: 35-2=33
Exploring Operation: 35-2=33, Resulting Numbers: [35, 33]
Generated Node #0,0,1: 99:[35, 33] Operation: 35-2=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[35, 33], Operations: ['39-4=35', '35-2=33']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,99 unequal: No Solution
No 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: 99:[35, 33], Operations: ['39-4=35', '35-2=33']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
71,
36,
10
] | 57 | [
"36/9=4",
"71-10=61",
"61-4=57"
] | Current State: 57:[9, 71, 36, 10], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [71, 10, 4]
Generated Node #2: [71, 10, 4] from Operation: 36/9=4
Current State: 57:[71, 10, 4], Operations: ['36/9=4']
Exploring Operation: 71-10=61, Resulting Numbers: [4, 61]
Generated Node #3: [4, 61] from Operation: 71-10=61
Current State: 57:[4, 61], Operations: ['36/9=4', '71-10=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[9, 71, 36, 10], Operations: []
Exploring Operation: 36-10=26, Resulting Numbers: [9, 71, 26]
Generated Node #0,0: 57:[9, 71, 26] Operation: 36-10=26
Exploring Operation: 36-9=27, Resulting Numbers: [71, 10, 27]
Generated Node #0,1: 57:[71, 10, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [71, 10, 4]
Generated Node #0,2: 57:[71, 10, 4] Operation: 36/9=4
Exploring Operation: 71-10=61, Resulting Numbers: [9, 36, 61]
Generated Node #0,3: 57:[9, 36, 61] Operation: 71-10=61
Exploring Operation: 71-9=62, Resulting Numbers: [36, 10, 62]
Generated Node #0,4: 57:[36, 10, 62] Operation: 71-9=62
Moving to Node #0,2
Current State: 57:[71, 10, 4], Operations: ['36/9=4']
Exploring Operation: 71+10=81, Resulting Numbers: [4, 81]
Generated Node #0,2,0: 57:[4, 81] Operation: 71+10=81
Exploring Operation: 71-4=67, Resulting Numbers: [10, 67]
Generated Node #0,2,1: 57:[10, 67] Operation: 71-4=67
Exploring Operation: 10+4=14, Resulting Numbers: [71, 14]
Generated Node #0,2,2: 57:[71, 14] Operation: 10+4=14
Exploring Operation: 71-10=61, Resulting Numbers: [4, 61]
Generated Node #0,2,3: 57:[4, 61] Operation: 71-10=61
Exploring Operation: 10-4=6, Resulting Numbers: [71, 6]
Generated Node #0,2,4: 57:[71, 6] Operation: 10-4=6
Moving to Node #0,3
Current State: 57:[9, 36, 61], Operations: ['71-10=61']
Exploring Operation: 9+36=45, Resulting Numbers: [61, 45]
Generated Node #0,3,0: 57:[61, 45] Operation: 9+36=45
Exploring Operation: 61-9=52, Resulting Numbers: [36, 52]
Generated Node #0,3,1: 57:[36, 52] Operation: 61-9=52
Exploring Operation: 36-9=27, Resulting Numbers: [61, 27]
Generated Node #0,3,2: 57:[61, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [61, 4]
Generated Node #0,3,3: 57:[61, 4] Operation: 36/9=4
Exploring Operation: 61-36=25, Resulting Numbers: [9, 25]
Generated Node #0,3,4: 57:[9, 25] Operation: 61-36=25
Moving to Node #0,0
Current State: 57:[9, 71, 26], Operations: ['36-10=26']
Exploring Operation: 71-9=62, Resulting Numbers: [26, 62]
Generated Node #0,0,0: 57:[26, 62] Operation: 71-9=62
Exploring Operation: 71-26=45, Resulting Numbers: [9, 45]
Generated Node #0,0,1: 57:[9, 45] Operation: 71-26=45
Exploring Operation: 9+71=80, Resulting Numbers: [26, 80]
Generated Node #0,0,2: 57:[26, 80] Operation: 9+71=80
Exploring Operation: 9+26=35, Resulting Numbers: [71, 35]
Generated Node #0,0,3: 57:[71, 35] Operation: 9+26=35
Exploring Operation: 26-9=17, Resulting Numbers: [71, 17]
Generated Node #0,0,4: 57:[71, 17] Operation: 26-9=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[26, 62], Operations: ['36-10=26', '71-9=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,57 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 57:[71, 17], Operations: ['36-10=26', '26-9=17']
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,57 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[9, 45], Operations: ['36-10=26', '71-26=45']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,57 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,57 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[26, 80], Operations: ['36-10=26', '9+71=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,57 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[71, 35], Operations: ['36-10=26', '9+26=35']
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,57 unequal: No Solution
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,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:[71, 10, 27], Operations: ['36-9=27']
Exploring Operation: 71-27=44, Resulting Numbers: [10, 44]
Generated Node #0,1,0: 57:[10, 44] Operation: 71-27=44
Exploring Operation: 27-10=17, Resulting Numbers: [71, 17]
Generated Node #0,1,1: 57:[71, 17] Operation: 27-10=17
Exploring Operation: 10+27=37, Resulting Numbers: [71, 37]
Generated Node #0,1,2: 57:[71, 37] Operation: 10+27=37
Exploring Operation: 71-10=61, Resulting Numbers: [27, 61]
Generated Node #0,1,3: 57:[27, 61] Operation: 71-10=61
Exploring Operation: 71+10=81, Resulting Numbers: [27, 81]
Generated Node #0,1,4: 57:[27, 81] Operation: 71+10=81
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 57:[27, 61], Operations: ['36-9=27', '71-10=61']
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 27+61=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 27*61=1647, Resulting Numbers: [1647]
1647,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,1
Current State: 57:[71, 17], Operations: ['36-9=27', '27-10=17']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,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:[10, 44], Operations: ['36-9=27', '71-27=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,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:[71, 37], Operations: ['36-9=27', '10+27=37']
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,57 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,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,4
Current State: 57:[27, 81], Operations: ['36-9=27', '71+10=81']
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,57 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 27*81=2187, Resulting Numbers: [2187]
2187,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 57:[36, 10, 62], Operations: ['71-9=62']
Exploring Operation: 10+62=72, Resulting Numbers: [36, 72]
Generated Node #0,4,0: 57:[36, 72] Operation: 10+62=72
Exploring Operation: 36+10=46, Resulting Numbers: [62, 46]
Generated Node #0,4,1: 57:[62, 46] Operation: 36+10=46
Exploring Operation: 36-10=26, Resulting Numbers: [62, 26]
Generated Node #0,4,2: 57:[62, 26] Operation: 36-10=26
Exploring Operation: 62-10=52, Resulting Numbers: [36, 52]
Generated Node #0,4,3: 57:[36, 52] Operation: 62-10=52
Exploring Operation: 62-36=26, Resulting Numbers: [10, 26]
Generated Node #0,4,4: 57:[10, 26] Operation: 62-36=26
Moving to Node #0,2,3
Current State: 57:[4, 61], Operations: ['36/9=4', '71-10=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[9, 71, 36, 10], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [71, 10, 4]
Generated Node #0,2: 57:[71, 10, 4] Operation: 36/9=4
Moving to Node #0,2
Current State: 57:[71, 10, 4], Operations: ['36/9=4']
Exploring Operation: 71-10=61, Resulting Numbers: [4, 61]
Generated Node #0,2,3: 57:[4, 61] Operation: 71-10=61
Moving to Node #0,2,3
Current State: 57:[4, 61], Operations: ['36/9=4', '71-10=61']
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
18,
64,
34,
73
] | 43 | [
"18+64=82",
"73-34=39",
"82-39=43"
] | Current State: 43:[18, 64, 34, 73], Operations: []
Exploring Operation: 18+64=82, Resulting Numbers: [34, 73, 82]
Generated Node #2: [34, 73, 82] from Operation: 18+64=82
Current State: 43:[34, 73, 82], Operations: ['18+64=82']
Exploring Operation: 73-34=39, Resulting Numbers: [82, 39]
Generated Node #3: [82, 39] from Operation: 73-34=39
Current State: 43:[82, 39], Operations: ['18+64=82', '73-34=39']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[18, 64, 34, 73], Operations: []
Exploring Operation: 73-18=55, Resulting Numbers: [64, 34, 55]
Generated Node #0,0: 43:[64, 34, 55] Operation: 73-18=55
Exploring Operation: 64-18=46, Resulting Numbers: [34, 73, 46]
Generated Node #0,1: 43:[34, 73, 46] Operation: 64-18=46
Exploring Operation: 18+34=52, Resulting Numbers: [64, 73, 52]
Generated Node #0,2: 43:[64, 73, 52] Operation: 18+34=52
Exploring Operation: 73-34=39, Resulting Numbers: [18, 64, 39]
Generated Node #0,3: 43:[18, 64, 39] Operation: 73-34=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[64, 34, 55], Operations: ['73-18=55']
Exploring Operation: 64-34=30, Resulting Numbers: [55, 30]
Generated Node #0,0,0: 43:[55, 30] Operation: 64-34=30
Exploring Operation: 64-55=9, Resulting Numbers: [34, 9]
Generated Node #0,0,1: 43:[34, 9] Operation: 64-55=9
Exploring Operation: 64+34=98, Resulting Numbers: [55, 98]
Generated Node #0,0,2: 43:[55, 98] Operation: 64+34=98
Exploring Operation: 55-34=21, Resulting Numbers: [64, 21]
Generated Node #0,0,3: 43:[64, 21] Operation: 55-34=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[55, 30], Operations: ['73-18=55', '64-34=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,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:[34, 9], Operations: ['73-18=55', '64-55=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,43 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,43 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[18, 64, 34, 73], Operations: []
Exploring Operation: 73-18=55, Resulting Numbers: [64, 34, 55]
Generated Node #0,0: 43:[64, 34, 55] Operation: 73-18=55
Moving to Node #0,0
Current State: 43:[64, 34, 55], Operations: ['73-18=55']
Exploring Operation: 64-55=9, Resulting Numbers: [34, 9]
Generated Node #0,0,1: 43:[34, 9] Operation: 64-55=9
Moving to Node #0,0,1
Current State: 43:[34, 9], Operations: ['73-18=55', '64-55=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
36,
18,
48,
6
] | 80 | [
"36-6=30",
"48*30=1440",
"1440/18=80"
] | Current State: 80:[36, 18, 48, 6], Operations: []
Exploring Operation: 36-6=30, Resulting Numbers: [18, 48, 30]
Generated Node #2: [18, 48, 30] from Operation: 36-6=30
Current State: 80:[18, 48, 30], Operations: ['36-6=30']
Exploring Operation: 48*30=1440, Resulting Numbers: [18, 1440]
Generated Node #3: [18, 1440] from Operation: 48*30=1440
Current State: 80:[18, 1440], Operations: ['36-6=30', '48*30=1440']
Exploring Operation: 1440/18=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[36, 18, 48, 6], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [18, 6, 12]
Generated Node #0,0: 80:[18, 6, 12] Operation: 48-36=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[18, 6, 12], Operations: ['48-36=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 80:[6, 6] Operation: 18-12=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[6, 6], Operations: ['48-36=12', '18-12=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
15,
46,
3
] | 45 | [
"46-37=9",
"15/3=5",
"9*5=45"
] | Current State: 45:[37, 15, 46, 3], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [15, 3, 9]
Generated Node #2: [15, 3, 9] from Operation: 46-37=9
Current State: 45:[15, 3, 9], Operations: ['46-37=9']
Exploring Operation: 15/3=5, Resulting Numbers: [9, 5]
Generated Node #3: [9, 5] from Operation: 15/3=5
Current State: 45:[9, 5], Operations: ['46-37=9', '15/3=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[37, 15, 46, 3], Operations: []
Exploring Operation: 37+3=40, Resulting Numbers: [15, 46, 40]
Generated Node #0,0: 45:[15, 46, 40] Operation: 37+3=40
Exploring Operation: 37+15=52, Resulting Numbers: [46, 3, 52]
Generated Node #0,1: 45:[46, 3, 52] Operation: 37+15=52
Exploring Operation: 46-37=9, Resulting Numbers: [15, 3, 9]
Generated Node #0,2: 45:[15, 3, 9] Operation: 46-37=9
Exploring Operation: 37-15=22, Resulting Numbers: [46, 3, 22]
Generated Node #0,3: 45:[46, 3, 22] Operation: 37-15=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[15, 3, 9], Operations: ['46-37=9']
Exploring Operation: 15*3=45, Resulting Numbers: [9, 45]
Generated Node #0,2,0: 45:[9, 45] Operation: 15*3=45
Exploring Operation: 15-9=6, Resulting Numbers: [3, 6]
Generated Node #0,2,1: 45:[3, 6] Operation: 15-9=6
Exploring Operation: 15/3=5, Resulting Numbers: [9, 5]
Generated Node #0,2,2: 45:[9, 5] Operation: 15/3=5
Exploring Operation: 9/3=3, Resulting Numbers: [15, 3]
Generated Node #0,2,3: 45:[15, 3] Operation: 9/3=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[9, 45], Operations: ['46-37=9', '15*3=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,45 unequal: No Solution
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,45 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[9, 5], Operations: ['46-37=9', '15/3=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[37, 15, 46, 3], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [15, 3, 9]
Generated Node #0,2: 45:[15, 3, 9] Operation: 46-37=9
Moving to Node #0,2
Current State: 45:[15, 3, 9], Operations: ['46-37=9']
Exploring Operation: 15/3=5, Resulting Numbers: [9, 5]
Generated Node #0,2,2: 45:[9, 5] Operation: 15/3=5
Moving to Node #0,2,2
Current State: 45:[9, 5], Operations: ['46-37=9', '15/3=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
43,
62,
35,
25
] | 28 | [
"43+62=105",
"105/35=3",
"25+3=28"
] | Current State: 28:[43, 62, 35, 25], Operations: []
Exploring Operation: 43+62=105, Resulting Numbers: [35, 25, 105]
Generated Node #2: [35, 25, 105] from Operation: 43+62=105
Current State: 28:[35, 25, 105], Operations: ['43+62=105']
Exploring Operation: 105/35=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 105/35=3
Current State: 28:[25, 3], Operations: ['43+62=105', '105/35=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[43, 62, 35, 25], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [35, 25, 19]
Generated Node #0,0: 28:[35, 25, 19] Operation: 62-43=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[35, 25, 19], Operations: ['62-43=19']
Exploring Operation: 35-19=16, Resulting Numbers: [25, 16]
Generated Node #0,0,0: 28:[25, 16] Operation: 35-19=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[25, 16], Operations: ['62-43=19', '35-19=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
67,
28,
22
] | 21 | [
"4+67=71",
"28+22=50",
"71-50=21"
] | Current State: 21:[4, 67, 28, 22], Operations: []
Exploring Operation: 4+67=71, Resulting Numbers: [28, 22, 71]
Generated Node #2: [28, 22, 71] from Operation: 4+67=71
Current State: 21:[28, 22, 71], Operations: ['4+67=71']
Exploring Operation: 28+22=50, Resulting Numbers: [71, 50]
Generated Node #3: [71, 50] from Operation: 28+22=50
Current State: 21:[71, 50], Operations: ['4+67=71', '28+22=50']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[4, 67, 28, 22], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [4, 28, 45]
Generated Node #0,0: 21:[4, 28, 45] Operation: 67-22=45
Exploring Operation: 67-28=39, Resulting Numbers: [4, 22, 39]
Generated Node #0,1: 21:[4, 22, 39] Operation: 67-28=39
Exploring Operation: 28-22=6, Resulting Numbers: [4, 67, 6]
Generated Node #0,2: 21:[4, 67, 6] Operation: 28-22=6
Exploring Operation: 67-4=63, Resulting Numbers: [28, 22, 63]
Generated Node #0,3: 21:[28, 22, 63] Operation: 67-4=63
Exploring Operation: 28/4=7, Resulting Numbers: [67, 22, 7]
Generated Node #0,4: 21:[67, 22, 7] Operation: 28/4=7
Moving to Node #0,1
Current State: 21:[4, 22, 39], Operations: ['67-28=39']
Exploring Operation: 39-22=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 21:[4, 17] Operation: 39-22=17
Exploring Operation: 4+22=26, Resulting Numbers: [39, 26]
Generated Node #0,1,1: 21:[39, 26] Operation: 4+22=26
Exploring Operation: 4+39=43, Resulting Numbers: [22, 43]
Generated Node #0,1,2: 21:[22, 43] Operation: 4+39=43
Exploring Operation: 22-4=18, Resulting Numbers: [39, 18]
Generated Node #0,1,3: 21:[39, 18] Operation: 22-4=18
Exploring Operation: 39-4=35, Resulting Numbers: [22, 35]
Generated Node #0,1,4: 21:[22, 35] Operation: 39-4=35
Moving to Node #0,0
Current State: 21:[4, 28, 45], Operations: ['67-22=45']
Exploring Operation: 45-4=41, Resulting Numbers: [28, 41]
Generated Node #0,0,0: 21:[28, 41] Operation: 45-4=41
Exploring Operation: 28-4=24, Resulting Numbers: [45, 24]
Generated Node #0,0,1: 21:[45, 24] Operation: 28-4=24
Exploring Operation: 45-28=17, Resulting Numbers: [4, 17]
Generated Node #0,0,2: 21:[4, 17] Operation: 45-28=17
Exploring Operation: 4+28=32, Resulting Numbers: [45, 32]
Generated Node #0,0,3: 21:[45, 32] Operation: 4+28=32
Exploring Operation: 28/4=7, Resulting Numbers: [45, 7]
Generated Node #0,0,4: 21:[45, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[4, 17], Operations: ['67-22=45', '45-28=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[4, 67, 28, 22], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [4, 28, 45]
Generated Node #0,0: 21:[4, 28, 45] Operation: 67-22=45
Moving to Node #0,0
Current State: 21:[4, 28, 45], Operations: ['67-22=45']
Exploring Operation: 45-28=17, Resulting Numbers: [4, 17]
Generated Node #0,0,2: 21:[4, 17] Operation: 45-28=17
Moving to Node #0,0,2
Current State: 21:[4, 17], Operations: ['67-22=45', '45-28=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
9,
6,
70,
48
] | 38 | [
"6*48=288",
"288/9=32",
"70-32=38"
] | Current State: 38:[9, 6, 70, 48], Operations: []
Exploring Operation: 6*48=288, Resulting Numbers: [9, 70, 288]
Generated Node #2: [9, 70, 288] from Operation: 6*48=288
Current State: 38:[9, 70, 288], Operations: ['6*48=288']
Exploring Operation: 288/9=32, Resulting Numbers: [70, 32]
Generated Node #3: [70, 32] from Operation: 288/9=32
Current State: 38:[70, 32], Operations: ['6*48=288', '288/9=32']
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[9, 6, 70, 48], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [9, 6, 22]
Generated Node #0,0: 38:[9, 6, 22] Operation: 70-48=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[9, 6, 22], Operations: ['70-48=22']
Exploring Operation: 9-6=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 38:[22, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 38:[22, 3], Operations: ['70-48=22', '9-6=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,38 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 |
[
19,
64,
20,
76
] | 80 | [
"76/19=4",
"64+20=84",
"84-4=80"
] | Current State: 80:[19, 64, 20, 76], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [64, 20, 4]
Generated Node #2: [64, 20, 4] from Operation: 76/19=4
Current State: 80:[64, 20, 4], Operations: ['76/19=4']
Exploring Operation: 64+20=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 64+20=84
Current State: 80:[4, 84], Operations: ['76/19=4', '64+20=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[19, 64, 20, 76], Operations: []
Exploring Operation: 76-64=12, Resulting Numbers: [19, 20, 12]
Generated Node #0,0: 80:[19, 20, 12] Operation: 76-64=12
Exploring Operation: 64+20=84, Resulting Numbers: [19, 76, 84]
Generated Node #0,1: 80:[19, 76, 84] Operation: 64+20=84
Exploring Operation: 64-19=45, Resulting Numbers: [20, 76, 45]
Generated Node #0,2: 80:[20, 76, 45] Operation: 64-19=45
Exploring Operation: 19+64=83, Resulting Numbers: [20, 76, 83]
Generated Node #0,3: 80:[20, 76, 83] Operation: 19+64=83
Moving to Node #0,0
Current State: 80:[19, 20, 12], Operations: ['76-64=12']
Exploring Operation: 20-19=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 80:[12, 1] Operation: 20-19=1
Exploring Operation: 19-12=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 80:[20, 7] Operation: 19-12=7
Exploring Operation: 20-12=8, Resulting Numbers: [19, 8]
Generated Node #0,0,2: 80:[19, 8] Operation: 20-12=8
Exploring Operation: 19+20=39, Resulting Numbers: [12, 39]
Generated Node #0,0,3: 80:[12, 39] Operation: 19+20=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[20, 7], Operations: ['76-64=12', '19-12=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,80 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[19, 8], Operations: ['76-64=12', '20-12=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,80 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[12, 1], Operations: ['76-64=12', '20-19=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,80 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[12, 39], Operations: ['76-64=12', '19+20=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,80 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 80:[20, 76, 83], Operations: ['19+64=83']
Exploring Operation: 83-20=63, Resulting Numbers: [76, 63]
Generated Node #0,3,0: 80:[76, 63] Operation: 83-20=63
Exploring Operation: 83-76=7, Resulting Numbers: [20, 7]
Generated Node #0,3,1: 80:[20, 7] Operation: 83-76=7
Exploring Operation: 20+76=96, Resulting Numbers: [83, 96]
Generated Node #0,3,2: 80:[83, 96] Operation: 20+76=96
Exploring Operation: 76-20=56, Resulting Numbers: [83, 56]
Generated Node #0,3,3: 80:[83, 56] Operation: 76-20=56
Moving to Node #0,2
Current State: 80:[20, 76, 45], Operations: ['64-19=45']
Exploring Operation: 20+76=96, Resulting Numbers: [45, 96]
Generated Node #0,2,0: 80:[45, 96] Operation: 20+76=96
Exploring Operation: 45-20=25, Resulting Numbers: [76, 25]
Generated Node #0,2,1: 80:[76, 25] Operation: 45-20=25
Exploring Operation: 20+45=65, Resulting Numbers: [76, 65]
Generated Node #0,2,2: 80:[76, 65] Operation: 20+45=65
Exploring Operation: 76-45=31, Resulting Numbers: [20, 31]
Generated Node #0,2,3: 80:[20, 31] Operation: 76-45=31
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[76, 25], Operations: ['64-19=45', '45-20=25']
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[20, 31], Operations: ['64-19=45', '76-45=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,80 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[76, 65], Operations: ['64-19=45', '20+45=65']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,80 unequal: No Solution
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[45, 96], Operations: ['64-19=45', '20+76=96']
Exploring Operation: 45+96=141, Resulting Numbers: [141]
141,80 unequal: No Solution
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 45*96=4320, Resulting Numbers: [4320]
4320,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 80:[19, 76, 84], Operations: ['64+20=84']
Exploring Operation: 76/19=4, Resulting Numbers: [84, 4]
Generated Node #0,1,0: 80:[84, 4] Operation: 76/19=4
Exploring Operation: 84-76=8, Resulting Numbers: [19, 8]
Generated Node #0,1,1: 80:[19, 8] Operation: 84-76=8
Exploring Operation: 84-19=65, Resulting Numbers: [76, 65]
Generated Node #0,1,2: 80:[76, 65] Operation: 84-19=65
Exploring Operation: 19+76=95, Resulting Numbers: [84, 95]
Generated Node #0,1,3: 80:[84, 95] Operation: 19+76=95
Moving to Node #0,3,1
Current State: 80:[20, 7], Operations: ['19+64=83', '83-76=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,80 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[19, 8], Operations: ['64+20=84', '84-76=8']
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,80 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[84, 4], Operations: ['64+20=84', '76/19=4']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,80 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[19, 64, 20, 76], Operations: []
Exploring Operation: 64+20=84, Resulting Numbers: [19, 76, 84]
Generated Node #0,1: 80:[19, 76, 84] Operation: 64+20=84
Moving to Node #0,1
Current State: 80:[19, 76, 84], Operations: ['64+20=84']
Exploring Operation: 76/19=4, Resulting Numbers: [84, 4]
Generated Node #0,1,0: 80:[84, 4] Operation: 76/19=4
Moving to Node #0,1,0
Current State: 80:[84, 4], Operations: ['64+20=84', '76/19=4']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
12,
70,
85,
34
] | 16 | [
"70*34=2380",
"2380/85=28",
"28-12=16"
] | Current State: 16:[12, 70, 85, 34], Operations: []
Exploring Operation: 70*34=2380, Resulting Numbers: [12, 85, 2380]
Generated Node #2: [12, 85, 2380] from Operation: 70*34=2380
Current State: 16:[12, 85, 2380], Operations: ['70*34=2380']
Exploring Operation: 2380/85=28, Resulting Numbers: [12, 28]
Generated Node #3: [12, 28] from Operation: 2380/85=28
Current State: 16:[12, 28], Operations: ['70*34=2380', '2380/85=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[12, 70, 85, 34], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [12, 34, 15]
Generated Node #0,0: 16:[12, 34, 15] Operation: 85-70=15
Exploring Operation: 70-34=36, Resulting Numbers: [12, 85, 36]
Generated Node #0,1: 16:[12, 85, 36] Operation: 70-34=36
Moving to Node #0,0
Current State: 16:[12, 34, 15], Operations: ['85-70=15']
Exploring Operation: 34-15=19, Resulting Numbers: [12, 19]
Generated Node #0,0,0: 16:[12, 19] Operation: 34-15=19
Exploring Operation: 34-12=22, Resulting Numbers: [15, 22]
Generated Node #0,0,1: 16:[15, 22] Operation: 34-12=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[12, 19], Operations: ['85-70=15', '34-15=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[15, 22], Operations: ['85-70=15', '34-12=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[12, 85, 36], Operations: ['70-34=36']
Exploring Operation: 36/12=3, Resulting Numbers: [85, 3]
Generated Node #0,1,0: 16:[85, 3] Operation: 36/12=3
Exploring Operation: 85-36=49, Resulting Numbers: [12, 49]
Generated Node #0,1,1: 16:[12, 49] Operation: 85-36=49
Moving to Node #0,1,1
Current State: 16:[12, 49], Operations: ['70-34=36', '85-36=49']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[85, 3], Operations: ['70-34=36', '36/12=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,16 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,16 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
80,
6,
9
] | 16 | [
"25+80=105",
"105-9=96",
"96/6=16"
] | Current State: 16:[25, 80, 6, 9], Operations: []
Exploring Operation: 25+80=105, Resulting Numbers: [6, 9, 105]
Generated Node #2: [6, 9, 105] from Operation: 25+80=105
Current State: 16:[6, 9, 105], Operations: ['25+80=105']
Exploring Operation: 105-9=96, Resulting Numbers: [6, 96]
Generated Node #3: [6, 96] from Operation: 105-9=96
Current State: 16:[6, 96], Operations: ['25+80=105', '105-9=96']
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[25, 80, 6, 9], Operations: []
Exploring Operation: 80-25=55, Resulting Numbers: [6, 9, 55]
Generated Node #0,0: 16:[6, 9, 55] Operation: 80-25=55
Exploring Operation: 80-9=71, Resulting Numbers: [25, 6, 71]
Generated Node #0,1: 16:[25, 6, 71] Operation: 80-9=71
Exploring Operation: 25-9=16, Resulting Numbers: [80, 6, 16]
Generated Node #0,2: 16:[80, 6, 16] Operation: 25-9=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[6, 9, 55], Operations: ['80-25=55']
Exploring Operation: 55-6=49, Resulting Numbers: [9, 49]
Generated Node #0,0,0: 16:[9, 49] Operation: 55-6=49
Exploring Operation: 6+9=15, Resulting Numbers: [55, 15]
Generated Node #0,0,1: 16:[55, 15] Operation: 6+9=15
Exploring Operation: 55-9=46, Resulting Numbers: [6, 46]
Generated Node #0,0,2: 16:[6, 46] Operation: 55-9=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 16:[6, 46], Operations: ['80-25=55', '55-9=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,16 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,16 unequal: No Solution
No 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: 16:[9, 49], Operations: ['80-25=55', '55-6=49']
Exploring Operation: 9*49=441, Resulting Numbers: [441]
441,16 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,16 unequal: No Solution
No 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: 16:[55, 15], Operations: ['80-25=55', '6+9=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,16 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,16 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: 16:[25, 6, 71], Operations: ['80-9=71']
Exploring Operation: 25-6=19, Resulting Numbers: [71, 19]
Generated Node #0,1,0: 16:[71, 19] Operation: 25-6=19
Exploring Operation: 71-6=65, Resulting Numbers: [25, 65]
Generated Node #0,1,1: 16:[25, 65] Operation: 71-6=65
Exploring Operation: 71-25=46, Resulting Numbers: [6, 46]
Generated Node #0,1,2: 16:[6, 46] Operation: 71-25=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[6, 46], Operations: ['80-9=71', '71-25=46']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,16 unequal: No Solution
No 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: 16:[71, 19], Operations: ['80-9=71', '25-6=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,16 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,16 unequal: No Solution
No 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: 16:[25, 65], Operations: ['80-9=71', '71-6=65']
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 25+65=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 25*65=1625, Resulting Numbers: [1625]
1625,16 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: 16:[80, 6, 16], Operations: ['25-9=16']
Exploring Operation: 80-16=64, Resulting Numbers: [6, 64]
Generated Node #0,2,0: 16:[6, 64] Operation: 80-16=64
Exploring Operation: 80-6=74, Resulting Numbers: [16, 74]
Generated Node #0,2,1: 16:[16, 74] Operation: 80-6=74
Exploring Operation: 80/16=5, Resulting Numbers: [6, 5]
Generated Node #0,2,2: 16:[6, 5] Operation: 80/16=5
Moving to Node #0,2,2
Current State: 16:[6, 5], Operations: ['25-9=16', '80/16=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[6, 64], Operations: ['25-9=16', '80-16=64']
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,16 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[16, 74], Operations: ['25-9=16', '80-6=74']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,16 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,16 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 |
[
53,
83,
2,
83
] | 51 | [
"53+83=136",
"2+83=85",
"136-85=51"
] | Current State: 51:[53, 83, 2, 83], Operations: []
Exploring Operation: 53+83=136, Resulting Numbers: [2, 136]
Generated Node #2: [2, 136] from Operation: 53+83=136
Current State: 51:[2, 136], Operations: ['53+83=136']
Exploring Operation: 2+83=85, Resulting Numbers: [136, 85]
Generated Node #3: [136, 85] from Operation: 2+83=85
Current State: 51:[136, 85], Operations: ['53+83=136', '2+83=85']
Exploring Operation: 136-85=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[53, 83, 2, 83], Operations: []
Exploring Operation: 83-53=30, Resulting Numbers: [2, 83, 30]
Generated Node #0,0: 51:[2, 83, 30] Operation: 83-53=30
Exploring Operation: 83-53=30, Resulting Numbers: [83, 2, 30]
Generated Node #0,1: 51:[83, 2, 30] Operation: 83-53=30
Exploring Operation: 83-83=0, Resulting Numbers: [53, 2, 0]
Generated Node #0,2: 51:[53, 2, 0] Operation: 83-83=0
Exploring Operation: 83/83=1, Resulting Numbers: [53, 2, 1]
Generated Node #0,3: 51:[53, 2, 1] Operation: 83/83=1
Exploring Operation: 53-2=51, Resulting Numbers: [83, 83, 51]
Generated Node #0,4: 51:[83, 83, 51] Operation: 53-2=51
Moving to Node #0,3
Current State: 51:[53, 2, 1], Operations: ['83/83=1']
Exploring Operation: 53-1=52, Resulting Numbers: [2, 52]
Generated Node #0,3,0: 51:[2, 52] Operation: 53-1=52
Exploring Operation: 2+1=3, Resulting Numbers: [53, 3]
Generated Node #0,3,1: 51:[53, 3] Operation: 2+1=3
Exploring Operation: 53-2=51, Resulting Numbers: [1, 51]
Generated Node #0,3,2: 51:[1, 51] Operation: 53-2=51
Exploring Operation: 53/1=53, Resulting Numbers: [2, 53]
Generated Node #0,3,3: 51:[2, 53] Operation: 53/1=53
Exploring Operation: 53*1=53, Resulting Numbers: [2, 53]
Generated Node #0,3,4: 51:[2, 53] Operation: 53*1=53
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[2, 52], Operations: ['83/83=1', '53-1=52']
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[53, 3], Operations: ['83/83=1', '2+1=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,51 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 51:[1, 51], Operations: ['83/83=1', '53-2=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[53, 83, 2, 83], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [53, 2, 1]
Generated Node #0,3: 51:[53, 2, 1] Operation: 83/83=1
Moving to Node #0,3
Current State: 51:[53, 2, 1], Operations: ['83/83=1']
Exploring Operation: 53-2=51, Resulting Numbers: [1, 51]
Generated Node #0,3,2: 51:[1, 51] Operation: 53-2=51
Moving to Node #0,3,2
Current State: 51:[1, 51], Operations: ['83/83=1', '53-2=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
49,
74,
21,
35
] | 59 | [
"21*35=735",
"735/49=15",
"74-15=59"
] | Current State: 59:[49, 74, 21, 35], Operations: []
Exploring Operation: 21*35=735, Resulting Numbers: [49, 74, 735]
Generated Node #2: [49, 74, 735] from Operation: 21*35=735
Current State: 59:[49, 74, 735], Operations: ['21*35=735']
Exploring Operation: 735/49=15, Resulting Numbers: [74, 15]
Generated Node #3: [74, 15] from Operation: 735/49=15
Current State: 59:[74, 15], Operations: ['21*35=735', '735/49=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[49, 74, 21, 35], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [49, 35, 53]
Generated Node #0,0: 59:[49, 35, 53] Operation: 74-21=53
Exploring Operation: 49+21=70, Resulting Numbers: [74, 35, 70]
Generated Node #0,1: 59:[74, 35, 70] Operation: 49+21=70
Exploring Operation: 21+35=56, Resulting Numbers: [49, 74, 56]
Generated Node #0,2: 59:[49, 74, 56] Operation: 21+35=56
Exploring Operation: 74-35=39, Resulting Numbers: [49, 21, 39]
Generated Node #0,3: 59:[49, 21, 39] Operation: 74-35=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[49, 74, 56], Operations: ['21+35=56']
Exploring Operation: 74-56=18, Resulting Numbers: [49, 18]
Generated Node #0,2,0: 59:[49, 18] Operation: 74-56=18
Exploring Operation: 49+56=105, Resulting Numbers: [74, 105]
Generated Node #0,2,1: 59:[74, 105] Operation: 49+56=105
Exploring Operation: 74-49=25, Resulting Numbers: [56, 25]
Generated Node #0,2,2: 59:[56, 25] Operation: 74-49=25
Exploring Operation: 49+74=123, Resulting Numbers: [56, 123]
Generated Node #0,2,3: 59:[56, 123] Operation: 49+74=123
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[56, 25], Operations: ['21+35=56', '74-49=25']
Exploring Operation: 56*25=1400, Resulting Numbers: [1400]
1400,59 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 56+25=81, Resulting Numbers: [81]
81,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,2,0
Current State: 59:[49, 18], Operations: ['21+35=56', '74-56=18']
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,59 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,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,2,1
Current State: 59:[74, 105], Operations: ['21+35=56', '49+56=105']
Exploring Operation: 74*105=7770, Resulting Numbers: [7770]
7770,59 unequal: No Solution
Exploring Operation: 74+105=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 105-74=31, Resulting Numbers: [31]
31,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,2,3
Current State: 59:[56, 123], Operations: ['21+35=56', '49+74=123']
Exploring Operation: 56*123=6888, Resulting Numbers: [6888]
6888,59 unequal: No Solution
Exploring Operation: 56+123=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 123-56=67, Resulting Numbers: [67]
67,59 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: 59:[49, 35, 53], Operations: ['74-21=53']
Exploring Operation: 49-35=14, Resulting Numbers: [53, 14]
Generated Node #0,0,0: 59:[53, 14] Operation: 49-35=14
Exploring Operation: 53-35=18, Resulting Numbers: [49, 18]
Generated Node #0,0,1: 59:[49, 18] Operation: 53-35=18
Exploring Operation: 49+35=84, Resulting Numbers: [53, 84]
Generated Node #0,0,2: 59:[53, 84] Operation: 49+35=84
Exploring Operation: 35+53=88, Resulting Numbers: [49, 88]
Generated Node #0,0,3: 59:[49, 88] Operation: 35+53=88
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[53, 84], Operations: ['74-21=53', '49+35=84']
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,59 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,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,0,3
Current State: 59:[49, 88], Operations: ['74-21=53', '35+53=88']
Exploring Operation: 49*88=4312, Resulting Numbers: [4312]
4312,59 unequal: No Solution
Exploring Operation: 49+88=137, Resulting Numbers: [137]
137,59 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,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,0,0
Current State: 59:[53, 14], Operations: ['74-21=53', '49-35=14']
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,59 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,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,0,1
Current State: 59:[49, 18], Operations: ['74-21=53', '53-35=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,59 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,59 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: 59:[74, 35, 70], Operations: ['49+21=70']
Exploring Operation: 74-35=39, Resulting Numbers: [70, 39]
Generated Node #0,1,0: 59:[70, 39] Operation: 74-35=39
Exploring Operation: 70-35=35, Resulting Numbers: [74, 35]
Generated Node #0,1,1: 59:[74, 35] Operation: 70-35=35
Exploring Operation: 35+70=105, Resulting Numbers: [74, 105]
Generated Node #0,1,2: 59:[74, 105] Operation: 35+70=105
Exploring Operation: 74+35=109, Resulting Numbers: [70, 109]
Generated Node #0,1,3: 59:[70, 109] Operation: 74+35=109
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[70, 39], Operations: ['49+21=70', '74-35=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,59 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,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,1
Current State: 59:[74, 35], Operations: ['49+21=70', '70-35=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,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,2
Current State: 59:[74, 105], Operations: ['49+21=70', '35+70=105']
Exploring Operation: 74+105=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 74*105=7770, Resulting Numbers: [7770]
7770,59 unequal: No Solution
Exploring Operation: 105-74=31, Resulting Numbers: [31]
31,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,3
Current State: 59:[70, 109], Operations: ['49+21=70', '74+35=109']
Exploring Operation: 70*109=7630, Resulting Numbers: [7630]
7630,59 unequal: No Solution
Exploring Operation: 70+109=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,59 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: 59:[49, 21, 39], Operations: ['74-35=39']
Exploring Operation: 21+39=60, Resulting Numbers: [49, 60]
Generated Node #0,3,0: 59:[49, 60] Operation: 21+39=60
Exploring Operation: 39-21=18, Resulting Numbers: [49, 18]
Generated Node #0,3,1: 59:[49, 18] Operation: 39-21=18
Exploring Operation: 49-21=28, Resulting Numbers: [39, 28]
Generated Node #0,3,2: 59:[39, 28] Operation: 49-21=28
Exploring Operation: 49+21=70, Resulting Numbers: [39, 70]
Generated Node #0,3,3: 59:[39, 70] Operation: 49+21=70
Moving to Node #0,3,0
Current State: 59:[49, 60], Operations: ['74-35=39', '21+39=60']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 49+60=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 49*60=2940, Resulting Numbers: [2940]
2940,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[39, 70], Operations: ['74-35=39', '49+21=70']
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,59 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[39, 28], Operations: ['74-35=39', '49-21=28']
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[49, 18], Operations: ['74-35=39', '39-21=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
72,
33,
32,
88
] | 66 | [
"88-72=16",
"33*32=1056",
"1056/16=66"
] | Current State: 66:[72, 33, 32, 88], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [33, 32, 16]
Generated Node #2: [33, 32, 16] from Operation: 88-72=16
Current State: 66:[33, 32, 16], Operations: ['88-72=16']
Exploring Operation: 33*32=1056, Resulting Numbers: [16, 1056]
Generated Node #3: [16, 1056] from Operation: 33*32=1056
Current State: 66:[16, 1056], Operations: ['88-72=16', '33*32=1056']
Exploring Operation: 1056/16=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[72, 33, 32, 88], Operations: []
Exploring Operation: 72-32=40, Resulting Numbers: [33, 88, 40]
Generated Node #0,0: 66:[33, 88, 40] Operation: 72-32=40
Exploring Operation: 88-33=55, Resulting Numbers: [72, 32, 55]
Generated Node #0,1: 66:[72, 32, 55] Operation: 88-33=55
Exploring Operation: 88-32=56, Resulting Numbers: [72, 33, 56]
Generated Node #0,2: 66:[72, 33, 56] Operation: 88-32=56
Exploring Operation: 72-33=39, Resulting Numbers: [32, 88, 39]
Generated Node #0,3: 66:[32, 88, 39] Operation: 72-33=39
Exploring Operation: 88-72=16, Resulting Numbers: [33, 32, 16]
Generated Node #0,4: 66:[33, 32, 16] Operation: 88-72=16
Moving to Node #0,4
Current State: 66:[33, 32, 16], Operations: ['88-72=16']
Exploring Operation: 32/16=2, Resulting Numbers: [33, 2]
Generated Node #0,4,0: 66:[33, 2] Operation: 32/16=2
Exploring Operation: 33-32=1, Resulting Numbers: [16, 1]
Generated Node #0,4,1: 66:[16, 1] Operation: 33-32=1
Exploring Operation: 32-16=16, Resulting Numbers: [33, 16]
Generated Node #0,4,2: 66:[33, 16] Operation: 32-16=16
Exploring Operation: 33-16=17, Resulting Numbers: [32, 17]
Generated Node #0,4,3: 66:[32, 17] Operation: 33-16=17
Exploring Operation: 33+32=65, Resulting Numbers: [16, 65]
Generated Node #0,4,4: 66:[16, 65] Operation: 33+32=65
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[33, 2], Operations: ['88-72=16', '32/16=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[72, 33, 32, 88], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [33, 32, 16]
Generated Node #0,4: 66:[33, 32, 16] Operation: 88-72=16
Moving to Node #0,4
Current State: 66:[33, 32, 16], Operations: ['88-72=16']
Exploring Operation: 32/16=2, Resulting Numbers: [33, 2]
Generated Node #0,4,0: 66:[33, 2] Operation: 32/16=2
Moving to Node #0,4,0
Current State: 66:[33, 2], Operations: ['88-72=16', '32/16=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
28,
84,
92,
26
] | 22 | [
"84/28=3",
"92-26=66",
"66/3=22"
] | Current State: 22:[28, 84, 92, 26], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [92, 26, 3]
Generated Node #2: [92, 26, 3] from Operation: 84/28=3
Current State: 22:[92, 26, 3], Operations: ['84/28=3']
Exploring Operation: 92-26=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 92-26=66
Current State: 22:[3, 66], Operations: ['84/28=3', '92-26=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[28, 84, 92, 26], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [28, 26, 8]
Generated Node #0,0: 22:[28, 26, 8] Operation: 92-84=8
Exploring Operation: 92-28=64, Resulting Numbers: [84, 26, 64]
Generated Node #0,1: 22:[84, 26, 64] Operation: 92-28=64
Exploring Operation: 84/28=3, Resulting Numbers: [92, 26, 3]
Generated Node #0,2: 22:[92, 26, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [92, 26, 56]
Generated Node #0,3: 22:[92, 26, 56] Operation: 84-28=56
Moving to Node #0,0
Current State: 22:[28, 26, 8], Operations: ['92-84=8']
Exploring Operation: 26-8=18, Resulting Numbers: [28, 18]
Generated Node #0,0,0: 22:[28, 18] Operation: 26-8=18
Exploring Operation: 28+8=36, Resulting Numbers: [26, 36]
Generated Node #0,0,1: 22:[26, 36] Operation: 28+8=36
Exploring Operation: 28-26=2, Resulting Numbers: [8, 2]
Generated Node #0,0,2: 22:[8, 2] Operation: 28-26=2
Exploring Operation: 28-8=20, Resulting Numbers: [26, 20]
Generated Node #0,0,3: 22:[26, 20] Operation: 28-8=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[8, 2], Operations: ['92-84=8', '28-26=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No 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: 22:[26, 20], Operations: ['92-84=8', '28-8=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,22 unequal: No Solution
No 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: 22:[28, 18], Operations: ['92-84=8', '26-8=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,22 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,22 unequal: No Solution
No 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: 22:[26, 36], Operations: ['92-84=8', '28+8=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,22 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: 22:[92, 26, 3], Operations: ['84/28=3']
Exploring Operation: 92-3=89, Resulting Numbers: [26, 89]
Generated Node #0,2,0: 22:[26, 89] Operation: 92-3=89
Exploring Operation: 26-3=23, Resulting Numbers: [92, 23]
Generated Node #0,2,1: 22:[92, 23] Operation: 26-3=23
Exploring Operation: 92+3=95, Resulting Numbers: [26, 95]
Generated Node #0,2,2: 22:[26, 95] Operation: 92+3=95
Exploring Operation: 92-26=66, Resulting Numbers: [3, 66]
Generated Node #0,2,3: 22:[3, 66] Operation: 92-26=66
Moving to Node #0,3
Current State: 22:[92, 26, 56], Operations: ['84-28=56']
Exploring Operation: 56-26=30, Resulting Numbers: [92, 30]
Generated Node #0,3,0: 22:[92, 30] Operation: 56-26=30
Exploring Operation: 92-26=66, Resulting Numbers: [56, 66]
Generated Node #0,3,1: 22:[56, 66] Operation: 92-26=66
Exploring Operation: 92+26=118, Resulting Numbers: [56, 118]
Generated Node #0,3,2: 22:[56, 118] Operation: 92+26=118
Exploring Operation: 92-56=36, Resulting Numbers: [26, 36]
Generated Node #0,3,3: 22:[26, 36] Operation: 92-56=36
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[26, 36], Operations: ['84-28=56', '92-56=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,22 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No 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: 22:[92, 30], Operations: ['84-28=56', '56-26=30']
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,22 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,22 unequal: No Solution
No 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: 22:[56, 66], Operations: ['84-28=56', '92-26=66']
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,22 unequal: No Solution
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,22 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,22 unequal: No Solution
No 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: 22:[56, 118], Operations: ['84-28=56', '92+26=118']
Exploring Operation: 56*118=6608, Resulting Numbers: [6608]
6608,22 unequal: No Solution
Exploring Operation: 118-56=62, Resulting Numbers: [62]
62,22 unequal: No Solution
Exploring Operation: 56+118=174, Resulting Numbers: [174]
174,22 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: 22:[84, 26, 64], Operations: ['92-28=64']
Exploring Operation: 84+26=110, Resulting Numbers: [64, 110]
Generated Node #0,1,0: 22:[64, 110] Operation: 84+26=110
Exploring Operation: 64-26=38, Resulting Numbers: [84, 38]
Generated Node #0,1,1: 22:[84, 38] Operation: 64-26=38
Exploring Operation: 84-64=20, Resulting Numbers: [26, 20]
Generated Node #0,1,2: 22:[26, 20] Operation: 84-64=20
Exploring Operation: 84-26=58, Resulting Numbers: [64, 58]
Generated Node #0,1,3: 22:[64, 58] Operation: 84-26=58
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[26, 20], Operations: ['92-28=64', '84-64=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,22 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,22 unequal: No Solution
No 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: 22:[84, 38], Operations: ['92-28=64', '64-26=38']
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,22 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,22 unequal: No Solution
No 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: 22:[64, 58], Operations: ['92-28=64', '84-26=58']
Exploring Operation: 64*58=3712, Resulting Numbers: [3712]
3712,22 unequal: No Solution
Exploring Operation: 64+58=122, Resulting Numbers: [122]
122,22 unequal: No Solution
Exploring Operation: 64-58=6, Resulting Numbers: [6]
6,22 unequal: No Solution
No 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: 22:[64, 110], Operations: ['92-28=64', '84+26=110']
Exploring Operation: 64*110=7040, Resulting Numbers: [7040]
7040,22 unequal: No Solution
Exploring Operation: 110-64=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 64+110=174, Resulting Numbers: [174]
174,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 22:[3, 66], Operations: ['84/28=3', '92-26=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[28, 84, 92, 26], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [92, 26, 3]
Generated Node #0,2: 22:[92, 26, 3] Operation: 84/28=3
Moving to Node #0,2
Current State: 22:[92, 26, 3], Operations: ['84/28=3']
Exploring Operation: 92-26=66, Resulting Numbers: [3, 66]
Generated Node #0,2,3: 22:[3, 66] Operation: 92-26=66
Moving to Node #0,2,3
Current State: 22:[3, 66], Operations: ['84/28=3', '92-26=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
38,
4,
13,
62
] | 78 | [
"62-38=24",
"24/4=6",
"13*6=78"
] | Current State: 78:[38, 4, 13, 62], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [4, 13, 24]
Generated Node #2: [4, 13, 24] from Operation: 62-38=24
Current State: 78:[4, 13, 24], Operations: ['62-38=24']
Exploring Operation: 24/4=6, Resulting Numbers: [13, 6]
Generated Node #3: [13, 6] from Operation: 24/4=6
Current State: 78:[13, 6], Operations: ['62-38=24', '24/4=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[38, 4, 13, 62], Operations: []
Exploring Operation: 13+62=75, Resulting Numbers: [38, 4, 75]
Generated Node #0,0: 78:[38, 4, 75] Operation: 13+62=75
Exploring Operation: 62-38=24, Resulting Numbers: [4, 13, 24]
Generated Node #0,1: 78:[4, 13, 24] Operation: 62-38=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[4, 13, 24], Operations: ['62-38=24']
Exploring Operation: 4+24=28, Resulting Numbers: [13, 28]
Generated Node #0,1,0: 78:[13, 28] Operation: 4+24=28
Exploring Operation: 24/4=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 78:[13, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[13, 6], Operations: ['62-38=24', '24/4=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[38, 4, 13, 62], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [4, 13, 24]
Generated Node #0,1: 78:[4, 13, 24] Operation: 62-38=24
Moving to Node #0,1
Current State: 78:[4, 13, 24], Operations: ['62-38=24']
Exploring Operation: 24/4=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 78:[13, 6] Operation: 24/4=6
Moving to Node #0,1,1
Current State: 78:[13, 6], Operations: ['62-38=24', '24/4=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
26,
63,
74,
54
] | 57 | [
"63-26=37",
"74-54=20",
"37+20=57"
] | Current State: 57:[26, 63, 74, 54], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [74, 54, 37]
Generated Node #2: [74, 54, 37] from Operation: 63-26=37
Current State: 57:[74, 54, 37], Operations: ['63-26=37']
Exploring Operation: 74-54=20, Resulting Numbers: [37, 20]
Generated Node #3: [37, 20] from Operation: 74-54=20
Current State: 57:[37, 20], Operations: ['63-26=37', '74-54=20']
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[26, 63, 74, 54], Operations: []
Exploring Operation: 74-26=48, Resulting Numbers: [63, 54, 48]
Generated Node #0,0: 57:[63, 54, 48] Operation: 74-26=48
Exploring Operation: 74-63=11, Resulting Numbers: [26, 54, 11]
Generated Node #0,1: 57:[26, 54, 11] Operation: 74-63=11
Exploring Operation: 74-54=20, Resulting Numbers: [26, 63, 20]
Generated Node #0,2: 57:[26, 63, 20] Operation: 74-54=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[26, 63, 20], Operations: ['74-54=20']
Exploring Operation: 26+20=46, Resulting Numbers: [63, 46]
Generated Node #0,2,0: 57:[63, 46] Operation: 26+20=46
Exploring Operation: 26-20=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 57:[63, 6] Operation: 26-20=6
Exploring Operation: 63-26=37, Resulting Numbers: [20, 37]
Generated Node #0,2,2: 57:[20, 37] Operation: 63-26=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[63, 6], Operations: ['74-54=20', '26-20=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[26, 63, 74, 54], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [26, 63, 20]
Generated Node #0,2: 57:[26, 63, 20] Operation: 74-54=20
Moving to Node #0,2
Current State: 57:[26, 63, 20], Operations: ['74-54=20']
Exploring Operation: 26-20=6, Resulting Numbers: [63, 6]
Generated Node #0,2,1: 57:[63, 6] Operation: 26-20=6
Moving to Node #0,2,1
Current State: 57:[63, 6], Operations: ['74-54=20', '26-20=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
26,
81,
63,
38
] | 30 | [
"81-26=55",
"63-38=25",
"55-25=30"
] | Current State: 30:[26, 81, 63, 38], Operations: []
Exploring Operation: 81-26=55, Resulting Numbers: [63, 38, 55]
Generated Node #2: [63, 38, 55] from Operation: 81-26=55
Current State: 30:[63, 38, 55], Operations: ['81-26=55']
Exploring Operation: 63-38=25, Resulting Numbers: [55, 25]
Generated Node #3: [55, 25] from Operation: 63-38=25
Current State: 30:[55, 25], Operations: ['81-26=55', '63-38=25']
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[26, 81, 63, 38], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [26, 38, 18]
Generated Node #0,0: 30:[26, 38, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[26, 38, 18], Operations: ['81-63=18']
Exploring Operation: 38-26=12, Resulting Numbers: [18, 12]
Generated Node #0,0,0: 30:[18, 12] Operation: 38-26=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[18, 12], Operations: ['81-63=18', '38-26=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[26, 81, 63, 38], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [26, 38, 18]
Generated Node #0,0: 30:[26, 38, 18] Operation: 81-63=18
Moving to Node #0,0
Current State: 30:[26, 38, 18], Operations: ['81-63=18']
Exploring Operation: 38-26=12, Resulting Numbers: [18, 12]
Generated Node #0,0,0: 30:[18, 12] Operation: 38-26=12
Moving to Node #0,0,0
Current State: 30:[18, 12], Operations: ['81-63=18', '38-26=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
92,
33,
82,
66
] | 89 | [
"92-33=59",
"82+66=148",
"148-59=89"
] | Current State: 89:[92, 33, 82, 66], Operations: []
Exploring Operation: 92-33=59, Resulting Numbers: [82, 66, 59]
Generated Node #2: [82, 66, 59] from Operation: 92-33=59
Current State: 89:[82, 66, 59], Operations: ['92-33=59']
Exploring Operation: 82+66=148, Resulting Numbers: [59, 148]
Generated Node #3: [59, 148] from Operation: 82+66=148
Current State: 89:[59, 148], Operations: ['92-33=59', '82+66=148']
Exploring Operation: 148-59=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[92, 33, 82, 66], Operations: []
Exploring Operation: 33+66=99, Resulting Numbers: [92, 82, 99]
Generated Node #0,0: 89:[92, 82, 99] Operation: 33+66=99
Moving to Node #0,0
Current State: 89:[92, 82, 99], Operations: ['33+66=99']
Exploring Operation: 99-82=17, Resulting Numbers: [92, 17]
Generated Node #0,0,0: 89:[92, 17] Operation: 99-82=17
Moving to Node #0,0,0
Current State: 89:[92, 17], Operations: ['33+66=99', '99-82=17']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
8,
80,
81
] | 21 | [
"7+80=87",
"81+87=168",
"168/8=21"
] | Current State: 21:[7, 8, 80, 81], Operations: []
Exploring Operation: 7+80=87, Resulting Numbers: [8, 81, 87]
Generated Node #2: [8, 81, 87] from Operation: 7+80=87
Current State: 21:[8, 81, 87], Operations: ['7+80=87']
Exploring Operation: 81+87=168, Resulting Numbers: [8, 168]
Generated Node #3: [8, 168] from Operation: 81+87=168
Current State: 21:[8, 168], Operations: ['7+80=87', '81+87=168']
Exploring Operation: 168/8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[7, 8, 80, 81], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [7, 81, 10]
Generated Node #0,0: 21:[7, 81, 10] Operation: 80/8=10
Exploring Operation: 81-80=1, Resulting Numbers: [7, 8, 1]
Generated Node #0,1: 21:[7, 8, 1] Operation: 81-80=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[7, 8, 1], Operations: ['81-80=1']
Exploring Operation: 7*1=7, Resulting Numbers: [8, 7]
Generated Node #0,1,0: 21:[8, 7] Operation: 7*1=7
Exploring Operation: 8-1=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 21:[7, 7] Operation: 8-1=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[7, 7], Operations: ['81-80=1', '8-1=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[8, 7], Operations: ['81-80=1', '7*1=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,21 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: 21:[7, 81, 10], Operations: ['80/8=10']
Exploring Operation: 81-7=74, Resulting Numbers: [10, 74]
Generated Node #0,0,0: 21:[10, 74] Operation: 81-7=74
Exploring Operation: 81-10=71, Resulting Numbers: [7, 71]
Generated Node #0,0,1: 21:[7, 71] Operation: 81-10=71
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[7, 71], Operations: ['80/8=10', '81-10=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,21 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,21 unequal: No Solution
No 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: 21:[10, 74], Operations: ['80/8=10', '81-7=74']
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,21 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 |
[
15,
3,
50,
27
] | 44 | [
"50-15=35",
"27/3=9",
"35+9=44"
] | Current State: 44:[15, 3, 50, 27], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [3, 27, 35]
Generated Node #2: [3, 27, 35] from Operation: 50-15=35
Current State: 44:[3, 27, 35], Operations: ['50-15=35']
Exploring Operation: 27/3=9, Resulting Numbers: [35, 9]
Generated Node #3: [35, 9] from Operation: 27/3=9
Current State: 44:[35, 9], Operations: ['50-15=35', '27/3=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[15, 3, 50, 27], Operations: []
Exploring Operation: 15+27=42, Resulting Numbers: [3, 50, 42]
Generated Node #0,0: 44:[3, 50, 42] Operation: 15+27=42
Exploring Operation: 27-15=12, Resulting Numbers: [3, 50, 12]
Generated Node #0,1: 44:[3, 50, 12] Operation: 27-15=12
Exploring Operation: 50-27=23, Resulting Numbers: [15, 3, 23]
Generated Node #0,2: 44:[15, 3, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[15, 3, 23], Operations: ['50-27=23']
Exploring Operation: 15*3=45, Resulting Numbers: [23, 45]
Generated Node #0,2,0: 44:[23, 45] Operation: 15*3=45
Exploring Operation: 15-3=12, Resulting Numbers: [23, 12]
Generated Node #0,2,1: 44:[23, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [23, 5]
Generated Node #0,2,2: 44:[23, 5] Operation: 15/3=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[23, 45], Operations: ['50-27=23', '15*3=45']
Exploring Operation: 23*45=1035, Resulting Numbers: [1035]
1035,44 unequal: No Solution
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 23+45=68, Resulting Numbers: [68]
68,44 unequal: No Solution
No 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: 44:[23, 12], Operations: ['50-27=23', '15-3=12']
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,44 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,44 unequal: No Solution
No 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: 44:[23, 5], Operations: ['50-27=23', '15/3=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[3, 50, 12], Operations: ['27-15=12']
Exploring Operation: 50-12=38, Resulting Numbers: [3, 38]
Generated Node #0,1,0: 44:[3, 38] Operation: 50-12=38
Exploring Operation: 12/3=4, Resulting Numbers: [50, 4]
Generated Node #0,1,1: 44:[50, 4] Operation: 12/3=4
Exploring Operation: 50-3=47, Resulting Numbers: [12, 47]
Generated Node #0,1,2: 44:[12, 47] Operation: 50-3=47
Moving to Node #0,1,2
Current State: 44:[12, 47], Operations: ['27-15=12', '50-3=47']
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,44 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[50, 4], Operations: ['27-15=12', '12/3=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,44 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[3, 38], Operations: ['27-15=12', '50-12=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,44 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,44 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[3, 50, 42], Operations: ['15+27=42']
Exploring Operation: 50-3=47, Resulting Numbers: [42, 47]
Generated Node #0,0,0: 44:[42, 47] Operation: 50-3=47
Exploring Operation: 3+42=45, Resulting Numbers: [50, 45]
Generated Node #0,0,1: 44:[50, 45] Operation: 3+42=45
Exploring Operation: 50-42=8, Resulting Numbers: [3, 8]
Generated Node #0,0,2: 44:[3, 8] Operation: 50-42=8
Moving to Node #0,0,2
Current State: 44:[3, 8], Operations: ['15+27=42', '50-42=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[42, 47], Operations: ['15+27=42', '50-3=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,44 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[50, 45], Operations: ['15+27=42', '3+42=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,44 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,44 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,44 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 |
[
93,
87,
3,
36
] | 38 | [
"93-87=6",
"6/3=2",
"36+2=38"
] | Current State: 38:[93, 87, 3, 36], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [3, 36, 6]
Generated Node #2: [3, 36, 6] from Operation: 93-87=6
Current State: 38:[3, 36, 6], Operations: ['93-87=6']
Exploring Operation: 6/3=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 6/3=2
Current State: 38:[36, 2], Operations: ['93-87=6', '6/3=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[93, 87, 3, 36], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [87, 3, 57]
Generated Node #0,0: 38:[87, 3, 57] Operation: 93-36=57
Exploring Operation: 93/3=31, Resulting Numbers: [87, 36, 31]
Generated Node #0,1: 38:[87, 36, 31] Operation: 93/3=31
Exploring Operation: 87/3=29, Resulting Numbers: [93, 36, 29]
Generated Node #0,2: 38:[93, 36, 29] Operation: 87/3=29
Exploring Operation: 93-87=6, Resulting Numbers: [3, 36, 6]
Generated Node #0,3: 38:[3, 36, 6] Operation: 93-87=6
Moving to Node #0,3
Current State: 38:[3, 36, 6], Operations: ['93-87=6']
Exploring Operation: 3*6=18, Resulting Numbers: [36, 18]
Generated Node #0,3,0: 38:[36, 18] Operation: 3*6=18
Exploring Operation: 3+36=39, Resulting Numbers: [6, 39]
Generated Node #0,3,1: 38:[6, 39] Operation: 3+36=39
Exploring Operation: 6-3=3, Resulting Numbers: [36, 3]
Generated Node #0,3,2: 38:[36, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [36, 2]
Generated Node #0,3,3: 38:[36, 2] Operation: 6/3=2
Moving to Node #0,1
Current State: 38:[87, 36, 31], Operations: ['93/3=31']
Exploring Operation: 87-31=56, Resulting Numbers: [36, 56]
Generated Node #0,1,0: 38:[36, 56] Operation: 87-31=56
Exploring Operation: 36-31=5, Resulting Numbers: [87, 5]
Generated Node #0,1,1: 38:[87, 5] Operation: 36-31=5
Exploring Operation: 36+31=67, Resulting Numbers: [87, 67]
Generated Node #0,1,2: 38:[87, 67] Operation: 36+31=67
Exploring Operation: 87-36=51, Resulting Numbers: [31, 51]
Generated Node #0,1,3: 38:[31, 51] Operation: 87-36=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[36, 56], Operations: ['93/3=31', '87-31=56']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,38 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[31, 51], Operations: ['93/3=31', '87-36=51']
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 31*51=1581, Resulting Numbers: [1581]
1581,38 unequal: No Solution
Exploring Operation: 31+51=82, Resulting Numbers: [82]
82,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[87, 5], Operations: ['93/3=31', '36-31=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,38 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,38 unequal: No Solution
Exploring Operation: 87*5=435, Resulting Numbers: [435]
435,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[87, 67], Operations: ['93/3=31', '36+31=67']
Exploring Operation: 87*67=5829, Resulting Numbers: [5829]
5829,38 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 87+67=154, Resulting Numbers: [154]
154,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 38:[93, 36, 29], Operations: ['87/3=29']
Exploring Operation: 93-29=64, Resulting Numbers: [36, 64]
Generated Node #0,2,0: 38:[36, 64] Operation: 93-29=64
Exploring Operation: 36+29=65, Resulting Numbers: [93, 65]
Generated Node #0,2,1: 38:[93, 65] Operation: 36+29=65
Exploring Operation: 93-36=57, Resulting Numbers: [29, 57]
Generated Node #0,2,2: 38:[29, 57] Operation: 93-36=57
Exploring Operation: 36-29=7, Resulting Numbers: [93, 7]
Generated Node #0,2,3: 38:[93, 7] Operation: 36-29=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[36, 64], Operations: ['87/3=29', '93-29=64']
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,38 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[29, 57], Operations: ['87/3=29', '93-36=57']
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[93, 7], Operations: ['87/3=29', '36-29=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,38 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[93, 65], Operations: ['87/3=29', '36+29=65']
Exploring Operation: 93*65=6045, Resulting Numbers: [6045]
6045,38 unequal: No Solution
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 93+65=158, Resulting Numbers: [158]
158,38 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: 38:[87, 3, 57], Operations: ['93-36=57']
Exploring Operation: 87/3=29, Resulting Numbers: [57, 29]
Generated Node #0,0,0: 38:[57, 29] Operation: 87/3=29
Exploring Operation: 87-57=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 38:[3, 30] Operation: 87-57=30
Exploring Operation: 87-3=84, Resulting Numbers: [57, 84]
Generated Node #0,0,2: 38:[57, 84] Operation: 87-3=84
Exploring Operation: 57/3=19, Resulting Numbers: [87, 19]
Generated Node #0,0,3: 38:[87, 19] Operation: 57/3=19
Moving to Node #0,3,3
Current State: 38:[36, 2], Operations: ['93-87=6', '6/3=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[93, 87, 3, 36], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [3, 36, 6]
Generated Node #0,3: 38:[3, 36, 6] Operation: 93-87=6
Moving to Node #0,3
Current State: 38:[3, 36, 6], Operations: ['93-87=6']
Exploring Operation: 6/3=2, Resulting Numbers: [36, 2]
Generated Node #0,3,3: 38:[36, 2] Operation: 6/3=2
Moving to Node #0,3,3
Current State: 38:[36, 2], Operations: ['93-87=6', '6/3=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
86,
26,
80,
28
] | 76 | [
"86+26=112",
"112/28=4",
"80-4=76"
] | Current State: 76:[86, 26, 80, 28], Operations: []
Exploring Operation: 86+26=112, Resulting Numbers: [80, 28, 112]
Generated Node #2: [80, 28, 112] from Operation: 86+26=112
Current State: 76:[80, 28, 112], Operations: ['86+26=112']
Exploring Operation: 112/28=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 112/28=4
Current State: 76:[80, 4], Operations: ['86+26=112', '112/28=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[86, 26, 80, 28], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [26, 28, 6]
Generated Node #0,0: 76:[26, 28, 6] Operation: 86-80=6
Exploring Operation: 28-26=2, Resulting Numbers: [86, 80, 2]
Generated Node #0,1: 76:[86, 80, 2] Operation: 28-26=2
Moving to Node #0,1
Current State: 76:[86, 80, 2], Operations: ['28-26=2']
Exploring Operation: 86/2=43, Resulting Numbers: [80, 43]
Generated Node #0,1,0: 76:[80, 43] Operation: 86/2=43
Exploring Operation: 86-80=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 76:[2, 6] Operation: 86-80=6
Moving to Node #0,0
Current State: 76:[26, 28, 6], Operations: ['86-80=6']
Exploring Operation: 26-6=20, Resulting Numbers: [28, 20]
Generated Node #0,0,0: 76:[28, 20] Operation: 26-6=20
Exploring Operation: 28-26=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 76:[6, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[6, 2], Operations: ['86-80=6', '28-26=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No 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: 76:[28, 20], Operations: ['86-80=6', '26-6=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,76 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: 76:[2, 6], Operations: ['28-26=2', '86-80=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[80, 43], Operations: ['28-26=2', '86/2=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
50,
96,
73
] | 72 | [
"50+96=146",
"146/73=2",
"74-2=72"
] | Current State: 72:[74, 50, 96, 73], Operations: []
Exploring Operation: 50+96=146, Resulting Numbers: [74, 73, 146]
Generated Node #2: [74, 73, 146] from Operation: 50+96=146
Current State: 72:[74, 73, 146], Operations: ['50+96=146']
Exploring Operation: 146/73=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 146/73=2
Current State: 72:[74, 2], Operations: ['50+96=146', '146/73=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[74, 50, 96, 73], Operations: []
Exploring Operation: 96-50=46, Resulting Numbers: [74, 73, 46]
Generated Node #0,0: 72:[74, 73, 46] Operation: 96-50=46
Exploring Operation: 96-74=22, Resulting Numbers: [50, 73, 22]
Generated Node #0,1: 72:[50, 73, 22] Operation: 96-74=22
Moving to Node #0,0
Current State: 72:[74, 73, 46], Operations: ['96-50=46']
Exploring Operation: 73-46=27, Resulting Numbers: [74, 27]
Generated Node #0,0,0: 72:[74, 27] Operation: 73-46=27
Exploring Operation: 74-46=28, Resulting Numbers: [73, 28]
Generated Node #0,0,1: 72:[73, 28] Operation: 74-46=28
Moving to Node #0,1
Current State: 72:[50, 73, 22], Operations: ['96-74=22']
Exploring Operation: 50+22=72, Resulting Numbers: [73, 72]
Generated Node #0,1,0: 72:[73, 72] Operation: 50+22=72
Exploring Operation: 73-50=23, Resulting Numbers: [22, 23]
Generated Node #0,1,1: 72:[22, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[73, 72], Operations: ['96-74=22', '50+22=72']
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[22, 23], Operations: ['96-74=22', '73-50=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,72 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: 72:[74, 27], Operations: ['96-50=46', '73-46=27']
Exploring Operation: 74+27=101, Resulting Numbers: [101]
101,72 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[73, 28], Operations: ['96-50=46', '74-46=28']
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,72 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
5,
55,
88
] | 74 | [
"7+88=95",
"95/5=19",
"55+19=74"
] | Current State: 74:[7, 5, 55, 88], Operations: []
Exploring Operation: 7+88=95, Resulting Numbers: [5, 55, 95]
Generated Node #2: [5, 55, 95] from Operation: 7+88=95
Current State: 74:[5, 55, 95], Operations: ['7+88=95']
Exploring Operation: 95/5=19, Resulting Numbers: [55, 19]
Generated Node #3: [55, 19] from Operation: 95/5=19
Current State: 74:[55, 19], Operations: ['7+88=95', '95/5=19']
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[7, 5, 55, 88], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [7, 5, 33]
Generated Node #0,0: 74:[7, 5, 33] Operation: 88-55=33
Exploring Operation: 55-7=48, Resulting Numbers: [5, 88, 48]
Generated Node #0,1: 74:[5, 88, 48] Operation: 55-7=48
Exploring Operation: 88-7=81, Resulting Numbers: [5, 55, 81]
Generated Node #0,2: 74:[5, 55, 81] Operation: 88-7=81
Moving to Node #0,0
Current State: 74:[7, 5, 33], Operations: ['88-55=33']
Exploring Operation: 7+33=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 74:[5, 40] Operation: 7+33=40
Exploring Operation: 7*5=35, Resulting Numbers: [33, 35]
Generated Node #0,0,1: 74:[33, 35] Operation: 7*5=35
Exploring Operation: 7-5=2, Resulting Numbers: [33, 2]
Generated Node #0,0,2: 74:[33, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[33, 2], Operations: ['88-55=33', '7-5=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[5, 40], Operations: ['88-55=33', '7+33=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[33, 35], Operations: ['88-55=33', '7*5=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,74 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,74 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: 74:[5, 88, 48], Operations: ['55-7=48']
Exploring Operation: 88-5=83, Resulting Numbers: [48, 83]
Generated Node #0,1,0: 74:[48, 83] Operation: 88-5=83
Exploring Operation: 48-5=43, Resulting Numbers: [88, 43]
Generated Node #0,1,1: 74:[88, 43] Operation: 48-5=43
Exploring Operation: 88-48=40, Resulting Numbers: [5, 40]
Generated Node #0,1,2: 74:[5, 40] Operation: 88-48=40
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[5, 40], Operations: ['55-7=48', '88-48=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[48, 83], Operations: ['55-7=48', '88-5=83']
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,74 unequal: No Solution
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,74 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[88, 43], Operations: ['55-7=48', '48-5=43']
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,74 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,74 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,74 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: 74:[5, 55, 81], Operations: ['88-7=81']
Exploring Operation: 55-5=50, Resulting Numbers: [81, 50]
Generated Node #0,2,0: 74:[81, 50] Operation: 55-5=50
Exploring Operation: 81-55=26, Resulting Numbers: [5, 26]
Generated Node #0,2,1: 74:[5, 26] Operation: 81-55=26
Exploring Operation: 55/5=11, Resulting Numbers: [81, 11]
Generated Node #0,2,2: 74:[81, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[5, 26], Operations: ['88-7=81', '81-55=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,74 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[81, 11], Operations: ['88-7=81', '55/5=11']
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,74 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[81, 50], Operations: ['88-7=81', '55-5=50']
Exploring Operation: 81*50=4050, Resulting Numbers: [4050]
4050,74 unequal: No Solution
Exploring Operation: 81+50=131, Resulting Numbers: [131]
131,74 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
2,
61,
80
] | 24 | [
"18+80=98",
"2*61=122",
"122-98=24"
] | Current State: 24:[18, 2, 61, 80], Operations: []
Exploring Operation: 18+80=98, Resulting Numbers: [2, 61, 98]
Generated Node #2: [2, 61, 98] from Operation: 18+80=98
Current State: 24:[2, 61, 98], Operations: ['18+80=98']
Exploring Operation: 2*61=122, Resulting Numbers: [98, 122]
Generated Node #3: [98, 122] from Operation: 2*61=122
Current State: 24:[98, 122], Operations: ['18+80=98', '2*61=122']
Exploring Operation: 122-98=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[18, 2, 61, 80], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [2, 80, 43]
Generated Node #0,0: 24:[2, 80, 43] Operation: 61-18=43
Exploring Operation: 80/2=40, Resulting Numbers: [18, 61, 40]
Generated Node #0,1: 24:[18, 61, 40] Operation: 80/2=40
Exploring Operation: 80-61=19, Resulting Numbers: [18, 2, 19]
Generated Node #0,2: 24:[18, 2, 19] Operation: 80-61=19
Moving to Node #0,2
Current State: 24:[18, 2, 19], Operations: ['80-61=19']
Exploring Operation: 18/2=9, Resulting Numbers: [19, 9]
Generated Node #0,2,0: 24:[19, 9] Operation: 18/2=9
Exploring Operation: 19-18=1, Resulting Numbers: [2, 1]
Generated Node #0,2,1: 24:[2, 1] Operation: 19-18=1
Exploring Operation: 18+2=20, Resulting Numbers: [19, 20]
Generated Node #0,2,2: 24:[19, 20] Operation: 18+2=20
Moving to Node #0,1
Current State: 24:[18, 61, 40], Operations: ['80/2=40']
Exploring Operation: 61-40=21, Resulting Numbers: [18, 21]
Generated Node #0,1,0: 24:[18, 21] Operation: 61-40=21
Exploring Operation: 40-18=22, Resulting Numbers: [61, 22]
Generated Node #0,1,1: 24:[61, 22] Operation: 40-18=22
Exploring Operation: 61-18=43, Resulting Numbers: [40, 43]
Generated Node #0,1,2: 24:[40, 43] Operation: 61-18=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[18, 21], Operations: ['80/2=40', '61-40=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,24 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[40, 43], Operations: ['80/2=40', '61-18=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 40+43=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 40*43=1720, Resulting Numbers: [1720]
1720,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[61, 22], Operations: ['80/2=40', '40-18=22']
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,24 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,24 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: 24:[2, 80, 43], Operations: ['61-18=43']
Exploring Operation: 80/2=40, Resulting Numbers: [43, 40]
Generated Node #0,0,0: 24:[43, 40] Operation: 80/2=40
Exploring Operation: 80-43=37, Resulting Numbers: [2, 37]
Generated Node #0,0,1: 24:[2, 37] Operation: 80-43=37
Exploring Operation: 80-2=78, Resulting Numbers: [43, 78]
Generated Node #0,0,2: 24:[43, 78] Operation: 80-2=78
Moving to Node #0,2,1
Current State: 24:[2, 1], Operations: ['80-61=19', '19-18=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[19, 9], Operations: ['80-61=19', '18/2=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,24 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[19, 20], Operations: ['80-61=19', '18+2=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[2, 37], Operations: ['61-18=43', '80-43=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,24 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[43, 40], Operations: ['61-18=43', '80/2=40']
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[43, 78], Operations: ['61-18=43', '80-2=78']
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,24 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,24 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
93,
56,
75
] | 14 | [
"93-14=79",
"79-75=4",
"56/4=14"
] | Current State: 14:[14, 93, 56, 75], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [56, 75, 79]
Generated Node #2: [56, 75, 79] from Operation: 93-14=79
Current State: 14:[56, 75, 79], Operations: ['93-14=79']
Exploring Operation: 79-75=4, Resulting Numbers: [56, 4]
Generated Node #3: [56, 4] from Operation: 79-75=4
Current State: 14:[56, 4], Operations: ['93-14=79', '79-75=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[14, 93, 56, 75], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [14, 56, 18]
Generated Node #0,0: 14:[14, 56, 18] Operation: 93-75=18
Exploring Operation: 56/14=4, Resulting Numbers: [93, 75, 4]
Generated Node #0,1: 14:[93, 75, 4] Operation: 56/14=4
Exploring Operation: 75-56=19, Resulting Numbers: [14, 93, 19]
Generated Node #0,2: 14:[14, 93, 19] Operation: 75-56=19
Exploring Operation: 93-56=37, Resulting Numbers: [14, 75, 37]
Generated Node #0,3: 14:[14, 75, 37] Operation: 93-56=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[14, 56, 18], Operations: ['93-75=18']
Exploring Operation: 56-14=42, Resulting Numbers: [18, 42]
Generated Node #0,0,0: 14:[18, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 14:[18, 4] Operation: 56/14=4
Exploring Operation: 18-14=4, Resulting Numbers: [56, 4]
Generated Node #0,0,2: 14:[56, 4] Operation: 18-14=4
Exploring Operation: 56-18=38, Resulting Numbers: [14, 38]
Generated Node #0,0,3: 14:[14, 38] Operation: 56-18=38
Moving to Node #0,0,1
Current State: 14:[18, 4], Operations: ['93-75=18', '56/14=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[14, 93, 56, 75], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [14, 56, 18]
Generated Node #0,0: 14:[14, 56, 18] Operation: 93-75=18
Moving to Node #0,0
Current State: 14:[14, 56, 18], Operations: ['93-75=18']
Exploring Operation: 56/14=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 14:[18, 4] Operation: 56/14=4
Moving to Node #0,0,1
Current State: 14:[18, 4], Operations: ['93-75=18', '56/14=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
10,
75,
56,
36
] | 77 | [
"56-36=20",
"20/10=2",
"75+2=77"
] | Current State: 77:[10, 75, 56, 36], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [10, 75, 20]
Generated Node #2: [10, 75, 20] from Operation: 56-36=20
Current State: 77:[10, 75, 20], Operations: ['56-36=20']
Exploring Operation: 20/10=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 20/10=2
Current State: 77:[75, 2], Operations: ['56-36=20', '20/10=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[10, 75, 56, 36], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [10, 75, 20]
Generated Node #0,0: 77:[10, 75, 20] Operation: 56-36=20
Exploring Operation: 10+56=66, Resulting Numbers: [75, 36, 66]
Generated Node #0,1: 77:[75, 36, 66] Operation: 10+56=66
Exploring Operation: 56+36=92, Resulting Numbers: [10, 75, 92]
Generated Node #0,2: 77:[10, 75, 92] Operation: 56+36=92
Exploring Operation: 75-56=19, Resulting Numbers: [10, 36, 19]
Generated Node #0,3: 77:[10, 36, 19] Operation: 75-56=19
Exploring Operation: 36-10=26, Resulting Numbers: [75, 56, 26]
Generated Node #0,4: 77:[75, 56, 26] Operation: 36-10=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[10, 75, 20], Operations: ['56-36=20']
Exploring Operation: 20-10=10, Resulting Numbers: [75, 10]
Generated Node #0,0,0: 77:[75, 10] Operation: 20-10=10
Exploring Operation: 20/10=2, Resulting Numbers: [75, 2]
Generated Node #0,0,1: 77:[75, 2] Operation: 20/10=2
Exploring Operation: 75-10=65, Resulting Numbers: [20, 65]
Generated Node #0,0,2: 77:[20, 65] Operation: 75-10=65
Exploring Operation: 75+20=95, Resulting Numbers: [10, 95]
Generated Node #0,0,3: 77:[10, 95] Operation: 75+20=95
Exploring Operation: 10+75=85, Resulting Numbers: [20, 85]
Generated Node #0,0,4: 77:[20, 85] Operation: 10+75=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[75, 10], Operations: ['56-36=20', '20-10=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 75*10=750, Resulting Numbers: [750]
750,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[75, 2], Operations: ['56-36=20', '20/10=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[10, 75, 56, 36], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [10, 75, 20]
Generated Node #0,0: 77:[10, 75, 20] Operation: 56-36=20
Moving to Node #0,0
Current State: 77:[10, 75, 20], Operations: ['56-36=20']
Exploring Operation: 20/10=2, Resulting Numbers: [75, 2]
Generated Node #0,0,1: 77:[75, 2] Operation: 20/10=2
Moving to Node #0,0,1
Current State: 77:[75, 2], Operations: ['56-36=20', '20/10=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
11,
4,
48,
51
] | 97 | [
"48-11=37",
"4*37=148",
"148-51=97"
] | Current State: 97:[11, 4, 48, 51], Operations: []
Exploring Operation: 48-11=37, Resulting Numbers: [4, 51, 37]
Generated Node #2: [4, 51, 37] from Operation: 48-11=37
Current State: 97:[4, 51, 37], Operations: ['48-11=37']
Exploring Operation: 4*37=148, Resulting Numbers: [51, 148]
Generated Node #3: [51, 148] from Operation: 4*37=148
Current State: 97:[51, 148], Operations: ['48-11=37', '4*37=148']
Exploring Operation: 148-51=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[11, 4, 48, 51], Operations: []
Exploring Operation: 11+51=62, Resulting Numbers: [4, 48, 62]
Generated Node #0,0: 97:[4, 48, 62] Operation: 11+51=62
Exploring Operation: 11+4=15, Resulting Numbers: [48, 51, 15]
Generated Node #0,1: 97:[48, 51, 15] Operation: 11+4=15
Exploring Operation: 11*4=44, Resulting Numbers: [48, 51, 44]
Generated Node #0,2: 97:[48, 51, 44] Operation: 11*4=44
Exploring Operation: 11+48=59, Resulting Numbers: [4, 51, 59]
Generated Node #0,3: 97:[4, 51, 59] Operation: 11+48=59
Moving to Node #0,2
Current State: 97:[48, 51, 44], Operations: ['11*4=44']
Exploring Operation: 48+51=99, Resulting Numbers: [44, 99]
Generated Node #0,2,0: 97:[44, 99] Operation: 48+51=99
Exploring Operation: 48-44=4, Resulting Numbers: [51, 4]
Generated Node #0,2,1: 97:[51, 4] Operation: 48-44=4
Exploring Operation: 51+44=95, Resulting Numbers: [48, 95]
Generated Node #0,2,2: 97:[48, 95] Operation: 51+44=95
Exploring Operation: 48+44=92, Resulting Numbers: [51, 92]
Generated Node #0,2,3: 97:[51, 92] Operation: 48+44=92
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[48, 95], Operations: ['11*4=44', '51+44=95']
Exploring Operation: 48*95=4560, Resulting Numbers: [4560]
4560,97 unequal: No Solution
Exploring Operation: 48+95=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,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,2,3
Current State: 97:[51, 92], Operations: ['11*4=44', '48+44=92']
Exploring Operation: 51+92=143, Resulting Numbers: [143]
143,97 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,97 unequal: No Solution
Exploring Operation: 51*92=4692, Resulting Numbers: [4692]
4692,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,2,0
Current State: 97:[44, 99], Operations: ['11*4=44', '48+51=99']
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 44*99=4356, Resulting Numbers: [4356]
4356,97 unequal: No Solution
Exploring Operation: 44+99=143, Resulting Numbers: [143]
143,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,2,1
Current State: 97:[51, 4], Operations: ['11*4=44', '48-44=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,97 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: 97:[48, 51, 15], Operations: ['11+4=15']
Exploring Operation: 48+15=63, Resulting Numbers: [51, 63]
Generated Node #0,1,0: 97:[51, 63] Operation: 48+15=63
Exploring Operation: 48-15=33, Resulting Numbers: [51, 33]
Generated Node #0,1,1: 97:[51, 33] Operation: 48-15=33
Exploring Operation: 51+15=66, Resulting Numbers: [48, 66]
Generated Node #0,1,2: 97:[48, 66] Operation: 51+15=66
Exploring Operation: 48+51=99, Resulting Numbers: [15, 99]
Generated Node #0,1,3: 97:[15, 99] Operation: 48+51=99
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[51, 63], Operations: ['11+4=15', '48+15=63']
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,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,2
Current State: 97:[48, 66], Operations: ['11+4=15', '51+15=66']
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 48+66=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 48*66=3168, Resulting Numbers: [3168]
3168,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,3
Current State: 97:[15, 99], Operations: ['11+4=15', '48+51=99']
Exploring Operation: 15*99=1485, Resulting Numbers: [1485]
1485,97 unequal: No Solution
Exploring Operation: 15+99=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,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,1
Current State: 97:[51, 33], Operations: ['11+4=15', '48-15=33']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 51*33=1683, Resulting Numbers: [1683]
1683,97 unequal: No Solution
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,97 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: 97:[4, 48, 62], Operations: ['11+51=62']
Exploring Operation: 62-4=58, Resulting Numbers: [48, 58]
Generated Node #0,0,0: 97:[48, 58] Operation: 62-4=58
Exploring Operation: 48-4=44, Resulting Numbers: [62, 44]
Generated Node #0,0,1: 97:[62, 44] Operation: 48-4=44
Exploring Operation: 4+48=52, Resulting Numbers: [62, 52]
Generated Node #0,0,2: 97:[62, 52] Operation: 4+48=52
Exploring Operation: 4+62=66, Resulting Numbers: [48, 66]
Generated Node #0,0,3: 97:[48, 66] Operation: 4+62=66
Moving to Node #0,3
Current State: 97:[4, 51, 59], Operations: ['11+48=59']
Exploring Operation: 4+59=63, Resulting Numbers: [51, 63]
Generated Node #0,3,0: 97:[51, 63] Operation: 4+59=63
Exploring Operation: 51-4=47, Resulting Numbers: [59, 47]
Generated Node #0,3,1: 97:[59, 47] Operation: 51-4=47
Exploring Operation: 4+51=55, Resulting Numbers: [59, 55]
Generated Node #0,3,2: 97:[59, 55] Operation: 4+51=55
Exploring Operation: 59-4=55, Resulting Numbers: [51, 55]
Generated Node #0,3,3: 97:[51, 55] Operation: 59-4=55
Moving to Node #0,0,2
Current State: 97:[62, 52], Operations: ['11+51=62', '4+48=52']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 62*52=3224, Resulting Numbers: [3224]
3224,97 unequal: No Solution
Exploring Operation: 62+52=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[59, 55], Operations: ['11+48=59', '4+51=55']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,97 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[48, 66], Operations: ['11+51=62', '4+62=66']
Exploring Operation: 48+66=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Exploring Operation: 48*66=3168, Resulting Numbers: [3168]
3168,97 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[51, 63], Operations: ['11+48=59', '4+59=63']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,97 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[59, 47], Operations: ['11+48=59', '51-4=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,97 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[48, 58], Operations: ['11+51=62', '62-4=58']
Exploring Operation: 48*58=2784, Resulting Numbers: [2784]
2784,97 unequal: No Solution
Exploring Operation: 48+58=106, Resulting Numbers: [106]
106,97 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[51, 55], Operations: ['11+48=59', '59-4=55']
Exploring Operation: 51*55=2805, Resulting Numbers: [2805]
2805,97 unequal: No Solution
Exploring Operation: 51+55=106, Resulting Numbers: [106]
106,97 unequal: No Solution
Exploring Operation: 55-51=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[62, 44], Operations: ['11+51=62', '48-4=44']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,97 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
82,
55,
33,
76
] | 70 | [
"82-55=27",
"76-33=43",
"27+43=70"
] | Current State: 70:[82, 55, 33, 76], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [33, 76, 27]
Generated Node #2: [33, 76, 27] from Operation: 82-55=27
Current State: 70:[33, 76, 27], Operations: ['82-55=27']
Exploring Operation: 76-33=43, Resulting Numbers: [27, 43]
Generated Node #3: [27, 43] from Operation: 76-33=43
Current State: 70:[27, 43], Operations: ['82-55=27', '76-33=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[82, 55, 33, 76], Operations: []
Exploring Operation: 55-33=22, Resulting Numbers: [82, 76, 22]
Generated Node #0,0: 70:[82, 76, 22] Operation: 55-33=22
Exploring Operation: 76-55=21, Resulting Numbers: [82, 33, 21]
Generated Node #0,1: 70:[82, 33, 21] Operation: 76-55=21
Exploring Operation: 82-76=6, Resulting Numbers: [55, 33, 6]
Generated Node #0,2: 70:[55, 33, 6] Operation: 82-76=6
Exploring Operation: 82-55=27, Resulting Numbers: [33, 76, 27]
Generated Node #0,3: 70:[33, 76, 27] Operation: 82-55=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[33, 76, 27], Operations: ['82-55=27']
Exploring Operation: 76-27=49, Resulting Numbers: [33, 49]
Generated Node #0,3,0: 70:[33, 49] Operation: 76-27=49
Exploring Operation: 33-27=6, Resulting Numbers: [76, 6]
Generated Node #0,3,1: 70:[76, 6] Operation: 33-27=6
Exploring Operation: 33+27=60, Resulting Numbers: [76, 60]
Generated Node #0,3,2: 70:[76, 60] Operation: 33+27=60
Exploring Operation: 76-33=43, Resulting Numbers: [27, 43]
Generated Node #0,3,3: 70:[27, 43] Operation: 76-33=43
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[76, 6], Operations: ['82-55=27', '33-27=6']
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[82, 55, 33, 76], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [33, 76, 27]
Generated Node #0,3: 70:[33, 76, 27] Operation: 82-55=27
Moving to Node #0,3
Current State: 70:[33, 76, 27], Operations: ['82-55=27']
Exploring Operation: 33-27=6, Resulting Numbers: [76, 6]
Generated Node #0,3,1: 70:[76, 6] Operation: 33-27=6
Moving to Node #0,3,1
Current State: 70:[76, 6], Operations: ['82-55=27', '33-27=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
34,
78,
41,
63
] | 18 | [
"34*63=2142",
"78+41=119",
"2142/119=18"
] | Current State: 18:[34, 78, 41, 63], Operations: []
Exploring Operation: 34*63=2142, Resulting Numbers: [78, 41, 2142]
Generated Node #2: [78, 41, 2142] from Operation: 34*63=2142
Current State: 18:[78, 41, 2142], Operations: ['34*63=2142']
Exploring Operation: 78+41=119, Resulting Numbers: [2142, 119]
Generated Node #3: [2142, 119] from Operation: 78+41=119
Current State: 18:[2142, 119], Operations: ['34*63=2142', '78+41=119']
Exploring Operation: 2142/119=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[34, 78, 41, 63], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [34, 78, 22]
Generated Node #0,0: 18:[34, 78, 22] Operation: 63-41=22
Exploring Operation: 78-63=15, Resulting Numbers: [34, 41, 15]
Generated Node #0,1: 18:[34, 41, 15] Operation: 78-63=15
Exploring Operation: 78-41=37, Resulting Numbers: [34, 63, 37]
Generated Node #0,2: 18:[34, 63, 37] Operation: 78-41=37
Moving to Node #0,1
Current State: 18:[34, 41, 15], Operations: ['78-63=15']
Exploring Operation: 34-15=19, Resulting Numbers: [41, 19]
Generated Node #0,1,0: 18:[41, 19] Operation: 34-15=19
Exploring Operation: 41-34=7, Resulting Numbers: [15, 7]
Generated Node #0,1,1: 18:[15, 7] Operation: 41-34=7
Exploring Operation: 41-15=26, Resulting Numbers: [34, 26]
Generated Node #0,1,2: 18:[34, 26] Operation: 41-15=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[15, 7], Operations: ['78-63=15', '41-34=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,18 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[41, 19], Operations: ['78-63=15', '34-15=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[34, 26], Operations: ['78-63=15', '41-15=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[34, 78, 22], Operations: ['63-41=22']
Exploring Operation: 78-22=56, Resulting Numbers: [34, 56]
Generated Node #0,0,0: 18:[34, 56] Operation: 78-22=56
Exploring Operation: 78-34=44, Resulting Numbers: [22, 44]
Generated Node #0,0,1: 18:[22, 44] Operation: 78-34=44
Exploring Operation: 34-22=12, Resulting Numbers: [78, 12]
Generated Node #0,0,2: 18:[78, 12] Operation: 34-22=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[22, 44], Operations: ['63-41=22', '78-34=44']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[34, 56], Operations: ['63-41=22', '78-22=56']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[78, 12], Operations: ['63-41=22', '34-22=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,18 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: 18:[34, 63, 37], Operations: ['78-41=37']
Exploring Operation: 63-34=29, Resulting Numbers: [37, 29]
Generated Node #0,2,0: 18:[37, 29] Operation: 63-34=29
Exploring Operation: 63-37=26, Resulting Numbers: [34, 26]
Generated Node #0,2,1: 18:[34, 26] Operation: 63-37=26
Exploring Operation: 37-34=3, Resulting Numbers: [63, 3]
Generated Node #0,2,2: 18:[63, 3] Operation: 37-34=3
Moving to Node #0,2,1
Current State: 18:[34, 26], Operations: ['78-41=37', '63-37=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,18 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[37, 29], Operations: ['78-41=37', '63-34=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,18 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[63, 3], Operations: ['78-41=37', '37-34=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
92,
88,
43
] | 46 | [
"92-7=85",
"88+43=131",
"131-85=46"
] | Current State: 46:[7, 92, 88, 43], Operations: []
Exploring Operation: 92-7=85, Resulting Numbers: [88, 43, 85]
Generated Node #2: [88, 43, 85] from Operation: 92-7=85
Current State: 46:[88, 43, 85], Operations: ['92-7=85']
Exploring Operation: 88+43=131, Resulting Numbers: [85, 131]
Generated Node #3: [85, 131] from Operation: 88+43=131
Current State: 46:[85, 131], Operations: ['92-7=85', '88+43=131']
Exploring Operation: 131-85=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[7, 92, 88, 43], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [7, 43, 4]
Generated Node #0,0: 46:[7, 43, 4] Operation: 92-88=4
Exploring Operation: 88-43=45, Resulting Numbers: [7, 92, 45]
Generated Node #0,1: 46:[7, 92, 45] Operation: 88-43=45
Exploring Operation: 92-43=49, Resulting Numbers: [7, 88, 49]
Generated Node #0,2: 46:[7, 88, 49] Operation: 92-43=49
Exploring Operation: 88-7=81, Resulting Numbers: [92, 43, 81]
Generated Node #0,3: 46:[92, 43, 81] Operation: 88-7=81
Exploring Operation: 92-7=85, Resulting Numbers: [88, 43, 85]
Generated Node #0,4: 46:[88, 43, 85] Operation: 92-7=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[7, 43, 4], Operations: ['92-88=4']
Exploring Operation: 43-7=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 46:[4, 36] Operation: 43-7=36
Exploring Operation: 7-4=3, Resulting Numbers: [43, 3]
Generated Node #0,0,1: 46:[43, 3] Operation: 7-4=3
Exploring Operation: 7*4=28, Resulting Numbers: [43, 28]
Generated Node #0,0,2: 46:[43, 28] Operation: 7*4=28
Exploring Operation: 7+43=50, Resulting Numbers: [4, 50]
Generated Node #0,0,3: 46:[4, 50] Operation: 7+43=50
Exploring Operation: 43+4=47, Resulting Numbers: [7, 47]
Generated Node #0,0,4: 46:[7, 47] Operation: 43+4=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[43, 3], Operations: ['92-88=4', '7-4=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[7, 92, 88, 43], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [7, 43, 4]
Generated Node #0,0: 46:[7, 43, 4] Operation: 92-88=4
Moving to Node #0,0
Current State: 46:[7, 43, 4], Operations: ['92-88=4']
Exploring Operation: 7-4=3, Resulting Numbers: [43, 3]
Generated Node #0,0,1: 46:[43, 3] Operation: 7-4=3
Moving to Node #0,0,1
Current State: 46:[43, 3], Operations: ['92-88=4', '7-4=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
41,
75,
18,
54
] | 15 | [
"41+18=59",
"59-54=5",
"75/5=15"
] | Current State: 15:[41, 75, 18, 54], Operations: []
Exploring Operation: 41+18=59, Resulting Numbers: [75, 54, 59]
Generated Node #2: [75, 54, 59] from Operation: 41+18=59
Current State: 15:[75, 54, 59], Operations: ['41+18=59']
Exploring Operation: 59-54=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 59-54=5
Current State: 15:[75, 5], Operations: ['41+18=59', '59-54=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[41, 75, 18, 54], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [75, 18, 13]
Generated Node #0,0: 15:[75, 18, 13] Operation: 54-41=13
Exploring Operation: 41-18=23, Resulting Numbers: [75, 54, 23]
Generated Node #0,1: 15:[75, 54, 23] Operation: 41-18=23
Exploring Operation: 75-54=21, Resulting Numbers: [41, 18, 21]
Generated Node #0,2: 15:[41, 18, 21] Operation: 75-54=21
Exploring Operation: 54/18=3, Resulting Numbers: [41, 75, 3]
Generated Node #0,3: 15:[41, 75, 3] Operation: 54/18=3
Exploring Operation: 75-41=34, Resulting Numbers: [18, 54, 34]
Generated Node #0,4: 15:[18, 54, 34] Operation: 75-41=34
Moving to Node #0,2
Current State: 15:[41, 18, 21], Operations: ['75-54=21']
Exploring Operation: 41+18=59, Resulting Numbers: [21, 59]
Generated Node #0,2,0: 15:[21, 59] Operation: 41+18=59
Exploring Operation: 41-21=20, Resulting Numbers: [18, 20]
Generated Node #0,2,1: 15:[18, 20] Operation: 41-21=20
Exploring Operation: 41+21=62, Resulting Numbers: [18, 62]
Generated Node #0,2,2: 15:[18, 62] Operation: 41+21=62
Exploring Operation: 21-18=3, Resulting Numbers: [41, 3]
Generated Node #0,2,3: 15:[41, 3] Operation: 21-18=3
Exploring Operation: 41-18=23, Resulting Numbers: [21, 23]
Generated Node #0,2,4: 15:[21, 23] Operation: 41-18=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[18, 20], Operations: ['75-54=21', '41-21=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,15 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 15:[21, 23], Operations: ['75-54=21', '41-18=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,15 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[41, 3], Operations: ['75-54=21', '21-18=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,15 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[21, 59], Operations: ['75-54=21', '41+18=59']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,15 unequal: No Solution
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,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,2
Current State: 15:[18, 62], Operations: ['75-54=21', '41+21=62']
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,15 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 15:[18, 54, 34], Operations: ['75-41=34']
Exploring Operation: 54/18=3, Resulting Numbers: [34, 3]
Generated Node #0,4,0: 15:[34, 3] Operation: 54/18=3
Exploring Operation: 54-34=20, Resulting Numbers: [18, 20]
Generated Node #0,4,1: 15:[18, 20] Operation: 54-34=20
Exploring Operation: 34-18=16, Resulting Numbers: [54, 16]
Generated Node #0,4,2: 15:[54, 16] Operation: 34-18=16
Exploring Operation: 54-18=36, Resulting Numbers: [34, 36]
Generated Node #0,4,3: 15:[34, 36] Operation: 54-18=36
Exploring Operation: 18+54=72, Resulting Numbers: [34, 72]
Generated Node #0,4,4: 15:[34, 72] Operation: 18+54=72
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 15:[18, 20], Operations: ['75-41=34', '54-34=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,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,4,0
Current State: 15:[34, 3], Operations: ['75-41=34', '54/18=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,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,4,2
Current State: 15:[54, 16], Operations: ['75-41=34', '34-18=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,15 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,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,4,3
Current State: 15:[34, 36], Operations: ['75-41=34', '54-18=36']
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,15 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 15:[34, 72], Operations: ['75-41=34', '18+54=72']
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,15 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,15 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,15 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: 15:[75, 18, 13], Operations: ['54-41=13']
Exploring Operation: 75-13=62, Resulting Numbers: [18, 62]
Generated Node #0,0,0: 15:[18, 62] Operation: 75-13=62
Exploring Operation: 18-13=5, Resulting Numbers: [75, 5]
Generated Node #0,0,1: 15:[75, 5] Operation: 18-13=5
Exploring Operation: 18+13=31, Resulting Numbers: [75, 31]
Generated Node #0,0,2: 15:[75, 31] Operation: 18+13=31
Exploring Operation: 75-18=57, Resulting Numbers: [13, 57]
Generated Node #0,0,3: 15:[13, 57] Operation: 75-18=57
Exploring Operation: 75+13=88, Resulting Numbers: [18, 88]
Generated Node #0,0,4: 15:[18, 88] Operation: 75+13=88
Moving to Node #0,3
Current State: 15:[41, 75, 3], Operations: ['54/18=3']
Exploring Operation: 41-3=38, Resulting Numbers: [75, 38]
Generated Node #0,3,0: 15:[75, 38] Operation: 41-3=38
Exploring Operation: 75/3=25, Resulting Numbers: [41, 25]
Generated Node #0,3,1: 15:[41, 25] Operation: 75/3=25
Exploring Operation: 75-41=34, Resulting Numbers: [3, 34]
Generated Node #0,3,2: 15:[3, 34] Operation: 75-41=34
Exploring Operation: 75-3=72, Resulting Numbers: [41, 72]
Generated Node #0,3,3: 15:[41, 72] Operation: 75-3=72
Exploring Operation: 41+3=44, Resulting Numbers: [75, 44]
Generated Node #0,3,4: 15:[75, 44] Operation: 41+3=44
Moving to Node #0,1
Current State: 15:[75, 54, 23], Operations: ['41-18=23']
Exploring Operation: 75+23=98, Resulting Numbers: [54, 98]
Generated Node #0,1,0: 15:[54, 98] Operation: 75+23=98
Exploring Operation: 75+54=129, Resulting Numbers: [23, 129]
Generated Node #0,1,1: 15:[23, 129] Operation: 75+54=129
Exploring Operation: 75-23=52, Resulting Numbers: [54, 52]
Generated Node #0,1,2: 15:[54, 52] Operation: 75-23=52
Exploring Operation: 75-54=21, Resulting Numbers: [23, 21]
Generated Node #0,1,3: 15:[23, 21] Operation: 75-54=21
Exploring Operation: 54-23=31, Resulting Numbers: [75, 31]
Generated Node #0,1,4: 15:[75, 31] Operation: 54-23=31
Moving to Node #0,1,3
Current State: 15:[23, 21], Operations: ['41-18=23', '75-54=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,15 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[3, 34], Operations: ['54/18=3', '75-41=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,15 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[41, 25], Operations: ['54/18=3', '75/3=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,15 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[13, 57], Operations: ['54-41=13', '75-18=57']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,15 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[18, 62], Operations: ['54-41=13', '75-13=62']
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,15 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[75, 5], Operations: ['54-41=13', '18-13=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,15 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[41, 75, 18, 54], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [75, 18, 13]
Generated Node #0,0: 15:[75, 18, 13] Operation: 54-41=13
Moving to Node #0,0
Current State: 15:[75, 18, 13], Operations: ['54-41=13']
Exploring Operation: 18-13=5, Resulting Numbers: [75, 5]
Generated Node #0,0,1: 15:[75, 5] Operation: 18-13=5
Moving to Node #0,0,1
Current State: 15:[75, 5], Operations: ['54-41=13', '18-13=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.928819 | hs_5 | mult_heuristic |
[
12,
35,
78,
1
] | 81 | [
"35+1=36",
"36/12=3",
"78+3=81"
] | Current State: 81:[12, 35, 78, 1], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [12, 78, 36]
Generated Node #2: [12, 78, 36] from Operation: 35+1=36
Current State: 81:[12, 78, 36], Operations: ['35+1=36']
Exploring Operation: 36/12=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 36/12=3
Current State: 81:[78, 3], Operations: ['35+1=36', '36/12=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[12, 35, 78, 1], Operations: []
Exploring Operation: 12-1=11, Resulting Numbers: [35, 78, 11]
Generated Node #0,0: 81:[35, 78, 11] Operation: 12-1=11
Exploring Operation: 35-1=34, Resulting Numbers: [12, 78, 34]
Generated Node #0,1: 81:[12, 78, 34] Operation: 35-1=34
Exploring Operation: 78+1=79, Resulting Numbers: [12, 35, 79]
Generated Node #0,2: 81:[12, 35, 79] Operation: 78+1=79
Exploring Operation: 35-12=23, Resulting Numbers: [78, 1, 23]
Generated Node #0,3: 81:[78, 1, 23] Operation: 35-12=23
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[78, 1, 23], Operations: ['35-12=23']
Exploring Operation: 78*1=78, Resulting Numbers: [23, 78]
Generated Node #0,3,0: 81:[23, 78] Operation: 78*1=78
Exploring Operation: 78/1=78, Resulting Numbers: [23, 78]
Generated Node #0,3,1: 81:[23, 78] Operation: 78/1=78
Exploring Operation: 1+23=24, Resulting Numbers: [78, 24]
Generated Node #0,3,2: 81:[78, 24] Operation: 1+23=24
Exploring Operation: 78+1=79, Resulting Numbers: [23, 79]
Generated Node #0,3,3: 81:[23, 79] Operation: 78+1=79
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[78, 24], Operations: ['35-12=23', '1+23=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,81 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 81:[23, 79], Operations: ['35-12=23', '78+1=79']
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,81 unequal: No Solution
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[23, 78], Operations: ['35-12=23', '78*1=78']
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[23, 78], Operations: ['35-12=23', '78/1=78']
Exploring Operation: 23*78=1794, Resulting Numbers: [1794]
1794,81 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[35, 78, 11], Operations: ['12-1=11']
Exploring Operation: 35-11=24, Resulting Numbers: [78, 24]
Generated Node #0,0,0: 81:[78, 24] Operation: 35-11=24
Exploring Operation: 78+11=89, Resulting Numbers: [35, 89]
Generated Node #0,0,1: 81:[35, 89] Operation: 78+11=89
Exploring Operation: 35+11=46, Resulting Numbers: [78, 46]
Generated Node #0,0,2: 81:[78, 46] Operation: 35+11=46
Exploring Operation: 78-35=43, Resulting Numbers: [11, 43]
Generated Node #0,0,3: 81:[11, 43] Operation: 78-35=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[78, 24], Operations: ['12-1=11', '35-11=24']
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,81 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[35, 89], Operations: ['12-1=11', '78+11=89']
Exploring Operation: 35*89=3115, Resulting Numbers: [3115]
3115,81 unequal: No Solution
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 35+89=124, Resulting Numbers: [124]
124,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 81:[11, 43], Operations: ['12-1=11', '78-35=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,81 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[78, 46], Operations: ['12-1=11', '35+11=46']
Exploring Operation: 78+46=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 78-46=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 78*46=3588, Resulting Numbers: [3588]
3588,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[12, 78, 34], Operations: ['35-1=34']
Exploring Operation: 34-12=22, Resulting Numbers: [78, 22]
Generated Node #0,1,0: 81:[78, 22] Operation: 34-12=22
Exploring Operation: 78-34=44, Resulting Numbers: [12, 44]
Generated Node #0,1,1: 81:[12, 44] Operation: 78-34=44
Exploring Operation: 78-12=66, Resulting Numbers: [34, 66]
Generated Node #0,1,2: 81:[34, 66] Operation: 78-12=66
Exploring Operation: 12+78=90, Resulting Numbers: [34, 90]
Generated Node #0,1,3: 81:[34, 90] Operation: 12+78=90
Moving to Node #0,1,0
Current State: 81:[78, 22], Operations: ['35-1=34', '34-12=22']
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,81 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[34, 90], Operations: ['35-1=34', '12+78=90']
Exploring Operation: 34+90=124, Resulting Numbers: [124]
124,81 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 34*90=3060, Resulting Numbers: [3060]
3060,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[12, 44], Operations: ['35-1=34', '78-34=44']
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[34, 66], Operations: ['35-1=34', '78-12=66']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,81 unequal: No Solution
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[12, 35, 79], Operations: ['78+1=79']
Exploring Operation: 12+35=47, Resulting Numbers: [79, 47]
Generated Node #0,2,0: 81:[79, 47] Operation: 12+35=47
Exploring Operation: 12+79=91, Resulting Numbers: [35, 91]
Generated Node #0,2,1: 81:[35, 91] Operation: 12+79=91
Exploring Operation: 79-35=44, Resulting Numbers: [12, 44]
Generated Node #0,2,2: 81:[12, 44] Operation: 79-35=44
Exploring Operation: 35-12=23, Resulting Numbers: [79, 23]
Generated Node #0,2,3: 81:[79, 23] Operation: 35-12=23
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 81:[79, 23], Operations: ['78+1=79', '35-12=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[35, 91], Operations: ['78+1=79', '12+79=91']
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,81 unequal: No Solution
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[12, 44], Operations: ['78+1=79', '79-35=44']
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,81 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[79, 47], Operations: ['78+1=79', '12+35=47']
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,81 unequal: No Solution
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
63,
83,
75
] | 77 | [
"56*83=4648",
"63*75=4725",
"4725-4648=77"
] | Current State: 77:[56, 63, 83, 75], Operations: []
Exploring Operation: 56*83=4648, Resulting Numbers: [63, 75, 4648]
Generated Node #2: [63, 75, 4648] from Operation: 56*83=4648
Current State: 77:[63, 75, 4648], Operations: ['56*83=4648']
Exploring Operation: 63*75=4725, Resulting Numbers: [4648, 4725]
Generated Node #3: [4648, 4725] from Operation: 63*75=4725
Current State: 77:[4648, 4725], Operations: ['56*83=4648', '63*75=4725']
Exploring Operation: 4725-4648=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[56, 63, 83, 75], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [83, 75, 7]
Generated Node #0,0: 77:[83, 75, 7] Operation: 63-56=7
Exploring Operation: 75-56=19, Resulting Numbers: [63, 83, 19]
Generated Node #0,1: 77:[63, 83, 19] Operation: 75-56=19
Exploring Operation: 75-63=12, Resulting Numbers: [56, 83, 12]
Generated Node #0,2: 77:[56, 83, 12] Operation: 75-63=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[83, 75, 7], Operations: ['63-56=7']
Exploring Operation: 83-7=76, Resulting Numbers: [75, 76]
Generated Node #0,0,0: 77:[75, 76] Operation: 83-7=76
Exploring Operation: 75+7=82, Resulting Numbers: [83, 82]
Generated Node #0,0,1: 77:[83, 82] Operation: 75+7=82
Exploring Operation: 83-75=8, Resulting Numbers: [7, 8]
Generated Node #0,0,2: 77:[7, 8] Operation: 83-75=8
Moving to Node #0,0,2
Current State: 77:[7, 8], Operations: ['63-56=7', '83-75=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[75, 76], Operations: ['63-56=7', '83-7=76']
Exploring Operation: 75+76=151, Resulting Numbers: [151]
151,77 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 75*76=5700, Resulting Numbers: [5700]
5700,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[83, 82], Operations: ['63-56=7', '75+7=82']
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,77 unequal: No Solution
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[63, 83, 19], Operations: ['75-56=19']
Exploring Operation: 83-63=20, Resulting Numbers: [19, 20]
Generated Node #0,1,0: 77:[19, 20] Operation: 83-63=20
Exploring Operation: 83-19=64, Resulting Numbers: [63, 64]
Generated Node #0,1,1: 77:[63, 64] Operation: 83-19=64
Exploring Operation: 63+19=82, Resulting Numbers: [83, 82]
Generated Node #0,1,2: 77:[83, 82] Operation: 63+19=82
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[83, 82], Operations: ['75-56=19', '63+19=82']
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,77 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[19, 20], Operations: ['75-56=19', '83-63=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,77 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[63, 64], Operations: ['75-56=19', '83-19=64']
Exploring Operation: 63+64=127, Resulting Numbers: [127]
127,77 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 63*64=4032, Resulting Numbers: [4032]
4032,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[56, 83, 12], Operations: ['75-63=12']
Exploring Operation: 83-56=27, Resulting Numbers: [12, 27]
Generated Node #0,2,0: 77:[12, 27] Operation: 83-56=27
Exploring Operation: 56+12=68, Resulting Numbers: [83, 68]
Generated Node #0,2,1: 77:[83, 68] Operation: 56+12=68
Exploring Operation: 83-12=71, Resulting Numbers: [56, 71]
Generated Node #0,2,2: 77:[56, 71] Operation: 83-12=71
Moving to Node #0,2,1
Current State: 77:[83, 68], Operations: ['75-63=12', '56+12=68']
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,77 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[12, 27], Operations: ['75-63=12', '83-56=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,77 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[56, 71], Operations: ['75-63=12', '83-12=71']
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,77 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
30,
23,
2
] | 91 | [
"15+30=45",
"23*2=46",
"45+46=91"
] | Current State: 91:[15, 30, 23, 2], Operations: []
Exploring Operation: 15+30=45, Resulting Numbers: [23, 2, 45]
Generated Node #2: [23, 2, 45] from Operation: 15+30=45
Current State: 91:[23, 2, 45], Operations: ['15+30=45']
Exploring Operation: 23*2=46, Resulting Numbers: [45, 46]
Generated Node #3: [45, 46] from Operation: 23*2=46
Current State: 91:[45, 46], Operations: ['15+30=45', '23*2=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 30, 23, 2], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [15, 2, 7]
Generated Node #0,0: 91:[15, 2, 7] Operation: 30-23=7
Exploring Operation: 30/2=15, Resulting Numbers: [15, 23, 15]
Generated Node #0,1: 91:[15, 23, 15] Operation: 30/2=15
Moving to Node #0,0
Current State: 91:[15, 2, 7], Operations: ['30-23=7']
Exploring Operation: 2*7=14, Resulting Numbers: [15, 14]
Generated Node #0,0,0: 91:[15, 14] Operation: 2*7=14
Exploring Operation: 15-2=13, Resulting Numbers: [7, 13]
Generated Node #0,0,1: 91:[7, 13] Operation: 15-2=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[7, 13], Operations: ['30-23=7', '15-2=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[15, 30, 23, 2], Operations: []
Exploring Operation: 30-23=7, Resulting Numbers: [15, 2, 7]
Generated Node #0,0: 91:[15, 2, 7] Operation: 30-23=7
Moving to Node #0,0
Current State: 91:[15, 2, 7], Operations: ['30-23=7']
Exploring Operation: 15-2=13, Resulting Numbers: [7, 13]
Generated Node #0,0,1: 91:[7, 13] Operation: 15-2=13
Moving to Node #0,0,1
Current State: 91:[7, 13], Operations: ['30-23=7', '15-2=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
72,
71,
44,
68
] | 68 | [
"71-68=3",
"72/3=24",
"44+24=68"
] | Current State: 68:[72, 71, 44, 68], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [72, 44, 3]
Generated Node #2: [72, 44, 3] from Operation: 71-68=3
Current State: 68:[72, 44, 3], Operations: ['71-68=3']
Exploring Operation: 72/3=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 72/3=24
Current State: 68:[44, 24], Operations: ['71-68=3', '72/3=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[72, 71, 44, 68], Operations: []
Exploring Operation: 72-71=1, Resulting Numbers: [44, 68, 1]
Generated Node #0,0: 68:[44, 68, 1] Operation: 72-71=1
Exploring Operation: 71-44=27, Resulting Numbers: [72, 68, 27]
Generated Node #0,1: 68:[72, 68, 27] Operation: 71-44=27
Exploring Operation: 72-68=4, Resulting Numbers: [71, 44, 4]
Generated Node #0,2: 68:[71, 44, 4] Operation: 72-68=4
Exploring Operation: 72-44=28, Resulting Numbers: [71, 68, 28]
Generated Node #0,3: 68:[71, 68, 28] Operation: 72-44=28
Moving to Node #0,3
Current State: 68:[71, 68, 28], Operations: ['72-44=28']
Exploring Operation: 71-28=43, Resulting Numbers: [68, 43]
Generated Node #0,3,0: 68:[68, 43] Operation: 71-28=43
Exploring Operation: 68-28=40, Resulting Numbers: [71, 40]
Generated Node #0,3,1: 68:[71, 40] Operation: 68-28=40
Exploring Operation: 71-68=3, Resulting Numbers: [28, 3]
Generated Node #0,3,2: 68:[28, 3] Operation: 71-68=3
Exploring Operation: 71+28=99, Resulting Numbers: [68, 99]
Generated Node #0,3,3: 68:[68, 99] Operation: 71+28=99
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 68:[28, 3], Operations: ['72-44=28', '71-68=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,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,0
Current State: 68:[68, 43], Operations: ['72-44=28', '71-28=43']
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,68 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,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,1
Current State: 68:[71, 40], Operations: ['72-44=28', '68-28=40']
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,68 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,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,3
Current State: 68:[68, 99], Operations: ['72-44=28', '71+28=99']
Exploring Operation: 68*99=6732, Resulting Numbers: [6732]
6732,68 unequal: No Solution
Exploring Operation: 68+99=167, Resulting Numbers: [167]
167,68 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 68:[72, 68, 27], Operations: ['71-44=27']
Exploring Operation: 72-27=45, Resulting Numbers: [68, 45]
Generated Node #0,1,0: 68:[68, 45] Operation: 72-27=45
Exploring Operation: 72+27=99, Resulting Numbers: [68, 99]
Generated Node #0,1,1: 68:[68, 99] Operation: 72+27=99
Exploring Operation: 68-27=41, Resulting Numbers: [72, 41]
Generated Node #0,1,2: 68:[72, 41] Operation: 68-27=41
Exploring Operation: 72-68=4, Resulting Numbers: [27, 4]
Generated Node #0,1,3: 68:[27, 4] Operation: 72-68=4
Moving to Node #0,0
Current State: 68:[44, 68, 1], Operations: ['72-71=1']
Exploring Operation: 44/1=44, Resulting Numbers: [68, 44]
Generated Node #0,0,0: 68:[68, 44] Operation: 44/1=44
Exploring Operation: 44*1=44, Resulting Numbers: [68, 44]
Generated Node #0,0,1: 68:[68, 44] Operation: 44*1=44
Exploring Operation: 68-44=24, Resulting Numbers: [1, 24]
Generated Node #0,0,2: 68:[1, 24] Operation: 68-44=24
Exploring Operation: 44-1=43, Resulting Numbers: [68, 43]
Generated Node #0,0,3: 68:[68, 43] Operation: 44-1=43
Moving to Node #0,2
Current State: 68:[71, 44, 4], Operations: ['72-68=4']
Exploring Operation: 71-44=27, Resulting Numbers: [4, 27]
Generated Node #0,2,0: 68:[4, 27] Operation: 71-44=27
Exploring Operation: 71-4=67, Resulting Numbers: [44, 67]
Generated Node #0,2,1: 68:[44, 67] Operation: 71-4=67
Exploring Operation: 44/4=11, Resulting Numbers: [71, 11]
Generated Node #0,2,2: 68:[71, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [71, 40]
Generated Node #0,2,3: 68:[71, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[4, 27], Operations: ['72-68=4', '71-44=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[71, 11], Operations: ['72-68=4', '44/4=11']
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,68 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[71, 40], Operations: ['72-68=4', '44-4=40']
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[44, 67], Operations: ['72-68=4', '71-4=67']
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 68:[27, 4], Operations: ['71-44=27', '72-68=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[1, 24], Operations: ['72-71=1', '68-44=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[68, 43], Operations: ['72-71=1', '44-1=43']
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[68, 44], Operations: ['72-71=1', '44/1=44']
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,68 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[68, 44], Operations: ['72-71=1', '44*1=44']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[72, 41], Operations: ['71-44=27', '68-27=41']
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,68 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,68 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[68, 45], Operations: ['71-44=27', '72-27=45']
Exploring Operation: 68*45=3060, Resulting Numbers: [3060]
3060,68 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 68+45=113, Resulting Numbers: [113]
113,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[68, 99], Operations: ['71-44=27', '72+27=99']
Exploring Operation: 68*99=6732, Resulting Numbers: [6732]
6732,68 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 68+99=167, Resulting Numbers: [167]
167,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
8,
86,
13
] | 38 | [
"13-7=6",
"8*6=48",
"86-48=38"
] | Current State: 38:[7, 8, 86, 13], Operations: []
Exploring Operation: 13-7=6, Resulting Numbers: [8, 86, 6]
Generated Node #2: [8, 86, 6] from Operation: 13-7=6
Current State: 38:[8, 86, 6], Operations: ['13-7=6']
Exploring Operation: 8*6=48, Resulting Numbers: [86, 48]
Generated Node #3: [86, 48] from Operation: 8*6=48
Current State: 38:[86, 48], Operations: ['13-7=6', '8*6=48']
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[7, 8, 86, 13], Operations: []
Exploring Operation: 86-8=78, Resulting Numbers: [7, 13, 78]
Generated Node #0,0: 38:[7, 13, 78] Operation: 86-8=78
Exploring Operation: 86-13=73, Resulting Numbers: [7, 8, 73]
Generated Node #0,1: 38:[7, 8, 73] Operation: 86-13=73
Moving to Node #0,1
Current State: 38:[7, 8, 73], Operations: ['86-13=73']
Exploring Operation: 73-8=65, Resulting Numbers: [7, 65]
Generated Node #0,1,0: 38:[7, 65] Operation: 73-8=65
Exploring Operation: 73-7=66, Resulting Numbers: [8, 66]
Generated Node #0,1,1: 38:[8, 66] Operation: 73-7=66
Moving to Node #0,0
Current State: 38:[7, 13, 78], Operations: ['86-8=78']
Exploring Operation: 78/13=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 38:[7, 6] Operation: 78/13=6
Exploring Operation: 78-13=65, Resulting Numbers: [7, 65]
Generated Node #0,0,1: 38:[7, 65] Operation: 78-13=65
Moving to Node #0,0,0
Current State: 38:[7, 6], Operations: ['86-8=78', '78/13=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[7, 65], Operations: ['86-13=73', '73-8=65']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[7, 65], Operations: ['86-8=78', '78-13=65']
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,38 unequal: No Solution
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[8, 66], Operations: ['86-13=73', '73-7=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,38 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.