nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
55,
60,
41,
60
] | 97 | [
"55+41=96",
"60/60=1",
"96+1=97"
] | Current State: 97:[55, 60, 41, 60], Operations: []
Exploring Operation: 55+41=96, Resulting Numbers: [60, 60, 96]
Generated Node #2: [60, 60, 96] from Operation: 55+41=96
Current State: 97:[60, 60, 96], Operations: ['55+41=96']
Exploring Operation: 60/60=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 60/60=1
Current State: 97:[96, 1], Operations: ['55+41=96', '60/60=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[55, 60, 41, 60], Operations: []
Exploring Operation: 41+60=101, Resulting Numbers: [55, 60, 101]
Generated Node #0,0: 97:[55, 60, 101] Operation: 41+60=101
Exploring Operation: 55+41=96, Resulting Numbers: [60, 60, 96]
Generated Node #0,1: 97:[60, 60, 96] Operation: 55+41=96
Exploring Operation: 60+41=101, Resulting Numbers: [55, 60, 101]
Generated Node #0,2: 97:[55, 60, 101] Operation: 60+41=101
Exploring Operation: 55+60=115, Resulting Numbers: [41, 60, 115]
Generated Node #0,3: 97:[41, 60, 115] Operation: 55+60=115
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[60, 60, 96], Operations: ['55+41=96']
Exploring Operation: 60/60=1, Resulting Numbers: [96, 1]
Generated Node #0,1,0: 97:[96, 1] Operation: 60/60=1
Exploring Operation: 60+60=120, Resulting Numbers: [96, 120]
Generated Node #0,1,1: 97:[96, 120] Operation: 60+60=120
Exploring Operation: 60+96=156, Resulting Numbers: [60, 156]
Generated Node #0,1,2: 97:[60, 156] Operation: 60+96=156
Exploring Operation: 60+96=156, Resulting Numbers: [60, 156]
Generated Node #0,1,3: 97:[60, 156] Operation: 60+96=156
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[96, 120], Operations: ['55+41=96', '60+60=120']
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,97 unequal: No Solution
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[60, 156], Operations: ['55+41=96', '60+96=156']
Exploring Operation: 60+156=216, Resulting Numbers: [216]
216,97 unequal: No Solution
Exploring Operation: 60*156=9360, Resulting Numbers: [9360]
9360,97 unequal: No Solution
Exploring Operation: 156-60=96, Resulting Numbers: [96]
96,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[60, 156], Operations: ['55+41=96', '60+96=156']
Exploring Operation: 156-60=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 60*156=9360, Resulting Numbers: [9360]
9360,97 unequal: No Solution
Exploring Operation: 60+156=216, Resulting Numbers: [216]
216,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[96, 1], Operations: ['55+41=96', '60/60=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,97 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,97 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[55, 60, 41, 60], Operations: []
Exploring Operation: 55+41=96, Resulting Numbers: [60, 60, 96]
Generated Node #0,1: 97:[60, 60, 96] Operation: 55+41=96
Moving to Node #0,1
Current State: 97:[60, 60, 96], Operations: ['55+41=96']
Exploring Operation: 60/60=1, Resulting Numbers: [96, 1]
Generated Node #0,1,0: 97:[96, 1] Operation: 60/60=1
Moving to Node #0,1,0
Current State: 97:[96, 1], Operations: ['55+41=96', '60/60=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
26,
98,
11,
7
] | 95 | [
"26+7=33",
"33/11=3",
"98-3=95"
] | Current State: 95:[26, 98, 11, 7], Operations: []
Exploring Operation: 26+7=33, Resulting Numbers: [98, 11, 33]
Generated Node #2: [98, 11, 33] from Operation: 26+7=33
Current State: 95:[98, 11, 33], Operations: ['26+7=33']
Exploring Operation: 33/11=3, Resulting Numbers: [98, 3]
Generated Node #3: [98, 3] from Operation: 33/11=3
Current State: 95:[98, 3], Operations: ['26+7=33', '33/11=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[26, 98, 11, 7], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [98, 7, 15]
Generated Node #0,0: 95:[98, 7, 15] Operation: 26-11=15
Exploring Operation: 26-7=19, Resulting Numbers: [98, 11, 19]
Generated Node #0,1: 95:[98, 11, 19] Operation: 26-7=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[98, 7, 15], Operations: ['26-11=15']
Exploring Operation: 7+15=22, Resulting Numbers: [98, 22]
Generated Node #0,0,0: 95:[98, 22] Operation: 7+15=22
Exploring Operation: 15-7=8, Resulting Numbers: [98, 8]
Generated Node #0,0,1: 95:[98, 8] Operation: 15-7=8
Moving to Node #0,0,0
Current State: 95:[98, 22], Operations: ['26-11=15', '7+15=22']
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 98+22=120, Resulting Numbers: [120]
120,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[98, 8], Operations: ['26-11=15', '15-7=8']
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[98, 11, 19], Operations: ['26-7=19']
Exploring Operation: 19-11=8, Resulting Numbers: [98, 8]
Generated Node #0,1,0: 95:[98, 8] Operation: 19-11=8
Exploring Operation: 98-11=87, Resulting Numbers: [19, 87]
Generated Node #0,1,1: 95:[19, 87] Operation: 98-11=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[98, 8], Operations: ['26-7=19', '19-11=8']
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,95 unequal: No Solution
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[19, 87], Operations: ['26-7=19', '98-11=87']
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 19+87=106, Resulting Numbers: [106]
106,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
83,
66,
68
] | 64 | [
"83-49=34",
"68/34=2",
"66-2=64"
] | Current State: 64:[49, 83, 66, 68], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [66, 68, 34]
Generated Node #2: [66, 68, 34] from Operation: 83-49=34
Current State: 64:[66, 68, 34], Operations: ['83-49=34']
Exploring Operation: 68/34=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 68/34=2
Current State: 64:[66, 2], Operations: ['83-49=34', '68/34=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[49, 83, 66, 68], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [49, 66, 15]
Generated Node #0,0: 64:[49, 66, 15] Operation: 83-68=15
Exploring Operation: 83-49=34, Resulting Numbers: [66, 68, 34]
Generated Node #0,1: 64:[66, 68, 34] Operation: 83-49=34
Exploring Operation: 83-66=17, Resulting Numbers: [49, 68, 17]
Generated Node #0,2: 64:[49, 68, 17] Operation: 83-66=17
Exploring Operation: 68-49=19, Resulting Numbers: [83, 66, 19]
Generated Node #0,3: 64:[83, 66, 19] Operation: 68-49=19
Exploring Operation: 66-49=17, Resulting Numbers: [83, 68, 17]
Generated Node #0,4: 64:[83, 68, 17] Operation: 66-49=17
Moving to Node #0,1
Current State: 64:[66, 68, 34], Operations: ['83-49=34']
Exploring Operation: 68/34=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 64:[66, 2] Operation: 68/34=2
Exploring Operation: 66-34=32, Resulting Numbers: [68, 32]
Generated Node #0,1,1: 64:[68, 32] Operation: 66-34=32
Exploring Operation: 66+34=100, Resulting Numbers: [68, 100]
Generated Node #0,1,2: 64:[68, 100] Operation: 66+34=100
Exploring Operation: 68-66=2, Resulting Numbers: [34, 2]
Generated Node #0,1,3: 64:[34, 2] Operation: 68-66=2
Exploring Operation: 68-34=34, Resulting Numbers: [66, 34]
Generated Node #0,1,4: 64:[66, 34] Operation: 68-34=34
Moving to Node #0,0
Current State: 64:[49, 66, 15], Operations: ['83-68=15']
Exploring Operation: 66-15=51, Resulting Numbers: [49, 51]
Generated Node #0,0,0: 64:[49, 51] Operation: 66-15=51
Exploring Operation: 66+15=81, Resulting Numbers: [49, 81]
Generated Node #0,0,1: 64:[49, 81] Operation: 66+15=81
Exploring Operation: 66-49=17, Resulting Numbers: [15, 17]
Generated Node #0,0,2: 64:[15, 17] Operation: 66-49=17
Exploring Operation: 49-15=34, Resulting Numbers: [66, 34]
Generated Node #0,0,3: 64:[66, 34] Operation: 49-15=34
Exploring Operation: 49+15=64, Resulting Numbers: [66, 64]
Generated Node #0,0,4: 64:[66, 64] Operation: 49+15=64
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[15, 17], Operations: ['83-68=15', '66-49=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,64 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 64:[66, 64], Operations: ['83-68=15', '49+15=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,64 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[66, 34], Operations: ['83-68=15', '49-15=34']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[49, 51], Operations: ['83-68=15', '66-15=51']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[49, 81], Operations: ['83-68=15', '66+15=81']
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,64 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,64 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: 64:[49, 68, 17], Operations: ['83-66=17']
Exploring Operation: 68-17=51, Resulting Numbers: [49, 51]
Generated Node #0,2,0: 64:[49, 51] Operation: 68-17=51
Exploring Operation: 68-49=19, Resulting Numbers: [17, 19]
Generated Node #0,2,1: 64:[17, 19] Operation: 68-49=19
Exploring Operation: 68/17=4, Resulting Numbers: [49, 4]
Generated Node #0,2,2: 64:[49, 4] Operation: 68/17=4
Exploring Operation: 49+17=66, Resulting Numbers: [68, 66]
Generated Node #0,2,3: 64:[68, 66] Operation: 49+17=66
Exploring Operation: 49-17=32, Resulting Numbers: [68, 32]
Generated Node #0,2,4: 64:[68, 32] Operation: 49-17=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[17, 19], Operations: ['83-66=17', '68-49=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,64 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[68, 32], Operations: ['83-66=17', '49-17=32']
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,64 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[68, 66], Operations: ['83-66=17', '49+17=66']
Exploring Operation: 68+66=134, Resulting Numbers: [134]
134,64 unequal: No Solution
Exploring Operation: 68*66=4488, Resulting Numbers: [4488]
4488,64 unequal: No Solution
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[49, 4], Operations: ['83-66=17', '68/17=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,64 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[49, 51], Operations: ['83-66=17', '68-17=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,64 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: 64:[83, 66, 19], Operations: ['68-49=19']
Exploring Operation: 83-66=17, Resulting Numbers: [19, 17]
Generated Node #0,3,0: 64:[19, 17] Operation: 83-66=17
Exploring Operation: 83-19=64, Resulting Numbers: [66, 64]
Generated Node #0,3,1: 64:[66, 64] Operation: 83-19=64
Exploring Operation: 66+19=85, Resulting Numbers: [83, 85]
Generated Node #0,3,2: 64:[83, 85] Operation: 66+19=85
Exploring Operation: 83+19=102, Resulting Numbers: [66, 102]
Generated Node #0,3,3: 64:[66, 102] Operation: 83+19=102
Exploring Operation: 66-19=47, Resulting Numbers: [83, 47]
Generated Node #0,3,4: 64:[83, 47] Operation: 66-19=47
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[66, 64], Operations: ['68-49=19', '83-19=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,64 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[19, 17], Operations: ['68-49=19', '83-66=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,64 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[83, 47], Operations: ['68-49=19', '66-19=47']
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[83, 85], Operations: ['68-49=19', '66+19=85']
Exploring Operation: 83*85=7055, Resulting Numbers: [7055]
7055,64 unequal: No Solution
Exploring Operation: 85-83=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 83+85=168, Resulting Numbers: [168]
168,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[66, 102], Operations: ['68-49=19', '83+19=102']
Exploring Operation: 66*102=6732, Resulting Numbers: [6732]
6732,64 unequal: No Solution
Exploring Operation: 66+102=168, Resulting Numbers: [168]
168,64 unequal: No Solution
Exploring Operation: 102-66=36, Resulting Numbers: [36]
36,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 64:[83, 68, 17], Operations: ['66-49=17']
Exploring Operation: 83-68=15, Resulting Numbers: [17, 15]
Generated Node #0,4,0: 64:[17, 15] Operation: 83-68=15
Exploring Operation: 68/17=4, Resulting Numbers: [83, 4]
Generated Node #0,4,1: 64:[83, 4] Operation: 68/17=4
Exploring Operation: 68-17=51, Resulting Numbers: [83, 51]
Generated Node #0,4,2: 64:[83, 51] Operation: 68-17=51
Exploring Operation: 83+17=100, Resulting Numbers: [68, 100]
Generated Node #0,4,3: 64:[68, 100] Operation: 83+17=100
Exploring Operation: 83-17=66, Resulting Numbers: [68, 66]
Generated Node #0,4,4: 64:[68, 66] Operation: 83-17=66
Moving to Node #0,1,0
Current State: 64:[66, 2], Operations: ['83-49=34', '68/34=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[49, 83, 66, 68], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [66, 68, 34]
Generated Node #0,1: 64:[66, 68, 34] Operation: 83-49=34
Moving to Node #0,1
Current State: 64:[66, 68, 34], Operations: ['83-49=34']
Exploring Operation: 68/34=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 64:[66, 2] Operation: 68/34=2
Moving to Node #0,1,0
Current State: 64:[66, 2], Operations: ['83-49=34', '68/34=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.928819 | hs_5 | mult_heuristic |
[
20,
17,
53,
3
] | 87 | [
"20+17=37",
"53-3=50",
"37+50=87"
] | Current State: 87:[20, 17, 53, 3], Operations: []
Exploring Operation: 20+17=37, Resulting Numbers: [53, 3, 37]
Generated Node #2: [53, 3, 37] from Operation: 20+17=37
Current State: 87:[53, 3, 37], Operations: ['20+17=37']
Exploring Operation: 53-3=50, Resulting Numbers: [37, 50]
Generated Node #3: [37, 50] from Operation: 53-3=50
Current State: 87:[37, 50], Operations: ['20+17=37', '53-3=50']
Exploring Operation: 37+50=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[20, 17, 53, 3], Operations: []
Exploring Operation: 53-20=33, Resulting Numbers: [17, 3, 33]
Generated Node #0,0: 87:[17, 3, 33] Operation: 53-20=33
Exploring Operation: 20-17=3, Resulting Numbers: [53, 3, 3]
Generated Node #0,1: 87:[53, 3, 3] Operation: 20-17=3
Exploring Operation: 20+53=73, Resulting Numbers: [17, 3, 73]
Generated Node #0,2: 87:[17, 3, 73] Operation: 20+53=73
Exploring Operation: 53-17=36, Resulting Numbers: [20, 3, 36]
Generated Node #0,3: 87:[20, 3, 36] Operation: 53-17=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[17, 3, 33], Operations: ['53-20=33']
Exploring Operation: 33-3=30, Resulting Numbers: [17, 30]
Generated Node #0,0,0: 87:[17, 30] Operation: 33-3=30
Exploring Operation: 17+3=20, Resulting Numbers: [33, 20]
Generated Node #0,0,1: 87:[33, 20] Operation: 17+3=20
Exploring Operation: 33-17=16, Resulting Numbers: [3, 16]
Generated Node #0,0,2: 87:[3, 16] Operation: 33-17=16
Exploring Operation: 17-3=14, Resulting Numbers: [33, 14]
Generated Node #0,0,3: 87:[33, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[17, 30], Operations: ['53-20=33', '33-3=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,87 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,87 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[33, 20], Operations: ['53-20=33', '17+3=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[3, 16], Operations: ['53-20=33', '33-17=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[33, 14], Operations: ['53-20=33', '17-3=14']
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,87 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,87 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[20, 3, 36], Operations: ['53-17=36']
Exploring Operation: 36-3=33, Resulting Numbers: [20, 33]
Generated Node #0,3,0: 87:[20, 33] Operation: 36-3=33
Exploring Operation: 20+3=23, Resulting Numbers: [36, 23]
Generated Node #0,3,1: 87:[36, 23] Operation: 20+3=23
Exploring Operation: 36/3=12, Resulting Numbers: [20, 12]
Generated Node #0,3,2: 87:[20, 12] Operation: 36/3=12
Exploring Operation: 36-20=16, Resulting Numbers: [3, 16]
Generated Node #0,3,3: 87:[3, 16] Operation: 36-20=16
Moving to Node #0,3,0
Current State: 87:[20, 33], Operations: ['53-17=36', '36-3=33']
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[3, 16], Operations: ['53-17=36', '36-20=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[36, 23], Operations: ['53-17=36', '20+3=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,87 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[20, 12], Operations: ['53-17=36', '36/3=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[53, 3, 3], Operations: ['20-17=3']
Exploring Operation: 53+3=56, Resulting Numbers: [3, 56]
Generated Node #0,1,0: 87:[3, 56] Operation: 53+3=56
Exploring Operation: 53-3=50, Resulting Numbers: [3, 50]
Generated Node #0,1,1: 87:[3, 50] Operation: 53-3=50
Exploring Operation: 3/3=1, Resulting Numbers: [53, 1]
Generated Node #0,1,2: 87:[53, 1] Operation: 3/3=1
Exploring Operation: 53-3=50, Resulting Numbers: [3, 50]
Generated Node #0,1,3: 87:[3, 50] Operation: 53-3=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[3, 50], Operations: ['20-17=3', '53-3=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 87:[3, 50], Operations: ['20-17=3', '53-3=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,87 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[53, 1], Operations: ['20-17=3', '3/3=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,87 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[3, 56], Operations: ['20-17=3', '53+3=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,87 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[17, 3, 73], Operations: ['20+53=73']
Exploring Operation: 3+73=76, Resulting Numbers: [17, 76]
Generated Node #0,2,0: 87:[17, 76] Operation: 3+73=76
Exploring Operation: 17-3=14, Resulting Numbers: [73, 14]
Generated Node #0,2,1: 87:[73, 14] Operation: 17-3=14
Exploring Operation: 17+73=90, Resulting Numbers: [3, 90]
Generated Node #0,2,2: 87:[3, 90] Operation: 17+73=90
Exploring Operation: 17+3=20, Resulting Numbers: [73, 20]
Generated Node #0,2,3: 87:[73, 20] Operation: 17+3=20
Moving to Node #0,2,2
Current State: 87:[3, 90], Operations: ['20+53=73', '17+73=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[20, 17, 53, 3], Operations: []
Exploring Operation: 20+53=73, Resulting Numbers: [17, 3, 73]
Generated Node #0,2: 87:[17, 3, 73] Operation: 20+53=73
Moving to Node #0,2
Current State: 87:[17, 3, 73], Operations: ['20+53=73']
Exploring Operation: 17+73=90, Resulting Numbers: [3, 90]
Generated Node #0,2,2: 87:[3, 90] Operation: 17+73=90
Moving to Node #0,2,2
Current State: 87:[3, 90], Operations: ['20+53=73', '17+73=90']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_4 | sum_heuristic |
[
99,
39,
20,
57
] | 97 | [
"99-39=60",
"57-20=37",
"60+37=97"
] | Current State: 97:[99, 39, 20, 57], Operations: []
Exploring Operation: 99-39=60, Resulting Numbers: [20, 57, 60]
Generated Node #2: [20, 57, 60] from Operation: 99-39=60
Current State: 97:[20, 57, 60], Operations: ['99-39=60']
Exploring Operation: 57-20=37, Resulting Numbers: [60, 37]
Generated Node #3: [60, 37] from Operation: 57-20=37
Current State: 97:[60, 37], Operations: ['99-39=60', '57-20=37']
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[99, 39, 20, 57], Operations: []
Exploring Operation: 39+57=96, Resulting Numbers: [99, 20, 96]
Generated Node #0,0: 97:[99, 20, 96] Operation: 39+57=96
Exploring Operation: 20+57=77, Resulting Numbers: [99, 39, 77]
Generated Node #0,1: 97:[99, 39, 77] Operation: 20+57=77
Exploring Operation: 39+20=59, Resulting Numbers: [99, 57, 59]
Generated Node #0,2: 97:[99, 57, 59] Operation: 39+20=59
Moving to Node #0,0
Current State: 97:[99, 20, 96], Operations: ['39+57=96']
Exploring Operation: 20+96=116, Resulting Numbers: [99, 116]
Generated Node #0,0,0: 97:[99, 116] Operation: 20+96=116
Exploring Operation: 99-20=79, Resulting Numbers: [96, 79]
Generated Node #0,0,1: 97:[96, 79] Operation: 99-20=79
Exploring Operation: 99+20=119, Resulting Numbers: [96, 119]
Generated Node #0,0,2: 97:[96, 119] Operation: 99+20=119
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[96, 79], Operations: ['39+57=96', '99-20=79']
Exploring Operation: 96*79=7584, Resulting Numbers: [7584]
7584,97 unequal: No Solution
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 96+79=175, Resulting Numbers: [175]
175,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[99, 116], Operations: ['39+57=96', '20+96=116']
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[96, 119], Operations: ['39+57=96', '99+20=119']
Exploring Operation: 96+119=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 96*119=11424, Resulting Numbers: [11424]
11424,97 unequal: No Solution
Exploring Operation: 119-96=23, Resulting Numbers: [23]
23,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:[99, 39, 77], Operations: ['20+57=77']
Exploring Operation: 39+77=116, Resulting Numbers: [99, 116]
Generated Node #0,1,0: 97:[99, 116] Operation: 39+77=116
Exploring Operation: 99+39=138, Resulting Numbers: [77, 138]
Generated Node #0,1,1: 97:[77, 138] Operation: 99+39=138
Exploring Operation: 99-39=60, Resulting Numbers: [77, 60]
Generated Node #0,1,2: 97:[77, 60] Operation: 99-39=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[99, 116], Operations: ['20+57=77', '39+77=116']
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,97 unequal: No Solution
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,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:[77, 60], Operations: ['20+57=77', '99-39=60']
Exploring Operation: 77*60=4620, Resulting Numbers: [4620]
4620,97 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 77+60=137, Resulting Numbers: [137]
137,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:[77, 138], Operations: ['20+57=77', '99+39=138']
Exploring Operation: 138-77=61, Resulting Numbers: [61]
61,97 unequal: No Solution
Exploring Operation: 77+138=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Exploring Operation: 77*138=10626, Resulting Numbers: [10626]
10626,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 97:[99, 57, 59], Operations: ['39+20=59']
Exploring Operation: 99+57=156, Resulting Numbers: [59, 156]
Generated Node #0,2,0: 97:[59, 156] Operation: 99+57=156
Exploring Operation: 57+59=116, Resulting Numbers: [99, 116]
Generated Node #0,2,1: 97:[99, 116] Operation: 57+59=116
Exploring Operation: 99-57=42, Resulting Numbers: [59, 42]
Generated Node #0,2,2: 97:[59, 42] Operation: 99-57=42
Moving to Node #0,2,1
Current State: 97:[99, 116], Operations: ['39+20=59', '57+59=116']
Exploring Operation: 99*116=11484, Resulting Numbers: [11484]
11484,97 unequal: No Solution
Exploring Operation: 116-99=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 99+116=215, Resulting Numbers: [215]
215,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[59, 42], Operations: ['39+20=59', '99-57=42']
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,97 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,97 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[59, 156], Operations: ['39+20=59', '99+57=156']
Exploring Operation: 156-59=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[99, 39, 20, 57], Operations: []
Exploring Operation: 39+20=59, Resulting Numbers: [99, 57, 59]
Generated Node #0,2: 97:[99, 57, 59] Operation: 39+20=59
Moving to Node #0,2
Current State: 97:[99, 57, 59], Operations: ['39+20=59']
Exploring Operation: 99+57=156, Resulting Numbers: [59, 156]
Generated Node #0,2,0: 97:[59, 156] Operation: 99+57=156
Moving to Node #0,2,0
Current State: 97:[59, 156], Operations: ['39+20=59', '99+57=156']
Exploring Operation: 156-59=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
13,
90,
13,
34
] | 82 | [
"13+90=103",
"34-13=21",
"103-21=82"
] | Current State: 82:[13, 90, 13, 34], Operations: []
Exploring Operation: 13+90=103, Resulting Numbers: [34, 103]
Generated Node #2: [34, 103] from Operation: 13+90=103
Current State: 82:[34, 103], Operations: ['13+90=103']
Exploring Operation: 34-13=21, Resulting Numbers: [103, 21]
Generated Node #3: [103, 21] from Operation: 34-13=21
Current State: 82:[103, 21], Operations: ['13+90=103', '34-13=21']
Exploring Operation: 103-21=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[13, 90, 13, 34], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [90, 34, 1]
Generated Node #0,0: 82:[90, 34, 1] Operation: 13/13=1
Exploring Operation: 13-13=0, Resulting Numbers: [90, 34, 0]
Generated Node #0,1: 82:[90, 34, 0] Operation: 13-13=0
Moving to Node #0,0
Current State: 82:[90, 34, 1], Operations: ['13/13=1']
Exploring Operation: 34+1=35, Resulting Numbers: [90, 35]
Generated Node #0,0,0: 82:[90, 35] Operation: 34+1=35
Exploring Operation: 90-1=89, Resulting Numbers: [34, 89]
Generated Node #0,0,1: 82:[34, 89] Operation: 90-1=89
Moving to Node #0,1
Current State: 82:[90, 34, 0], Operations: ['13-13=0']
Exploring Operation: 90*0=0, Resulting Numbers: [34, 0]
Generated Node #0,1,0: 82:[34, 0] Operation: 90*0=0
Exploring Operation: 34*0=0, Resulting Numbers: [90, 0]
Generated Node #0,1,1: 82:[90, 0] Operation: 34*0=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[34, 0], Operations: ['13-13=0', '90*0=0']
Exploring Operation: 34*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 34+0=34, Resulting Numbers: [34]
34,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[90, 0], Operations: ['13-13=0', '34*0=0']
Exploring Operation: 90*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 90+0=90, Resulting Numbers: [90]
90,82 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: 82:[90, 35], Operations: ['13/13=1', '34+1=35']
Exploring Operation: 90+35=125, Resulting Numbers: [125]
125,82 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[34, 89], Operations: ['13/13=1', '90-1=89']
Exploring Operation: 34+89=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,82 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
77,
39,
9,
53
] | 82 | [
"77-39=38",
"53-9=44",
"38+44=82"
] | Current State: 82:[77, 39, 9, 53], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [9, 53, 38]
Generated Node #2: [9, 53, 38] from Operation: 77-39=38
Current State: 82:[9, 53, 38], Operations: ['77-39=38']
Exploring Operation: 53-9=44, Resulting Numbers: [38, 44]
Generated Node #3: [38, 44] from Operation: 53-9=44
Current State: 82:[38, 44], Operations: ['77-39=38', '53-9=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[77, 39, 9, 53], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [77, 39, 44]
Generated Node #0,0: 82:[77, 39, 44] Operation: 53-9=44
Exploring Operation: 77+9=86, Resulting Numbers: [39, 53, 86]
Generated Node #0,1: 82:[39, 53, 86] Operation: 77+9=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[77, 39, 44], Operations: ['53-9=44']
Exploring Operation: 77-39=38, Resulting Numbers: [44, 38]
Generated Node #0,0,0: 82:[44, 38] Operation: 77-39=38
Exploring Operation: 39+44=83, Resulting Numbers: [77, 83]
Generated Node #0,0,1: 82:[77, 83] Operation: 39+44=83
Moving to Node #0,0,0
Current State: 82:[44, 38], Operations: ['53-9=44', '77-39=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[77, 39, 9, 53], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [77, 39, 44]
Generated Node #0,0: 82:[77, 39, 44] Operation: 53-9=44
Moving to Node #0,0
Current State: 82:[77, 39, 44], Operations: ['53-9=44']
Exploring Operation: 77-39=38, Resulting Numbers: [44, 38]
Generated Node #0,0,0: 82:[44, 38] Operation: 77-39=38
Moving to Node #0,0,0
Current State: 82:[44, 38], Operations: ['53-9=44', '77-39=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
56,
65,
8,
21
] | 51 | [
"65-56=9",
"8*9=72",
"72-21=51"
] | Current State: 51:[56, 65, 8, 21], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [8, 21, 9]
Generated Node #2: [8, 21, 9] from Operation: 65-56=9
Current State: 51:[8, 21, 9], Operations: ['65-56=9']
Exploring Operation: 8*9=72, Resulting Numbers: [21, 72]
Generated Node #3: [21, 72] from Operation: 8*9=72
Current State: 51:[21, 72], Operations: ['65-56=9', '8*9=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[56, 65, 8, 21], Operations: []
Exploring Operation: 56-8=48, Resulting Numbers: [65, 21, 48]
Generated Node #0,0: 51:[65, 21, 48] Operation: 56-8=48
Exploring Operation: 65-8=57, Resulting Numbers: [56, 21, 57]
Generated Node #0,1: 51:[56, 21, 57] Operation: 65-8=57
Exploring Operation: 65-21=44, Resulting Numbers: [56, 8, 44]
Generated Node #0,2: 51:[56, 8, 44] Operation: 65-21=44
Exploring Operation: 56/8=7, Resulting Numbers: [65, 21, 7]
Generated Node #0,3: 51:[65, 21, 7] Operation: 56/8=7
Exploring Operation: 65-56=9, Resulting Numbers: [8, 21, 9]
Generated Node #0,4: 51:[8, 21, 9] Operation: 65-56=9
Moving to Node #0,1
Current State: 51:[56, 21, 57], Operations: ['65-8=57']
Exploring Operation: 56+21=77, Resulting Numbers: [57, 77]
Generated Node #0,1,0: 51:[57, 77] Operation: 56+21=77
Exploring Operation: 21+57=78, Resulting Numbers: [56, 78]
Generated Node #0,1,1: 51:[56, 78] Operation: 21+57=78
Exploring Operation: 57-21=36, Resulting Numbers: [56, 36]
Generated Node #0,1,2: 51:[56, 36] Operation: 57-21=36
Exploring Operation: 57-56=1, Resulting Numbers: [21, 1]
Generated Node #0,1,3: 51:[21, 1] Operation: 57-56=1
Exploring Operation: 56-21=35, Resulting Numbers: [57, 35]
Generated Node #0,1,4: 51:[57, 35] Operation: 56-21=35
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[21, 1], Operations: ['65-8=57', '57-56=1']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,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,2
Current State: 51:[56, 36], Operations: ['65-8=57', '57-21=36']
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,51 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,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,4
Current State: 51:[57, 35], Operations: ['65-8=57', '56-21=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,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,0
Current State: 51:[57, 77], Operations: ['65-8=57', '56+21=77']
Exploring Operation: 57+77=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 57*77=4389, Resulting Numbers: [4389]
4389,51 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,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:[56, 78], Operations: ['65-8=57', '21+57=78']
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,51 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,51 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: 51:[8, 21, 9], Operations: ['65-56=9']
Exploring Operation: 9-8=1, Resulting Numbers: [21, 1]
Generated Node #0,4,0: 51:[21, 1] Operation: 9-8=1
Exploring Operation: 21-8=13, Resulting Numbers: [9, 13]
Generated Node #0,4,1: 51:[9, 13] Operation: 21-8=13
Exploring Operation: 21-9=12, Resulting Numbers: [8, 12]
Generated Node #0,4,2: 51:[8, 12] Operation: 21-9=12
Exploring Operation: 8+9=17, Resulting Numbers: [21, 17]
Generated Node #0,4,3: 51:[21, 17] Operation: 8+9=17
Exploring Operation: 8+21=29, Resulting Numbers: [9, 29]
Generated Node #0,4,4: 51:[9, 29] Operation: 8+21=29
Moving to Node #0,2
Current State: 51:[56, 8, 44], Operations: ['65-21=44']
Exploring Operation: 56/8=7, Resulting Numbers: [44, 7]
Generated Node #0,2,0: 51:[44, 7] Operation: 56/8=7
Exploring Operation: 56+8=64, Resulting Numbers: [44, 64]
Generated Node #0,2,1: 51:[44, 64] Operation: 56+8=64
Exploring Operation: 56-44=12, Resulting Numbers: [8, 12]
Generated Node #0,2,2: 51:[8, 12] Operation: 56-44=12
Exploring Operation: 56-8=48, Resulting Numbers: [44, 48]
Generated Node #0,2,3: 51:[44, 48] Operation: 56-8=48
Exploring Operation: 8+44=52, Resulting Numbers: [56, 52]
Generated Node #0,2,4: 51:[56, 52] Operation: 8+44=52
Moving to Node #0,0
Current State: 51:[65, 21, 48], Operations: ['56-8=48']
Exploring Operation: 48-21=27, Resulting Numbers: [65, 27]
Generated Node #0,0,0: 51:[65, 27] Operation: 48-21=27
Exploring Operation: 21+48=69, Resulting Numbers: [65, 69]
Generated Node #0,0,1: 51:[65, 69] Operation: 21+48=69
Exploring Operation: 65+21=86, Resulting Numbers: [48, 86]
Generated Node #0,0,2: 51:[48, 86] Operation: 65+21=86
Exploring Operation: 65-48=17, Resulting Numbers: [21, 17]
Generated Node #0,0,3: 51:[21, 17] Operation: 65-48=17
Exploring Operation: 65-21=44, Resulting Numbers: [48, 44]
Generated Node #0,0,4: 51:[48, 44] Operation: 65-21=44
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[21, 17], Operations: ['56-8=48', '65-48=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,51 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 51:[48, 44], Operations: ['56-8=48', '65-21=44']
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,51 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[65, 27], Operations: ['56-8=48', '48-21=27']
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[65, 69], Operations: ['56-8=48', '21+48=69']
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 65*69=4485, Resulting Numbers: [4485]
4485,51 unequal: No Solution
Exploring Operation: 65+69=134, Resulting Numbers: [134]
134,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[48, 86], Operations: ['56-8=48', '65+21=86']
Exploring Operation: 48+86=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 48*86=4128, Resulting Numbers: [4128]
4128,51 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,51 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: 51:[65, 21, 7], Operations: ['56/8=7']
Exploring Operation: 21/7=3, Resulting Numbers: [65, 3]
Generated Node #0,3,0: 51:[65, 3] Operation: 21/7=3
Exploring Operation: 65-21=44, Resulting Numbers: [7, 44]
Generated Node #0,3,1: 51:[7, 44] Operation: 65-21=44
Exploring Operation: 65-7=58, Resulting Numbers: [21, 58]
Generated Node #0,3,2: 51:[21, 58] Operation: 65-7=58
Exploring Operation: 21-7=14, Resulting Numbers: [65, 14]
Generated Node #0,3,3: 51:[65, 14] Operation: 21-7=14
Exploring Operation: 65+7=72, Resulting Numbers: [21, 72]
Generated Node #0,3,4: 51:[21, 72] Operation: 65+7=72
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 51:[7, 44], Operations: ['56/8=7', '65-21=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[56, 65, 8, 21], Operations: []
Exploring Operation: 56/8=7, Resulting Numbers: [65, 21, 7]
Generated Node #0,3: 51:[65, 21, 7] Operation: 56/8=7
Moving to Node #0,3
Current State: 51:[65, 21, 7], Operations: ['56/8=7']
Exploring Operation: 65-21=44, Resulting Numbers: [7, 44]
Generated Node #0,3,1: 51:[7, 44] Operation: 65-21=44
Moving to Node #0,3,1
Current State: 51:[7, 44], Operations: ['56/8=7', '65-21=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.942708 | hs_5 | mult_heuristic |
[
53,
73,
63,
11
] | 54 | [
"73-53=20",
"63+11=74",
"74-20=54"
] | Current State: 54:[53, 73, 63, 11], Operations: []
Exploring Operation: 73-53=20, Resulting Numbers: [63, 11, 20]
Generated Node #2: [63, 11, 20] from Operation: 73-53=20
Current State: 54:[63, 11, 20], Operations: ['73-53=20']
Exploring Operation: 63+11=74, Resulting Numbers: [20, 74]
Generated Node #3: [20, 74] from Operation: 63+11=74
Current State: 54:[20, 74], Operations: ['73-53=20', '63+11=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[53, 73, 63, 11], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [53, 11, 10]
Generated Node #0,0: 54:[53, 11, 10] Operation: 73-63=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[53, 11, 10], Operations: ['73-63=10']
Exploring Operation: 11-10=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 54:[53, 1] Operation: 11-10=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[53, 1], Operations: ['73-63=10', '11-10=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[53, 73, 63, 11], Operations: []
Exploring Operation: 73-63=10, Resulting Numbers: [53, 11, 10]
Generated Node #0,0: 54:[53, 11, 10] Operation: 73-63=10
Moving to Node #0,0
Current State: 54:[53, 11, 10], Operations: ['73-63=10']
Exploring Operation: 11-10=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 54:[53, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 54:[53, 1], Operations: ['73-63=10', '11-10=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
55,
22,
88,
90
] | 79 | [
"55+22=77",
"90-88=2",
"77+2=79"
] | Current State: 79:[55, 22, 88, 90], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [88, 90, 77]
Generated Node #2: [88, 90, 77] from Operation: 55+22=77
Current State: 79:[88, 90, 77], Operations: ['55+22=77']
Exploring Operation: 90-88=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 90-88=2
Current State: 79:[77, 2], Operations: ['55+22=77', '90-88=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[55, 22, 88, 90], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [88, 90, 77]
Generated Node #0,0: 79:[88, 90, 77] Operation: 55+22=77
Exploring Operation: 90-22=68, Resulting Numbers: [55, 88, 68]
Generated Node #0,1: 79:[55, 88, 68] Operation: 90-22=68
Exploring Operation: 88-22=66, Resulting Numbers: [55, 90, 66]
Generated Node #0,2: 79:[55, 90, 66] Operation: 88-22=66
Moving to Node #0,0
Current State: 79:[88, 90, 77], Operations: ['55+22=77']
Exploring Operation: 90-77=13, Resulting Numbers: [88, 13]
Generated Node #0,0,0: 79:[88, 13] Operation: 90-77=13
Exploring Operation: 88-77=11, Resulting Numbers: [90, 11]
Generated Node #0,0,1: 79:[90, 11] Operation: 88-77=11
Exploring Operation: 90-88=2, Resulting Numbers: [77, 2]
Generated Node #0,0,2: 79:[77, 2] Operation: 90-88=2
Moving to Node #0,1
Current State: 79:[55, 88, 68], Operations: ['90-22=68']
Exploring Operation: 55+68=123, Resulting Numbers: [88, 123]
Generated Node #0,1,0: 79:[88, 123] Operation: 55+68=123
Exploring Operation: 88-55=33, Resulting Numbers: [68, 33]
Generated Node #0,1,1: 79:[68, 33] Operation: 88-55=33
Exploring Operation: 55+88=143, Resulting Numbers: [68, 143]
Generated Node #0,1,2: 79:[68, 143] Operation: 55+88=143
Moving to Node #0,2
Current State: 79:[55, 90, 66], Operations: ['88-22=66']
Exploring Operation: 55+90=145, Resulting Numbers: [66, 145]
Generated Node #0,2,0: 79:[66, 145] Operation: 55+90=145
Exploring Operation: 55+66=121, Resulting Numbers: [90, 121]
Generated Node #0,2,1: 79:[90, 121] Operation: 55+66=121
Exploring Operation: 90-55=35, Resulting Numbers: [66, 35]
Generated Node #0,2,2: 79:[66, 35] Operation: 90-55=35
Moving to Node #0,1,0
Current State: 79:[88, 123], Operations: ['90-22=68', '55+68=123']
Exploring Operation: 88+123=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 88*123=10824, Resulting Numbers: [10824]
10824,79 unequal: No Solution
Exploring Operation: 123-88=35, Resulting Numbers: [35]
35,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[90, 121], Operations: ['88-22=66', '55+66=121']
Exploring Operation: 121-90=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 90+121=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 90*121=10890, Resulting Numbers: [10890]
10890,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[68, 33], Operations: ['90-22=68', '88-55=33']
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,79 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[66, 35], Operations: ['88-22=66', '90-55=35']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[68, 143], Operations: ['90-22=68', '55+88=143']
Exploring Operation: 68*143=9724, Resulting Numbers: [9724]
9724,79 unequal: No Solution
Exploring Operation: 143-68=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 68+143=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[88, 13], Operations: ['55+22=77', '90-77=13']
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Exploring Operation: 88*13=1144, Resulting Numbers: [1144]
1144,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[77, 2], Operations: ['55+22=77', '90-88=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,79 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[55, 22, 88, 90], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [88, 90, 77]
Generated Node #0,0: 79:[88, 90, 77] Operation: 55+22=77
Moving to Node #0,0
Current State: 79:[88, 90, 77], Operations: ['55+22=77']
Exploring Operation: 90-88=2, Resulting Numbers: [77, 2]
Generated Node #0,0,2: 79:[77, 2] Operation: 90-88=2
Moving to Node #0,0,2
Current State: 79:[77, 2], Operations: ['55+22=77', '90-88=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
96,
96,
44,
39
] | 39 | [
"96-96=0",
"44*0=0",
"39+0=39"
] | Current State: 39:[96, 96, 44, 39], Operations: []
Exploring Operation: 96-96=0, Resulting Numbers: [44, 39, 0]
Generated Node #2: [44, 39, 0] from Operation: 96-96=0
Current State: 39:[44, 39, 0], Operations: ['96-96=0']
Exploring Operation: 44*0=0, Resulting Numbers: [39, 0]
Generated Node #3: [39, 0] from Operation: 44*0=0
Current State: 39:[39, 0], Operations: ['96-96=0', '44*0=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[96, 96, 44, 39], Operations: []
Exploring Operation: 96/96=1, Resulting Numbers: [44, 39, 1]
Generated Node #0,0: 39:[44, 39, 1] Operation: 96/96=1
Exploring Operation: 96-44=52, Resulting Numbers: [96, 39, 52]
Generated Node #0,1: 39:[96, 39, 52] Operation: 96-44=52
Exploring Operation: 96-96=0, Resulting Numbers: [44, 39, 0]
Generated Node #0,2: 39:[44, 39, 0] Operation: 96-96=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[44, 39, 1], Operations: ['96/96=1']
Exploring Operation: 44-39=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 39:[1, 5] Operation: 44-39=5
Exploring Operation: 44-1=43, Resulting Numbers: [39, 43]
Generated Node #0,0,1: 39:[39, 43] Operation: 44-1=43
Exploring Operation: 44*1=44, Resulting Numbers: [39, 44]
Generated Node #0,0,2: 39:[39, 44] Operation: 44*1=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[1, 5], Operations: ['96/96=1', '44-39=5']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[39, 43], Operations: ['96/96=1', '44-1=43']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[39, 44], Operations: ['96/96=1', '44*1=44']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,39 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[44, 39, 0], Operations: ['96-96=0']
Exploring Operation: 44+0=44, Resulting Numbers: [39, 44]
Generated Node #0,2,0: 39:[39, 44] Operation: 44+0=44
Exploring Operation: 44*0=0, Resulting Numbers: [39, 0]
Generated Node #0,2,1: 39:[39, 0] Operation: 44*0=0
Exploring Operation: 44-39=5, Resulting Numbers: [0, 5]
Generated Node #0,2,2: 39:[0, 5] Operation: 44-39=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[39, 0], Operations: ['96-96=0', '44*0=0']
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[96, 96, 44, 39], Operations: []
Exploring Operation: 96-96=0, Resulting Numbers: [44, 39, 0]
Generated Node #0,2: 39:[44, 39, 0] Operation: 96-96=0
Moving to Node #0,2
Current State: 39:[44, 39, 0], Operations: ['96-96=0']
Exploring Operation: 44*0=0, Resulting Numbers: [39, 0]
Generated Node #0,2,1: 39:[39, 0] Operation: 44*0=0
Moving to Node #0,2,1
Current State: 39:[39, 0], Operations: ['96-96=0', '44*0=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
64,
2,
59,
17
] | 89 | [
"64+59=123",
"2*17=34",
"123-34=89"
] | Current State: 89:[64, 2, 59, 17], Operations: []
Exploring Operation: 64+59=123, Resulting Numbers: [2, 17, 123]
Generated Node #2: [2, 17, 123] from Operation: 64+59=123
Current State: 89:[2, 17, 123], Operations: ['64+59=123']
Exploring Operation: 2*17=34, Resulting Numbers: [123, 34]
Generated Node #3: [123, 34] from Operation: 2*17=34
Current State: 89:[123, 34], Operations: ['64+59=123', '2*17=34']
Exploring Operation: 123-34=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[64, 2, 59, 17], Operations: []
Exploring Operation: 2*17=34, Resulting Numbers: [64, 59, 34]
Generated Node #0,0: 89:[64, 59, 34] Operation: 2*17=34
Moving to Node #0,0
Current State: 89:[64, 59, 34], Operations: ['2*17=34']
Exploring Operation: 59+34=93, Resulting Numbers: [64, 93]
Generated Node #0,0,0: 89:[64, 93] Operation: 59+34=93
Moving to Node #0,0,0
Current State: 89:[64, 93], Operations: ['2*17=34', '59+34=93']
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,89 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
71,
18,
11
] | 31 | [
"71-33=38",
"18-11=7",
"38-7=31"
] | Current State: 31:[33, 71, 18, 11], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [18, 11, 38]
Generated Node #2: [18, 11, 38] from Operation: 71-33=38
Current State: 31:[18, 11, 38], Operations: ['71-33=38']
Exploring Operation: 18-11=7, Resulting Numbers: [38, 7]
Generated Node #3: [38, 7] from Operation: 18-11=7
Current State: 31:[38, 7], Operations: ['71-33=38', '18-11=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[33, 71, 18, 11], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [18, 11, 38]
Generated Node #0,0: 31:[18, 11, 38] Operation: 71-33=38
Exploring Operation: 18+11=29, Resulting Numbers: [33, 71, 29]
Generated Node #0,1: 31:[33, 71, 29] Operation: 18+11=29
Exploring Operation: 71-18=53, Resulting Numbers: [33, 11, 53]
Generated Node #0,2: 31:[33, 11, 53] Operation: 71-18=53
Exploring Operation: 71-11=60, Resulting Numbers: [33, 18, 60]
Generated Node #0,3: 31:[33, 18, 60] Operation: 71-11=60
Exploring Operation: 33-11=22, Resulting Numbers: [71, 18, 22]
Generated Node #0,4: 31:[71, 18, 22] Operation: 33-11=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[18, 11, 38], Operations: ['71-33=38']
Exploring Operation: 18-11=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 31:[38, 7] Operation: 18-11=7
Exploring Operation: 38-18=20, Resulting Numbers: [11, 20]
Generated Node #0,0,1: 31:[11, 20] Operation: 38-18=20
Exploring Operation: 11+38=49, Resulting Numbers: [18, 49]
Generated Node #0,0,2: 31:[18, 49] Operation: 11+38=49
Exploring Operation: 38-11=27, Resulting Numbers: [18, 27]
Generated Node #0,0,3: 31:[18, 27] Operation: 38-11=27
Exploring Operation: 18+11=29, Resulting Numbers: [38, 29]
Generated Node #0,0,4: 31:[38, 29] Operation: 18+11=29
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 31:[38, 29], Operations: ['71-33=38', '18+11=29']
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,31 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,31 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[18, 27], Operations: ['71-33=38', '38-11=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[38, 7], Operations: ['71-33=38', '18-11=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[33, 71, 18, 11], Operations: []
Exploring Operation: 71-33=38, Resulting Numbers: [18, 11, 38]
Generated Node #0,0: 31:[18, 11, 38] Operation: 71-33=38
Moving to Node #0,0
Current State: 31:[18, 11, 38], Operations: ['71-33=38']
Exploring Operation: 18-11=7, Resulting Numbers: [38, 7]
Generated Node #0,0,0: 31:[38, 7] Operation: 18-11=7
Moving to Node #0,0,0
Current State: 31:[38, 7], Operations: ['71-33=38', '18-11=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
65,
8,
77,
31
] | 65 | [
"77-65=12",
"8*12=96",
"96-31=65"
] | Current State: 65:[65, 8, 77, 31], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [8, 31, 12]
Generated Node #2: [8, 31, 12] from Operation: 77-65=12
Current State: 65:[8, 31, 12], Operations: ['77-65=12']
Exploring Operation: 8*12=96, Resulting Numbers: [31, 96]
Generated Node #3: [31, 96] from Operation: 8*12=96
Current State: 65:[31, 96], Operations: ['77-65=12', '8*12=96']
Exploring Operation: 96-31=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[65, 8, 77, 31], Operations: []
Exploring Operation: 77-8=69, Resulting Numbers: [65, 31, 69]
Generated Node #0,0: 65:[65, 31, 69] Operation: 77-8=69
Exploring Operation: 77-65=12, Resulting Numbers: [8, 31, 12]
Generated Node #0,1: 65:[8, 31, 12] Operation: 77-65=12
Exploring Operation: 31-8=23, Resulting Numbers: [65, 77, 23]
Generated Node #0,2: 65:[65, 77, 23] Operation: 31-8=23
Moving to Node #0,0
Current State: 65:[65, 31, 69], Operations: ['77-8=69']
Exploring Operation: 69-31=38, Resulting Numbers: [65, 38]
Generated Node #0,0,0: 65:[65, 38] Operation: 69-31=38
Exploring Operation: 69-65=4, Resulting Numbers: [31, 4]
Generated Node #0,0,1: 65:[31, 4] Operation: 69-65=4
Exploring Operation: 65-31=34, Resulting Numbers: [69, 34]
Generated Node #0,0,2: 65:[69, 34] Operation: 65-31=34
Moving to Node #0,1
Current State: 65:[8, 31, 12], Operations: ['77-65=12']
Exploring Operation: 12-8=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 65:[31, 4] Operation: 12-8=4
Exploring Operation: 31-8=23, Resulting Numbers: [12, 23]
Generated Node #0,1,1: 65:[12, 23] Operation: 31-8=23
Exploring Operation: 31-12=19, Resulting Numbers: [8, 19]
Generated Node #0,1,2: 65:[8, 19] Operation: 31-12=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[8, 19], Operations: ['77-65=12', '31-12=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,65 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[12, 23], Operations: ['77-65=12', '31-8=23']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,65 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[31, 4], Operations: ['77-65=12', '12-8=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,65 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: 65:[65, 77, 23], Operations: ['31-8=23']
Exploring Operation: 77-23=54, Resulting Numbers: [65, 54]
Generated Node #0,2,0: 65:[65, 54] Operation: 77-23=54
Exploring Operation: 65+23=88, Resulting Numbers: [77, 88]
Generated Node #0,2,1: 65:[77, 88] Operation: 65+23=88
Exploring Operation: 77-65=12, Resulting Numbers: [23, 12]
Generated Node #0,2,2: 65:[23, 12] Operation: 77-65=12
Moving to Node #0,2,0
Current State: 65:[65, 54], Operations: ['31-8=23', '77-23=54']
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 65*54=3510, Resulting Numbers: [3510]
3510,65 unequal: No Solution
Exploring Operation: 65+54=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[23, 12], Operations: ['31-8=23', '77-65=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[31, 4], Operations: ['77-8=69', '69-65=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[69, 34], Operations: ['77-8=69', '65-31=34']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,65 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[65, 38], Operations: ['77-8=69', '69-31=38']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,65 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[77, 88], Operations: ['31-8=23', '65+23=88']
Exploring Operation: 77*88=6776, Resulting Numbers: [6776]
6776,65 unequal: No Solution
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
22,
19,
71
] | 99 | [
"25+22=47",
"71-19=52",
"47+52=99"
] | Current State: 99:[25, 22, 19, 71], Operations: []
Exploring Operation: 25+22=47, Resulting Numbers: [19, 71, 47]
Generated Node #2: [19, 71, 47] from Operation: 25+22=47
Current State: 99:[19, 71, 47], Operations: ['25+22=47']
Exploring Operation: 71-19=52, Resulting Numbers: [47, 52]
Generated Node #3: [47, 52] from Operation: 71-19=52
Current State: 99:[47, 52], Operations: ['25+22=47', '71-19=52']
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[25, 22, 19, 71], Operations: []
Exploring Operation: 25+71=96, Resulting Numbers: [22, 19, 96]
Generated Node #0,0: 99:[22, 19, 96] Operation: 25+71=96
Exploring Operation: 22+71=93, Resulting Numbers: [25, 19, 93]
Generated Node #0,1: 99:[25, 19, 93] Operation: 22+71=93
Exploring Operation: 19+71=90, Resulting Numbers: [25, 22, 90]
Generated Node #0,2: 99:[25, 22, 90] Operation: 19+71=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[22, 19, 96], Operations: ['25+71=96']
Exploring Operation: 22-19=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 22-19=3
Exploring Operation: 22+96=118, Resulting Numbers: [19, 118]
Generated Node #0,0,1: 99:[19, 118] Operation: 22+96=118
Exploring Operation: 22+19=41, Resulting Numbers: [96, 41]
Generated Node #0,0,2: 99:[96, 41] Operation: 22+19=41
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['25+71=96', '22-19=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[25, 22, 19, 71], Operations: []
Exploring Operation: 25+71=96, Resulting Numbers: [22, 19, 96]
Generated Node #0,0: 99:[22, 19, 96] Operation: 25+71=96
Moving to Node #0,0
Current State: 99:[22, 19, 96], Operations: ['25+71=96']
Exploring Operation: 22-19=3, Resulting Numbers: [96, 3]
Generated Node #0,0,0: 99:[96, 3] Operation: 22-19=3
Moving to Node #0,0,0
Current State: 99:[96, 3], Operations: ['25+71=96', '22-19=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
49,
6,
66,
30
] | 23 | [
"49+66=115",
"30/6=5",
"115/5=23"
] | Current State: 23:[49, 6, 66, 30], Operations: []
Exploring Operation: 49+66=115, Resulting Numbers: [6, 30, 115]
Generated Node #2: [6, 30, 115] from Operation: 49+66=115
Current State: 23:[6, 30, 115], Operations: ['49+66=115']
Exploring Operation: 30/6=5, Resulting Numbers: [115, 5]
Generated Node #3: [115, 5] from Operation: 30/6=5
Current State: 23:[115, 5], Operations: ['49+66=115', '30/6=5']
Exploring Operation: 115/5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[49, 6, 66, 30], Operations: []
Exploring Operation: 66-49=17, Resulting Numbers: [6, 30, 17]
Generated Node #0,0: 23:[6, 30, 17] Operation: 66-49=17
Moving to Node #0,0
Current State: 23:[6, 30, 17], Operations: ['66-49=17']
Exploring Operation: 30-6=24, Resulting Numbers: [17, 24]
Generated Node #0,0,0: 23:[17, 24] Operation: 30-6=24
Moving to Node #0,0,0
Current State: 23:[17, 24], Operations: ['66-49=17', '30-6=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,23 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
90,
85,
13
] | 92 | [
"85+13=98",
"98/49=2",
"90+2=92"
] | Current State: 92:[49, 90, 85, 13], Operations: []
Exploring Operation: 85+13=98, Resulting Numbers: [49, 90, 98]
Generated Node #2: [49, 90, 98] from Operation: 85+13=98
Current State: 92:[49, 90, 98], Operations: ['85+13=98']
Exploring Operation: 98/49=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 98/49=2
Current State: 92:[90, 2], Operations: ['85+13=98', '98/49=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[49, 90, 85, 13], Operations: []
Exploring Operation: 85+13=98, Resulting Numbers: [49, 90, 98]
Generated Node #0,0: 92:[49, 90, 98] Operation: 85+13=98
Exploring Operation: 49-13=36, Resulting Numbers: [90, 85, 36]
Generated Node #0,1: 92:[90, 85, 36] Operation: 49-13=36
Exploring Operation: 90-49=41, Resulting Numbers: [85, 13, 41]
Generated Node #0,2: 92:[85, 13, 41] Operation: 90-49=41
Exploring Operation: 90-85=5, Resulting Numbers: [49, 13, 5]
Generated Node #0,3: 92:[49, 13, 5] Operation: 90-85=5
Exploring Operation: 85-49=36, Resulting Numbers: [90, 13, 36]
Generated Node #0,4: 92:[90, 13, 36] Operation: 85-49=36
Moving to Node #0,0
Current State: 92:[49, 90, 98], Operations: ['85+13=98']
Exploring Operation: 98-90=8, Resulting Numbers: [49, 8]
Generated Node #0,0,0: 92:[49, 8] Operation: 98-90=8
Exploring Operation: 98-49=49, Resulting Numbers: [90, 49]
Generated Node #0,0,1: 92:[90, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [90, 2]
Generated Node #0,0,2: 92:[90, 2] Operation: 98/49=2
Exploring Operation: 49+90=139, Resulting Numbers: [98, 139]
Generated Node #0,0,3: 92:[98, 139] Operation: 49+90=139
Exploring Operation: 90-49=41, Resulting Numbers: [98, 41]
Generated Node #0,0,4: 92:[98, 41] Operation: 90-49=41
Moving to Node #0,3
Current State: 92:[49, 13, 5], Operations: ['90-85=5']
Exploring Operation: 13-5=8, Resulting Numbers: [49, 8]
Generated Node #0,3,0: 92:[49, 8] Operation: 13-5=8
Exploring Operation: 49+13=62, Resulting Numbers: [5, 62]
Generated Node #0,3,1: 92:[5, 62] Operation: 49+13=62
Exploring Operation: 49-13=36, Resulting Numbers: [5, 36]
Generated Node #0,3,2: 92:[5, 36] Operation: 49-13=36
Exploring Operation: 49-5=44, Resulting Numbers: [13, 44]
Generated Node #0,3,3: 92:[13, 44] Operation: 49-5=44
Exploring Operation: 13+5=18, Resulting Numbers: [49, 18]
Generated Node #0,3,4: 92:[49, 18] Operation: 13+5=18
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[49, 8], Operations: ['90-85=5', '13-5=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,92 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,92 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 92:[49, 18], Operations: ['90-85=5', '13+5=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[5, 36], Operations: ['90-85=5', '49-13=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[13, 44], Operations: ['90-85=5', '49-5=44']
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,92 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[5, 62], Operations: ['90-85=5', '49+13=62']
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[90, 85, 36], Operations: ['49-13=36']
Exploring Operation: 90-85=5, Resulting Numbers: [36, 5]
Generated Node #0,1,0: 92:[36, 5] Operation: 90-85=5
Exploring Operation: 90+36=126, Resulting Numbers: [85, 126]
Generated Node #0,1,1: 92:[85, 126] Operation: 90+36=126
Exploring Operation: 85-36=49, Resulting Numbers: [90, 49]
Generated Node #0,1,2: 92:[90, 49] Operation: 85-36=49
Exploring Operation: 90-36=54, Resulting Numbers: [85, 54]
Generated Node #0,1,3: 92:[85, 54] Operation: 90-36=54
Exploring Operation: 85+36=121, Resulting Numbers: [90, 121]
Generated Node #0,1,4: 92:[90, 121] Operation: 85+36=121
Moving to Node #0,2
Current State: 92:[85, 13, 41], Operations: ['90-49=41']
Exploring Operation: 85-13=72, Resulting Numbers: [41, 72]
Generated Node #0,2,0: 92:[41, 72] Operation: 85-13=72
Exploring Operation: 85-41=44, Resulting Numbers: [13, 44]
Generated Node #0,2,1: 92:[13, 44] Operation: 85-41=44
Exploring Operation: 41-13=28, Resulting Numbers: [85, 28]
Generated Node #0,2,2: 92:[85, 28] Operation: 41-13=28
Exploring Operation: 13+41=54, Resulting Numbers: [85, 54]
Generated Node #0,2,3: 92:[85, 54] Operation: 13+41=54
Exploring Operation: 85+13=98, Resulting Numbers: [41, 98]
Generated Node #0,2,4: 92:[41, 98] Operation: 85+13=98
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[13, 44], Operations: ['90-49=41', '85-41=44']
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,92 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 92:[41, 98], Operations: ['90-49=41', '85+13=98']
Exploring Operation: 41*98=4018, Resulting Numbers: [4018]
4018,92 unequal: No Solution
Exploring Operation: 41+98=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[85, 28], Operations: ['90-49=41', '41-13=28']
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[85, 54], Operations: ['90-49=41', '13+41=54']
Exploring Operation: 85*54=4590, Resulting Numbers: [4590]
4590,92 unequal: No Solution
Exploring Operation: 85+54=139, Resulting Numbers: [139]
139,92 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[41, 72], Operations: ['90-49=41', '85-13=72']
Exploring Operation: 41*72=2952, Resulting Numbers: [2952]
2952,92 unequal: No Solution
Exploring Operation: 41+72=113, Resulting Numbers: [113]
113,92 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,92 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: 92:[90, 13, 36], Operations: ['85-49=36']
Exploring Operation: 13+36=49, Resulting Numbers: [90, 49]
Generated Node #0,4,0: 92:[90, 49] Operation: 13+36=49
Exploring Operation: 90+13=103, Resulting Numbers: [36, 103]
Generated Node #0,4,1: 92:[36, 103] Operation: 90+13=103
Exploring Operation: 90-13=77, Resulting Numbers: [36, 77]
Generated Node #0,4,2: 92:[36, 77] Operation: 90-13=77
Exploring Operation: 90-36=54, Resulting Numbers: [13, 54]
Generated Node #0,4,3: 92:[13, 54] Operation: 90-36=54
Exploring Operation: 36-13=23, Resulting Numbers: [90, 23]
Generated Node #0,4,4: 92:[90, 23] Operation: 36-13=23
Moving to Node #0,0,2
Current State: 92:[90, 2], Operations: ['85+13=98', '98/49=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,92 unequal: No Solution
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[49, 90, 85, 13], Operations: []
Exploring Operation: 85+13=98, Resulting Numbers: [49, 90, 98]
Generated Node #0,0: 92:[49, 90, 98] Operation: 85+13=98
Moving to Node #0,0
Current State: 92:[49, 90, 98], Operations: ['85+13=98']
Exploring Operation: 98/49=2, Resulting Numbers: [90, 2]
Generated Node #0,0,2: 92:[90, 2] Operation: 98/49=2
Moving to Node #0,0,2
Current State: 92:[90, 2], Operations: ['85+13=98', '98/49=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
73,
84,
1,
59
] | 69 | [
"84-73=11",
"59-1=58",
"11+58=69"
] | Current State: 69:[73, 84, 1, 59], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [1, 59, 11]
Generated Node #2: [1, 59, 11] from Operation: 84-73=11
Current State: 69:[1, 59, 11], Operations: ['84-73=11']
Exploring Operation: 59-1=58, Resulting Numbers: [11, 58]
Generated Node #3: [11, 58] from Operation: 59-1=58
Current State: 69:[11, 58], Operations: ['84-73=11', '59-1=58']
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[73, 84, 1, 59], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [73, 1, 25]
Generated Node #0,0: 69:[73, 1, 25] Operation: 84-59=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[73, 1, 25], Operations: ['84-59=25']
Exploring Operation: 73-1=72, Resulting Numbers: [25, 72]
Generated Node #0,0,0: 69:[25, 72] Operation: 73-1=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[25, 72], Operations: ['84-59=25', '73-1=72']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
37,
72,
97
] | 75 | [
"97-37=60",
"60/20=3",
"72+3=75"
] | Current State: 75:[20, 37, 72, 97], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [20, 72, 60]
Generated Node #2: [20, 72, 60] from Operation: 97-37=60
Current State: 75:[20, 72, 60], Operations: ['97-37=60']
Exploring Operation: 60/20=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 60/20=3
Current State: 75:[72, 3], Operations: ['97-37=60', '60/20=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[20, 37, 72, 97], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [37, 72, 77]
Generated Node #0,0: 75:[37, 72, 77] Operation: 97-20=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[37, 72, 77], Operations: ['97-20=77']
Exploring Operation: 72-37=35, Resulting Numbers: [77, 35]
Generated Node #0,0,0: 75:[77, 35] Operation: 72-37=35
Moving to Node #0,0,0
Current State: 75:[77, 35], Operations: ['97-20=77', '72-37=35']
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,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 | mult_heuristic |
[
46,
6,
41,
13
] | 55 | [
"41+13=54",
"54/6=9",
"46+9=55"
] | Current State: 55:[46, 6, 41, 13], Operations: []
Exploring Operation: 41+13=54, Resulting Numbers: [46, 6, 54]
Generated Node #2: [46, 6, 54] from Operation: 41+13=54
Current State: 55:[46, 6, 54], Operations: ['41+13=54']
Exploring Operation: 54/6=9, Resulting Numbers: [46, 9]
Generated Node #3: [46, 9] from Operation: 54/6=9
Current State: 55:[46, 9], Operations: ['41+13=54', '54/6=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[46, 6, 41, 13], Operations: []
Exploring Operation: 6+41=47, Resulting Numbers: [46, 13, 47]
Generated Node #0,0: 55:[46, 13, 47] Operation: 6+41=47
Exploring Operation: 46-41=5, Resulting Numbers: [6, 13, 5]
Generated Node #0,1: 55:[6, 13, 5] Operation: 46-41=5
Exploring Operation: 41+13=54, Resulting Numbers: [46, 6, 54]
Generated Node #0,2: 55:[46, 6, 54] Operation: 41+13=54
Exploring Operation: 46+13=59, Resulting Numbers: [6, 41, 59]
Generated Node #0,3: 55:[6, 41, 59] Operation: 46+13=59
Exploring Operation: 46+6=52, Resulting Numbers: [41, 13, 52]
Generated Node #0,4: 55:[41, 13, 52] Operation: 46+6=52
Moving to Node #0,1
Current State: 55:[6, 13, 5], Operations: ['46-41=5']
Exploring Operation: 13-6=7, Resulting Numbers: [5, 7]
Generated Node #0,1,0: 55:[5, 7] Operation: 13-6=7
Exploring Operation: 6+5=11, Resulting Numbers: [13, 11]
Generated Node #0,1,1: 55:[13, 11] Operation: 6+5=11
Exploring Operation: 6-5=1, Resulting Numbers: [13, 1]
Generated Node #0,1,2: 55:[13, 1] Operation: 6-5=1
Exploring Operation: 13-5=8, Resulting Numbers: [6, 8]
Generated Node #0,1,3: 55:[6, 8] Operation: 13-5=8
Exploring Operation: 6+13=19, Resulting Numbers: [5, 19]
Generated Node #0,1,4: 55:[5, 19] Operation: 6+13=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[5, 7], Operations: ['46-41=5', '13-6=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[13, 11], Operations: ['46-41=5', '6+5=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,55 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[6, 8], Operations: ['46-41=5', '13-5=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[13, 1], Operations: ['46-41=5', '6-5=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 55:[5, 19], Operations: ['46-41=5', '6+13=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,55 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 55:[46, 6, 54], Operations: ['41+13=54']
Exploring Operation: 46+6=52, Resulting Numbers: [54, 52]
Generated Node #0,2,0: 55:[54, 52] Operation: 46+6=52
Exploring Operation: 54/6=9, Resulting Numbers: [46, 9]
Generated Node #0,2,1: 55:[46, 9] Operation: 54/6=9
Exploring Operation: 6+54=60, Resulting Numbers: [46, 60]
Generated Node #0,2,2: 55:[46, 60] Operation: 6+54=60
Exploring Operation: 46-6=40, Resulting Numbers: [54, 40]
Generated Node #0,2,3: 55:[54, 40] Operation: 46-6=40
Exploring Operation: 54-46=8, Resulting Numbers: [6, 8]
Generated Node #0,2,4: 55:[6, 8] Operation: 54-46=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[54, 52], Operations: ['41+13=54', '46+6=52']
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,55 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 55:[6, 8], Operations: ['41+13=54', '54-46=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[46, 9], Operations: ['41+13=54', '54/6=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,55 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[46, 6, 41, 13], Operations: []
Exploring Operation: 41+13=54, Resulting Numbers: [46, 6, 54]
Generated Node #0,2: 55:[46, 6, 54] Operation: 41+13=54
Moving to Node #0,2
Current State: 55:[46, 6, 54], Operations: ['41+13=54']
Exploring Operation: 54/6=9, Resulting Numbers: [46, 9]
Generated Node #0,2,1: 55:[46, 9] Operation: 54/6=9
Moving to Node #0,2,1
Current State: 55:[46, 9], Operations: ['41+13=54', '54/6=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
24,
23,
54,
67
] | 60 | [
"24+23=47",
"67-54=13",
"47+13=60"
] | Current State: 60:[24, 23, 54, 67], Operations: []
Exploring Operation: 24+23=47, Resulting Numbers: [54, 67, 47]
Generated Node #2: [54, 67, 47] from Operation: 24+23=47
Current State: 60:[54, 67, 47], Operations: ['24+23=47']
Exploring Operation: 67-54=13, Resulting Numbers: [47, 13]
Generated Node #3: [47, 13] from Operation: 67-54=13
Current State: 60:[47, 13], Operations: ['24+23=47', '67-54=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[24, 23, 54, 67], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [24, 23, 13]
Generated Node #0,0: 60:[24, 23, 13] Operation: 67-54=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[24, 23, 13], Operations: ['67-54=13']
Exploring Operation: 24-23=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 60:[13, 1] Operation: 24-23=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[13, 1], Operations: ['67-54=13', '24-23=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
79,
8,
82
] | 15 | [
"79+8=87",
"87-82=5",
"75/5=15"
] | Current State: 15:[75, 79, 8, 82], Operations: []
Exploring Operation: 79+8=87, Resulting Numbers: [75, 82, 87]
Generated Node #2: [75, 82, 87] from Operation: 79+8=87
Current State: 15:[75, 82, 87], Operations: ['79+8=87']
Exploring Operation: 87-82=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 87-82=5
Current State: 15:[75, 5], Operations: ['79+8=87', '87-82=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[75, 79, 8, 82], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [8, 82, 4]
Generated Node #0,0: 15:[8, 82, 4] Operation: 79-75=4
Exploring Operation: 82-79=3, Resulting Numbers: [75, 8, 3]
Generated Node #0,1: 15:[75, 8, 3] Operation: 82-79=3
Exploring Operation: 82-75=7, Resulting Numbers: [79, 8, 7]
Generated Node #0,2: 15:[79, 8, 7] Operation: 82-75=7
Exploring Operation: 75-8=67, Resulting Numbers: [79, 82, 67]
Generated Node #0,3: 15:[79, 82, 67] Operation: 75-8=67
Moving to Node #0,1
Current State: 15:[75, 8, 3], Operations: ['82-79=3']
Exploring Operation: 75/3=25, Resulting Numbers: [8, 25]
Generated Node #0,1,0: 15:[8, 25] Operation: 75/3=25
Exploring Operation: 8-3=5, Resulting Numbers: [75, 5]
Generated Node #0,1,1: 15:[75, 5] Operation: 8-3=5
Exploring Operation: 75-8=67, Resulting Numbers: [3, 67]
Generated Node #0,1,2: 15:[3, 67] Operation: 75-8=67
Exploring Operation: 75-3=72, Resulting Numbers: [8, 72]
Generated Node #0,1,3: 15:[8, 72] Operation: 75-3=72
Moving to Node #0,2
Current State: 15:[79, 8, 7], Operations: ['82-75=7']
Exploring Operation: 8+7=15, Resulting Numbers: [79, 15]
Generated Node #0,2,0: 15:[79, 15] Operation: 8+7=15
Exploring Operation: 79-8=71, Resulting Numbers: [7, 71]
Generated Node #0,2,1: 15:[7, 71] Operation: 79-8=71
Exploring Operation: 79-7=72, Resulting Numbers: [8, 72]
Generated Node #0,2,2: 15:[8, 72] Operation: 79-7=72
Exploring Operation: 8-7=1, Resulting Numbers: [79, 1]
Generated Node #0,2,3: 15:[79, 1] Operation: 8-7=1
Moving to Node #0,0
Current State: 15:[8, 82, 4], Operations: ['79-75=4']
Exploring Operation: 8/4=2, Resulting Numbers: [82, 2]
Generated Node #0,0,0: 15:[82, 2] Operation: 8/4=2
Exploring Operation: 82-8=74, Resulting Numbers: [4, 74]
Generated Node #0,0,1: 15:[4, 74] Operation: 82-8=74
Exploring Operation: 82-4=78, Resulting Numbers: [8, 78]
Generated Node #0,0,2: 15:[8, 78] Operation: 82-4=78
Exploring Operation: 8-4=4, Resulting Numbers: [82, 4]
Generated Node #0,0,3: 15:[82, 4] Operation: 8-4=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[4, 74], Operations: ['79-75=4', '82-8=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,15 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,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:[8, 78], Operations: ['79-75=4', '82-4=78']
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[82, 2], Operations: ['79-75=4', '8/4=2']
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,15 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,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:[82, 4], Operations: ['79-75=4', '8-4=4']
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,15 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,15 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,15 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: 15:[79, 82, 67], Operations: ['75-8=67']
Exploring Operation: 79+82=161, Resulting Numbers: [67, 161]
Generated Node #0,3,0: 15:[67, 161] Operation: 79+82=161
Exploring Operation: 79-67=12, Resulting Numbers: [82, 12]
Generated Node #0,3,1: 15:[82, 12] Operation: 79-67=12
Exploring Operation: 82-79=3, Resulting Numbers: [67, 3]
Generated Node #0,3,2: 15:[67, 3] Operation: 82-79=3
Exploring Operation: 82-67=15, Resulting Numbers: [79, 15]
Generated Node #0,3,3: 15:[79, 15] Operation: 82-67=15
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 15:[67, 3], Operations: ['75-8=67', '82-79=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,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:[79, 15], Operations: ['75-8=67', '82-67=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,15 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,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:[82, 12], Operations: ['75-8=67', '79-67=12']
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,15 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,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:[67, 161], Operations: ['75-8=67', '79+82=161']
Exploring Operation: 67*161=10787, Resulting Numbers: [10787]
10787,15 unequal: No Solution
Exploring Operation: 67+161=228, Resulting Numbers: [228]
228,15 unequal: No Solution
Exploring Operation: 161-67=94, Resulting Numbers: [94]
94,15 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: 15:[8, 25], Operations: ['82-79=3', '75/3=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,15 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[3, 67], Operations: ['82-79=3', '75-8=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,15 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[7, 71], Operations: ['82-75=7', '79-8=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,15 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[75, 5], Operations: ['82-79=3', '8-3=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[75, 79, 8, 82], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [75, 8, 3]
Generated Node #0,1: 15:[75, 8, 3] Operation: 82-79=3
Moving to Node #0,1
Current State: 15:[75, 8, 3], Operations: ['82-79=3']
Exploring Operation: 8-3=5, Resulting Numbers: [75, 5]
Generated Node #0,1,1: 15:[75, 5] Operation: 8-3=5
Moving to Node #0,1,1
Current State: 15:[75, 5], Operations: ['82-79=3', '8-3=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.947917 | hs_4 | mult_heuristic |
[
16,
5,
37,
76
] | 93 | [
"16+76=92",
"5*37=185",
"185-92=93"
] | Current State: 93:[16, 5, 37, 76], Operations: []
Exploring Operation: 16+76=92, Resulting Numbers: [5, 37, 92]
Generated Node #2: [5, 37, 92] from Operation: 16+76=92
Current State: 93:[5, 37, 92], Operations: ['16+76=92']
Exploring Operation: 5*37=185, Resulting Numbers: [92, 185]
Generated Node #3: [92, 185] from Operation: 5*37=185
Current State: 93:[92, 185], Operations: ['16+76=92', '5*37=185']
Exploring Operation: 185-92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[16, 5, 37, 76], Operations: []
Exploring Operation: 16+76=92, Resulting Numbers: [5, 37, 92]
Generated Node #0,0: 93:[5, 37, 92] Operation: 16+76=92
Exploring Operation: 76-37=39, Resulting Numbers: [16, 5, 39]
Generated Node #0,1: 93:[16, 5, 39] Operation: 76-37=39
Moving to Node #0,0
Current State: 93:[5, 37, 92], Operations: ['16+76=92']
Exploring Operation: 37-5=32, Resulting Numbers: [92, 32]
Generated Node #0,0,0: 93:[92, 32] Operation: 37-5=32
Exploring Operation: 5+92=97, Resulting Numbers: [37, 97]
Generated Node #0,0,1: 93:[37, 97] Operation: 5+92=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[92, 32], Operations: ['16+76=92', '37-5=32']
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[37, 97], Operations: ['16+76=92', '5+92=97']
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 37+97=134, Resulting Numbers: [134]
134,93 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: 93:[16, 5, 39], Operations: ['76-37=39']
Exploring Operation: 16-5=11, Resulting Numbers: [39, 11]
Generated Node #0,1,0: 93:[39, 11] Operation: 16-5=11
Exploring Operation: 39-16=23, Resulting Numbers: [5, 23]
Generated Node #0,1,1: 93:[5, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[5, 23], Operations: ['76-37=39', '39-16=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[39, 11], Operations: ['76-37=39', '16-5=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
82,
10,
43
] | 86 | [
"82-70=12",
"12-10=2",
"43*2=86"
] | Current State: 86:[70, 82, 10, 43], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [10, 43, 12]
Generated Node #2: [10, 43, 12] from Operation: 82-70=12
Current State: 86:[10, 43, 12], Operations: ['82-70=12']
Exploring Operation: 12-10=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 12-10=2
Current State: 86:[43, 2], Operations: ['82-70=12', '12-10=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[70, 82, 10, 43], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [10, 43, 12]
Generated Node #0,0: 86:[10, 43, 12] Operation: 82-70=12
Exploring Operation: 70/10=7, Resulting Numbers: [82, 43, 7]
Generated Node #0,1: 86:[82, 43, 7] Operation: 70/10=7
Exploring Operation: 70+10=80, Resulting Numbers: [82, 43, 80]
Generated Node #0,2: 86:[82, 43, 80] Operation: 70+10=80
Moving to Node #0,1
Current State: 86:[82, 43, 7], Operations: ['70/10=7']
Exploring Operation: 82-7=75, Resulting Numbers: [43, 75]
Generated Node #0,1,0: 86:[43, 75] Operation: 82-7=75
Exploring Operation: 82+7=89, Resulting Numbers: [43, 89]
Generated Node #0,1,1: 86:[43, 89] Operation: 82+7=89
Exploring Operation: 82-43=39, Resulting Numbers: [7, 39]
Generated Node #0,1,2: 86:[7, 39] Operation: 82-43=39
Moving to Node #0,2
Current State: 86:[82, 43, 80], Operations: ['70+10=80']
Exploring Operation: 82-43=39, Resulting Numbers: [80, 39]
Generated Node #0,2,0: 86:[80, 39] Operation: 82-43=39
Exploring Operation: 82-80=2, Resulting Numbers: [43, 2]
Generated Node #0,2,1: 86:[43, 2] Operation: 82-80=2
Exploring Operation: 80-43=37, Resulting Numbers: [82, 37]
Generated Node #0,2,2: 86:[82, 37] Operation: 80-43=37
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[43, 2], Operations: ['70+10=80', '82-80=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[70, 82, 10, 43], Operations: []
Exploring Operation: 70+10=80, Resulting Numbers: [82, 43, 80]
Generated Node #0,2: 86:[82, 43, 80] Operation: 70+10=80
Moving to Node #0,2
Current State: 86:[82, 43, 80], Operations: ['70+10=80']
Exploring Operation: 82-80=2, Resulting Numbers: [43, 2]
Generated Node #0,2,1: 86:[43, 2] Operation: 82-80=2
Moving to Node #0,2,1
Current State: 86:[43, 2], Operations: ['70+10=80', '82-80=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
97,
70,
54,
55
] | 53 | [
"97-70=27",
"54/27=2",
"55-2=53"
] | Current State: 53:[97, 70, 54, 55], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [54, 55, 27]
Generated Node #2: [54, 55, 27] from Operation: 97-70=27
Current State: 53:[54, 55, 27], Operations: ['97-70=27']
Exploring Operation: 54/27=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 54/27=2
Current State: 53:[55, 2], Operations: ['97-70=27', '54/27=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[97, 70, 54, 55], Operations: []
Exploring Operation: 97-55=42, Resulting Numbers: [70, 54, 42]
Generated Node #0,0: 53:[70, 54, 42] Operation: 97-55=42
Exploring Operation: 97-54=43, Resulting Numbers: [70, 55, 43]
Generated Node #0,1: 53:[70, 55, 43] Operation: 97-54=43
Exploring Operation: 97-70=27, Resulting Numbers: [54, 55, 27]
Generated Node #0,2: 53:[54, 55, 27] Operation: 97-70=27
Exploring Operation: 70-55=15, Resulting Numbers: [97, 54, 15]
Generated Node #0,3: 53:[97, 54, 15] Operation: 70-55=15
Exploring Operation: 70-54=16, Resulting Numbers: [97, 55, 16]
Generated Node #0,4: 53:[97, 55, 16] Operation: 70-54=16
Moving to Node #0,0
Current State: 53:[70, 54, 42], Operations: ['97-55=42']
Exploring Operation: 70-42=28, Resulting Numbers: [54, 28]
Generated Node #0,0,0: 53:[54, 28] Operation: 70-42=28
Exploring Operation: 70-54=16, Resulting Numbers: [42, 16]
Generated Node #0,0,1: 53:[42, 16] Operation: 70-54=16
Exploring Operation: 54-42=12, Resulting Numbers: [70, 12]
Generated Node #0,0,2: 53:[70, 12] Operation: 54-42=12
Exploring Operation: 54+42=96, Resulting Numbers: [70, 96]
Generated Node #0,0,3: 53:[70, 96] Operation: 54+42=96
Exploring Operation: 70+42=112, Resulting Numbers: [54, 112]
Generated Node #0,0,4: 53:[54, 112] Operation: 70+42=112
Moving to Node #0,2
Current State: 53:[54, 55, 27], Operations: ['97-70=27']
Exploring Operation: 54+27=81, Resulting Numbers: [55, 81]
Generated Node #0,2,0: 53:[55, 81] Operation: 54+27=81
Exploring Operation: 55-27=28, Resulting Numbers: [54, 28]
Generated Node #0,2,1: 53:[54, 28] Operation: 55-27=28
Exploring Operation: 55+27=82, Resulting Numbers: [54, 82]
Generated Node #0,2,2: 53:[54, 82] Operation: 55+27=82
Exploring Operation: 54/27=2, Resulting Numbers: [55, 2]
Generated Node #0,2,3: 53:[55, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [55, 27]
Generated Node #0,2,4: 53:[55, 27] Operation: 54-27=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[54, 28], Operations: ['97-70=27', '55-27=28']
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[55, 27], Operations: ['97-70=27', '54-27=27']
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,53 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[55, 81], Operations: ['97-70=27', '54+27=81']
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 55+81=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 55*81=4455, Resulting Numbers: [4455]
4455,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[54, 82], Operations: ['97-70=27', '55+27=82']
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,53 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[55, 2], Operations: ['97-70=27', '54/27=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[97, 70, 54, 55], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [54, 55, 27]
Generated Node #0,2: 53:[54, 55, 27] Operation: 97-70=27
Moving to Node #0,2
Current State: 53:[54, 55, 27], Operations: ['97-70=27']
Exploring Operation: 54/27=2, Resulting Numbers: [55, 2]
Generated Node #0,2,3: 53:[55, 2] Operation: 54/27=2
Moving to Node #0,2,3
Current State: 53:[55, 2], Operations: ['97-70=27', '54/27=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_5 | mult_heuristic |
[
5,
80,
72,
74
] | 61 | [
"5+80=85",
"72+74=146",
"146-85=61"
] | Current State: 61:[5, 80, 72, 74], Operations: []
Exploring Operation: 5+80=85, Resulting Numbers: [72, 74, 85]
Generated Node #2: [72, 74, 85] from Operation: 5+80=85
Current State: 61:[72, 74, 85], Operations: ['5+80=85']
Exploring Operation: 72+74=146, Resulting Numbers: [85, 146]
Generated Node #3: [85, 146] from Operation: 72+74=146
Current State: 61:[85, 146], Operations: ['5+80=85', '72+74=146']
Exploring Operation: 146-85=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 80, 72, 74], Operations: []
Exploring Operation: 80-5=75, Resulting Numbers: [72, 74, 75]
Generated Node #0,0: 61:[72, 74, 75] Operation: 80-5=75
Exploring Operation: 72-5=67, Resulting Numbers: [80, 74, 67]
Generated Node #0,1: 61:[80, 74, 67] Operation: 72-5=67
Moving to Node #0,0
Current State: 61:[72, 74, 75], Operations: ['80-5=75']
Exploring Operation: 75-72=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 61:[74, 3] Operation: 75-72=3
Exploring Operation: 75-74=1, Resulting Numbers: [72, 1]
Generated Node #0,0,1: 61:[72, 1] Operation: 75-74=1
Moving to Node #0,1
Current State: 61:[80, 74, 67], Operations: ['72-5=67']
Exploring Operation: 80-74=6, Resulting Numbers: [67, 6]
Generated Node #0,1,0: 61:[67, 6] Operation: 80-74=6
Exploring Operation: 80-67=13, Resulting Numbers: [74, 13]
Generated Node #0,1,1: 61:[74, 13] Operation: 80-67=13
Moving to Node #0,1,0
Current State: 61:[67, 6], Operations: ['72-5=67', '80-74=6']
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[5, 80, 72, 74], Operations: []
Exploring Operation: 72-5=67, Resulting Numbers: [80, 74, 67]
Generated Node #0,1: 61:[80, 74, 67] Operation: 72-5=67
Moving to Node #0,1
Current State: 61:[80, 74, 67], Operations: ['72-5=67']
Exploring Operation: 80-74=6, Resulting Numbers: [67, 6]
Generated Node #0,1,0: 61:[67, 6] Operation: 80-74=6
Moving to Node #0,1,0
Current State: 61:[67, 6], Operations: ['72-5=67', '80-74=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
2,
12,
10,
46
] | 96 | [
"2+46=48",
"12-10=2",
"48*2=96"
] | Current State: 96:[2, 12, 10, 46], Operations: []
Exploring Operation: 2+46=48, Resulting Numbers: [12, 10, 48]
Generated Node #2: [12, 10, 48] from Operation: 2+46=48
Current State: 96:[12, 10, 48], Operations: ['2+46=48']
Exploring Operation: 12-10=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 12-10=2
Current State: 96:[48, 2], Operations: ['2+46=48', '12-10=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[2, 12, 10, 46], Operations: []
Exploring Operation: 2+46=48, Resulting Numbers: [12, 10, 48]
Generated Node #0,0: 96:[12, 10, 48] Operation: 2+46=48
Exploring Operation: 10-2=8, Resulting Numbers: [12, 46, 8]
Generated Node #0,1: 96:[12, 46, 8] Operation: 10-2=8
Exploring Operation: 12-10=2, Resulting Numbers: [2, 46, 2]
Generated Node #0,2: 96:[2, 46, 2] Operation: 12-10=2
Exploring Operation: 2+10=12, Resulting Numbers: [12, 46, 12]
Generated Node #0,3: 96:[12, 46, 12] Operation: 2+10=12
Moving to Node #0,0
Current State: 96:[12, 10, 48], Operations: ['2+46=48']
Exploring Operation: 12-10=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 96:[48, 2] Operation: 12-10=2
Exploring Operation: 12+10=22, Resulting Numbers: [48, 22]
Generated Node #0,0,1: 96:[48, 22] Operation: 12+10=22
Exploring Operation: 48-12=36, Resulting Numbers: [10, 36]
Generated Node #0,0,2: 96:[10, 36] Operation: 48-12=36
Exploring Operation: 48/12=4, Resulting Numbers: [10, 4]
Generated Node #0,0,3: 96:[10, 4] Operation: 48/12=4
Moving to Node #0,2
Current State: 96:[2, 46, 2], Operations: ['12-10=2']
Exploring Operation: 46+2=48, Resulting Numbers: [2, 48]
Generated Node #0,2,0: 96:[2, 48] Operation: 46+2=48
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 96:[2, 23] Operation: 46/2=23
Exploring Operation: 2+46=48, Resulting Numbers: [2, 48]
Generated Node #0,2,2: 96:[2, 48] Operation: 2+46=48
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,2,3: 96:[2, 23] Operation: 46/2=23
Moving to Node #0,1
Current State: 96:[12, 46, 8], Operations: ['10-2=8']
Exploring Operation: 12*8=96, Resulting Numbers: [46, 96]
Generated Node #0,1,0: 96:[46, 96] Operation: 12*8=96
Exploring Operation: 46-12=34, Resulting Numbers: [8, 34]
Generated Node #0,1,1: 96:[8, 34] Operation: 46-12=34
Exploring Operation: 12-8=4, Resulting Numbers: [46, 4]
Generated Node #0,1,2: 96:[46, 4] Operation: 12-8=4
Exploring Operation: 12+8=20, Resulting Numbers: [46, 20]
Generated Node #0,1,3: 96:[46, 20] Operation: 12+8=20
Moving to Node #0,3
Current State: 96:[12, 46, 12], Operations: ['2+10=12']
Exploring Operation: 46-12=34, Resulting Numbers: [12, 34]
Generated Node #0,3,0: 96:[12, 34] Operation: 46-12=34
Exploring Operation: 12+12=24, Resulting Numbers: [46, 24]
Generated Node #0,3,1: 96:[46, 24] Operation: 12+12=24
Exploring Operation: 46-12=34, Resulting Numbers: [12, 34]
Generated Node #0,3,2: 96:[12, 34] Operation: 46-12=34
Exploring Operation: 12/12=1, Resulting Numbers: [46, 1]
Generated Node #0,3,3: 96:[46, 1] Operation: 12/12=1
Moving to Node #0,0,0
Current State: 96:[48, 2], Operations: ['2+46=48', '12-10=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[2, 12, 10, 46], Operations: []
Exploring Operation: 2+46=48, Resulting Numbers: [12, 10, 48]
Generated Node #0,0: 96:[12, 10, 48] Operation: 2+46=48
Moving to Node #0,0
Current State: 96:[12, 10, 48], Operations: ['2+46=48']
Exploring Operation: 12-10=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 96:[48, 2] Operation: 12-10=2
Moving to Node #0,0,0
Current State: 96:[48, 2], Operations: ['2+46=48', '12-10=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
20,
8,
7,
43
] | 72 | [
"20+43=63",
"8*63=504",
"504/7=72"
] | Current State: 72:[20, 8, 7, 43], Operations: []
Exploring Operation: 20+43=63, Resulting Numbers: [8, 7, 63]
Generated Node #2: [8, 7, 63] from Operation: 20+43=63
Current State: 72:[8, 7, 63], Operations: ['20+43=63']
Exploring Operation: 8*63=504, Resulting Numbers: [7, 504]
Generated Node #3: [7, 504] from Operation: 8*63=504
Current State: 72:[7, 504], Operations: ['20+43=63', '8*63=504']
Exploring Operation: 504/7=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[20, 8, 7, 43], Operations: []
Exploring Operation: 43-20=23, Resulting Numbers: [8, 7, 23]
Generated Node #0,0: 72:[8, 7, 23] Operation: 43-20=23
Exploring Operation: 20-8=12, Resulting Numbers: [7, 43, 12]
Generated Node #0,1: 72:[7, 43, 12] Operation: 20-8=12
Exploring Operation: 43-7=36, Resulting Numbers: [20, 8, 36]
Generated Node #0,2: 72:[20, 8, 36] Operation: 43-7=36
Exploring Operation: 43-8=35, Resulting Numbers: [20, 7, 35]
Generated Node #0,3: 72:[20, 7, 35] Operation: 43-8=35
Moving to Node #0,0
Current State: 72:[8, 7, 23], Operations: ['43-20=23']
Exploring Operation: 23-7=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 72:[8, 16] Operation: 23-7=16
Exploring Operation: 8+7=15, Resulting Numbers: [23, 15]
Generated Node #0,0,1: 72:[23, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [23, 1]
Generated Node #0,0,2: 72:[23, 1] Operation: 8-7=1
Exploring Operation: 23-8=15, Resulting Numbers: [7, 15]
Generated Node #0,0,3: 72:[7, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[8, 16], Operations: ['43-20=23', '23-7=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,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,0,2
Current State: 72:[23, 1], Operations: ['43-20=23', '8-7=1']
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,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,0,1
Current State: 72:[23, 15], Operations: ['43-20=23', '8+7=15']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 23+15=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 23*15=345, Resulting Numbers: [345]
345,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,0,3
Current State: 72:[7, 15], Operations: ['43-20=23', '23-8=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,72 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,72 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: 72:[20, 8, 36], Operations: ['43-7=36']
Exploring Operation: 36-8=28, Resulting Numbers: [20, 28]
Generated Node #0,2,0: 72:[20, 28] Operation: 36-8=28
Exploring Operation: 36-20=16, Resulting Numbers: [8, 16]
Generated Node #0,2,1: 72:[8, 16] Operation: 36-20=16
Exploring Operation: 20-8=12, Resulting Numbers: [36, 12]
Generated Node #0,2,2: 72:[36, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [36, 28]
Generated Node #0,2,3: 72:[36, 28] Operation: 20+8=28
Moving to Node #0,3
Current State: 72:[20, 7, 35], Operations: ['43-8=35']
Exploring Operation: 35/7=5, Resulting Numbers: [20, 5]
Generated Node #0,3,0: 72:[20, 5] Operation: 35/7=5
Exploring Operation: 35-20=15, Resulting Numbers: [7, 15]
Generated Node #0,3,1: 72:[7, 15] Operation: 35-20=15
Exploring Operation: 20-7=13, Resulting Numbers: [35, 13]
Generated Node #0,3,2: 72:[35, 13] Operation: 20-7=13
Exploring Operation: 20+7=27, Resulting Numbers: [35, 27]
Generated Node #0,3,3: 72:[35, 27] Operation: 20+7=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[35, 13], Operations: ['43-8=35', '20-7=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,72 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,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,3,0
Current State: 72:[20, 5], Operations: ['43-8=35', '35/7=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,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,3,1
Current State: 72:[7, 15], Operations: ['43-8=35', '35-20=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,72 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,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,3,3
Current State: 72:[35, 27], Operations: ['43-8=35', '20+7=27']
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 72:[7, 43, 12], Operations: ['20-8=12']
Exploring Operation: 7+12=19, Resulting Numbers: [43, 19]
Generated Node #0,1,0: 72:[43, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [43, 5]
Generated Node #0,1,1: 72:[43, 5] Operation: 12-7=5
Exploring Operation: 43-12=31, Resulting Numbers: [7, 31]
Generated Node #0,1,2: 72:[7, 31] Operation: 43-12=31
Exploring Operation: 43-7=36, Resulting Numbers: [12, 36]
Generated Node #0,1,3: 72:[12, 36] Operation: 43-7=36
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[12, 36], Operations: ['20-8=12', '43-7=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,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,2
Current State: 72:[7, 31], Operations: ['20-8=12', '43-12=31']
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,72 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,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,0
Current State: 72:[43, 19], Operations: ['20-8=12', '7+12=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,72 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,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:[43, 5], Operations: ['20-8=12', '12-7=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 43+5=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 43*5=215, Resulting Numbers: [215]
215,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 72:[36, 12], Operations: ['43-7=36', '20-8=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,72 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,72 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[8, 16], Operations: ['43-7=36', '36-20=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[36, 28], Operations: ['43-7=36', '20+8=28']
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[20, 28], Operations: ['43-7=36', '36-8=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,72 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,72 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
90,
21,
5
] | 32 | [
"49+90=139",
"21+139=160",
"160/5=32"
] | Current State: 32:[49, 90, 21, 5], Operations: []
Exploring Operation: 49+90=139, Resulting Numbers: [21, 5, 139]
Generated Node #2: [21, 5, 139] from Operation: 49+90=139
Current State: 32:[21, 5, 139], Operations: ['49+90=139']
Exploring Operation: 21+139=160, Resulting Numbers: [5, 160]
Generated Node #3: [5, 160] from Operation: 21+139=160
Current State: 32:[5, 160], Operations: ['49+90=139', '21+139=160']
Exploring Operation: 160/5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[49, 90, 21, 5], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [49, 21, 18]
Generated Node #0,0: 32:[49, 21, 18] Operation: 90/5=18
Exploring Operation: 90-49=41, Resulting Numbers: [21, 5, 41]
Generated Node #0,1: 32:[21, 5, 41] Operation: 90-49=41
Moving to Node #0,1
Current State: 32:[21, 5, 41], Operations: ['90-49=41']
Exploring Operation: 21-5=16, Resulting Numbers: [41, 16]
Generated Node #0,1,0: 32:[41, 16] Operation: 21-5=16
Exploring Operation: 41-21=20, Resulting Numbers: [5, 20]
Generated Node #0,1,1: 32:[5, 20] Operation: 41-21=20
Moving to Node #0,0
Current State: 32:[49, 21, 18], Operations: ['90/5=18']
Exploring Operation: 49-18=31, Resulting Numbers: [21, 31]
Generated Node #0,0,0: 32:[21, 31] Operation: 49-18=31
Exploring Operation: 49-21=28, Resulting Numbers: [18, 28]
Generated Node #0,0,1: 32:[18, 28] Operation: 49-21=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[21, 31], Operations: ['90/5=18', '49-18=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[18, 28], Operations: ['90/5=18', '49-21=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,32 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: 32:[5, 20], Operations: ['90-49=41', '41-21=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[41, 16], Operations: ['90-49=41', '21-5=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
24,
24,
9
] | 69 | [
"77-9=68",
"24/24=1",
"68+1=69"
] | Current State: 69:[77, 24, 24, 9], Operations: []
Exploring Operation: 77-9=68, Resulting Numbers: [24, 24, 68]
Generated Node #2: [24, 24, 68] from Operation: 77-9=68
Current State: 69:[24, 24, 68], Operations: ['77-9=68']
Exploring Operation: 24/24=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 24/24=1
Current State: 69:[68, 1], Operations: ['77-9=68', '24/24=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[77, 24, 24, 9], Operations: []
Exploring Operation: 24/24=1, Resulting Numbers: [77, 9, 1]
Generated Node #0,0: 69:[77, 9, 1] Operation: 24/24=1
Exploring Operation: 77-9=68, Resulting Numbers: [24, 24, 68]
Generated Node #0,1: 69:[24, 24, 68] Operation: 77-9=68
Moving to Node #0,1
Current State: 69:[24, 24, 68], Operations: ['77-9=68']
Exploring Operation: 24-24=0, Resulting Numbers: [68, 0]
Generated Node #0,1,0: 69:[68, 0] Operation: 24-24=0
Exploring Operation: 24/24=1, Resulting Numbers: [68, 1]
Generated Node #0,1,1: 69:[68, 1] Operation: 24/24=1
Moving to Node #0,0
Current State: 69:[77, 9, 1], Operations: ['24/24=1']
Exploring Operation: 77-1=76, Resulting Numbers: [9, 76]
Generated Node #0,0,0: 69:[9, 76] Operation: 77-1=76
Exploring Operation: 77-9=68, Resulting Numbers: [1, 68]
Generated Node #0,0,1: 69:[1, 68] Operation: 77-9=68
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[1, 68], Operations: ['24/24=1', '77-9=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[77, 24, 24, 9], Operations: []
Exploring Operation: 24/24=1, Resulting Numbers: [77, 9, 1]
Generated Node #0,0: 69:[77, 9, 1] Operation: 24/24=1
Moving to Node #0,0
Current State: 69:[77, 9, 1], Operations: ['24/24=1']
Exploring Operation: 77-9=68, Resulting Numbers: [1, 68]
Generated Node #0,0,1: 69:[1, 68] Operation: 77-9=68
Moving to Node #0,0,1
Current State: 69:[1, 68], Operations: ['24/24=1', '77-9=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
61,
66,
37,
7
] | 39 | [
"66-61=5",
"37+7=44",
"44-5=39"
] | Current State: 39:[61, 66, 37, 7], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [37, 7, 5]
Generated Node #2: [37, 7, 5] from Operation: 66-61=5
Current State: 39:[37, 7, 5], Operations: ['66-61=5']
Exploring Operation: 37+7=44, Resulting Numbers: [5, 44]
Generated Node #3: [5, 44] from Operation: 37+7=44
Current State: 39:[5, 44], Operations: ['66-61=5', '37+7=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[61, 66, 37, 7], Operations: []
Exploring Operation: 61-7=54, Resulting Numbers: [66, 37, 54]
Generated Node #0,0: 39:[66, 37, 54] Operation: 61-7=54
Exploring Operation: 66-37=29, Resulting Numbers: [61, 7, 29]
Generated Node #0,1: 39:[61, 7, 29] Operation: 66-37=29
Exploring Operation: 66-61=5, Resulting Numbers: [37, 7, 5]
Generated Node #0,2: 39:[37, 7, 5] Operation: 66-61=5
Exploring Operation: 61-37=24, Resulting Numbers: [66, 7, 24]
Generated Node #0,3: 39:[66, 7, 24] Operation: 61-37=24
Exploring Operation: 66-7=59, Resulting Numbers: [61, 37, 59]
Generated Node #0,4: 39:[61, 37, 59] Operation: 66-7=59
Moving to Node #0,2
Current State: 39:[37, 7, 5], Operations: ['66-61=5']
Exploring Operation: 37+5=42, Resulting Numbers: [7, 42]
Generated Node #0,2,0: 39:[7, 42] Operation: 37+5=42
Exploring Operation: 7*5=35, Resulting Numbers: [37, 35]
Generated Node #0,2,1: 39:[37, 35] Operation: 7*5=35
Exploring Operation: 7+5=12, Resulting Numbers: [37, 12]
Generated Node #0,2,2: 39:[37, 12] Operation: 7+5=12
Exploring Operation: 37+7=44, Resulting Numbers: [5, 44]
Generated Node #0,2,3: 39:[5, 44] Operation: 37+7=44
Exploring Operation: 7-5=2, Resulting Numbers: [37, 2]
Generated Node #0,2,4: 39:[37, 2] Operation: 7-5=2
Moving to Node #0,1
Current State: 39:[61, 7, 29], Operations: ['66-37=29']
Exploring Operation: 29-7=22, Resulting Numbers: [61, 22]
Generated Node #0,1,0: 39:[61, 22] Operation: 29-7=22
Exploring Operation: 61+7=68, Resulting Numbers: [29, 68]
Generated Node #0,1,1: 39:[29, 68] Operation: 61+7=68
Exploring Operation: 61-29=32, Resulting Numbers: [7, 32]
Generated Node #0,1,2: 39:[7, 32] Operation: 61-29=32
Exploring Operation: 61-7=54, Resulting Numbers: [29, 54]
Generated Node #0,1,3: 39:[29, 54] Operation: 61-7=54
Exploring Operation: 7+29=36, Resulting Numbers: [61, 36]
Generated Node #0,1,4: 39:[61, 36] Operation: 7+29=36
Moving to Node #0,3
Current State: 39:[66, 7, 24], Operations: ['61-37=24']
Exploring Operation: 66-7=59, Resulting Numbers: [24, 59]
Generated Node #0,3,0: 39:[24, 59] Operation: 66-7=59
Exploring Operation: 66-24=42, Resulting Numbers: [7, 42]
Generated Node #0,3,1: 39:[7, 42] Operation: 66-24=42
Exploring Operation: 24-7=17, Resulting Numbers: [66, 17]
Generated Node #0,3,2: 39:[66, 17] Operation: 24-7=17
Exploring Operation: 7+24=31, Resulting Numbers: [66, 31]
Generated Node #0,3,3: 39:[66, 31] Operation: 7+24=31
Exploring Operation: 66+7=73, Resulting Numbers: [24, 73]
Generated Node #0,3,4: 39:[24, 73] Operation: 66+7=73
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[7, 42], Operations: ['61-37=24', '66-24=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,39 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 39:[24, 59], Operations: ['61-37=24', '66-7=59']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 39:[66, 17], Operations: ['61-37=24', '24-7=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,39 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[66, 31], Operations: ['61-37=24', '7+24=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,39 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,39 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 39:[24, 73], Operations: ['61-37=24', '66+7=73']
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,39 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[66, 37, 54], Operations: ['61-7=54']
Exploring Operation: 37+54=91, Resulting Numbers: [66, 91]
Generated Node #0,0,0: 39:[66, 91] Operation: 37+54=91
Exploring Operation: 66+37=103, Resulting Numbers: [54, 103]
Generated Node #0,0,1: 39:[54, 103] Operation: 66+37=103
Exploring Operation: 66-37=29, Resulting Numbers: [54, 29]
Generated Node #0,0,2: 39:[54, 29] Operation: 66-37=29
Exploring Operation: 66-54=12, Resulting Numbers: [37, 12]
Generated Node #0,0,3: 39:[37, 12] Operation: 66-54=12
Exploring Operation: 54-37=17, Resulting Numbers: [66, 17]
Generated Node #0,0,4: 39:[66, 17] Operation: 54-37=17
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[37, 12], Operations: ['61-7=54', '66-54=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,39 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[54, 29], Operations: ['61-7=54', '66-37=29']
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,39 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 39:[66, 17], Operations: ['61-7=54', '54-37=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[66, 91], Operations: ['61-7=54', '37+54=91']
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,39 unequal: No Solution
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,39 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[54, 103], Operations: ['61-7=54', '66+37=103']
Exploring Operation: 54*103=5562, Resulting Numbers: [5562]
5562,39 unequal: No Solution
Exploring Operation: 103-54=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 54+103=157, Resulting Numbers: [157]
157,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 39:[61, 37, 59], Operations: ['66-7=59']
Exploring Operation: 61-59=2, Resulting Numbers: [37, 2]
Generated Node #0,4,0: 39:[37, 2] Operation: 61-59=2
Exploring Operation: 61+37=98, Resulting Numbers: [59, 98]
Generated Node #0,4,1: 39:[59, 98] Operation: 61+37=98
Exploring Operation: 37+59=96, Resulting Numbers: [61, 96]
Generated Node #0,4,2: 39:[61, 96] Operation: 37+59=96
Exploring Operation: 59-37=22, Resulting Numbers: [61, 22]
Generated Node #0,4,3: 39:[61, 22] Operation: 59-37=22
Exploring Operation: 61-37=24, Resulting Numbers: [59, 24]
Generated Node #0,4,4: 39:[59, 24] Operation: 61-37=24
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[37, 2], Operations: ['66-7=59', '61-59=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[61, 66, 37, 7], Operations: []
Exploring Operation: 66-7=59, Resulting Numbers: [61, 37, 59]
Generated Node #0,4: 39:[61, 37, 59] Operation: 66-7=59
Moving to Node #0,4
Current State: 39:[61, 37, 59], Operations: ['66-7=59']
Exploring Operation: 61-59=2, Resulting Numbers: [37, 2]
Generated Node #0,4,0: 39:[37, 2] Operation: 61-59=2
Moving to Node #0,4,0
Current State: 39:[37, 2], Operations: ['66-7=59', '61-59=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_5 | mult_heuristic |
[
55,
59,
44,
79
] | 16 | [
"79-59=20",
"44*20=880",
"880/55=16"
] | Current State: 16:[55, 59, 44, 79], Operations: []
Exploring Operation: 79-59=20, Resulting Numbers: [55, 44, 20]
Generated Node #2: [55, 44, 20] from Operation: 79-59=20
Current State: 16:[55, 44, 20], Operations: ['79-59=20']
Exploring Operation: 44*20=880, Resulting Numbers: [55, 880]
Generated Node #3: [55, 880] from Operation: 44*20=880
Current State: 16:[55, 880], Operations: ['79-59=20', '44*20=880']
Exploring Operation: 880/55=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[55, 59, 44, 79], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [59, 44, 24]
Generated Node #0,0: 16:[59, 44, 24] Operation: 79-55=24
Exploring Operation: 79-59=20, Resulting Numbers: [55, 44, 20]
Generated Node #0,1: 16:[55, 44, 20] Operation: 79-59=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[55, 44, 20], Operations: ['79-59=20']
Exploring Operation: 55-20=35, Resulting Numbers: [44, 35]
Generated Node #0,1,0: 16:[44, 35] Operation: 55-20=35
Exploring Operation: 55-44=11, Resulting Numbers: [20, 11]
Generated Node #0,1,1: 16:[20, 11] Operation: 55-44=11
Moving to Node #0,1,1
Current State: 16:[20, 11], Operations: ['79-59=20', '55-44=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[44, 35], Operations: ['79-59=20', '55-20=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,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
Current State: 16:[59, 44, 24], Operations: ['79-55=24']
Exploring Operation: 59-24=35, Resulting Numbers: [44, 35]
Generated Node #0,0,0: 16:[44, 35] Operation: 59-24=35
Exploring Operation: 59-44=15, Resulting Numbers: [24, 15]
Generated Node #0,0,1: 16:[24, 15] Operation: 59-44=15
Moving to Node #0,0,1
Current State: 16:[24, 15], Operations: ['79-55=24', '59-44=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[44, 35], Operations: ['79-55=24', '59-24=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
70,
97,
1
] | 99 | [
"70/70=1",
"97+1=98",
"1+98=99"
] | Current State: 99:[70, 70, 97, 1], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [97, 1, 1]
Generated Node #2: [97, 1, 1] from Operation: 70/70=1
Current State: 99:[97, 1, 1], Operations: ['70/70=1']
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,99 equal: Goal Reached
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[70, 70, 97, 1], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [97, 1, 1]
Generated Node #0,0: 99:[97, 1, 1] Operation: 70/70=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[97, 1, 1], Operations: ['70/70=1']
Exploring Operation: 97+1=98, Resulting Numbers: [1, 98]
Generated Node #0,0,0: 99:[1, 98] Operation: 97+1=98
Moving to Node #0,0,0
Current State: 99:[1, 98], Operations: ['70/70=1', '97+1=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[70, 70, 97, 1], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [97, 1, 1]
Generated Node #0,0: 99:[97, 1, 1] Operation: 70/70=1
Moving to Node #0,0
Current State: 99:[97, 1, 1], Operations: ['70/70=1']
Exploring Operation: 97+1=98, Resulting Numbers: [1, 98]
Generated Node #0,0,0: 99:[1, 98] Operation: 97+1=98
Moving to Node #0,0,0
Current State: 99:[1, 98], Operations: ['70/70=1', '97+1=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
69,
80,
55,
50
] | 10 | [
"80-69=11",
"55/11=5",
"50/5=10"
] | Current State: 10:[69, 80, 55, 50], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [55, 50, 11]
Generated Node #2: [55, 50, 11] from Operation: 80-69=11
Current State: 10:[55, 50, 11], Operations: ['80-69=11']
Exploring Operation: 55/11=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 55/11=5
Current State: 10:[50, 5], Operations: ['80-69=11', '55/11=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[69, 80, 55, 50], Operations: []
Exploring Operation: 69-50=19, Resulting Numbers: [80, 55, 19]
Generated Node #0,0: 10:[80, 55, 19] Operation: 69-50=19
Exploring Operation: 80-69=11, Resulting Numbers: [55, 50, 11]
Generated Node #0,1: 10:[55, 50, 11] Operation: 80-69=11
Exploring Operation: 69-55=14, Resulting Numbers: [80, 50, 14]
Generated Node #0,2: 10:[80, 50, 14] Operation: 69-55=14
Exploring Operation: 80-55=25, Resulting Numbers: [69, 50, 25]
Generated Node #0,3: 10:[69, 50, 25] Operation: 80-55=25
Moving to Node #0,1
Current State: 10:[55, 50, 11], Operations: ['80-69=11']
Exploring Operation: 55-50=5, Resulting Numbers: [11, 5]
Generated Node #0,1,0: 10:[11, 5] Operation: 55-50=5
Exploring Operation: 55/11=5, Resulting Numbers: [50, 5]
Generated Node #0,1,1: 10:[50, 5] Operation: 55/11=5
Exploring Operation: 55-11=44, Resulting Numbers: [50, 44]
Generated Node #0,1,2: 10:[50, 44] Operation: 55-11=44
Exploring Operation: 50-11=39, Resulting Numbers: [55, 39]
Generated Node #0,1,3: 10:[55, 39] Operation: 50-11=39
Moving to Node #0,3
Current State: 10:[69, 50, 25], Operations: ['80-55=25']
Exploring Operation: 50-25=25, Resulting Numbers: [69, 25]
Generated Node #0,3,0: 10:[69, 25] Operation: 50-25=25
Exploring Operation: 69-50=19, Resulting Numbers: [25, 19]
Generated Node #0,3,1: 10:[25, 19] Operation: 69-50=19
Exploring Operation: 50/25=2, Resulting Numbers: [69, 2]
Generated Node #0,3,2: 10:[69, 2] Operation: 50/25=2
Exploring Operation: 69-25=44, Resulting Numbers: [50, 44]
Generated Node #0,3,3: 10:[50, 44] Operation: 69-25=44
Moving to Node #0,2
Current State: 10:[80, 50, 14], Operations: ['69-55=14']
Exploring Operation: 80+50=130, Resulting Numbers: [14, 130]
Generated Node #0,2,0: 10:[14, 130] Operation: 80+50=130
Exploring Operation: 80-14=66, Resulting Numbers: [50, 66]
Generated Node #0,2,1: 10:[50, 66] Operation: 80-14=66
Exploring Operation: 80-50=30, Resulting Numbers: [14, 30]
Generated Node #0,2,2: 10:[14, 30] Operation: 80-50=30
Exploring Operation: 50-14=36, Resulting Numbers: [80, 36]
Generated Node #0,2,3: 10:[80, 36] Operation: 50-14=36
Moving to Node #0,0
Current State: 10:[80, 55, 19], Operations: ['69-50=19']
Exploring Operation: 80+55=135, Resulting Numbers: [19, 135]
Generated Node #0,0,0: 10:[19, 135] Operation: 80+55=135
Exploring Operation: 55-19=36, Resulting Numbers: [80, 36]
Generated Node #0,0,1: 10:[80, 36] Operation: 55-19=36
Exploring Operation: 80-19=61, Resulting Numbers: [55, 61]
Generated Node #0,0,2: 10:[55, 61] Operation: 80-19=61
Exploring Operation: 80-55=25, Resulting Numbers: [19, 25]
Generated Node #0,0,3: 10:[19, 25] Operation: 80-55=25
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[19, 25], Operations: ['69-50=19', '80-55=25']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,10 unequal: No Solution
No 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: 10:[80, 36], Operations: ['69-50=19', '55-19=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,10 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,10 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,10 unequal: No Solution
No 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: 10:[55, 61], Operations: ['69-50=19', '80-19=61']
Exploring Operation: 55+61=116, Resulting Numbers: [116]
116,10 unequal: No Solution
Exploring Operation: 55*61=3355, Resulting Numbers: [3355]
3355,10 unequal: No Solution
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No 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: 10:[19, 135], Operations: ['69-50=19', '80+55=135']
Exploring Operation: 19+135=154, Resulting Numbers: [154]
154,10 unequal: No Solution
Exploring Operation: 19*135=2565, Resulting Numbers: [2565]
2565,10 unequal: No Solution
Exploring Operation: 135-19=116, Resulting Numbers: [116]
116,10 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: 10:[11, 5], Operations: ['80-69=11', '55-50=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[25, 19], Operations: ['80-55=25', '69-50=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,10 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[14, 30], Operations: ['69-55=14', '80-50=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,10 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[50, 5], Operations: ['80-69=11', '55/11=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,10 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[69, 80, 55, 50], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [55, 50, 11]
Generated Node #0,1: 10:[55, 50, 11] Operation: 80-69=11
Moving to Node #0,1
Current State: 10:[55, 50, 11], Operations: ['80-69=11']
Exploring Operation: 55/11=5, Resulting Numbers: [50, 5]
Generated Node #0,1,1: 10:[50, 5] Operation: 55/11=5
Moving to Node #0,1,1
Current State: 10:[50, 5], Operations: ['80-69=11', '55/11=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
97,
17,
4,
36
] | 89 | [
"97-17=80",
"36/4=9",
"80+9=89"
] | Current State: 89:[97, 17, 4, 36], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [4, 36, 80]
Generated Node #2: [4, 36, 80] from Operation: 97-17=80
Current State: 89:[4, 36, 80], Operations: ['97-17=80']
Exploring Operation: 36/4=9, Resulting Numbers: [80, 9]
Generated Node #3: [80, 9] from Operation: 36/4=9
Current State: 89:[80, 9], Operations: ['97-17=80', '36/4=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[97, 17, 4, 36], Operations: []
Exploring Operation: 17+4=21, Resulting Numbers: [97, 36, 21]
Generated Node #0,0: 89:[97, 36, 21] Operation: 17+4=21
Exploring Operation: 17*4=68, Resulting Numbers: [97, 36, 68]
Generated Node #0,1: 89:[97, 36, 68] Operation: 17*4=68
Exploring Operation: 97-4=93, Resulting Numbers: [17, 36, 93]
Generated Node #0,2: 89:[17, 36, 93] Operation: 97-4=93
Moving to Node #0,1
Current State: 89:[97, 36, 68], Operations: ['17*4=68']
Exploring Operation: 97-36=61, Resulting Numbers: [68, 61]
Generated Node #0,1,0: 89:[68, 61] Operation: 97-36=61
Exploring Operation: 97+36=133, Resulting Numbers: [68, 133]
Generated Node #0,1,1: 89:[68, 133] Operation: 97+36=133
Exploring Operation: 36+68=104, Resulting Numbers: [97, 104]
Generated Node #0,1,2: 89:[97, 104] Operation: 36+68=104
Moving to Node #0,0
Current State: 89:[97, 36, 21], Operations: ['17+4=21']
Exploring Operation: 36+21=57, Resulting Numbers: [97, 57]
Generated Node #0,0,0: 89:[97, 57] Operation: 36+21=57
Exploring Operation: 97-21=76, Resulting Numbers: [36, 76]
Generated Node #0,0,1: 89:[36, 76] Operation: 97-21=76
Exploring Operation: 97+21=118, Resulting Numbers: [36, 118]
Generated Node #0,0,2: 89:[36, 118] Operation: 97+21=118
Moving to Node #0,2
Current State: 89:[17, 36, 93], Operations: ['97-4=93']
Exploring Operation: 36-17=19, Resulting Numbers: [93, 19]
Generated Node #0,2,0: 89:[93, 19] Operation: 36-17=19
Exploring Operation: 17+36=53, Resulting Numbers: [93, 53]
Generated Node #0,2,1: 89:[93, 53] Operation: 17+36=53
Exploring Operation: 93-17=76, Resulting Numbers: [36, 76]
Generated Node #0,2,2: 89:[36, 76] Operation: 93-17=76
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[93, 53], Operations: ['97-4=93', '17+36=53']
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[36, 76], Operations: ['97-4=93', '93-17=76']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 36*76=2736, Resulting Numbers: [2736]
2736,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[93, 19], Operations: ['97-4=93', '36-17=19']
Exploring Operation: 93+19=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 93*19=1767, Resulting Numbers: [1767]
1767,89 unequal: No Solution
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,89 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: 89:[97, 104], Operations: ['17*4=68', '36+68=104']
Exploring Operation: 104-97=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 97+104=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 97*104=10088, Resulting Numbers: [10088]
10088,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[97, 57], Operations: ['17+4=21', '36+21=57']
Exploring Operation: 97*57=5529, Resulting Numbers: [5529]
5529,89 unequal: No Solution
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 97+57=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[68, 61], Operations: ['17*4=68', '97-36=61']
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,89 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[68, 133], Operations: ['17*4=68', '97+36=133']
Exploring Operation: 68*133=9044, Resulting Numbers: [9044]
9044,89 unequal: No Solution
Exploring Operation: 68+133=201, Resulting Numbers: [201]
201,89 unequal: No Solution
Exploring Operation: 133-68=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[36, 76], Operations: ['17+4=21', '97-21=76']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,89 unequal: No Solution
Exploring Operation: 36*76=2736, Resulting Numbers: [2736]
2736,89 unequal: No Solution
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[36, 118], Operations: ['17+4=21', '97+21=118']
Exploring Operation: 118-36=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 36+118=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 36*118=4248, Resulting Numbers: [4248]
4248,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
17,
85,
82
] | 41 | [
"27+17=44",
"85-82=3",
"44-3=41"
] | Current State: 41:[27, 17, 85, 82], Operations: []
Exploring Operation: 27+17=44, Resulting Numbers: [85, 82, 44]
Generated Node #2: [85, 82, 44] from Operation: 27+17=44
Current State: 41:[85, 82, 44], Operations: ['27+17=44']
Exploring Operation: 85-82=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 85-82=3
Current State: 41:[44, 3], Operations: ['27+17=44', '85-82=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[27, 17, 85, 82], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [17, 85, 55]
Generated Node #0,0: 41:[17, 85, 55] Operation: 82-27=55
Exploring Operation: 85-27=58, Resulting Numbers: [17, 82, 58]
Generated Node #0,1: 41:[17, 82, 58] Operation: 85-27=58
Exploring Operation: 85-82=3, Resulting Numbers: [27, 17, 3]
Generated Node #0,2: 41:[27, 17, 3] Operation: 85-82=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[27, 17, 3], Operations: ['85-82=3']
Exploring Operation: 17+3=20, Resulting Numbers: [27, 20]
Generated Node #0,2,0: 41:[27, 20] Operation: 17+3=20
Exploring Operation: 17*3=51, Resulting Numbers: [27, 51]
Generated Node #0,2,1: 41:[27, 51] Operation: 17*3=51
Exploring Operation: 27+3=30, Resulting Numbers: [17, 30]
Generated Node #0,2,2: 41:[17, 30] Operation: 27+3=30
Moving to Node #0,2,1
Current State: 41:[27, 51], Operations: ['85-82=3', '17*3=51']
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,41 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[27, 20], Operations: ['85-82=3', '17+3=20']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[17, 30], Operations: ['85-82=3', '27+3=30']
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,41 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 30-17=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:[17, 85, 55], Operations: ['82-27=55']
Exploring Operation: 55-17=38, Resulting Numbers: [85, 38]
Generated Node #0,0,0: 41:[85, 38] Operation: 55-17=38
Exploring Operation: 85-55=30, Resulting Numbers: [17, 30]
Generated Node #0,0,1: 41:[17, 30] Operation: 85-55=30
Exploring Operation: 85-17=68, Resulting Numbers: [55, 68]
Generated Node #0,0,2: 41:[55, 68] Operation: 85-17=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[17, 30], Operations: ['82-27=55', '85-55=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[55, 68], Operations: ['82-27=55', '85-17=68']
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,41 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[85, 38], Operations: ['82-27=55', '55-17=38']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,41 unequal: No Solution
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[17, 82, 58], Operations: ['85-27=58']
Exploring Operation: 58-17=41, Resulting Numbers: [82, 41]
Generated Node #0,1,0: 41:[82, 41] Operation: 58-17=41
Exploring Operation: 82-58=24, Resulting Numbers: [17, 24]
Generated Node #0,1,1: 41:[17, 24] Operation: 82-58=24
Exploring Operation: 82-17=65, Resulting Numbers: [58, 65]
Generated Node #0,1,2: 41:[58, 65] Operation: 82-17=65
Moving to Node #0,1,0
Current State: 41:[82, 41], Operations: ['85-27=58', '58-17=41']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[27, 17, 85, 82], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [17, 82, 58]
Generated Node #0,1: 41:[17, 82, 58] Operation: 85-27=58
Moving to Node #0,1
Current State: 41:[17, 82, 58], Operations: ['85-27=58']
Exploring Operation: 58-17=41, Resulting Numbers: [82, 41]
Generated Node #0,1,0: 41:[82, 41] Operation: 58-17=41
Moving to Node #0,1,0
Current State: 41:[82, 41], Operations: ['85-27=58', '58-17=41']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
38,
40,
21,
7
] | 50 | [
"38+40=78",
"21+7=28",
"78-28=50"
] | Current State: 50:[38, 40, 21, 7], Operations: []
Exploring Operation: 38+40=78, Resulting Numbers: [21, 7, 78]
Generated Node #2: [21, 7, 78] from Operation: 38+40=78
Current State: 50:[21, 7, 78], Operations: ['38+40=78']
Exploring Operation: 21+7=28, Resulting Numbers: [78, 28]
Generated Node #3: [78, 28] from Operation: 21+7=28
Current State: 50:[78, 28], Operations: ['38+40=78', '21+7=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[38, 40, 21, 7], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [40, 7, 17]
Generated Node #0,0: 50:[40, 7, 17] Operation: 38-21=17
Exploring Operation: 40+7=47, Resulting Numbers: [38, 21, 47]
Generated Node #0,1: 50:[38, 21, 47] Operation: 40+7=47
Exploring Operation: 40-38=2, Resulting Numbers: [21, 7, 2]
Generated Node #0,2: 50:[21, 7, 2] Operation: 40-38=2
Exploring Operation: 38+7=45, Resulting Numbers: [40, 21, 45]
Generated Node #0,3: 50:[40, 21, 45] Operation: 38+7=45
Exploring Operation: 38-7=31, Resulting Numbers: [40, 21, 31]
Generated Node #0,4: 50:[40, 21, 31] Operation: 38-7=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[21, 7, 2], Operations: ['40-38=2']
Exploring Operation: 21-7=14, Resulting Numbers: [2, 14]
Generated Node #0,2,0: 50:[2, 14] Operation: 21-7=14
Exploring Operation: 7-2=5, Resulting Numbers: [21, 5]
Generated Node #0,2,1: 50:[21, 5] Operation: 7-2=5
Exploring Operation: 21+7=28, Resulting Numbers: [2, 28]
Generated Node #0,2,2: 50:[2, 28] Operation: 21+7=28
Exploring Operation: 21/7=3, Resulting Numbers: [2, 3]
Generated Node #0,2,3: 50:[2, 3] Operation: 21/7=3
Exploring Operation: 21+2=23, Resulting Numbers: [7, 23]
Generated Node #0,2,4: 50:[7, 23] Operation: 21+2=23
Moving to Node #0,2,3
Current State: 50:[2, 3], Operations: ['40-38=2', '21/7=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[2, 28], Operations: ['40-38=2', '21+7=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[2, 14], Operations: ['40-38=2', '21-7=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[21, 5], Operations: ['40-38=2', '7-2=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,50 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[7, 23], Operations: ['40-38=2', '21+2=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,50 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,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:[40, 7, 17], Operations: ['38-21=17']
Exploring Operation: 40-17=23, Resulting Numbers: [7, 23]
Generated Node #0,0,0: 50:[7, 23] Operation: 40-17=23
Exploring Operation: 40+7=47, Resulting Numbers: [17, 47]
Generated Node #0,0,1: 50:[17, 47] Operation: 40+7=47
Exploring Operation: 7+17=24, Resulting Numbers: [40, 24]
Generated Node #0,0,2: 50:[40, 24] Operation: 7+17=24
Exploring Operation: 40+17=57, Resulting Numbers: [7, 57]
Generated Node #0,0,3: 50:[7, 57] Operation: 40+17=57
Exploring Operation: 17-7=10, Resulting Numbers: [40, 10]
Generated Node #0,0,4: 50:[40, 10] Operation: 17-7=10
Moving to Node #0,0,0
Current State: 50:[7, 23], Operations: ['38-21=17', '40-17=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,50 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[7, 57], Operations: ['38-21=17', '40+17=57']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[38, 40, 21, 7], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [40, 7, 17]
Generated Node #0,0: 50:[40, 7, 17] Operation: 38-21=17
Moving to Node #0,0
Current State: 50:[40, 7, 17], Operations: ['38-21=17']
Exploring Operation: 40+17=57, Resulting Numbers: [7, 57]
Generated Node #0,0,3: 50:[7, 57] Operation: 40+17=57
Moving to Node #0,0,3
Current State: 50:[7, 57], Operations: ['38-21=17', '40+17=57']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
87,
67,
2,
29
] | 69 | [
"87-67=20",
"2*20=40",
"29+40=69"
] | Current State: 69:[87, 67, 2, 29], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [2, 29, 20]
Generated Node #2: [2, 29, 20] from Operation: 87-67=20
Current State: 69:[2, 29, 20], Operations: ['87-67=20']
Exploring Operation: 2*20=40, Resulting Numbers: [29, 40]
Generated Node #3: [29, 40] from Operation: 2*20=40
Current State: 69:[29, 40], Operations: ['87-67=20', '2*20=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[87, 67, 2, 29], Operations: []
Exploring Operation: 87-67=20, Resulting Numbers: [2, 29, 20]
Generated Node #0,0: 69:[2, 29, 20] Operation: 87-67=20
Exploring Operation: 87/29=3, Resulting Numbers: [67, 2, 3]
Generated Node #0,1: 69:[67, 2, 3] Operation: 87/29=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[67, 2, 3], Operations: ['87/29=3']
Exploring Operation: 67+3=70, Resulting Numbers: [2, 70]
Generated Node #0,1,0: 69:[2, 70] Operation: 67+3=70
Exploring Operation: 67+2=69, Resulting Numbers: [3, 69]
Generated Node #0,1,1: 69:[3, 69] Operation: 67+2=69
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[3, 69], Operations: ['87/29=3', '67+2=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,69 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[2, 70], Operations: ['87/29=3', '67+3=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,69 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 29, 20], Operations: ['87-67=20']
Exploring Operation: 29-2=27, Resulting Numbers: [20, 27]
Generated Node #0,0,0: 69:[20, 27] Operation: 29-2=27
Exploring Operation: 2+20=22, Resulting Numbers: [29, 22]
Generated Node #0,0,1: 69:[29, 22] Operation: 2+20=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[20, 27], Operations: ['87-67=20', '29-2=27']
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[29, 22], Operations: ['87-67=20', '2+20=22']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
17,
95,
93
] | 15 | [
"13+17=30",
"95-93=2",
"30/2=15"
] | Current State: 15:[13, 17, 95, 93], Operations: []
Exploring Operation: 13+17=30, Resulting Numbers: [95, 93, 30]
Generated Node #2: [95, 93, 30] from Operation: 13+17=30
Current State: 15:[95, 93, 30], Operations: ['13+17=30']
Exploring Operation: 95-93=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 95-93=2
Current State: 15:[30, 2], Operations: ['13+17=30', '95-93=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[13, 17, 95, 93], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [13, 17, 2]
Generated Node #0,0: 15:[13, 17, 2] Operation: 95-93=2
Exploring Operation: 95-17=78, Resulting Numbers: [13, 93, 78]
Generated Node #0,1: 15:[13, 93, 78] Operation: 95-17=78
Exploring Operation: 93-17=76, Resulting Numbers: [13, 95, 76]
Generated Node #0,2: 15:[13, 95, 76] Operation: 93-17=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[13, 17, 2], Operations: ['95-93=2']
Exploring Operation: 17-13=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 15:[2, 4] Operation: 17-13=4
Exploring Operation: 17-2=15, Resulting Numbers: [13, 15]
Generated Node #0,0,1: 15:[13, 15] Operation: 17-2=15
Exploring Operation: 13+2=15, Resulting Numbers: [17, 15]
Generated Node #0,0,2: 15:[17, 15] Operation: 13+2=15
Moving to Node #0,0,0
Current State: 15:[2, 4], Operations: ['95-93=2', '17-13=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[13, 15], Operations: ['95-93=2', '17-2=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,15 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[17, 15], Operations: ['95-93=2', '13+2=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,15 unequal: No Solution
Exploring Operation: 17-15=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,1
Current State: 15:[13, 93, 78], Operations: ['95-17=78']
Exploring Operation: 93-13=80, Resulting Numbers: [78, 80]
Generated Node #0,1,0: 15:[78, 80] Operation: 93-13=80
Exploring Operation: 93-78=15, Resulting Numbers: [13, 15]
Generated Node #0,1,1: 15:[13, 15] Operation: 93-78=15
Exploring Operation: 78/13=6, Resulting Numbers: [93, 6]
Generated Node #0,1,2: 15:[93, 6] Operation: 78/13=6
Moving to Node #0,1,1
Current State: 15:[13, 15], Operations: ['95-17=78', '93-78=15']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[93, 6], Operations: ['95-17=78', '78/13=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 93*6=558, Resulting Numbers: [558]
558,15 unequal: No Solution
Exploring Operation: 93+6=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[78, 80], Operations: ['95-17=78', '93-13=80']
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,15 unequal: No Solution
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[13, 95, 76], Operations: ['93-17=76']
Exploring Operation: 95-76=19, Resulting Numbers: [13, 19]
Generated Node #0,2,0: 15:[13, 19] Operation: 95-76=19
Exploring Operation: 76-13=63, Resulting Numbers: [95, 63]
Generated Node #0,2,1: 15:[95, 63] Operation: 76-13=63
Exploring Operation: 95-13=82, Resulting Numbers: [76, 82]
Generated Node #0,2,2: 15:[76, 82] Operation: 95-13=82
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[13, 19], Operations: ['93-17=76', '95-76=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,15 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[95, 63], Operations: ['93-17=76', '76-13=63']
Exploring Operation: 95+63=158, Resulting Numbers: [158]
158,15 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 95*63=5985, Resulting Numbers: [5985]
5985,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[76, 82], Operations: ['93-17=76', '95-13=82']
Exploring Operation: 76*82=6232, Resulting Numbers: [6232]
6232,15 unequal: No Solution
Exploring Operation: 82-76=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
17,
79,
69,
81
] | 89 | [
"79-69=10",
"17*10=170",
"170-81=89"
] | Current State: 89:[17, 79, 69, 81], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [17, 81, 10]
Generated Node #2: [17, 81, 10] from Operation: 79-69=10
Current State: 89:[17, 81, 10], Operations: ['79-69=10']
Exploring Operation: 17*10=170, Resulting Numbers: [81, 170]
Generated Node #3: [81, 170] from Operation: 17*10=170
Current State: 89:[81, 170], Operations: ['79-69=10', '17*10=170']
Exploring Operation: 170-81=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[17, 79, 69, 81], Operations: []
Exploring Operation: 17+69=86, Resulting Numbers: [79, 81, 86]
Generated Node #0,0: 89:[79, 81, 86] Operation: 17+69=86
Exploring Operation: 17+79=96, Resulting Numbers: [69, 81, 96]
Generated Node #0,1: 89:[69, 81, 96] Operation: 17+79=96
Exploring Operation: 17+81=98, Resulting Numbers: [79, 69, 98]
Generated Node #0,2: 89:[79, 69, 98] Operation: 17+81=98
Moving to Node #0,0
Current State: 89:[79, 81, 86], Operations: ['17+69=86']
Exploring Operation: 79+86=165, Resulting Numbers: [81, 165]
Generated Node #0,0,0: 89:[81, 165] Operation: 79+86=165
Exploring Operation: 81+86=167, Resulting Numbers: [79, 167]
Generated Node #0,0,1: 89:[79, 167] Operation: 81+86=167
Exploring Operation: 79+81=160, Resulting Numbers: [86, 160]
Generated Node #0,0,2: 89:[86, 160] Operation: 79+81=160
Moving to Node #0,1
Current State: 89:[69, 81, 96], Operations: ['17+79=96']
Exploring Operation: 96-69=27, Resulting Numbers: [81, 27]
Generated Node #0,1,0: 89:[81, 27] Operation: 96-69=27
Exploring Operation: 69+81=150, Resulting Numbers: [96, 150]
Generated Node #0,1,1: 89:[96, 150] Operation: 69+81=150
Exploring Operation: 81-69=12, Resulting Numbers: [96, 12]
Generated Node #0,1,2: 89:[96, 12] Operation: 81-69=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[96, 150], Operations: ['17+79=96', '69+81=150']
Exploring Operation: 96+150=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Exploring Operation: 96*150=14400, Resulting Numbers: [14400]
14400,89 unequal: No Solution
Exploring Operation: 150-96=54, Resulting Numbers: [54]
54,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[81, 27], Operations: ['17+79=96', '96-69=27']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,89 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[96, 12], Operations: ['17+79=96', '81-69=12']
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,89 unequal: No Solution
Exploring Operation: 96+12=108, Resulting Numbers: [108]
108,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 89:[79, 69, 98], Operations: ['17+81=98']
Exploring Operation: 98-69=29, Resulting Numbers: [79, 29]
Generated Node #0,2,0: 89:[79, 29] Operation: 98-69=29
Exploring Operation: 79+69=148, Resulting Numbers: [98, 148]
Generated Node #0,2,1: 89:[98, 148] Operation: 79+69=148
Exploring Operation: 79-69=10, Resulting Numbers: [98, 10]
Generated Node #0,2,2: 89:[98, 10] Operation: 79-69=10
Moving to Node #0,2,1
Current State: 89:[98, 148], Operations: ['17+81=98', '79+69=148']
Exploring Operation: 148-98=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 98*148=14504, Resulting Numbers: [14504]
14504,89 unequal: No Solution
Exploring Operation: 98+148=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[79, 29], Operations: ['17+81=98', '98-69=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,89 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[86, 160], Operations: ['17+69=86', '79+81=160']
Exploring Operation: 86+160=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Exploring Operation: 160-86=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 86*160=13760, Resulting Numbers: [13760]
13760,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[81, 165], Operations: ['17+69=86', '79+86=165']
Exploring Operation: 81*165=13365, Resulting Numbers: [13365]
13365,89 unequal: No Solution
Exploring Operation: 81+165=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Exploring Operation: 165-81=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[98, 10], Operations: ['17+81=98', '79-69=10']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[79, 167], Operations: ['17+69=86', '81+86=167']
Exploring Operation: 79*167=13193, Resulting Numbers: [13193]
13193,89 unequal: No Solution
Exploring Operation: 79+167=246, Resulting Numbers: [246]
246,89 unequal: No Solution
Exploring Operation: 167-79=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
75,
78,
14
] | 34 | [
"75-67=8",
"14*8=112",
"112-78=34"
] | Current State: 34:[67, 75, 78, 14], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [78, 14, 8]
Generated Node #2: [78, 14, 8] from Operation: 75-67=8
Current State: 34:[78, 14, 8], Operations: ['75-67=8']
Exploring Operation: 14*8=112, Resulting Numbers: [78, 112]
Generated Node #3: [78, 112] from Operation: 14*8=112
Current State: 34:[78, 112], Operations: ['75-67=8', '14*8=112']
Exploring Operation: 112-78=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[67, 75, 78, 14], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [78, 14, 8]
Generated Node #0,0: 34:[78, 14, 8] Operation: 75-67=8
Exploring Operation: 67-14=53, Resulting Numbers: [75, 78, 53]
Generated Node #0,1: 34:[75, 78, 53] Operation: 67-14=53
Exploring Operation: 78-67=11, Resulting Numbers: [75, 14, 11]
Generated Node #0,2: 34:[75, 14, 11] Operation: 78-67=11
Exploring Operation: 78-75=3, Resulting Numbers: [67, 14, 3]
Generated Node #0,3: 34:[67, 14, 3] Operation: 78-75=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 34:[67, 14, 3], Operations: ['78-75=3']
Exploring Operation: 67-14=53, Resulting Numbers: [3, 53]
Generated Node #0,3,0: 34:[3, 53] Operation: 67-14=53
Exploring Operation: 14+3=17, Resulting Numbers: [67, 17]
Generated Node #0,3,1: 34:[67, 17] Operation: 14+3=17
Exploring Operation: 67-3=64, Resulting Numbers: [14, 64]
Generated Node #0,3,2: 34:[14, 64] Operation: 67-3=64
Exploring Operation: 67+3=70, Resulting Numbers: [14, 70]
Generated Node #0,3,3: 34:[14, 70] Operation: 67+3=70
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 34:[3, 53], Operations: ['78-75=3', '67-14=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 34:[67, 17], Operations: ['78-75=3', '14+3=17']
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,34 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 34:[14, 64], Operations: ['78-75=3', '67-3=64']
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,34 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 34:[14, 70], Operations: ['78-75=3', '67+3=70']
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[75, 14, 11], Operations: ['78-67=11']
Exploring Operation: 75-14=61, Resulting Numbers: [11, 61]
Generated Node #0,2,0: 34:[11, 61] Operation: 75-14=61
Exploring Operation: 75-11=64, Resulting Numbers: [14, 64]
Generated Node #0,2,1: 34:[14, 64] Operation: 75-11=64
Exploring Operation: 14-11=3, Resulting Numbers: [75, 3]
Generated Node #0,2,2: 34:[75, 3] Operation: 14-11=3
Exploring Operation: 14+11=25, Resulting Numbers: [75, 25]
Generated Node #0,2,3: 34:[75, 25] Operation: 14+11=25
Moving to Node #0,2,0
Current State: 34:[11, 61], Operations: ['78-67=11', '75-14=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,34 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[14, 64], Operations: ['78-67=11', '75-11=64']
Exploring Operation: 14*64=896, Resulting Numbers: [896]
896,34 unequal: No Solution
Exploring Operation: 64-14=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[75, 3], Operations: ['78-67=11', '14-11=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,34 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[75, 25], Operations: ['78-67=11', '14+11=25']
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[78, 14, 8], Operations: ['75-67=8']
Exploring Operation: 14-8=6, Resulting Numbers: [78, 6]
Generated Node #0,0,0: 34:[78, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [78, 22]
Generated Node #0,0,1: 34:[78, 22] Operation: 14+8=22
Exploring Operation: 78-8=70, Resulting Numbers: [14, 70]
Generated Node #0,0,2: 34:[14, 70] Operation: 78-8=70
Exploring Operation: 78-14=64, Resulting Numbers: [8, 64]
Generated Node #0,0,3: 34:[8, 64] Operation: 78-14=64
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[8, 64], Operations: ['75-67=8', '78-14=64']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,34 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[14, 70], Operations: ['75-67=8', '78-8=70']
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,34 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[78, 6], Operations: ['75-67=8', '14-8=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,34 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[78, 22], Operations: ['75-67=8', '14+8=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[75, 78, 53], Operations: ['67-14=53']
Exploring Operation: 78-75=3, Resulting Numbers: [53, 3]
Generated Node #0,1,0: 34:[53, 3] Operation: 78-75=3
Exploring Operation: 75+78=153, Resulting Numbers: [53, 153]
Generated Node #0,1,1: 34:[53, 153] Operation: 75+78=153
Exploring Operation: 75-53=22, Resulting Numbers: [78, 22]
Generated Node #0,1,2: 34:[78, 22] Operation: 75-53=22
Exploring Operation: 78-53=25, Resulting Numbers: [75, 25]
Generated Node #0,1,3: 34:[75, 25] Operation: 78-53=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[53, 3], Operations: ['67-14=53', '78-75=3']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,34 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[78, 22], Operations: ['67-14=53', '75-53=22']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 78*22=1716, Resulting Numbers: [1716]
1716,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 34:[75, 25], Operations: ['67-14=53', '78-53=25']
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 75*25=1875, Resulting Numbers: [1875]
1875,34 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[53, 153], Operations: ['67-14=53', '75+78=153']
Exploring Operation: 53+153=206, Resulting Numbers: [206]
206,34 unequal: No Solution
Exploring Operation: 153-53=100, Resulting Numbers: [100]
100,34 unequal: No Solution
Exploring Operation: 53*153=8109, Resulting Numbers: [8109]
8109,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
47,
9,
29,
84
] | 57 | [
"47+9=56",
"29+84=113",
"113-56=57"
] | Current State: 57:[47, 9, 29, 84], Operations: []
Exploring Operation: 47+9=56, Resulting Numbers: [29, 84, 56]
Generated Node #2: [29, 84, 56] from Operation: 47+9=56
Current State: 57:[29, 84, 56], Operations: ['47+9=56']
Exploring Operation: 29+84=113, Resulting Numbers: [56, 113]
Generated Node #3: [56, 113] from Operation: 29+84=113
Current State: 57:[56, 113], Operations: ['47+9=56', '29+84=113']
Exploring Operation: 113-56=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[47, 9, 29, 84], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [9, 29, 37]
Generated Node #0,0: 57:[9, 29, 37] Operation: 84-47=37
Exploring Operation: 47-29=18, Resulting Numbers: [9, 84, 18]
Generated Node #0,1: 57:[9, 84, 18] Operation: 47-29=18
Exploring Operation: 47+9=56, Resulting Numbers: [29, 84, 56]
Generated Node #0,2: 57:[29, 84, 56] Operation: 47+9=56
Exploring Operation: 29-9=20, Resulting Numbers: [47, 84, 20]
Generated Node #0,3: 57:[47, 84, 20] Operation: 29-9=20
Exploring Operation: 84-29=55, Resulting Numbers: [47, 9, 55]
Generated Node #0,4: 57:[47, 9, 55] Operation: 84-29=55
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[47, 9, 55], Operations: ['84-29=55']
Exploring Operation: 55-47=8, Resulting Numbers: [9, 8]
Generated Node #0,4,0: 57:[9, 8] Operation: 55-47=8
Exploring Operation: 47+9=56, Resulting Numbers: [55, 56]
Generated Node #0,4,1: 57:[55, 56] Operation: 47+9=56
Exploring Operation: 9+55=64, Resulting Numbers: [47, 64]
Generated Node #0,4,2: 57:[47, 64] Operation: 9+55=64
Exploring Operation: 55-9=46, Resulting Numbers: [47, 46]
Generated Node #0,4,3: 57:[47, 46] Operation: 55-9=46
Exploring Operation: 47-9=38, Resulting Numbers: [55, 38]
Generated Node #0,4,4: 57:[55, 38] Operation: 47-9=38
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[55, 56], Operations: ['84-29=55', '47+9=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,57 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[9, 8], Operations: ['84-29=55', '55-47=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[47, 64], Operations: ['84-29=55', '9+55=64']
Exploring Operation: 47+64=111, Resulting Numbers: [111]
111,57 unequal: No Solution
Exploring Operation: 47*64=3008, Resulting Numbers: [3008]
3008,57 unequal: No Solution
Exploring Operation: 64-47=17, Resulting Numbers: [17]
17,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[47, 46], Operations: ['84-29=55', '55-9=46']
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,57 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[55, 38], Operations: ['84-29=55', '47-9=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,57 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[9, 29, 37], Operations: ['84-47=37']
Exploring Operation: 37-9=28, Resulting Numbers: [29, 28]
Generated Node #0,0,0: 57:[29, 28] Operation: 37-9=28
Exploring Operation: 29+37=66, Resulting Numbers: [9, 66]
Generated Node #0,0,1: 57:[9, 66] Operation: 29+37=66
Exploring Operation: 37-29=8, Resulting Numbers: [9, 8]
Generated Node #0,0,2: 57:[9, 8] Operation: 37-29=8
Exploring Operation: 29-9=20, Resulting Numbers: [37, 20]
Generated Node #0,0,3: 57:[37, 20] Operation: 29-9=20
Exploring Operation: 9+37=46, Resulting Numbers: [29, 46]
Generated Node #0,0,4: 57:[29, 46] Operation: 9+37=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[9, 8], Operations: ['84-47=37', '37-29=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[9, 66], Operations: ['84-47=37', '29+37=66']
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,57 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[47, 9, 29, 84], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [9, 29, 37]
Generated Node #0,0: 57:[9, 29, 37] Operation: 84-47=37
Moving to Node #0,0
Current State: 57:[9, 29, 37], Operations: ['84-47=37']
Exploring Operation: 29+37=66, Resulting Numbers: [9, 66]
Generated Node #0,0,1: 57:[9, 66] Operation: 29+37=66
Moving to Node #0,0,1
Current State: 57:[9, 66], Operations: ['84-47=37', '29+37=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
36,
77,
80,
76
] | 75 | [
"76-36=40",
"80/40=2",
"77-2=75"
] | Current State: 75:[36, 77, 80, 76], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [77, 80, 40]
Generated Node #2: [77, 80, 40] from Operation: 76-36=40
Current State: 75:[77, 80, 40], Operations: ['76-36=40']
Exploring Operation: 80/40=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 80/40=2
Current State: 75:[77, 2], Operations: ['76-36=40', '80/40=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[36, 77, 80, 76], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [36, 77, 4]
Generated Node #0,0: 75:[36, 77, 4] Operation: 80-76=4
Exploring Operation: 77-76=1, Resulting Numbers: [36, 80, 1]
Generated Node #0,1: 75:[36, 80, 1] Operation: 77-76=1
Exploring Operation: 80-77=3, Resulting Numbers: [36, 76, 3]
Generated Node #0,2: 75:[36, 76, 3] Operation: 80-77=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[36, 76, 3], Operations: ['80-77=3']
Exploring Operation: 36-3=33, Resulting Numbers: [76, 33]
Generated Node #0,2,0: 75:[76, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [76, 12]
Generated Node #0,2,1: 75:[76, 12] Operation: 36/3=12
Exploring Operation: 76-3=73, Resulting Numbers: [36, 73]
Generated Node #0,2,2: 75:[36, 73] Operation: 76-3=73
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[76, 12], Operations: ['80-77=3', '36/3=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,75 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,75 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,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,2,0
Current State: 75:[76, 33], Operations: ['80-77=3', '36-3=33']
Exploring Operation: 76*33=2508, Resulting Numbers: [2508]
2508,75 unequal: No Solution
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,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,2,2
Current State: 75:[36, 73], Operations: ['80-77=3', '76-3=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,75 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: 75:[36, 77, 4], Operations: ['80-76=4']
Exploring Operation: 77-4=73, Resulting Numbers: [36, 73]
Generated Node #0,0,0: 75:[36, 73] Operation: 77-4=73
Exploring Operation: 36/4=9, Resulting Numbers: [77, 9]
Generated Node #0,0,1: 75:[77, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [77, 32]
Generated Node #0,0,2: 75:[77, 32] Operation: 36-4=32
Moving to Node #0,0,1
Current State: 75:[77, 9], Operations: ['80-76=4', '36/4=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,75 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,75 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[77, 32], Operations: ['80-76=4', '36-4=32']
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,75 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[36, 73], Operations: ['80-76=4', '77-4=73']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,75 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[36, 80, 1], Operations: ['77-76=1']
Exploring Operation: 36-1=35, Resulting Numbers: [80, 35]
Generated Node #0,1,0: 75:[80, 35] Operation: 36-1=35
Exploring Operation: 36*1=36, Resulting Numbers: [80, 36]
Generated Node #0,1,1: 75:[80, 36] Operation: 36*1=36
Exploring Operation: 80-1=79, Resulting Numbers: [36, 79]
Generated Node #0,1,2: 75:[36, 79] Operation: 80-1=79
Moving to Node #0,1,0
Current State: 75:[80, 35], Operations: ['77-76=1', '36-1=35']
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,75 unequal: No Solution
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,75 unequal: No Solution
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[36, 79], Operations: ['77-76=1', '80-1=79']
Exploring Operation: 36+79=115, Resulting Numbers: [115]
115,75 unequal: No Solution
Exploring Operation: 36*79=2844, Resulting Numbers: [2844]
2844,75 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[80, 36], Operations: ['77-76=1', '36*1=36']
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,75 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,75 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 |
[
1,
70,
33,
72
] | 33 | [
"1+70=71",
"72-71=1",
"33*1=33"
] | Current State: 33:[1, 70, 33, 72], Operations: []
Exploring Operation: 1+70=71, Resulting Numbers: [33, 72, 71]
Generated Node #2: [33, 72, 71] from Operation: 1+70=71
Current State: 33:[33, 72, 71], Operations: ['1+70=71']
Exploring Operation: 72-71=1, Resulting Numbers: [33, 1]
Generated Node #3: [33, 1] from Operation: 72-71=1
Current State: 33:[33, 1], Operations: ['1+70=71', '72-71=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[1, 70, 33, 72], Operations: []
Exploring Operation: 72-33=39, Resulting Numbers: [1, 70, 39]
Generated Node #0,0: 33:[1, 70, 39] Operation: 72-33=39
Exploring Operation: 70-33=37, Resulting Numbers: [1, 72, 37]
Generated Node #0,1: 33:[1, 72, 37] Operation: 70-33=37
Exploring Operation: 72-70=2, Resulting Numbers: [1, 33, 2]
Generated Node #0,2: 33:[1, 33, 2] Operation: 72-70=2
Exploring Operation: 70-1=69, Resulting Numbers: [33, 72, 69]
Generated Node #0,3: 33:[33, 72, 69] Operation: 70-1=69
Exploring Operation: 72-1=71, Resulting Numbers: [70, 33, 71]
Generated Node #0,4: 33:[70, 33, 71] Operation: 72-1=71
Moving to Node #0,2
Current State: 33:[1, 33, 2], Operations: ['72-70=2']
Exploring Operation: 1*2=2, Resulting Numbers: [33, 2]
Generated Node #0,2,0: 33:[33, 2] Operation: 1*2=2
Exploring Operation: 1*33=33, Resulting Numbers: [2, 33]
Generated Node #0,2,1: 33:[2, 33] Operation: 1*33=33
Exploring Operation: 33/1=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 33:[2, 33] Operation: 33/1=33
Exploring Operation: 2/1=2, Resulting Numbers: [33, 2]
Generated Node #0,2,3: 33:[33, 2] Operation: 2/1=2
Exploring Operation: 1+2=3, Resulting Numbers: [33, 3]
Generated Node #0,2,4: 33:[33, 3] Operation: 1+2=3
Moving to Node #0,1
Current State: 33:[1, 72, 37], Operations: ['70-33=37']
Exploring Operation: 72/1=72, Resulting Numbers: [37, 72]
Generated Node #0,1,0: 33:[37, 72] Operation: 72/1=72
Exploring Operation: 72-1=71, Resulting Numbers: [37, 71]
Generated Node #0,1,1: 33:[37, 71] Operation: 72-1=71
Exploring Operation: 1*72=72, Resulting Numbers: [37, 72]
Generated Node #0,1,2: 33:[37, 72] Operation: 1*72=72
Exploring Operation: 37-1=36, Resulting Numbers: [72, 36]
Generated Node #0,1,3: 33:[72, 36] Operation: 37-1=36
Exploring Operation: 72-37=35, Resulting Numbers: [1, 35]
Generated Node #0,1,4: 33:[1, 35] Operation: 72-37=35
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 33:[1, 35], Operations: ['70-33=37', '72-37=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,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,1,1
Current State: 33:[37, 71], Operations: ['70-33=37', '72-1=71']
Exploring Operation: 37+71=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 37*71=2627, Resulting Numbers: [2627]
2627,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,1,3
Current State: 33:[72, 36], Operations: ['70-33=37', '37-1=36']
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,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,1,0
Current State: 33:[37, 72], Operations: ['70-33=37', '72/1=72']
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,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,1,2
Current State: 33:[37, 72], Operations: ['70-33=37', '1*72=72']
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,33 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: 33:[1, 70, 39], Operations: ['72-33=39']
Exploring Operation: 70/1=70, Resulting Numbers: [39, 70]
Generated Node #0,0,0: 33:[39, 70] Operation: 70/1=70
Exploring Operation: 39-1=38, Resulting Numbers: [70, 38]
Generated Node #0,0,1: 33:[70, 38] Operation: 39-1=38
Exploring Operation: 1*70=70, Resulting Numbers: [39, 70]
Generated Node #0,0,2: 33:[39, 70] Operation: 1*70=70
Exploring Operation: 70-1=69, Resulting Numbers: [39, 69]
Generated Node #0,0,3: 33:[39, 69] Operation: 70-1=69
Exploring Operation: 70-39=31, Resulting Numbers: [1, 31]
Generated Node #0,0,4: 33:[1, 31] Operation: 70-39=31
Moving to Node #0,3
Current State: 33:[33, 72, 69], Operations: ['70-1=69']
Exploring Operation: 72-33=39, Resulting Numbers: [69, 39]
Generated Node #0,3,0: 33:[69, 39] Operation: 72-33=39
Exploring Operation: 72-69=3, Resulting Numbers: [33, 3]
Generated Node #0,3,1: 33:[33, 3] Operation: 72-69=3
Exploring Operation: 33+72=105, Resulting Numbers: [69, 105]
Generated Node #0,3,2: 33:[69, 105] Operation: 33+72=105
Exploring Operation: 69-33=36, Resulting Numbers: [72, 36]
Generated Node #0,3,3: 33:[72, 36] Operation: 69-33=36
Exploring Operation: 33+69=102, Resulting Numbers: [72, 102]
Generated Node #0,3,4: 33:[72, 102] Operation: 33+69=102
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[33, 3], Operations: ['70-1=69', '72-69=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,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,0
Current State: 33:[69, 39], Operations: ['70-1=69', '72-33=39']
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,33 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,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,3
Current State: 33:[72, 36], Operations: ['70-1=69', '69-33=36']
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,33 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,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,2
Current State: 33:[69, 105], Operations: ['70-1=69', '33+72=105']
Exploring Operation: 69*105=7245, Resulting Numbers: [7245]
7245,33 unequal: No Solution
Exploring Operation: 69+105=174, Resulting Numbers: [174]
174,33 unequal: No Solution
Exploring Operation: 105-69=36, Resulting Numbers: [36]
36,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,4
Current State: 33:[72, 102], Operations: ['70-1=69', '33+69=102']
Exploring Operation: 102-72=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 72+102=174, Resulting Numbers: [174]
174,33 unequal: No Solution
Exploring Operation: 72*102=7344, Resulting Numbers: [7344]
7344,33 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: 33:[70, 33, 71], Operations: ['72-1=71']
Exploring Operation: 70-33=37, Resulting Numbers: [71, 37]
Generated Node #0,4,0: 33:[71, 37] Operation: 70-33=37
Exploring Operation: 70+71=141, Resulting Numbers: [33, 141]
Generated Node #0,4,1: 33:[33, 141] Operation: 70+71=141
Exploring Operation: 71-70=1, Resulting Numbers: [33, 1]
Generated Node #0,4,2: 33:[33, 1] Operation: 71-70=1
Exploring Operation: 71-33=38, Resulting Numbers: [70, 38]
Generated Node #0,4,3: 33:[70, 38] Operation: 71-33=38
Exploring Operation: 70+33=103, Resulting Numbers: [71, 103]
Generated Node #0,4,4: 33:[71, 103] Operation: 70+33=103
Moving to Node #0,2,4
Current State: 33:[33, 3], Operations: ['72-70=2', '1+2=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[2, 33], Operations: ['72-70=2', '1*33=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[33, 2], Operations: ['72-70=2', '1*2=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[33, 2], Operations: ['72-70=2', '2/1=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[2, 33], Operations: ['72-70=2', '33/1=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[33, 1], Operations: ['72-1=71', '71-70=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[1, 70, 33, 72], Operations: []
Exploring Operation: 72-1=71, Resulting Numbers: [70, 33, 71]
Generated Node #0,4: 33:[70, 33, 71] Operation: 72-1=71
Moving to Node #0,4
Current State: 33:[70, 33, 71], Operations: ['72-1=71']
Exploring Operation: 71-70=1, Resulting Numbers: [33, 1]
Generated Node #0,4,2: 33:[33, 1] Operation: 71-70=1
Moving to Node #0,4,2
Current State: 33:[33, 1], Operations: ['72-1=71', '71-70=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.925347 | hs_5 | sum_heuristic |
[
49,
65,
61,
75
] | 22 | [
"49+65=114",
"61+75=136",
"136-114=22"
] | Current State: 22:[49, 65, 61, 75], Operations: []
Exploring Operation: 49+65=114, Resulting Numbers: [61, 75, 114]
Generated Node #2: [61, 75, 114] from Operation: 49+65=114
Current State: 22:[61, 75, 114], Operations: ['49+65=114']
Exploring Operation: 61+75=136, Resulting Numbers: [114, 136]
Generated Node #3: [114, 136] from Operation: 61+75=136
Current State: 22:[114, 136], Operations: ['49+65=114', '61+75=136']
Exploring Operation: 136-114=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[49, 65, 61, 75], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [49, 61, 10]
Generated Node #0,0: 22:[49, 61, 10] Operation: 75-65=10
Exploring Operation: 65-49=16, Resulting Numbers: [61, 75, 16]
Generated Node #0,1: 22:[61, 75, 16] Operation: 65-49=16
Exploring Operation: 65-61=4, Resulting Numbers: [49, 75, 4]
Generated Node #0,2: 22:[49, 75, 4] Operation: 65-61=4
Exploring Operation: 75-49=26, Resulting Numbers: [65, 61, 26]
Generated Node #0,3: 22:[65, 61, 26] Operation: 75-49=26
Exploring Operation: 75-61=14, Resulting Numbers: [49, 65, 14]
Generated Node #0,4: 22:[49, 65, 14] Operation: 75-61=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[49, 61, 10], Operations: ['75-65=10']
Exploring Operation: 61+10=71, Resulting Numbers: [49, 71]
Generated Node #0,0,0: 22:[49, 71] Operation: 61+10=71
Exploring Operation: 61-10=51, Resulting Numbers: [49, 51]
Generated Node #0,0,1: 22:[49, 51] Operation: 61-10=51
Exploring Operation: 49+10=59, Resulting Numbers: [61, 59]
Generated Node #0,0,2: 22:[61, 59] Operation: 49+10=59
Exploring Operation: 49-10=39, Resulting Numbers: [61, 39]
Generated Node #0,0,3: 22:[61, 39] Operation: 49-10=39
Exploring Operation: 61-49=12, Resulting Numbers: [10, 12]
Generated Node #0,0,4: 22:[10, 12] Operation: 61-49=12
Moving to Node #0,0,4
Current State: 22:[10, 12], Operations: ['75-65=10', '61-49=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[49, 65, 61, 75], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [49, 61, 10]
Generated Node #0,0: 22:[49, 61, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 22:[49, 61, 10], Operations: ['75-65=10']
Exploring Operation: 61-49=12, Resulting Numbers: [10, 12]
Generated Node #0,0,4: 22:[10, 12] Operation: 61-49=12
Moving to Node #0,0,4
Current State: 22:[10, 12], Operations: ['75-65=10', '61-49=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
3,
85,
16,
48
] | 94 | [
"3*48=144",
"144/16=9",
"85+9=94"
] | Current State: 94:[3, 85, 16, 48], Operations: []
Exploring Operation: 3*48=144, Resulting Numbers: [85, 16, 144]
Generated Node #2: [85, 16, 144] from Operation: 3*48=144
Current State: 94:[85, 16, 144], Operations: ['3*48=144']
Exploring Operation: 144/16=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 144/16=9
Current State: 94:[85, 9], Operations: ['3*48=144', '144/16=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[3, 85, 16, 48], Operations: []
Exploring Operation: 85+16=101, Resulting Numbers: [3, 48, 101]
Generated Node #0,0: 94:[3, 48, 101] Operation: 85+16=101
Exploring Operation: 48/16=3, Resulting Numbers: [3, 85, 3]
Generated Node #0,1: 94:[3, 85, 3] Operation: 48/16=3
Exploring Operation: 3*16=48, Resulting Numbers: [85, 48, 48]
Generated Node #0,2: 94:[85, 48, 48] Operation: 3*16=48
Moving to Node #0,0
Current State: 94:[3, 48, 101], Operations: ['85+16=101']
Exploring Operation: 101-3=98, Resulting Numbers: [48, 98]
Generated Node #0,0,0: 94:[48, 98] Operation: 101-3=98
Exploring Operation: 48-3=45, Resulting Numbers: [101, 45]
Generated Node #0,0,1: 94:[101, 45] Operation: 48-3=45
Exploring Operation: 101-48=53, Resulting Numbers: [3, 53]
Generated Node #0,0,2: 94:[3, 53] Operation: 101-48=53
Moving to Node #0,1
Current State: 94:[3, 85, 3], Operations: ['48/16=3']
Exploring Operation: 3+85=88, Resulting Numbers: [3, 88]
Generated Node #0,1,0: 94:[3, 88] Operation: 3+85=88
Exploring Operation: 3/3=1, Resulting Numbers: [85, 1]
Generated Node #0,1,1: 94:[85, 1] Operation: 3/3=1
Exploring Operation: 85+3=88, Resulting Numbers: [3, 88]
Generated Node #0,1,2: 94:[3, 88] Operation: 85+3=88
Moving to Node #0,2
Current State: 94:[85, 48, 48], Operations: ['3*16=48']
Exploring Operation: 48/48=1, Resulting Numbers: [85, 1]
Generated Node #0,2,0: 94:[85, 1] Operation: 48/48=1
Exploring Operation: 85-48=37, Resulting Numbers: [48, 37]
Generated Node #0,2,1: 94:[48, 37] Operation: 85-48=37
Exploring Operation: 85-48=37, Resulting Numbers: [48, 37]
Generated Node #0,2,2: 94:[48, 37] Operation: 85-48=37
Moving to Node #0,0,0
Current State: 94:[48, 98], Operations: ['85+16=101', '101-3=98']
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 48*98=4704, Resulting Numbers: [4704]
4704,94 unequal: No Solution
Exploring Operation: 48+98=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[3, 53], Operations: ['85+16=101', '101-48=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,94 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[3, 88], Operations: ['48/16=3', '85+3=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[3, 88], Operations: ['48/16=3', '3+85=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,94 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[101, 45], Operations: ['85+16=101', '48-3=45']
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 101*45=4545, Resulting Numbers: [4545]
4545,94 unequal: No Solution
Exploring Operation: 101+45=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[85, 1], Operations: ['48/16=3', '3/3=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[85, 1], Operations: ['3*16=48', '48/48=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[48, 37], Operations: ['3*16=48', '85-48=37']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,94 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[48, 37], Operations: ['3*16=48', '85-48=37']
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,94 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,94 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
81,
4,
95,
21
] | 35 | [
"95-81=14",
"4*14=56",
"56-21=35"
] | Current State: 35:[81, 4, 95, 21], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [4, 21, 14]
Generated Node #2: [4, 21, 14] from Operation: 95-81=14
Current State: 35:[4, 21, 14], Operations: ['95-81=14']
Exploring Operation: 4*14=56, Resulting Numbers: [21, 56]
Generated Node #3: [21, 56] from Operation: 4*14=56
Current State: 35:[21, 56], Operations: ['95-81=14', '4*14=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[81, 4, 95, 21], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [4, 21, 14]
Generated Node #0,0: 35:[4, 21, 14] Operation: 95-81=14
Moving to Node #0,0
Current State: 35:[4, 21, 14], Operations: ['95-81=14']
Exploring Operation: 21+14=35, Resulting Numbers: [4, 35]
Generated Node #0,0,0: 35:[4, 35] Operation: 21+14=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[4, 35], Operations: ['95-81=14', '21+14=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,35 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 |
[
38,
3,
4,
59
] | 14 | [
"38+3=41",
"59-4=55",
"55-41=14"
] | Current State: 14:[38, 3, 4, 59], Operations: []
Exploring Operation: 38+3=41, Resulting Numbers: [4, 59, 41]
Generated Node #2: [4, 59, 41] from Operation: 38+3=41
Current State: 14:[4, 59, 41], Operations: ['38+3=41']
Exploring Operation: 59-4=55, Resulting Numbers: [41, 55]
Generated Node #3: [41, 55] from Operation: 59-4=55
Current State: 14:[41, 55], Operations: ['38+3=41', '59-4=55']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[38, 3, 4, 59], Operations: []
Exploring Operation: 38-4=34, Resulting Numbers: [3, 59, 34]
Generated Node #0,0: 14:[3, 59, 34] Operation: 38-4=34
Exploring Operation: 59-4=55, Resulting Numbers: [38, 3, 55]
Generated Node #0,1: 14:[38, 3, 55] Operation: 59-4=55
Exploring Operation: 59-38=21, Resulting Numbers: [3, 4, 21]
Generated Node #0,2: 14:[3, 4, 21] Operation: 59-38=21
Exploring Operation: 38-3=35, Resulting Numbers: [4, 59, 35]
Generated Node #0,3: 14:[4, 59, 35] Operation: 38-3=35
Moving to Node #0,2
Current State: 14:[3, 4, 21], Operations: ['59-38=21']
Exploring Operation: 21-4=17, Resulting Numbers: [3, 17]
Generated Node #0,2,0: 14:[3, 17] Operation: 21-4=17
Exploring Operation: 21-3=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 14:[4, 18] Operation: 21-3=18
Exploring Operation: 3+4=7, Resulting Numbers: [21, 7]
Generated Node #0,2,2: 14:[21, 7] Operation: 3+4=7
Exploring Operation: 21/3=7, Resulting Numbers: [4, 7]
Generated Node #0,2,3: 14:[4, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[4, 7], Operations: ['59-38=21', '21/3=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[3, 17], Operations: ['59-38=21', '21-4=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[38, 3, 4, 59], Operations: []
Exploring Operation: 59-38=21, Resulting Numbers: [3, 4, 21]
Generated Node #0,2: 14:[3, 4, 21] Operation: 59-38=21
Moving to Node #0,2
Current State: 14:[3, 4, 21], Operations: ['59-38=21']
Exploring Operation: 21-4=17, Resulting Numbers: [3, 17]
Generated Node #0,2,0: 14:[3, 17] Operation: 21-4=17
Moving to Node #0,2,0
Current State: 14:[3, 17], Operations: ['59-38=21', '21-4=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
7,
4,
61,
60
] | 27 | [
"7*4=28",
"61-60=1",
"28-1=27"
] | Current State: 27:[7, 4, 61, 60], Operations: []
Exploring Operation: 7*4=28, Resulting Numbers: [61, 60, 28]
Generated Node #2: [61, 60, 28] from Operation: 7*4=28
Current State: 27:[61, 60, 28], Operations: ['7*4=28']
Exploring Operation: 61-60=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 61-60=1
Current State: 27:[28, 1], Operations: ['7*4=28', '61-60=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[7, 4, 61, 60], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [7, 4, 1]
Generated Node #0,0: 27:[7, 4, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[7, 4, 1], Operations: ['61-60=1']
Exploring Operation: 7-4=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 27:[1, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[1, 3], Operations: ['61-60=1', '7-4=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
61,
63,
10
] | 60 | [
"63-61=2",
"10*2=20",
"80-20=60"
] | Current State: 60:[80, 61, 63, 10], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [80, 10, 2]
Generated Node #2: [80, 10, 2] from Operation: 63-61=2
Current State: 60:[80, 10, 2], Operations: ['63-61=2']
Exploring Operation: 10*2=20, Resulting Numbers: [80, 20]
Generated Node #3: [80, 20] from Operation: 10*2=20
Current State: 60:[80, 20], Operations: ['63-61=2', '10*2=20']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[80, 61, 63, 10], Operations: []
Exploring Operation: 80-63=17, Resulting Numbers: [61, 10, 17]
Generated Node #0,0: 60:[61, 10, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[61, 10, 17], Operations: ['80-63=17']
Exploring Operation: 17-10=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 60:[61, 7] Operation: 17-10=7
Moving to Node #0,0,0
Current State: 60:[61, 7], Operations: ['80-63=17', '17-10=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
2,
1,
50
] | 35 | [
"9+1=10",
"50/2=25",
"10+25=35"
] | Current State: 35:[9, 2, 1, 50], Operations: []
Exploring Operation: 9+1=10, Resulting Numbers: [2, 50, 10]
Generated Node #2: [2, 50, 10] from Operation: 9+1=10
Current State: 35:[2, 50, 10], Operations: ['9+1=10']
Exploring Operation: 50/2=25, Resulting Numbers: [10, 25]
Generated Node #3: [10, 25] from Operation: 50/2=25
Current State: 35:[10, 25], Operations: ['9+1=10', '50/2=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[9, 2, 1, 50], Operations: []
Exploring Operation: 50-9=41, Resulting Numbers: [2, 1, 41]
Generated Node #0,0: 35:[2, 1, 41] Operation: 50-9=41
Exploring Operation: 50/2=25, Resulting Numbers: [9, 1, 25]
Generated Node #0,1: 35:[9, 1, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[2, 1, 41], Operations: ['50-9=41']
Exploring Operation: 41-2=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 35:[1, 39] Operation: 41-2=39
Exploring Operation: 2+1=3, Resulting Numbers: [41, 3]
Generated Node #0,0,1: 35:[41, 3] Operation: 2+1=3
Moving to Node #0,0,0
Current State: 35:[1, 39], Operations: ['50-9=41', '41-2=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[41, 3], Operations: ['50-9=41', '2+1=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[9, 1, 25], Operations: ['50/2=25']
Exploring Operation: 9+25=34, Resulting Numbers: [1, 34]
Generated Node #0,1,0: 35:[1, 34] Operation: 9+25=34
Exploring Operation: 9-1=8, Resulting Numbers: [25, 8]
Generated Node #0,1,1: 35:[25, 8] Operation: 9-1=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[1, 34], Operations: ['50/2=25', '9+25=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[9, 2, 1, 50], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [9, 1, 25]
Generated Node #0,1: 35:[9, 1, 25] Operation: 50/2=25
Moving to Node #0,1
Current State: 35:[9, 1, 25], Operations: ['50/2=25']
Exploring Operation: 9+25=34, Resulting Numbers: [1, 34]
Generated Node #0,1,0: 35:[1, 34] Operation: 9+25=34
Moving to Node #0,1,0
Current State: 35:[1, 34], Operations: ['50/2=25', '9+25=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
5,
96,
31,
52
] | 18 | [
"5+96=101",
"31+52=83",
"101-83=18"
] | Current State: 18:[5, 96, 31, 52], Operations: []
Exploring Operation: 5+96=101, Resulting Numbers: [31, 52, 101]
Generated Node #2: [31, 52, 101] from Operation: 5+96=101
Current State: 18:[31, 52, 101], Operations: ['5+96=101']
Exploring Operation: 31+52=83, Resulting Numbers: [101, 83]
Generated Node #3: [101, 83] from Operation: 31+52=83
Current State: 18:[101, 83], Operations: ['5+96=101', '31+52=83']
Exploring Operation: 101-83=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[5, 96, 31, 52], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [5, 31, 44]
Generated Node #0,0: 18:[5, 31, 44] Operation: 96-52=44
Exploring Operation: 96-31=65, Resulting Numbers: [5, 52, 65]
Generated Node #0,1: 18:[5, 52, 65] Operation: 96-31=65
Moving to Node #0,0
Current State: 18:[5, 31, 44], Operations: ['96-52=44']
Exploring Operation: 31-5=26, Resulting Numbers: [44, 26]
Generated Node #0,0,0: 18:[44, 26] Operation: 31-5=26
Exploring Operation: 44-31=13, Resulting Numbers: [5, 13]
Generated Node #0,0,1: 18:[5, 13] Operation: 44-31=13
Moving to Node #0,1
Current State: 18:[5, 52, 65], Operations: ['96-31=65']
Exploring Operation: 65-52=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 18:[5, 13] Operation: 65-52=13
Exploring Operation: 65/5=13, Resulting Numbers: [52, 13]
Generated Node #0,1,1: 18:[52, 13] Operation: 65/5=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[5, 13], Operations: ['96-31=65', '65-52=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[5, 96, 31, 52], Operations: []
Exploring Operation: 96-31=65, Resulting Numbers: [5, 52, 65]
Generated Node #0,1: 18:[5, 52, 65] Operation: 96-31=65
Moving to Node #0,1
Current State: 18:[5, 52, 65], Operations: ['96-31=65']
Exploring Operation: 65-52=13, Resulting Numbers: [5, 13]
Generated Node #0,1,0: 18:[5, 13] Operation: 65-52=13
Moving to Node #0,1,0
Current State: 18:[5, 13], Operations: ['96-31=65', '65-52=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
70,
14,
57,
1
] | 28 | [
"70+14=84",
"57-1=56",
"84-56=28"
] | Current State: 28:[70, 14, 57, 1], Operations: []
Exploring Operation: 70+14=84, Resulting Numbers: [57, 1, 84]
Generated Node #2: [57, 1, 84] from Operation: 70+14=84
Current State: 28:[57, 1, 84], Operations: ['70+14=84']
Exploring Operation: 57-1=56, Resulting Numbers: [84, 56]
Generated Node #3: [84, 56] from Operation: 57-1=56
Current State: 28:[84, 56], Operations: ['70+14=84', '57-1=56']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[70, 14, 57, 1], Operations: []
Exploring Operation: 70-14=56, Resulting Numbers: [57, 1, 56]
Generated Node #0,0: 28:[57, 1, 56] Operation: 70-14=56
Exploring Operation: 70/14=5, Resulting Numbers: [57, 1, 5]
Generated Node #0,1: 28:[57, 1, 5] Operation: 70/14=5
Exploring Operation: 70-57=13, Resulting Numbers: [14, 1, 13]
Generated Node #0,2: 28:[14, 1, 13] Operation: 70-57=13
Moving to Node #0,2
Current State: 28:[14, 1, 13], Operations: ['70-57=13']
Exploring Operation: 14*1=14, Resulting Numbers: [13, 14]
Generated Node #0,2,0: 28:[13, 14] Operation: 14*1=14
Exploring Operation: 14/1=14, Resulting Numbers: [13, 14]
Generated Node #0,2,1: 28:[13, 14] Operation: 14/1=14
Exploring Operation: 1+13=14, Resulting Numbers: [14, 14]
Generated Node #0,2,2: 28:[14, 14] Operation: 1+13=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[14, 14], Operations: ['70-57=13', '1+13=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[70, 14, 57, 1], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [14, 1, 13]
Generated Node #0,2: 28:[14, 1, 13] Operation: 70-57=13
Moving to Node #0,2
Current State: 28:[14, 1, 13], Operations: ['70-57=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14, 14]
Generated Node #0,2,2: 28:[14, 14] Operation: 1+13=14
Moving to Node #0,2,2
Current State: 28:[14, 14], Operations: ['70-57=13', '1+13=14']
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
84,
72,
26,
66
] | 72 | [
"84+72=156",
"156/26=6",
"66+6=72"
] | Current State: 72:[84, 72, 26, 66], Operations: []
Exploring Operation: 84+72=156, Resulting Numbers: [26, 66, 156]
Generated Node #2: [26, 66, 156] from Operation: 84+72=156
Current State: 72:[26, 66, 156], Operations: ['84+72=156']
Exploring Operation: 156/26=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 156/26=6
Current State: 72:[66, 6], Operations: ['84+72=156', '156/26=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[84, 72, 26, 66], Operations: []
Exploring Operation: 84-26=58, Resulting Numbers: [72, 66, 58]
Generated Node #0,0: 72:[72, 66, 58] Operation: 84-26=58
Exploring Operation: 66-26=40, Resulting Numbers: [84, 72, 40]
Generated Node #0,1: 72:[84, 72, 40] Operation: 66-26=40
Exploring Operation: 72-66=6, Resulting Numbers: [84, 26, 6]
Generated Node #0,2: 72:[84, 26, 6] Operation: 72-66=6
Exploring Operation: 84-66=18, Resulting Numbers: [72, 26, 18]
Generated Node #0,3: 72:[72, 26, 18] Operation: 84-66=18
Exploring Operation: 84-72=12, Resulting Numbers: [26, 66, 12]
Generated Node #0,4: 72:[26, 66, 12] Operation: 84-72=12
Moving to Node #0,3
Current State: 72:[72, 26, 18], Operations: ['84-66=18']
Exploring Operation: 26-18=8, Resulting Numbers: [72, 8]
Generated Node #0,3,0: 72:[72, 8] Operation: 26-18=8
Exploring Operation: 72/18=4, Resulting Numbers: [26, 4]
Generated Node #0,3,1: 72:[26, 4] Operation: 72/18=4
Exploring Operation: 72-26=46, Resulting Numbers: [18, 46]
Generated Node #0,3,2: 72:[18, 46] Operation: 72-26=46
Exploring Operation: 72+18=90, Resulting Numbers: [26, 90]
Generated Node #0,3,3: 72:[26, 90] Operation: 72+18=90
Exploring Operation: 26+18=44, Resulting Numbers: [72, 44]
Generated Node #0,3,4: 72:[72, 44] Operation: 26+18=44
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 72:[72, 8], Operations: ['84-66=18', '26-18=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,72 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,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,3,1
Current State: 72:[26, 4], Operations: ['84-66=18', '72/18=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,72 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,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,3,4
Current State: 72:[72, 44], Operations: ['84-66=18', '26+18=44']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,72 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,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,3,2
Current State: 72:[18, 46], Operations: ['84-66=18', '72-26=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,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,3,3
Current State: 72:[26, 90], Operations: ['84-66=18', '72+18=90']
Exploring Operation: 26*90=2340, Resulting Numbers: [2340]
2340,72 unequal: No Solution
Exploring Operation: 26+90=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,72 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: 72:[26, 66, 12], Operations: ['84-72=12']
Exploring Operation: 66-26=40, Resulting Numbers: [12, 40]
Generated Node #0,4,0: 72:[12, 40] Operation: 66-26=40
Exploring Operation: 26-12=14, Resulting Numbers: [66, 14]
Generated Node #0,4,1: 72:[66, 14] Operation: 26-12=14
Exploring Operation: 26+66=92, Resulting Numbers: [12, 92]
Generated Node #0,4,2: 72:[12, 92] Operation: 26+66=92
Exploring Operation: 26+12=38, Resulting Numbers: [66, 38]
Generated Node #0,4,3: 72:[66, 38] Operation: 26+12=38
Exploring Operation: 66+12=78, Resulting Numbers: [26, 78]
Generated Node #0,4,4: 72:[26, 78] Operation: 66+12=78
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 72:[12, 40], Operations: ['84-72=12', '66-26=40']
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,72 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 72:[66, 14], Operations: ['84-72=12', '26-12=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,72 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 72:[66, 38], Operations: ['84-72=12', '26+12=38']
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,72 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 72:[26, 78], Operations: ['84-72=12', '66+12=78']
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,72 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 72:[12, 92], Operations: ['84-72=12', '26+66=92']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 12+92=104, Resulting Numbers: [104]
104,72 unequal: No Solution
Exploring Operation: 12*92=1104, Resulting Numbers: [1104]
1104,72 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: 72:[84, 26, 6], Operations: ['72-66=6']
Exploring Operation: 26-6=20, Resulting Numbers: [84, 20]
Generated Node #0,2,0: 72:[84, 20] Operation: 26-6=20
Exploring Operation: 84-6=78, Resulting Numbers: [26, 78]
Generated Node #0,2,1: 72:[26, 78] Operation: 84-6=78
Exploring Operation: 84-26=58, Resulting Numbers: [6, 58]
Generated Node #0,2,2: 72:[6, 58] Operation: 84-26=58
Exploring Operation: 84/6=14, Resulting Numbers: [26, 14]
Generated Node #0,2,3: 72:[26, 14] Operation: 84/6=14
Exploring Operation: 26+6=32, Resulting Numbers: [84, 32]
Generated Node #0,2,4: 72:[84, 32] Operation: 26+6=32
Moving to Node #0,1
Current State: 72:[84, 72, 40], Operations: ['66-26=40']
Exploring Operation: 84-72=12, Resulting Numbers: [40, 12]
Generated Node #0,1,0: 72:[40, 12] Operation: 84-72=12
Exploring Operation: 72-40=32, Resulting Numbers: [84, 32]
Generated Node #0,1,1: 72:[84, 32] Operation: 72-40=32
Exploring Operation: 84-40=44, Resulting Numbers: [72, 44]
Generated Node #0,1,2: 72:[72, 44] Operation: 84-40=44
Exploring Operation: 84+40=124, Resulting Numbers: [72, 124]
Generated Node #0,1,3: 72:[72, 124] Operation: 84+40=124
Exploring Operation: 72+40=112, Resulting Numbers: [84, 112]
Generated Node #0,1,4: 72:[84, 112] Operation: 72+40=112
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[40, 12], Operations: ['66-26=40', '84-72=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,72 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,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,2
Current State: 72:[72, 44], Operations: ['66-26=40', '84-40=44']
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,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:[84, 32], Operations: ['66-26=40', '72-40=32']
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,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,3
Current State: 72:[72, 124], Operations: ['66-26=40', '84+40=124']
Exploring Operation: 72*124=8928, Resulting Numbers: [8928]
8928,72 unequal: No Solution
Exploring Operation: 72+124=196, Resulting Numbers: [196]
196,72 unequal: No Solution
Exploring Operation: 124-72=52, Resulting Numbers: [52]
52,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,4
Current State: 72:[84, 112], Operations: ['66-26=40', '72+40=112']
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 84*112=9408, Resulting Numbers: [9408]
9408,72 unequal: No Solution
Exploring Operation: 84+112=196, Resulting Numbers: [196]
196,72 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: 72:[72, 66, 58], Operations: ['84-26=58']
Exploring Operation: 72-66=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 72:[58, 6] Operation: 72-66=6
Exploring Operation: 66-58=8, Resulting Numbers: [72, 8]
Generated Node #0,0,1: 72:[72, 8] Operation: 66-58=8
Exploring Operation: 66+58=124, Resulting Numbers: [72, 124]
Generated Node #0,0,2: 72:[72, 124] Operation: 66+58=124
Exploring Operation: 72-58=14, Resulting Numbers: [66, 14]
Generated Node #0,0,3: 72:[66, 14] Operation: 72-58=14
Exploring Operation: 72+58=130, Resulting Numbers: [66, 130]
Generated Node #0,0,4: 72:[66, 130] Operation: 72+58=130
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[72, 8], Operations: ['84-26=58', '66-58=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,72 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,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,0,3
Current State: 72:[66, 14], Operations: ['84-26=58', '72-58=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,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,0,0
Current State: 72:[58, 6], Operations: ['84-26=58', '72-66=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,72 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,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,0,2
Current State: 72:[72, 124], Operations: ['84-26=58', '66+58=124']
Exploring Operation: 72+124=196, Resulting Numbers: [196]
196,72 unequal: No Solution
Exploring Operation: 124-72=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 72*124=8928, Resulting Numbers: [8928]
8928,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,0,4
Current State: 72:[66, 130], Operations: ['84-26=58', '72+58=130']
Exploring Operation: 66*130=8580, Resulting Numbers: [8580]
8580,72 unequal: No Solution
Exploring Operation: 66+130=196, Resulting Numbers: [196]
196,72 unequal: No Solution
Exploring Operation: 130-66=64, Resulting Numbers: [64]
64,72 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: 72:[26, 14], Operations: ['72-66=6', '84/6=14']
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,72 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[26, 78], Operations: ['72-66=6', '84-6=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,72 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[84, 20], Operations: ['72-66=6', '26-6=20']
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,72 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[6, 58], Operations: ['72-66=6', '84-26=58']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,72 unequal: No Solution
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[84, 32], Operations: ['72-66=6', '26+6=32']
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,72 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
92,
31,
52,
26
] | 35 | [
"92-31=61",
"52-26=26",
"61-26=35"
] | Current State: 35:[92, 31, 52, 26], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [52, 26, 61]
Generated Node #2: [52, 26, 61] from Operation: 92-31=61
Current State: 35:[52, 26, 61], Operations: ['92-31=61']
Exploring Operation: 52-26=26, Resulting Numbers: [61, 26]
Generated Node #3: [61, 26] from Operation: 52-26=26
Current State: 35:[61, 26], Operations: ['92-31=61', '52-26=26']
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[92, 31, 52, 26], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [31, 52, 66]
Generated Node #0,0: 35:[31, 52, 66] Operation: 92-26=66
Exploring Operation: 92-31=61, Resulting Numbers: [52, 26, 61]
Generated Node #0,1: 35:[52, 26, 61] Operation: 92-31=61
Exploring Operation: 92-52=40, Resulting Numbers: [31, 26, 40]
Generated Node #0,2: 35:[31, 26, 40] Operation: 92-52=40
Moving to Node #0,2
Current State: 35:[31, 26, 40], Operations: ['92-52=40']
Exploring Operation: 40-31=9, Resulting Numbers: [26, 9]
Generated Node #0,2,0: 35:[26, 9] Operation: 40-31=9
Exploring Operation: 31-26=5, Resulting Numbers: [40, 5]
Generated Node #0,2,1: 35:[40, 5] Operation: 31-26=5
Exploring Operation: 40-26=14, Resulting Numbers: [31, 14]
Generated Node #0,2,2: 35:[31, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[40, 5], Operations: ['92-52=40', '31-26=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,35 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[92, 31, 52, 26], Operations: []
Exploring Operation: 92-52=40, Resulting Numbers: [31, 26, 40]
Generated Node #0,2: 35:[31, 26, 40] Operation: 92-52=40
Moving to Node #0,2
Current State: 35:[31, 26, 40], Operations: ['92-52=40']
Exploring Operation: 31-26=5, Resulting Numbers: [40, 5]
Generated Node #0,2,1: 35:[40, 5] Operation: 31-26=5
Moving to Node #0,2,1
Current State: 35:[40, 5], Operations: ['92-52=40', '31-26=5']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
76,
14,
69,
3
] | 85 | [
"76-14=62",
"69/3=23",
"62+23=85"
] | Current State: 85:[76, 14, 69, 3], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [69, 3, 62]
Generated Node #2: [69, 3, 62] from Operation: 76-14=62
Current State: 85:[69, 3, 62], Operations: ['76-14=62']
Exploring Operation: 69/3=23, Resulting Numbers: [62, 23]
Generated Node #3: [62, 23] from Operation: 69/3=23
Current State: 85:[62, 23], Operations: ['76-14=62', '69/3=23']
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[76, 14, 69, 3], Operations: []
Exploring Operation: 14+69=83, Resulting Numbers: [76, 3, 83]
Generated Node #0,0: 85:[76, 3, 83] Operation: 14+69=83
Exploring Operation: 69/3=23, Resulting Numbers: [76, 14, 23]
Generated Node #0,1: 85:[76, 14, 23] Operation: 69/3=23
Exploring Operation: 76+3=79, Resulting Numbers: [14, 69, 79]
Generated Node #0,2: 85:[14, 69, 79] Operation: 76+3=79
Exploring Operation: 76-69=7, Resulting Numbers: [14, 3, 7]
Generated Node #0,3: 85:[14, 3, 7] Operation: 76-69=7
Exploring Operation: 76+14=90, Resulting Numbers: [69, 3, 90]
Generated Node #0,4: 85:[69, 3, 90] Operation: 76+14=90
Moving to Node #0,3
Current State: 85:[14, 3, 7], Operations: ['76-69=7']
Exploring Operation: 14+7=21, Resulting Numbers: [3, 21]
Generated Node #0,3,0: 85:[3, 21] Operation: 14+7=21
Exploring Operation: 14+3=17, Resulting Numbers: [7, 17]
Generated Node #0,3,1: 85:[7, 17] Operation: 14+3=17
Exploring Operation: 14-7=7, Resulting Numbers: [3, 7]
Generated Node #0,3,2: 85:[3, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [3, 2]
Generated Node #0,3,3: 85:[3, 2] Operation: 14/7=2
Exploring Operation: 7-3=4, Resulting Numbers: [14, 4]
Generated Node #0,3,4: 85:[14, 4] Operation: 7-3=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[7, 17], Operations: ['76-69=7', '14+3=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,85 unequal: No Solution
No 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: 85:[3, 7], Operations: ['76-69=7', '14-7=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 85:[14, 4], Operations: ['76-69=7', '7-3=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No 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: 85:[3, 2], Operations: ['76-69=7', '14/7=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No 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: 85:[3, 21], Operations: ['76-69=7', '14+7=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,85 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: 85:[76, 3, 83], Operations: ['14+69=83']
Exploring Operation: 76-3=73, Resulting Numbers: [83, 73]
Generated Node #0,0,0: 85:[83, 73] Operation: 76-3=73
Exploring Operation: 83-76=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 85:[3, 7] Operation: 83-76=7
Exploring Operation: 83-3=80, Resulting Numbers: [76, 80]
Generated Node #0,0,2: 85:[76, 80] Operation: 83-3=80
Exploring Operation: 76+3=79, Resulting Numbers: [83, 79]
Generated Node #0,0,3: 85:[83, 79] Operation: 76+3=79
Exploring Operation: 3+83=86, Resulting Numbers: [76, 86]
Generated Node #0,0,4: 85:[76, 86] Operation: 3+83=86
Moving to Node #0,1
Current State: 85:[76, 14, 23], Operations: ['69/3=23']
Exploring Operation: 76-14=62, Resulting Numbers: [23, 62]
Generated Node #0,1,0: 85:[23, 62] Operation: 76-14=62
Exploring Operation: 76+14=90, Resulting Numbers: [23, 90]
Generated Node #0,1,1: 85:[23, 90] Operation: 76+14=90
Exploring Operation: 23-14=9, Resulting Numbers: [76, 9]
Generated Node #0,1,2: 85:[76, 9] Operation: 23-14=9
Exploring Operation: 14+23=37, Resulting Numbers: [76, 37]
Generated Node #0,1,3: 85:[76, 37] Operation: 14+23=37
Exploring Operation: 76+23=99, Resulting Numbers: [14, 99]
Generated Node #0,1,4: 85:[14, 99] Operation: 76+23=99
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[23, 90], Operations: ['69/3=23', '76+14=90']
Exploring Operation: 23+90=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 23*90=2070, Resulting Numbers: [2070]
2070,85 unequal: No Solution
No 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: 85:[76, 9], Operations: ['69/3=23', '23-14=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[76, 14, 69, 3], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [76, 14, 23]
Generated Node #0,1: 85:[76, 14, 23] Operation: 69/3=23
Moving to Node #0,1
Current State: 85:[76, 14, 23], Operations: ['69/3=23']
Exploring Operation: 23-14=9, Resulting Numbers: [76, 9]
Generated Node #0,1,2: 85:[76, 9] Operation: 23-14=9
Moving to Node #0,1,2
Current State: 85:[76, 9], Operations: ['69/3=23', '23-14=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
49,
53,
10,
86
] | 26 | [
"49+53=102",
"86-10=76",
"102-76=26"
] | Current State: 26:[49, 53, 10, 86], Operations: []
Exploring Operation: 49+53=102, Resulting Numbers: [10, 86, 102]
Generated Node #2: [10, 86, 102] from Operation: 49+53=102
Current State: 26:[10, 86, 102], Operations: ['49+53=102']
Exploring Operation: 86-10=76, Resulting Numbers: [102, 76]
Generated Node #3: [102, 76] from Operation: 86-10=76
Current State: 26:[102, 76], Operations: ['49+53=102', '86-10=76']
Exploring Operation: 102-76=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[49, 53, 10, 86], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [53, 10, 37]
Generated Node #0,0: 26:[53, 10, 37] Operation: 86-49=37
Exploring Operation: 53-49=4, Resulting Numbers: [10, 86, 4]
Generated Node #0,1: 26:[10, 86, 4] Operation: 53-49=4
Exploring Operation: 86-53=33, Resulting Numbers: [49, 10, 33]
Generated Node #0,2: 26:[49, 10, 33] Operation: 86-53=33
Exploring Operation: 49-10=39, Resulting Numbers: [53, 86, 39]
Generated Node #0,3: 26:[53, 86, 39] Operation: 49-10=39
Moving to Node #0,2
Current State: 26:[49, 10, 33], Operations: ['86-53=33']
Exploring Operation: 49+10=59, Resulting Numbers: [33, 59]
Generated Node #0,2,0: 26:[33, 59] Operation: 49+10=59
Exploring Operation: 49-10=39, Resulting Numbers: [33, 39]
Generated Node #0,2,1: 26:[33, 39] Operation: 49-10=39
Exploring Operation: 33-10=23, Resulting Numbers: [49, 23]
Generated Node #0,2,2: 26:[49, 23] Operation: 33-10=23
Exploring Operation: 49-33=16, Resulting Numbers: [10, 16]
Generated Node #0,2,3: 26:[10, 16] Operation: 49-33=16
Moving to Node #0,0
Current State: 26:[53, 10, 37], Operations: ['86-49=37']
Exploring Operation: 53-37=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 26:[10, 16] Operation: 53-37=16
Exploring Operation: 37-10=27, Resulting Numbers: [53, 27]
Generated Node #0,0,1: 26:[53, 27] Operation: 37-10=27
Exploring Operation: 53-10=43, Resulting Numbers: [37, 43]
Generated Node #0,0,2: 26:[37, 43] Operation: 53-10=43
Exploring Operation: 53+10=63, Resulting Numbers: [37, 63]
Generated Node #0,0,3: 26:[37, 63] Operation: 53+10=63
Moving to Node #0,1
Current State: 26:[10, 86, 4], Operations: ['53-49=4']
Exploring Operation: 86-10=76, Resulting Numbers: [4, 76]
Generated Node #0,1,0: 26:[4, 76] Operation: 86-10=76
Exploring Operation: 10-4=6, Resulting Numbers: [86, 6]
Generated Node #0,1,1: 26:[86, 6] Operation: 10-4=6
Exploring Operation: 86-4=82, Resulting Numbers: [10, 82]
Generated Node #0,1,2: 26:[10, 82] Operation: 86-4=82
Exploring Operation: 10+4=14, Resulting Numbers: [86, 14]
Generated Node #0,1,3: 26:[86, 14] Operation: 10+4=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[4, 76], Operations: ['53-49=4', '86-10=76']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,26 unequal: No Solution
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[10, 82], Operations: ['53-49=4', '86-4=82']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 10+82=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 10*82=820, Resulting Numbers: [820]
820,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[86, 14], Operations: ['53-49=4', '10+4=14']
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[86, 6], Operations: ['53-49=4', '10-4=6']
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,26 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 26:[53, 86, 39], Operations: ['49-10=39']
Exploring Operation: 86-53=33, Resulting Numbers: [39, 33]
Generated Node #0,3,0: 26:[39, 33] Operation: 86-53=33
Exploring Operation: 53+86=139, Resulting Numbers: [39, 139]
Generated Node #0,3,1: 26:[39, 139] Operation: 53+86=139
Exploring Operation: 53-39=14, Resulting Numbers: [86, 14]
Generated Node #0,3,2: 26:[86, 14] Operation: 53-39=14
Exploring Operation: 86-39=47, Resulting Numbers: [53, 47]
Generated Node #0,3,3: 26:[53, 47] Operation: 86-39=47
Moving to Node #0,2,3
Current State: 26:[10, 16], Operations: ['86-53=33', '49-33=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[49, 53, 10, 86], Operations: []
Exploring Operation: 86-53=33, Resulting Numbers: [49, 10, 33]
Generated Node #0,2: 26:[49, 10, 33] Operation: 86-53=33
Moving to Node #0,2
Current State: 26:[49, 10, 33], Operations: ['86-53=33']
Exploring Operation: 49-33=16, Resulting Numbers: [10, 16]
Generated Node #0,2,3: 26:[10, 16] Operation: 49-33=16
Moving to Node #0,2,3
Current State: 26:[10, 16], Operations: ['86-53=33', '49-33=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
59,
23,
81,
53
] | 53 | [
"59+23=82",
"82-81=1",
"53*1=53"
] | Current State: 53:[59, 23, 81, 53], Operations: []
Exploring Operation: 59+23=82, Resulting Numbers: [81, 53, 82]
Generated Node #2: [81, 53, 82] from Operation: 59+23=82
Current State: 53:[81, 53, 82], Operations: ['59+23=82']
Exploring Operation: 82-81=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 82-81=1
Current State: 53:[53, 1], Operations: ['59+23=82', '82-81=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[59, 23, 81, 53], Operations: []
Exploring Operation: 59+23=82, Resulting Numbers: [81, 53, 82]
Generated Node #0,0: 53:[81, 53, 82] Operation: 59+23=82
Exploring Operation: 81-23=58, Resulting Numbers: [59, 53, 58]
Generated Node #0,1: 53:[59, 53, 58] Operation: 81-23=58
Exploring Operation: 59-23=36, Resulting Numbers: [81, 53, 36]
Generated Node #0,2: 53:[81, 53, 36] Operation: 59-23=36
Exploring Operation: 23+81=104, Resulting Numbers: [59, 53, 104]
Generated Node #0,3: 53:[59, 53, 104] Operation: 23+81=104
Exploring Operation: 23+53=76, Resulting Numbers: [59, 81, 76]
Generated Node #0,4: 53:[59, 81, 76] Operation: 23+53=76
Moving to Node #0,1
Current State: 53:[59, 53, 58], Operations: ['81-23=58']
Exploring Operation: 59-53=6, Resulting Numbers: [58, 6]
Generated Node #0,1,0: 53:[58, 6] Operation: 59-53=6
Exploring Operation: 58-53=5, Resulting Numbers: [59, 5]
Generated Node #0,1,1: 53:[59, 5] Operation: 58-53=5
Exploring Operation: 59+53=112, Resulting Numbers: [58, 112]
Generated Node #0,1,2: 53:[58, 112] Operation: 59+53=112
Exploring Operation: 59-58=1, Resulting Numbers: [53, 1]
Generated Node #0,1,3: 53:[53, 1] Operation: 59-58=1
Exploring Operation: 59+58=117, Resulting Numbers: [53, 117]
Generated Node #0,1,4: 53:[53, 117] Operation: 59+58=117
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[58, 6], Operations: ['81-23=58', '59-53=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,53 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,53 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[53, 1], Operations: ['81-23=58', '59-58=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[59, 23, 81, 53], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [59, 53, 58]
Generated Node #0,1: 53:[59, 53, 58] Operation: 81-23=58
Moving to Node #0,1
Current State: 53:[59, 53, 58], Operations: ['81-23=58']
Exploring Operation: 59-58=1, Resulting Numbers: [53, 1]
Generated Node #0,1,3: 53:[53, 1] Operation: 59-58=1
Moving to Node #0,1,3
Current State: 53:[53, 1], Operations: ['81-23=58', '59-58=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
2,
96,
84,
51
] | 61 | [
"96-2=94",
"84-51=33",
"94-33=61"
] | Current State: 61:[2, 96, 84, 51], Operations: []
Exploring Operation: 96-2=94, Resulting Numbers: [84, 51, 94]
Generated Node #2: [84, 51, 94] from Operation: 96-2=94
Current State: 61:[84, 51, 94], Operations: ['96-2=94']
Exploring Operation: 84-51=33, Resulting Numbers: [94, 33]
Generated Node #3: [94, 33] from Operation: 84-51=33
Current State: 61:[94, 33], Operations: ['96-2=94', '84-51=33']
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[2, 96, 84, 51], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [84, 51, 48]
Generated Node #0,0: 61:[84, 51, 48] Operation: 96/2=48
Exploring Operation: 96-2=94, Resulting Numbers: [84, 51, 94]
Generated Node #0,1: 61:[84, 51, 94] Operation: 96-2=94
Exploring Operation: 84/2=42, Resulting Numbers: [96, 51, 42]
Generated Node #0,2: 61:[96, 51, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[84, 51, 48], Operations: ['96/2=48']
Exploring Operation: 84-48=36, Resulting Numbers: [51, 36]
Generated Node #0,0,0: 61:[51, 36] Operation: 84-48=36
Exploring Operation: 51+48=99, Resulting Numbers: [84, 99]
Generated Node #0,0,1: 61:[84, 99] Operation: 51+48=99
Exploring Operation: 84-51=33, Resulting Numbers: [48, 33]
Generated Node #0,0,2: 61:[48, 33] Operation: 84-51=33
Moving to Node #0,0,0
Current State: 61:[51, 36], Operations: ['96/2=48', '84-48=36']
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,61 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[48, 33], Operations: ['96/2=48', '84-51=33']
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[84, 99], Operations: ['96/2=48', '51+48=99']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 84*99=8316, Resulting Numbers: [8316]
8316,61 unequal: No Solution
Exploring Operation: 84+99=183, Resulting Numbers: [183]
183,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,2
Current State: 61:[96, 51, 42], Operations: ['84/2=42']
Exploring Operation: 51+42=93, Resulting Numbers: [96, 93]
Generated Node #0,2,0: 61:[96, 93] Operation: 51+42=93
Exploring Operation: 96-51=45, Resulting Numbers: [42, 45]
Generated Node #0,2,1: 61:[42, 45] Operation: 96-51=45
Exploring Operation: 96-42=54, Resulting Numbers: [51, 54]
Generated Node #0,2,2: 61:[51, 54] Operation: 96-42=54
Moving to Node #0,2,2
Current State: 61:[51, 54], Operations: ['84/2=42', '96-42=54']
Exploring Operation: 51+54=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 51*54=2754, Resulting Numbers: [2754]
2754,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[42, 45], Operations: ['84/2=42', '96-51=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[96, 93], Operations: ['84/2=42', '51+42=93']
Exploring Operation: 96+93=189, Resulting Numbers: [189]
189,61 unequal: No Solution
Exploring Operation: 96*93=8928, Resulting Numbers: [8928]
8928,61 unequal: No Solution
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,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
Current State: 61:[84, 51, 94], Operations: ['96-2=94']
Exploring Operation: 84-51=33, Resulting Numbers: [94, 33]
Generated Node #0,1,0: 61:[94, 33] Operation: 84-51=33
Exploring Operation: 94-51=43, Resulting Numbers: [84, 43]
Generated Node #0,1,1: 61:[84, 43] Operation: 94-51=43
Exploring Operation: 94-84=10, Resulting Numbers: [51, 10]
Generated Node #0,1,2: 61:[51, 10] Operation: 94-84=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[84, 43], Operations: ['96-2=94', '94-51=43']
Exploring Operation: 84+43=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,61 unequal: No Solution
Exploring Operation: 84*43=3612, Resulting Numbers: [3612]
3612,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[94, 33], Operations: ['96-2=94', '84-51=33']
Exploring Operation: 94*33=3102, Resulting Numbers: [3102]
3102,61 unequal: No Solution
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[2, 96, 84, 51], Operations: []
Exploring Operation: 96-2=94, Resulting Numbers: [84, 51, 94]
Generated Node #0,1: 61:[84, 51, 94] Operation: 96-2=94
Moving to Node #0,1
Current State: 61:[84, 51, 94], Operations: ['96-2=94']
Exploring Operation: 84-51=33, Resulting Numbers: [94, 33]
Generated Node #0,1,0: 61:[94, 33] Operation: 84-51=33
Moving to Node #0,1,0
Current State: 61:[94, 33], Operations: ['96-2=94', '84-51=33']
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | mult_heuristic |
[
94,
84,
33,
64
] | 21 | [
"94-84=10",
"64-33=31",
"31-10=21"
] | Current State: 21:[94, 84, 33, 64], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [33, 64, 10]
Generated Node #2: [33, 64, 10] from Operation: 94-84=10
Current State: 21:[33, 64, 10], Operations: ['94-84=10']
Exploring Operation: 64-33=31, Resulting Numbers: [10, 31]
Generated Node #3: [10, 31] from Operation: 64-33=31
Current State: 21:[10, 31], Operations: ['94-84=10', '64-33=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[94, 84, 33, 64], Operations: []
Exploring Operation: 94-33=61, Resulting Numbers: [84, 64, 61]
Generated Node #0,0: 21:[84, 64, 61] Operation: 94-33=61
Exploring Operation: 84-33=51, Resulting Numbers: [94, 64, 51]
Generated Node #0,1: 21:[94, 64, 51] Operation: 84-33=51
Exploring Operation: 94-84=10, Resulting Numbers: [33, 64, 10]
Generated Node #0,2: 21:[33, 64, 10] Operation: 94-84=10
Exploring Operation: 84-64=20, Resulting Numbers: [94, 33, 20]
Generated Node #0,3: 21:[94, 33, 20] Operation: 84-64=20
Exploring Operation: 94-64=30, Resulting Numbers: [84, 33, 30]
Generated Node #0,4: 21:[84, 33, 30] Operation: 94-64=30
Moving to Node #0,2
Current State: 21:[33, 64, 10], Operations: ['94-84=10']
Exploring Operation: 33-10=23, Resulting Numbers: [64, 23]
Generated Node #0,2,0: 21:[64, 23] Operation: 33-10=23
Exploring Operation: 64+10=74, Resulting Numbers: [33, 74]
Generated Node #0,2,1: 21:[33, 74] Operation: 64+10=74
Exploring Operation: 64-33=31, Resulting Numbers: [10, 31]
Generated Node #0,2,2: 21:[10, 31] Operation: 64-33=31
Exploring Operation: 64-10=54, Resulting Numbers: [33, 54]
Generated Node #0,2,3: 21:[33, 54] Operation: 64-10=54
Exploring Operation: 33+10=43, Resulting Numbers: [64, 43]
Generated Node #0,2,4: 21:[64, 43] Operation: 33+10=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[10, 31], Operations: ['94-84=10', '64-33=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,21 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[94, 84, 33, 64], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [33, 64, 10]
Generated Node #0,2: 21:[33, 64, 10] Operation: 94-84=10
Moving to Node #0,2
Current State: 21:[33, 64, 10], Operations: ['94-84=10']
Exploring Operation: 64-33=31, Resulting Numbers: [10, 31]
Generated Node #0,2,2: 21:[10, 31] Operation: 64-33=31
Moving to Node #0,2,2
Current State: 21:[10, 31], Operations: ['94-84=10', '64-33=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
62,
82,
3,
66
] | 89 | [
"82-62=20",
"3+66=69",
"20+69=89"
] | Current State: 89:[62, 82, 3, 66], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [3, 66, 20]
Generated Node #2: [3, 66, 20] from Operation: 82-62=20
Current State: 89:[3, 66, 20], Operations: ['82-62=20']
Exploring Operation: 3+66=69, Resulting Numbers: [20, 69]
Generated Node #3: [20, 69] from Operation: 3+66=69
Current State: 89:[20, 69], Operations: ['82-62=20', '3+66=69']
Exploring Operation: 20+69=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[62, 82, 3, 66], Operations: []
Exploring Operation: 62+3=65, Resulting Numbers: [82, 66, 65]
Generated Node #0,0: 89:[82, 66, 65] Operation: 62+3=65
Exploring Operation: 82-3=79, Resulting Numbers: [62, 66, 79]
Generated Node #0,1: 89:[62, 66, 79] Operation: 82-3=79
Exploring Operation: 3+66=69, Resulting Numbers: [62, 82, 69]
Generated Node #0,2: 89:[62, 82, 69] Operation: 3+66=69
Exploring Operation: 82+3=85, Resulting Numbers: [62, 66, 85]
Generated Node #0,3: 89:[62, 66, 85] Operation: 82+3=85
Exploring Operation: 62-3=59, Resulting Numbers: [82, 66, 59]
Generated Node #0,4: 89:[82, 66, 59] Operation: 62-3=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[82, 66, 65], Operations: ['62+3=65']
Exploring Operation: 66-65=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 89:[82, 1] Operation: 66-65=1
Exploring Operation: 82+66=148, Resulting Numbers: [65, 148]
Generated Node #0,0,1: 89:[65, 148] Operation: 82+66=148
Exploring Operation: 82+65=147, Resulting Numbers: [66, 147]
Generated Node #0,0,2: 89:[66, 147] Operation: 82+65=147
Exploring Operation: 82-65=17, Resulting Numbers: [66, 17]
Generated Node #0,0,3: 89:[66, 17] Operation: 82-65=17
Exploring Operation: 66+65=131, Resulting Numbers: [82, 131]
Generated Node #0,0,4: 89:[82, 131] Operation: 66+65=131
Moving to Node #0,0,4
Current State: 89:[82, 131], Operations: ['62+3=65', '66+65=131']
Exploring Operation: 82+131=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 82*131=10742, Resulting Numbers: [10742]
10742,89 unequal: No Solution
Exploring Operation: 131-82=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[66, 147], Operations: ['62+3=65', '82+65=147']
Exploring Operation: 66*147=9702, Resulting Numbers: [9702]
9702,89 unequal: No Solution
Exploring Operation: 66+147=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 147-66=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[65, 148], Operations: ['62+3=65', '82+66=148']
Exploring Operation: 65+148=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 65*148=9620, Resulting Numbers: [9620]
9620,89 unequal: No Solution
Exploring Operation: 148-65=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[82, 1], Operations: ['62+3=65', '66-65=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,89 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[66, 17], Operations: ['62+3=65', '82-65=17']
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,89 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[62, 82, 69], Operations: ['3+66=69']
Exploring Operation: 62+69=131, Resulting Numbers: [82, 131]
Generated Node #0,2,0: 89:[82, 131] Operation: 62+69=131
Exploring Operation: 62+82=144, Resulting Numbers: [69, 144]
Generated Node #0,2,1: 89:[69, 144] Operation: 62+82=144
Exploring Operation: 82-62=20, Resulting Numbers: [69, 20]
Generated Node #0,2,2: 89:[69, 20] Operation: 82-62=20
Exploring Operation: 82+69=151, Resulting Numbers: [62, 151]
Generated Node #0,2,3: 89:[62, 151] Operation: 82+69=151
Exploring Operation: 69-62=7, Resulting Numbers: [82, 7]
Generated Node #0,2,4: 89:[82, 7] Operation: 69-62=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[82, 131], Operations: ['3+66=69', '62+69=131']
Exploring Operation: 82*131=10742, Resulting Numbers: [10742]
10742,89 unequal: No Solution
Exploring Operation: 82+131=213, Resulting Numbers: [213]
213,89 unequal: No Solution
Exploring Operation: 131-82=49, Resulting Numbers: [49]
49,89 unequal: No Solution
No 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: 89:[69, 144], Operations: ['3+66=69', '62+82=144']
Exploring Operation: 69*144=9936, Resulting Numbers: [9936]
9936,89 unequal: No Solution
Exploring Operation: 144-69=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 69+144=213, Resulting Numbers: [213]
213,89 unequal: No Solution
No 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: 89:[69, 20], Operations: ['3+66=69', '82-62=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[62, 82, 3, 66], Operations: []
Exploring Operation: 3+66=69, Resulting Numbers: [62, 82, 69]
Generated Node #0,2: 89:[62, 82, 69] Operation: 3+66=69
Moving to Node #0,2
Current State: 89:[62, 82, 69], Operations: ['3+66=69']
Exploring Operation: 82-62=20, Resulting Numbers: [69, 20]
Generated Node #0,2,2: 89:[69, 20] Operation: 82-62=20
Moving to Node #0,2,2
Current State: 89:[69, 20], Operations: ['3+66=69', '82-62=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
11,
86,
44,
58
] | 61 | [
"86-11=75",
"58-44=14",
"75-14=61"
] | Current State: 61:[11, 86, 44, 58], Operations: []
Exploring Operation: 86-11=75, Resulting Numbers: [44, 58, 75]
Generated Node #2: [44, 58, 75] from Operation: 86-11=75
Current State: 61:[44, 58, 75], Operations: ['86-11=75']
Exploring Operation: 58-44=14, Resulting Numbers: [75, 14]
Generated Node #3: [75, 14] from Operation: 58-44=14
Current State: 61:[75, 14], Operations: ['86-11=75', '58-44=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[11, 86, 44, 58], Operations: []
Exploring Operation: 86-11=75, Resulting Numbers: [44, 58, 75]
Generated Node #0,0: 61:[44, 58, 75] Operation: 86-11=75
Exploring Operation: 11+44=55, Resulting Numbers: [86, 58, 55]
Generated Node #0,1: 61:[86, 58, 55] Operation: 11+44=55
Exploring Operation: 11+58=69, Resulting Numbers: [86, 44, 69]
Generated Node #0,2: 61:[86, 44, 69] Operation: 11+58=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[44, 58, 75], Operations: ['86-11=75']
Exploring Operation: 75-44=31, Resulting Numbers: [58, 31]
Generated Node #0,0,0: 61:[58, 31] Operation: 75-44=31
Exploring Operation: 44+58=102, Resulting Numbers: [75, 102]
Generated Node #0,0,1: 61:[75, 102] Operation: 44+58=102
Exploring Operation: 58-44=14, Resulting Numbers: [75, 14]
Generated Node #0,0,2: 61:[75, 14] Operation: 58-44=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[58, 31], Operations: ['86-11=75', '75-44=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,61 unequal: No Solution
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,61 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[75, 102], Operations: ['86-11=75', '44+58=102']
Exploring Operation: 75*102=7650, Resulting Numbers: [7650]
7650,61 unequal: No Solution
Exploring Operation: 75+102=177, Resulting Numbers: [177]
177,61 unequal: No Solution
Exploring Operation: 102-75=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[75, 14], Operations: ['86-11=75', '58-44=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[11, 86, 44, 58], Operations: []
Exploring Operation: 86-11=75, Resulting Numbers: [44, 58, 75]
Generated Node #0,0: 61:[44, 58, 75] Operation: 86-11=75
Moving to Node #0,0
Current State: 61:[44, 58, 75], Operations: ['86-11=75']
Exploring Operation: 58-44=14, Resulting Numbers: [75, 14]
Generated Node #0,0,2: 61:[75, 14] Operation: 58-44=14
Moving to Node #0,0,2
Current State: 61:[75, 14], Operations: ['86-11=75', '58-44=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
8,
68,
20,
20
] | 100 | [
"68-8=60",
"20+20=40",
"60+40=100"
] | Current State: 100:[8, 68, 20, 20], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [20, 20, 60]
Generated Node #2: [20, 20, 60] from Operation: 68-8=60
Current State: 100:[20, 20, 60], Operations: ['68-8=60']
Exploring Operation: 20+20=40, Resulting Numbers: [60, 40]
Generated Node #3: [60, 40] from Operation: 20+20=40
Current State: 100:[60, 40], Operations: ['68-8=60', '20+20=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[8, 68, 20, 20], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [8, 20, 48]
Generated Node #0,0: 100:[8, 20, 48] Operation: 68-20=48
Exploring Operation: 68-20=48, Resulting Numbers: [8, 20, 48]
Generated Node #0,1: 100:[8, 20, 48] Operation: 68-20=48
Moving to Node #0,0
Current State: 100:[8, 20, 48], Operations: ['68-20=48']
Exploring Operation: 48/8=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 100:[20, 6] Operation: 48/8=6
Exploring Operation: 20-8=12, Resulting Numbers: [48, 12]
Generated Node #0,0,1: 100:[48, 12] Operation: 20-8=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[20, 6], Operations: ['68-20=48', '48/8=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[48, 12], Operations: ['68-20=48', '20-8=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,100 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: 100:[8, 20, 48], Operations: ['68-20=48']
Exploring Operation: 48/8=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 100:[20, 6] Operation: 48/8=6
Exploring Operation: 20-8=12, Resulting Numbers: [48, 12]
Generated Node #0,1,1: 100:[48, 12] Operation: 20-8=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[20, 6], Operations: ['68-20=48', '48/8=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[48, 12], Operations: ['68-20=48', '20-8=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,100 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 |
[
61,
40,
24,
94
] | 97 | [
"61-40=21",
"24+94=118",
"118-21=97"
] | Current State: 97:[61, 40, 24, 94], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [24, 94, 21]
Generated Node #2: [24, 94, 21] from Operation: 61-40=21
Current State: 97:[24, 94, 21], Operations: ['61-40=21']
Exploring Operation: 24+94=118, Resulting Numbers: [21, 118]
Generated Node #3: [21, 118] from Operation: 24+94=118
Current State: 97:[21, 118], Operations: ['61-40=21', '24+94=118']
Exploring Operation: 118-21=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[61, 40, 24, 94], Operations: []
Exploring Operation: 61+24=85, Resulting Numbers: [40, 94, 85]
Generated Node #0,0: 97:[40, 94, 85] Operation: 61+24=85
Exploring Operation: 61+40=101, Resulting Numbers: [24, 94, 101]
Generated Node #0,1: 97:[24, 94, 101] Operation: 61+40=101
Exploring Operation: 40+24=64, Resulting Numbers: [61, 94, 64]
Generated Node #0,2: 97:[61, 94, 64] Operation: 40+24=64
Moving to Node #0,0
Current State: 97:[40, 94, 85], Operations: ['61+24=85']
Exploring Operation: 40+94=134, Resulting Numbers: [85, 134]
Generated Node #0,0,0: 97:[85, 134] Operation: 40+94=134
Exploring Operation: 94-40=54, Resulting Numbers: [85, 54]
Generated Node #0,0,1: 97:[85, 54] Operation: 94-40=54
Exploring Operation: 40+85=125, Resulting Numbers: [94, 125]
Generated Node #0,0,2: 97:[94, 125] Operation: 40+85=125
Moving to Node #0,2
Current State: 97:[61, 94, 64], Operations: ['40+24=64']
Exploring Operation: 61+64=125, Resulting Numbers: [94, 125]
Generated Node #0,2,0: 97:[94, 125] Operation: 61+64=125
Exploring Operation: 61+94=155, Resulting Numbers: [64, 155]
Generated Node #0,2,1: 97:[64, 155] Operation: 61+94=155
Exploring Operation: 94-61=33, Resulting Numbers: [64, 33]
Generated Node #0,2,2: 97:[64, 33] Operation: 94-61=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[94, 125], Operations: ['40+24=64', '61+64=125']
Exploring Operation: 94+125=219, Resulting Numbers: [219]
219,97 unequal: No Solution
Exploring Operation: 94*125=11750, Resulting Numbers: [11750]
11750,97 unequal: No Solution
Exploring Operation: 125-94=31, Resulting Numbers: [31]
31,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:[64, 155], Operations: ['40+24=64', '61+94=155']
Exploring Operation: 64*155=9920, Resulting Numbers: [9920]
9920,97 unequal: No Solution
Exploring Operation: 155-64=91, Resulting Numbers: [91]
91,97 unequal: No Solution
Exploring Operation: 64+155=219, Resulting Numbers: [219]
219,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,2
Current State: 97:[64, 33], Operations: ['40+24=64', '94-61=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[61, 40, 24, 94], Operations: []
Exploring Operation: 40+24=64, Resulting Numbers: [61, 94, 64]
Generated Node #0,2: 97:[61, 94, 64] Operation: 40+24=64
Moving to Node #0,2
Current State: 97:[61, 94, 64], Operations: ['40+24=64']
Exploring Operation: 94-61=33, Resulting Numbers: [64, 33]
Generated Node #0,2,2: 97:[64, 33] Operation: 94-61=33
Moving to Node #0,2,2
Current State: 97:[64, 33], Operations: ['40+24=64', '94-61=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
81,
54,
31,
45
] | 49 | [
"81-54=27",
"31+45=76",
"76-27=49"
] | Current State: 49:[81, 54, 31, 45], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [31, 45, 27]
Generated Node #2: [31, 45, 27] from Operation: 81-54=27
Current State: 49:[31, 45, 27], Operations: ['81-54=27']
Exploring Operation: 31+45=76, Resulting Numbers: [27, 76]
Generated Node #3: [27, 76] from Operation: 31+45=76
Current State: 49:[27, 76], Operations: ['81-54=27', '31+45=76']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[81, 54, 31, 45], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [54, 45, 50]
Generated Node #0,0: 49:[54, 45, 50] Operation: 81-31=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[54, 45, 50], Operations: ['81-31=50']
Exploring Operation: 54-45=9, Resulting Numbers: [50, 9]
Generated Node #0,0,0: 49:[50, 9] Operation: 54-45=9
Moving to Node #0,0,0
Current State: 49:[50, 9], Operations: ['81-31=50', '54-45=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,49 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,
4,
30,
14
] | 45 | [
"17+4=21",
"30*21=630",
"630/14=45"
] | Current State: 45:[17, 4, 30, 14], Operations: []
Exploring Operation: 17+4=21, Resulting Numbers: [30, 14, 21]
Generated Node #2: [30, 14, 21] from Operation: 17+4=21
Current State: 45:[30, 14, 21], Operations: ['17+4=21']
Exploring Operation: 30*21=630, Resulting Numbers: [14, 630]
Generated Node #3: [14, 630] from Operation: 30*21=630
Current State: 45:[14, 630], Operations: ['17+4=21', '30*21=630']
Exploring Operation: 630/14=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[17, 4, 30, 14], Operations: []
Exploring Operation: 17+30=47, Resulting Numbers: [4, 14, 47]
Generated Node #0,0: 45:[4, 14, 47] Operation: 17+30=47
Exploring Operation: 30-17=13, Resulting Numbers: [4, 14, 13]
Generated Node #0,1: 45:[4, 14, 13] Operation: 30-17=13
Exploring Operation: 4+30=34, Resulting Numbers: [17, 14, 34]
Generated Node #0,2: 45:[17, 14, 34] Operation: 4+30=34
Exploring Operation: 30-14=16, Resulting Numbers: [17, 4, 16]
Generated Node #0,3: 45:[17, 4, 16] Operation: 30-14=16
Exploring Operation: 30+14=44, Resulting Numbers: [17, 4, 44]
Generated Node #0,4: 45:[17, 4, 44] Operation: 30+14=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[4, 14, 47], Operations: ['17+30=47']
Exploring Operation: 4+14=18, Resulting Numbers: [47, 18]
Generated Node #0,0,0: 45:[47, 18] Operation: 4+14=18
Exploring Operation: 47-4=43, Resulting Numbers: [14, 43]
Generated Node #0,0,1: 45:[14, 43] Operation: 47-4=43
Exploring Operation: 14-4=10, Resulting Numbers: [47, 10]
Generated Node #0,0,2: 45:[47, 10] Operation: 14-4=10
Exploring Operation: 4+47=51, Resulting Numbers: [14, 51]
Generated Node #0,0,3: 45:[14, 51] Operation: 4+47=51
Exploring Operation: 4*14=56, Resulting Numbers: [47, 56]
Generated Node #0,0,4: 45:[47, 56] Operation: 4*14=56
Moving to Node #0,0,1
Current State: 45:[14, 43], Operations: ['17+30=47', '47-4=43']
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,45 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[47, 10], Operations: ['17+30=47', '14-4=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,45 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[47, 18], Operations: ['17+30=47', '4+14=18']
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,45 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[14, 51], Operations: ['17+30=47', '4+47=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[47, 56], Operations: ['17+30=47', '4*14=56']
Exploring Operation: 47+56=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 47*56=2632, Resulting Numbers: [2632]
2632,45 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[4, 14, 13], Operations: ['30-17=13']
Exploring Operation: 13-4=9, Resulting Numbers: [14, 9]
Generated Node #0,1,0: 45:[14, 9] Operation: 13-4=9
Exploring Operation: 4+14=18, Resulting Numbers: [13, 18]
Generated Node #0,1,1: 45:[13, 18] Operation: 4+14=18
Exploring Operation: 14-4=10, Resulting Numbers: [13, 10]
Generated Node #0,1,2: 45:[13, 10] Operation: 14-4=10
Exploring Operation: 14-13=1, Resulting Numbers: [4, 1]
Generated Node #0,1,3: 45:[4, 1] Operation: 14-13=1
Exploring Operation: 4+13=17, Resulting Numbers: [14, 17]
Generated Node #0,1,4: 45:[14, 17] Operation: 4+13=17
Moving to Node #0,1,0
Current State: 45:[14, 9], Operations: ['30-17=13', '13-4=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,45 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[4, 1], Operations: ['30-17=13', '14-13=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[13, 10], Operations: ['30-17=13', '14-4=10']
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,45 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Moving to Node #0,1,4
Current State: 45:[14, 17], Operations: ['30-17=13', '4+13=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[13, 18], Operations: ['30-17=13', '4+14=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[17, 4, 16], Operations: ['30-14=16']
Exploring Operation: 16-4=12, Resulting Numbers: [17, 12]
Generated Node #0,3,0: 45:[17, 12] Operation: 16-4=12
Exploring Operation: 17-16=1, Resulting Numbers: [4, 1]
Generated Node #0,3,1: 45:[4, 1] Operation: 17-16=1
Exploring Operation: 17+4=21, Resulting Numbers: [16, 21]
Generated Node #0,3,2: 45:[16, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [16, 13]
Generated Node #0,3,3: 45:[16, 13] Operation: 17-4=13
Exploring Operation: 16/4=4, Resulting Numbers: [17, 4]
Generated Node #0,3,4: 45:[17, 4] Operation: 16/4=4
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 45:[4, 1], Operations: ['30-14=16', '17-16=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 45:[16, 13], Operations: ['30-14=16', '17-4=13']
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,45 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 45:[17, 4], Operations: ['30-14=16', '16/4=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[17, 12], Operations: ['30-14=16', '16-4=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,45 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 45:[16, 21], Operations: ['30-14=16', '17+4=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 45:[17, 4, 44], Operations: ['30+14=44']
Exploring Operation: 44/4=11, Resulting Numbers: [17, 11]
Generated Node #0,4,0: 45:[17, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [17, 40]
Generated Node #0,4,1: 45:[17, 40] Operation: 44-4=40
Exploring Operation: 4+44=48, Resulting Numbers: [17, 48]
Generated Node #0,4,2: 45:[17, 48] Operation: 4+44=48
Exploring Operation: 17+4=21, Resulting Numbers: [44, 21]
Generated Node #0,4,3: 45:[44, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [44, 13]
Generated Node #0,4,4: 45:[44, 13] Operation: 17-4=13
Moving to Node #0,4,4
Current State: 45:[44, 13], Operations: ['30+14=44', '17-4=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[17, 11], Operations: ['30+14=44', '44/4=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,45 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[17, 48], Operations: ['30+14=44', '4+44=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,45 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[17, 40], Operations: ['30+14=44', '44-4=40']
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[44, 21], Operations: ['30+14=44', '17+4=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[17, 14, 34], Operations: ['4+30=34']
Exploring Operation: 34-17=17, Resulting Numbers: [14, 17]
Generated Node #0,2,0: 45:[14, 17] Operation: 34-17=17
Exploring Operation: 17+34=51, Resulting Numbers: [14, 51]
Generated Node #0,2,1: 45:[14, 51] Operation: 17+34=51
Exploring Operation: 34-14=20, Resulting Numbers: [17, 20]
Generated Node #0,2,2: 45:[17, 20] Operation: 34-14=20
Exploring Operation: 14+34=48, Resulting Numbers: [17, 48]
Generated Node #0,2,3: 45:[17, 48] Operation: 14+34=48
Exploring Operation: 34/17=2, Resulting Numbers: [14, 2]
Generated Node #0,2,4: 45:[14, 2] Operation: 34/17=2
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 45:[14, 2], Operations: ['4+30=34', '34/17=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,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,0
Current State: 45:[14, 17], Operations: ['4+30=34', '34-17=17']
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,45 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,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,3
Current State: 45:[17, 48], Operations: ['4+30=34', '14+34=48']
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,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,1
Current State: 45:[14, 51], Operations: ['4+30=34', '17+34=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,45 unequal: No Solution
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,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:[17, 20], Operations: ['4+30=34', '34-14=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,45 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
21,
24,
57,
96
] | 51 | [
"24-21=3",
"57+96=153",
"153/3=51"
] | Current State: 51:[21, 24, 57, 96], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [57, 96, 3]
Generated Node #2: [57, 96, 3] from Operation: 24-21=3
Current State: 51:[57, 96, 3], Operations: ['24-21=3']
Exploring Operation: 57+96=153, Resulting Numbers: [3, 153]
Generated Node #3: [3, 153] from Operation: 57+96=153
Current State: 51:[3, 153], Operations: ['24-21=3', '57+96=153']
Exploring Operation: 153/3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[21, 24, 57, 96], Operations: []
Exploring Operation: 96-57=39, Resulting Numbers: [21, 24, 39]
Generated Node #0,0: 51:[21, 24, 39] Operation: 96-57=39
Exploring Operation: 96-24=72, Resulting Numbers: [21, 57, 72]
Generated Node #0,1: 51:[21, 57, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [21, 57, 4]
Generated Node #0,2: 51:[21, 57, 4] Operation: 96/24=4
Moving to Node #0,2
Current State: 51:[21, 57, 4], Operations: ['96/24=4']
Exploring Operation: 21-4=17, Resulting Numbers: [57, 17]
Generated Node #0,2,0: 51:[57, 17] Operation: 21-4=17
Exploring Operation: 21+4=25, Resulting Numbers: [57, 25]
Generated Node #0,2,1: 51:[57, 25] Operation: 21+4=25
Exploring Operation: 57-4=53, Resulting Numbers: [21, 53]
Generated Node #0,2,2: 51:[21, 53] Operation: 57-4=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[57, 17], Operations: ['96/24=4', '21-4=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,51 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,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,2,2
Current State: 51:[21, 53], Operations: ['96/24=4', '57-4=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,51 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,51 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,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,2,1
Current State: 51:[57, 25], Operations: ['96/24=4', '21+4=25']
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,51 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,51 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: 51:[21, 24, 39], Operations: ['96-57=39']
Exploring Operation: 39-21=18, Resulting Numbers: [24, 18]
Generated Node #0,0,0: 51:[24, 18] Operation: 39-21=18
Exploring Operation: 24-21=3, Resulting Numbers: [39, 3]
Generated Node #0,0,1: 51:[39, 3] Operation: 24-21=3
Exploring Operation: 39-24=15, Resulting Numbers: [21, 15]
Generated Node #0,0,2: 51:[21, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[21, 15], Operations: ['96-57=39', '39-24=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[24, 18], Operations: ['96-57=39', '39-21=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[39, 3], Operations: ['96-57=39', '24-21=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,51 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: 51:[21, 57, 72], Operations: ['96-24=72']
Exploring Operation: 57-21=36, Resulting Numbers: [72, 36]
Generated Node #0,1,0: 51:[72, 36] Operation: 57-21=36
Exploring Operation: 72-21=51, Resulting Numbers: [57, 51]
Generated Node #0,1,1: 51:[57, 51] Operation: 72-21=51
Exploring Operation: 72-57=15, Resulting Numbers: [21, 15]
Generated Node #0,1,2: 51:[21, 15] Operation: 72-57=15
Moving to Node #0,1,1
Current State: 51:[57, 51], Operations: ['96-24=72', '72-21=51']
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,51 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[21, 15], Operations: ['96-24=72', '72-57=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,51 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,51 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[72, 36], Operations: ['96-24=72', '57-21=36']
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,51 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
13,
15,
83
] | 83 | [
"15-15=0",
"13*0=0",
"83+0=83"
] | Current State: 83:[15, 13, 15, 83], Operations: []
Exploring Operation: 15-15=0, Resulting Numbers: [13, 83, 0]
Generated Node #2: [13, 83, 0] from Operation: 15-15=0
Current State: 83:[13, 83, 0], Operations: ['15-15=0']
Exploring Operation: 13*0=0, Resulting Numbers: [83, 0]
Generated Node #3: [83, 0] from Operation: 13*0=0
Current State: 83:[83, 0], Operations: ['15-15=0', '13*0=0']
Exploring Operation: 83+0=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[15, 13, 15, 83], Operations: []
Exploring Operation: 15+13=28, Resulting Numbers: [15, 83, 28]
Generated Node #0,0: 83:[15, 83, 28] Operation: 15+13=28
Exploring Operation: 15-13=2, Resulting Numbers: [15, 83, 2]
Generated Node #0,1: 83:[15, 83, 2] Operation: 15-13=2
Exploring Operation: 13+15=28, Resulting Numbers: [15, 83, 28]
Generated Node #0,2: 83:[15, 83, 28] Operation: 13+15=28
Exploring Operation: 15+15=30, Resulting Numbers: [13, 83, 30]
Generated Node #0,3: 83:[13, 83, 30] Operation: 15+15=30
Moving to Node #0,0
Current State: 83:[15, 83, 28], Operations: ['15+13=28']
Exploring Operation: 15+83=98, Resulting Numbers: [28, 98]
Generated Node #0,0,0: 83:[28, 98] Operation: 15+83=98
Exploring Operation: 15+28=43, Resulting Numbers: [83, 43]
Generated Node #0,0,1: 83:[83, 43] Operation: 15+28=43
Exploring Operation: 28-15=13, Resulting Numbers: [83, 13]
Generated Node #0,0,2: 83:[83, 13] Operation: 28-15=13
Exploring Operation: 83-15=68, Resulting Numbers: [28, 68]
Generated Node #0,0,3: 83:[28, 68] Operation: 83-15=68
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[83, 43], Operations: ['15+13=28', '15+28=43']
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,83 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[28, 98], Operations: ['15+13=28', '15+83=98']
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,83 unequal: No Solution
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[83, 13], Operations: ['15+13=28', '28-15=13']
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,83 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[28, 68], Operations: ['15+13=28', '83-15=68']
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 28*68=1904, Resulting Numbers: [1904]
1904,83 unequal: No Solution
Exploring Operation: 28+68=96, Resulting Numbers: [96]
96,83 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: 83:[13, 83, 30], Operations: ['15+15=30']
Exploring Operation: 13+30=43, Resulting Numbers: [83, 43]
Generated Node #0,3,0: 83:[83, 43] Operation: 13+30=43
Exploring Operation: 83-13=70, Resulting Numbers: [30, 70]
Generated Node #0,3,1: 83:[30, 70] Operation: 83-13=70
Exploring Operation: 30-13=17, Resulting Numbers: [83, 17]
Generated Node #0,3,2: 83:[83, 17] Operation: 30-13=17
Exploring Operation: 13+83=96, Resulting Numbers: [30, 96]
Generated Node #0,3,3: 83:[30, 96] Operation: 13+83=96
Moving to Node #0,2
Current State: 83:[15, 83, 28], Operations: ['13+15=28']
Exploring Operation: 28-15=13, Resulting Numbers: [83, 13]
Generated Node #0,2,0: 83:[83, 13] Operation: 28-15=13
Exploring Operation: 15+83=98, Resulting Numbers: [28, 98]
Generated Node #0,2,1: 83:[28, 98] Operation: 15+83=98
Exploring Operation: 83-15=68, Resulting Numbers: [28, 68]
Generated Node #0,2,2: 83:[28, 68] Operation: 83-15=68
Exploring Operation: 15+28=43, Resulting Numbers: [83, 43]
Generated Node #0,2,3: 83:[83, 43] Operation: 15+28=43
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[83, 43], Operations: ['13+15=28', '15+28=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,83 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[83, 13], Operations: ['13+15=28', '28-15=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,83 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[28, 98], Operations: ['13+15=28', '15+83=98']
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 28*98=2744, Resulting Numbers: [2744]
2744,83 unequal: No Solution
Exploring Operation: 28+98=126, Resulting Numbers: [126]
126,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[28, 68], Operations: ['13+15=28', '83-15=68']
Exploring Operation: 28+68=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 28*68=1904, Resulting Numbers: [1904]
1904,83 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: 83:[15, 83, 2], Operations: ['15-13=2']
Exploring Operation: 15*2=30, Resulting Numbers: [83, 30]
Generated Node #0,1,0: 83:[83, 30] Operation: 15*2=30
Exploring Operation: 83+2=85, Resulting Numbers: [15, 85]
Generated Node #0,1,1: 83:[15, 85] Operation: 83+2=85
Exploring Operation: 15-2=13, Resulting Numbers: [83, 13]
Generated Node #0,1,2: 83:[83, 13] Operation: 15-2=13
Exploring Operation: 15+2=17, Resulting Numbers: [83, 17]
Generated Node #0,1,3: 83:[83, 17] Operation: 15+2=17
Moving to Node #0,3,0
Current State: 83:[83, 43], Operations: ['15+15=30', '13+30=43']
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,83 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[83, 30], Operations: ['15-13=2', '15*2=30']
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,83 unequal: No Solution
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[83, 17], Operations: ['15+15=30', '30-13=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,83 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[83, 17], Operations: ['15-13=2', '15+2=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,83 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[30, 70], Operations: ['15+15=30', '83-13=70']
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,83 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[30, 96], Operations: ['15+15=30', '13+83=96']
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,83 unequal: No Solution
Exploring Operation: 30*96=2880, Resulting Numbers: [2880]
2880,83 unequal: No Solution
Exploring Operation: 30+96=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[83, 13], Operations: ['15-13=2', '15-2=13']
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,83 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[15, 85], Operations: ['15-13=2', '83+2=85']
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,83 unequal: No Solution
Exploring Operation: 15*85=1275, Resulting Numbers: [1275]
1275,83 unequal: No Solution
Exploring Operation: 15+85=100, Resulting Numbers: [100]
100,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
52,
3,
9,
36
] | 83 | [
"9+36=45",
"3*45=135",
"135-52=83"
] | Current State: 83:[52, 3, 9, 36], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [52, 3, 45]
Generated Node #2: [52, 3, 45] from Operation: 9+36=45
Current State: 83:[52, 3, 45], Operations: ['9+36=45']
Exploring Operation: 3*45=135, Resulting Numbers: [52, 135]
Generated Node #3: [52, 135] from Operation: 3*45=135
Current State: 83:[52, 135], Operations: ['9+36=45', '3*45=135']
Exploring Operation: 135-52=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[52, 3, 9, 36], Operations: []
Exploring Operation: 3*9=27, Resulting Numbers: [52, 36, 27]
Generated Node #0,0: 83:[52, 36, 27] Operation: 3*9=27
Exploring Operation: 3*36=108, Resulting Numbers: [52, 9, 108]
Generated Node #0,1: 83:[52, 9, 108] Operation: 3*36=108
Exploring Operation: 52+9=61, Resulting Numbers: [3, 36, 61]
Generated Node #0,2: 83:[3, 36, 61] Operation: 52+9=61
Exploring Operation: 52+3=55, Resulting Numbers: [9, 36, 55]
Generated Node #0,3: 83:[9, 36, 55] Operation: 52+3=55
Moving to Node #0,1
Current State: 83:[52, 9, 108], Operations: ['3*36=108']
Exploring Operation: 108-9=99, Resulting Numbers: [52, 99]
Generated Node #0,1,0: 83:[52, 99] Operation: 108-9=99
Exploring Operation: 9+108=117, Resulting Numbers: [52, 117]
Generated Node #0,1,1: 83:[52, 117] Operation: 9+108=117
Exploring Operation: 52+9=61, Resulting Numbers: [108, 61]
Generated Node #0,1,2: 83:[108, 61] Operation: 52+9=61
Exploring Operation: 52-9=43, Resulting Numbers: [108, 43]
Generated Node #0,1,3: 83:[108, 43] Operation: 52-9=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[52, 99], Operations: ['3*36=108', '108-9=99']
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 52+99=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 52*99=5148, Resulting Numbers: [5148]
5148,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[108, 61], Operations: ['3*36=108', '52+9=61']
Exploring Operation: 108+61=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 108*61=6588, Resulting Numbers: [6588]
6588,83 unequal: No Solution
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[52, 117], Operations: ['3*36=108', '9+108=117']
Exploring Operation: 52+117=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 117-52=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Exploring Operation: 52*117=6084, Resulting Numbers: [6084]
6084,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[108, 43], Operations: ['3*36=108', '52-9=43']
Exploring Operation: 108+43=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 108*43=4644, Resulting Numbers: [4644]
4644,83 unequal: No Solution
Exploring Operation: 108-43=65, Resulting Numbers: [65]
65,83 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: 83:[52, 36, 27], Operations: ['3*9=27']
Exploring Operation: 52+27=79, Resulting Numbers: [36, 79]
Generated Node #0,0,0: 83:[36, 79] Operation: 52+27=79
Exploring Operation: 52-27=25, Resulting Numbers: [36, 25]
Generated Node #0,0,1: 83:[36, 25] Operation: 52-27=25
Exploring Operation: 36+27=63, Resulting Numbers: [52, 63]
Generated Node #0,0,2: 83:[52, 63] Operation: 36+27=63
Exploring Operation: 52+36=88, Resulting Numbers: [27, 88]
Generated Node #0,0,3: 83:[27, 88] Operation: 52+36=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[36, 79], Operations: ['3*9=27', '52+27=79']
Exploring Operation: 36+79=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 36*79=2844, Resulting Numbers: [2844]
2844,83 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[52, 63], Operations: ['3*9=27', '36+27=63']
Exploring Operation: 52*63=3276, Resulting Numbers: [3276]
3276,83 unequal: No Solution
Exploring Operation: 63-52=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 52+63=115, Resulting Numbers: [115]
115,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[27, 88], Operations: ['3*9=27', '52+36=88']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 27+88=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 27*88=2376, Resulting Numbers: [2376]
2376,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[36, 25], Operations: ['3*9=27', '52-27=25']
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,83 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,83 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: 83:[9, 36, 55], Operations: ['52+3=55']
Exploring Operation: 36-9=27, Resulting Numbers: [55, 27]
Generated Node #0,3,0: 83:[55, 27] Operation: 36-9=27
Exploring Operation: 9+36=45, Resulting Numbers: [55, 45]
Generated Node #0,3,1: 83:[55, 45] Operation: 9+36=45
Exploring Operation: 9+55=64, Resulting Numbers: [36, 64]
Generated Node #0,3,2: 83:[36, 64] Operation: 9+55=64
Exploring Operation: 36+55=91, Resulting Numbers: [9, 91]
Generated Node #0,3,3: 83:[9, 91] Operation: 36+55=91
Moving to Node #0,2
Current State: 83:[3, 36, 61], Operations: ['52+9=61']
Exploring Operation: 3+61=64, Resulting Numbers: [36, 64]
Generated Node #0,2,0: 83:[36, 64] Operation: 3+61=64
Exploring Operation: 3*36=108, Resulting Numbers: [61, 108]
Generated Node #0,2,1: 83:[61, 108] Operation: 3*36=108
Exploring Operation: 3+36=39, Resulting Numbers: [61, 39]
Generated Node #0,2,2: 83:[61, 39] Operation: 3+36=39
Exploring Operation: 36-3=33, Resulting Numbers: [61, 33]
Generated Node #0,2,3: 83:[61, 33] Operation: 36-3=33
Moving to Node #0,2,1
Current State: 83:[61, 108], Operations: ['52+9=61', '3*36=108']
Exploring Operation: 61+108=169, Resulting Numbers: [169]
169,83 unequal: No Solution
Exploring Operation: 61*108=6588, Resulting Numbers: [6588]
6588,83 unequal: No Solution
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[36, 64], Operations: ['52+9=61', '3+61=64']
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,83 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[61, 39], Operations: ['52+9=61', '3+36=39']
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,83 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[55, 45], Operations: ['52+3=55', '9+36=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[36, 64], Operations: ['52+3=55', '9+55=64']
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,83 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[61, 33], Operations: ['52+9=61', '36-3=33']
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,83 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[9, 91], Operations: ['52+3=55', '36+55=91']
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,83 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[55, 27], Operations: ['52+3=55', '36-9=27']
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,83 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
91,
24,
13,
17
] | 65 | [
"91*17=1547",
"13+1547=1560",
"1560/24=65"
] | Current State: 65:[91, 24, 13, 17], Operations: []
Exploring Operation: 91*17=1547, Resulting Numbers: [24, 13, 1547]
Generated Node #2: [24, 13, 1547] from Operation: 91*17=1547
Current State: 65:[24, 13, 1547], Operations: ['91*17=1547']
Exploring Operation: 13+1547=1560, Resulting Numbers: [24, 1560]
Generated Node #3: [24, 1560] from Operation: 13+1547=1560
Current State: 65:[24, 1560], Operations: ['91*17=1547', '13+1547=1560']
Exploring Operation: 1560/24=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[91, 24, 13, 17], Operations: []
Exploring Operation: 91-24=67, Resulting Numbers: [13, 17, 67]
Generated Node #0,0: 65:[13, 17, 67] Operation: 91-24=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[13, 17, 67], Operations: ['91-24=67']
Exploring Operation: 17-13=4, Resulting Numbers: [67, 4]
Generated Node #0,0,0: 65:[67, 4] Operation: 17-13=4
Moving to Node #0,0,0
Current State: 65:[67, 4], Operations: ['91-24=67', '17-13=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,65 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 |
[
56,
39,
7,
37
] | 98 | [
"56-7=49",
"39-37=2",
"49*2=98"
] | Current State: 98:[56, 39, 7, 37], Operations: []
Exploring Operation: 56-7=49, Resulting Numbers: [39, 37, 49]
Generated Node #2: [39, 37, 49] from Operation: 56-7=49
Current State: 98:[39, 37, 49], Operations: ['56-7=49']
Exploring Operation: 39-37=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 39-37=2
Current State: 98:[49, 2], Operations: ['56-7=49', '39-37=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[56, 39, 7, 37], Operations: []
Exploring Operation: 56-37=19, Resulting Numbers: [39, 7, 19]
Generated Node #0,0: 98:[39, 7, 19] Operation: 56-37=19
Exploring Operation: 56+39=95, Resulting Numbers: [7, 37, 95]
Generated Node #0,1: 98:[7, 37, 95] Operation: 56+39=95
Exploring Operation: 39-37=2, Resulting Numbers: [56, 7, 2]
Generated Node #0,2: 98:[56, 7, 2] Operation: 39-37=2
Exploring Operation: 56+37=93, Resulting Numbers: [39, 7, 93]
Generated Node #0,3: 98:[39, 7, 93] Operation: 56+37=93
Exploring Operation: 56-39=17, Resulting Numbers: [7, 37, 17]
Generated Node #0,4: 98:[7, 37, 17] Operation: 56-39=17
Moving to Node #0,2
Current State: 98:[56, 7, 2], Operations: ['39-37=2']
Exploring Operation: 56+2=58, Resulting Numbers: [7, 58]
Generated Node #0,2,0: 98:[7, 58] Operation: 56+2=58
Exploring Operation: 7*2=14, Resulting Numbers: [56, 14]
Generated Node #0,2,1: 98:[56, 14] Operation: 7*2=14
Exploring Operation: 56-7=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 98:[2, 49] Operation: 56-7=49
Exploring Operation: 56/7=8, Resulting Numbers: [2, 8]
Generated Node #0,2,3: 98:[2, 8] Operation: 56/7=8
Exploring Operation: 56-2=54, Resulting Numbers: [7, 54]
Generated Node #0,2,4: 98:[7, 54] Operation: 56-2=54
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[2, 49], Operations: ['39-37=2', '56-7=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[56, 39, 7, 37], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [56, 7, 2]
Generated Node #0,2: 98:[56, 7, 2] Operation: 39-37=2
Moving to Node #0,2
Current State: 98:[56, 7, 2], Operations: ['39-37=2']
Exploring Operation: 56-7=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 98:[2, 49] Operation: 56-7=49
Moving to Node #0,2,2
Current State: 98:[2, 49], Operations: ['39-37=2', '56-7=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
16,
81,
4,
67
] | 72 | [
"81-67=14",
"4*14=56",
"16+56=72"
] | Current State: 72:[16, 81, 4, 67], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [16, 4, 14]
Generated Node #2: [16, 4, 14] from Operation: 81-67=14
Current State: 72:[16, 4, 14], Operations: ['81-67=14']
Exploring Operation: 4*14=56, Resulting Numbers: [16, 56]
Generated Node #3: [16, 56] from Operation: 4*14=56
Current State: 72:[16, 56], Operations: ['81-67=14', '4*14=56']
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[16, 81, 4, 67], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [16, 4, 14]
Generated Node #0,0: 72:[16, 4, 14] Operation: 81-67=14
Exploring Operation: 81-4=77, Resulting Numbers: [16, 67, 77]
Generated Node #0,1: 72:[16, 67, 77] Operation: 81-4=77
Exploring Operation: 4+67=71, Resulting Numbers: [16, 81, 71]
Generated Node #0,2: 72:[16, 81, 71] Operation: 4+67=71
Exploring Operation: 81-16=65, Resulting Numbers: [4, 67, 65]
Generated Node #0,3: 72:[4, 67, 65] Operation: 81-16=65
Moving to Node #0,0
Current State: 72:[16, 4, 14], Operations: ['81-67=14']
Exploring Operation: 16-14=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 72:[4, 2] Operation: 16-14=2
Exploring Operation: 4+14=18, Resulting Numbers: [16, 18]
Generated Node #0,0,1: 72:[16, 18] Operation: 4+14=18
Exploring Operation: 16/4=4, Resulting Numbers: [14, 4]
Generated Node #0,0,2: 72:[14, 4] Operation: 16/4=4
Exploring Operation: 16-4=12, Resulting Numbers: [14, 12]
Generated Node #0,0,3: 72:[14, 12] Operation: 16-4=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[4, 2], Operations: ['81-67=14', '16-14=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,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,0,1
Current State: 72:[16, 18], Operations: ['81-67=14', '4+14=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,72 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,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,0,2
Current State: 72:[14, 4], Operations: ['81-67=14', '16/4=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,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,0,3
Current State: 72:[14, 12], Operations: ['81-67=14', '16-4=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,72 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: 72:[16, 81, 71], Operations: ['4+67=71']
Exploring Operation: 16+81=97, Resulting Numbers: [71, 97]
Generated Node #0,2,0: 72:[71, 97] Operation: 16+81=97
Exploring Operation: 16+71=87, Resulting Numbers: [81, 87]
Generated Node #0,2,1: 72:[81, 87] Operation: 16+71=87
Exploring Operation: 81-71=10, Resulting Numbers: [16, 10]
Generated Node #0,2,2: 72:[16, 10] Operation: 81-71=10
Exploring Operation: 81-16=65, Resulting Numbers: [71, 65]
Generated Node #0,2,3: 72:[71, 65] Operation: 81-16=65
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[16, 10], Operations: ['4+67=71', '81-71=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,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,2,3
Current State: 72:[71, 65], Operations: ['4+67=71', '81-16=65']
Exploring Operation: 71*65=4615, Resulting Numbers: [4615]
4615,72 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 71+65=136, Resulting Numbers: [136]
136,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,2,1
Current State: 72:[81, 87], Operations: ['4+67=71', '16+71=87']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,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,2,0
Current State: 72:[71, 97], Operations: ['4+67=71', '16+81=97']
Exploring Operation: 97-71=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 71+97=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 71*97=6887, Resulting Numbers: [6887]
6887,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 72:[16, 67, 77], Operations: ['81-4=77']
Exploring Operation: 67-16=51, Resulting Numbers: [77, 51]
Generated Node #0,1,0: 72:[77, 51] Operation: 67-16=51
Exploring Operation: 16+67=83, Resulting Numbers: [77, 83]
Generated Node #0,1,1: 72:[77, 83] Operation: 16+67=83
Exploring Operation: 77-67=10, Resulting Numbers: [16, 10]
Generated Node #0,1,2: 72:[16, 10] Operation: 77-67=10
Exploring Operation: 77-16=61, Resulting Numbers: [67, 61]
Generated Node #0,1,3: 72:[67, 61] Operation: 77-16=61
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[16, 10], Operations: ['81-4=77', '77-67=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,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:[77, 83], Operations: ['81-4=77', '16+67=83']
Exploring Operation: 77+83=160, Resulting Numbers: [160]
160,72 unequal: No Solution
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 77*83=6391, Resulting Numbers: [6391]
6391,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,3
Current State: 72:[67, 61], Operations: ['81-4=77', '77-16=61']
Exploring Operation: 67+61=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 67*61=4087, Resulting Numbers: [4087]
4087,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,0
Current State: 72:[77, 51], Operations: ['81-4=77', '67-16=51']
Exploring Operation: 77*51=3927, Resulting Numbers: [3927]
3927,72 unequal: No Solution
Exploring Operation: 77+51=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,72 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: 72:[4, 67, 65], Operations: ['81-16=65']
Exploring Operation: 67-4=63, Resulting Numbers: [65, 63]
Generated Node #0,3,0: 72:[65, 63] Operation: 67-4=63
Exploring Operation: 67-65=2, Resulting Numbers: [4, 2]
Generated Node #0,3,1: 72:[4, 2] Operation: 67-65=2
Exploring Operation: 4+65=69, Resulting Numbers: [67, 69]
Generated Node #0,3,2: 72:[67, 69] Operation: 4+65=69
Exploring Operation: 4+67=71, Resulting Numbers: [65, 71]
Generated Node #0,3,3: 72:[65, 71] Operation: 4+67=71
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 72:[4, 2], Operations: ['81-16=65', '67-65=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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,3,2
Current State: 72:[67, 69], Operations: ['81-16=65', '4+65=69']
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 67*69=4623, Resulting Numbers: [4623]
4623,72 unequal: No Solution
Exploring Operation: 67+69=136, Resulting Numbers: [136]
136,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,3,3
Current State: 72:[65, 71], Operations: ['81-16=65', '4+67=71']
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,72 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,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,3,0
Current State: 72:[65, 63], Operations: ['81-16=65', '67-4=63']
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 65+63=128, Resulting Numbers: [128]
128,72 unequal: No Solution
Exploring Operation: 65*63=4095, Resulting Numbers: [4095]
4095,72 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 |
[
83,
86,
38,
46
] | 86 | [
"83-38=45",
"46-45=1",
"86*1=86"
] | Current State: 86:[83, 86, 38, 46], Operations: []
Exploring Operation: 83-38=45, Resulting Numbers: [86, 46, 45]
Generated Node #2: [86, 46, 45] from Operation: 83-38=45
Current State: 86:[86, 46, 45], Operations: ['83-38=45']
Exploring Operation: 46-45=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 46-45=1
Current State: 86:[86, 1], Operations: ['83-38=45', '46-45=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[83, 86, 38, 46], Operations: []
Exploring Operation: 38+46=84, Resulting Numbers: [83, 86, 84]
Generated Node #0,0: 86:[83, 86, 84] Operation: 38+46=84
Exploring Operation: 83-38=45, Resulting Numbers: [86, 46, 45]
Generated Node #0,1: 86:[86, 46, 45] Operation: 83-38=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[83, 86, 84], Operations: ['38+46=84']
Exploring Operation: 86-83=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 86:[84, 3] Operation: 86-83=3
Exploring Operation: 84-83=1, Resulting Numbers: [86, 1]
Generated Node #0,0,1: 86:[86, 1] Operation: 84-83=1
Moving to Node #0,0,1
Current State: 86:[86, 1], Operations: ['38+46=84', '84-83=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[83, 86, 38, 46], Operations: []
Exploring Operation: 38+46=84, Resulting Numbers: [83, 86, 84]
Generated Node #0,0: 86:[83, 86, 84] Operation: 38+46=84
Moving to Node #0,0
Current State: 86:[83, 86, 84], Operations: ['38+46=84']
Exploring Operation: 84-83=1, Resulting Numbers: [86, 1]
Generated Node #0,0,1: 86:[86, 1] Operation: 84-83=1
Moving to Node #0,0,1
Current State: 86:[86, 1], Operations: ['38+46=84', '84-83=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
42,
40,
8,
60
] | 38 | [
"42-40=2",
"60/2=30",
"8+30=38"
] | Current State: 38:[42, 40, 8, 60], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [8, 60, 2]
Generated Node #2: [8, 60, 2] from Operation: 42-40=2
Current State: 38:[8, 60, 2], Operations: ['42-40=2']
Exploring Operation: 60/2=30, Resulting Numbers: [8, 30]
Generated Node #3: [8, 30] from Operation: 60/2=30
Current State: 38:[8, 30], Operations: ['42-40=2', '60/2=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[42, 40, 8, 60], Operations: []
Exploring Operation: 60-8=52, Resulting Numbers: [42, 40, 52]
Generated Node #0,0: 38:[42, 40, 52] Operation: 60-8=52
Exploring Operation: 60-40=20, Resulting Numbers: [42, 8, 20]
Generated Node #0,1: 38:[42, 8, 20] Operation: 60-40=20
Exploring Operation: 60-42=18, Resulting Numbers: [40, 8, 18]
Generated Node #0,2: 38:[40, 8, 18] Operation: 60-42=18
Exploring Operation: 42-40=2, Resulting Numbers: [8, 60, 2]
Generated Node #0,3: 38:[8, 60, 2] Operation: 42-40=2
Exploring Operation: 42-8=34, Resulting Numbers: [40, 60, 34]
Generated Node #0,4: 38:[40, 60, 34] Operation: 42-8=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[40, 8, 18], Operations: ['60-42=18']
Exploring Operation: 18-8=10, Resulting Numbers: [40, 10]
Generated Node #0,2,0: 38:[40, 10] Operation: 18-8=10
Exploring Operation: 40/8=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 38:[18, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [18, 32]
Generated Node #0,2,2: 38:[18, 32] Operation: 40-8=32
Exploring Operation: 40-18=22, Resulting Numbers: [8, 22]
Generated Node #0,2,3: 38:[8, 22] Operation: 40-18=22
Exploring Operation: 8+18=26, Resulting Numbers: [40, 26]
Generated Node #0,2,4: 38:[40, 26] Operation: 8+18=26
Moving to Node #0,2,1
Current State: 38:[18, 5], Operations: ['60-42=18', '40/8=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[18, 32], Operations: ['60-42=18', '40-8=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,38 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[8, 22], Operations: ['60-42=18', '40-18=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,38 unequal: No Solution
Moving to Node #0,2,4
Current State: 38:[40, 26], Operations: ['60-42=18', '8+18=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,38 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[40, 10], Operations: ['60-42=18', '18-8=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,38 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[42, 8, 20], Operations: ['60-40=20']
Exploring Operation: 42-8=34, Resulting Numbers: [20, 34]
Generated Node #0,1,0: 38:[20, 34] Operation: 42-8=34
Exploring Operation: 42+8=50, Resulting Numbers: [20, 50]
Generated Node #0,1,1: 38:[20, 50] Operation: 42+8=50
Exploring Operation: 8+20=28, Resulting Numbers: [42, 28]
Generated Node #0,1,2: 38:[42, 28] Operation: 8+20=28
Exploring Operation: 20-8=12, Resulting Numbers: [42, 12]
Generated Node #0,1,3: 38:[42, 12] Operation: 20-8=12
Exploring Operation: 42-20=22, Resulting Numbers: [8, 22]
Generated Node #0,1,4: 38:[8, 22] Operation: 42-20=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[20, 34], Operations: ['60-40=20', '42-8=34']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,38 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,38 unequal: No Solution
No 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: 38:[8, 22], Operations: ['60-40=20', '42-20=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,38 unequal: No Solution
No 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: 38:[42, 12], Operations: ['60-40=20', '20-8=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,38 unequal: No Solution
No 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: 38:[20, 50], Operations: ['60-40=20', '42+8=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,38 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,38 unequal: No Solution
No 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: 38:[42, 28], Operations: ['60-40=20', '8+20=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,38 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,38 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: 38:[42, 40, 52], Operations: ['60-8=52']
Exploring Operation: 42+52=94, Resulting Numbers: [40, 94]
Generated Node #0,0,0: 38:[40, 94] Operation: 42+52=94
Exploring Operation: 42-40=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 38:[52, 2] Operation: 42-40=2
Exploring Operation: 42+40=82, Resulting Numbers: [52, 82]
Generated Node #0,0,2: 38:[52, 82] Operation: 42+40=82
Exploring Operation: 52-40=12, Resulting Numbers: [42, 12]
Generated Node #0,0,3: 38:[42, 12] Operation: 52-40=12
Exploring Operation: 52-42=10, Resulting Numbers: [40, 10]
Generated Node #0,0,4: 38:[40, 10] Operation: 52-42=10
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 38:[40, 10], Operations: ['60-8=52', '52-42=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,38 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No 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: 38:[42, 12], Operations: ['60-8=52', '52-40=12']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,38 unequal: No Solution
No 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: 38:[52, 2], Operations: ['60-8=52', '42-40=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,38 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[40, 94], Operations: ['60-8=52', '42+52=94']
Exploring Operation: 40+94=134, Resulting Numbers: [134]
134,38 unequal: No Solution
Exploring Operation: 40*94=3760, Resulting Numbers: [3760]
3760,38 unequal: No Solution
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,38 unequal: No Solution
No 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: 38:[52, 82], Operations: ['60-8=52', '42+40=82']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,38 unequal: No Solution
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,38 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: 38:[8, 60, 2], Operations: ['42-40=2']
Exploring Operation: 8*2=16, Resulting Numbers: [60, 16]
Generated Node #0,3,0: 38:[60, 16] Operation: 8*2=16
Exploring Operation: 60/2=30, Resulting Numbers: [8, 30]
Generated Node #0,3,1: 38:[8, 30] Operation: 60/2=30
Exploring Operation: 8-2=6, Resulting Numbers: [60, 6]
Generated Node #0,3,2: 38:[60, 6] Operation: 8-2=6
Exploring Operation: 60-8=52, Resulting Numbers: [2, 52]
Generated Node #0,3,3: 38:[2, 52] Operation: 60-8=52
Exploring Operation: 8/2=4, Resulting Numbers: [60, 4]
Generated Node #0,3,4: 38:[60, 4] Operation: 8/2=4
Moving to Node #0,3,1
Current State: 38:[8, 30], Operations: ['42-40=2', '60/2=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[42, 40, 8, 60], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [8, 60, 2]
Generated Node #0,3: 38:[8, 60, 2] Operation: 42-40=2
Moving to Node #0,3
Current State: 38:[8, 60, 2], Operations: ['42-40=2']
Exploring Operation: 60/2=30, Resulting Numbers: [8, 30]
Generated Node #0,3,1: 38:[8, 30] Operation: 60/2=30
Moving to Node #0,3,1
Current State: 38:[8, 30], Operations: ['42-40=2', '60/2=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.932292 | hs_5 | mult_heuristic |
[
22,
31,
33,
47
] | 91 | [
"33-31=2",
"22*2=44",
"47+44=91"
] | Current State: 91:[22, 31, 33, 47], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [22, 47, 2]
Generated Node #2: [22, 47, 2] from Operation: 33-31=2
Current State: 91:[22, 47, 2], Operations: ['33-31=2']
Exploring Operation: 22*2=44, Resulting Numbers: [47, 44]
Generated Node #3: [47, 44] from Operation: 22*2=44
Current State: 91:[47, 44], Operations: ['33-31=2', '22*2=44']
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[22, 31, 33, 47], Operations: []
Exploring Operation: 47-33=14, Resulting Numbers: [22, 31, 14]
Generated Node #0,0: 91:[22, 31, 14] Operation: 47-33=14
Exploring Operation: 47-31=16, Resulting Numbers: [22, 33, 16]
Generated Node #0,1: 91:[22, 33, 16] Operation: 47-31=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[22, 31, 14], Operations: ['47-33=14']
Exploring Operation: 31-14=17, Resulting Numbers: [22, 17]
Generated Node #0,0,0: 91:[22, 17] Operation: 31-14=17
Exploring Operation: 31-22=9, Resulting Numbers: [14, 9]
Generated Node #0,0,1: 91:[14, 9] Operation: 31-22=9
Moving to Node #0,0,1
Current State: 91:[14, 9], Operations: ['47-33=14', '31-22=9']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[22, 17], Operations: ['47-33=14', '31-14=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[22, 33, 16], Operations: ['47-31=16']
Exploring Operation: 33-16=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 91:[22, 17] Operation: 33-16=17
Exploring Operation: 33-22=11, Resulting Numbers: [16, 11]
Generated Node #0,1,1: 91:[16, 11] Operation: 33-22=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[16, 11], Operations: ['47-31=16', '33-22=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[22, 17], Operations: ['47-31=16', '33-16=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
6,
84,
85
] | 71 | [
"12*6=72",
"85-84=1",
"72-1=71"
] | Current State: 71:[12, 6, 84, 85], Operations: []
Exploring Operation: 12*6=72, Resulting Numbers: [84, 85, 72]
Generated Node #2: [84, 85, 72] from Operation: 12*6=72
Current State: 71:[84, 85, 72], Operations: ['12*6=72']
Exploring Operation: 85-84=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 85-84=1
Current State: 71:[72, 1], Operations: ['12*6=72', '85-84=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[12, 6, 84, 85], Operations: []
Exploring Operation: 12+6=18, Resulting Numbers: [84, 85, 18]
Generated Node #0,0: 71:[84, 85, 18] Operation: 12+6=18
Exploring Operation: 85-12=73, Resulting Numbers: [6, 84, 73]
Generated Node #0,1: 71:[6, 84, 73] Operation: 85-12=73
Exploring Operation: 84-6=78, Resulting Numbers: [12, 85, 78]
Generated Node #0,2: 71:[12, 85, 78] Operation: 84-6=78
Exploring Operation: 12*6=72, Resulting Numbers: [84, 85, 72]
Generated Node #0,3: 71:[84, 85, 72] Operation: 12*6=72
Exploring Operation: 84-12=72, Resulting Numbers: [6, 85, 72]
Generated Node #0,4: 71:[6, 85, 72] Operation: 84-12=72
Moving to Node #0,3
Current State: 71:[84, 85, 72], Operations: ['12*6=72']
Exploring Operation: 85-84=1, Resulting Numbers: [72, 1]
Generated Node #0,3,0: 71:[72, 1] Operation: 85-84=1
Exploring Operation: 85-72=13, Resulting Numbers: [84, 13]
Generated Node #0,3,1: 71:[84, 13] Operation: 85-72=13
Exploring Operation: 84+72=156, Resulting Numbers: [85, 156]
Generated Node #0,3,2: 71:[85, 156] Operation: 84+72=156
Exploring Operation: 84-72=12, Resulting Numbers: [85, 12]
Generated Node #0,3,3: 71:[85, 12] Operation: 84-72=12
Exploring Operation: 84+85=169, Resulting Numbers: [72, 169]
Generated Node #0,3,4: 71:[72, 169] Operation: 84+85=169
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[72, 1], Operations: ['12*6=72', '85-84=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[12, 6, 84, 85], Operations: []
Exploring Operation: 12*6=72, Resulting Numbers: [84, 85, 72]
Generated Node #0,3: 71:[84, 85, 72] Operation: 12*6=72
Moving to Node #0,3
Current State: 71:[84, 85, 72], Operations: ['12*6=72']
Exploring Operation: 85-84=1, Resulting Numbers: [72, 1]
Generated Node #0,3,0: 71:[72, 1] Operation: 85-84=1
Moving to Node #0,3,0
Current State: 71:[72, 1], Operations: ['12*6=72', '85-84=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
31,
15,
77,
64
] | 35 | [
"64-31=33",
"15*77=1155",
"1155/33=35"
] | Current State: 35:[31, 15, 77, 64], Operations: []
Exploring Operation: 64-31=33, Resulting Numbers: [15, 77, 33]
Generated Node #2: [15, 77, 33] from Operation: 64-31=33
Current State: 35:[15, 77, 33], Operations: ['64-31=33']
Exploring Operation: 15*77=1155, Resulting Numbers: [33, 1155]
Generated Node #3: [33, 1155] from Operation: 15*77=1155
Current State: 35:[33, 1155], Operations: ['64-31=33', '15*77=1155']
Exploring Operation: 1155/33=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[31, 15, 77, 64], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [31, 15, 13]
Generated Node #0,0: 35:[31, 15, 13] Operation: 77-64=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[31, 15, 13], Operations: ['77-64=13']
Exploring Operation: 15-13=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 35:[31, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 35:[31, 2], Operations: ['77-64=13', '15-13=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,35 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 |
[
50,
48,
67,
49
] | 69 | [
"50+48=98",
"98/49=2",
"67+2=69"
] | Current State: 69:[50, 48, 67, 49], Operations: []
Exploring Operation: 50+48=98, Resulting Numbers: [67, 49, 98]
Generated Node #2: [67, 49, 98] from Operation: 50+48=98
Current State: 69:[67, 49, 98], Operations: ['50+48=98']
Exploring Operation: 98/49=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 98/49=2
Current State: 69:[67, 2], Operations: ['50+48=98', '98/49=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[50, 48, 67, 49], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [48, 67, 1]
Generated Node #0,0: 69:[48, 67, 1] Operation: 50-49=1
Exploring Operation: 67-49=18, Resulting Numbers: [50, 48, 18]
Generated Node #0,1: 69:[50, 48, 18] Operation: 67-49=18
Exploring Operation: 49-48=1, Resulting Numbers: [50, 67, 1]
Generated Node #0,2: 69:[50, 67, 1] Operation: 49-48=1
Exploring Operation: 67-48=19, Resulting Numbers: [50, 49, 19]
Generated Node #0,3: 69:[50, 49, 19] Operation: 67-48=19
Exploring Operation: 50-48=2, Resulting Numbers: [67, 49, 2]
Generated Node #0,4: 69:[67, 49, 2] Operation: 50-48=2
Moving to Node #0,2
Current State: 69:[50, 67, 1], Operations: ['49-48=1']
Exploring Operation: 50+1=51, Resulting Numbers: [67, 51]
Generated Node #0,2,0: 69:[67, 51] Operation: 50+1=51
Exploring Operation: 67+1=68, Resulting Numbers: [50, 68]
Generated Node #0,2,1: 69:[50, 68] Operation: 67+1=68
Exploring Operation: 50*1=50, Resulting Numbers: [67, 50]
Generated Node #0,2,2: 69:[67, 50] Operation: 50*1=50
Exploring Operation: 50/1=50, Resulting Numbers: [67, 50]
Generated Node #0,2,3: 69:[67, 50] Operation: 50/1=50
Exploring Operation: 67-50=17, Resulting Numbers: [1, 17]
Generated Node #0,2,4: 69:[1, 17] Operation: 67-50=17
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 69:[1, 17], Operations: ['49-48=1', '67-50=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[67, 51], Operations: ['49-48=1', '50+1=51']
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,69 unequal: No Solution
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[50, 68], Operations: ['49-48=1', '67+1=68']
Exploring Operation: 50+68=118, Resulting Numbers: [118]
118,69 unequal: No Solution
Exploring Operation: 50*68=3400, Resulting Numbers: [3400]
3400,69 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[67, 50], Operations: ['49-48=1', '50*1=50']
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,69 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 69:[67, 50], Operations: ['49-48=1', '50/1=50']
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,69 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,69 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: 69:[67, 49, 2], Operations: ['50-48=2']
Exploring Operation: 49-2=47, Resulting Numbers: [67, 47]
Generated Node #0,4,0: 69:[67, 47] Operation: 49-2=47
Exploring Operation: 67-2=65, Resulting Numbers: [49, 65]
Generated Node #0,4,1: 69:[49, 65] Operation: 67-2=65
Exploring Operation: 49+2=51, Resulting Numbers: [67, 51]
Generated Node #0,4,2: 69:[67, 51] Operation: 49+2=51
Exploring Operation: 67+2=69, Resulting Numbers: [49, 69]
Generated Node #0,4,3: 69:[49, 69] Operation: 67+2=69
Exploring Operation: 67-49=18, Resulting Numbers: [2, 18]
Generated Node #0,4,4: 69:[2, 18] Operation: 67-49=18
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 69:[2, 18], Operations: ['50-48=2', '67-49=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 69:[67, 51], Operations: ['50-48=2', '49+2=51']
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,69 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 69:[49, 69], Operations: ['50-48=2', '67+2=69']
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,69 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,69 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 69:[67, 47], Operations: ['50-48=2', '49-2=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,69 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 69:[49, 65], Operations: ['50-48=2', '67-2=65']
Exploring Operation: 49*65=3185, Resulting Numbers: [3185]
3185,69 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 49+65=114, Resulting Numbers: [114]
114,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 69:[48, 67, 1], Operations: ['50-49=1']
Exploring Operation: 48/1=48, Resulting Numbers: [67, 48]
Generated Node #0,0,0: 69:[67, 48] Operation: 48/1=48
Exploring Operation: 48+1=49, Resulting Numbers: [67, 49]
Generated Node #0,0,1: 69:[67, 49] Operation: 48+1=49
Exploring Operation: 48*1=48, Resulting Numbers: [67, 48]
Generated Node #0,0,2: 69:[67, 48] Operation: 48*1=48
Exploring Operation: 67+1=68, Resulting Numbers: [48, 68]
Generated Node #0,0,3: 69:[48, 68] Operation: 67+1=68
Exploring Operation: 67-48=19, Resulting Numbers: [1, 19]
Generated Node #0,0,4: 69:[1, 19] Operation: 67-48=19
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 69:[1, 19], Operations: ['50-49=1', '67-48=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[67, 49], Operations: ['50-49=1', '48+1=49']
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,69 unequal: No Solution
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[48, 68], Operations: ['50-49=1', '67+1=68']
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,69 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[67, 48], Operations: ['50-49=1', '48/1=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[67, 48], Operations: ['50-49=1', '48*1=48']
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,69 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,69 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: 69:[50, 49, 19], Operations: ['67-48=19']
Exploring Operation: 49+19=68, Resulting Numbers: [50, 68]
Generated Node #0,3,0: 69:[50, 68] Operation: 49+19=68
Exploring Operation: 50-19=31, Resulting Numbers: [49, 31]
Generated Node #0,3,1: 69:[49, 31] Operation: 50-19=31
Exploring Operation: 50-49=1, Resulting Numbers: [19, 1]
Generated Node #0,3,2: 69:[19, 1] Operation: 50-49=1
Exploring Operation: 49-19=30, Resulting Numbers: [50, 30]
Generated Node #0,3,3: 69:[50, 30] Operation: 49-19=30
Exploring Operation: 50+19=69, Resulting Numbers: [49, 69]
Generated Node #0,3,4: 69:[49, 69] Operation: 50+19=69
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[19, 1], Operations: ['67-48=19', '50-49=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,69 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[50, 68], Operations: ['67-48=19', '49+19=68']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 50+68=118, Resulting Numbers: [118]
118,69 unequal: No Solution
Exploring Operation: 50*68=3400, Resulting Numbers: [3400]
3400,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 69:[49, 69], Operations: ['67-48=19', '50+19=69']
Exploring Operation: 49*69=3381, Resulting Numbers: [3381]
3381,69 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 49+69=118, Resulting Numbers: [118]
118,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[50, 30], Operations: ['67-48=19', '49-19=30']
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,69 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[49, 31], Operations: ['67-48=19', '50-19=31']
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,69 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,69 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: 69:[50, 48, 18], Operations: ['67-49=18']
Exploring Operation: 50+18=68, Resulting Numbers: [48, 68]
Generated Node #0,1,0: 69:[48, 68] Operation: 50+18=68
Exploring Operation: 50-18=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 69:[48, 32] Operation: 50-18=32
Exploring Operation: 50-48=2, Resulting Numbers: [18, 2]
Generated Node #0,1,2: 69:[18, 2] Operation: 50-48=2
Exploring Operation: 48+18=66, Resulting Numbers: [50, 66]
Generated Node #0,1,3: 69:[50, 66] Operation: 48+18=66
Exploring Operation: 48-18=30, Resulting Numbers: [50, 30]
Generated Node #0,1,4: 69:[50, 30] Operation: 48-18=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[18, 2], Operations: ['67-49=18', '50-48=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[48, 68], Operations: ['67-49=18', '50+18=68']
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,69 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,69 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 69:[50, 66], Operations: ['67-49=18', '48+18=66']
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,69 unequal: No Solution
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,69 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 69:[50, 30], Operations: ['67-49=18', '48-18=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[48, 32], Operations: ['67-49=18', '50-18=32']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,69 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,69 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 |
[
47,
40,
17,
96
] | 26 | [
"47+40=87",
"17+96=113",
"113-87=26"
] | Current State: 26:[47, 40, 17, 96], Operations: []
Exploring Operation: 47+40=87, Resulting Numbers: [17, 96, 87]
Generated Node #2: [17, 96, 87] from Operation: 47+40=87
Current State: 26:[17, 96, 87], Operations: ['47+40=87']
Exploring Operation: 17+96=113, Resulting Numbers: [87, 113]
Generated Node #3: [87, 113] from Operation: 17+96=113
Current State: 26:[87, 113], Operations: ['47+40=87', '17+96=113']
Exploring Operation: 113-87=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[47, 40, 17, 96], Operations: []
Exploring Operation: 96-40=56, Resulting Numbers: [47, 17, 56]
Generated Node #0,0: 26:[47, 17, 56] Operation: 96-40=56
Exploring Operation: 47-40=7, Resulting Numbers: [17, 96, 7]
Generated Node #0,1: 26:[17, 96, 7] Operation: 47-40=7
Exploring Operation: 96-47=49, Resulting Numbers: [40, 17, 49]
Generated Node #0,2: 26:[40, 17, 49] Operation: 96-47=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[40, 17, 49], Operations: ['96-47=49']
Exploring Operation: 49-17=32, Resulting Numbers: [40, 32]
Generated Node #0,2,0: 26:[40, 32] Operation: 49-17=32
Exploring Operation: 40-17=23, Resulting Numbers: [49, 23]
Generated Node #0,2,1: 26:[49, 23] Operation: 40-17=23
Exploring Operation: 49-40=9, Resulting Numbers: [17, 9]
Generated Node #0,2,2: 26:[17, 9] Operation: 49-40=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[17, 9], Operations: ['96-47=49', '49-40=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,26 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[47, 40, 17, 96], Operations: []
Exploring Operation: 96-47=49, Resulting Numbers: [40, 17, 49]
Generated Node #0,2: 26:[40, 17, 49] Operation: 96-47=49
Moving to Node #0,2
Current State: 26:[40, 17, 49], Operations: ['96-47=49']
Exploring Operation: 49-40=9, Resulting Numbers: [17, 9]
Generated Node #0,2,2: 26:[17, 9] Operation: 49-40=9
Moving to Node #0,2,2
Current State: 26:[17, 9], Operations: ['96-47=49', '49-40=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
61,
39,
59,
35
] | 64 | [
"39*59=2301",
"2301-61=2240",
"2240/35=64"
] | Current State: 64:[61, 39, 59, 35], Operations: []
Exploring Operation: 39*59=2301, Resulting Numbers: [61, 35, 2301]
Generated Node #2: [61, 35, 2301] from Operation: 39*59=2301
Current State: 64:[61, 35, 2301], Operations: ['39*59=2301']
Exploring Operation: 2301-61=2240, Resulting Numbers: [35, 2240]
Generated Node #3: [35, 2240] from Operation: 2301-61=2240
Current State: 64:[35, 2240], Operations: ['39*59=2301', '2301-61=2240']
Exploring Operation: 2240/35=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[61, 39, 59, 35], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [59, 35, 22]
Generated Node #0,0: 64:[59, 35, 22] Operation: 61-39=22
Exploring Operation: 61-59=2, Resulting Numbers: [39, 35, 2]
Generated Node #0,1: 64:[39, 35, 2] Operation: 61-59=2
Exploring Operation: 59-39=20, Resulting Numbers: [61, 35, 20]
Generated Node #0,2: 64:[61, 35, 20] Operation: 59-39=20
Exploring Operation: 39-35=4, Resulting Numbers: [61, 59, 4]
Generated Node #0,3: 64:[61, 59, 4] Operation: 39-35=4
Exploring Operation: 61-35=26, Resulting Numbers: [39, 59, 26]
Generated Node #0,4: 64:[39, 59, 26] Operation: 61-35=26
Moving to Node #0,3
Current State: 64:[61, 59, 4], Operations: ['39-35=4']
Exploring Operation: 61-59=2, Resulting Numbers: [4, 2]
Generated Node #0,3,0: 64:[4, 2] Operation: 61-59=2
Exploring Operation: 59+4=63, Resulting Numbers: [61, 63]
Generated Node #0,3,1: 64:[61, 63] Operation: 59+4=63
Exploring Operation: 61+4=65, Resulting Numbers: [59, 65]
Generated Node #0,3,2: 64:[59, 65] Operation: 61+4=65
Exploring Operation: 59-4=55, Resulting Numbers: [61, 55]
Generated Node #0,3,3: 64:[61, 55] Operation: 59-4=55
Exploring Operation: 61-4=57, Resulting Numbers: [59, 57]
Generated Node #0,3,4: 64:[59, 57] Operation: 61-4=57
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[4, 2], Operations: ['39-35=4', '61-59=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[61, 63], Operations: ['39-35=4', '59+4=63']
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 61*63=3843, Resulting Numbers: [3843]
3843,64 unequal: No Solution
Exploring Operation: 61+63=124, Resulting Numbers: [124]
124,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[59, 65], Operations: ['39-35=4', '61+4=65']
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 59*65=3835, Resulting Numbers: [3835]
3835,64 unequal: No Solution
Exploring Operation: 59+65=124, Resulting Numbers: [124]
124,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[61, 55], Operations: ['39-35=4', '59-4=55']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,64 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[59, 57], Operations: ['39-35=4', '61-4=57']
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,64 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: 64:[61, 35, 20], Operations: ['59-39=20']
Exploring Operation: 35-20=15, Resulting Numbers: [61, 15]
Generated Node #0,2,0: 64:[61, 15] Operation: 35-20=15
Exploring Operation: 61-35=26, Resulting Numbers: [20, 26]
Generated Node #0,2,1: 64:[20, 26] Operation: 61-35=26
Exploring Operation: 61+20=81, Resulting Numbers: [35, 81]
Generated Node #0,2,2: 64:[35, 81] Operation: 61+20=81
Exploring Operation: 35+20=55, Resulting Numbers: [61, 55]
Generated Node #0,2,3: 64:[61, 55] Operation: 35+20=55
Exploring Operation: 61-20=41, Resulting Numbers: [35, 41]
Generated Node #0,2,4: 64:[35, 41] Operation: 61-20=41
Moving to Node #0,1
Current State: 64:[39, 35, 2], Operations: ['61-59=2']
Exploring Operation: 39+35=74, Resulting Numbers: [2, 74]
Generated Node #0,1,0: 64:[2, 74] Operation: 39+35=74
Exploring Operation: 39-35=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 64:[2, 4] Operation: 39-35=4
Exploring Operation: 39-2=37, Resulting Numbers: [35, 37]
Generated Node #0,1,2: 64:[35, 37] Operation: 39-2=37
Exploring Operation: 35-2=33, Resulting Numbers: [39, 33]
Generated Node #0,1,3: 64:[39, 33] Operation: 35-2=33
Exploring Operation: 39+2=41, Resulting Numbers: [35, 41]
Generated Node #0,1,4: 64:[35, 41] Operation: 39+2=41
Moving to Node #0,0
Current State: 64:[59, 35, 22], Operations: ['61-39=22']
Exploring Operation: 59-22=37, Resulting Numbers: [35, 37]
Generated Node #0,0,0: 64:[35, 37] Operation: 59-22=37
Exploring Operation: 35+22=57, Resulting Numbers: [59, 57]
Generated Node #0,0,1: 64:[59, 57] Operation: 35+22=57
Exploring Operation: 59-35=24, Resulting Numbers: [22, 24]
Generated Node #0,0,2: 64:[22, 24] Operation: 59-35=24
Exploring Operation: 59+22=81, Resulting Numbers: [35, 81]
Generated Node #0,0,3: 64:[35, 81] Operation: 59+22=81
Exploring Operation: 35-22=13, Resulting Numbers: [59, 13]
Generated Node #0,0,4: 64:[59, 13] Operation: 35-22=13
Moving to Node #0,4
Current State: 64:[39, 59, 26], Operations: ['61-35=26']
Exploring Operation: 59-26=33, Resulting Numbers: [39, 33]
Generated Node #0,4,0: 64:[39, 33] Operation: 59-26=33
Exploring Operation: 59+26=85, Resulting Numbers: [39, 85]
Generated Node #0,4,1: 64:[39, 85] Operation: 59+26=85
Exploring Operation: 39+26=65, Resulting Numbers: [59, 65]
Generated Node #0,4,2: 64:[59, 65] Operation: 39+26=65
Exploring Operation: 39-26=13, Resulting Numbers: [59, 13]
Generated Node #0,4,3: 64:[59, 13] Operation: 39-26=13
Exploring Operation: 59-39=20, Resulting Numbers: [26, 20]
Generated Node #0,4,4: 64:[26, 20] Operation: 59-39=20
Moving to Node #0,1,1
Current State: 64:[2, 4], Operations: ['61-59=2', '39-35=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[61, 15], Operations: ['59-39=20', '35-20=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[59, 65], Operations: ['61-35=26', '39+26=65']
Exploring Operation: 59+65=124, Resulting Numbers: [124]
124,64 unequal: No Solution
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 59*65=3835, Resulting Numbers: [3835]
3835,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[35, 37], Operations: ['61-59=2', '39-2=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,64 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[59, 13], Operations: ['61-39=22', '35-22=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[35, 37], Operations: ['61-39=22', '59-22=37']
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,64 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[39, 33], Operations: ['61-59=2', '35-2=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,64 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[59, 13], Operations: ['61-35=26', '39-26=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[39, 33], Operations: ['61-35=26', '59-26=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,64 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[2, 74], Operations: ['61-59=2', '39+35=74']
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,64 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[20, 26], Operations: ['59-39=20', '61-35=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[26, 20], Operations: ['61-35=26', '59-39=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,64 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[61, 55], Operations: ['59-39=20', '35+20=55']
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,64 unequal: No Solution
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[59, 57], Operations: ['61-39=22', '35+22=57']
Exploring Operation: 59*57=3363, Resulting Numbers: [3363]
3363,64 unequal: No Solution
Exploring Operation: 59+57=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Exploring Operation: 59-57=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[35, 41], Operations: ['61-59=2', '39+2=41']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,64 unequal: No Solution
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[35, 41], Operations: ['59-39=20', '61-20=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,64 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[22, 24], Operations: ['61-39=22', '59-35=24']
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,64 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[35, 81], Operations: ['59-39=20', '61+20=81']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,64 unequal: No Solution
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[35, 81], Operations: ['61-39=22', '59+22=81']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,64 unequal: No Solution
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[39, 85], Operations: ['61-35=26', '59+26=85']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 39*85=3315, Resulting Numbers: [3315]
3315,64 unequal: No Solution
Exploring Operation: 39+85=124, Resulting Numbers: [124]
124,64 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
54,
5,
49
] | 48 | [
"48+54=102",
"5+49=54",
"102-54=48"
] | Current State: 48:[48, 54, 5, 49], Operations: []
Exploring Operation: 48+54=102, Resulting Numbers: [5, 49, 102]
Generated Node #2: [5, 49, 102] from Operation: 48+54=102
Current State: 48:[5, 49, 102], Operations: ['48+54=102']
Exploring Operation: 5+49=54, Resulting Numbers: [102, 54]
Generated Node #3: [102, 54] from Operation: 5+49=54
Current State: 48:[102, 54], Operations: ['48+54=102', '5+49=54']
Exploring Operation: 102-54=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[48, 54, 5, 49], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [48, 49, 49]
Generated Node #0,0: 48:[48, 49, 49] Operation: 54-5=49
Exploring Operation: 54-48=6, Resulting Numbers: [5, 49, 6]
Generated Node #0,1: 48:[5, 49, 6] Operation: 54-48=6
Exploring Operation: 54-49=5, Resulting Numbers: [48, 5, 5]
Generated Node #0,2: 48:[48, 5, 5] Operation: 54-49=5
Exploring Operation: 49-48=1, Resulting Numbers: [54, 5, 1]
Generated Node #0,3: 48:[54, 5, 1] Operation: 49-48=1
Moving to Node #0,0
Current State: 48:[48, 49, 49], Operations: ['54-5=49']
Exploring Operation: 49-49=0, Resulting Numbers: [48, 0]
Generated Node #0,0,0: 48:[48, 0] Operation: 49-49=0
Exploring Operation: 49-48=1, Resulting Numbers: [49, 1]
Generated Node #0,0,1: 48:[49, 1] Operation: 49-48=1
Exploring Operation: 49/49=1, Resulting Numbers: [48, 1]
Generated Node #0,0,2: 48:[48, 1] Operation: 49/49=1
Exploring Operation: 49-48=1, Resulting Numbers: [49, 1]
Generated Node #0,0,3: 48:[49, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[48, 1], Operations: ['54-5=49', '49/49=1']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[48, 54, 5, 49], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [48, 49, 49]
Generated Node #0,0: 48:[48, 49, 49] Operation: 54-5=49
Moving to Node #0,0
Current State: 48:[48, 49, 49], Operations: ['54-5=49']
Exploring Operation: 49/49=1, Resulting Numbers: [48, 1]
Generated Node #0,0,2: 48:[48, 1] Operation: 49/49=1
Moving to Node #0,0,2
Current State: 48:[48, 1], Operations: ['54-5=49', '49/49=1']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
32,
80,
41,
90
] | 77 | [
"32*90=2880",
"2880/80=36",
"41+36=77"
] | Current State: 77:[32, 80, 41, 90], Operations: []
Exploring Operation: 32*90=2880, Resulting Numbers: [80, 41, 2880]
Generated Node #2: [80, 41, 2880] from Operation: 32*90=2880
Current State: 77:[80, 41, 2880], Operations: ['32*90=2880']
Exploring Operation: 2880/80=36, Resulting Numbers: [41, 36]
Generated Node #3: [41, 36] from Operation: 2880/80=36
Current State: 77:[41, 36], Operations: ['32*90=2880', '2880/80=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[32, 80, 41, 90], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [80, 90, 9]
Generated Node #0,0: 77:[80, 90, 9] Operation: 41-32=9
Exploring Operation: 32+41=73, Resulting Numbers: [80, 90, 73]
Generated Node #0,1: 77:[80, 90, 73] Operation: 32+41=73
Moving to Node #0,0
Current State: 77:[80, 90, 9], Operations: ['41-32=9']
Exploring Operation: 90/9=10, Resulting Numbers: [80, 10]
Generated Node #0,0,0: 77:[80, 10] Operation: 90/9=10
Exploring Operation: 90-80=10, Resulting Numbers: [9, 10]
Generated Node #0,0,1: 77:[9, 10] Operation: 90-80=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[9, 10], Operations: ['41-32=9', '90-80=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,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,0
Current State: 77:[80, 10], Operations: ['41-32=9', '90/9=10']
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,77 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: 77:[80, 90, 73], Operations: ['32+41=73']
Exploring Operation: 90-80=10, Resulting Numbers: [73, 10]
Generated Node #0,1,0: 77:[73, 10] Operation: 90-80=10
Exploring Operation: 90-73=17, Resulting Numbers: [80, 17]
Generated Node #0,1,1: 77:[80, 17] Operation: 90-73=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[73, 10], Operations: ['32+41=73', '90-80=10']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,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,1
Current State: 77:[80, 17], Operations: ['32+41=73', '90-73=17']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 80+17=97, Resulting Numbers: [97]
97,77 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 |
[
28,
21,
17,
72
] | 47 | [
"28-21=7",
"17*7=119",
"119-72=47"
] | Current State: 47:[28, 21, 17, 72], Operations: []
Exploring Operation: 28-21=7, Resulting Numbers: [17, 72, 7]
Generated Node #2: [17, 72, 7] from Operation: 28-21=7
Current State: 47:[17, 72, 7], Operations: ['28-21=7']
Exploring Operation: 17*7=119, Resulting Numbers: [72, 119]
Generated Node #3: [72, 119] from Operation: 17*7=119
Current State: 47:[72, 119], Operations: ['28-21=7', '17*7=119']
Exploring Operation: 119-72=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[28, 21, 17, 72], Operations: []
Exploring Operation: 21+17=38, Resulting Numbers: [28, 72, 38]
Generated Node #0,0: 47:[28, 72, 38] Operation: 21+17=38
Exploring Operation: 72-21=51, Resulting Numbers: [28, 17, 51]
Generated Node #0,1: 47:[28, 17, 51] Operation: 72-21=51
Exploring Operation: 28+17=45, Resulting Numbers: [21, 72, 45]
Generated Node #0,2: 47:[21, 72, 45] Operation: 28+17=45
Moving to Node #0,0
Current State: 47:[28, 72, 38], Operations: ['21+17=38']
Exploring Operation: 28+38=66, Resulting Numbers: [72, 66]
Generated Node #0,0,0: 47:[72, 66] Operation: 28+38=66
Exploring Operation: 72-38=34, Resulting Numbers: [28, 34]
Generated Node #0,0,1: 47:[28, 34] Operation: 72-38=34
Exploring Operation: 72-28=44, Resulting Numbers: [38, 44]
Generated Node #0,0,2: 47:[38, 44] Operation: 72-28=44
Moving to Node #0,1
Current State: 47:[28, 17, 51], Operations: ['72-21=51']
Exploring Operation: 28+17=45, Resulting Numbers: [51, 45]
Generated Node #0,1,0: 47:[51, 45] Operation: 28+17=45
Exploring Operation: 28-17=11, Resulting Numbers: [51, 11]
Generated Node #0,1,1: 47:[51, 11] Operation: 28-17=11
Exploring Operation: 51-17=34, Resulting Numbers: [28, 34]
Generated Node #0,1,2: 47:[28, 34] Operation: 51-17=34
Moving to Node #0,2
Current State: 47:[21, 72, 45], Operations: ['28+17=45']
Exploring Operation: 72-21=51, Resulting Numbers: [45, 51]
Generated Node #0,2,0: 47:[45, 51] Operation: 72-21=51
Exploring Operation: 21+45=66, Resulting Numbers: [72, 66]
Generated Node #0,2,1: 47:[72, 66] Operation: 21+45=66
Exploring Operation: 72-45=27, Resulting Numbers: [21, 27]
Generated Node #0,2,2: 47:[21, 27] Operation: 72-45=27
Moving to Node #0,1,0
Current State: 47:[51, 45], Operations: ['72-21=51', '28+17=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[45, 51], Operations: ['28+17=45', '72-21=51']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 45+51=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 45*51=2295, Resulting Numbers: [2295]
2295,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[38, 44], Operations: ['21+17=38', '72-28=44']
Exploring Operation: 38+44=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 38*44=1672, Resulting Numbers: [1672]
1672,47 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[28, 34], Operations: ['72-21=51', '51-17=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,47 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[28, 34], Operations: ['21+17=38', '72-38=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[51, 11], Operations: ['72-21=51', '28-17=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,47 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,47 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[72, 66], Operations: ['21+17=38', '28+38=66']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,47 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[72, 66], Operations: ['28+17=45', '21+45=66']
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,47 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[21, 27], Operations: ['28+17=45', '72-45=27']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,47 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,47 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
28,
44,
80
] | 70 | [
"62-28=34",
"80-44=36",
"34+36=70"
] | Current State: 70:[62, 28, 44, 80], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [44, 80, 34]
Generated Node #2: [44, 80, 34] from Operation: 62-28=34
Current State: 70:[44, 80, 34], Operations: ['62-28=34']
Exploring Operation: 80-44=36, Resulting Numbers: [34, 36]
Generated Node #3: [34, 36] from Operation: 80-44=36
Current State: 70:[34, 36], Operations: ['62-28=34', '80-44=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[62, 28, 44, 80], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [62, 28, 36]
Generated Node #0,0: 70:[62, 28, 36] Operation: 80-44=36
Exploring Operation: 62-28=34, Resulting Numbers: [44, 80, 34]
Generated Node #0,1: 70:[44, 80, 34] Operation: 62-28=34
Moving to Node #0,0
Current State: 70:[62, 28, 36], Operations: ['80-44=36']
Exploring Operation: 62-28=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 70:[36, 34] Operation: 62-28=34
Exploring Operation: 36-28=8, Resulting Numbers: [62, 8]
Generated Node #0,0,1: 70:[62, 8] Operation: 36-28=8
Moving to Node #0,1
Current State: 70:[44, 80, 34], Operations: ['62-28=34']
Exploring Operation: 80-44=36, Resulting Numbers: [34, 36]
Generated Node #0,1,0: 70:[34, 36] Operation: 80-44=36
Exploring Operation: 44-34=10, Resulting Numbers: [80, 10]
Generated Node #0,1,1: 70:[80, 10] Operation: 44-34=10
Moving to Node #0,0,0
Current State: 70:[36, 34], Operations: ['80-44=36', '62-28=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[62, 28, 44, 80], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [62, 28, 36]
Generated Node #0,0: 70:[62, 28, 36] Operation: 80-44=36
Moving to Node #0,0
Current State: 70:[62, 28, 36], Operations: ['80-44=36']
Exploring Operation: 62-28=34, Resulting Numbers: [36, 34]
Generated Node #0,0,0: 70:[36, 34] Operation: 62-28=34
Moving to Node #0,0,0
Current State: 70:[36, 34], Operations: ['80-44=36', '62-28=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
10,
45,
98,
52
] | 95 | [
"10+45=55",
"98+52=150",
"150-55=95"
] | Current State: 95:[10, 45, 98, 52], Operations: []
Exploring Operation: 10+45=55, Resulting Numbers: [98, 52, 55]
Generated Node #2: [98, 52, 55] from Operation: 10+45=55
Current State: 95:[98, 52, 55], Operations: ['10+45=55']
Exploring Operation: 98+52=150, Resulting Numbers: [55, 150]
Generated Node #3: [55, 150] from Operation: 98+52=150
Current State: 95:[55, 150], Operations: ['10+45=55', '98+52=150']
Exploring Operation: 150-55=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 45, 98, 52], Operations: []
Exploring Operation: 45+52=97, Resulting Numbers: [10, 98, 97]
Generated Node #0,0: 95:[10, 98, 97] Operation: 45+52=97
Exploring Operation: 52-45=7, Resulting Numbers: [10, 98, 7]
Generated Node #0,1: 95:[10, 98, 7] Operation: 52-45=7
Moving to Node #0,0
Current State: 95:[10, 98, 97], Operations: ['45+52=97']
Exploring Operation: 98-10=88, Resulting Numbers: [97, 88]
Generated Node #0,0,0: 95:[97, 88] Operation: 98-10=88
Exploring Operation: 98-97=1, Resulting Numbers: [10, 1]
Generated Node #0,0,1: 95:[10, 1] Operation: 98-97=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[97, 88], Operations: ['45+52=97', '98-10=88']
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 97+88=185, Resulting Numbers: [185]
185,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[10, 1], Operations: ['45+52=97', '98-97=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,95 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: 95:[10, 98, 7], Operations: ['52-45=7']
Exploring Operation: 10-7=3, Resulting Numbers: [98, 3]
Generated Node #0,1,0: 95:[98, 3] Operation: 10-7=3
Exploring Operation: 10+7=17, Resulting Numbers: [98, 17]
Generated Node #0,1,1: 95:[98, 17] Operation: 10+7=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[98, 3], Operations: ['52-45=7', '10-7=3']
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[10, 45, 98, 52], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [10, 98, 7]
Generated Node #0,1: 95:[10, 98, 7] Operation: 52-45=7
Moving to Node #0,1
Current State: 95:[10, 98, 7], Operations: ['52-45=7']
Exploring Operation: 10-7=3, Resulting Numbers: [98, 3]
Generated Node #0,1,0: 95:[98, 3] Operation: 10-7=3
Moving to Node #0,1,0
Current State: 95:[98, 3], Operations: ['52-45=7', '10-7=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
14,
43,
28,
24
] | 62 | [
"28/14=2",
"43*2=86",
"86-24=62"
] | Current State: 62:[14, 43, 28, 24], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [43, 24, 2]
Generated Node #2: [43, 24, 2] from Operation: 28/14=2
Current State: 62:[43, 24, 2], Operations: ['28/14=2']
Exploring Operation: 43*2=86, Resulting Numbers: [24, 86]
Generated Node #3: [24, 86] from Operation: 43*2=86
Current State: 62:[24, 86], Operations: ['28/14=2', '43*2=86']
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[14, 43, 28, 24], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [43, 24, 2]
Generated Node #0,0: 62:[43, 24, 2] Operation: 28/14=2
Exploring Operation: 14+43=57, Resulting Numbers: [28, 24, 57]
Generated Node #0,1: 62:[28, 24, 57] Operation: 14+43=57
Exploring Operation: 43-14=29, Resulting Numbers: [28, 24, 29]
Generated Node #0,2: 62:[28, 24, 29] Operation: 43-14=29
Exploring Operation: 43+24=67, Resulting Numbers: [14, 28, 67]
Generated Node #0,3: 62:[14, 28, 67] Operation: 43+24=67
Moving to Node #0,2
Current State: 62:[28, 24, 29], Operations: ['43-14=29']
Exploring Operation: 29-28=1, Resulting Numbers: [24, 1]
Generated Node #0,2,0: 62:[24, 1] Operation: 29-28=1
Exploring Operation: 28-24=4, Resulting Numbers: [29, 4]
Generated Node #0,2,1: 62:[29, 4] Operation: 28-24=4
Exploring Operation: 29-24=5, Resulting Numbers: [28, 5]
Generated Node #0,2,2: 62:[28, 5] Operation: 29-24=5
Exploring Operation: 28+24=52, Resulting Numbers: [29, 52]
Generated Node #0,2,3: 62:[29, 52] Operation: 28+24=52
Moving to Node #0,1
Current State: 62:[28, 24, 57], Operations: ['14+43=57']
Exploring Operation: 57-24=33, Resulting Numbers: [28, 33]
Generated Node #0,1,0: 62:[28, 33] Operation: 57-24=33
Exploring Operation: 28-24=4, Resulting Numbers: [57, 4]
Generated Node #0,1,1: 62:[57, 4] Operation: 28-24=4
Exploring Operation: 57-28=29, Resulting Numbers: [24, 29]
Generated Node #0,1,2: 62:[24, 29] Operation: 57-28=29
Exploring Operation: 28+24=52, Resulting Numbers: [57, 52]
Generated Node #0,1,3: 62:[57, 52] Operation: 28+24=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[28, 33], Operations: ['14+43=57', '57-24=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,62 unequal: No Solution
No 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: 62:[57, 4], Operations: ['14+43=57', '28-24=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,62 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,62 unequal: No Solution
No 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: 62:[24, 29], Operations: ['14+43=57', '57-28=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,62 unequal: No Solution
No 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: 62:[57, 52], Operations: ['14+43=57', '28+24=52']
Exploring Operation: 57*52=2964, Resulting Numbers: [2964]
2964,62 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,62 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: 62:[43, 24, 2], Operations: ['28/14=2']
Exploring Operation: 43-2=41, Resulting Numbers: [24, 41]
Generated Node #0,0,0: 62:[24, 41] Operation: 43-2=41
Exploring Operation: 43-24=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 62:[2, 19] Operation: 43-24=19
Exploring Operation: 43+24=67, Resulting Numbers: [2, 67]
Generated Node #0,0,2: 62:[2, 67] Operation: 43+24=67
Exploring Operation: 24+2=26, Resulting Numbers: [43, 26]
Generated Node #0,0,3: 62:[43, 26] Operation: 24+2=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[2, 67], Operations: ['28/14=2', '43+24=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,62 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,62 unequal: No Solution
No 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: 62:[2, 19], Operations: ['28/14=2', '43-24=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,62 unequal: No Solution
No 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: 62:[24, 41], Operations: ['28/14=2', '43-2=41']
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 24*41=984, Resulting Numbers: [984]
984,62 unequal: No Solution
No 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: 62:[43, 26], Operations: ['28/14=2', '24+2=26']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,62 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: 62:[14, 28, 67], Operations: ['43+24=67']
Exploring Operation: 28-14=14, Resulting Numbers: [67, 14]
Generated Node #0,3,0: 62:[67, 14] Operation: 28-14=14
Exploring Operation: 14+28=42, Resulting Numbers: [67, 42]
Generated Node #0,3,1: 62:[67, 42] Operation: 14+28=42
Exploring Operation: 67-14=53, Resulting Numbers: [28, 53]
Generated Node #0,3,2: 62:[28, 53] Operation: 67-14=53
Exploring Operation: 28/14=2, Resulting Numbers: [67, 2]
Generated Node #0,3,3: 62:[67, 2] Operation: 28/14=2
Moving to Node #0,2,1
Current State: 62:[29, 4], Operations: ['43-14=29', '28-24=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[67, 2], Operations: ['43+24=67', '28/14=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,62 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[28, 5], Operations: ['43-14=29', '29-24=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[24, 1], Operations: ['43-14=29', '29-28=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[28, 53], Operations: ['43+24=67', '67-14=53']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[29, 52], Operations: ['43-14=29', '28+24=52']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 29*52=1508, Resulting Numbers: [1508]
1508,62 unequal: No Solution
Exploring Operation: 29+52=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[67, 42], Operations: ['43+24=67', '14+28=42']
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,62 unequal: No Solution
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,62 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[67, 14], Operations: ['43+24=67', '28-14=14']
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 67*14=938, Resulting Numbers: [938]
938,62 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
98,
90,
70,
70
] | 56 | [
"98*90=8820",
"8820/70=126",
"126-70=56"
] | Current State: 56:[98, 90, 70, 70], Operations: []
Exploring Operation: 98*90=8820, Resulting Numbers: [70, 70, 8820]
Generated Node #2: [70, 70, 8820] from Operation: 98*90=8820
Current State: 56:[70, 70, 8820], Operations: ['98*90=8820']
Exploring Operation: 8820/70=126, Resulting Numbers: [126]
126,56 equal: Goal Reached
Exploring Operation: 126-70=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[98, 90, 70, 70], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [98, 70, 20]
Generated Node #0,0: 56:[98, 70, 20] Operation: 90-70=20
Exploring Operation: 98-70=28, Resulting Numbers: [90, 70, 28]
Generated Node #0,1: 56:[90, 70, 28] Operation: 98-70=28
Exploring Operation: 98-90=8, Resulting Numbers: [70, 70, 8]
Generated Node #0,2: 56:[70, 70, 8] Operation: 98-90=8
Exploring Operation: 98-70=28, Resulting Numbers: [90, 70, 28]
Generated Node #0,3: 56:[90, 70, 28] Operation: 98-70=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[70, 70, 8], Operations: ['98-90=8']
Exploring Operation: 70-70=0, Resulting Numbers: [8, 0]
Generated Node #0,2,0: 56:[8, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [8, 1]
Generated Node #0,2,1: 56:[8, 1] Operation: 70/70=1
Exploring Operation: 70-8=62, Resulting Numbers: [70, 62]
Generated Node #0,2,2: 56:[70, 62] Operation: 70-8=62
Exploring Operation: 70-8=62, Resulting Numbers: [70, 62]
Generated Node #0,2,3: 56:[70, 62] Operation: 70-8=62
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[8, 1], Operations: ['98-90=8', '70/70=1']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No 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: 56:[8, 0], Operations: ['98-90=8', '70-70=0']
Exploring Operation: 8-0=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 8*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 8+0=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No 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: 56:[70, 62], Operations: ['98-90=8', '70-8=62']
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,56 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,56 unequal: No Solution
No 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: 56:[70, 62], Operations: ['98-90=8', '70-8=62']
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,56 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[90, 70, 28], Operations: ['98-70=28']
Exploring Operation: 90-70=20, Resulting Numbers: [28, 20]
Generated Node #0,1,0: 56:[28, 20] Operation: 90-70=20
Exploring Operation: 90+28=118, Resulting Numbers: [70, 118]
Generated Node #0,1,1: 56:[70, 118] Operation: 90+28=118
Exploring Operation: 70-28=42, Resulting Numbers: [90, 42]
Generated Node #0,1,2: 56:[90, 42] Operation: 70-28=42
Exploring Operation: 90-28=62, Resulting Numbers: [70, 62]
Generated Node #0,1,3: 56:[70, 62] Operation: 90-28=62
Moving to Node #0,1,0
Current State: 56:[28, 20], Operations: ['98-70=28', '90-70=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,56 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[70, 62], Operations: ['98-70=28', '90-28=62']
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,56 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[90, 42], Operations: ['98-70=28', '70-28=42']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,56 unequal: No Solution
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[70, 118], Operations: ['98-70=28', '90+28=118']
Exploring Operation: 70*118=8260, Resulting Numbers: [8260]
8260,56 unequal: No Solution
Exploring Operation: 70+118=188, Resulting Numbers: [188]
188,56 unequal: No Solution
Exploring Operation: 118-70=48, Resulting Numbers: [48]
48,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,3
Current State: 56:[90, 70, 28], Operations: ['98-70=28']
Exploring Operation: 90+28=118, Resulting Numbers: [70, 118]
Generated Node #0,3,0: 56:[70, 118] Operation: 90+28=118
Exploring Operation: 90-70=20, Resulting Numbers: [28, 20]
Generated Node #0,3,1: 56:[28, 20] Operation: 90-70=20
Exploring Operation: 90-28=62, Resulting Numbers: [70, 62]
Generated Node #0,3,2: 56:[70, 62] Operation: 90-28=62
Exploring Operation: 70-28=42, Resulting Numbers: [90, 42]
Generated Node #0,3,3: 56:[90, 42] Operation: 70-28=42
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[28, 20], Operations: ['98-70=28', '90-70=20']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,56 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,56 unequal: No Solution
No 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: 56:[70, 62], Operations: ['98-70=28', '90-28=62']
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,56 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No 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: 56:[90, 42], Operations: ['98-70=28', '70-28=42']
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,56 unequal: No Solution
No 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: 56:[70, 118], Operations: ['98-70=28', '90+28=118']
Exploring Operation: 70*118=8260, Resulting Numbers: [8260]
8260,56 unequal: No Solution
Exploring Operation: 70+118=188, Resulting Numbers: [188]
188,56 unequal: No Solution
Exploring Operation: 118-70=48, Resulting Numbers: [48]
48,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[98, 70, 20], Operations: ['90-70=20']
Exploring Operation: 70-20=50, Resulting Numbers: [98, 50]
Generated Node #0,0,0: 56:[98, 50] Operation: 70-20=50
Exploring Operation: 98+20=118, Resulting Numbers: [70, 118]
Generated Node #0,0,1: 56:[70, 118] Operation: 98+20=118
Exploring Operation: 98-20=78, Resulting Numbers: [70, 78]
Generated Node #0,0,2: 56:[70, 78] Operation: 98-20=78
Exploring Operation: 98-70=28, Resulting Numbers: [20, 28]
Generated Node #0,0,3: 56:[20, 28] Operation: 98-70=28
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[20, 28], Operations: ['90-70=20', '98-70=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,56 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,56 unequal: No Solution
No 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: 56:[70, 78], Operations: ['90-70=20', '98-20=78']
Exploring Operation: 70+78=148, Resulting Numbers: [148]
148,56 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 70*78=5460, Resulting Numbers: [5460]
5460,56 unequal: No Solution
No 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: 56:[98, 50], Operations: ['90-70=20', '70-20=50']
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 98+50=148, Resulting Numbers: [148]
148,56 unequal: No Solution
Exploring Operation: 98*50=4900, Resulting Numbers: [4900]
4900,56 unequal: No Solution
No 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: 56:[70, 118], Operations: ['90-70=20', '98+20=118']
Exploring Operation: 118-70=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 70*118=8260, Resulting Numbers: [8260]
8260,56 unequal: No Solution
Exploring Operation: 70+118=188, Resulting Numbers: [188]
188,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
7,
50,
4
] | 82 | [
"7+4=11",
"12*11=132",
"132-50=82"
] | Current State: 82:[12, 7, 50, 4], Operations: []
Exploring Operation: 7+4=11, Resulting Numbers: [12, 50, 11]
Generated Node #2: [12, 50, 11] from Operation: 7+4=11
Current State: 82:[12, 50, 11], Operations: ['7+4=11']
Exploring Operation: 12*11=132, Resulting Numbers: [50, 132]
Generated Node #3: [50, 132] from Operation: 12*11=132
Current State: 82:[50, 132], Operations: ['7+4=11', '12*11=132']
Exploring Operation: 132-50=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[12, 7, 50, 4], Operations: []
Exploring Operation: 12*7=84, Resulting Numbers: [50, 4, 84]
Generated Node #0,0: 82:[50, 4, 84] Operation: 12*7=84
Exploring Operation: 50-12=38, Resulting Numbers: [7, 4, 38]
Generated Node #0,1: 82:[7, 4, 38] Operation: 50-12=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[7, 4, 38], Operations: ['50-12=38']
Exploring Operation: 7-4=3, Resulting Numbers: [38, 3]
Generated Node #0,1,0: 82:[38, 3] Operation: 7-4=3
Exploring Operation: 7+38=45, Resulting Numbers: [4, 45]
Generated Node #0,1,1: 82:[4, 45] Operation: 7+38=45
Moving to Node #0,1,0
Current State: 82:[38, 3], Operations: ['50-12=38', '7-4=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[4, 45], Operations: ['50-12=38', '7+38=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,82 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[50, 4, 84], Operations: ['12*7=84']
Exploring Operation: 50-4=46, Resulting Numbers: [84, 46]
Generated Node #0,0,0: 82:[84, 46] Operation: 50-4=46
Exploring Operation: 84-50=34, Resulting Numbers: [4, 34]
Generated Node #0,0,1: 82:[4, 34] Operation: 84-50=34
Moving to Node #0,0,0
Current State: 82:[84, 46], Operations: ['12*7=84', '50-4=46']
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[4, 34], Operations: ['12*7=84', '84-50=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,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 | mult_heuristic |
[
21,
62,
31,
21
] | 31 | [
"21+62=83",
"31+21=52",
"83-52=31"
] | Current State: 31:[21, 62, 31, 21], Operations: []
Exploring Operation: 21+62=83, Resulting Numbers: [31, 83]
Generated Node #2: [31, 83] from Operation: 21+62=83
Current State: 31:[31, 83], Operations: ['21+62=83']
Exploring Operation: 31+21=52, Resulting Numbers: [83, 52]
Generated Node #3: [83, 52] from Operation: 31+21=52
Current State: 31:[83, 52], Operations: ['21+62=83', '31+21=52']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[21, 62, 31, 21], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [31, 21, 41]
Generated Node #0,0: 31:[31, 21, 41] Operation: 62-21=41
Exploring Operation: 62-31=31, Resulting Numbers: [21, 21, 31]
Generated Node #0,1: 31:[21, 21, 31] Operation: 62-31=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[31, 21, 41], Operations: ['62-21=41']
Exploring Operation: 41-21=20, Resulting Numbers: [31, 20]
Generated Node #0,0,0: 31:[31, 20] Operation: 41-21=20
Exploring Operation: 31+21=52, Resulting Numbers: [41, 52]
Generated Node #0,0,1: 31:[41, 52] Operation: 31+21=52
Moving to Node #0,0,0
Current State: 31:[31, 20], Operations: ['62-21=41', '41-21=20']
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[41, 52], Operations: ['62-21=41', '31+21=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[21, 21, 31], Operations: ['62-31=31']
Exploring Operation: 21/21=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 31:[31, 1] Operation: 21/21=1
Exploring Operation: 21+21=42, Resulting Numbers: [31, 42]
Generated Node #0,1,1: 31:[31, 42] Operation: 21+21=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[31, 42], Operations: ['62-31=31', '21+21=42']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,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:[31, 1], Operations: ['62-31=31', '21/21=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[21, 62, 31, 21], Operations: []
Exploring Operation: 62-31=31, Resulting Numbers: [21, 21, 31]
Generated Node #0,1: 31:[21, 21, 31] Operation: 62-31=31
Moving to Node #0,1
Current State: 31:[21, 21, 31], Operations: ['62-31=31']
Exploring Operation: 21/21=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 31:[31, 1] Operation: 21/21=1
Moving to Node #0,1,0
Current State: 31:[31, 1], Operations: ['62-31=31', '21/21=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
34,
54,
15,
81
] | 22 | [
"34+54=88",
"81-15=66",
"88-66=22"
] | Current State: 22:[34, 54, 15, 81], Operations: []
Exploring Operation: 34+54=88, Resulting Numbers: [15, 81, 88]
Generated Node #2: [15, 81, 88] from Operation: 34+54=88
Current State: 22:[15, 81, 88], Operations: ['34+54=88']
Exploring Operation: 81-15=66, Resulting Numbers: [88, 66]
Generated Node #3: [88, 66] from Operation: 81-15=66
Current State: 22:[88, 66], Operations: ['34+54=88', '81-15=66']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[34, 54, 15, 81], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [54, 15, 47]
Generated Node #0,0: 22:[54, 15, 47] Operation: 81-34=47
Exploring Operation: 54-34=20, Resulting Numbers: [15, 81, 20]
Generated Node #0,1: 22:[15, 81, 20] Operation: 54-34=20
Exploring Operation: 54-15=39, Resulting Numbers: [34, 81, 39]
Generated Node #0,2: 22:[34, 81, 39] Operation: 54-15=39
Exploring Operation: 81-15=66, Resulting Numbers: [34, 54, 66]
Generated Node #0,3: 22:[34, 54, 66] Operation: 81-15=66
Exploring Operation: 81-54=27, Resulting Numbers: [34, 15, 27]
Generated Node #0,4: 22:[34, 15, 27] Operation: 81-54=27
Start Sub Search at level 1: Moving to Node #0,4
Current State: 22:[34, 15, 27], Operations: ['81-54=27']
Exploring Operation: 27-15=12, Resulting Numbers: [34, 12]
Generated Node #0,4,0: 22:[34, 12] Operation: 27-15=12
Exploring Operation: 15+27=42, Resulting Numbers: [34, 42]
Generated Node #0,4,1: 22:[34, 42] Operation: 15+27=42
Exploring Operation: 34-15=19, Resulting Numbers: [27, 19]
Generated Node #0,4,2: 22:[27, 19] Operation: 34-15=19
Exploring Operation: 34-27=7, Resulting Numbers: [15, 7]
Generated Node #0,4,3: 22:[15, 7] Operation: 34-27=7
Exploring Operation: 34+15=49, Resulting Numbers: [27, 49]
Generated Node #0,4,4: 22:[27, 49] Operation: 34+15=49
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 22:[27, 19], Operations: ['81-54=27', '34-15=19']
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,22 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 22:[15, 7], Operations: ['81-54=27', '34-27=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[34, 54, 15, 81], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [34, 15, 27]
Generated Node #0,4: 22:[34, 15, 27] Operation: 81-54=27
Moving to Node #0,4
Current State: 22:[34, 15, 27], Operations: ['81-54=27']
Exploring Operation: 34-27=7, Resulting Numbers: [15, 7]
Generated Node #0,4,3: 22:[15, 7] Operation: 34-27=7
Moving to Node #0,4,3
Current State: 22:[15, 7], Operations: ['81-54=27', '34-27=7']
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
89,
54,
31,
24
] | 49 | [
"89+31=120",
"120/24=5",
"54-5=49"
] | Current State: 49:[89, 54, 31, 24], Operations: []
Exploring Operation: 89+31=120, Resulting Numbers: [54, 24, 120]
Generated Node #2: [54, 24, 120] from Operation: 89+31=120
Current State: 49:[54, 24, 120], Operations: ['89+31=120']
Exploring Operation: 120/24=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 120/24=5
Current State: 49:[54, 5], Operations: ['89+31=120', '120/24=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[89, 54, 31, 24], Operations: []
Exploring Operation: 89-31=58, Resulting Numbers: [54, 24, 58]
Generated Node #0,0: 49:[54, 24, 58] Operation: 89-31=58
Exploring Operation: 31-24=7, Resulting Numbers: [89, 54, 7]
Generated Node #0,1: 49:[89, 54, 7] Operation: 31-24=7
Exploring Operation: 89-54=35, Resulting Numbers: [31, 24, 35]
Generated Node #0,2: 49:[31, 24, 35] Operation: 89-54=35
Exploring Operation: 89-24=65, Resulting Numbers: [54, 31, 65]
Generated Node #0,3: 49:[54, 31, 65] Operation: 89-24=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[54, 24, 58], Operations: ['89-31=58']
Exploring Operation: 58-54=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 49:[24, 4] Operation: 58-54=4
Exploring Operation: 58-24=34, Resulting Numbers: [54, 34]
Generated Node #0,0,1: 49:[54, 34] Operation: 58-24=34
Exploring Operation: 54+24=78, Resulting Numbers: [58, 78]
Generated Node #0,0,2: 49:[58, 78] Operation: 54+24=78
Exploring Operation: 54-24=30, Resulting Numbers: [58, 30]
Generated Node #0,0,3: 49:[58, 30] Operation: 54-24=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[24, 4], Operations: ['89-31=58', '58-54=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[54, 34], Operations: ['89-31=58', '58-24=34']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,49 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[58, 30], Operations: ['89-31=58', '54-24=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[58, 78], Operations: ['89-31=58', '54+24=78']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 58+78=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 58*78=4524, Resulting Numbers: [4524]
4524,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[54, 31, 65], Operations: ['89-24=65']
Exploring Operation: 54-31=23, Resulting Numbers: [65, 23]
Generated Node #0,3,0: 49:[65, 23] Operation: 54-31=23
Exploring Operation: 65-54=11, Resulting Numbers: [31, 11]
Generated Node #0,3,1: 49:[31, 11] Operation: 65-54=11
Exploring Operation: 54+31=85, Resulting Numbers: [65, 85]
Generated Node #0,3,2: 49:[65, 85] Operation: 54+31=85
Exploring Operation: 65-31=34, Resulting Numbers: [54, 34]
Generated Node #0,3,3: 49:[54, 34] Operation: 65-31=34
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 49:[54, 34], Operations: ['89-24=65', '65-31=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,49 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 49:[31, 11], Operations: ['89-24=65', '65-54=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,49 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[65, 23], Operations: ['89-24=65', '54-31=23']
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,49 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 49:[65, 85], Operations: ['89-24=65', '54+31=85']
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[89, 54, 7], Operations: ['31-24=7']
Exploring Operation: 54-7=47, Resulting Numbers: [89, 47]
Generated Node #0,1,0: 49:[89, 47] Operation: 54-7=47
Exploring Operation: 89-7=82, Resulting Numbers: [54, 82]
Generated Node #0,1,1: 49:[54, 82] Operation: 89-7=82
Exploring Operation: 89+7=96, Resulting Numbers: [54, 96]
Generated Node #0,1,2: 49:[54, 96] Operation: 89+7=96
Exploring Operation: 89-54=35, Resulting Numbers: [7, 35]
Generated Node #0,1,3: 49:[7, 35] Operation: 89-54=35
Moving to Node #0,1,3
Current State: 49:[7, 35], Operations: ['31-24=7', '89-54=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,49 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[54, 82], Operations: ['31-24=7', '89-7=82']
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,49 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[89, 47], Operations: ['31-24=7', '54-7=47']
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,49 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,49 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[54, 96], Operations: ['31-24=7', '89+7=96']
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[31, 24, 35], Operations: ['89-54=35']
Exploring Operation: 35-24=11, Resulting Numbers: [31, 11]
Generated Node #0,2,0: 49:[31, 11] Operation: 35-24=11
Exploring Operation: 31+24=55, Resulting Numbers: [35, 55]
Generated Node #0,2,1: 49:[35, 55] Operation: 31+24=55
Exploring Operation: 35-31=4, Resulting Numbers: [24, 4]
Generated Node #0,2,2: 49:[24, 4] Operation: 35-31=4
Exploring Operation: 31-24=7, Resulting Numbers: [35, 7]
Generated Node #0,2,3: 49:[35, 7] Operation: 31-24=7
Moving to Node #0,2,3
Current State: 49:[35, 7], Operations: ['89-54=35', '31-24=7']
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,49 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[24, 4], Operations: ['89-54=35', '35-31=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[35, 55], Operations: ['89-54=35', '31+24=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,49 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[31, 11], Operations: ['89-54=35', '35-24=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,49 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 |
[
5,
96,
48,
18
] | 14 | [
"96/48=2",
"18/2=9",
"5+9=14"
] | Current State: 14:[5, 96, 48, 18], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [5, 18, 2]
Generated Node #2: [5, 18, 2] from Operation: 96/48=2
Current State: 14:[5, 18, 2], Operations: ['96/48=2']
Exploring Operation: 18/2=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 18/2=9
Current State: 14:[5, 9], Operations: ['96/48=2', '18/2=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[5, 96, 48, 18], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [5, 18, 48]
Generated Node #0,0: 14:[5, 18, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [5, 18, 2]
Generated Node #0,1: 14:[5, 18, 2] Operation: 96/48=2
Moving to Node #0,1
Current State: 14:[5, 18, 2], Operations: ['96/48=2']
Exploring Operation: 5+2=7, Resulting Numbers: [18, 7]
Generated Node #0,1,0: 14:[18, 7] Operation: 5+2=7
Exploring Operation: 18-5=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 14:[2, 13] Operation: 18-5=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[2, 13], Operations: ['96/48=2', '18-5=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[18, 7], Operations: ['96/48=2', '5+2=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,14 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: 14:[5, 18, 48], Operations: ['96-48=48']
Exploring Operation: 48-5=43, Resulting Numbers: [18, 43]
Generated Node #0,0,0: 14:[18, 43] Operation: 48-5=43
Exploring Operation: 48-18=30, Resulting Numbers: [5, 30]
Generated Node #0,0,1: 14:[5, 30] Operation: 48-18=30
Moving to Node #0,0,1
Current State: 14:[5, 30], Operations: ['96-48=48', '48-18=30']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[18, 43], Operations: ['96-48=48', '48-5=43']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,14 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
67,
52,
64
] | 79 | [
"24+67=91",
"64-52=12",
"91-12=79"
] | Current State: 79:[24, 67, 52, 64], Operations: []
Exploring Operation: 24+67=91, Resulting Numbers: [52, 64, 91]
Generated Node #2: [52, 64, 91] from Operation: 24+67=91
Current State: 79:[52, 64, 91], Operations: ['24+67=91']
Exploring Operation: 64-52=12, Resulting Numbers: [91, 12]
Generated Node #3: [91, 12] from Operation: 64-52=12
Current State: 79:[91, 12], Operations: ['24+67=91', '64-52=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[24, 67, 52, 64], Operations: []
Exploring Operation: 24+67=91, Resulting Numbers: [52, 64, 91]
Generated Node #0,0: 79:[52, 64, 91] Operation: 24+67=91
Exploring Operation: 24+64=88, Resulting Numbers: [67, 52, 88]
Generated Node #0,1: 79:[67, 52, 88] Operation: 24+64=88
Exploring Operation: 24+52=76, Resulting Numbers: [67, 64, 76]
Generated Node #0,2: 79:[67, 64, 76] Operation: 24+52=76
Moving to Node #0,2
Current State: 79:[67, 64, 76], Operations: ['24+52=76']
Exploring Operation: 64+76=140, Resulting Numbers: [67, 140]
Generated Node #0,2,0: 79:[67, 140] Operation: 64+76=140
Exploring Operation: 67-64=3, Resulting Numbers: [76, 3]
Generated Node #0,2,1: 79:[76, 3] Operation: 67-64=3
Exploring Operation: 67+64=131, Resulting Numbers: [76, 131]
Generated Node #0,2,2: 79:[76, 131] Operation: 67+64=131
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[76, 131], Operations: ['24+52=76', '67+64=131']
Exploring Operation: 76*131=9956, Resulting Numbers: [9956]
9956,79 unequal: No Solution
Exploring Operation: 76+131=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 131-76=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[67, 140], Operations: ['24+52=76', '64+76=140']
Exploring Operation: 67+140=207, Resulting Numbers: [207]
207,79 unequal: No Solution
Exploring Operation: 140-67=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 67*140=9380, Resulting Numbers: [9380]
9380,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[76, 3], Operations: ['24+52=76', '67-64=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[24, 67, 52, 64], Operations: []
Exploring Operation: 24+52=76, Resulting Numbers: [67, 64, 76]
Generated Node #0,2: 79:[67, 64, 76] Operation: 24+52=76
Moving to Node #0,2
Current State: 79:[67, 64, 76], Operations: ['24+52=76']
Exploring Operation: 67-64=3, Resulting Numbers: [76, 3]
Generated Node #0,2,1: 79:[76, 3] Operation: 67-64=3
Moving to Node #0,2,1
Current State: 79:[76, 3], Operations: ['24+52=76', '67-64=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
5,
30,
52,
8
] | 79 | [
"5+30=35",
"52-8=44",
"35+44=79"
] | Current State: 79:[5, 30, 52, 8], Operations: []
Exploring Operation: 5+30=35, Resulting Numbers: [52, 8, 35]
Generated Node #2: [52, 8, 35] from Operation: 5+30=35
Current State: 79:[52, 8, 35], Operations: ['5+30=35']
Exploring Operation: 52-8=44, Resulting Numbers: [35, 44]
Generated Node #3: [35, 44] from Operation: 52-8=44
Current State: 79:[35, 44], Operations: ['5+30=35', '52-8=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[5, 30, 52, 8], Operations: []
Exploring Operation: 5+30=35, Resulting Numbers: [52, 8, 35]
Generated Node #0,0: 79:[52, 8, 35] Operation: 5+30=35
Exploring Operation: 5+52=57, Resulting Numbers: [30, 8, 57]
Generated Node #0,1: 79:[30, 8, 57] Operation: 5+52=57
Exploring Operation: 5*8=40, Resulting Numbers: [30, 52, 40]
Generated Node #0,2: 79:[30, 52, 40] Operation: 5*8=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[30, 52, 40], Operations: ['5*8=40']
Exploring Operation: 52+40=92, Resulting Numbers: [30, 92]
Generated Node #0,2,0: 79:[30, 92] Operation: 52+40=92
Exploring Operation: 30+52=82, Resulting Numbers: [40, 82]
Generated Node #0,2,1: 79:[40, 82] Operation: 30+52=82
Exploring Operation: 30+40=70, Resulting Numbers: [52, 70]
Generated Node #0,2,2: 79:[52, 70] Operation: 30+40=70
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[52, 70], Operations: ['5*8=40', '30+40=70']
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,79 unequal: No Solution
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[40, 82], Operations: ['5*8=40', '30+52=82']
Exploring Operation: 40*82=3280, Resulting Numbers: [3280]
3280,79 unequal: No Solution
Exploring Operation: 40+82=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[30, 92], Operations: ['5*8=40', '52+40=92']
Exploring Operation: 30+92=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 30*92=2760, Resulting Numbers: [2760]
2760,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[52, 8, 35], Operations: ['5+30=35']
Exploring Operation: 8+35=43, Resulting Numbers: [52, 43]
Generated Node #0,0,0: 79:[52, 43] Operation: 8+35=43
Exploring Operation: 52+8=60, Resulting Numbers: [35, 60]
Generated Node #0,0,1: 79:[35, 60] Operation: 52+8=60
Exploring Operation: 52-8=44, Resulting Numbers: [35, 44]
Generated Node #0,0,2: 79:[35, 44] Operation: 52-8=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[52, 43], Operations: ['5+30=35', '8+35=43']
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,79 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[35, 60], Operations: ['5+30=35', '52+8=60']
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,79 unequal: No Solution
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[35, 44], Operations: ['5+30=35', '52-8=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[5, 30, 52, 8], Operations: []
Exploring Operation: 5+30=35, Resulting Numbers: [52, 8, 35]
Generated Node #0,0: 79:[52, 8, 35] Operation: 5+30=35
Moving to Node #0,0
Current State: 79:[52, 8, 35], Operations: ['5+30=35']
Exploring Operation: 52-8=44, Resulting Numbers: [35, 44]
Generated Node #0,0,2: 79:[35, 44] Operation: 52-8=44
Moving to Node #0,0,2
Current State: 79:[35, 44], Operations: ['5+30=35', '52-8=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
25,
46,
2,
50
] | 52 | [
"25-2=23",
"46/23=2",
"50+2=52"
] | Current State: 52:[25, 46, 2, 50], Operations: []
Exploring Operation: 25-2=23, Resulting Numbers: [46, 50, 23]
Generated Node #2: [46, 50, 23] from Operation: 25-2=23
Current State: 52:[46, 50, 23], Operations: ['25-2=23']
Exploring Operation: 46/23=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 46/23=2
Current State: 52:[50, 2], Operations: ['25-2=23', '46/23=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[25, 46, 2, 50], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [25, 2, 4]
Generated Node #0,0: 52:[25, 2, 4] Operation: 50-46=4
Exploring Operation: 46/2=23, Resulting Numbers: [25, 50, 23]
Generated Node #0,1: 52:[25, 50, 23] Operation: 46/2=23
Exploring Operation: 46-25=21, Resulting Numbers: [2, 50, 21]
Generated Node #0,2: 52:[2, 50, 21] Operation: 46-25=21
Exploring Operation: 50/25=2, Resulting Numbers: [46, 2, 2]
Generated Node #0,3: 52:[46, 2, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [46, 2, 25]
Generated Node #0,4: 52:[46, 2, 25] Operation: 50-25=25
Moving to Node #0,0
Current State: 52:[25, 2, 4], Operations: ['50-46=4']
Exploring Operation: 4/2=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 52:[25, 2] Operation: 4/2=2
Exploring Operation: 25-2=23, Resulting Numbers: [4, 23]
Generated Node #0,0,1: 52:[4, 23] Operation: 25-2=23
Exploring Operation: 25*2=50, Resulting Numbers: [4, 50]
Generated Node #0,0,2: 52:[4, 50] Operation: 25*2=50
Exploring Operation: 25+2=27, Resulting Numbers: [4, 27]
Generated Node #0,0,3: 52:[4, 27] Operation: 25+2=27
Exploring Operation: 4-2=2, Resulting Numbers: [25, 2]
Generated Node #0,0,4: 52:[25, 2] Operation: 4-2=2
Moving to Node #0,3
Current State: 52:[46, 2, 2], Operations: ['50/25=2']
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,3,0: 52:[2, 23] Operation: 46/2=23
Exploring Operation: 2+2=4, Resulting Numbers: [46, 4]
Generated Node #0,3,1: 52:[46, 4] Operation: 2+2=4
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,3,2: 52:[2, 23] Operation: 46/2=23
Exploring Operation: 46+2=48, Resulting Numbers: [2, 48]
Generated Node #0,3,3: 52:[2, 48] Operation: 46+2=48
Exploring Operation: 46+2=48, Resulting Numbers: [2, 48]
Generated Node #0,3,4: 52:[2, 48] Operation: 46+2=48
Moving to Node #0,1
Current State: 52:[25, 50, 23], Operations: ['46/2=23']
Exploring Operation: 50/25=2, Resulting Numbers: [23, 2]
Generated Node #0,1,0: 52:[23, 2] Operation: 50/25=2
Exploring Operation: 25-23=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 52:[50, 2] Operation: 25-23=2
Exploring Operation: 50-25=25, Resulting Numbers: [23, 25]
Generated Node #0,1,2: 52:[23, 25] Operation: 50-25=25
Exploring Operation: 50-23=27, Resulting Numbers: [25, 27]
Generated Node #0,1,3: 52:[25, 27] Operation: 50-23=27
Exploring Operation: 25+23=48, Resulting Numbers: [50, 48]
Generated Node #0,1,4: 52:[50, 48] Operation: 25+23=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[50, 2], Operations: ['46/2=23', '25-23=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[25, 46, 2, 50], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [25, 50, 23]
Generated Node #0,1: 52:[25, 50, 23] Operation: 46/2=23
Moving to Node #0,1
Current State: 52:[25, 50, 23], Operations: ['46/2=23']
Exploring Operation: 25-23=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 52:[50, 2] Operation: 25-23=2
Moving to Node #0,1,1
Current State: 52:[50, 2], Operations: ['46/2=23', '25-23=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
57,
50,
12,
4
] | 20 | [
"57-50=7",
"12-7=5",
"4*5=20"
] | Current State: 20:[57, 50, 12, 4], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [12, 4, 7]
Generated Node #2: [12, 4, 7] from Operation: 57-50=7
Current State: 20:[12, 4, 7], Operations: ['57-50=7']
Exploring Operation: 12-7=5, Resulting Numbers: [4, 5]
Generated Node #3: [4, 5] from Operation: 12-7=5
Current State: 20:[4, 5], Operations: ['57-50=7', '12-7=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[57, 50, 12, 4], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [50, 4, 45]
Generated Node #0,0: 20:[50, 4, 45] Operation: 57-12=45
Exploring Operation: 57-50=7, Resulting Numbers: [12, 4, 7]
Generated Node #0,1: 20:[12, 4, 7] Operation: 57-50=7
Moving to Node #0,1
Current State: 20:[12, 4, 7], Operations: ['57-50=7']
Exploring Operation: 12-7=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 20:[4, 5] Operation: 12-7=5
Exploring Operation: 12+7=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 20:[4, 19] Operation: 12+7=19
Moving to Node #0,0
Current State: 20:[50, 4, 45], Operations: ['57-12=45']
Exploring Operation: 50-45=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 20:[4, 5] Operation: 50-45=5
Exploring Operation: 50-4=46, Resulting Numbers: [45, 46]
Generated Node #0,0,1: 20:[45, 46] Operation: 50-4=46
Moving to Node #0,1,0
Current State: 20:[4, 5], Operations: ['57-50=7', '12-7=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[57, 50, 12, 4], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [12, 4, 7]
Generated Node #0,1: 20:[12, 4, 7] Operation: 57-50=7
Moving to Node #0,1
Current State: 20:[12, 4, 7], Operations: ['57-50=7']
Exploring Operation: 12-7=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 20:[4, 5] Operation: 12-7=5
Moving to Node #0,1,0
Current State: 20:[4, 5], Operations: ['57-50=7', '12-7=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
49,
31,
81,
97
] | 96 | [
"49+31=80",
"97-81=16",
"80+16=96"
] | Current State: 96:[49, 31, 81, 97], Operations: []
Exploring Operation: 49+31=80, Resulting Numbers: [81, 97, 80]
Generated Node #2: [81, 97, 80] from Operation: 49+31=80
Current State: 96:[81, 97, 80], Operations: ['49+31=80']
Exploring Operation: 97-81=16, Resulting Numbers: [80, 16]
Generated Node #3: [80, 16] from Operation: 97-81=16
Current State: 96:[80, 16], Operations: ['49+31=80', '97-81=16']
Exploring Operation: 80+16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[49, 31, 81, 97], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [49, 31, 16]
Generated Node #0,0: 96:[49, 31, 16] Operation: 97-81=16
Exploring Operation: 81-49=32, Resulting Numbers: [31, 97, 32]
Generated Node #0,1: 96:[31, 97, 32] Operation: 81-49=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[49, 31, 16], Operations: ['97-81=16']
Exploring Operation: 49-31=18, Resulting Numbers: [16, 18]
Generated Node #0,0,0: 96:[16, 18] Operation: 49-31=18
Exploring Operation: 49-16=33, Resulting Numbers: [31, 33]
Generated Node #0,0,1: 96:[31, 33] Operation: 49-16=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[16, 18], Operations: ['97-81=16', '49-31=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,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,0,1
Current State: 96:[31, 33], Operations: ['97-81=16', '49-16=33']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,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,1
Current State: 96:[31, 97, 32], Operations: ['81-49=32']
Exploring Operation: 31+32=63, Resulting Numbers: [97, 63]
Generated Node #0,1,0: 96:[97, 63] Operation: 31+32=63
Exploring Operation: 32-31=1, Resulting Numbers: [97, 1]
Generated Node #0,1,1: 96:[97, 1] Operation: 32-31=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[97, 1], Operations: ['81-49=32', '32-31=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[49, 31, 81, 97], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [31, 97, 32]
Generated Node #0,1: 96:[31, 97, 32] Operation: 81-49=32
Moving to Node #0,1
Current State: 96:[31, 97, 32], Operations: ['81-49=32']
Exploring Operation: 32-31=1, Resulting Numbers: [97, 1]
Generated Node #0,1,1: 96:[97, 1] Operation: 32-31=1
Moving to Node #0,1,1
Current State: 96:[97, 1], Operations: ['81-49=32', '32-31=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
68,
90,
28,
52
] | 58 | [
"90-68=22",
"28+52=80",
"80-22=58"
] | Current State: 58:[68, 90, 28, 52], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [28, 52, 22]
Generated Node #2: [28, 52, 22] from Operation: 90-68=22
Current State: 58:[28, 52, 22], Operations: ['90-68=22']
Exploring Operation: 28+52=80, Resulting Numbers: [22, 80]
Generated Node #3: [22, 80] from Operation: 28+52=80
Current State: 58:[22, 80], Operations: ['90-68=22', '28+52=80']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[68, 90, 28, 52], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [28, 52, 22]
Generated Node #0,0: 58:[28, 52, 22] Operation: 90-68=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[28, 52, 22], Operations: ['90-68=22']
Exploring Operation: 52-22=30, Resulting Numbers: [28, 30]
Generated Node #0,0,0: 58:[28, 30] Operation: 52-22=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[28, 30], Operations: ['90-68=22', '52-22=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[68, 90, 28, 52], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [28, 52, 22]
Generated Node #0,0: 58:[28, 52, 22] Operation: 90-68=22
Moving to Node #0,0
Current State: 58:[28, 52, 22], Operations: ['90-68=22']
Exploring Operation: 52-22=30, Resulting Numbers: [28, 30]
Generated Node #0,0,0: 58:[28, 30] Operation: 52-22=30
Moving to Node #0,0,0
Current State: 58:[28, 30], Operations: ['90-68=22', '52-22=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
40,
39,
48,
4
] | 68 | [
"40+48=88",
"39*4=156",
"156-88=68"
] | Current State: 68:[40, 39, 48, 4], Operations: []
Exploring Operation: 40+48=88, Resulting Numbers: [39, 4, 88]
Generated Node #2: [39, 4, 88] from Operation: 40+48=88
Current State: 68:[39, 4, 88], Operations: ['40+48=88']
Exploring Operation: 39*4=156, Resulting Numbers: [88, 156]
Generated Node #3: [88, 156] from Operation: 39*4=156
Current State: 68:[88, 156], Operations: ['40+48=88', '39*4=156']
Exploring Operation: 156-88=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[40, 39, 48, 4], Operations: []
Exploring Operation: 48-40=8, Resulting Numbers: [39, 4, 8]
Generated Node #0,0: 68:[39, 4, 8] Operation: 48-40=8
Moving to Node #0,0
Current State: 68:[39, 4, 8], Operations: ['48-40=8']
Exploring Operation: 39-8=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 68:[4, 31] Operation: 39-8=31
Moving to Node #0,0,0
Current State: 68:[4, 31], Operations: ['48-40=8', '39-8=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,68 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
58,
51,
84
] | 72 | [
"58-51=7",
"84/7=12",
"84-12=72"
] | Current State: 72:[84, 58, 51, 84], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [84, 84, 7]
Generated Node #2: [84, 84, 7] from Operation: 58-51=7
Current State: 72:[84, 84, 7], Operations: ['58-51=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,72 equal: Goal Reached
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[84, 58, 51, 84], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [58, 84, 33]
Generated Node #0,0: 72:[58, 84, 33] Operation: 84-51=33
Exploring Operation: 58-51=7, Resulting Numbers: [84, 84, 7]
Generated Node #0,1: 72:[84, 84, 7] Operation: 58-51=7
Exploring Operation: 84-58=26, Resulting Numbers: [51, 84, 26]
Generated Node #0,2: 72:[51, 84, 26] Operation: 84-58=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[84, 84, 7], Operations: ['58-51=7']
Exploring Operation: 84-84=0, Resulting Numbers: [7, 0]
Generated Node #0,1,0: 72:[7, 0] Operation: 84-84=0
Exploring Operation: 84/7=12, Resulting Numbers: [84, 12]
Generated Node #0,1,1: 72:[84, 12] Operation: 84/7=12
Exploring Operation: 84/84=1, Resulting Numbers: [7, 1]
Generated Node #0,1,2: 72:[7, 1] Operation: 84/84=1
Moving to Node #0,1,2
Current State: 72:[7, 1], Operations: ['58-51=7', '84/84=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[7, 0], Operations: ['58-51=7', '84-84=0']
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[84, 12], Operations: ['58-51=7', '84/7=12']
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,72 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[84, 58, 51, 84], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [84, 84, 7]
Generated Node #0,1: 72:[84, 84, 7] Operation: 58-51=7
Moving to Node #0,1
Current State: 72:[84, 84, 7], Operations: ['58-51=7']
Exploring Operation: 84/7=12, Resulting Numbers: [84, 12]
Generated Node #0,1,1: 72:[84, 12] Operation: 84/7=12
Moving to Node #0,1,1
Current State: 72:[84, 12], Operations: ['58-51=7', '84/7=12']
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.