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 |
|---|---|---|---|---|---|---|---|---|
[
93,
23,
4,
44
] | 30 | [
"93-23=70",
"44-4=40",
"70-40=30"
] | Current State: 30:[93, 23, 4, 44], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [4, 44, 70]
Generated Node #2: [4, 44, 70] from Operation: 93-23=70
Current State: 30:[4, 44, 70], Operations: ['93-23=70']
Exploring Operation: 44-4=40, Resulting Numbers: [70, 40]
Generated Node #3: [70, 40] from Operation: 44-4=40
Current State: 30:[70, 40], Operations: ['93-23=70', '44-4=40']
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[93, 23, 4, 44], Operations: []
Exploring Operation: 44-23=21, Resulting Numbers: [93, 4, 21]
Generated Node #0,0: 30:[93, 4, 21] Operation: 44-23=21
Exploring Operation: 93-44=49, Resulting Numbers: [23, 4, 49]
Generated Node #0,1: 30:[23, 4, 49] Operation: 93-44=49
Exploring Operation: 44/4=11, Resulting Numbers: [93, 23, 11]
Generated Node #0,2: 30:[93, 23, 11] Operation: 44/4=11
Exploring Operation: 93-23=70, Resulting Numbers: [4, 44, 70]
Generated Node #0,3: 30:[4, 44, 70] Operation: 93-23=70
Moving to Node #0,1
Current State: 30:[23, 4, 49], Operations: ['93-44=49']
Exploring Operation: 23-4=19, Resulting Numbers: [49, 19]
Generated Node #0,1,0: 30:[49, 19] Operation: 23-4=19
Exploring Operation: 23+4=27, Resulting Numbers: [49, 27]
Generated Node #0,1,1: 30:[49, 27] Operation: 23+4=27
Exploring Operation: 49-23=26, Resulting Numbers: [4, 26]
Generated Node #0,1,2: 30:[4, 26] Operation: 49-23=26
Exploring Operation: 49-4=45, Resulting Numbers: [23, 45]
Generated Node #0,1,3: 30:[23, 45] Operation: 49-4=45
Moving to Node #0,3
Current State: 30:[4, 44, 70], Operations: ['93-23=70']
Exploring Operation: 44/4=11, Resulting Numbers: [70, 11]
Generated Node #0,3,0: 30:[70, 11] Operation: 44/4=11
Exploring Operation: 70-44=26, Resulting Numbers: [4, 26]
Generated Node #0,3,1: 30:[4, 26] Operation: 70-44=26
Exploring Operation: 70-4=66, Resulting Numbers: [44, 66]
Generated Node #0,3,2: 30:[44, 66] Operation: 70-4=66
Exploring Operation: 44-4=40, Resulting Numbers: [70, 40]
Generated Node #0,3,3: 30:[70, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[4, 26], Operations: ['93-23=70', '70-44=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[93, 23, 4, 44], Operations: []
Exploring Operation: 93-23=70, Resulting Numbers: [4, 44, 70]
Generated Node #0,3: 30:[4, 44, 70] Operation: 93-23=70
Moving to Node #0,3
Current State: 30:[4, 44, 70], Operations: ['93-23=70']
Exploring Operation: 70-44=26, Resulting Numbers: [4, 26]
Generated Node #0,3,1: 30:[4, 26] Operation: 70-44=26
Moving to Node #0,3,1
Current State: 30:[4, 26], Operations: ['93-23=70', '70-44=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
8,
31,
37,
33
] | 82 | [
"33-31=2",
"37*2=74",
"8+74=82"
] | Current State: 82:[8, 31, 37, 33], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [8, 37, 2]
Generated Node #2: [8, 37, 2] from Operation: 33-31=2
Current State: 82:[8, 37, 2], Operations: ['33-31=2']
Exploring Operation: 37*2=74, Resulting Numbers: [8, 74]
Generated Node #3: [8, 74] from Operation: 37*2=74
Current State: 82:[8, 74], Operations: ['33-31=2', '37*2=74']
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[8, 31, 37, 33], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [8, 37, 2]
Generated Node #0,0: 82:[8, 37, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[8, 37, 2], Operations: ['33-31=2']
Exploring Operation: 8+37=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 82:[2, 45] Operation: 8+37=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[2, 45], Operations: ['33-31=2', '8+37=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
88,
12,
3
] | 92 | [
"88-65=23",
"12/3=4",
"23*4=92"
] | Current State: 92:[65, 88, 12, 3], Operations: []
Exploring Operation: 88-65=23, Resulting Numbers: [12, 3, 23]
Generated Node #2: [12, 3, 23] from Operation: 88-65=23
Current State: 92:[12, 3, 23], Operations: ['88-65=23']
Exploring Operation: 12/3=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 12/3=4
Current State: 92:[23, 4], Operations: ['88-65=23', '12/3=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[65, 88, 12, 3], Operations: []
Exploring Operation: 65+12=77, Resulting Numbers: [88, 3, 77]
Generated Node #0,0: 92:[88, 3, 77] Operation: 65+12=77
Exploring Operation: 12/3=4, Resulting Numbers: [65, 88, 4]
Generated Node #0,1: 92:[65, 88, 4] Operation: 12/3=4
Exploring Operation: 88-65=23, Resulting Numbers: [12, 3, 23]
Generated Node #0,2: 92:[12, 3, 23] Operation: 88-65=23
Exploring Operation: 65-3=62, Resulting Numbers: [88, 12, 62]
Generated Node #0,3: 92:[88, 12, 62] Operation: 65-3=62
Exploring Operation: 65-12=53, Resulting Numbers: [88, 3, 53]
Generated Node #0,4: 92:[88, 3, 53] Operation: 65-12=53
Moving to Node #0,2
Current State: 92:[12, 3, 23], Operations: ['88-65=23']
Exploring Operation: 23-12=11, Resulting Numbers: [3, 11]
Generated Node #0,2,0: 92:[3, 11] Operation: 23-12=11
Exploring Operation: 12*3=36, Resulting Numbers: [23, 36]
Generated Node #0,2,1: 92:[23, 36] Operation: 12*3=36
Exploring Operation: 12-3=9, Resulting Numbers: [23, 9]
Generated Node #0,2,2: 92:[23, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [23, 4]
Generated Node #0,2,3: 92:[23, 4] Operation: 12/3=4
Exploring Operation: 12+3=15, Resulting Numbers: [23, 15]
Generated Node #0,2,4: 92:[23, 15] Operation: 12+3=15
Moving to Node #0,4
Current State: 92:[88, 3, 53], Operations: ['65-12=53']
Exploring Operation: 88+3=91, Resulting Numbers: [53, 91]
Generated Node #0,4,0: 92:[53, 91] Operation: 88+3=91
Exploring Operation: 3+53=56, Resulting Numbers: [88, 56]
Generated Node #0,4,1: 92:[88, 56] Operation: 3+53=56
Exploring Operation: 53-3=50, Resulting Numbers: [88, 50]
Generated Node #0,4,2: 92:[88, 50] Operation: 53-3=50
Exploring Operation: 88-53=35, Resulting Numbers: [3, 35]
Generated Node #0,4,3: 92:[3, 35] Operation: 88-53=35
Exploring Operation: 88-3=85, Resulting Numbers: [53, 85]
Generated Node #0,4,4: 92:[53, 85] Operation: 88-3=85
Moving to Node #0,0
Current State: 92:[88, 3, 77], Operations: ['65+12=77']
Exploring Operation: 3+77=80, Resulting Numbers: [88, 80]
Generated Node #0,0,0: 92:[88, 80] Operation: 3+77=80
Exploring Operation: 88-77=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 92:[3, 11] Operation: 88-77=11
Exploring Operation: 88+3=91, Resulting Numbers: [77, 91]
Generated Node #0,0,2: 92:[77, 91] Operation: 88+3=91
Exploring Operation: 77-3=74, Resulting Numbers: [88, 74]
Generated Node #0,0,3: 92:[88, 74] Operation: 77-3=74
Exploring Operation: 88-3=85, Resulting Numbers: [77, 85]
Generated Node #0,0,4: 92:[77, 85] Operation: 88-3=85
Moving to Node #0,1
Current State: 92:[65, 88, 4], Operations: ['12/3=4']
Exploring Operation: 65+4=69, Resulting Numbers: [88, 69]
Generated Node #0,1,0: 92:[88, 69] Operation: 65+4=69
Exploring Operation: 88/4=22, Resulting Numbers: [65, 22]
Generated Node #0,1,1: 92:[65, 22] Operation: 88/4=22
Exploring Operation: 65-4=61, Resulting Numbers: [88, 61]
Generated Node #0,1,2: 92:[88, 61] Operation: 65-4=61
Exploring Operation: 88+4=92, Resulting Numbers: [65, 92]
Generated Node #0,1,3: 92:[65, 92] Operation: 88+4=92
Exploring Operation: 88-65=23, Resulting Numbers: [4, 23]
Generated Node #0,1,4: 92:[4, 23] Operation: 88-65=23
Moving to Node #0,3
Current State: 92:[88, 12, 62], Operations: ['65-3=62']
Exploring Operation: 62-12=50, Resulting Numbers: [88, 50]
Generated Node #0,3,0: 92:[88, 50] Operation: 62-12=50
Exploring Operation: 12+62=74, Resulting Numbers: [88, 74]
Generated Node #0,3,1: 92:[88, 74] Operation: 12+62=74
Exploring Operation: 88-12=76, Resulting Numbers: [62, 76]
Generated Node #0,3,2: 92:[62, 76] Operation: 88-12=76
Exploring Operation: 88+12=100, Resulting Numbers: [62, 100]
Generated Node #0,3,3: 92:[62, 100] Operation: 88+12=100
Exploring Operation: 88-62=26, Resulting Numbers: [12, 26]
Generated Node #0,3,4: 92:[12, 26] Operation: 88-62=26
Moving to Node #0,2,3
Current State: 92:[23, 4], Operations: ['88-65=23', '12/3=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[65, 88, 12, 3], Operations: []
Exploring Operation: 88-65=23, Resulting Numbers: [12, 3, 23]
Generated Node #0,2: 92:[12, 3, 23] Operation: 88-65=23
Moving to Node #0,2
Current State: 92:[12, 3, 23], Operations: ['88-65=23']
Exploring Operation: 12/3=4, Resulting Numbers: [23, 4]
Generated Node #0,2,3: 92:[23, 4] Operation: 12/3=4
Moving to Node #0,2,3
Current State: 92:[23, 4], Operations: ['88-65=23', '12/3=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.96875 | hs_5 | mult_heuristic |
[
21,
8,
95,
7
] | 32 | [
"95-7=88",
"88/8=11",
"21+11=32"
] | Current State: 32:[21, 8, 95, 7], Operations: []
Exploring Operation: 95-7=88, Resulting Numbers: [21, 8, 88]
Generated Node #2: [21, 8, 88] from Operation: 95-7=88
Current State: 32:[21, 8, 88], Operations: ['95-7=88']
Exploring Operation: 88/8=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 88/8=11
Current State: 32:[21, 11], Operations: ['95-7=88', '88/8=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[21, 8, 95, 7], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [8, 7, 74]
Generated Node #0,0: 32:[8, 7, 74] Operation: 95-21=74
Exploring Operation: 95-8=87, Resulting Numbers: [21, 7, 87]
Generated Node #0,1: 32:[21, 7, 87] Operation: 95-8=87
Moving to Node #0,0
Current State: 32:[8, 7, 74], Operations: ['95-21=74']
Exploring Operation: 74-8=66, Resulting Numbers: [7, 66]
Generated Node #0,0,0: 32:[7, 66] Operation: 74-8=66
Exploring Operation: 74-7=67, Resulting Numbers: [8, 67]
Generated Node #0,0,1: 32:[8, 67] Operation: 74-7=67
Moving to Node #0,1
Current State: 32:[21, 7, 87], Operations: ['95-8=87']
Exploring Operation: 87-7=80, Resulting Numbers: [21, 80]
Generated Node #0,1,0: 32:[21, 80] Operation: 87-7=80
Exploring Operation: 87-21=66, Resulting Numbers: [7, 66]
Generated Node #0,1,1: 32:[7, 66] Operation: 87-21=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[7, 66], Operations: ['95-8=87', '87-21=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,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,1,0
Current State: 32:[21, 80], Operations: ['95-8=87', '87-7=80']
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,32 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,32 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: 32:[7, 66], Operations: ['95-21=74', '74-8=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[8, 67], Operations: ['95-21=74', '74-7=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,32 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
75,
70,
44,
13
] | 73 | [
"70-44=26",
"26/13=2",
"75-2=73"
] | Current State: 73:[75, 70, 44, 13], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [75, 13, 26]
Generated Node #2: [75, 13, 26] from Operation: 70-44=26
Current State: 73:[75, 13, 26], Operations: ['70-44=26']
Exploring Operation: 26/13=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 26/13=2
Current State: 73:[75, 2], Operations: ['70-44=26', '26/13=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[75, 70, 44, 13], Operations: []
Exploring Operation: 44+13=57, Resulting Numbers: [75, 70, 57]
Generated Node #0,0: 73:[75, 70, 57] Operation: 44+13=57
Moving to Node #0,0
Current State: 73:[75, 70, 57], Operations: ['44+13=57']
Exploring Operation: 70+57=127, Resulting Numbers: [75, 127]
Generated Node #0,0,0: 73:[75, 127] Operation: 70+57=127
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[75, 127], Operations: ['44+13=57', '70+57=127']
Exploring Operation: 127-75=52, Resulting Numbers: [52]
52,73 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 |
[
19,
12,
55,
31
] | 93 | [
"19-12=7",
"55+31=86",
"7+86=93"
] | Current State: 93:[19, 12, 55, 31], Operations: []
Exploring Operation: 19-12=7, Resulting Numbers: [55, 31, 7]
Generated Node #2: [55, 31, 7] from Operation: 19-12=7
Current State: 93:[55, 31, 7], Operations: ['19-12=7']
Exploring Operation: 55+31=86, Resulting Numbers: [7, 86]
Generated Node #3: [7, 86] from Operation: 55+31=86
Current State: 93:[7, 86], Operations: ['19-12=7', '55+31=86']
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[19, 12, 55, 31], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [12, 31, 36]
Generated Node #0,0: 93:[12, 31, 36] Operation: 55-19=36
Moving to Node #0,0
Current State: 93:[12, 31, 36], Operations: ['55-19=36']
Exploring Operation: 36/12=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 93:[31, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[31, 3], Operations: ['55-19=36', '36/12=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[19, 12, 55, 31], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [12, 31, 36]
Generated Node #0,0: 93:[12, 31, 36] Operation: 55-19=36
Moving to Node #0,0
Current State: 93:[12, 31, 36], Operations: ['55-19=36']
Exploring Operation: 36/12=3, Resulting Numbers: [31, 3]
Generated Node #0,0,0: 93:[31, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 93:[31, 3], Operations: ['55-19=36', '36/12=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
94,
96,
48,
43
] | 49 | [
"94-43=51",
"96/48=2",
"51-2=49"
] | Current State: 49:[94, 96, 48, 43], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [96, 48, 51]
Generated Node #2: [96, 48, 51] from Operation: 94-43=51
Current State: 49:[96, 48, 51], Operations: ['94-43=51']
Exploring Operation: 96/48=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 96/48=2
Current State: 49:[51, 2], Operations: ['94-43=51', '96/48=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[94, 96, 48, 43], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [94, 43, 48]
Generated Node #0,0: 49:[94, 43, 48] Operation: 96-48=48
Exploring Operation: 96-94=2, Resulting Numbers: [48, 43, 2]
Generated Node #0,1: 49:[48, 43, 2] Operation: 96-94=2
Exploring Operation: 94-43=51, Resulting Numbers: [96, 48, 51]
Generated Node #0,2: 49:[96, 48, 51] Operation: 94-43=51
Exploring Operation: 96-43=53, Resulting Numbers: [94, 48, 53]
Generated Node #0,3: 49:[94, 48, 53] Operation: 96-43=53
Moving to Node #0,1
Current State: 49:[48, 43, 2], Operations: ['96-94=2']
Exploring Operation: 48-43=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 49:[2, 5] Operation: 48-43=5
Exploring Operation: 43+2=45, Resulting Numbers: [48, 45]
Generated Node #0,1,1: 49:[48, 45] Operation: 43+2=45
Exploring Operation: 48+2=50, Resulting Numbers: [43, 50]
Generated Node #0,1,2: 49:[43, 50] Operation: 48+2=50
Exploring Operation: 48-2=46, Resulting Numbers: [43, 46]
Generated Node #0,1,3: 49:[43, 46] Operation: 48-2=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[48, 45], Operations: ['96-94=2', '43+2=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,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,1,0
Current State: 49:[2, 5], Operations: ['96-94=2', '48-43=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,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,1,2
Current State: 49:[43, 50], Operations: ['96-94=2', '48+2=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,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,1,3
Current State: 49:[43, 46], Operations: ['96-94=2', '48-2=46']
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,49 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,49 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: 49:[94, 48, 53], Operations: ['96-43=53']
Exploring Operation: 94+48=142, Resulting Numbers: [53, 142]
Generated Node #0,3,0: 49:[53, 142] Operation: 94+48=142
Exploring Operation: 94-48=46, Resulting Numbers: [53, 46]
Generated Node #0,3,1: 49:[53, 46] Operation: 94-48=46
Exploring Operation: 94-53=41, Resulting Numbers: [48, 41]
Generated Node #0,3,2: 49:[48, 41] Operation: 94-53=41
Exploring Operation: 53-48=5, Resulting Numbers: [94, 5]
Generated Node #0,3,3: 49:[94, 5] Operation: 53-48=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[53, 46], Operations: ['96-43=53', '94-48=46']
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,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,3,2
Current State: 49:[48, 41], Operations: ['96-43=53', '94-53=41']
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,49 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,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,3,3
Current State: 49:[94, 5], Operations: ['96-43=53', '53-48=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,49 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,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,3,0
Current State: 49:[53, 142], Operations: ['96-43=53', '94+48=142']
Exploring Operation: 53*142=7526, Resulting Numbers: [7526]
7526,49 unequal: No Solution
Exploring Operation: 53+142=195, Resulting Numbers: [195]
195,49 unequal: No Solution
Exploring Operation: 142-53=89, Resulting Numbers: [89]
89,49 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: 49:[96, 48, 51], Operations: ['94-43=51']
Exploring Operation: 51-48=3, Resulting Numbers: [96, 3]
Generated Node #0,2,0: 49:[96, 3] Operation: 51-48=3
Exploring Operation: 96-48=48, Resulting Numbers: [51, 48]
Generated Node #0,2,1: 49:[51, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [51, 2]
Generated Node #0,2,2: 49:[51, 2] Operation: 96/48=2
Exploring Operation: 96-51=45, Resulting Numbers: [48, 45]
Generated Node #0,2,3: 49:[48, 45] Operation: 96-51=45
Moving to Node #0,0
Current State: 49:[94, 43, 48], Operations: ['96-48=48']
Exploring Operation: 94-48=46, Resulting Numbers: [43, 46]
Generated Node #0,0,0: 49:[43, 46] Operation: 94-48=46
Exploring Operation: 48-43=5, Resulting Numbers: [94, 5]
Generated Node #0,0,1: 49:[94, 5] Operation: 48-43=5
Exploring Operation: 94-43=51, Resulting Numbers: [48, 51]
Generated Node #0,0,2: 49:[48, 51] Operation: 94-43=51
Exploring Operation: 43+48=91, Resulting Numbers: [94, 91]
Generated Node #0,0,3: 49:[94, 91] Operation: 43+48=91
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[48, 51], Operations: ['96-48=48', '94-43=51']
Exploring Operation: 48*51=2448, Resulting Numbers: [2448]
2448,49 unequal: No Solution
Exploring Operation: 48+51=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,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,0,0
Current State: 49:[43, 46], Operations: ['96-48=48', '94-48=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,49 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,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,0,1
Current State: 49:[94, 5], Operations: ['96-48=48', '48-43=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,49 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,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,0,3
Current State: 49:[94, 91], Operations: ['96-48=48', '43+48=91']
Exploring Operation: 94*91=8554, Resulting Numbers: [8554]
8554,49 unequal: No Solution
Exploring Operation: 94+91=185, Resulting Numbers: [185]
185,49 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 49:[51, 48], Operations: ['94-43=51', '96-48=48']
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,49 unequal: No Solution
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[48, 45], Operations: ['94-43=51', '96-51=45']
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,49 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[51, 2], Operations: ['94-43=51', '96/48=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[94, 96, 48, 43], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [96, 48, 51]
Generated Node #0,2: 49:[96, 48, 51] Operation: 94-43=51
Moving to Node #0,2
Current State: 49:[96, 48, 51], Operations: ['94-43=51']
Exploring Operation: 96/48=2, Resulting Numbers: [51, 2]
Generated Node #0,2,2: 49:[51, 2] Operation: 96/48=2
Moving to Node #0,2,2
Current State: 49:[51, 2], Operations: ['94-43=51', '96/48=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.940972 | hs_4 | sum_heuristic |
[
12,
30,
30,
12
] | 87 | [
"30*30=900",
"900/12=75",
"12+75=87"
] | Current State: 87:[12, 30, 30, 12], Operations: []
Exploring Operation: 30*30=900, Resulting Numbers: [12, 12, 900]
Generated Node #2: [12, 12, 900] from Operation: 30*30=900
Current State: 87:[12, 12, 900], Operations: ['30*30=900']
Exploring Operation: 900/12=75, Resulting Numbers: [75]
75,87 equal: Goal Reached
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[12, 30, 30, 12], Operations: []
Exploring Operation: 12/12=1, Resulting Numbers: [30, 30, 1]
Generated Node #0,0: 87:[30, 30, 1] Operation: 12/12=1
Exploring Operation: 12-12=0, Resulting Numbers: [30, 30, 0]
Generated Node #0,1: 87:[30, 30, 0] Operation: 12-12=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[30, 30, 1], Operations: ['12/12=1']
Exploring Operation: 30-1=29, Resulting Numbers: [30, 29]
Generated Node #0,0,0: 87:[30, 29] Operation: 30-1=29
Exploring Operation: 30-1=29, Resulting Numbers: [30, 29]
Generated Node #0,0,1: 87:[30, 29] Operation: 30-1=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[30, 29], Operations: ['12/12=1', '30-1=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,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:[30, 29], Operations: ['12/12=1', '30-1=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,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,1
Current State: 87:[30, 30, 0], Operations: ['12-12=0']
Exploring Operation: 30+0=30, Resulting Numbers: [30, 30]
Generated Node #0,1,0: 87:[30, 30] Operation: 30+0=30
Exploring Operation: 30-0=30, Resulting Numbers: [30, 30]
Generated Node #0,1,1: 87:[30, 30] Operation: 30-0=30
Moving to Node #0,1,0
Current State: 87:[30, 30], Operations: ['12-12=0', '30+0=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[30, 30], Operations: ['12-12=0', '30-0=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,87 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 |
[
32,
59,
39,
96
] | 46 | [
"32*39=1248",
"1248/96=13",
"59-13=46"
] | Current State: 46:[32, 59, 39, 96], Operations: []
Exploring Operation: 32*39=1248, Resulting Numbers: [59, 96, 1248]
Generated Node #2: [59, 96, 1248] from Operation: 32*39=1248
Current State: 46:[59, 96, 1248], Operations: ['32*39=1248']
Exploring Operation: 1248/96=13, Resulting Numbers: [59, 13]
Generated Node #3: [59, 13] from Operation: 1248/96=13
Current State: 46:[59, 13], Operations: ['32*39=1248', '1248/96=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[32, 59, 39, 96], Operations: []
Exploring Operation: 96-39=57, Resulting Numbers: [32, 59, 57]
Generated Node #0,0: 46:[32, 59, 57] Operation: 96-39=57
Exploring Operation: 96-32=64, Resulting Numbers: [59, 39, 64]
Generated Node #0,1: 46:[59, 39, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [59, 39, 3]
Generated Node #0,2: 46:[59, 39, 3] Operation: 96/32=3
Exploring Operation: 96-59=37, Resulting Numbers: [32, 39, 37]
Generated Node #0,3: 46:[32, 39, 37] Operation: 96-59=37
Moving to Node #0,2
Current State: 46:[59, 39, 3], Operations: ['96/32=3']
Exploring Operation: 59+3=62, Resulting Numbers: [39, 62]
Generated Node #0,2,0: 46:[39, 62] Operation: 59+3=62
Exploring Operation: 39+3=42, Resulting Numbers: [59, 42]
Generated Node #0,2,1: 46:[59, 42] Operation: 39+3=42
Exploring Operation: 59-39=20, Resulting Numbers: [3, 20]
Generated Node #0,2,2: 46:[3, 20] Operation: 59-39=20
Exploring Operation: 59-3=56, Resulting Numbers: [39, 56]
Generated Node #0,2,3: 46:[39, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[3, 20], Operations: ['96/32=3', '59-39=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No 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: 46:[59, 42], Operations: ['96/32=3', '39+3=42']
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,46 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,46 unequal: No Solution
No 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: 46:[39, 56], Operations: ['96/32=3', '59-3=56']
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,46 unequal: No Solution
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,46 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No 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: 46:[39, 62], Operations: ['96/32=3', '59+3=62']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,46 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,46 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: 46:[32, 39, 37], Operations: ['96-59=37']
Exploring Operation: 37-32=5, Resulting Numbers: [39, 5]
Generated Node #0,3,0: 46:[39, 5] Operation: 37-32=5
Exploring Operation: 32+37=69, Resulting Numbers: [39, 69]
Generated Node #0,3,1: 46:[39, 69] Operation: 32+37=69
Exploring Operation: 39-37=2, Resulting Numbers: [32, 2]
Generated Node #0,3,2: 46:[32, 2] Operation: 39-37=2
Exploring Operation: 39-32=7, Resulting Numbers: [37, 7]
Generated Node #0,3,3: 46:[37, 7] Operation: 39-32=7
Moving to Node #0,0
Current State: 46:[32, 59, 57], Operations: ['96-39=57']
Exploring Operation: 57-32=25, Resulting Numbers: [59, 25]
Generated Node #0,0,0: 46:[59, 25] Operation: 57-32=25
Exploring Operation: 32+59=91, Resulting Numbers: [57, 91]
Generated Node #0,0,1: 46:[57, 91] Operation: 32+59=91
Exploring Operation: 59-57=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 46:[32, 2] Operation: 59-57=2
Exploring Operation: 59-32=27, Resulting Numbers: [57, 27]
Generated Node #0,0,3: 46:[57, 27] Operation: 59-32=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[32, 2], Operations: ['96-39=57', '59-57=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
No 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: 46:[59, 25], Operations: ['96-39=57', '57-32=25']
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,46 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,46 unequal: No Solution
No 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: 46:[57, 27], Operations: ['96-39=57', '59-32=27']
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,46 unequal: No Solution
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,46 unequal: No Solution
No 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: 46:[57, 91], Operations: ['96-39=57', '32+59=91']
Exploring Operation: 57*91=5187, Resulting Numbers: [5187]
5187,46 unequal: No Solution
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 57+91=148, Resulting Numbers: [148]
148,46 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: 46:[59, 39, 64], Operations: ['96-32=64']
Exploring Operation: 64-39=25, Resulting Numbers: [59, 25]
Generated Node #0,1,0: 46:[59, 25] Operation: 64-39=25
Exploring Operation: 59+39=98, Resulting Numbers: [64, 98]
Generated Node #0,1,1: 46:[64, 98] Operation: 59+39=98
Exploring Operation: 59-39=20, Resulting Numbers: [64, 20]
Generated Node #0,1,2: 46:[64, 20] Operation: 59-39=20
Exploring Operation: 64-59=5, Resulting Numbers: [39, 5]
Generated Node #0,1,3: 46:[39, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[39, 5], Operations: ['96-32=64', '64-59=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,46 unequal: No Solution
No 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: 46:[59, 25], Operations: ['96-32=64', '64-39=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,46 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,46 unequal: No Solution
No 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: 46:[64, 20], Operations: ['96-32=64', '59-39=20']
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,46 unequal: No Solution
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,46 unequal: No Solution
No 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: 46:[64, 98], Operations: ['96-32=64', '59+39=98']
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,46 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 46:[32, 2], Operations: ['96-59=37', '39-37=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,46 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[39, 5], Operations: ['96-59=37', '37-32=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[37, 7], Operations: ['96-59=37', '39-32=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,46 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[39, 69], Operations: ['96-59=37', '32+37=69']
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,46 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,46 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
82,
35,
55,
42
] | 16 | [
"55*42=2310",
"2310/35=66",
"82-66=16"
] | Current State: 16:[82, 35, 55, 42], Operations: []
Exploring Operation: 55*42=2310, Resulting Numbers: [82, 35, 2310]
Generated Node #2: [82, 35, 2310] from Operation: 55*42=2310
Current State: 16:[82, 35, 2310], Operations: ['55*42=2310']
Exploring Operation: 2310/35=66, Resulting Numbers: [82, 66]
Generated Node #3: [82, 66] from Operation: 2310/35=66
Current State: 16:[82, 66], Operations: ['55*42=2310', '2310/35=66']
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[82, 35, 55, 42], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [35, 42, 27]
Generated Node #0,0: 16:[35, 42, 27] Operation: 82-55=27
Exploring Operation: 82-42=40, Resulting Numbers: [35, 55, 40]
Generated Node #0,1: 16:[35, 55, 40] Operation: 82-42=40
Moving to Node #0,0
Current State: 16:[35, 42, 27], Operations: ['82-55=27']
Exploring Operation: 42-27=15, Resulting Numbers: [35, 15]
Generated Node #0,0,0: 16:[35, 15] Operation: 42-27=15
Exploring Operation: 42-35=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 16:[27, 7] Operation: 42-35=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[27, 7], Operations: ['82-55=27', '42-35=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,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,0
Current State: 16:[35, 15], Operations: ['82-55=27', '42-27=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[35, 55, 40], Operations: ['82-42=40']
Exploring Operation: 55-35=20, Resulting Numbers: [40, 20]
Generated Node #0,1,0: 16:[40, 20] Operation: 55-35=20
Exploring Operation: 55-40=15, Resulting Numbers: [35, 15]
Generated Node #0,1,1: 16:[35, 15] Operation: 55-40=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[35, 15], Operations: ['82-42=40', '55-40=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,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,1,0
Current State: 16:[40, 20], Operations: ['82-42=40', '55-35=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,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 | sum_heuristic |
[
16,
61,
37,
48
] | 88 | [
"16+61=77",
"48-37=11",
"77+11=88"
] | Current State: 88:[16, 61, 37, 48], Operations: []
Exploring Operation: 16+61=77, Resulting Numbers: [37, 48, 77]
Generated Node #2: [37, 48, 77] from Operation: 16+61=77
Current State: 88:[37, 48, 77], Operations: ['16+61=77']
Exploring Operation: 48-37=11, Resulting Numbers: [77, 11]
Generated Node #3: [77, 11] from Operation: 48-37=11
Current State: 88:[77, 11], Operations: ['16+61=77', '48-37=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[16, 61, 37, 48], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [37, 48, 45]
Generated Node #0,0: 88:[37, 48, 45] Operation: 61-16=45
Exploring Operation: 61-37=24, Resulting Numbers: [16, 48, 24]
Generated Node #0,1: 88:[16, 48, 24] Operation: 61-37=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[16, 48, 24], Operations: ['61-37=24']
Exploring Operation: 24-16=8, Resulting Numbers: [48, 8]
Generated Node #0,1,0: 88:[48, 8] Operation: 24-16=8
Exploring Operation: 48/16=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 88:[24, 3] Operation: 48/16=3
Moving to Node #0,1,1
Current State: 88:[24, 3], Operations: ['61-37=24', '48/16=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[48, 8], Operations: ['61-37=24', '24-16=8']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,88 unequal: No Solution
No 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: 88:[37, 48, 45], Operations: ['61-16=45']
Exploring Operation: 37+48=85, Resulting Numbers: [45, 85]
Generated Node #0,0,0: 88:[45, 85] Operation: 37+48=85
Exploring Operation: 48-37=11, Resulting Numbers: [45, 11]
Generated Node #0,0,1: 88:[45, 11] Operation: 48-37=11
Moving to Node #0,0,1
Current State: 88:[45, 11], Operations: ['61-16=45', '48-37=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[45, 85], Operations: ['61-16=45', '37+48=85']
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 45+85=130, Resulting Numbers: [130]
130,88 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 |
[
2,
17,
33,
70
] | 60 | [
"17+33=50",
"70+50=120",
"120/2=60"
] | Current State: 60:[2, 17, 33, 70], Operations: []
Exploring Operation: 17+33=50, Resulting Numbers: [2, 70, 50]
Generated Node #2: [2, 70, 50] from Operation: 17+33=50
Current State: 60:[2, 70, 50], Operations: ['17+33=50']
Exploring Operation: 70+50=120, Resulting Numbers: [2, 120]
Generated Node #3: [2, 120] from Operation: 70+50=120
Current State: 60:[2, 120], Operations: ['17+33=50', '70+50=120']
Exploring Operation: 120/2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 17, 33, 70], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [17, 33, 35]
Generated Node #0,0: 60:[17, 33, 35] Operation: 70/2=35
Exploring Operation: 70-33=37, Resulting Numbers: [2, 17, 37]
Generated Node #0,1: 60:[2, 17, 37] Operation: 70-33=37
Moving to Node #0,1
Current State: 60:[2, 17, 37], Operations: ['70-33=37']
Exploring Operation: 37-17=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 60:[2, 20] Operation: 37-17=20
Exploring Operation: 17+37=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 60:[2, 54] Operation: 17+37=54
Moving to Node #0,0
Current State: 60:[17, 33, 35], Operations: ['70/2=35']
Exploring Operation: 35-17=18, Resulting Numbers: [33, 18]
Generated Node #0,0,0: 60:[33, 18] Operation: 35-17=18
Exploring Operation: 35-33=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 60:[17, 2] Operation: 35-33=2
Moving to Node #0,1,0
Current State: 60:[2, 20], Operations: ['70-33=37', '37-17=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[17, 2], Operations: ['70/2=35', '35-33=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[33, 18], Operations: ['70/2=35', '35-17=18']
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[2, 54], Operations: ['70-33=37', '17+37=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,60 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
81,
54,
5,
91
] | 69 | [
"81-54=27",
"5+91=96",
"96-27=69"
] | Current State: 69:[81, 54, 5, 91], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [5, 91, 27]
Generated Node #2: [5, 91, 27] from Operation: 81-54=27
Current State: 69:[5, 91, 27], Operations: ['81-54=27']
Exploring Operation: 5+91=96, Resulting Numbers: [27, 96]
Generated Node #3: [27, 96] from Operation: 5+91=96
Current State: 69:[27, 96], Operations: ['81-54=27', '5+91=96']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[81, 54, 5, 91], Operations: []
Exploring Operation: 81-5=76, Resulting Numbers: [54, 91, 76]
Generated Node #0,0: 69:[54, 91, 76] Operation: 81-5=76
Exploring Operation: 91-54=37, Resulting Numbers: [81, 5, 37]
Generated Node #0,1: 69:[81, 5, 37] Operation: 91-54=37
Exploring Operation: 54+5=59, Resulting Numbers: [81, 91, 59]
Generated Node #0,2: 69:[81, 91, 59] Operation: 54+5=59
Exploring Operation: 91-81=10, Resulting Numbers: [54, 5, 10]
Generated Node #0,3: 69:[54, 5, 10] Operation: 91-81=10
Exploring Operation: 81-54=27, Resulting Numbers: [5, 91, 27]
Generated Node #0,4: 69:[5, 91, 27] Operation: 81-54=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[54, 5, 10], Operations: ['91-81=10']
Exploring Operation: 54+5=59, Resulting Numbers: [10, 59]
Generated Node #0,3,0: 69:[10, 59] Operation: 54+5=59
Exploring Operation: 10-5=5, Resulting Numbers: [54, 5]
Generated Node #0,3,1: 69:[54, 5] Operation: 10-5=5
Exploring Operation: 54+10=64, Resulting Numbers: [5, 64]
Generated Node #0,3,2: 69:[5, 64] Operation: 54+10=64
Exploring Operation: 10/5=2, Resulting Numbers: [54, 2]
Generated Node #0,3,3: 69:[54, 2] Operation: 10/5=2
Exploring Operation: 54-10=44, Resulting Numbers: [5, 44]
Generated Node #0,3,4: 69:[5, 44] Operation: 54-10=44
Moving to Node #0,3,2
Current State: 69:[5, 64], Operations: ['91-81=10', '54+10=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[81, 54, 5, 91], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [54, 5, 10]
Generated Node #0,3: 69:[54, 5, 10] Operation: 91-81=10
Moving to Node #0,3
Current State: 69:[54, 5, 10], Operations: ['91-81=10']
Exploring Operation: 54+10=64, Resulting Numbers: [5, 64]
Generated Node #0,3,2: 69:[5, 64] Operation: 54+10=64
Moving to Node #0,3,2
Current State: 69:[5, 64], Operations: ['91-81=10', '54+10=64']
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
74,
80,
21,
91
] | 64 | [
"80-74=6",
"91-21=70",
"70-6=64"
] | Current State: 64:[74, 80, 21, 91], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [21, 91, 6]
Generated Node #2: [21, 91, 6] from Operation: 80-74=6
Current State: 64:[21, 91, 6], Operations: ['80-74=6']
Exploring Operation: 91-21=70, Resulting Numbers: [6, 70]
Generated Node #3: [6, 70] from Operation: 91-21=70
Current State: 64:[6, 70], Operations: ['80-74=6', '91-21=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[74, 80, 21, 91], Operations: []
Exploring Operation: 91-74=17, Resulting Numbers: [80, 21, 17]
Generated Node #0,0: 64:[80, 21, 17] Operation: 91-74=17
Exploring Operation: 91-80=11, Resulting Numbers: [74, 21, 11]
Generated Node #0,1: 64:[74, 21, 11] Operation: 91-80=11
Exploring Operation: 91-21=70, Resulting Numbers: [74, 80, 70]
Generated Node #0,2: 64:[74, 80, 70] Operation: 91-21=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[74, 21, 11], Operations: ['91-80=11']
Exploring Operation: 74-11=63, Resulting Numbers: [21, 63]
Generated Node #0,1,0: 64:[21, 63] Operation: 74-11=63
Exploring Operation: 21+11=32, Resulting Numbers: [74, 32]
Generated Node #0,1,1: 64:[74, 32] Operation: 21+11=32
Exploring Operation: 21-11=10, Resulting Numbers: [74, 10]
Generated Node #0,1,2: 64:[74, 10] Operation: 21-11=10
Moving to Node #0,1,0
Current State: 64:[21, 63], Operations: ['91-80=11', '74-11=63']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[74, 32], Operations: ['91-80=11', '21+11=32']
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,64 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[74, 10], Operations: ['91-80=11', '21-11=10']
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,64 unequal: No Solution
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[74, 80, 21, 91], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [74, 21, 11]
Generated Node #0,1: 64:[74, 21, 11] Operation: 91-80=11
Moving to Node #0,1
Current State: 64:[74, 21, 11], Operations: ['91-80=11']
Exploring Operation: 21-11=10, Resulting Numbers: [74, 10]
Generated Node #0,1,2: 64:[74, 10] Operation: 21-11=10
Moving to Node #0,1,2
Current State: 64:[74, 10], Operations: ['91-80=11', '21-11=10']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
16,
90,
39,
41
] | 29 | [
"41-39=2",
"90/2=45",
"45-16=29"
] | Current State: 29:[16, 90, 39, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [16, 90, 2]
Generated Node #2: [16, 90, 2] from Operation: 41-39=2
Current State: 29:[16, 90, 2], Operations: ['41-39=2']
Exploring Operation: 90/2=45, Resulting Numbers: [16, 45]
Generated Node #3: [16, 45] from Operation: 90/2=45
Current State: 29:[16, 45], Operations: ['41-39=2', '90/2=45']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[16, 90, 39, 41], Operations: []
Exploring Operation: 41-16=25, Resulting Numbers: [90, 39, 25]
Generated Node #0,0: 29:[90, 39, 25] Operation: 41-16=25
Exploring Operation: 90-16=74, Resulting Numbers: [39, 41, 74]
Generated Node #0,1: 29:[39, 41, 74] Operation: 90-16=74
Exploring Operation: 90-41=49, Resulting Numbers: [16, 39, 49]
Generated Node #0,2: 29:[16, 39, 49] Operation: 90-41=49
Exploring Operation: 90-39=51, Resulting Numbers: [16, 41, 51]
Generated Node #0,3: 29:[16, 41, 51] Operation: 90-39=51
Moving to Node #0,2
Current State: 29:[16, 39, 49], Operations: ['90-41=49']
Exploring Operation: 49-16=33, Resulting Numbers: [39, 33]
Generated Node #0,2,0: 29:[39, 33] Operation: 49-16=33
Exploring Operation: 49-39=10, Resulting Numbers: [16, 10]
Generated Node #0,2,1: 29:[16, 10] Operation: 49-39=10
Exploring Operation: 16+39=55, Resulting Numbers: [49, 55]
Generated Node #0,2,2: 29:[49, 55] Operation: 16+39=55
Exploring Operation: 39-16=23, Resulting Numbers: [49, 23]
Generated Node #0,2,3: 29:[49, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[39, 33], Operations: ['90-41=49', '49-16=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,29 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[49, 23], Operations: ['90-41=49', '39-16=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[16, 10], Operations: ['90-41=49', '49-39=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[49, 55], Operations: ['90-41=49', '16+39=55']
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 49+55=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 49*55=2695, Resulting Numbers: [2695]
2695,29 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: 29:[16, 41, 51], Operations: ['90-39=51']
Exploring Operation: 16+41=57, Resulting Numbers: [51, 57]
Generated Node #0,3,0: 29:[51, 57] Operation: 16+41=57
Exploring Operation: 51-41=10, Resulting Numbers: [16, 10]
Generated Node #0,3,1: 29:[16, 10] Operation: 51-41=10
Exploring Operation: 41-16=25, Resulting Numbers: [51, 25]
Generated Node #0,3,2: 29:[51, 25] Operation: 41-16=25
Exploring Operation: 51-16=35, Resulting Numbers: [41, 35]
Generated Node #0,3,3: 29:[41, 35] Operation: 51-16=35
Moving to Node #0,1
Current State: 29:[39, 41, 74], Operations: ['90-16=74']
Exploring Operation: 74-39=35, Resulting Numbers: [41, 35]
Generated Node #0,1,0: 29:[41, 35] Operation: 74-39=35
Exploring Operation: 39+41=80, Resulting Numbers: [74, 80]
Generated Node #0,1,1: 29:[74, 80] Operation: 39+41=80
Exploring Operation: 41-39=2, Resulting Numbers: [74, 2]
Generated Node #0,1,2: 29:[74, 2] Operation: 41-39=2
Exploring Operation: 74-41=33, Resulting Numbers: [39, 33]
Generated Node #0,1,3: 29:[39, 33] Operation: 74-41=33
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 29:[39, 33], Operations: ['90-16=74', '74-41=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[41, 35], Operations: ['90-16=74', '74-39=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[74, 2], Operations: ['90-16=74', '41-39=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,29 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[74, 80], Operations: ['90-16=74', '39+41=80']
Exploring Operation: 74+80=154, Resulting Numbers: [154]
154,29 unequal: No Solution
Exploring Operation: 74*80=5920, Resulting Numbers: [5920]
5920,29 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,29 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: 29:[90, 39, 25], Operations: ['41-16=25']
Exploring Operation: 90+25=115, Resulting Numbers: [39, 115]
Generated Node #0,0,0: 29:[39, 115] Operation: 90+25=115
Exploring Operation: 90-39=51, Resulting Numbers: [25, 51]
Generated Node #0,0,1: 29:[25, 51] Operation: 90-39=51
Exploring Operation: 39-25=14, Resulting Numbers: [90, 14]
Generated Node #0,0,2: 29:[90, 14] Operation: 39-25=14
Exploring Operation: 90-25=65, Resulting Numbers: [39, 65]
Generated Node #0,0,3: 29:[39, 65] Operation: 90-25=65
Moving to Node #0,3,3
Current State: 29:[41, 35], Operations: ['90-39=51', '51-16=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[51, 25], Operations: ['90-39=51', '41-16=25']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,29 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[25, 51], Operations: ['41-16=25', '90-39=51']
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,29 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[16, 10], Operations: ['90-39=51', '51-41=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[39, 65], Operations: ['41-16=25', '90-25=65']
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[51, 57], Operations: ['90-39=51', '16+41=57']
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,29 unequal: No Solution
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[90, 14], Operations: ['41-16=25', '39-25=14']
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,29 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[39, 115], Operations: ['41-16=25', '90+25=115']
Exploring Operation: 39*115=4485, Resulting Numbers: [4485]
4485,29 unequal: No Solution
Exploring Operation: 39+115=154, Resulting Numbers: [154]
154,29 unequal: No Solution
Exploring Operation: 115-39=76, Resulting Numbers: [76]
76,29 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
3,
2,
8,
32
] | 77 | [
"8+32=40",
"2*40=80",
"80-3=77"
] | Current State: 77:[3, 2, 8, 32], Operations: []
Exploring Operation: 8+32=40, Resulting Numbers: [3, 2, 40]
Generated Node #2: [3, 2, 40] from Operation: 8+32=40
Current State: 77:[3, 2, 40], Operations: ['8+32=40']
Exploring Operation: 2*40=80, Resulting Numbers: [3, 80]
Generated Node #3: [3, 80] from Operation: 2*40=80
Current State: 77:[3, 80], Operations: ['8+32=40', '2*40=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 2, 8, 32], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [3, 2, 4]
Generated Node #0,0: 77:[3, 2, 4] Operation: 32/8=4
Exploring Operation: 32/2=16, Resulting Numbers: [3, 8, 16]
Generated Node #0,1: 77:[3, 8, 16] Operation: 32/2=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[3, 8, 16], Operations: ['32/2=16']
Exploring Operation: 3+8=11, Resulting Numbers: [16, 11]
Generated Node #0,1,0: 77:[16, 11] Operation: 3+8=11
Exploring Operation: 16-3=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 77:[8, 13] Operation: 16-3=13
Moving to Node #0,1,1
Current State: 77:[8, 13], Operations: ['32/2=16', '16-3=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[16, 11], Operations: ['32/2=16', '3+8=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,77 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,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
Current State: 77:[3, 2, 4], Operations: ['32/8=4']
Exploring Operation: 3*2=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 77:[4, 6] Operation: 3*2=6
Exploring Operation: 3+2=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 77:[4, 5] Operation: 3+2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[4, 6], Operations: ['32/8=4', '3*2=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[4, 5], Operations: ['32/8=4', '3+2=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
14,
47,
16
] | 25 | [
"16/2=8",
"47-14=33",
"33-8=25"
] | Current State: 25:[2, 14, 47, 16], Operations: []
Exploring Operation: 16/2=8, Resulting Numbers: [14, 47, 8]
Generated Node #2: [14, 47, 8] from Operation: 16/2=8
Current State: 25:[14, 47, 8], Operations: ['16/2=8']
Exploring Operation: 47-14=33, Resulting Numbers: [8, 33]
Generated Node #3: [8, 33] from Operation: 47-14=33
Current State: 25:[8, 33], Operations: ['16/2=8', '47-14=33']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[2, 14, 47, 16], Operations: []
Exploring Operation: 47-16=31, Resulting Numbers: [2, 14, 31]
Generated Node #0,0: 25:[2, 14, 31] Operation: 47-16=31
Moving to Node #0,0
Current State: 25:[2, 14, 31], Operations: ['47-16=31']
Exploring Operation: 14/2=7, Resulting Numbers: [31, 7]
Generated Node #0,0,0: 25:[31, 7] Operation: 14/2=7
Moving to Node #0,0,0
Current State: 25:[31, 7], Operations: ['47-16=31', '14/2=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,25 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
40,
67,
47
] | 43 | [
"63-40=23",
"67-47=20",
"23+20=43"
] | Current State: 43:[63, 40, 67, 47], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [67, 47, 23]
Generated Node #2: [67, 47, 23] from Operation: 63-40=23
Current State: 43:[67, 47, 23], Operations: ['63-40=23']
Exploring Operation: 67-47=20, Resulting Numbers: [23, 20]
Generated Node #3: [23, 20] from Operation: 67-47=20
Current State: 43:[23, 20], Operations: ['63-40=23', '67-47=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[63, 40, 67, 47], Operations: []
Exploring Operation: 67-47=20, Resulting Numbers: [63, 40, 20]
Generated Node #0,0: 43:[63, 40, 20] Operation: 67-47=20
Exploring Operation: 67-40=27, Resulting Numbers: [63, 47, 27]
Generated Node #0,1: 43:[63, 47, 27] Operation: 67-40=27
Exploring Operation: 67-63=4, Resulting Numbers: [40, 47, 4]
Generated Node #0,2: 43:[40, 47, 4] Operation: 67-63=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[63, 47, 27], Operations: ['67-40=27']
Exploring Operation: 63-27=36, Resulting Numbers: [47, 36]
Generated Node #0,1,0: 43:[47, 36] Operation: 63-27=36
Exploring Operation: 63-47=16, Resulting Numbers: [27, 16]
Generated Node #0,1,1: 43:[27, 16] Operation: 63-47=16
Exploring Operation: 47-27=20, Resulting Numbers: [63, 20]
Generated Node #0,1,2: 43:[63, 20] Operation: 47-27=20
Moving to Node #0,1,0
Current State: 43:[47, 36], Operations: ['67-40=27', '63-27=36']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,43 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[27, 16], Operations: ['67-40=27', '63-47=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[63, 40, 67, 47], Operations: []
Exploring Operation: 67-40=27, Resulting Numbers: [63, 47, 27]
Generated Node #0,1: 43:[63, 47, 27] Operation: 67-40=27
Moving to Node #0,1
Current State: 43:[63, 47, 27], Operations: ['67-40=27']
Exploring Operation: 63-47=16, Resulting Numbers: [27, 16]
Generated Node #0,1,1: 43:[27, 16] Operation: 63-47=16
Moving to Node #0,1,1
Current State: 43:[27, 16], Operations: ['67-40=27', '63-47=16']
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
10,
44,
4,
16
] | 68 | [
"10*4=40",
"44-16=28",
"40+28=68"
] | Current State: 68:[10, 44, 4, 16], Operations: []
Exploring Operation: 10*4=40, Resulting Numbers: [44, 16, 40]
Generated Node #2: [44, 16, 40] from Operation: 10*4=40
Current State: 68:[44, 16, 40], Operations: ['10*4=40']
Exploring Operation: 44-16=28, Resulting Numbers: [40, 28]
Generated Node #3: [40, 28] from Operation: 44-16=28
Current State: 68:[40, 28], Operations: ['10*4=40', '44-16=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[10, 44, 4, 16], Operations: []
Exploring Operation: 44-10=34, Resulting Numbers: [4, 16, 34]
Generated Node #0,0: 68:[4, 16, 34] Operation: 44-10=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[4, 16, 34], Operations: ['44-10=34']
Exploring Operation: 16/4=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 68:[34, 4] Operation: 16/4=4
Moving to Node #0,0,0
Current State: 68:[34, 4], Operations: ['44-10=34', '16/4=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,68 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 |
[
5,
90,
27,
42
] | 21 | [
"90-27=63",
"42+63=105",
"105/5=21"
] | Current State: 21:[5, 90, 27, 42], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [5, 42, 63]
Generated Node #2: [5, 42, 63] from Operation: 90-27=63
Current State: 21:[5, 42, 63], Operations: ['90-27=63']
Exploring Operation: 42+63=105, Resulting Numbers: [5, 105]
Generated Node #3: [5, 105] from Operation: 42+63=105
Current State: 21:[5, 105], Operations: ['90-27=63', '42+63=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[5, 90, 27, 42], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [27, 42, 18]
Generated Node #0,0: 21:[27, 42, 18] Operation: 90/5=18
Exploring Operation: 90-42=48, Resulting Numbers: [5, 27, 48]
Generated Node #0,1: 21:[5, 27, 48] Operation: 90-42=48
Moving to Node #0,0
Current State: 21:[27, 42, 18], Operations: ['90/5=18']
Exploring Operation: 42-27=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 21:[18, 15] Operation: 42-27=15
Exploring Operation: 42-18=24, Resulting Numbers: [27, 24]
Generated Node #0,0,1: 21:[27, 24] Operation: 42-18=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[18, 15], Operations: ['90/5=18', '42-27=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No 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: 21:[27, 24], Operations: ['90/5=18', '42-18=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,21 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: 21:[5, 27, 48], Operations: ['90-42=48']
Exploring Operation: 27-5=22, Resulting Numbers: [48, 22]
Generated Node #0,1,0: 21:[48, 22] Operation: 27-5=22
Exploring Operation: 48-27=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 21:[5, 21] Operation: 48-27=21
Moving to Node #0,1,1
Current State: 21:[5, 21], Operations: ['90-42=48', '48-27=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[48, 22], Operations: ['90-42=48', '27-5=22']
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,21 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,21 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
61,
9,
79
] | 97 | [
"63-61=2",
"9*2=18",
"79+18=97"
] | Current State: 97:[63, 61, 9, 79], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [9, 79, 2]
Generated Node #2: [9, 79, 2] from Operation: 63-61=2
Current State: 97:[9, 79, 2], Operations: ['63-61=2']
Exploring Operation: 9*2=18, Resulting Numbers: [79, 18]
Generated Node #3: [79, 18] from Operation: 9*2=18
Current State: 97:[79, 18], Operations: ['63-61=2', '9*2=18']
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[63, 61, 9, 79], Operations: []
Exploring Operation: 61+9=70, Resulting Numbers: [63, 79, 70]
Generated Node #0,0: 97:[63, 79, 70] Operation: 61+9=70
Exploring Operation: 63+9=72, Resulting Numbers: [61, 79, 72]
Generated Node #0,1: 97:[61, 79, 72] Operation: 63+9=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[63, 79, 70], Operations: ['61+9=70']
Exploring Operation: 63+79=142, Resulting Numbers: [70, 142]
Generated Node #0,0,0: 97:[70, 142] Operation: 63+79=142
Exploring Operation: 63+70=133, Resulting Numbers: [79, 133]
Generated Node #0,0,1: 97:[79, 133] Operation: 63+70=133
Moving to Node #0,0,1
Current State: 97:[79, 133], Operations: ['61+9=70', '63+70=133']
Exploring Operation: 133-79=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 79+133=212, Resulting Numbers: [212]
212,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[70, 142], Operations: ['61+9=70', '63+79=142']
Exploring Operation: 142-70=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 70+142=212, Resulting Numbers: [212]
212,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[61, 79, 72], Operations: ['63+9=72']
Exploring Operation: 61+79=140, Resulting Numbers: [72, 140]
Generated Node #0,1,0: 97:[72, 140] Operation: 61+79=140
Exploring Operation: 61+72=133, Resulting Numbers: [79, 133]
Generated Node #0,1,1: 97:[79, 133] Operation: 61+72=133
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[79, 133], Operations: ['63+9=72', '61+72=133']
Exploring Operation: 133-79=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 79+133=212, Resulting Numbers: [212]
212,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:[72, 140], Operations: ['63+9=72', '61+79=140']
Exploring Operation: 72+140=212, Resulting Numbers: [212]
212,97 unequal: No Solution
Exploring Operation: 140-72=68, Resulting Numbers: [68]
68,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
22,
88,
63
] | 37 | [
"34-22=12",
"88-63=25",
"12+25=37"
] | Current State: 37:[34, 22, 88, 63], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [88, 63, 12]
Generated Node #2: [88, 63, 12] from Operation: 34-22=12
Current State: 37:[88, 63, 12], Operations: ['34-22=12']
Exploring Operation: 88-63=25, Resulting Numbers: [12, 25]
Generated Node #3: [12, 25] from Operation: 88-63=25
Current State: 37:[12, 25], Operations: ['34-22=12', '88-63=25']
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[34, 22, 88, 63], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [34, 88, 41]
Generated Node #0,0: 37:[34, 88, 41] Operation: 63-22=41
Exploring Operation: 88-63=25, Resulting Numbers: [34, 22, 25]
Generated Node #0,1: 37:[34, 22, 25] Operation: 88-63=25
Exploring Operation: 88-22=66, Resulting Numbers: [34, 63, 66]
Generated Node #0,2: 37:[34, 63, 66] Operation: 88-22=66
Exploring Operation: 88-34=54, Resulting Numbers: [22, 63, 54]
Generated Node #0,3: 37:[22, 63, 54] Operation: 88-34=54
Exploring Operation: 88/22=4, Resulting Numbers: [34, 63, 4]
Generated Node #0,4: 37:[34, 63, 4] Operation: 88/22=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[34, 22, 25], Operations: ['88-63=25']
Exploring Operation: 22+25=47, Resulting Numbers: [34, 47]
Generated Node #0,1,0: 37:[34, 47] Operation: 22+25=47
Exploring Operation: 34+25=59, Resulting Numbers: [22, 59]
Generated Node #0,1,1: 37:[22, 59] Operation: 34+25=59
Exploring Operation: 34+22=56, Resulting Numbers: [25, 56]
Generated Node #0,1,2: 37:[25, 56] Operation: 34+22=56
Exploring Operation: 34-22=12, Resulting Numbers: [25, 12]
Generated Node #0,1,3: 37:[25, 12] Operation: 34-22=12
Exploring Operation: 25-22=3, Resulting Numbers: [34, 3]
Generated Node #0,1,4: 37:[34, 3] Operation: 25-22=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[34, 47], Operations: ['88-63=25', '22+25=47']
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,37 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[25, 56], Operations: ['88-63=25', '34+22=56']
Exploring Operation: 25*56=1400, Resulting Numbers: [1400]
1400,37 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 25+56=81, Resulting Numbers: [81]
81,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[22, 59], Operations: ['88-63=25', '34+25=59']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[34, 22, 88, 63], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [34, 22, 25]
Generated Node #0,1: 37:[34, 22, 25] Operation: 88-63=25
Moving to Node #0,1
Current State: 37:[34, 22, 25], Operations: ['88-63=25']
Exploring Operation: 34+25=59, Resulting Numbers: [22, 59]
Generated Node #0,1,1: 37:[22, 59] Operation: 34+25=59
Moving to Node #0,1,1
Current State: 37:[22, 59], Operations: ['88-63=25', '34+25=59']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
48,
54,
20,
40
] | 65 | [
"54*40=2160",
"2160/48=45",
"20+45=65"
] | Current State: 65:[48, 54, 20, 40], Operations: []
Exploring Operation: 54*40=2160, Resulting Numbers: [48, 20, 2160]
Generated Node #2: [48, 20, 2160] from Operation: 54*40=2160
Current State: 65:[48, 20, 2160], Operations: ['54*40=2160']
Exploring Operation: 2160/48=45, Resulting Numbers: [20, 45]
Generated Node #3: [20, 45] from Operation: 2160/48=45
Current State: 65:[20, 45], Operations: ['54*40=2160', '2160/48=45']
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[48, 54, 20, 40], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [48, 54, 2]
Generated Node #0,0: 65:[48, 54, 2] Operation: 40/20=2
Exploring Operation: 54-40=14, Resulting Numbers: [48, 20, 14]
Generated Node #0,1: 65:[48, 20, 14] Operation: 54-40=14
Exploring Operation: 54-48=6, Resulting Numbers: [20, 40, 6]
Generated Node #0,2: 65:[20, 40, 6] Operation: 54-48=6
Exploring Operation: 48-40=8, Resulting Numbers: [54, 20, 8]
Generated Node #0,3: 65:[54, 20, 8] Operation: 48-40=8
Moving to Node #0,3
Current State: 65:[54, 20, 8], Operations: ['48-40=8']
Exploring Operation: 54-20=34, Resulting Numbers: [8, 34]
Generated Node #0,3,0: 65:[8, 34] Operation: 54-20=34
Exploring Operation: 54+8=62, Resulting Numbers: [20, 62]
Generated Node #0,3,1: 65:[20, 62] Operation: 54+8=62
Exploring Operation: 20-8=12, Resulting Numbers: [54, 12]
Generated Node #0,3,2: 65:[54, 12] Operation: 20-8=12
Exploring Operation: 54+20=74, Resulting Numbers: [8, 74]
Generated Node #0,3,3: 65:[8, 74] Operation: 54+20=74
Moving to Node #0,1
Current State: 65:[48, 20, 14], Operations: ['54-40=14']
Exploring Operation: 48+14=62, Resulting Numbers: [20, 62]
Generated Node #0,1,0: 65:[20, 62] Operation: 48+14=62
Exploring Operation: 48-20=28, Resulting Numbers: [14, 28]
Generated Node #0,1,1: 65:[14, 28] Operation: 48-20=28
Exploring Operation: 20-14=6, Resulting Numbers: [48, 6]
Generated Node #0,1,2: 65:[48, 6] Operation: 20-14=6
Exploring Operation: 48+20=68, Resulting Numbers: [14, 68]
Generated Node #0,1,3: 65:[14, 68] Operation: 48+20=68
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[14, 68], Operations: ['54-40=14', '48+20=68']
Exploring Operation: 14*68=952, Resulting Numbers: [952]
952,65 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 14+68=82, Resulting Numbers: [82]
82,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:[20, 62], Operations: ['54-40=14', '48+14=62']
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,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:[14, 28], Operations: ['54-40=14', '48-20=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,65 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[48, 6], Operations: ['54-40=14', '20-14=6']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,65 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: 65:[48, 54, 2], Operations: ['40/20=2']
Exploring Operation: 48+2=50, Resulting Numbers: [54, 50]
Generated Node #0,0,0: 65:[54, 50] Operation: 48+2=50
Exploring Operation: 54-48=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 65:[2, 6] Operation: 54-48=6
Exploring Operation: 48/2=24, Resulting Numbers: [54, 24]
Generated Node #0,0,2: 65:[54, 24] Operation: 48/2=24
Exploring Operation: 54+2=56, Resulting Numbers: [48, 56]
Generated Node #0,0,3: 65:[48, 56] Operation: 54+2=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[2, 6], Operations: ['40/20=2', '54-48=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[54, 24], Operations: ['40/20=2', '48/2=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,65 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[54, 50], Operations: ['40/20=2', '48+2=50']
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[48, 56], Operations: ['40/20=2', '54+2=56']
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,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:[20, 40, 6], Operations: ['54-48=6']
Exploring Operation: 20-6=14, Resulting Numbers: [40, 14]
Generated Node #0,2,0: 65:[40, 14] Operation: 20-6=14
Exploring Operation: 40/20=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 65:[6, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [6, 20]
Generated Node #0,2,2: 65:[6, 20] Operation: 40-20=20
Exploring Operation: 20+40=60, Resulting Numbers: [6, 60]
Generated Node #0,2,3: 65:[6, 60] Operation: 20+40=60
Moving to Node #0,2,1
Current State: 65:[6, 2], Operations: ['54-48=6', '40/20=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[6, 60], Operations: ['54-48=6', '20+40=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,65 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[6, 20], Operations: ['54-48=6', '40-20=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,65 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[20, 62], Operations: ['48-40=8', '54+8=62']
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,65 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[8, 74], Operations: ['48-40=8', '54+20=74']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[54, 12], Operations: ['48-40=8', '20-8=12']
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,65 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[8, 34], Operations: ['48-40=8', '54-20=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[40, 14], Operations: ['54-48=6', '20-6=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,65 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
70,
5,
11
] | 13 | [
"77-70=7",
"11-5=6",
"7+6=13"
] | Current State: 13:[77, 70, 5, 11], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [5, 11, 7]
Generated Node #2: [5, 11, 7] from Operation: 77-70=7
Current State: 13:[5, 11, 7], Operations: ['77-70=7']
Exploring Operation: 11-5=6, Resulting Numbers: [7, 6]
Generated Node #3: [7, 6] from Operation: 11-5=6
Current State: 13:[7, 6], Operations: ['77-70=7', '11-5=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[77, 70, 5, 11], Operations: []
Exploring Operation: 77-70=7, Resulting Numbers: [5, 11, 7]
Generated Node #0,0: 13:[5, 11, 7] Operation: 77-70=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[5, 11, 7], Operations: ['77-70=7']
Exploring Operation: 5+7=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 13:[11, 12] Operation: 5+7=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[11, 12], Operations: ['77-70=7', '5+7=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,13 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 |
[
8,
17,
10,
2
] | 58 | [
"8*17=136",
"136/2=68",
"68-10=58"
] | Current State: 58:[8, 17, 10, 2], Operations: []
Exploring Operation: 8*17=136, Resulting Numbers: [10, 2, 136]
Generated Node #2: [10, 2, 136] from Operation: 8*17=136
Current State: 58:[10, 2, 136], Operations: ['8*17=136']
Exploring Operation: 136/2=68, Resulting Numbers: [10, 68]
Generated Node #3: [10, 68] from Operation: 136/2=68
Current State: 58:[10, 68], Operations: ['8*17=136', '136/2=68']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[8, 17, 10, 2], Operations: []
Exploring Operation: 8+17=25, Resulting Numbers: [10, 2, 25]
Generated Node #0,0: 58:[10, 2, 25] Operation: 8+17=25
Exploring Operation: 17+10=27, Resulting Numbers: [8, 2, 27]
Generated Node #0,1: 58:[8, 2, 27] Operation: 17+10=27
Exploring Operation: 17-10=7, Resulting Numbers: [8, 2, 7]
Generated Node #0,2: 58:[8, 2, 7] Operation: 17-10=7
Moving to Node #0,1
Current State: 58:[8, 2, 27], Operations: ['17+10=27']
Exploring Operation: 8-2=6, Resulting Numbers: [27, 6]
Generated Node #0,1,0: 58:[27, 6] Operation: 8-2=6
Exploring Operation: 8/2=4, Resulting Numbers: [27, 4]
Generated Node #0,1,1: 58:[27, 4] Operation: 8/2=4
Exploring Operation: 8+27=35, Resulting Numbers: [2, 35]
Generated Node #0,1,2: 58:[2, 35] Operation: 8+27=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[27, 4], Operations: ['17+10=27', '8/2=4']
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,58 unequal: No Solution
No 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: 58:[27, 6], Operations: ['17+10=27', '8-2=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,58 unequal: No Solution
No 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: 58:[2, 35], Operations: ['17+10=27', '8+27=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,58 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: 58:[8, 2, 7], Operations: ['17-10=7']
Exploring Operation: 8*7=56, Resulting Numbers: [2, 56]
Generated Node #0,2,0: 58:[2, 56] Operation: 8*7=56
Exploring Operation: 8/2=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 58:[7, 4] Operation: 8/2=4
Exploring Operation: 8-7=1, Resulting Numbers: [2, 1]
Generated Node #0,2,2: 58:[2, 1] Operation: 8-7=1
Moving to Node #0,0
Current State: 58:[10, 2, 25], Operations: ['8+17=25']
Exploring Operation: 10+25=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 58:[2, 35] Operation: 10+25=35
Exploring Operation: 10-2=8, Resulting Numbers: [25, 8]
Generated Node #0,0,1: 58:[25, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [25, 5]
Generated Node #0,0,2: 58:[25, 5] Operation: 10/2=5
Moving to Node #0,2,2
Current State: 58:[2, 1], Operations: ['17-10=7', '8-7=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[2, 56], Operations: ['17-10=7', '8*7=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[8, 17, 10, 2], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [8, 2, 7]
Generated Node #0,2: 58:[8, 2, 7] Operation: 17-10=7
Moving to Node #0,2
Current State: 58:[8, 2, 7], Operations: ['17-10=7']
Exploring Operation: 8*7=56, Resulting Numbers: [2, 56]
Generated Node #0,2,0: 58:[2, 56] Operation: 8*7=56
Moving to Node #0,2,0
Current State: 58:[2, 56], Operations: ['17-10=7', '8*7=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
5,
57,
90,
15
] | 90 | [
"90/5=18",
"57+15=72",
"18+72=90"
] | Current State: 90:[5, 57, 90, 15], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [57, 15, 18]
Generated Node #2: [57, 15, 18] from Operation: 90/5=18
Current State: 90:[57, 15, 18], Operations: ['90/5=18']
Exploring Operation: 57+15=72, Resulting Numbers: [18, 72]
Generated Node #3: [18, 72] from Operation: 57+15=72
Current State: 90:[18, 72], Operations: ['90/5=18', '57+15=72']
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[5, 57, 90, 15], Operations: []
Exploring Operation: 57-15=42, Resulting Numbers: [5, 90, 42]
Generated Node #0,0: 90:[5, 90, 42] Operation: 57-15=42
Exploring Operation: 90-57=33, Resulting Numbers: [5, 15, 33]
Generated Node #0,1: 90:[5, 15, 33] Operation: 90-57=33
Moving to Node #0,0
Current State: 90:[5, 90, 42], Operations: ['57-15=42']
Exploring Operation: 90/5=18, Resulting Numbers: [42, 18]
Generated Node #0,0,0: 90:[42, 18] Operation: 90/5=18
Exploring Operation: 5+42=47, Resulting Numbers: [90, 47]
Generated Node #0,0,1: 90:[90, 47] Operation: 5+42=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[90, 47], Operations: ['57-15=42', '5+42=47']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[42, 18], Operations: ['57-15=42', '90/5=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,90 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,90 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: 90:[5, 15, 33], Operations: ['90-57=33']
Exploring Operation: 33-5=28, Resulting Numbers: [15, 28]
Generated Node #0,1,0: 90:[15, 28] Operation: 33-5=28
Exploring Operation: 33-15=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 90:[5, 18] Operation: 33-15=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[5, 18], Operations: ['90-57=33', '33-15=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[5, 57, 90, 15], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [5, 15, 33]
Generated Node #0,1: 90:[5, 15, 33] Operation: 90-57=33
Moving to Node #0,1
Current State: 90:[5, 15, 33], Operations: ['90-57=33']
Exploring Operation: 33-15=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 90:[5, 18] Operation: 33-15=18
Moving to Node #0,1,1
Current State: 90:[5, 18], Operations: ['90-57=33', '33-15=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
75,
36,
78,
6
] | 72 | [
"78-75=3",
"36*6=216",
"216/3=72"
] | Current State: 72:[75, 36, 78, 6], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [36, 6, 3]
Generated Node #2: [36, 6, 3] from Operation: 78-75=3
Current State: 72:[36, 6, 3], Operations: ['78-75=3']
Exploring Operation: 36*6=216, Resulting Numbers: [3, 216]
Generated Node #3: [3, 216] from Operation: 36*6=216
Current State: 72:[3, 216], Operations: ['78-75=3', '36*6=216']
Exploring Operation: 216/3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[75, 36, 78, 6], Operations: []
Exploring Operation: 75-36=39, Resulting Numbers: [78, 6, 39]
Generated Node #0,0: 72:[78, 6, 39] Operation: 75-36=39
Exploring Operation: 78/6=13, Resulting Numbers: [75, 36, 13]
Generated Node #0,1: 72:[75, 36, 13] Operation: 78/6=13
Exploring Operation: 78-75=3, Resulting Numbers: [36, 6, 3]
Generated Node #0,2: 72:[36, 6, 3] Operation: 78-75=3
Exploring Operation: 78-6=72, Resulting Numbers: [75, 36, 72]
Generated Node #0,3: 72:[75, 36, 72] Operation: 78-6=72
Moving to Node #0,2
Current State: 72:[36, 6, 3], Operations: ['78-75=3']
Exploring Operation: 6*3=18, Resulting Numbers: [36, 18]
Generated Node #0,2,0: 72:[36, 18] Operation: 6*3=18
Exploring Operation: 6+3=9, Resulting Numbers: [36, 9]
Generated Node #0,2,1: 72:[36, 9] Operation: 6+3=9
Exploring Operation: 36/6=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 72:[3, 6] Operation: 36/6=6
Exploring Operation: 36/3=12, Resulting Numbers: [6, 12]
Generated Node #0,2,3: 72:[6, 12] Operation: 36/3=12
Moving to Node #0,3
Current State: 72:[75, 36, 72], Operations: ['78-6=72']
Exploring Operation: 75-36=39, Resulting Numbers: [72, 39]
Generated Node #0,3,0: 72:[72, 39] Operation: 75-36=39
Exploring Operation: 72-36=36, Resulting Numbers: [75, 36]
Generated Node #0,3,1: 72:[75, 36] Operation: 72-36=36
Exploring Operation: 75-72=3, Resulting Numbers: [36, 3]
Generated Node #0,3,2: 72:[36, 3] Operation: 75-72=3
Exploring Operation: 72/36=2, Resulting Numbers: [75, 2]
Generated Node #0,3,3: 72:[75, 2] Operation: 72/36=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[36, 3], Operations: ['78-6=72', '75-72=3']
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,72 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,72 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,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:[72, 39], Operations: ['78-6=72', '75-36=39']
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,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:[75, 36], Operations: ['78-6=72', '72-36=36']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,72 unequal: No Solution
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,72 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,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:[75, 2], Operations: ['78-6=72', '72/36=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,72 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,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:[75, 36, 13], Operations: ['78/6=13']
Exploring Operation: 75+13=88, Resulting Numbers: [36, 88]
Generated Node #0,1,0: 72:[36, 88] Operation: 75+13=88
Exploring Operation: 75-13=62, Resulting Numbers: [36, 62]
Generated Node #0,1,1: 72:[36, 62] Operation: 75-13=62
Exploring Operation: 36-13=23, Resulting Numbers: [75, 23]
Generated Node #0,1,2: 72:[75, 23] Operation: 36-13=23
Exploring Operation: 75-36=39, Resulting Numbers: [13, 39]
Generated Node #0,1,3: 72:[13, 39] Operation: 75-36=39
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[75, 23], Operations: ['78/6=13', '36-13=23']
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,72 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,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:[13, 39], Operations: ['78/6=13', '75-36=39']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 13*39=507, Resulting Numbers: [507]
507,72 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 13+39=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,1
Current State: 72:[36, 62], Operations: ['78/6=13', '75-13=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,72 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,72 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,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:[36, 88], Operations: ['78/6=13', '75+13=88']
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,72 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,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:[78, 6, 39], Operations: ['75-36=39']
Exploring Operation: 78-39=39, Resulting Numbers: [6, 39]
Generated Node #0,0,0: 72:[6, 39] Operation: 78-39=39
Exploring Operation: 78-6=72, Resulting Numbers: [39, 72]
Generated Node #0,0,1: 72:[39, 72] Operation: 78-6=72
Exploring Operation: 78/39=2, Resulting Numbers: [6, 2]
Generated Node #0,0,2: 72:[6, 2] Operation: 78/39=2
Exploring Operation: 78/6=13, Resulting Numbers: [39, 13]
Generated Node #0,0,3: 72:[39, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[6, 2], Operations: ['75-36=39', '78/39=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,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:[6, 39], Operations: ['75-36=39', '78-39=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,72 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,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:[39, 72], Operations: ['75-36=39', '78-6=72']
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,72 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,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:[39, 13], Operations: ['75-36=39', '78/6=13']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 72:[36, 18], Operations: ['78-75=3', '6*3=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,72 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[3, 6], Operations: ['78-75=3', '36/6=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[36, 9], Operations: ['78-75=3', '6+3=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[6, 12], Operations: ['78-75=3', '36/3=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[75, 36, 78, 6], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [36, 6, 3]
Generated Node #0,2: 72:[36, 6, 3] Operation: 78-75=3
Moving to Node #0,2
Current State: 72:[36, 6, 3], Operations: ['78-75=3']
Exploring Operation: 36/3=12, Resulting Numbers: [6, 12]
Generated Node #0,2,3: 72:[6, 12] Operation: 36/3=12
Moving to Node #0,2,3
Current State: 72:[6, 12], Operations: ['78-75=3', '36/3=12']
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.930556 | hs_4 | sum_heuristic |
[
2,
84,
69,
43
] | 29 | [
"84-69=15",
"43+15=58",
"58/2=29"
] | Current State: 29:[2, 84, 69, 43], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [2, 43, 15]
Generated Node #2: [2, 43, 15] from Operation: 84-69=15
Current State: 29:[2, 43, 15], Operations: ['84-69=15']
Exploring Operation: 43+15=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 43+15=58
Current State: 29:[2, 58], Operations: ['84-69=15', '43+15=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 84, 69, 43], Operations: []
Exploring Operation: 84-2=82, Resulting Numbers: [69, 43, 82]
Generated Node #0,0: 29:[69, 43, 82] Operation: 84-2=82
Exploring Operation: 69-43=26, Resulting Numbers: [2, 84, 26]
Generated Node #0,1: 29:[2, 84, 26] Operation: 69-43=26
Exploring Operation: 84-43=41, Resulting Numbers: [2, 69, 41]
Generated Node #0,2: 29:[2, 69, 41] Operation: 84-43=41
Exploring Operation: 84/2=42, Resulting Numbers: [69, 43, 42]
Generated Node #0,3: 29:[69, 43, 42] Operation: 84/2=42
Exploring Operation: 84-69=15, Resulting Numbers: [2, 43, 15]
Generated Node #0,4: 29:[2, 43, 15] Operation: 84-69=15
Moving to Node #0,4
Current State: 29:[2, 43, 15], Operations: ['84-69=15']
Exploring Operation: 2*15=30, Resulting Numbers: [43, 30]
Generated Node #0,4,0: 29:[43, 30] Operation: 2*15=30
Exploring Operation: 43-15=28, Resulting Numbers: [2, 28]
Generated Node #0,4,1: 29:[2, 28] Operation: 43-15=28
Exploring Operation: 2+43=45, Resulting Numbers: [15, 45]
Generated Node #0,4,2: 29:[15, 45] Operation: 2+43=45
Exploring Operation: 43-2=41, Resulting Numbers: [15, 41]
Generated Node #0,4,3: 29:[15, 41] Operation: 43-2=41
Exploring Operation: 2+15=17, Resulting Numbers: [43, 17]
Generated Node #0,4,4: 29:[43, 17] Operation: 2+15=17
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[43, 30], Operations: ['84-69=15', '2*15=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,29 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[15, 41], Operations: ['84-69=15', '43-2=41']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[43, 17], Operations: ['84-69=15', '2+15=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,29 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 29:[2, 28], Operations: ['84-69=15', '43-15=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[15, 45], Operations: ['84-69=15', '2+43=45']
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,29 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,29 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: 29:[69, 43, 42], Operations: ['84/2=42']
Exploring Operation: 69-42=27, Resulting Numbers: [43, 27]
Generated Node #0,3,0: 29:[43, 27] Operation: 69-42=27
Exploring Operation: 43-42=1, Resulting Numbers: [69, 1]
Generated Node #0,3,1: 29:[69, 1] Operation: 43-42=1
Exploring Operation: 69+42=111, Resulting Numbers: [43, 111]
Generated Node #0,3,2: 29:[43, 111] Operation: 69+42=111
Exploring Operation: 69+43=112, Resulting Numbers: [42, 112]
Generated Node #0,3,3: 29:[42, 112] Operation: 69+43=112
Exploring Operation: 69-43=26, Resulting Numbers: [42, 26]
Generated Node #0,3,4: 29:[42, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[43, 27], Operations: ['84/2=42', '69-42=27']
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,29 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[42, 26], Operations: ['84/2=42', '69-43=26']
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,29 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[69, 1], Operations: ['84/2=42', '43-42=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[43, 111], Operations: ['84/2=42', '69+42=111']
Exploring Operation: 111-43=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 43*111=4773, Resulting Numbers: [4773]
4773,29 unequal: No Solution
Exploring Operation: 43+111=154, Resulting Numbers: [154]
154,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[42, 112], Operations: ['84/2=42', '69+43=112']
Exploring Operation: 42*112=4704, Resulting Numbers: [4704]
4704,29 unequal: No Solution
Exploring Operation: 112-42=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 42+112=154, Resulting Numbers: [154]
154,29 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: 29:[2, 69, 41], Operations: ['84-43=41']
Exploring Operation: 69-41=28, Resulting Numbers: [2, 28]
Generated Node #0,2,0: 29:[2, 28] Operation: 69-41=28
Exploring Operation: 69-2=67, Resulting Numbers: [41, 67]
Generated Node #0,2,1: 29:[41, 67] Operation: 69-2=67
Exploring Operation: 2+69=71, Resulting Numbers: [41, 71]
Generated Node #0,2,2: 29:[41, 71] Operation: 2+69=71
Exploring Operation: 2+41=43, Resulting Numbers: [69, 43]
Generated Node #0,2,3: 29:[69, 43] Operation: 2+41=43
Exploring Operation: 41-2=39, Resulting Numbers: [69, 39]
Generated Node #0,2,4: 29:[69, 39] Operation: 41-2=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[2, 28], Operations: ['84-43=41', '69-41=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[41, 67], Operations: ['84-43=41', '69-2=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,29 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,29 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[69, 39], Operations: ['84-43=41', '41-2=39']
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 69+39=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 69*39=2691, Resulting Numbers: [2691]
2691,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[41, 71], Operations: ['84-43=41', '2+69=71']
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,29 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[69, 43], Operations: ['84-43=41', '2+41=43']
Exploring Operation: 69+43=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 69*43=2967, Resulting Numbers: [2967]
2967,29 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,29 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: 29:[2, 84, 26], Operations: ['69-43=26']
Exploring Operation: 2+26=28, Resulting Numbers: [84, 28]
Generated Node #0,1,0: 29:[84, 28] Operation: 2+26=28
Exploring Operation: 84/2=42, Resulting Numbers: [26, 42]
Generated Node #0,1,1: 29:[26, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [26, 82]
Generated Node #0,1,2: 29:[26, 82] Operation: 84-2=82
Exploring Operation: 2+84=86, Resulting Numbers: [26, 86]
Generated Node #0,1,3: 29:[26, 86] Operation: 2+84=86
Exploring Operation: 84-26=58, Resulting Numbers: [2, 58]
Generated Node #0,1,4: 29:[2, 58] Operation: 84-26=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[26, 42], Operations: ['69-43=26', '84/2=42']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 26*42=1092, Resulting Numbers: [1092]
1092,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[84, 28], Operations: ['69-43=26', '2+26=28']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 84*28=2352, Resulting Numbers: [2352]
2352,29 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[26, 82], Operations: ['69-43=26', '84-2=82']
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 29:[2, 58], Operations: ['69-43=26', '84-26=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[2, 84, 69, 43], Operations: []
Exploring Operation: 69-43=26, Resulting Numbers: [2, 84, 26]
Generated Node #0,1: 29:[2, 84, 26] Operation: 69-43=26
Moving to Node #0,1
Current State: 29:[2, 84, 26], Operations: ['69-43=26']
Exploring Operation: 84-26=58, Resulting Numbers: [2, 58]
Generated Node #0,1,4: 29:[2, 58] Operation: 84-26=58
Moving to Node #0,1,4
Current State: 29:[2, 58], Operations: ['69-43=26', '84-26=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.922743 | hs_5 | sum_heuristic |
[
26,
96,
15,
17
] | 35 | [
"96-26=70",
"17-15=2",
"70/2=35"
] | Current State: 35:[26, 96, 15, 17], Operations: []
Exploring Operation: 96-26=70, Resulting Numbers: [15, 17, 70]
Generated Node #2: [15, 17, 70] from Operation: 96-26=70
Current State: 35:[15, 17, 70], Operations: ['96-26=70']
Exploring Operation: 17-15=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 17-15=2
Current State: 35:[70, 2], Operations: ['96-26=70', '17-15=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[26, 96, 15, 17], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [26, 15, 79]
Generated Node #0,0: 35:[26, 15, 79] Operation: 96-17=79
Exploring Operation: 96-26=70, Resulting Numbers: [15, 17, 70]
Generated Node #0,1: 35:[15, 17, 70] Operation: 96-26=70
Moving to Node #0,1
Current State: 35:[15, 17, 70], Operations: ['96-26=70']
Exploring Operation: 70-15=55, Resulting Numbers: [17, 55]
Generated Node #0,1,0: 35:[17, 55] Operation: 70-15=55
Exploring Operation: 70-17=53, Resulting Numbers: [15, 53]
Generated Node #0,1,1: 35:[15, 53] Operation: 70-17=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[15, 53], Operations: ['96-26=70', '70-17=53']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[17, 55], Operations: ['96-26=70', '70-15=55']
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[26, 15, 79], Operations: ['96-17=79']
Exploring Operation: 79-26=53, Resulting Numbers: [15, 53]
Generated Node #0,0,0: 35:[15, 53] Operation: 79-26=53
Exploring Operation: 79-15=64, Resulting Numbers: [26, 64]
Generated Node #0,0,1: 35:[26, 64] Operation: 79-15=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[15, 53], Operations: ['96-17=79', '79-26=53']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[26, 64], Operations: ['96-17=79', '79-15=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,35 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 |
[
11,
18,
35,
29
] | 33 | [
"11*18=198",
"35-29=6",
"198/6=33"
] | Current State: 33:[11, 18, 35, 29], Operations: []
Exploring Operation: 11*18=198, Resulting Numbers: [35, 29, 198]
Generated Node #2: [35, 29, 198] from Operation: 11*18=198
Current State: 33:[35, 29, 198], Operations: ['11*18=198']
Exploring Operation: 35-29=6, Resulting Numbers: [198, 6]
Generated Node #3: [198, 6] from Operation: 35-29=6
Current State: 33:[198, 6], Operations: ['11*18=198', '35-29=6']
Exploring Operation: 198/6=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[11, 18, 35, 29], Operations: []
Exploring Operation: 11+18=29, Resulting Numbers: [35, 29, 29]
Generated Node #0,0: 33:[35, 29, 29] Operation: 11+18=29
Exploring Operation: 29-18=11, Resulting Numbers: [11, 35, 11]
Generated Node #0,1: 33:[11, 35, 11] Operation: 29-18=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[11, 35, 11], Operations: ['29-18=11']
Exploring Operation: 11-11=0, Resulting Numbers: [35, 0]
Generated Node #0,1,0: 33:[35, 0] Operation: 11-11=0
Exploring Operation: 11/11=1, Resulting Numbers: [35, 1]
Generated Node #0,1,1: 33:[35, 1] Operation: 11/11=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[35, 1], Operations: ['29-18=11', '11/11=1']
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 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[35, 0], Operations: ['29-18=11', '11-11=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[35, 29, 29], Operations: ['11+18=29']
Exploring Operation: 29-29=0, Resulting Numbers: [35, 0]
Generated Node #0,0,0: 33:[35, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 33:[35, 1] Operation: 29/29=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[35, 1], Operations: ['11+18=29', '29/29=1']
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 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[35, 0], Operations: ['11+18=29', '29-29=0']
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
56,
3,
22
] | 62 | [
"56-19=37",
"3+22=25",
"37+25=62"
] | Current State: 62:[19, 56, 3, 22], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [3, 22, 37]
Generated Node #2: [3, 22, 37] from Operation: 56-19=37
Current State: 62:[3, 22, 37], Operations: ['56-19=37']
Exploring Operation: 3+22=25, Resulting Numbers: [37, 25]
Generated Node #3: [37, 25] from Operation: 3+22=25
Current State: 62:[37, 25], Operations: ['56-19=37', '3+22=25']
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 56, 3, 22], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [3, 22, 37]
Generated Node #0,0: 62:[3, 22, 37] Operation: 56-19=37
Exploring Operation: 22-19=3, Resulting Numbers: [56, 3, 3]
Generated Node #0,1: 62:[56, 3, 3] Operation: 22-19=3
Exploring Operation: 56-22=34, Resulting Numbers: [19, 3, 34]
Generated Node #0,2: 62:[19, 3, 34] Operation: 56-22=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[56, 3, 3], Operations: ['22-19=3']
Exploring Operation: 56+3=59, Resulting Numbers: [3, 59]
Generated Node #0,1,0: 62:[3, 59] Operation: 56+3=59
Exploring Operation: 56+3=59, Resulting Numbers: [3, 59]
Generated Node #0,1,1: 62:[3, 59] Operation: 56+3=59
Exploring Operation: 3/3=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 62:[56, 1] Operation: 3/3=1
Moving to Node #0,1,0
Current State: 62:[3, 59], Operations: ['22-19=3', '56+3=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,62 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[19, 56, 3, 22], Operations: []
Exploring Operation: 22-19=3, Resulting Numbers: [56, 3, 3]
Generated Node #0,1: 62:[56, 3, 3] Operation: 22-19=3
Moving to Node #0,1
Current State: 62:[56, 3, 3], Operations: ['22-19=3']
Exploring Operation: 56+3=59, Resulting Numbers: [3, 59]
Generated Node #0,1,0: 62:[3, 59] Operation: 56+3=59
Moving to Node #0,1,0
Current State: 62:[3, 59], Operations: ['22-19=3', '56+3=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
9,
61,
90,
36
] | 59 | [
"9+36=45",
"90/45=2",
"61-2=59"
] | Current State: 59:[9, 61, 90, 36], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [61, 90, 45]
Generated Node #2: [61, 90, 45] from Operation: 9+36=45
Current State: 59:[61, 90, 45], Operations: ['9+36=45']
Exploring Operation: 90/45=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 90/45=2
Current State: 59:[61, 2], Operations: ['9+36=45', '90/45=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[9, 61, 90, 36], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [61, 36, 81]
Generated Node #0,0: 59:[61, 36, 81] Operation: 90-9=81
Moving to Node #0,0
Current State: 59:[61, 36, 81], Operations: ['90-9=81']
Exploring Operation: 81-36=45, Resulting Numbers: [61, 45]
Generated Node #0,0,0: 59:[61, 45] Operation: 81-36=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[61, 45], Operations: ['90-9=81', '81-36=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
7,
9,
73
] | 20 | [
"7*9=63",
"73-63=10",
"2*10=20"
] | Current State: 20:[2, 7, 9, 73], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [2, 73, 63]
Generated Node #2: [2, 73, 63] from Operation: 7*9=63
Current State: 20:[2, 73, 63], Operations: ['7*9=63']
Exploring Operation: 73-63=10, Resulting Numbers: [2, 10]
Generated Node #3: [2, 10] from Operation: 73-63=10
Current State: 20:[2, 10], Operations: ['7*9=63', '73-63=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 7, 9, 73], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [2, 9, 66]
Generated Node #0,0: 20:[2, 9, 66] Operation: 73-7=66
Exploring Operation: 73-2=71, Resulting Numbers: [7, 9, 71]
Generated Node #0,1: 20:[7, 9, 71] Operation: 73-2=71
Exploring Operation: 9-7=2, Resulting Numbers: [2, 73, 2]
Generated Node #0,2: 20:[2, 73, 2] Operation: 9-7=2
Exploring Operation: 73-9=64, Resulting Numbers: [2, 7, 64]
Generated Node #0,3: 20:[2, 7, 64] Operation: 73-9=64
Exploring Operation: 7-2=5, Resulting Numbers: [9, 73, 5]
Generated Node #0,4: 20:[9, 73, 5] Operation: 7-2=5
Moving to Node #0,3
Current State: 20:[2, 7, 64], Operations: ['73-9=64']
Exploring Operation: 64-7=57, Resulting Numbers: [2, 57]
Generated Node #0,3,0: 20:[2, 57] Operation: 64-7=57
Exploring Operation: 64-2=62, Resulting Numbers: [7, 62]
Generated Node #0,3,1: 20:[7, 62] Operation: 64-2=62
Exploring Operation: 2+7=9, Resulting Numbers: [64, 9]
Generated Node #0,3,2: 20:[64, 9] Operation: 2+7=9
Exploring Operation: 64/2=32, Resulting Numbers: [7, 32]
Generated Node #0,3,3: 20:[7, 32] Operation: 64/2=32
Exploring Operation: 7-2=5, Resulting Numbers: [64, 5]
Generated Node #0,3,4: 20:[64, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[7, 32], Operations: ['73-9=64', '64/2=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[2, 57], Operations: ['73-9=64', '64-7=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[7, 62], Operations: ['73-9=64', '64-2=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,20 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 20:[64, 5], Operations: ['73-9=64', '7-2=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,20 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[64, 9], Operations: ['73-9=64', '2+7=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,20 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,20 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: 20:[2, 9, 66], Operations: ['73-7=66']
Exploring Operation: 2+9=11, Resulting Numbers: [66, 11]
Generated Node #0,0,0: 20:[66, 11] Operation: 2+9=11
Exploring Operation: 66/2=33, Resulting Numbers: [9, 33]
Generated Node #0,0,1: 20:[9, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [9, 64]
Generated Node #0,0,2: 20:[9, 64] Operation: 66-2=64
Exploring Operation: 2*9=18, Resulting Numbers: [66, 18]
Generated Node #0,0,3: 20:[66, 18] Operation: 2*9=18
Exploring Operation: 66-9=57, Resulting Numbers: [2, 57]
Generated Node #0,0,4: 20:[2, 57] Operation: 66-9=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[9, 33], Operations: ['73-7=66', '66/2=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,20 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[2, 57], Operations: ['73-7=66', '66-9=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[9, 64], Operations: ['73-7=66', '66-2=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[66, 11], Operations: ['73-7=66', '2+9=11']
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,20 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[66, 18], Operations: ['73-7=66', '2*9=18']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,20 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,20 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: 20:[2, 73, 2], Operations: ['9-7=2']
Exploring Operation: 2/2=1, Resulting Numbers: [73, 1]
Generated Node #0,2,0: 20:[73, 1] Operation: 2/2=1
Exploring Operation: 73-2=71, Resulting Numbers: [2, 71]
Generated Node #0,2,1: 20:[2, 71] Operation: 73-2=71
Exploring Operation: 2+2=4, Resulting Numbers: [73, 4]
Generated Node #0,2,2: 20:[73, 4] Operation: 2+2=4
Exploring Operation: 73-2=71, Resulting Numbers: [2, 71]
Generated Node #0,2,3: 20:[2, 71] Operation: 73-2=71
Exploring Operation: 2*2=4, Resulting Numbers: [73, 4]
Generated Node #0,2,4: 20:[73, 4] Operation: 2*2=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[2, 71], Operations: ['9-7=2', '73-2=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[2, 71], Operations: ['9-7=2', '73-2=71']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,20 unequal: No Solution
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[73, 4], Operations: ['9-7=2', '2+2=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,20 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[73, 4], Operations: ['9-7=2', '2*2=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,20 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[73, 1], Operations: ['9-7=2', '2/2=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[7, 9, 71], Operations: ['73-2=71']
Exploring Operation: 7+9=16, Resulting Numbers: [71, 16]
Generated Node #0,1,0: 20:[71, 16] Operation: 7+9=16
Exploring Operation: 7+71=78, Resulting Numbers: [9, 78]
Generated Node #0,1,1: 20:[9, 78] Operation: 7+71=78
Exploring Operation: 71-7=64, Resulting Numbers: [9, 64]
Generated Node #0,1,2: 20:[9, 64] Operation: 71-7=64
Exploring Operation: 9-7=2, Resulting Numbers: [71, 2]
Generated Node #0,1,3: 20:[71, 2] Operation: 9-7=2
Exploring Operation: 71-9=62, Resulting Numbers: [7, 62]
Generated Node #0,1,4: 20:[7, 62] Operation: 71-9=62
Moving to Node #0,4
Current State: 20:[9, 73, 5], Operations: ['7-2=5']
Exploring Operation: 73-9=64, Resulting Numbers: [5, 64]
Generated Node #0,4,0: 20:[5, 64] Operation: 73-9=64
Exploring Operation: 9-5=4, Resulting Numbers: [73, 4]
Generated Node #0,4,1: 20:[73, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [73, 14]
Generated Node #0,4,2: 20:[73, 14] Operation: 9+5=14
Exploring Operation: 73+5=78, Resulting Numbers: [9, 78]
Generated Node #0,4,3: 20:[9, 78] Operation: 73+5=78
Exploring Operation: 73-5=68, Resulting Numbers: [9, 68]
Generated Node #0,4,4: 20:[9, 68] Operation: 73-5=68
Moving to Node #0,1,4
Current State: 20:[7, 62], Operations: ['73-2=71', '71-9=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,20 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Moving to Node #0,4,0
Current State: 20:[5, 64], Operations: ['7-2=5', '73-9=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,20 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[9, 64], Operations: ['73-2=71', '71-7=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,20 unequal: No Solution
Moving to Node #0,4,4
Current State: 20:[9, 68], Operations: ['7-2=5', '73-5=68']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[71, 2], Operations: ['73-2=71', '9-7=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,20 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[73, 4], Operations: ['7-2=5', '9-5=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,20 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[71, 16], Operations: ['73-2=71', '7+9=16']
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,20 unequal: No Solution
Moving to Node #0,4,2
Current State: 20:[73, 14], Operations: ['7-2=5', '9+5=14']
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,20 unequal: No Solution
Moving to Node #0,4,3
Current State: 20:[9, 78], Operations: ['7-2=5', '73+5=78']
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,20 unequal: No Solution
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[9, 78], Operations: ['73-2=71', '7+71=78']
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,20 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,20 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
26,
12,
1
] | 20 | [
"12-1=11",
"66/11=6",
"26-6=20"
] | Current State: 20:[66, 26, 12, 1], Operations: []
Exploring Operation: 12-1=11, Resulting Numbers: [66, 26, 11]
Generated Node #2: [66, 26, 11] from Operation: 12-1=11
Current State: 20:[66, 26, 11], Operations: ['12-1=11']
Exploring Operation: 66/11=6, Resulting Numbers: [26, 6]
Generated Node #3: [26, 6] from Operation: 66/11=6
Current State: 20:[26, 6], Operations: ['12-1=11', '66/11=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[66, 26, 12, 1], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [12, 1, 40]
Generated Node #0,0: 20:[12, 1, 40] Operation: 66-26=40
Exploring Operation: 66-12=54, Resulting Numbers: [26, 1, 54]
Generated Node #0,1: 20:[26, 1, 54] Operation: 66-12=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[12, 1, 40], Operations: ['66-26=40']
Exploring Operation: 12-1=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 20:[40, 11] Operation: 12-1=11
Exploring Operation: 40-12=28, Resulting Numbers: [1, 28]
Generated Node #0,0,1: 20:[1, 28] Operation: 40-12=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[1, 28], Operations: ['66-26=40', '40-12=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[40, 11], Operations: ['66-26=40', '12-1=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[26, 1, 54], Operations: ['66-12=54']
Exploring Operation: 54-26=28, Resulting Numbers: [1, 28]
Generated Node #0,1,0: 20:[1, 28] Operation: 54-26=28
Exploring Operation: 26-1=25, Resulting Numbers: [54, 25]
Generated Node #0,1,1: 20:[54, 25] Operation: 26-1=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[1, 28], Operations: ['66-12=54', '54-26=28']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[54, 25], Operations: ['66-12=54', '26-1=25']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
6,
1,
38
] | 98 | [
"6-1=5",
"38*5=190",
"190-92=98"
] | Current State: 98:[92, 6, 1, 38], Operations: []
Exploring Operation: 6-1=5, Resulting Numbers: [92, 38, 5]
Generated Node #2: [92, 38, 5] from Operation: 6-1=5
Current State: 98:[92, 38, 5], Operations: ['6-1=5']
Exploring Operation: 38*5=190, Resulting Numbers: [92, 190]
Generated Node #3: [92, 190] from Operation: 38*5=190
Current State: 98:[92, 190], Operations: ['6-1=5', '38*5=190']
Exploring Operation: 190-92=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[92, 6, 1, 38], Operations: []
Exploring Operation: 6+38=44, Resulting Numbers: [92, 1, 44]
Generated Node #0,0: 98:[92, 1, 44] Operation: 6+38=44
Exploring Operation: 92+6=98, Resulting Numbers: [1, 38, 98]
Generated Node #0,1: 98:[1, 38, 98] Operation: 92+6=98
Exploring Operation: 92-38=54, Resulting Numbers: [6, 1, 54]
Generated Node #0,2: 98:[6, 1, 54] Operation: 92-38=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[6, 1, 54], Operations: ['92-38=54']
Exploring Operation: 54-6=48, Resulting Numbers: [1, 48]
Generated Node #0,2,0: 98:[1, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [1, 9]
Generated Node #0,2,1: 98:[1, 9] Operation: 54/6=9
Exploring Operation: 6+1=7, Resulting Numbers: [54, 7]
Generated Node #0,2,2: 98:[54, 7] Operation: 6+1=7
Moving to Node #0,2,0
Current State: 98:[1, 48], Operations: ['92-38=54', '54-6=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[1, 9], Operations: ['92-38=54', '54/6=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[54, 7], Operations: ['92-38=54', '6+1=7']
Exploring Operation: 54*7=378, Resulting Numbers: [378]
378,98 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[92, 1, 44], Operations: ['6+38=44']
Exploring Operation: 92+1=93, Resulting Numbers: [44, 93]
Generated Node #0,0,0: 98:[44, 93] Operation: 92+1=93
Exploring Operation: 92-44=48, Resulting Numbers: [1, 48]
Generated Node #0,0,1: 98:[1, 48] Operation: 92-44=48
Exploring Operation: 1+44=45, Resulting Numbers: [92, 45]
Generated Node #0,0,2: 98:[92, 45] Operation: 1+44=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[1, 48], Operations: ['6+38=44', '92-44=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[44, 93], Operations: ['6+38=44', '92+1=93']
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,98 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[92, 45], Operations: ['6+38=44', '1+44=45']
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[1, 38, 98], Operations: ['92+6=98']
Exploring Operation: 1*38=38, Resulting Numbers: [98, 38]
Generated Node #0,1,0: 98:[98, 38] Operation: 1*38=38
Exploring Operation: 38/1=38, Resulting Numbers: [98, 38]
Generated Node #0,1,1: 98:[98, 38] Operation: 38/1=38
Exploring Operation: 1+38=39, Resulting Numbers: [98, 39]
Generated Node #0,1,2: 98:[98, 39] Operation: 1+38=39
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[98, 39], Operations: ['92+6=98', '1+38=39']
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,98 unequal: No Solution
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,98 unequal: No Solution
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[98, 38], Operations: ['92+6=98', '1*38=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,98 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,98 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[98, 38], Operations: ['92+6=98', '38/1=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,98 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
26,
13,
89
] | 84 | [
"34-26=8",
"89-13=76",
"8+76=84"
] | Current State: 84:[34, 26, 13, 89], Operations: []
Exploring Operation: 34-26=8, Resulting Numbers: [13, 89, 8]
Generated Node #2: [13, 89, 8] from Operation: 34-26=8
Current State: 84:[13, 89, 8], Operations: ['34-26=8']
Exploring Operation: 89-13=76, Resulting Numbers: [8, 76]
Generated Node #3: [8, 76] from Operation: 89-13=76
Current State: 84:[8, 76], Operations: ['34-26=8', '89-13=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[34, 26, 13, 89], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [26, 89, 21]
Generated Node #0,0: 84:[26, 89, 21] Operation: 34-13=21
Exploring Operation: 26-13=13, Resulting Numbers: [34, 89, 13]
Generated Node #0,1: 84:[34, 89, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [34, 89, 2]
Generated Node #0,2: 84:[34, 89, 2] Operation: 26/13=2
Exploring Operation: 34+13=47, Resulting Numbers: [26, 89, 47]
Generated Node #0,3: 84:[26, 89, 47] Operation: 34+13=47
Exploring Operation: 34-26=8, Resulting Numbers: [13, 89, 8]
Generated Node #0,4: 84:[13, 89, 8] Operation: 34-26=8
Moving to Node #0,0
Current State: 84:[26, 89, 21], Operations: ['34-13=21']
Exploring Operation: 89-26=63, Resulting Numbers: [21, 63]
Generated Node #0,0,0: 84:[21, 63] Operation: 89-26=63
Exploring Operation: 89+21=110, Resulting Numbers: [26, 110]
Generated Node #0,0,1: 84:[26, 110] Operation: 89+21=110
Exploring Operation: 26-21=5, Resulting Numbers: [89, 5]
Generated Node #0,0,2: 84:[89, 5] Operation: 26-21=5
Exploring Operation: 89-21=68, Resulting Numbers: [26, 68]
Generated Node #0,0,3: 84:[26, 68] Operation: 89-21=68
Exploring Operation: 26+21=47, Resulting Numbers: [89, 47]
Generated Node #0,0,4: 84:[89, 47] Operation: 26+21=47
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[89, 5], Operations: ['34-13=21', '26-21=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[34, 26, 13, 89], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [26, 89, 21]
Generated Node #0,0: 84:[26, 89, 21] Operation: 34-13=21
Moving to Node #0,0
Current State: 84:[26, 89, 21], Operations: ['34-13=21']
Exploring Operation: 26-21=5, Resulting Numbers: [89, 5]
Generated Node #0,0,2: 84:[89, 5] Operation: 26-21=5
Moving to Node #0,0,2
Current State: 84:[89, 5], Operations: ['34-13=21', '26-21=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
67,
54,
55,
5
] | 72 | [
"67+5=72",
"55-54=1",
"72*1=72"
] | Current State: 72:[67, 54, 55, 5], Operations: []
Exploring Operation: 67+5=72, Resulting Numbers: [54, 55, 72]
Generated Node #2: [54, 55, 72] from Operation: 67+5=72
Current State: 72:[54, 55, 72], Operations: ['67+5=72']
Exploring Operation: 55-54=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 55-54=1
Current State: 72:[72, 1], Operations: ['67+5=72', '55-54=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[67, 54, 55, 5], Operations: []
Exploring Operation: 67+5=72, Resulting Numbers: [54, 55, 72]
Generated Node #0,0: 72:[54, 55, 72] Operation: 67+5=72
Exploring Operation: 67-54=13, Resulting Numbers: [55, 5, 13]
Generated Node #0,1: 72:[55, 5, 13] Operation: 67-54=13
Exploring Operation: 67-55=12, Resulting Numbers: [54, 5, 12]
Generated Node #0,2: 72:[54, 5, 12] Operation: 67-55=12
Exploring Operation: 55/5=11, Resulting Numbers: [67, 54, 11]
Generated Node #0,3: 72:[67, 54, 11] Operation: 55/5=11
Exploring Operation: 55-54=1, Resulting Numbers: [67, 5, 1]
Generated Node #0,4: 72:[67, 5, 1] Operation: 55-54=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[67, 5, 1], Operations: ['55-54=1']
Exploring Operation: 5-1=4, Resulting Numbers: [67, 4]
Generated Node #0,4,0: 72:[67, 4] Operation: 5-1=4
Exploring Operation: 5+1=6, Resulting Numbers: [67, 6]
Generated Node #0,4,1: 72:[67, 6] Operation: 5+1=6
Exploring Operation: 67+1=68, Resulting Numbers: [5, 68]
Generated Node #0,4,2: 72:[5, 68] Operation: 67+1=68
Exploring Operation: 67*1=67, Resulting Numbers: [5, 67]
Generated Node #0,4,3: 72:[5, 67] Operation: 67*1=67
Exploring Operation: 67+5=72, Resulting Numbers: [1, 72]
Generated Node #0,4,4: 72:[1, 72] Operation: 67+5=72
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 72:[1, 72], Operations: ['55-54=1', '67+5=72']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 1+72=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[67, 54, 55, 5], Operations: []
Exploring Operation: 55-54=1, Resulting Numbers: [67, 5, 1]
Generated Node #0,4: 72:[67, 5, 1] Operation: 55-54=1
Moving to Node #0,4
Current State: 72:[67, 5, 1], Operations: ['55-54=1']
Exploring Operation: 67+5=72, Resulting Numbers: [1, 72]
Generated Node #0,4,4: 72:[1, 72] Operation: 67+5=72
Moving to Node #0,4,4
Current State: 72:[1, 72], Operations: ['55-54=1', '67+5=72']
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
64,
70,
14,
40
] | 29 | [
"64-40=24",
"70/14=5",
"24+5=29"
] | Current State: 29:[64, 70, 14, 40], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [70, 14, 24]
Generated Node #2: [70, 14, 24] from Operation: 64-40=24
Current State: 29:[70, 14, 24], Operations: ['64-40=24']
Exploring Operation: 70/14=5, Resulting Numbers: [24, 5]
Generated Node #3: [24, 5] from Operation: 70/14=5
Current State: 29:[24, 5], Operations: ['64-40=24', '70/14=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[64, 70, 14, 40], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [14, 40, 6]
Generated Node #0,0: 29:[14, 40, 6] Operation: 70-64=6
Moving to Node #0,0
Current State: 29:[14, 40, 6], Operations: ['70-64=6']
Exploring Operation: 14+6=20, Resulting Numbers: [40, 20]
Generated Node #0,0,0: 29:[40, 20] Operation: 14+6=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[40, 20], Operations: ['70-64=6', '14+6=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
58,
2,
62
] | 57 | [
"62-3=59",
"58*2=116",
"116-59=57"
] | Current State: 57:[3, 58, 2, 62], Operations: []
Exploring Operation: 62-3=59, Resulting Numbers: [58, 2, 59]
Generated Node #2: [58, 2, 59] from Operation: 62-3=59
Current State: 57:[58, 2, 59], Operations: ['62-3=59']
Exploring Operation: 58*2=116, Resulting Numbers: [59, 116]
Generated Node #3: [59, 116] from Operation: 58*2=116
Current State: 57:[59, 116], Operations: ['62-3=59', '58*2=116']
Exploring Operation: 116-59=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[3, 58, 2, 62], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [3, 2, 4]
Generated Node #0,0: 57:[3, 2, 4] Operation: 62-58=4
Moving to Node #0,0
Current State: 57:[3, 2, 4], Operations: ['62-58=4']
Exploring Operation: 4-2=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 57:[3, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[3, 2], Operations: ['62-58=4', '4-2=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
35,
14,
10
] | 18 | [
"14/2=7",
"35-10=25",
"25-7=18"
] | Current State: 18:[2, 35, 14, 10], Operations: []
Exploring Operation: 14/2=7, Resulting Numbers: [35, 10, 7]
Generated Node #2: [35, 10, 7] from Operation: 14/2=7
Current State: 18:[35, 10, 7], Operations: ['14/2=7']
Exploring Operation: 35-10=25, Resulting Numbers: [7, 25]
Generated Node #3: [7, 25] from Operation: 35-10=25
Current State: 18:[7, 25], Operations: ['14/2=7', '35-10=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[2, 35, 14, 10], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [2, 14, 25]
Generated Node #0,0: 18:[2, 14, 25] Operation: 35-10=25
Exploring Operation: 14-10=4, Resulting Numbers: [2, 35, 4]
Generated Node #0,1: 18:[2, 35, 4] Operation: 14-10=4
Exploring Operation: 35-14=21, Resulting Numbers: [2, 10, 21]
Generated Node #0,2: 18:[2, 10, 21] Operation: 35-14=21
Moving to Node #0,2
Current State: 18:[2, 10, 21], Operations: ['35-14=21']
Exploring Operation: 21-10=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 18:[2, 11] Operation: 21-10=11
Exploring Operation: 10-2=8, Resulting Numbers: [21, 8]
Generated Node #0,2,1: 18:[21, 8] Operation: 10-2=8
Exploring Operation: 21-2=19, Resulting Numbers: [10, 19]
Generated Node #0,2,2: 18:[10, 19] Operation: 21-2=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 18:[2, 11], Operations: ['35-14=21', '21-10=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 18:[10, 19], Operations: ['35-14=21', '21-2=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,18 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[21, 8], Operations: ['35-14=21', '10-2=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,18 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[2, 14, 25], Operations: ['35-10=25']
Exploring Operation: 14/2=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 18:[25, 7] Operation: 14/2=7
Exploring Operation: 25-14=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 18:[2, 11] Operation: 25-14=11
Exploring Operation: 2+14=16, Resulting Numbers: [25, 16]
Generated Node #0,0,2: 18:[25, 16] Operation: 2+14=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[2, 11], Operations: ['35-10=25', '25-14=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,18 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[25, 7], Operations: ['35-10=25', '14/2=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[2, 35, 14, 10], Operations: []
Exploring Operation: 35-10=25, Resulting Numbers: [2, 14, 25]
Generated Node #0,0: 18:[2, 14, 25] Operation: 35-10=25
Moving to Node #0,0
Current State: 18:[2, 14, 25], Operations: ['35-10=25']
Exploring Operation: 14/2=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 18:[25, 7] Operation: 14/2=7
Moving to Node #0,0,0
Current State: 18:[25, 7], Operations: ['35-10=25', '14/2=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
30,
22,
20,
11
] | 49 | [
"22-20=2",
"30*2=60",
"60-11=49"
] | Current State: 49:[30, 22, 20, 11], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [30, 11, 2]
Generated Node #2: [30, 11, 2] from Operation: 22-20=2
Current State: 49:[30, 11, 2], Operations: ['22-20=2']
Exploring Operation: 30*2=60, Resulting Numbers: [11, 60]
Generated Node #3: [11, 60] from Operation: 30*2=60
Current State: 49:[11, 60], Operations: ['22-20=2', '30*2=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[30, 22, 20, 11], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [30, 11, 2]
Generated Node #0,0: 49:[30, 11, 2] Operation: 22-20=2
Exploring Operation: 30-20=10, Resulting Numbers: [22, 11, 10]
Generated Node #0,1: 49:[22, 11, 10] Operation: 30-20=10
Exploring Operation: 30-22=8, Resulting Numbers: [20, 11, 8]
Generated Node #0,2: 49:[20, 11, 8] Operation: 30-22=8
Exploring Operation: 30+20=50, Resulting Numbers: [22, 11, 50]
Generated Node #0,3: 49:[22, 11, 50] Operation: 30+20=50
Exploring Operation: 30+22=52, Resulting Numbers: [20, 11, 52]
Generated Node #0,4: 49:[20, 11, 52] Operation: 30+22=52
Moving to Node #0,2
Current State: 49:[20, 11, 8], Operations: ['30-22=8']
Exploring Operation: 20-8=12, Resulting Numbers: [11, 12]
Generated Node #0,2,0: 49:[11, 12] Operation: 20-8=12
Exploring Operation: 11-8=3, Resulting Numbers: [20, 3]
Generated Node #0,2,1: 49:[20, 3] Operation: 11-8=3
Exploring Operation: 20+8=28, Resulting Numbers: [11, 28]
Generated Node #0,2,2: 49:[11, 28] Operation: 20+8=28
Exploring Operation: 20+11=31, Resulting Numbers: [8, 31]
Generated Node #0,2,3: 49:[8, 31] Operation: 20+11=31
Exploring Operation: 20-11=9, Resulting Numbers: [8, 9]
Generated Node #0,2,4: 49:[8, 9] Operation: 20-11=9
Moving to Node #0,4
Current State: 49:[20, 11, 52], Operations: ['30+22=52']
Exploring Operation: 20-11=9, Resulting Numbers: [52, 9]
Generated Node #0,4,0: 49:[52, 9] Operation: 20-11=9
Exploring Operation: 20+52=72, Resulting Numbers: [11, 72]
Generated Node #0,4,1: 49:[11, 72] Operation: 20+52=72
Exploring Operation: 20+11=31, Resulting Numbers: [52, 31]
Generated Node #0,4,2: 49:[52, 31] Operation: 20+11=31
Exploring Operation: 52-20=32, Resulting Numbers: [11, 32]
Generated Node #0,4,3: 49:[11, 32] Operation: 52-20=32
Exploring Operation: 52-11=41, Resulting Numbers: [20, 41]
Generated Node #0,4,4: 49:[20, 41] Operation: 52-11=41
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[52, 9], Operations: ['30+22=52', '20-11=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,49 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,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,4,2
Current State: 49:[52, 31], Operations: ['30+22=52', '20+11=31']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,49 unequal: No Solution
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,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,4,3
Current State: 49:[11, 32], Operations: ['30+22=52', '52-20=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,49 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,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,4,4
Current State: 49:[20, 41], Operations: ['30+22=52', '52-11=41']
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,49 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,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,4,1
Current State: 49:[11, 72], Operations: ['30+22=52', '20+52=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,49 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,49 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: 49:[22, 11, 50], Operations: ['30+20=50']
Exploring Operation: 22+11=33, Resulting Numbers: [50, 33]
Generated Node #0,3,0: 49:[50, 33] Operation: 22+11=33
Exploring Operation: 50-22=28, Resulting Numbers: [11, 28]
Generated Node #0,3,1: 49:[11, 28] Operation: 50-22=28
Exploring Operation: 22-11=11, Resulting Numbers: [50, 11]
Generated Node #0,3,2: 49:[50, 11] Operation: 22-11=11
Exploring Operation: 50-11=39, Resulting Numbers: [22, 39]
Generated Node #0,3,3: 49:[22, 39] Operation: 50-11=39
Exploring Operation: 22/11=2, Resulting Numbers: [50, 2]
Generated Node #0,3,4: 49:[50, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[50, 11], Operations: ['30+20=50', '22-11=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,49 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,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,3,4
Current State: 49:[50, 2], Operations: ['30+20=50', '22/11=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,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,3,0
Current State: 49:[50, 33], Operations: ['30+20=50', '22+11=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,49 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,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,3,1
Current State: 49:[11, 28], Operations: ['30+20=50', '50-22=28']
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,49 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,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,3,3
Current State: 49:[22, 39], Operations: ['30+20=50', '50-11=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,49 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: 49:[22, 11, 10], Operations: ['30-20=10']
Exploring Operation: 22+10=32, Resulting Numbers: [11, 32]
Generated Node #0,1,0: 49:[11, 32] Operation: 22+10=32
Exploring Operation: 22+11=33, Resulting Numbers: [10, 33]
Generated Node #0,1,1: 49:[10, 33] Operation: 22+11=33
Exploring Operation: 22/11=2, Resulting Numbers: [10, 2]
Generated Node #0,1,2: 49:[10, 2] Operation: 22/11=2
Exploring Operation: 22-10=12, Resulting Numbers: [11, 12]
Generated Node #0,1,3: 49:[11, 12] Operation: 22-10=12
Exploring Operation: 22-11=11, Resulting Numbers: [10, 11]
Generated Node #0,1,4: 49:[10, 11] Operation: 22-11=11
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 49:[10, 11], Operations: ['30-20=10', '22-11=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,49 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,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,1,2
Current State: 49:[10, 2], Operations: ['30-20=10', '22/11=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,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,1,3
Current State: 49:[11, 12], Operations: ['30-20=10', '22-10=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,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,1,1
Current State: 49:[10, 33], Operations: ['30-20=10', '22+11=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,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,1,0
Current State: 49:[11, 32], Operations: ['30-20=10', '22+10=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,49 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,49 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: 49:[30, 11, 2], Operations: ['22-20=2']
Exploring Operation: 30+2=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 49:[11, 32] Operation: 30+2=32
Exploring Operation: 30-11=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 49:[2, 19] Operation: 30-11=19
Exploring Operation: 30+11=41, Resulting Numbers: [2, 41]
Generated Node #0,0,2: 49:[2, 41] Operation: 30+11=41
Exploring Operation: 30/2=15, Resulting Numbers: [11, 15]
Generated Node #0,0,3: 49:[11, 15] Operation: 30/2=15
Exploring Operation: 30*2=60, Resulting Numbers: [11, 60]
Generated Node #0,0,4: 49:[11, 60] Operation: 30*2=60
Moving to Node #0,2,4
Current State: 49:[8, 9], Operations: ['30-22=8', '20-11=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[11, 12], Operations: ['30-22=8', '20-8=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,49 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[11, 15], Operations: ['22-20=2', '30/2=15']
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,49 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[2, 41], Operations: ['22-20=2', '30+11=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,49 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[11, 60], Operations: ['22-20=2', '30*2=60']
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,49 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[30, 22, 20, 11], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [30, 11, 2]
Generated Node #0,0: 49:[30, 11, 2] Operation: 22-20=2
Moving to Node #0,0
Current State: 49:[30, 11, 2], Operations: ['22-20=2']
Exploring Operation: 30*2=60, Resulting Numbers: [11, 60]
Generated Node #0,0,4: 49:[11, 60] Operation: 30*2=60
Moving to Node #0,0,4
Current State: 49:[11, 60], Operations: ['22-20=2', '30*2=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.916667 | hs_5 | sum_heuristic |
[
22,
25,
51,
84
] | 99 | [
"25-22=3",
"84-51=33",
"3*33=99"
] | Current State: 99:[22, 25, 51, 84], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [51, 84, 3]
Generated Node #2: [51, 84, 3] from Operation: 25-22=3
Current State: 99:[51, 84, 3], Operations: ['25-22=3']
Exploring Operation: 84-51=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 84-51=33
Current State: 99:[3, 33], Operations: ['25-22=3', '84-51=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[22, 25, 51, 84], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [51, 84, 3]
Generated Node #0,0: 99:[51, 84, 3] Operation: 25-22=3
Exploring Operation: 51-22=29, Resulting Numbers: [25, 84, 29]
Generated Node #0,1: 99:[25, 84, 29] Operation: 51-22=29
Exploring Operation: 84-51=33, Resulting Numbers: [22, 25, 33]
Generated Node #0,2: 99:[22, 25, 33] Operation: 84-51=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[22, 25, 33], Operations: ['84-51=33']
Exploring Operation: 33-25=8, Resulting Numbers: [22, 8]
Generated Node #0,2,0: 99:[22, 8] Operation: 33-25=8
Exploring Operation: 33-22=11, Resulting Numbers: [25, 11]
Generated Node #0,2,1: 99:[25, 11] Operation: 33-22=11
Exploring Operation: 25-22=3, Resulting Numbers: [33, 3]
Generated Node #0,2,2: 99:[33, 3] Operation: 25-22=3
Moving to Node #0,2,2
Current State: 99:[33, 3], Operations: ['84-51=33', '25-22=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[22, 25, 51, 84], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [22, 25, 33]
Generated Node #0,2: 99:[22, 25, 33] Operation: 84-51=33
Moving to Node #0,2
Current State: 99:[22, 25, 33], Operations: ['84-51=33']
Exploring Operation: 25-22=3, Resulting Numbers: [33, 3]
Generated Node #0,2,2: 99:[33, 3] Operation: 25-22=3
Moving to Node #0,2,2
Current State: 99:[33, 3], Operations: ['84-51=33', '25-22=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
43,
71,
61,
12
] | 41 | [
"43+71=114",
"61+12=73",
"114-73=41"
] | Current State: 41:[43, 71, 61, 12], Operations: []
Exploring Operation: 43+71=114, Resulting Numbers: [61, 12, 114]
Generated Node #2: [61, 12, 114] from Operation: 43+71=114
Current State: 41:[61, 12, 114], Operations: ['43+71=114']
Exploring Operation: 61+12=73, Resulting Numbers: [114, 73]
Generated Node #3: [114, 73] from Operation: 61+12=73
Current State: 41:[114, 73], Operations: ['43+71=114', '61+12=73']
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[43, 71, 61, 12], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [61, 12, 28]
Generated Node #0,0: 41:[61, 12, 28] Operation: 71-43=28
Exploring Operation: 43-12=31, Resulting Numbers: [71, 61, 31]
Generated Node #0,1: 41:[71, 61, 31] Operation: 43-12=31
Exploring Operation: 61-12=49, Resulting Numbers: [43, 71, 49]
Generated Node #0,2: 41:[43, 71, 49] Operation: 61-12=49
Exploring Operation: 71-12=59, Resulting Numbers: [43, 61, 59]
Generated Node #0,3: 41:[43, 61, 59] Operation: 71-12=59
Exploring Operation: 71-61=10, Resulting Numbers: [43, 12, 10]
Generated Node #0,4: 41:[43, 12, 10] Operation: 71-61=10
Moving to Node #0,2
Current State: 41:[43, 71, 49], Operations: ['61-12=49']
Exploring Operation: 71-49=22, Resulting Numbers: [43, 22]
Generated Node #0,2,0: 41:[43, 22] Operation: 71-49=22
Exploring Operation: 71-43=28, Resulting Numbers: [49, 28]
Generated Node #0,2,1: 41:[49, 28] Operation: 71-43=28
Exploring Operation: 43+71=114, Resulting Numbers: [49, 114]
Generated Node #0,2,2: 41:[49, 114] Operation: 43+71=114
Exploring Operation: 49-43=6, Resulting Numbers: [71, 6]
Generated Node #0,2,3: 41:[71, 6] Operation: 49-43=6
Exploring Operation: 43+49=92, Resulting Numbers: [71, 92]
Generated Node #0,2,4: 41:[71, 92] Operation: 43+49=92
Moving to Node #0,3
Current State: 41:[43, 61, 59], Operations: ['71-12=59']
Exploring Operation: 61-43=18, Resulting Numbers: [59, 18]
Generated Node #0,3,0: 41:[59, 18] Operation: 61-43=18
Exploring Operation: 43+59=102, Resulting Numbers: [61, 102]
Generated Node #0,3,1: 41:[61, 102] Operation: 43+59=102
Exploring Operation: 43+61=104, Resulting Numbers: [59, 104]
Generated Node #0,3,2: 41:[59, 104] Operation: 43+61=104
Exploring Operation: 61-59=2, Resulting Numbers: [43, 2]
Generated Node #0,3,3: 41:[43, 2] Operation: 61-59=2
Exploring Operation: 59-43=16, Resulting Numbers: [61, 16]
Generated Node #0,3,4: 41:[61, 16] Operation: 59-43=16
Moving to Node #0,1
Current State: 41:[71, 61, 31], Operations: ['43-12=31']
Exploring Operation: 61+31=92, Resulting Numbers: [71, 92]
Generated Node #0,1,0: 41:[71, 92] Operation: 61+31=92
Exploring Operation: 71-31=40, Resulting Numbers: [61, 40]
Generated Node #0,1,1: 41:[61, 40] Operation: 71-31=40
Exploring Operation: 71-61=10, Resulting Numbers: [31, 10]
Generated Node #0,1,2: 41:[31, 10] Operation: 71-61=10
Exploring Operation: 61-31=30, Resulting Numbers: [71, 30]
Generated Node #0,1,3: 41:[71, 30] Operation: 61-31=30
Exploring Operation: 71+31=102, Resulting Numbers: [61, 102]
Generated Node #0,1,4: 41:[61, 102] Operation: 71+31=102
Moving to Node #0,0
Current State: 41:[61, 12, 28], Operations: ['71-43=28']
Exploring Operation: 61-12=49, Resulting Numbers: [28, 49]
Generated Node #0,0,0: 41:[28, 49] Operation: 61-12=49
Exploring Operation: 61-28=33, Resulting Numbers: [12, 33]
Generated Node #0,0,1: 41:[12, 33] Operation: 61-28=33
Exploring Operation: 28-12=16, Resulting Numbers: [61, 16]
Generated Node #0,0,2: 41:[61, 16] Operation: 28-12=16
Exploring Operation: 12+28=40, Resulting Numbers: [61, 40]
Generated Node #0,0,3: 41:[61, 40] Operation: 12+28=40
Exploring Operation: 61+12=73, Resulting Numbers: [28, 73]
Generated Node #0,0,4: 41:[28, 73] Operation: 61+12=73
Moving to Node #0,4
Current State: 41:[43, 12, 10], Operations: ['71-61=10']
Exploring Operation: 12-10=2, Resulting Numbers: [43, 2]
Generated Node #0,4,0: 41:[43, 2] Operation: 12-10=2
Exploring Operation: 12+10=22, Resulting Numbers: [43, 22]
Generated Node #0,4,1: 41:[43, 22] Operation: 12+10=22
Exploring Operation: 43-12=31, Resulting Numbers: [10, 31]
Generated Node #0,4,2: 41:[10, 31] Operation: 43-12=31
Exploring Operation: 43-10=33, Resulting Numbers: [12, 33]
Generated Node #0,4,3: 41:[12, 33] Operation: 43-10=33
Exploring Operation: 43+10=53, Resulting Numbers: [12, 53]
Generated Node #0,4,4: 41:[12, 53] Operation: 43+10=53
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[43, 22], Operations: ['71-61=10', '12+10=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,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,4,3
Current State: 41:[12, 33], Operations: ['71-61=10', '43-10=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,41 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,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,4,0
Current State: 41:[43, 2], Operations: ['71-61=10', '12-10=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[43, 71, 61, 12], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [43, 12, 10]
Generated Node #0,4: 41:[43, 12, 10] Operation: 71-61=10
Moving to Node #0,4
Current State: 41:[43, 12, 10], Operations: ['71-61=10']
Exploring Operation: 12-10=2, Resulting Numbers: [43, 2]
Generated Node #0,4,0: 41:[43, 2] Operation: 12-10=2
Moving to Node #0,4,0
Current State: 41:[43, 2], Operations: ['71-61=10', '12-10=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
50,
26,
33,
36
] | 98 | [
"50-36=14",
"33-26=7",
"14*7=98"
] | Current State: 98:[50, 26, 33, 36], Operations: []
Exploring Operation: 50-36=14, Resulting Numbers: [26, 33, 14]
Generated Node #2: [26, 33, 14] from Operation: 50-36=14
Current State: 98:[26, 33, 14], Operations: ['50-36=14']
Exploring Operation: 33-26=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 33-26=7
Current State: 98:[14, 7], Operations: ['50-36=14', '33-26=7']
Exploring Operation: 14*7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[50, 26, 33, 36], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [50, 33, 10]
Generated Node #0,0: 98:[50, 33, 10] Operation: 36-26=10
Exploring Operation: 26+33=59, Resulting Numbers: [50, 36, 59]
Generated Node #0,1: 98:[50, 36, 59] Operation: 26+33=59
Exploring Operation: 33-26=7, Resulting Numbers: [50, 36, 7]
Generated Node #0,2: 98:[50, 36, 7] Operation: 33-26=7
Exploring Operation: 36-33=3, Resulting Numbers: [50, 26, 3]
Generated Node #0,3: 98:[50, 26, 3] Operation: 36-33=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[50, 36, 7], Operations: ['33-26=7']
Exploring Operation: 50+36=86, Resulting Numbers: [7, 86]
Generated Node #0,2,0: 98:[7, 86] Operation: 50+36=86
Exploring Operation: 36-7=29, Resulting Numbers: [50, 29]
Generated Node #0,2,1: 98:[50, 29] Operation: 36-7=29
Exploring Operation: 36+7=43, Resulting Numbers: [50, 43]
Generated Node #0,2,2: 98:[50, 43] Operation: 36+7=43
Exploring Operation: 50-36=14, Resulting Numbers: [7, 14]
Generated Node #0,2,3: 98:[7, 14] Operation: 50-36=14
Moving to Node #0,2,3
Current State: 98:[7, 14], Operations: ['33-26=7', '50-36=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[50, 26, 33, 36], Operations: []
Exploring Operation: 33-26=7, Resulting Numbers: [50, 36, 7]
Generated Node #0,2: 98:[50, 36, 7] Operation: 33-26=7
Moving to Node #0,2
Current State: 98:[50, 36, 7], Operations: ['33-26=7']
Exploring Operation: 50-36=14, Resulting Numbers: [7, 14]
Generated Node #0,2,3: 98:[7, 14] Operation: 50-36=14
Moving to Node #0,2,3
Current State: 98:[7, 14], Operations: ['33-26=7', '50-36=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
18,
89,
5,
38
] | 39 | [
"18*5=90",
"89-38=51",
"90-51=39"
] | Current State: 39:[18, 89, 5, 38], Operations: []
Exploring Operation: 18*5=90, Resulting Numbers: [89, 38, 90]
Generated Node #2: [89, 38, 90] from Operation: 18*5=90
Current State: 39:[89, 38, 90], Operations: ['18*5=90']
Exploring Operation: 89-38=51, Resulting Numbers: [90, 51]
Generated Node #3: [90, 51] from Operation: 89-38=51
Current State: 39:[90, 51], Operations: ['18*5=90', '89-38=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[18, 89, 5, 38], Operations: []
Exploring Operation: 89-18=71, Resulting Numbers: [5, 38, 71]
Generated Node #0,0: 39:[5, 38, 71] Operation: 89-18=71
Exploring Operation: 89-38=51, Resulting Numbers: [18, 5, 51]
Generated Node #0,1: 39:[18, 5, 51] Operation: 89-38=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[18, 5, 51], Operations: ['89-38=51']
Exploring Operation: 18-5=13, Resulting Numbers: [51, 13]
Generated Node #0,1,0: 39:[51, 13] Operation: 18-5=13
Exploring Operation: 51-18=33, Resulting Numbers: [5, 33]
Generated Node #0,1,1: 39:[5, 33] Operation: 51-18=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[5, 33], Operations: ['89-38=51', '51-18=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,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,1,0
Current State: 39:[51, 13], Operations: ['89-38=51', '18-5=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,39 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[5, 38, 71], Operations: ['89-18=71']
Exploring Operation: 71-38=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 39:[5, 33] Operation: 71-38=33
Exploring Operation: 71-5=66, Resulting Numbers: [38, 66]
Generated Node #0,0,1: 39:[38, 66] Operation: 71-5=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[5, 33], Operations: ['89-18=71', '71-38=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,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:[38, 66], Operations: ['89-18=71', '71-5=66']
Exploring Operation: 38+66=104, Resulting Numbers: [104]
104,39 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
4,
31,
66
] | 21 | [
"72+4=76",
"31+66=97",
"97-76=21"
] | Current State: 21:[72, 4, 31, 66], Operations: []
Exploring Operation: 72+4=76, Resulting Numbers: [31, 66, 76]
Generated Node #2: [31, 66, 76] from Operation: 72+4=76
Current State: 21:[31, 66, 76], Operations: ['72+4=76']
Exploring Operation: 31+66=97, Resulting Numbers: [76, 97]
Generated Node #3: [76, 97] from Operation: 31+66=97
Current State: 21:[76, 97], Operations: ['72+4=76', '31+66=97']
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[72, 4, 31, 66], Operations: []
Exploring Operation: 72-4=68, Resulting Numbers: [31, 66, 68]
Generated Node #0,0: 21:[31, 66, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [31, 66, 18]
Generated Node #0,1: 21:[31, 66, 18] Operation: 72/4=18
Exploring Operation: 72-66=6, Resulting Numbers: [4, 31, 6]
Generated Node #0,2: 21:[4, 31, 6] Operation: 72-66=6
Exploring Operation: 72-31=41, Resulting Numbers: [4, 66, 41]
Generated Node #0,3: 21:[4, 66, 41] Operation: 72-31=41
Exploring Operation: 66-31=35, Resulting Numbers: [72, 4, 35]
Generated Node #0,4: 21:[72, 4, 35] Operation: 66-31=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[4, 31, 6], Operations: ['72-66=6']
Exploring Operation: 31-4=27, Resulting Numbers: [6, 27]
Generated Node #0,2,0: 21:[6, 27] Operation: 31-4=27
Exploring Operation: 4+6=10, Resulting Numbers: [31, 10]
Generated Node #0,2,1: 21:[31, 10] Operation: 4+6=10
Exploring Operation: 6-4=2, Resulting Numbers: [31, 2]
Generated Node #0,2,2: 21:[31, 2] Operation: 6-4=2
Exploring Operation: 31-6=25, Resulting Numbers: [4, 25]
Generated Node #0,2,3: 21:[4, 25] Operation: 31-6=25
Exploring Operation: 4*6=24, Resulting Numbers: [31, 24]
Generated Node #0,2,4: 21:[31, 24] Operation: 4*6=24
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 21:[4, 25], Operations: ['72-66=6', '31-6=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[72, 4, 31, 66], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [4, 31, 6]
Generated Node #0,2: 21:[4, 31, 6] Operation: 72-66=6
Moving to Node #0,2
Current State: 21:[4, 31, 6], Operations: ['72-66=6']
Exploring Operation: 31-6=25, Resulting Numbers: [4, 25]
Generated Node #0,2,3: 21:[4, 25] Operation: 31-6=25
Moving to Node #0,2,3
Current State: 21:[4, 25], Operations: ['72-66=6', '31-6=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
4,
27,
72,
56
] | 65 | [
"72/4=18",
"27+56=83",
"83-18=65"
] | Current State: 65:[4, 27, 72, 56], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [27, 56, 18]
Generated Node #2: [27, 56, 18] from Operation: 72/4=18
Current State: 65:[27, 56, 18], Operations: ['72/4=18']
Exploring Operation: 27+56=83, Resulting Numbers: [18, 83]
Generated Node #3: [18, 83] from Operation: 27+56=83
Current State: 65:[18, 83], Operations: ['72/4=18', '27+56=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[4, 27, 72, 56], Operations: []
Exploring Operation: 27-4=23, Resulting Numbers: [72, 56, 23]
Generated Node #0,0: 65:[72, 56, 23] Operation: 27-4=23
Exploring Operation: 56-27=29, Resulting Numbers: [4, 72, 29]
Generated Node #0,1: 65:[4, 72, 29] Operation: 56-27=29
Exploring Operation: 56/4=14, Resulting Numbers: [27, 72, 14]
Generated Node #0,2: 65:[27, 72, 14] Operation: 56/4=14
Exploring Operation: 72-56=16, Resulting Numbers: [4, 27, 16]
Generated Node #0,3: 65:[4, 27, 16] Operation: 72-56=16
Moving to Node #0,3
Current State: 65:[4, 27, 16], Operations: ['72-56=16']
Exploring Operation: 4*16=64, Resulting Numbers: [27, 64]
Generated Node #0,3,0: 65:[27, 64] Operation: 4*16=64
Exploring Operation: 27-16=11, Resulting Numbers: [4, 11]
Generated Node #0,3,1: 65:[4, 11] Operation: 27-16=11
Exploring Operation: 27-4=23, Resulting Numbers: [16, 23]
Generated Node #0,3,2: 65:[16, 23] Operation: 27-4=23
Exploring Operation: 16-4=12, Resulting Numbers: [27, 12]
Generated Node #0,3,3: 65:[27, 12] Operation: 16-4=12
Moving to Node #0,2
Current State: 65:[27, 72, 14], Operations: ['56/4=14']
Exploring Operation: 27-14=13, Resulting Numbers: [72, 13]
Generated Node #0,2,0: 65:[72, 13] Operation: 27-14=13
Exploring Operation: 72-14=58, Resulting Numbers: [27, 58]
Generated Node #0,2,1: 65:[27, 58] Operation: 72-14=58
Exploring Operation: 72-27=45, Resulting Numbers: [14, 45]
Generated Node #0,2,2: 65:[14, 45] Operation: 72-27=45
Exploring Operation: 27+14=41, Resulting Numbers: [72, 41]
Generated Node #0,2,3: 65:[72, 41] Operation: 27+14=41
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[72, 13], Operations: ['56/4=14', '27-14=13']
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,65 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,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,2,1
Current State: 65:[27, 58], Operations: ['56/4=14', '72-14=58']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,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,2,2
Current State: 65:[14, 45], Operations: ['56/4=14', '72-27=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,65 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,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,2,3
Current State: 65:[72, 41], Operations: ['56/4=14', '27+14=41']
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,65 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[4, 72, 29], Operations: ['56-27=29']
Exploring Operation: 29-4=25, Resulting Numbers: [72, 25]
Generated Node #0,1,0: 65:[72, 25] Operation: 29-4=25
Exploring Operation: 72-4=68, Resulting Numbers: [29, 68]
Generated Node #0,1,1: 65:[29, 68] Operation: 72-4=68
Exploring Operation: 72/4=18, Resulting Numbers: [29, 18]
Generated Node #0,1,2: 65:[29, 18] Operation: 72/4=18
Exploring Operation: 72-29=43, Resulting Numbers: [4, 43]
Generated Node #0,1,3: 65:[4, 43] Operation: 72-29=43
Moving to Node #0,0
Current State: 65:[72, 56, 23], Operations: ['27-4=23']
Exploring Operation: 56-23=33, Resulting Numbers: [72, 33]
Generated Node #0,0,0: 65:[72, 33] Operation: 56-23=33
Exploring Operation: 56+23=79, Resulting Numbers: [72, 79]
Generated Node #0,0,1: 65:[72, 79] Operation: 56+23=79
Exploring Operation: 72-23=49, Resulting Numbers: [56, 49]
Generated Node #0,0,2: 65:[56, 49] Operation: 72-23=49
Exploring Operation: 72-56=16, Resulting Numbers: [23, 16]
Generated Node #0,0,3: 65:[23, 16] Operation: 72-56=16
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[23, 16], Operations: ['27-4=23', '72-56=16']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,65 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[72, 79], Operations: ['27-4=23', '56+23=79']
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,65 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[56, 49], Operations: ['27-4=23', '72-23=49']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 56*49=2744, Resulting Numbers: [2744]
2744,65 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[72, 33], Operations: ['27-4=23', '56-23=33']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 65:[4, 11], Operations: ['72-56=16', '27-16=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[16, 23], Operations: ['72-56=16', '27-4=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,65 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[27, 64], Operations: ['72-56=16', '4*16=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,65 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[27, 12], Operations: ['72-56=16', '16-4=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[29, 68], Operations: ['56-27=29', '72-4=68']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,65 unequal: No Solution
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[72, 25], Operations: ['56-27=29', '29-4=25']
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,65 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,65 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[29, 18], Operations: ['56-27=29', '72/4=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[4, 43], Operations: ['56-27=29', '72-29=43']
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,65 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,65 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
18,
10,
78
] | 86 | [
"20-18=2",
"10+78=88",
"88-2=86"
] | Current State: 86:[20, 18, 10, 78], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [10, 78, 2]
Generated Node #2: [10, 78, 2] from Operation: 20-18=2
Current State: 86:[10, 78, 2], Operations: ['20-18=2']
Exploring Operation: 10+78=88, Resulting Numbers: [2, 88]
Generated Node #3: [2, 88] from Operation: 10+78=88
Current State: 86:[2, 88], Operations: ['20-18=2', '10+78=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[20, 18, 10, 78], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [10, 78, 2]
Generated Node #0,0: 86:[10, 78, 2] Operation: 20-18=2
Exploring Operation: 20+18=38, Resulting Numbers: [10, 78, 38]
Generated Node #0,1: 86:[10, 78, 38] Operation: 20+18=38
Moving to Node #0,0
Current State: 86:[10, 78, 2], Operations: ['20-18=2']
Exploring Operation: 10/2=5, Resulting Numbers: [78, 5]
Generated Node #0,0,0: 86:[78, 5] Operation: 10/2=5
Exploring Operation: 10+78=88, Resulting Numbers: [2, 88]
Generated Node #0,0,1: 86:[2, 88] Operation: 10+78=88
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[2, 88], Operations: ['20-18=2', '10+78=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[20, 18, 10, 78], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [10, 78, 2]
Generated Node #0,0: 86:[10, 78, 2] Operation: 20-18=2
Moving to Node #0,0
Current State: 86:[10, 78, 2], Operations: ['20-18=2']
Exploring Operation: 10+78=88, Resulting Numbers: [2, 88]
Generated Node #0,0,1: 86:[2, 88] Operation: 10+78=88
Moving to Node #0,0,1
Current State: 86:[2, 88], Operations: ['20-18=2', '10+78=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
82,
91,
8,
84
] | 12 | [
"91-82=9",
"8*9=72",
"84-72=12"
] | Current State: 12:[82, 91, 8, 84], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [8, 84, 9]
Generated Node #2: [8, 84, 9] from Operation: 91-82=9
Current State: 12:[8, 84, 9], Operations: ['91-82=9']
Exploring Operation: 8*9=72, Resulting Numbers: [84, 72]
Generated Node #3: [84, 72] from Operation: 8*9=72
Current State: 12:[84, 72], Operations: ['91-82=9', '8*9=72']
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[82, 91, 8, 84], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [91, 8, 2]
Generated Node #0,0: 12:[91, 8, 2] Operation: 84-82=2
Exploring Operation: 82-8=74, Resulting Numbers: [91, 84, 74]
Generated Node #0,1: 12:[91, 84, 74] Operation: 82-8=74
Exploring Operation: 91-84=7, Resulting Numbers: [82, 8, 7]
Generated Node #0,2: 12:[82, 8, 7] Operation: 91-84=7
Exploring Operation: 91-8=83, Resulting Numbers: [82, 84, 83]
Generated Node #0,3: 12:[82, 84, 83] Operation: 91-8=83
Exploring Operation: 91-82=9, Resulting Numbers: [8, 84, 9]
Generated Node #0,4: 12:[8, 84, 9] Operation: 91-82=9
Moving to Node #0,2
Current State: 12:[82, 8, 7], Operations: ['91-84=7']
Exploring Operation: 8+7=15, Resulting Numbers: [82, 15]
Generated Node #0,2,0: 12:[82, 15] Operation: 8+7=15
Exploring Operation: 82-8=74, Resulting Numbers: [7, 74]
Generated Node #0,2,1: 12:[7, 74] Operation: 82-8=74
Exploring Operation: 82-7=75, Resulting Numbers: [8, 75]
Generated Node #0,2,2: 12:[8, 75] Operation: 82-7=75
Exploring Operation: 82+8=90, Resulting Numbers: [7, 90]
Generated Node #0,2,3: 12:[7, 90] Operation: 82+8=90
Exploring Operation: 8-7=1, Resulting Numbers: [82, 1]
Generated Node #0,2,4: 12:[82, 1] Operation: 8-7=1
Moving to Node #0,4
Current State: 12:[8, 84, 9], Operations: ['91-82=9']
Exploring Operation: 84-8=76, Resulting Numbers: [9, 76]
Generated Node #0,4,0: 12:[9, 76] Operation: 84-8=76
Exploring Operation: 8+84=92, Resulting Numbers: [9, 92]
Generated Node #0,4,1: 12:[9, 92] Operation: 8+84=92
Exploring Operation: 9-8=1, Resulting Numbers: [84, 1]
Generated Node #0,4,2: 12:[84, 1] Operation: 9-8=1
Exploring Operation: 8+9=17, Resulting Numbers: [84, 17]
Generated Node #0,4,3: 12:[84, 17] Operation: 8+9=17
Exploring Operation: 84-9=75, Resulting Numbers: [8, 75]
Generated Node #0,4,4: 12:[8, 75] Operation: 84-9=75
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 12:[8, 75], Operations: ['91-82=9', '84-9=75']
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,12 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 12:[9, 76], Operations: ['91-82=9', '84-8=76']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 12:[84, 1], Operations: ['91-82=9', '9-8=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,12 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,12 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 12:[84, 17], Operations: ['91-82=9', '8+9=17']
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 12:[9, 92], Operations: ['91-82=9', '8+84=92']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 9*92=828, Resulting Numbers: [828]
828,12 unequal: No Solution
Exploring Operation: 9+92=101, Resulting Numbers: [101]
101,12 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: 12:[91, 8, 2], Operations: ['84-82=2']
Exploring Operation: 91-8=83, Resulting Numbers: [2, 83]
Generated Node #0,0,0: 12:[2, 83] Operation: 91-8=83
Exploring Operation: 91-2=89, Resulting Numbers: [8, 89]
Generated Node #0,0,1: 12:[8, 89] Operation: 91-2=89
Exploring Operation: 8-2=6, Resulting Numbers: [91, 6]
Generated Node #0,0,2: 12:[91, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [91, 10]
Generated Node #0,0,3: 12:[91, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [91, 4]
Generated Node #0,0,4: 12:[91, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[2, 83], Operations: ['84-82=2', '91-8=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,12 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[8, 89], Operations: ['84-82=2', '91-2=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,12 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[91, 6], Operations: ['84-82=2', '8-2=6']
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,12 unequal: No Solution
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[91, 4], Operations: ['84-82=2', '8/2=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,12 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,12 unequal: No Solution
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[91, 10], Operations: ['84-82=2', '8+2=10']
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,12 unequal: No Solution
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[91, 84, 74], Operations: ['82-8=74']
Exploring Operation: 91+84=175, Resulting Numbers: [74, 175]
Generated Node #0,1,0: 12:[74, 175] Operation: 91+84=175
Exploring Operation: 91-74=17, Resulting Numbers: [84, 17]
Generated Node #0,1,1: 12:[84, 17] Operation: 91-74=17
Exploring Operation: 84-74=10, Resulting Numbers: [91, 10]
Generated Node #0,1,2: 12:[91, 10] Operation: 84-74=10
Exploring Operation: 91+74=165, Resulting Numbers: [84, 165]
Generated Node #0,1,3: 12:[84, 165] Operation: 91+74=165
Exploring Operation: 91-84=7, Resulting Numbers: [74, 7]
Generated Node #0,1,4: 12:[74, 7] Operation: 91-84=7
Moving to Node #0,3
Current State: 12:[82, 84, 83], Operations: ['91-8=83']
Exploring Operation: 82+84=166, Resulting Numbers: [83, 166]
Generated Node #0,3,0: 12:[83, 166] Operation: 82+84=166
Exploring Operation: 84-82=2, Resulting Numbers: [83, 2]
Generated Node #0,3,1: 12:[83, 2] Operation: 84-82=2
Exploring Operation: 83-82=1, Resulting Numbers: [84, 1]
Generated Node #0,3,2: 12:[84, 1] Operation: 83-82=1
Exploring Operation: 84-83=1, Resulting Numbers: [82, 1]
Generated Node #0,3,3: 12:[82, 1] Operation: 84-83=1
Exploring Operation: 82+83=165, Resulting Numbers: [84, 165]
Generated Node #0,3,4: 12:[84, 165] Operation: 82+83=165
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[83, 2], Operations: ['91-8=83', '84-82=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[82, 1], Operations: ['91-8=83', '84-83=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[84, 1], Operations: ['91-8=83', '83-82=1']
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,12 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,12 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[83, 166], Operations: ['91-8=83', '82+84=166']
Exploring Operation: 83+166=249, Resulting Numbers: [249]
249,12 unequal: No Solution
Exploring Operation: 166-83=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 83*166=13778, Resulting Numbers: [13778]
13778,12 unequal: No Solution
Exploring Operation: 166/83=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 12:[84, 165], Operations: ['91-8=83', '82+83=165']
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 84+165=249, Resulting Numbers: [249]
249,12 unequal: No Solution
Exploring Operation: 84*165=13860, Resulting Numbers: [13860]
13860,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 12:[7, 74], Operations: ['91-84=7', '82-8=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,12 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[74, 7], Operations: ['82-8=74', '91-84=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 74*7=518, Resulting Numbers: [518]
518,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[8, 75], Operations: ['91-84=7', '82-7=75']
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[82, 1], Operations: ['91-84=7', '8-7=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[82, 15], Operations: ['91-84=7', '8+7=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,12 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[84, 17], Operations: ['82-8=74', '91-74=17']
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 84*17=1428, Resulting Numbers: [1428]
1428,12 unequal: No Solution
Exploring Operation: 84+17=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[7, 90], Operations: ['91-84=7', '82+8=90']
Exploring Operation: 7*90=630, Resulting Numbers: [630]
630,12 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 7+90=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[91, 10], Operations: ['82-8=74', '84-74=10']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,12 unequal: No Solution
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[74, 175], Operations: ['82-8=74', '91+84=175']
Exploring Operation: 175-74=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 74*175=12950, Resulting Numbers: [12950]
12950,12 unequal: No Solution
Exploring Operation: 74+175=249, Resulting Numbers: [249]
249,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[84, 165], Operations: ['82-8=74', '91+74=165']
Exploring Operation: 84*165=13860, Resulting Numbers: [13860]
13860,12 unequal: No Solution
Exploring Operation: 84+165=249, Resulting Numbers: [249]
249,12 unequal: No Solution
Exploring Operation: 165-84=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
19,
88,
36,
36
] | 68 | [
"88-19=69",
"36/36=1",
"69-1=68"
] | Current State: 68:[19, 88, 36, 36], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [36, 36, 69]
Generated Node #2: [36, 36, 69] from Operation: 88-19=69
Current State: 68:[36, 36, 69], Operations: ['88-19=69']
Exploring Operation: 36/36=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 36/36=1
Current State: 68:[69, 1], Operations: ['88-19=69', '36/36=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[19, 88, 36, 36], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [36, 36, 69]
Generated Node #0,0: 68:[36, 36, 69] Operation: 88-19=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[36, 36, 69], Operations: ['88-19=69']
Exploring Operation: 36/36=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 68:[69, 1] Operation: 36/36=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[69, 1], Operations: ['88-19=69', '36/36=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[19, 88, 36, 36], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [36, 36, 69]
Generated Node #0,0: 68:[36, 36, 69] Operation: 88-19=69
Moving to Node #0,0
Current State: 68:[36, 36, 69], Operations: ['88-19=69']
Exploring Operation: 36/36=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 68:[69, 1] Operation: 36/36=1
Moving to Node #0,0,0
Current State: 68:[69, 1], Operations: ['88-19=69', '36/36=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
9,
11,
21
] | 24 | [
"45+11=56",
"9*56=504",
"504/21=24"
] | Current State: 24:[45, 9, 11, 21], Operations: []
Exploring Operation: 45+11=56, Resulting Numbers: [9, 21, 56]
Generated Node #2: [9, 21, 56] from Operation: 45+11=56
Current State: 24:[9, 21, 56], Operations: ['45+11=56']
Exploring Operation: 9*56=504, Resulting Numbers: [21, 504]
Generated Node #3: [21, 504] from Operation: 9*56=504
Current State: 24:[21, 504], Operations: ['45+11=56', '9*56=504']
Exploring Operation: 504/21=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[45, 9, 11, 21], Operations: []
Exploring Operation: 45-21=24, Resulting Numbers: [9, 11, 24]
Generated Node #0,0: 24:[9, 11, 24] Operation: 45-21=24
Exploring Operation: 45/9=5, Resulting Numbers: [11, 21, 5]
Generated Node #0,1: 24:[11, 21, 5] Operation: 45/9=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[9, 11, 24], Operations: ['45-21=24']
Exploring Operation: 11-9=2, Resulting Numbers: [24, 2]
Generated Node #0,0,0: 24:[24, 2] Operation: 11-9=2
Exploring Operation: 24-11=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 24:[9, 13] Operation: 24-11=13
Moving to Node #0,0,0
Current State: 24:[24, 2], Operations: ['45-21=24', '11-9=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,24 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[9, 13], Operations: ['45-21=24', '24-11=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[11, 21, 5], Operations: ['45/9=5']
Exploring Operation: 21-11=10, Resulting Numbers: [5, 10]
Generated Node #0,1,0: 24:[5, 10] Operation: 21-11=10
Exploring Operation: 11-5=6, Resulting Numbers: [21, 6]
Generated Node #0,1,1: 24:[21, 6] Operation: 11-5=6
Moving to Node #0,1,0
Current State: 24:[5, 10], Operations: ['45/9=5', '21-11=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[21, 6], Operations: ['45/9=5', '11-5=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,24 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 |
[
14,
65,
90,
50
] | 28 | [
"14*50=700",
"90-65=25",
"700/25=28"
] | Current State: 28:[14, 65, 90, 50], Operations: []
Exploring Operation: 14*50=700, Resulting Numbers: [65, 90, 700]
Generated Node #2: [65, 90, 700] from Operation: 14*50=700
Current State: 28:[65, 90, 700], Operations: ['14*50=700']
Exploring Operation: 90-65=25, Resulting Numbers: [700, 25]
Generated Node #3: [700, 25] from Operation: 90-65=25
Current State: 28:[700, 25], Operations: ['14*50=700', '90-65=25']
Exploring Operation: 700/25=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[14, 65, 90, 50], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [14, 90, 15]
Generated Node #0,0: 28:[14, 90, 15] Operation: 65-50=15
Exploring Operation: 90-65=25, Resulting Numbers: [14, 50, 25]
Generated Node #0,1: 28:[14, 50, 25] Operation: 90-65=25
Exploring Operation: 90-50=40, Resulting Numbers: [14, 65, 40]
Generated Node #0,2: 28:[14, 65, 40] Operation: 90-50=40
Moving to Node #0,1
Current State: 28:[14, 50, 25], Operations: ['90-65=25']
Exploring Operation: 50/25=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 28:[14, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [14, 25]
Generated Node #0,1,1: 28:[14, 25] Operation: 50-25=25
Exploring Operation: 50-14=36, Resulting Numbers: [25, 36]
Generated Node #0,1,2: 28:[25, 36] Operation: 50-14=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[14, 2], Operations: ['90-65=25', '50/25=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[14, 65, 90, 50], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [14, 50, 25]
Generated Node #0,1: 28:[14, 50, 25] Operation: 90-65=25
Moving to Node #0,1
Current State: 28:[14, 50, 25], Operations: ['90-65=25']
Exploring Operation: 50/25=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 28:[14, 2] Operation: 50/25=2
Moving to Node #0,1,0
Current State: 28:[14, 2], Operations: ['90-65=25', '50/25=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
42,
74,
10,
13
] | 60 | [
"13-10=3",
"42/3=14",
"74-14=60"
] | Current State: 60:[42, 74, 10, 13], Operations: []
Exploring Operation: 13-10=3, Resulting Numbers: [42, 74, 3]
Generated Node #2: [42, 74, 3] from Operation: 13-10=3
Current State: 60:[42, 74, 3], Operations: ['13-10=3']
Exploring Operation: 42/3=14, Resulting Numbers: [74, 14]
Generated Node #3: [74, 14] from Operation: 42/3=14
Current State: 60:[74, 14], Operations: ['13-10=3', '42/3=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[42, 74, 10, 13], Operations: []
Exploring Operation: 42-10=32, Resulting Numbers: [74, 13, 32]
Generated Node #0,0: 60:[74, 13, 32] Operation: 42-10=32
Exploring Operation: 74-13=61, Resulting Numbers: [42, 10, 61]
Generated Node #0,1: 60:[42, 10, 61] Operation: 74-13=61
Exploring Operation: 74-10=64, Resulting Numbers: [42, 13, 64]
Generated Node #0,2: 60:[42, 13, 64] Operation: 74-10=64
Exploring Operation: 74-42=32, Resulting Numbers: [10, 13, 32]
Generated Node #0,3: 60:[10, 13, 32] Operation: 74-42=32
Exploring Operation: 42-13=29, Resulting Numbers: [74, 10, 29]
Generated Node #0,4: 60:[74, 10, 29] Operation: 42-13=29
Moving to Node #0,3
Current State: 60:[10, 13, 32], Operations: ['74-42=32']
Exploring Operation: 10+13=23, Resulting Numbers: [32, 23]
Generated Node #0,3,0: 60:[32, 23] Operation: 10+13=23
Exploring Operation: 32-13=19, Resulting Numbers: [10, 19]
Generated Node #0,3,1: 60:[10, 19] Operation: 32-13=19
Exploring Operation: 13-10=3, Resulting Numbers: [32, 3]
Generated Node #0,3,2: 60:[32, 3] Operation: 13-10=3
Exploring Operation: 10+32=42, Resulting Numbers: [13, 42]
Generated Node #0,3,3: 60:[13, 42] Operation: 10+32=42
Exploring Operation: 32-10=22, Resulting Numbers: [13, 22]
Generated Node #0,3,4: 60:[13, 22] Operation: 32-10=22
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 60:[10, 19], Operations: ['74-42=32', '32-13=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,60 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[32, 3], Operations: ['74-42=32', '13-10=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 60:[13, 22], Operations: ['74-42=32', '32-10=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,60 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[32, 23], Operations: ['74-42=32', '10+13=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,60 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 60:[13, 42], Operations: ['74-42=32', '10+32=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,60 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,60 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: 60:[42, 10, 61], Operations: ['74-13=61']
Exploring Operation: 42-10=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 60:[61, 32] Operation: 42-10=32
Exploring Operation: 42+10=52, Resulting Numbers: [61, 52]
Generated Node #0,1,1: 60:[61, 52] Operation: 42+10=52
Exploring Operation: 10+61=71, Resulting Numbers: [42, 71]
Generated Node #0,1,2: 60:[42, 71] Operation: 10+61=71
Exploring Operation: 61-10=51, Resulting Numbers: [42, 51]
Generated Node #0,1,3: 60:[42, 51] Operation: 61-10=51
Exploring Operation: 61-42=19, Resulting Numbers: [10, 19]
Generated Node #0,1,4: 60:[10, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[10, 19], Operations: ['74-13=61', '61-42=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[61, 32], Operations: ['74-13=61', '42-10=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,60 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[61, 52], Operations: ['74-13=61', '42+10=52']
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[42, 51], Operations: ['74-13=61', '61-10=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[42, 71], Operations: ['74-13=61', '10+61=71']
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,60 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,60 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: 60:[74, 10, 29], Operations: ['42-13=29']
Exploring Operation: 74-29=45, Resulting Numbers: [10, 45]
Generated Node #0,4,0: 60:[10, 45] Operation: 74-29=45
Exploring Operation: 29-10=19, Resulting Numbers: [74, 19]
Generated Node #0,4,1: 60:[74, 19] Operation: 29-10=19
Exploring Operation: 74+10=84, Resulting Numbers: [29, 84]
Generated Node #0,4,2: 60:[29, 84] Operation: 74+10=84
Exploring Operation: 74-10=64, Resulting Numbers: [29, 64]
Generated Node #0,4,3: 60:[29, 64] Operation: 74-10=64
Exploring Operation: 10+29=39, Resulting Numbers: [74, 39]
Generated Node #0,4,4: 60:[74, 39] Operation: 10+29=39
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 60:[29, 64], Operations: ['42-13=29', '74-10=64']
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,60 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 60:[10, 45], Operations: ['42-13=29', '74-29=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,60 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 60:[74, 19], Operations: ['42-13=29', '29-10=19']
Exploring Operation: 74+19=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 74*19=1406, Resulting Numbers: [1406]
1406,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 60:[74, 39], Operations: ['42-13=29', '10+29=39']
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,60 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,60 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 60:[29, 84], Operations: ['42-13=29', '74+10=84']
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,60 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 60:[74, 13, 32], Operations: ['42-10=32']
Exploring Operation: 13+32=45, Resulting Numbers: [74, 45]
Generated Node #0,0,0: 60:[74, 45] Operation: 13+32=45
Exploring Operation: 74+13=87, Resulting Numbers: [32, 87]
Generated Node #0,0,1: 60:[32, 87] Operation: 74+13=87
Exploring Operation: 32-13=19, Resulting Numbers: [74, 19]
Generated Node #0,0,2: 60:[74, 19] Operation: 32-13=19
Exploring Operation: 74-13=61, Resulting Numbers: [32, 61]
Generated Node #0,0,3: 60:[32, 61] Operation: 74-13=61
Exploring Operation: 74-32=42, Resulting Numbers: [13, 42]
Generated Node #0,0,4: 60:[13, 42] Operation: 74-32=42
Moving to Node #0,2
Current State: 60:[42, 13, 64], Operations: ['74-10=64']
Exploring Operation: 64-42=22, Resulting Numbers: [13, 22]
Generated Node #0,2,0: 60:[13, 22] Operation: 64-42=22
Exploring Operation: 42+13=55, Resulting Numbers: [64, 55]
Generated Node #0,2,1: 60:[64, 55] Operation: 42+13=55
Exploring Operation: 64-13=51, Resulting Numbers: [42, 51]
Generated Node #0,2,2: 60:[42, 51] Operation: 64-13=51
Exploring Operation: 42-13=29, Resulting Numbers: [64, 29]
Generated Node #0,2,3: 60:[64, 29] Operation: 42-13=29
Exploring Operation: 13+64=77, Resulting Numbers: [42, 77]
Generated Node #0,2,4: 60:[42, 77] Operation: 13+64=77
Moving to Node #0,0,3
Current State: 60:[32, 61], Operations: ['42-10=32', '74-13=61']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,60 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[13, 22], Operations: ['74-10=64', '64-42=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,60 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[64, 29], Operations: ['74-10=64', '42-13=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,60 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[64, 55], Operations: ['74-10=64', '42+13=55']
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,60 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[13, 42], Operations: ['42-10=32', '74-32=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[74, 19], Operations: ['42-10=32', '32-13=19']
Exploring Operation: 74+19=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 74*19=1406, Resulting Numbers: [1406]
1406,60 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[42, 51], Operations: ['74-10=64', '64-13=51']
Exploring Operation: 42+51=93, Resulting Numbers: [93]
93,60 unequal: No Solution
Exploring Operation: 42*51=2142, Resulting Numbers: [2142]
2142,60 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[42, 77], Operations: ['74-10=64', '13+64=77']
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,60 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,60 unequal: No Solution
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[32, 87], Operations: ['42-10=32', '74+13=87']
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,60 unequal: No Solution
Exploring Operation: 32*87=2784, Resulting Numbers: [2784]
2784,60 unequal: No Solution
Exploring Operation: 32+87=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[74, 45], Operations: ['42-10=32', '13+32=45']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 74*45=3330, Resulting Numbers: [3330]
3330,60 unequal: No Solution
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,60 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
29,
73,
49,
47
] | 88 | [
"73-29=44",
"49-47=2",
"44*2=88"
] | Current State: 88:[29, 73, 49, 47], Operations: []
Exploring Operation: 73-29=44, Resulting Numbers: [49, 47, 44]
Generated Node #2: [49, 47, 44] from Operation: 73-29=44
Current State: 88:[49, 47, 44], Operations: ['73-29=44']
Exploring Operation: 49-47=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 49-47=2
Current State: 88:[44, 2], Operations: ['73-29=44', '49-47=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[29, 73, 49, 47], Operations: []
Exploring Operation: 73-29=44, Resulting Numbers: [49, 47, 44]
Generated Node #0,0: 88:[49, 47, 44] Operation: 73-29=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[49, 47, 44], Operations: ['73-29=44']
Exploring Operation: 49-47=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 88:[44, 2] Operation: 49-47=2
Moving to Node #0,0,0
Current State: 88:[44, 2], Operations: ['73-29=44', '49-47=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[29, 73, 49, 47], Operations: []
Exploring Operation: 73-29=44, Resulting Numbers: [49, 47, 44]
Generated Node #0,0: 88:[49, 47, 44] Operation: 73-29=44
Moving to Node #0,0
Current State: 88:[49, 47, 44], Operations: ['73-29=44']
Exploring Operation: 49-47=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 88:[44, 2] Operation: 49-47=2
Moving to Node #0,0,0
Current State: 88:[44, 2], Operations: ['73-29=44', '49-47=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
28,
52,
54
] | 10 | [
"28-8=20",
"54-52=2",
"20/2=10"
] | Current State: 10:[8, 28, 52, 54], Operations: []
Exploring Operation: 28-8=20, Resulting Numbers: [52, 54, 20]
Generated Node #2: [52, 54, 20] from Operation: 28-8=20
Current State: 10:[52, 54, 20], Operations: ['28-8=20']
Exploring Operation: 54-52=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 54-52=2
Current State: 10:[20, 2], Operations: ['28-8=20', '54-52=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[8, 28, 52, 54], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [8, 28, 2]
Generated Node #0,0: 10:[8, 28, 2] Operation: 54-52=2
Exploring Operation: 52-28=24, Resulting Numbers: [8, 54, 24]
Generated Node #0,1: 10:[8, 54, 24] Operation: 52-28=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[8, 28, 2], Operations: ['54-52=2']
Exploring Operation: 28-8=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 10:[2, 20] Operation: 28-8=20
Exploring Operation: 28/2=14, Resulting Numbers: [8, 14]
Generated Node #0,0,1: 10:[8, 14] Operation: 28/2=14
Moving to Node #0,0,1
Current State: 10:[8, 14], Operations: ['54-52=2', '28/2=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[2, 20], Operations: ['54-52=2', '28-8=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[8, 28, 52, 54], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [8, 28, 2]
Generated Node #0,0: 10:[8, 28, 2] Operation: 54-52=2
Moving to Node #0,0
Current State: 10:[8, 28, 2], Operations: ['54-52=2']
Exploring Operation: 28-8=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 10:[2, 20] Operation: 28-8=20
Moving to Node #0,0,0
Current State: 10:[2, 20], Operations: ['54-52=2', '28-8=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
34,
68,
52,
81
] | 23 | [
"68/34=2",
"52*2=104",
"104-81=23"
] | Current State: 23:[34, 68, 52, 81], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [52, 81, 2]
Generated Node #2: [52, 81, 2] from Operation: 68/34=2
Current State: 23:[52, 81, 2], Operations: ['68/34=2']
Exploring Operation: 52*2=104, Resulting Numbers: [81, 104]
Generated Node #3: [81, 104] from Operation: 52*2=104
Current State: 23:[81, 104], Operations: ['68/34=2', '52*2=104']
Exploring Operation: 104-81=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[34, 68, 52, 81], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [34, 52, 13]
Generated Node #0,0: 23:[34, 52, 13] Operation: 81-68=13
Exploring Operation: 81-34=47, Resulting Numbers: [68, 52, 47]
Generated Node #0,1: 23:[68, 52, 47] Operation: 81-34=47
Exploring Operation: 81-52=29, Resulting Numbers: [34, 68, 29]
Generated Node #0,2: 23:[34, 68, 29] Operation: 81-52=29
Exploring Operation: 68-52=16, Resulting Numbers: [34, 81, 16]
Generated Node #0,3: 23:[34, 81, 16] Operation: 68-52=16
Exploring Operation: 68-34=34, Resulting Numbers: [52, 81, 34]
Generated Node #0,4: 23:[52, 81, 34] Operation: 68-34=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[34, 52, 13], Operations: ['81-68=13']
Exploring Operation: 52-13=39, Resulting Numbers: [34, 39]
Generated Node #0,0,0: 23:[34, 39] Operation: 52-13=39
Exploring Operation: 52-34=18, Resulting Numbers: [13, 18]
Generated Node #0,0,1: 23:[13, 18] Operation: 52-34=18
Exploring Operation: 52/13=4, Resulting Numbers: [34, 4]
Generated Node #0,0,2: 23:[34, 4] Operation: 52/13=4
Exploring Operation: 34+13=47, Resulting Numbers: [52, 47]
Generated Node #0,0,3: 23:[52, 47] Operation: 34+13=47
Exploring Operation: 34-13=21, Resulting Numbers: [52, 21]
Generated Node #0,0,4: 23:[52, 21] Operation: 34-13=21
Moving to Node #0,0,1
Current State: 23:[13, 18], Operations: ['81-68=13', '52-34=18']
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,23 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[34, 39], Operations: ['81-68=13', '52-13=39']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,23 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[34, 4], Operations: ['81-68=13', '52/13=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,23 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[52, 21], Operations: ['81-68=13', '34-13=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[52, 47], Operations: ['81-68=13', '34+13=47']
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,23 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[34, 68, 29], Operations: ['81-52=29']
Exploring Operation: 34+68=102, Resulting Numbers: [29, 102]
Generated Node #0,2,0: 23:[29, 102] Operation: 34+68=102
Exploring Operation: 68-34=34, Resulting Numbers: [29, 34]
Generated Node #0,2,1: 23:[29, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [29, 2]
Generated Node #0,2,2: 23:[29, 2] Operation: 68/34=2
Exploring Operation: 34-29=5, Resulting Numbers: [68, 5]
Generated Node #0,2,3: 23:[68, 5] Operation: 34-29=5
Exploring Operation: 68-29=39, Resulting Numbers: [34, 39]
Generated Node #0,2,4: 23:[34, 39] Operation: 68-29=39
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[29, 34], Operations: ['81-52=29', '68-34=34']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 29*34=986, Resulting Numbers: [986]
986,23 unequal: No Solution
Exploring Operation: 29+34=63, Resulting Numbers: [63]
63,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[29, 2], Operations: ['81-52=29', '68/34=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 23:[34, 39], Operations: ['81-52=29', '68-29=39']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[68, 5], Operations: ['81-52=29', '34-29=5']
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,23 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[29, 102], Operations: ['81-52=29', '34+68=102']
Exploring Operation: 29+102=131, Resulting Numbers: [131]
131,23 unequal: No Solution
Exploring Operation: 29*102=2958, Resulting Numbers: [2958]
2958,23 unequal: No Solution
Exploring Operation: 102-29=73, Resulting Numbers: [73]
73,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[34, 81, 16], Operations: ['68-52=16']
Exploring Operation: 81+16=97, Resulting Numbers: [34, 97]
Generated Node #0,3,0: 23:[34, 97] Operation: 81+16=97
Exploring Operation: 81-16=65, Resulting Numbers: [34, 65]
Generated Node #0,3,1: 23:[34, 65] Operation: 81-16=65
Exploring Operation: 34-16=18, Resulting Numbers: [81, 18]
Generated Node #0,3,2: 23:[81, 18] Operation: 34-16=18
Exploring Operation: 81-34=47, Resulting Numbers: [16, 47]
Generated Node #0,3,3: 23:[16, 47] Operation: 81-34=47
Exploring Operation: 34+16=50, Resulting Numbers: [81, 50]
Generated Node #0,3,4: 23:[81, 50] Operation: 34+16=50
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[16, 47], Operations: ['68-52=16', '81-34=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,23 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 23:[34, 65], Operations: ['68-52=16', '81-16=65']
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 23:[81, 18], Operations: ['68-52=16', '34-16=18']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,23 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 23:[34, 97], Operations: ['68-52=16', '81+16=97']
Exploring Operation: 34+97=131, Resulting Numbers: [131]
131,23 unequal: No Solution
Exploring Operation: 34*97=3298, Resulting Numbers: [3298]
3298,23 unequal: No Solution
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 23:[81, 50], Operations: ['68-52=16', '34+16=50']
Exploring Operation: 81+50=131, Resulting Numbers: [131]
131,23 unequal: No Solution
Exploring Operation: 81*50=4050, Resulting Numbers: [4050]
4050,23 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[68, 52, 47], Operations: ['81-34=47']
Exploring Operation: 68+47=115, Resulting Numbers: [52, 115]
Generated Node #0,1,0: 23:[52, 115] Operation: 68+47=115
Exploring Operation: 68+52=120, Resulting Numbers: [47, 120]
Generated Node #0,1,1: 23:[47, 120] Operation: 68+52=120
Exploring Operation: 52-47=5, Resulting Numbers: [68, 5]
Generated Node #0,1,2: 23:[68, 5] Operation: 52-47=5
Exploring Operation: 68-47=21, Resulting Numbers: [52, 21]
Generated Node #0,1,3: 23:[52, 21] Operation: 68-47=21
Exploring Operation: 68-52=16, Resulting Numbers: [47, 16]
Generated Node #0,1,4: 23:[47, 16] Operation: 68-52=16
Moving to Node #0,1,3
Current State: 23:[52, 21], Operations: ['81-34=47', '68-47=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[47, 16], Operations: ['81-34=47', '68-52=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[68, 5], Operations: ['81-34=47', '52-47=5']
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,23 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[52, 115], Operations: ['81-34=47', '68+47=115']
Exploring Operation: 115-52=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 52+115=167, Resulting Numbers: [167]
167,23 unequal: No Solution
Exploring Operation: 52*115=5980, Resulting Numbers: [5980]
5980,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[47, 120], Operations: ['81-34=47', '68+52=120']
Exploring Operation: 47+120=167, Resulting Numbers: [167]
167,23 unequal: No Solution
Exploring Operation: 120-47=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Exploring Operation: 47*120=5640, Resulting Numbers: [5640]
5640,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[52, 81, 34], Operations: ['68-34=34']
Exploring Operation: 52+81=133, Resulting Numbers: [34, 133]
Generated Node #0,4,0: 23:[34, 133] Operation: 52+81=133
Exploring Operation: 81-52=29, Resulting Numbers: [34, 29]
Generated Node #0,4,1: 23:[34, 29] Operation: 81-52=29
Exploring Operation: 52+34=86, Resulting Numbers: [81, 86]
Generated Node #0,4,2: 23:[81, 86] Operation: 52+34=86
Exploring Operation: 52-34=18, Resulting Numbers: [81, 18]
Generated Node #0,4,3: 23:[81, 18] Operation: 52-34=18
Exploring Operation: 81-34=47, Resulting Numbers: [52, 47]
Generated Node #0,4,4: 23:[52, 47] Operation: 81-34=47
Moving to Node #0,4,1
Current State: 23:[34, 29], Operations: ['68-34=34', '81-52=29']
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,23 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[52, 47], Operations: ['68-34=34', '81-34=47']
Exploring Operation: 52+47=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 52*47=2444, Resulting Numbers: [2444]
2444,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[81, 18], Operations: ['68-34=34', '52-34=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,23 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[34, 133], Operations: ['68-34=34', '52+81=133']
Exploring Operation: 34*133=4522, Resulting Numbers: [4522]
4522,23 unequal: No Solution
Exploring Operation: 133-34=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 34+133=167, Resulting Numbers: [167]
167,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[81, 86], Operations: ['68-34=34', '52+34=86']
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,23 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
99,
27,
1
] | 18 | [
"7*1=7",
"99+27=126",
"126/7=18"
] | Current State: 18:[7, 99, 27, 1], Operations: []
Exploring Operation: 7*1=7, Resulting Numbers: [99, 27, 7]
Generated Node #2: [99, 27, 7] from Operation: 7*1=7
Current State: 18:[99, 27, 7], Operations: ['7*1=7']
Exploring Operation: 99+27=126, Resulting Numbers: [7, 126]
Generated Node #3: [7, 126] from Operation: 99+27=126
Current State: 18:[7, 126], Operations: ['7*1=7', '99+27=126']
Exploring Operation: 126/7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[7, 99, 27, 1], Operations: []
Exploring Operation: 99-7=92, Resulting Numbers: [27, 1, 92]
Generated Node #0,0: 18:[27, 1, 92] Operation: 99-7=92
Exploring Operation: 27-7=20, Resulting Numbers: [99, 1, 20]
Generated Node #0,1: 18:[99, 1, 20] Operation: 27-7=20
Exploring Operation: 99-27=72, Resulting Numbers: [7, 1, 72]
Generated Node #0,2: 18:[7, 1, 72] Operation: 99-27=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[7, 1, 72], Operations: ['99-27=72']
Exploring Operation: 72-7=65, Resulting Numbers: [1, 65]
Generated Node #0,2,0: 18:[1, 65] Operation: 72-7=65
Exploring Operation: 72-1=71, Resulting Numbers: [7, 71]
Generated Node #0,2,1: 18:[7, 71] Operation: 72-1=71
Exploring Operation: 7-1=6, Resulting Numbers: [72, 6]
Generated Node #0,2,2: 18:[72, 6] Operation: 7-1=6
Moving to Node #0,2,0
Current State: 18:[1, 65], Operations: ['99-27=72', '72-7=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[7, 71], Operations: ['99-27=72', '72-1=71']
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[72, 6], Operations: ['99-27=72', '7-1=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[27, 1, 92], Operations: ['99-7=92']
Exploring Operation: 27-1=26, Resulting Numbers: [92, 26]
Generated Node #0,0,0: 18:[92, 26] Operation: 27-1=26
Exploring Operation: 92-1=91, Resulting Numbers: [27, 91]
Generated Node #0,0,1: 18:[27, 91] Operation: 92-1=91
Exploring Operation: 92-27=65, Resulting Numbers: [1, 65]
Generated Node #0,0,2: 18:[1, 65] Operation: 92-27=65
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[1, 65], Operations: ['99-7=92', '92-27=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[92, 26], Operations: ['99-7=92', '27-1=26']
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,18 unequal: No Solution
Exploring Operation: 92*26=2392, Resulting Numbers: [2392]
2392,18 unequal: No Solution
Exploring Operation: 92+26=118, Resulting Numbers: [118]
118,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[27, 91], Operations: ['99-7=92', '92-1=91']
Exploring Operation: 27+91=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 27*91=2457, Resulting Numbers: [2457]
2457,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[99, 1, 20], Operations: ['27-7=20']
Exploring Operation: 20-1=19, Resulting Numbers: [99, 19]
Generated Node #0,1,0: 18:[99, 19] Operation: 20-1=19
Exploring Operation: 99-1=98, Resulting Numbers: [20, 98]
Generated Node #0,1,1: 18:[20, 98] Operation: 99-1=98
Exploring Operation: 99-20=79, Resulting Numbers: [1, 79]
Generated Node #0,1,2: 18:[1, 79] Operation: 99-20=79
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[1, 79], Operations: ['27-7=20', '99-20=79']
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,18 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[99, 19], Operations: ['27-7=20', '20-1=19']
Exploring Operation: 99-19=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 99+19=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 99*19=1881, Resulting Numbers: [1881]
1881,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[20, 98], Operations: ['27-7=20', '99-1=98']
Exploring Operation: 20*98=1960, Resulting Numbers: [1960]
1960,18 unequal: No Solution
Exploring Operation: 20+98=118, Resulting Numbers: [118]
118,18 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
93,
83,
87
] | 90 | [
"87-78=9",
"93-83=10",
"9*10=90"
] | Current State: 90:[78, 93, 83, 87], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [93, 83, 9]
Generated Node #2: [93, 83, 9] from Operation: 87-78=9
Current State: 90:[93, 83, 9], Operations: ['87-78=9']
Exploring Operation: 93-83=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 93-83=10
Current State: 90:[9, 10], Operations: ['87-78=9', '93-83=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[78, 93, 83, 87], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [93, 87, 5]
Generated Node #0,0: 90:[93, 87, 5] Operation: 83-78=5
Moving to Node #0,0
Current State: 90:[93, 87, 5], Operations: ['83-78=5']
Exploring Operation: 93-87=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 90:[5, 6] Operation: 93-87=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[5, 6], Operations: ['83-78=5', '93-87=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,90 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 |
[
83,
81,
30,
71
] | 43 | [
"83-81=2",
"71-30=41",
"2+41=43"
] | Current State: 43:[83, 81, 30, 71], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [30, 71, 2]
Generated Node #2: [30, 71, 2] from Operation: 83-81=2
Current State: 43:[30, 71, 2], Operations: ['83-81=2']
Exploring Operation: 71-30=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 71-30=41
Current State: 43:[2, 41], Operations: ['83-81=2', '71-30=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[83, 81, 30, 71], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [81, 30, 12]
Generated Node #0,0: 43:[81, 30, 12] Operation: 83-71=12
Exploring Operation: 83-30=53, Resulting Numbers: [81, 71, 53]
Generated Node #0,1: 43:[81, 71, 53] Operation: 83-30=53
Exploring Operation: 81-30=51, Resulting Numbers: [83, 71, 51]
Generated Node #0,2: 43:[83, 71, 51] Operation: 81-30=51
Exploring Operation: 83-81=2, Resulting Numbers: [30, 71, 2]
Generated Node #0,3: 43:[30, 71, 2] Operation: 83-81=2
Exploring Operation: 71-30=41, Resulting Numbers: [83, 81, 41]
Generated Node #0,4: 43:[83, 81, 41] Operation: 71-30=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[81, 71, 53], Operations: ['83-30=53']
Exploring Operation: 81-71=10, Resulting Numbers: [53, 10]
Generated Node #0,1,0: 43:[53, 10] Operation: 81-71=10
Exploring Operation: 81-53=28, Resulting Numbers: [71, 28]
Generated Node #0,1,1: 43:[71, 28] Operation: 81-53=28
Exploring Operation: 81+53=134, Resulting Numbers: [71, 134]
Generated Node #0,1,2: 43:[71, 134] Operation: 81+53=134
Exploring Operation: 81+71=152, Resulting Numbers: [53, 152]
Generated Node #0,1,3: 43:[53, 152] Operation: 81+71=152
Exploring Operation: 71-53=18, Resulting Numbers: [81, 18]
Generated Node #0,1,4: 43:[81, 18] Operation: 71-53=18
Moving to Node #0,1,0
Current State: 43:[53, 10], Operations: ['83-30=53', '81-71=10']
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,43 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[83, 81, 30, 71], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [81, 71, 53]
Generated Node #0,1: 43:[81, 71, 53] Operation: 83-30=53
Moving to Node #0,1
Current State: 43:[81, 71, 53], Operations: ['83-30=53']
Exploring Operation: 81-71=10, Resulting Numbers: [53, 10]
Generated Node #0,1,0: 43:[53, 10] Operation: 81-71=10
Moving to Node #0,1,0
Current State: 43:[53, 10], Operations: ['83-30=53', '81-71=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
18,
5,
27,
75
] | 71 | [
"18+5=23",
"75-27=48",
"23+48=71"
] | Current State: 71:[18, 5, 27, 75], Operations: []
Exploring Operation: 18+5=23, Resulting Numbers: [27, 75, 23]
Generated Node #2: [27, 75, 23] from Operation: 18+5=23
Current State: 71:[27, 75, 23], Operations: ['18+5=23']
Exploring Operation: 75-27=48, Resulting Numbers: [23, 48]
Generated Node #3: [23, 48] from Operation: 75-27=48
Current State: 71:[23, 48], Operations: ['18+5=23', '75-27=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[18, 5, 27, 75], Operations: []
Exploring Operation: 18+27=45, Resulting Numbers: [5, 75, 45]
Generated Node #0,0: 71:[5, 75, 45] Operation: 18+27=45
Exploring Operation: 5+27=32, Resulting Numbers: [18, 75, 32]
Generated Node #0,1: 71:[18, 75, 32] Operation: 5+27=32
Exploring Operation: 18+5=23, Resulting Numbers: [27, 75, 23]
Generated Node #0,2: 71:[27, 75, 23] Operation: 18+5=23
Exploring Operation: 18*5=90, Resulting Numbers: [27, 75, 90]
Generated Node #0,3: 71:[27, 75, 90] Operation: 18*5=90
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[27, 75, 90], Operations: ['18*5=90']
Exploring Operation: 27+90=117, Resulting Numbers: [75, 117]
Generated Node #0,3,0: 71:[75, 117] Operation: 27+90=117
Exploring Operation: 75-27=48, Resulting Numbers: [90, 48]
Generated Node #0,3,1: 71:[90, 48] Operation: 75-27=48
Exploring Operation: 90-27=63, Resulting Numbers: [75, 63]
Generated Node #0,3,2: 71:[75, 63] Operation: 90-27=63
Exploring Operation: 27+75=102, Resulting Numbers: [90, 102]
Generated Node #0,3,3: 71:[90, 102] Operation: 27+75=102
Moving to Node #0,3,2
Current State: 71:[75, 63], Operations: ['18*5=90', '90-27=63']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 75*63=4725, Resulting Numbers: [4725]
4725,71 unequal: No Solution
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[90, 48], Operations: ['18*5=90', '75-27=48']
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,71 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[90, 102], Operations: ['18*5=90', '27+75=102']
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,71 unequal: No Solution
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[75, 117], Operations: ['18*5=90', '27+90=117']
Exploring Operation: 75+117=192, Resulting Numbers: [192]
192,71 unequal: No Solution
Exploring Operation: 75*117=8775, Resulting Numbers: [8775]
8775,71 unequal: No Solution
Exploring Operation: 117-75=42, Resulting Numbers: [42]
42,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[5, 75, 45], Operations: ['18+27=45']
Exploring Operation: 75-5=70, Resulting Numbers: [45, 70]
Generated Node #0,0,0: 71:[45, 70] Operation: 75-5=70
Exploring Operation: 45-5=40, Resulting Numbers: [75, 40]
Generated Node #0,0,1: 71:[75, 40] Operation: 45-5=40
Exploring Operation: 5+75=80, Resulting Numbers: [45, 80]
Generated Node #0,0,2: 71:[45, 80] Operation: 5+75=80
Exploring Operation: 5+45=50, Resulting Numbers: [75, 50]
Generated Node #0,0,3: 71:[75, 50] Operation: 5+45=50
Moving to Node #0,0,3
Current State: 71:[75, 50], Operations: ['18+27=45', '5+45=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[45, 70], Operations: ['18+27=45', '75-5=70']
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 45+70=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 45*70=3150, Resulting Numbers: [3150]
3150,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[45, 80], Operations: ['18+27=45', '5+75=80']
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,71 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[75, 40], Operations: ['18+27=45', '45-5=40']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,71 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[18, 75, 32], Operations: ['5+27=32']
Exploring Operation: 32-18=14, Resulting Numbers: [75, 14]
Generated Node #0,1,0: 71:[75, 14] Operation: 32-18=14
Exploring Operation: 18+32=50, Resulting Numbers: [75, 50]
Generated Node #0,1,1: 71:[75, 50] Operation: 18+32=50
Exploring Operation: 18+75=93, Resulting Numbers: [32, 93]
Generated Node #0,1,2: 71:[32, 93] Operation: 18+75=93
Exploring Operation: 75-18=57, Resulting Numbers: [32, 57]
Generated Node #0,1,3: 71:[32, 57] Operation: 75-18=57
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[75, 50], Operations: ['5+27=32', '18+32=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,71 unequal: No Solution
No 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: 71:[32, 57], Operations: ['5+27=32', '75-18=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,71 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No 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: 71:[75, 14], Operations: ['5+27=32', '32-18=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,71 unequal: No Solution
No 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: 71:[32, 93], Operations: ['5+27=32', '18+75=93']
Exploring Operation: 32*93=2976, Resulting Numbers: [2976]
2976,71 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 32+93=125, Resulting Numbers: [125]
125,71 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: 71:[27, 75, 23], Operations: ['18+5=23']
Exploring Operation: 75-27=48, Resulting Numbers: [23, 48]
Generated Node #0,2,0: 71:[23, 48] Operation: 75-27=48
Exploring Operation: 27-23=4, Resulting Numbers: [75, 4]
Generated Node #0,2,1: 71:[75, 4] Operation: 27-23=4
Exploring Operation: 75-23=52, Resulting Numbers: [27, 52]
Generated Node #0,2,2: 71:[27, 52] Operation: 75-23=52
Exploring Operation: 27+23=50, Resulting Numbers: [75, 50]
Generated Node #0,2,3: 71:[75, 50] Operation: 27+23=50
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 71:[75, 50], Operations: ['18+5=23', '27+23=50']
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,71 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No 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: 71:[27, 52], Operations: ['18+5=23', '75-23=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,71 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,71 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,71 unequal: No Solution
No 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: 71:[23, 48], Operations: ['18+5=23', '75-27=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,71 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[18, 5, 27, 75], Operations: []
Exploring Operation: 18+5=23, Resulting Numbers: [27, 75, 23]
Generated Node #0,2: 71:[27, 75, 23] Operation: 18+5=23
Moving to Node #0,2
Current State: 71:[27, 75, 23], Operations: ['18+5=23']
Exploring Operation: 75-27=48, Resulting Numbers: [23, 48]
Generated Node #0,2,0: 71:[23, 48] Operation: 75-27=48
Moving to Node #0,2,0
Current State: 71:[23, 48], Operations: ['18+5=23', '75-27=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940972 | hs_4 | mult_heuristic |
[
46,
4,
88,
34
] | 17 | [
"46*34=1564",
"4+88=92",
"1564/92=17"
] | Current State: 17:[46, 4, 88, 34], Operations: []
Exploring Operation: 46*34=1564, Resulting Numbers: [4, 88, 1564]
Generated Node #2: [4, 88, 1564] from Operation: 46*34=1564
Current State: 17:[4, 88, 1564], Operations: ['46*34=1564']
Exploring Operation: 4+88=92, Resulting Numbers: [1564, 92]
Generated Node #3: [1564, 92] from Operation: 4+88=92
Current State: 17:[1564, 92], Operations: ['46*34=1564', '4+88=92']
Exploring Operation: 1564/92=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[46, 4, 88, 34], Operations: []
Exploring Operation: 88-46=42, Resulting Numbers: [4, 34, 42]
Generated Node #0,0: 17:[4, 34, 42] Operation: 88-46=42
Exploring Operation: 88/4=22, Resulting Numbers: [46, 34, 22]
Generated Node #0,1: 17:[46, 34, 22] Operation: 88/4=22
Moving to Node #0,1
Current State: 17:[46, 34, 22], Operations: ['88/4=22']
Exploring Operation: 46-34=12, Resulting Numbers: [22, 12]
Generated Node #0,1,0: 17:[22, 12] Operation: 46-34=12
Exploring Operation: 46-22=24, Resulting Numbers: [34, 24]
Generated Node #0,1,1: 17:[34, 24] Operation: 46-22=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[22, 12], Operations: ['88/4=22', '46-34=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[34, 24], Operations: ['88/4=22', '46-22=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 17:[4, 34, 42], Operations: ['88-46=42']
Exploring Operation: 34-4=30, Resulting Numbers: [42, 30]
Generated Node #0,0,0: 17:[42, 30] Operation: 34-4=30
Exploring Operation: 42-34=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 17:[4, 8] Operation: 42-34=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[4, 8], Operations: ['88-46=42', '42-34=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[42, 30], Operations: ['88-46=42', '34-4=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,17 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 |
[
36,
13,
52,
95
] | 63 | [
"95-36=59",
"52/13=4",
"59+4=63"
] | Current State: 63:[36, 13, 52, 95], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [13, 52, 59]
Generated Node #2: [13, 52, 59] from Operation: 95-36=59
Current State: 63:[13, 52, 59], Operations: ['95-36=59']
Exploring Operation: 52/13=4, Resulting Numbers: [59, 4]
Generated Node #3: [59, 4] from Operation: 52/13=4
Current State: 63:[59, 4], Operations: ['95-36=59', '52/13=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[36, 13, 52, 95], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [13, 52, 59]
Generated Node #0,0: 63:[13, 52, 59] Operation: 95-36=59
Exploring Operation: 36-13=23, Resulting Numbers: [52, 95, 23]
Generated Node #0,1: 63:[52, 95, 23] Operation: 36-13=23
Exploring Operation: 95-52=43, Resulting Numbers: [36, 13, 43]
Generated Node #0,2: 63:[36, 13, 43] Operation: 95-52=43
Exploring Operation: 52-36=16, Resulting Numbers: [13, 95, 16]
Generated Node #0,3: 63:[13, 95, 16] Operation: 52-36=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[13, 52, 59], Operations: ['95-36=59']
Exploring Operation: 13+52=65, Resulting Numbers: [59, 65]
Generated Node #0,0,0: 63:[59, 65] Operation: 13+52=65
Exploring Operation: 59-52=7, Resulting Numbers: [13, 7]
Generated Node #0,0,1: 63:[13, 7] Operation: 59-52=7
Exploring Operation: 52/13=4, Resulting Numbers: [59, 4]
Generated Node #0,0,2: 63:[59, 4] Operation: 52/13=4
Exploring Operation: 13+59=72, Resulting Numbers: [52, 72]
Generated Node #0,0,3: 63:[52, 72] Operation: 13+59=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[13, 7], Operations: ['95-36=59', '59-52=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,63 unequal: No Solution
No 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: 63:[59, 4], Operations: ['95-36=59', '52/13=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[36, 13, 52, 95], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [13, 52, 59]
Generated Node #0,0: 63:[13, 52, 59] Operation: 95-36=59
Moving to Node #0,0
Current State: 63:[13, 52, 59], Operations: ['95-36=59']
Exploring Operation: 52/13=4, Resulting Numbers: [59, 4]
Generated Node #0,0,2: 63:[59, 4] Operation: 52/13=4
Moving to Node #0,0,2
Current State: 63:[59, 4], Operations: ['95-36=59', '52/13=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
53,
83,
94,
2
] | 26 | [
"53+83=136",
"136/2=68",
"94-68=26"
] | Current State: 26:[53, 83, 94, 2], Operations: []
Exploring Operation: 53+83=136, Resulting Numbers: [94, 2, 136]
Generated Node #2: [94, 2, 136] from Operation: 53+83=136
Current State: 26:[94, 2, 136], Operations: ['53+83=136']
Exploring Operation: 136/2=68, Resulting Numbers: [94, 68]
Generated Node #3: [94, 68] from Operation: 136/2=68
Current State: 26:[94, 68], Operations: ['53+83=136', '136/2=68']
Exploring Operation: 94-68=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[53, 83, 94, 2], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [83, 2, 41]
Generated Node #0,0: 26:[83, 2, 41] Operation: 94-53=41
Exploring Operation: 53-2=51, Resulting Numbers: [83, 94, 51]
Generated Node #0,1: 26:[83, 94, 51] Operation: 53-2=51
Exploring Operation: 94/2=47, Resulting Numbers: [53, 83, 47]
Generated Node #0,2: 26:[53, 83, 47] Operation: 94/2=47
Exploring Operation: 94-83=11, Resulting Numbers: [53, 2, 11]
Generated Node #0,3: 26:[53, 2, 11] Operation: 94-83=11
Exploring Operation: 83-53=30, Resulting Numbers: [94, 2, 30]
Generated Node #0,4: 26:[94, 2, 30] Operation: 83-53=30
Moving to Node #0,3
Current State: 26:[53, 2, 11], Operations: ['94-83=11']
Exploring Operation: 53-11=42, Resulting Numbers: [2, 42]
Generated Node #0,3,0: 26:[2, 42] Operation: 53-11=42
Exploring Operation: 2*11=22, Resulting Numbers: [53, 22]
Generated Node #0,3,1: 26:[53, 22] Operation: 2*11=22
Exploring Operation: 53+2=55, Resulting Numbers: [11, 55]
Generated Node #0,3,2: 26:[11, 55] Operation: 53+2=55
Exploring Operation: 2+11=13, Resulting Numbers: [53, 13]
Generated Node #0,3,3: 26:[53, 13] Operation: 2+11=13
Exploring Operation: 53-2=51, Resulting Numbers: [11, 51]
Generated Node #0,3,4: 26:[11, 51] Operation: 53-2=51
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[2, 42], Operations: ['94-83=11', '53-11=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,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,3,3
Current State: 26:[53, 13], Operations: ['94-83=11', '2+11=13']
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 53*13=689, Resulting Numbers: [689]
689,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,3,4
Current State: 26:[11, 51], Operations: ['94-83=11', '53-2=51']
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,26 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,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,3,1
Current State: 26:[53, 22], Operations: ['94-83=11', '2*11=22']
Exploring Operation: 53*22=1166, Resulting Numbers: [1166]
1166,26 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,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,3,2
Current State: 26:[11, 55], Operations: ['94-83=11', '53+2=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,26 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,26 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: 26:[94, 2, 30], Operations: ['83-53=30']
Exploring Operation: 94-2=92, Resulting Numbers: [30, 92]
Generated Node #0,4,0: 26:[30, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [30, 47]
Generated Node #0,4,1: 26:[30, 47] Operation: 94/2=47
Exploring Operation: 30-2=28, Resulting Numbers: [94, 28]
Generated Node #0,4,2: 26:[94, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [94, 15]
Generated Node #0,4,3: 26:[94, 15] Operation: 30/2=15
Exploring Operation: 94-30=64, Resulting Numbers: [2, 64]
Generated Node #0,4,4: 26:[2, 64] Operation: 94-30=64
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 26:[30, 47], Operations: ['83-53=30', '94/2=47']
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 26:[2, 64], Operations: ['83-53=30', '94-30=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,26 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 26:[30, 92], Operations: ['83-53=30', '94-2=92']
Exploring Operation: 30+92=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 30*92=2760, Resulting Numbers: [2760]
2760,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 26:[94, 28], Operations: ['83-53=30', '30-2=28']
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 94+28=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Exploring Operation: 94*28=2632, Resulting Numbers: [2632]
2632,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 26:[94, 15], Operations: ['83-53=30', '30/2=15']
Exploring Operation: 94*15=1410, Resulting Numbers: [1410]
1410,26 unequal: No Solution
Exploring Operation: 94+15=109, Resulting Numbers: [109]
109,26 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,26 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: 26:[83, 2, 41], Operations: ['94-53=41']
Exploring Operation: 2+41=43, Resulting Numbers: [83, 43]
Generated Node #0,0,0: 26:[83, 43] Operation: 2+41=43
Exploring Operation: 83-2=81, Resulting Numbers: [41, 81]
Generated Node #0,0,1: 26:[41, 81] Operation: 83-2=81
Exploring Operation: 41-2=39, Resulting Numbers: [83, 39]
Generated Node #0,0,2: 26:[83, 39] Operation: 41-2=39
Exploring Operation: 83+2=85, Resulting Numbers: [41, 85]
Generated Node #0,0,3: 26:[41, 85] Operation: 83+2=85
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #0,0,4: 26:[2, 42] Operation: 83-41=42
Moving to Node #0,2
Current State: 26:[53, 83, 47], Operations: ['94/2=47']
Exploring Operation: 83-53=30, Resulting Numbers: [47, 30]
Generated Node #0,2,0: 26:[47, 30] Operation: 83-53=30
Exploring Operation: 53+83=136, Resulting Numbers: [47, 136]
Generated Node #0,2,1: 26:[47, 136] Operation: 53+83=136
Exploring Operation: 53+47=100, Resulting Numbers: [83, 100]
Generated Node #0,2,2: 26:[83, 100] Operation: 53+47=100
Exploring Operation: 83-47=36, Resulting Numbers: [53, 36]
Generated Node #0,2,3: 26:[53, 36] Operation: 83-47=36
Exploring Operation: 53-47=6, Resulting Numbers: [83, 6]
Generated Node #0,2,4: 26:[83, 6] Operation: 53-47=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[47, 30], Operations: ['94/2=47', '83-53=30']
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,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,2,3
Current State: 26:[53, 36], Operations: ['94/2=47', '83-47=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,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,2,4
Current State: 26:[83, 6], Operations: ['94/2=47', '53-47=6']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,26 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,26 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,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,2,1
Current State: 26:[47, 136], Operations: ['94/2=47', '53+83=136']
Exploring Operation: 136-47=89, Resulting Numbers: [89]
89,26 unequal: No Solution
Exploring Operation: 47*136=6392, Resulting Numbers: [6392]
6392,26 unequal: No Solution
Exploring Operation: 47+136=183, Resulting Numbers: [183]
183,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,2,2
Current State: 26:[83, 100], Operations: ['94/2=47', '53+47=100']
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,26 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,26 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: 26:[83, 94, 51], Operations: ['53-2=51']
Exploring Operation: 83-51=32, Resulting Numbers: [94, 32]
Generated Node #0,1,0: 26:[94, 32] Operation: 83-51=32
Exploring Operation: 94-83=11, Resulting Numbers: [51, 11]
Generated Node #0,1,1: 26:[51, 11] Operation: 94-83=11
Exploring Operation: 83+94=177, Resulting Numbers: [51, 177]
Generated Node #0,1,2: 26:[51, 177] Operation: 83+94=177
Exploring Operation: 83+51=134, Resulting Numbers: [94, 134]
Generated Node #0,1,3: 26:[94, 134] Operation: 83+51=134
Exploring Operation: 94-51=43, Resulting Numbers: [83, 43]
Generated Node #0,1,4: 26:[83, 43] Operation: 94-51=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[51, 11], Operations: ['53-2=51', '94-83=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,26 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[94, 32], Operations: ['53-2=51', '83-51=32']
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,26 unequal: No Solution
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,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,4
Current State: 26:[83, 43], Operations: ['53-2=51', '94-51=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,26 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,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:[51, 177], Operations: ['53-2=51', '83+94=177']
Exploring Operation: 51*177=9027, Resulting Numbers: [9027]
9027,26 unequal: No Solution
Exploring Operation: 51+177=228, Resulting Numbers: [228]
228,26 unequal: No Solution
Exploring Operation: 177-51=126, Resulting Numbers: [126]
126,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:[94, 134], Operations: ['53-2=51', '83+51=134']
Exploring Operation: 94*134=12596, Resulting Numbers: [12596]
12596,26 unequal: No Solution
Exploring Operation: 94+134=228, Resulting Numbers: [228]
228,26 unequal: No Solution
Exploring Operation: 134-94=40, Resulting Numbers: [40]
40,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 26:[2, 42], Operations: ['94-53=41', '83-41=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,26 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[83, 39], Operations: ['94-53=41', '41-2=39']
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,26 unequal: No Solution
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[41, 81], Operations: ['94-53=41', '83-2=81']
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,26 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[83, 43], Operations: ['94-53=41', '2+41=43']
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,26 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,26 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[41, 85], Operations: ['94-53=41', '83+2=85']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,26 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,26 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
99,
97,
30,
69
] | 84 | [
"99-97=2",
"30/2=15",
"69+15=84"
] | Current State: 84:[99, 97, 30, 69], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [30, 69, 2]
Generated Node #2: [30, 69, 2] from Operation: 99-97=2
Current State: 84:[30, 69, 2], Operations: ['99-97=2']
Exploring Operation: 30/2=15, Resulting Numbers: [69, 15]
Generated Node #3: [69, 15] from Operation: 30/2=15
Current State: 84:[69, 15], Operations: ['99-97=2', '30/2=15']
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[99, 97, 30, 69], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [99, 30, 28]
Generated Node #0,0: 84:[99, 30, 28] Operation: 97-69=28
Exploring Operation: 99-69=30, Resulting Numbers: [97, 30, 30]
Generated Node #0,1: 84:[97, 30, 30] Operation: 99-69=30
Exploring Operation: 99-97=2, Resulting Numbers: [30, 69, 2]
Generated Node #0,2: 84:[30, 69, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 84:[99, 30, 28], Operations: ['97-69=28']
Exploring Operation: 99-30=69, Resulting Numbers: [28, 69]
Generated Node #0,0,0: 84:[28, 69] Operation: 99-30=69
Exploring Operation: 99-28=71, Resulting Numbers: [30, 71]
Generated Node #0,0,1: 84:[30, 71] Operation: 99-28=71
Exploring Operation: 30-28=2, Resulting Numbers: [99, 2]
Generated Node #0,0,2: 84:[99, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[28, 69], Operations: ['97-69=28', '99-30=69']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,84 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No 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: 84:[30, 71], Operations: ['97-69=28', '99-28=71']
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,84 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,84 unequal: No Solution
No 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: 84:[99, 2], Operations: ['97-69=28', '30-28=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,84 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: 84:[97, 30, 30], Operations: ['99-69=30']
Exploring Operation: 30-30=0, Resulting Numbers: [97, 0]
Generated Node #0,1,0: 84:[97, 0] Operation: 30-30=0
Exploring Operation: 30/30=1, Resulting Numbers: [97, 1]
Generated Node #0,1,1: 84:[97, 1] Operation: 30/30=1
Exploring Operation: 97-30=67, Resulting Numbers: [30, 67]
Generated Node #0,1,2: 84:[30, 67] Operation: 97-30=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[97, 1], Operations: ['99-69=30', '30/30=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No 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: 84:[97, 0], Operations: ['99-69=30', '30-30=0']
Exploring Operation: 97+0=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 97*0=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 97-0=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No 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: 84:[30, 67], Operations: ['99-69=30', '97-30=67']
Exploring Operation: 30*67=2010, Resulting Numbers: [2010]
2010,84 unequal: No Solution
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,84 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: 84:[30, 69, 2], Operations: ['99-97=2']
Exploring Operation: 69-30=39, Resulting Numbers: [2, 39]
Generated Node #0,2,0: 84:[2, 39] Operation: 69-30=39
Exploring Operation: 30+69=99, Resulting Numbers: [2, 99]
Generated Node #0,2,1: 84:[2, 99] Operation: 30+69=99
Exploring Operation: 30-2=28, Resulting Numbers: [69, 28]
Generated Node #0,2,2: 84:[69, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[2, 39], Operations: ['99-97=2', '69-30=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,84 unequal: No Solution
No 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: 84:[2, 99], Operations: ['99-97=2', '30+69=99']
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,84 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No 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: 84:[69, 28], Operations: ['99-97=2', '30-2=28']
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,84 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
9,
2,
40
] | 45 | [
"40/2=20",
"20-15=5",
"9*5=45"
] | Current State: 45:[15, 9, 2, 40], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [15, 9, 20]
Generated Node #2: [15, 9, 20] from Operation: 40/2=20
Current State: 45:[15, 9, 20], Operations: ['40/2=20']
Exploring Operation: 20-15=5, Resulting Numbers: [9, 5]
Generated Node #3: [9, 5] from Operation: 20-15=5
Current State: 45:[9, 5], Operations: ['40/2=20', '20-15=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[15, 9, 2, 40], Operations: []
Exploring Operation: 2+40=42, Resulting Numbers: [15, 9, 42]
Generated Node #0,0: 45:[15, 9, 42] Operation: 2+40=42
Exploring Operation: 9+40=49, Resulting Numbers: [15, 2, 49]
Generated Node #0,1: 45:[15, 2, 49] Operation: 9+40=49
Moving to Node #0,0
Current State: 45:[15, 9, 42], Operations: ['2+40=42']
Exploring Operation: 15-9=6, Resulting Numbers: [42, 6]
Generated Node #0,0,0: 45:[42, 6] Operation: 15-9=6
Exploring Operation: 9+42=51, Resulting Numbers: [15, 51]
Generated Node #0,0,1: 45:[15, 51] Operation: 9+42=51
Moving to Node #0,1
Current State: 45:[15, 2, 49], Operations: ['9+40=49']
Exploring Operation: 15+2=17, Resulting Numbers: [49, 17]
Generated Node #0,1,0: 45:[49, 17] Operation: 15+2=17
Exploring Operation: 49-2=47, Resulting Numbers: [15, 47]
Generated Node #0,1,1: 45:[15, 47] Operation: 49-2=47
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[15, 47], Operations: ['9+40=49', '49-2=47']
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[49, 17], Operations: ['9+40=49', '15+2=17']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,45 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: 45:[42, 6], Operations: ['2+40=42', '15-9=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,45 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[15, 51], Operations: ['2+40=42', '9+42=51']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,45 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
48,
12,
46,
69
] | 59 | [
"48-12=36",
"69-46=23",
"36+23=59"
] | Current State: 59:[48, 12, 46, 69], Operations: []
Exploring Operation: 48-12=36, Resulting Numbers: [46, 69, 36]
Generated Node #2: [46, 69, 36] from Operation: 48-12=36
Current State: 59:[46, 69, 36], Operations: ['48-12=36']
Exploring Operation: 69-46=23, Resulting Numbers: [36, 23]
Generated Node #3: [36, 23] from Operation: 69-46=23
Current State: 59:[36, 23], Operations: ['48-12=36', '69-46=23']
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[48, 12, 46, 69], Operations: []
Exploring Operation: 69-12=57, Resulting Numbers: [48, 46, 57]
Generated Node #0,0: 59:[48, 46, 57] Operation: 69-12=57
Exploring Operation: 48+12=60, Resulting Numbers: [46, 69, 60]
Generated Node #0,1: 59:[46, 69, 60] Operation: 48+12=60
Exploring Operation: 12+46=58, Resulting Numbers: [48, 69, 58]
Generated Node #0,2: 59:[48, 69, 58] Operation: 12+46=58
Exploring Operation: 48-12=36, Resulting Numbers: [46, 69, 36]
Generated Node #0,3: 59:[46, 69, 36] Operation: 48-12=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[48, 69, 58], Operations: ['12+46=58']
Exploring Operation: 69-48=21, Resulting Numbers: [58, 21]
Generated Node #0,2,0: 59:[58, 21] Operation: 69-48=21
Exploring Operation: 58-48=10, Resulting Numbers: [69, 10]
Generated Node #0,2,1: 59:[69, 10] Operation: 58-48=10
Exploring Operation: 48+58=106, Resulting Numbers: [69, 106]
Generated Node #0,2,2: 59:[69, 106] Operation: 48+58=106
Exploring Operation: 48+69=117, Resulting Numbers: [58, 117]
Generated Node #0,2,3: 59:[58, 117] Operation: 48+69=117
Moving to Node #0,2,0
Current State: 59:[58, 21], Operations: ['12+46=58', '69-48=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 58*21=1218, Resulting Numbers: [1218]
1218,59 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[69, 106], Operations: ['12+46=58', '48+58=106']
Exploring Operation: 69*106=7314, Resulting Numbers: [7314]
7314,59 unequal: No Solution
Exploring Operation: 106-69=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 69+106=175, Resulting Numbers: [175]
175,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[58, 117], Operations: ['12+46=58', '48+69=117']
Exploring Operation: 58+117=175, Resulting Numbers: [175]
175,59 unequal: No Solution
Exploring Operation: 117-58=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[48, 12, 46, 69], Operations: []
Exploring Operation: 12+46=58, Resulting Numbers: [48, 69, 58]
Generated Node #0,2: 59:[48, 69, 58] Operation: 12+46=58
Moving to Node #0,2
Current State: 59:[48, 69, 58], Operations: ['12+46=58']
Exploring Operation: 48+69=117, Resulting Numbers: [58, 117]
Generated Node #0,2,3: 59:[58, 117] Operation: 48+69=117
Moving to Node #0,2,3
Current State: 59:[58, 117], Operations: ['12+46=58', '48+69=117']
Exploring Operation: 117-58=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
3,
92,
37,
31
] | 77 | [
"92*31=2852",
"2852-3=2849",
"2849/37=77"
] | Current State: 77:[3, 92, 37, 31], Operations: []
Exploring Operation: 92*31=2852, Resulting Numbers: [3, 37, 2852]
Generated Node #2: [3, 37, 2852] from Operation: 92*31=2852
Current State: 77:[3, 37, 2852], Operations: ['92*31=2852']
Exploring Operation: 2852-3=2849, Resulting Numbers: [37, 2849]
Generated Node #3: [37, 2849] from Operation: 2852-3=2849
Current State: 77:[37, 2849], Operations: ['92*31=2852', '2852-3=2849']
Exploring Operation: 2849/37=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 92, 37, 31], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [3, 92, 6]
Generated Node #0,0: 77:[3, 92, 6] Operation: 37-31=6
Exploring Operation: 37+31=68, Resulting Numbers: [3, 92, 68]
Generated Node #0,1: 77:[3, 92, 68] Operation: 37+31=68
Moving to Node #0,0
Current State: 77:[3, 92, 6], Operations: ['37-31=6']
Exploring Operation: 92-6=86, Resulting Numbers: [3, 86]
Generated Node #0,0,0: 77:[3, 86] Operation: 92-6=86
Exploring Operation: 92-3=89, Resulting Numbers: [6, 89]
Generated Node #0,0,1: 77:[6, 89] Operation: 92-3=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[3, 86], Operations: ['37-31=6', '92-6=86']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 3+86=89, Resulting Numbers: [89]
89,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[6, 89], Operations: ['37-31=6', '92-3=89']
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,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:[3, 92, 68], Operations: ['37+31=68']
Exploring Operation: 92-3=89, Resulting Numbers: [68, 89]
Generated Node #0,1,0: 77:[68, 89] Operation: 92-3=89
Exploring Operation: 92-68=24, Resulting Numbers: [3, 24]
Generated Node #0,1,1: 77:[3, 24] Operation: 92-68=24
Moving to Node #0,1,1
Current State: 77:[3, 24], Operations: ['37+31=68', '92-68=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[68, 89], Operations: ['37+31=68', '92-3=89']
Exploring Operation: 68+89=157, Resulting Numbers: [157]
157,77 unequal: No Solution
Exploring Operation: 89-68=21, Resulting Numbers: [21]
21,77 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
28,
46,
3
] | 25 | [
"63+46=109",
"28*3=84",
"109-84=25"
] | Current State: 25:[63, 28, 46, 3], Operations: []
Exploring Operation: 63+46=109, Resulting Numbers: [28, 3, 109]
Generated Node #2: [28, 3, 109] from Operation: 63+46=109
Current State: 25:[28, 3, 109], Operations: ['63+46=109']
Exploring Operation: 28*3=84, Resulting Numbers: [109, 84]
Generated Node #3: [109, 84] from Operation: 28*3=84
Current State: 25:[109, 84], Operations: ['63+46=109', '28*3=84']
Exploring Operation: 109-84=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[63, 28, 46, 3], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [28, 3, 17]
Generated Node #0,0: 25:[28, 3, 17] Operation: 63-46=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[28, 3, 17], Operations: ['63-46=17']
Exploring Operation: 28-3=25, Resulting Numbers: [17, 25]
Generated Node #0,0,0: 25:[17, 25] Operation: 28-3=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[17, 25], Operations: ['63-46=17', '28-3=25']
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
43,
67,
60
] | 12 | [
"60/5=12",
"67-43=24",
"24-12=12"
] | Current State: 12:[5, 43, 67, 60], Operations: []
Exploring Operation: 60/5=12, Resulting Numbers: [43, 67, 12]
Generated Node #2: [43, 67, 12] from Operation: 60/5=12
Current State: 12:[43, 67, 12], Operations: ['60/5=12']
Exploring Operation: 67-43=24, Resulting Numbers: [12, 24]
Generated Node #3: [12, 24] from Operation: 67-43=24
Current State: 12:[12, 24], Operations: ['60/5=12', '67-43=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[5, 43, 67, 60], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [5, 43, 7]
Generated Node #0,0: 12:[5, 43, 7] Operation: 67-60=7
Exploring Operation: 67-43=24, Resulting Numbers: [5, 60, 24]
Generated Node #0,1: 12:[5, 60, 24] Operation: 67-43=24
Moving to Node #0,0
Current State: 12:[5, 43, 7], Operations: ['67-60=7']
Exploring Operation: 43-7=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 12:[5, 36] Operation: 43-7=36
Exploring Operation: 43-5=38, Resulting Numbers: [7, 38]
Generated Node #0,0,1: 12:[7, 38] Operation: 43-5=38
Moving to Node #0,1
Current State: 12:[5, 60, 24], Operations: ['67-43=24']
Exploring Operation: 60/5=12, Resulting Numbers: [24, 12]
Generated Node #0,1,0: 12:[24, 12] Operation: 60/5=12
Exploring Operation: 60-24=36, Resulting Numbers: [5, 36]
Generated Node #0,1,1: 12:[5, 36] Operation: 60-24=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[24, 12], Operations: ['67-43=24', '60/5=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[5, 43, 67, 60], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [5, 60, 24]
Generated Node #0,1: 12:[5, 60, 24] Operation: 67-43=24
Moving to Node #0,1
Current State: 12:[5, 60, 24], Operations: ['67-43=24']
Exploring Operation: 60/5=12, Resulting Numbers: [24, 12]
Generated Node #0,1,0: 12:[24, 12] Operation: 60/5=12
Moving to Node #0,1,0
Current State: 12:[24, 12], Operations: ['67-43=24', '60/5=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
73,
12,
97,
42
] | 44 | [
"97-73=24",
"24/12=2",
"42+2=44"
] | Current State: 44:[73, 12, 97, 42], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [12, 42, 24]
Generated Node #2: [12, 42, 24] from Operation: 97-73=24
Current State: 44:[12, 42, 24], Operations: ['97-73=24']
Exploring Operation: 24/12=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 24/12=2
Current State: 44:[42, 2], Operations: ['97-73=24', '24/12=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[73, 12, 97, 42], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [12, 42, 24]
Generated Node #0,0: 44:[12, 42, 24] Operation: 97-73=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[12, 42, 24], Operations: ['97-73=24']
Exploring Operation: 24/12=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 44:[42, 2] Operation: 24/12=2
Moving to Node #0,0,0
Current State: 44:[42, 2], Operations: ['97-73=24', '24/12=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[73, 12, 97, 42], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [12, 42, 24]
Generated Node #0,0: 44:[12, 42, 24] Operation: 97-73=24
Moving to Node #0,0
Current State: 44:[12, 42, 24], Operations: ['97-73=24']
Exploring Operation: 24/12=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 44:[42, 2] Operation: 24/12=2
Moving to Node #0,0,0
Current State: 44:[42, 2], Operations: ['97-73=24', '24/12=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
39,
60,
4
] | 34 | [
"52/4=13",
"60-39=21",
"13+21=34"
] | Current State: 34:[52, 39, 60, 4], Operations: []
Exploring Operation: 52/4=13, Resulting Numbers: [39, 60, 13]
Generated Node #2: [39, 60, 13] from Operation: 52/4=13
Current State: 34:[39, 60, 13], Operations: ['52/4=13']
Exploring Operation: 60-39=21, Resulting Numbers: [13, 21]
Generated Node #3: [13, 21] from Operation: 60-39=21
Current State: 34:[13, 21], Operations: ['52/4=13', '60-39=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[52, 39, 60, 4], Operations: []
Exploring Operation: 60-52=8, Resulting Numbers: [39, 4, 8]
Generated Node #0,0: 34:[39, 4, 8] Operation: 60-52=8
Exploring Operation: 60-39=21, Resulting Numbers: [52, 4, 21]
Generated Node #0,1: 34:[52, 4, 21] Operation: 60-39=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[39, 4, 8], Operations: ['60-52=8']
Exploring Operation: 39-8=31, Resulting Numbers: [4, 31]
Generated Node #0,0,0: 34:[4, 31] Operation: 39-8=31
Exploring Operation: 8/4=2, Resulting Numbers: [39, 2]
Generated Node #0,0,1: 34:[39, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[4, 31], Operations: ['60-52=8', '39-8=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,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:[39, 2], Operations: ['60-52=8', '8/4=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,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:[52, 4, 21], Operations: ['60-39=21']
Exploring Operation: 52-21=31, Resulting Numbers: [4, 31]
Generated Node #0,1,0: 34:[4, 31] Operation: 52-21=31
Exploring Operation: 52/4=13, Resulting Numbers: [21, 13]
Generated Node #0,1,1: 34:[21, 13] Operation: 52/4=13
Moving to Node #0,1,0
Current State: 34:[4, 31], Operations: ['60-39=21', '52-21=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[21, 13], Operations: ['60-39=21', '52/4=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[52, 39, 60, 4], Operations: []
Exploring Operation: 60-39=21, Resulting Numbers: [52, 4, 21]
Generated Node #0,1: 34:[52, 4, 21] Operation: 60-39=21
Moving to Node #0,1
Current State: 34:[52, 4, 21], Operations: ['60-39=21']
Exploring Operation: 52/4=13, Resulting Numbers: [21, 13]
Generated Node #0,1,1: 34:[21, 13] Operation: 52/4=13
Moving to Node #0,1,1
Current State: 34:[21, 13], Operations: ['60-39=21', '52/4=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
3,
30,
44,
26
] | 32 | [
"30-26=4",
"3*4=12",
"44-12=32"
] | Current State: 32:[3, 30, 44, 26], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [3, 44, 4]
Generated Node #2: [3, 44, 4] from Operation: 30-26=4
Current State: 32:[3, 44, 4], Operations: ['30-26=4']
Exploring Operation: 3*4=12, Resulting Numbers: [44, 12]
Generated Node #3: [44, 12] from Operation: 3*4=12
Current State: 32:[44, 12], Operations: ['30-26=4', '3*4=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[3, 30, 44, 26], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [3, 26, 14]
Generated Node #0,0: 32:[3, 26, 14] Operation: 44-30=14
Exploring Operation: 30-26=4, Resulting Numbers: [3, 44, 4]
Generated Node #0,1: 32:[3, 44, 4] Operation: 30-26=4
Exploring Operation: 44-26=18, Resulting Numbers: [3, 30, 18]
Generated Node #0,2: 32:[3, 30, 18] Operation: 44-26=18
Moving to Node #0,2
Current State: 32:[3, 30, 18], Operations: ['44-26=18']
Exploring Operation: 3+30=33, Resulting Numbers: [18, 33]
Generated Node #0,2,0: 32:[18, 33] Operation: 3+30=33
Exploring Operation: 18-3=15, Resulting Numbers: [30, 15]
Generated Node #0,2,1: 32:[30, 15] Operation: 18-3=15
Exploring Operation: 30/3=10, Resulting Numbers: [18, 10]
Generated Node #0,2,2: 32:[18, 10] Operation: 30/3=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[18, 33], Operations: ['44-26=18', '3+30=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,32 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,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,2,1
Current State: 32:[30, 15], Operations: ['44-26=18', '18-3=15']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 30+15=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,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,2,2
Current State: 32:[18, 10], Operations: ['44-26=18', '30/3=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,32 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,32 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: 32:[3, 26, 14], Operations: ['44-30=14']
Exploring Operation: 26-14=12, Resulting Numbers: [3, 12]
Generated Node #0,0,0: 32:[3, 12] Operation: 26-14=12
Exploring Operation: 3+14=17, Resulting Numbers: [26, 17]
Generated Node #0,0,1: 32:[26, 17] Operation: 3+14=17
Exploring Operation: 3+26=29, Resulting Numbers: [14, 29]
Generated Node #0,0,2: 32:[14, 29] Operation: 3+26=29
Moving to Node #0,1
Current State: 32:[3, 44, 4], Operations: ['30-26=4']
Exploring Operation: 44/4=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 32:[3, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [3, 40]
Generated Node #0,1,1: 32:[3, 40] Operation: 44-4=40
Exploring Operation: 44-3=41, Resulting Numbers: [4, 41]
Generated Node #0,1,2: 32:[4, 41] Operation: 44-3=41
Moving to Node #0,1,0
Current State: 32:[3, 11], Operations: ['30-26=4', '44/4=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[3, 12], Operations: ['44-30=14', '26-14=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[14, 29], Operations: ['44-30=14', '3+26=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[26, 17], Operations: ['44-30=14', '3+14=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,32 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[4, 41], Operations: ['30-26=4', '44-3=41']
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,32 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[3, 40], Operations: ['30-26=4', '44-4=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,32 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,32 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
55,
81,
18,
11
] | 58 | [
"55/11=5",
"81-18=63",
"63-5=58"
] | Current State: 58:[55, 81, 18, 11], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [81, 18, 5]
Generated Node #2: [81, 18, 5] from Operation: 55/11=5
Current State: 58:[81, 18, 5], Operations: ['55/11=5']
Exploring Operation: 81-18=63, Resulting Numbers: [5, 63]
Generated Node #3: [5, 63] from Operation: 81-18=63
Current State: 58:[5, 63], Operations: ['55/11=5', '81-18=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[55, 81, 18, 11], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [55, 18, 70]
Generated Node #0,0: 58:[55, 18, 70] Operation: 81-11=70
Exploring Operation: 81-18=63, Resulting Numbers: [55, 11, 63]
Generated Node #0,1: 58:[55, 11, 63] Operation: 81-18=63
Exploring Operation: 18+11=29, Resulting Numbers: [55, 81, 29]
Generated Node #0,2: 58:[55, 81, 29] Operation: 18+11=29
Exploring Operation: 81-55=26, Resulting Numbers: [18, 11, 26]
Generated Node #0,3: 58:[18, 11, 26] Operation: 81-55=26
Exploring Operation: 18-11=7, Resulting Numbers: [55, 81, 7]
Generated Node #0,4: 58:[55, 81, 7] Operation: 18-11=7
Moving to Node #0,1
Current State: 58:[55, 11, 63], Operations: ['81-18=63']
Exploring Operation: 55-11=44, Resulting Numbers: [63, 44]
Generated Node #0,1,0: 58:[63, 44] Operation: 55-11=44
Exploring Operation: 63-55=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 58:[11, 8] Operation: 63-55=8
Exploring Operation: 55+11=66, Resulting Numbers: [63, 66]
Generated Node #0,1,2: 58:[63, 66] Operation: 55+11=66
Exploring Operation: 55/11=5, Resulting Numbers: [63, 5]
Generated Node #0,1,3: 58:[63, 5] Operation: 55/11=5
Exploring Operation: 63-11=52, Resulting Numbers: [55, 52]
Generated Node #0,1,4: 58:[55, 52] Operation: 63-11=52
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[63, 5], Operations: ['81-18=63', '55/11=5']
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[55, 81, 18, 11], Operations: []
Exploring Operation: 81-18=63, Resulting Numbers: [55, 11, 63]
Generated Node #0,1: 58:[55, 11, 63] Operation: 81-18=63
Moving to Node #0,1
Current State: 58:[55, 11, 63], Operations: ['81-18=63']
Exploring Operation: 55/11=5, Resulting Numbers: [63, 5]
Generated Node #0,1,3: 58:[63, 5] Operation: 55/11=5
Moving to Node #0,1,3
Current State: 58:[63, 5], Operations: ['81-18=63', '55/11=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
3,
89,
76,
29
] | 48 | [
"89-76=13",
"29-13=16",
"3*16=48"
] | Current State: 48:[3, 89, 76, 29], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [3, 29, 13]
Generated Node #2: [3, 29, 13] from Operation: 89-76=13
Current State: 48:[3, 29, 13], Operations: ['89-76=13']
Exploring Operation: 29-13=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 29-13=16
Current State: 48:[3, 16], Operations: ['89-76=13', '29-13=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[3, 89, 76, 29], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [3, 29, 13]
Generated Node #0,0: 48:[3, 29, 13] Operation: 89-76=13
Exploring Operation: 89-29=60, Resulting Numbers: [3, 76, 60]
Generated Node #0,1: 48:[3, 76, 60] Operation: 89-29=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[3, 29, 13], Operations: ['89-76=13']
Exploring Operation: 29-3=26, Resulting Numbers: [13, 26]
Generated Node #0,0,0: 48:[13, 26] Operation: 29-3=26
Exploring Operation: 29-13=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 48:[3, 16] Operation: 29-13=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[3, 16], Operations: ['89-76=13', '29-13=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[3, 89, 76, 29], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [3, 29, 13]
Generated Node #0,0: 48:[3, 29, 13] Operation: 89-76=13
Moving to Node #0,0
Current State: 48:[3, 29, 13], Operations: ['89-76=13']
Exploring Operation: 29-13=16, Resulting Numbers: [3, 16]
Generated Node #0,0,1: 48:[3, 16] Operation: 29-13=16
Moving to Node #0,0,1
Current State: 48:[3, 16], Operations: ['89-76=13', '29-13=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
38,
67,
73,
18
] | 50 | [
"38+67=105",
"73-18=55",
"105-55=50"
] | Current State: 50:[38, 67, 73, 18], Operations: []
Exploring Operation: 38+67=105, Resulting Numbers: [73, 18, 105]
Generated Node #2: [73, 18, 105] from Operation: 38+67=105
Current State: 50:[73, 18, 105], Operations: ['38+67=105']
Exploring Operation: 73-18=55, Resulting Numbers: [105, 55]
Generated Node #3: [105, 55] from Operation: 73-18=55
Current State: 50:[105, 55], Operations: ['38+67=105', '73-18=55']
Exploring Operation: 105-55=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[38, 67, 73, 18], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [38, 18, 6]
Generated Node #0,0: 50:[38, 18, 6] Operation: 73-67=6
Exploring Operation: 67-38=29, Resulting Numbers: [73, 18, 29]
Generated Node #0,1: 50:[73, 18, 29] Operation: 67-38=29
Exploring Operation: 73-18=55, Resulting Numbers: [38, 67, 55]
Generated Node #0,2: 50:[38, 67, 55] Operation: 73-18=55
Exploring Operation: 73-38=35, Resulting Numbers: [67, 18, 35]
Generated Node #0,3: 50:[67, 18, 35] Operation: 73-38=35
Moving to Node #0,0
Current State: 50:[38, 18, 6], Operations: ['73-67=6']
Exploring Operation: 38+6=44, Resulting Numbers: [18, 44]
Generated Node #0,0,0: 50:[18, 44] Operation: 38+6=44
Exploring Operation: 38-18=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 50:[6, 20] Operation: 38-18=20
Exploring Operation: 38+18=56, Resulting Numbers: [6, 56]
Generated Node #0,0,2: 50:[6, 56] Operation: 38+18=56
Exploring Operation: 18+6=24, Resulting Numbers: [38, 24]
Generated Node #0,0,3: 50:[38, 24] Operation: 18+6=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[6, 20], Operations: ['73-67=6', '38-18=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,50 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[6, 56], Operations: ['73-67=6', '38+18=56']
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,50 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[38, 67, 73, 18], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [38, 18, 6]
Generated Node #0,0: 50:[38, 18, 6] Operation: 73-67=6
Moving to Node #0,0
Current State: 50:[38, 18, 6], Operations: ['73-67=6']
Exploring Operation: 38+18=56, Resulting Numbers: [6, 56]
Generated Node #0,0,2: 50:[6, 56] Operation: 38+18=56
Moving to Node #0,0,2
Current State: 50:[6, 56], Operations: ['73-67=6', '38+18=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
53,
82,
74,
2
] | 20 | [
"74-53=21",
"82/2=41",
"41-21=20"
] | Current State: 20:[53, 82, 74, 2], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [82, 2, 21]
Generated Node #2: [82, 2, 21] from Operation: 74-53=21
Current State: 20:[82, 2, 21], Operations: ['74-53=21']
Exploring Operation: 82/2=41, Resulting Numbers: [21, 41]
Generated Node #3: [21, 41] from Operation: 82/2=41
Current State: 20:[21, 41], Operations: ['74-53=21', '82/2=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[53, 82, 74, 2], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [74, 2, 29]
Generated Node #0,0: 20:[74, 2, 29] Operation: 82-53=29
Exploring Operation: 82/2=41, Resulting Numbers: [53, 74, 41]
Generated Node #0,1: 20:[53, 74, 41] Operation: 82/2=41
Exploring Operation: 74/2=37, Resulting Numbers: [53, 82, 37]
Generated Node #0,2: 20:[53, 82, 37] Operation: 74/2=37
Exploring Operation: 74-53=21, Resulting Numbers: [82, 2, 21]
Generated Node #0,3: 20:[82, 2, 21] Operation: 74-53=21
Exploring Operation: 82-74=8, Resulting Numbers: [53, 2, 8]
Generated Node #0,4: 20:[53, 2, 8] Operation: 82-74=8
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[53, 2, 8], Operations: ['82-74=8']
Exploring Operation: 53-8=45, Resulting Numbers: [2, 45]
Generated Node #0,4,0: 20:[2, 45] Operation: 53-8=45
Exploring Operation: 8-2=6, Resulting Numbers: [53, 6]
Generated Node #0,4,1: 20:[53, 6] Operation: 8-2=6
Exploring Operation: 8/2=4, Resulting Numbers: [53, 4]
Generated Node #0,4,2: 20:[53, 4] Operation: 8/2=4
Exploring Operation: 53-2=51, Resulting Numbers: [8, 51]
Generated Node #0,4,3: 20:[8, 51] Operation: 53-2=51
Exploring Operation: 2+8=10, Resulting Numbers: [53, 10]
Generated Node #0,4,4: 20:[53, 10] Operation: 2+8=10
Moving to Node #0,4,0
Current State: 20:[2, 45], Operations: ['82-74=8', '53-8=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Moving to Node #0,4,3
Current State: 20:[8, 51], Operations: ['82-74=8', '53-2=51']
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,20 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Moving to Node #0,4,2
Current State: 20:[53, 4], Operations: ['82-74=8', '8/2=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,20 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,4,4
Current State: 20:[53, 10], Operations: ['82-74=8', '2+8=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[53, 6], Operations: ['82-74=8', '8-2=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,20 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,20 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[74, 2, 29], Operations: ['82-53=29']
Exploring Operation: 74-29=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 20:[2, 45] Operation: 74-29=45
Exploring Operation: 74/2=37, Resulting Numbers: [29, 37]
Generated Node #0,0,1: 20:[29, 37] Operation: 74/2=37
Exploring Operation: 74+2=76, Resulting Numbers: [29, 76]
Generated Node #0,0,2: 20:[29, 76] Operation: 74+2=76
Exploring Operation: 74-2=72, Resulting Numbers: [29, 72]
Generated Node #0,0,3: 20:[29, 72] Operation: 74-2=72
Exploring Operation: 29-2=27, Resulting Numbers: [74, 27]
Generated Node #0,0,4: 20:[74, 27] Operation: 29-2=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[2, 45], Operations: ['82-53=29', '74-29=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[29, 37], Operations: ['82-53=29', '74/2=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[29, 72], Operations: ['82-53=29', '74-2=72']
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,20 unequal: No Solution
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,20 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 20:[74, 27], Operations: ['82-53=29', '29-2=27']
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 74+27=101, Resulting Numbers: [101]
101,20 unequal: No Solution
Exploring Operation: 74*27=1998, Resulting Numbers: [1998]
1998,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[29, 76], Operations: ['82-53=29', '74+2=76']
Exploring Operation: 29*76=2204, Resulting Numbers: [2204]
2204,20 unequal: No Solution
Exploring Operation: 29+76=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[82, 2, 21], Operations: ['74-53=21']
Exploring Operation: 82-2=80, Resulting Numbers: [21, 80]
Generated Node #0,3,0: 20:[21, 80] Operation: 82-2=80
Exploring Operation: 82+2=84, Resulting Numbers: [21, 84]
Generated Node #0,3,1: 20:[21, 84] Operation: 82+2=84
Exploring Operation: 82/2=41, Resulting Numbers: [21, 41]
Generated Node #0,3,2: 20:[21, 41] Operation: 82/2=41
Exploring Operation: 21-2=19, Resulting Numbers: [82, 19]
Generated Node #0,3,3: 20:[82, 19] Operation: 21-2=19
Exploring Operation: 82-21=61, Resulting Numbers: [2, 61]
Generated Node #0,3,4: 20:[2, 61] Operation: 82-21=61
Moving to Node #0,3,2
Current State: 20:[21, 41], Operations: ['74-53=21', '82/2=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[53, 82, 74, 2], Operations: []
Exploring Operation: 74-53=21, Resulting Numbers: [82, 2, 21]
Generated Node #0,3: 20:[82, 2, 21] Operation: 74-53=21
Moving to Node #0,3
Current State: 20:[82, 2, 21], Operations: ['74-53=21']
Exploring Operation: 82/2=41, Resulting Numbers: [21, 41]
Generated Node #0,3,2: 20:[21, 41] Operation: 82/2=41
Moving to Node #0,3,2
Current State: 20:[21, 41], Operations: ['74-53=21', '82/2=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | mult_heuristic |
[
85,
52,
42,
98
] | 89 | [
"85-52=33",
"98-42=56",
"33+56=89"
] | Current State: 89:[85, 52, 42, 98], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [42, 98, 33]
Generated Node #2: [42, 98, 33] from Operation: 85-52=33
Current State: 89:[42, 98, 33], Operations: ['85-52=33']
Exploring Operation: 98-42=56, Resulting Numbers: [33, 56]
Generated Node #3: [33, 56] from Operation: 98-42=56
Current State: 89:[33, 56], Operations: ['85-52=33', '98-42=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[85, 52, 42, 98], Operations: []
Exploring Operation: 85+42=127, Resulting Numbers: [52, 98, 127]
Generated Node #0,0: 89:[52, 98, 127] Operation: 85+42=127
Exploring Operation: 98-42=56, Resulting Numbers: [85, 52, 56]
Generated Node #0,1: 89:[85, 52, 56] Operation: 98-42=56
Exploring Operation: 52+42=94, Resulting Numbers: [85, 98, 94]
Generated Node #0,2: 89:[85, 98, 94] Operation: 52+42=94
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[85, 98, 94], Operations: ['52+42=94']
Exploring Operation: 98-85=13, Resulting Numbers: [94, 13]
Generated Node #0,2,0: 89:[94, 13] Operation: 98-85=13
Exploring Operation: 98-94=4, Resulting Numbers: [85, 4]
Generated Node #0,2,1: 89:[85, 4] Operation: 98-94=4
Exploring Operation: 94-85=9, Resulting Numbers: [98, 9]
Generated Node #0,2,2: 89:[98, 9] Operation: 94-85=9
Moving to Node #0,2,0
Current State: 89:[94, 13], Operations: ['52+42=94', '98-85=13']
Exploring Operation: 94*13=1222, Resulting Numbers: [1222]
1222,89 unequal: No Solution
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[85, 4], Operations: ['52+42=94', '98-94=4']
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,89 unequal: No Solution
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[85, 52, 42, 98], Operations: []
Exploring Operation: 52+42=94, Resulting Numbers: [85, 98, 94]
Generated Node #0,2: 89:[85, 98, 94] Operation: 52+42=94
Moving to Node #0,2
Current State: 89:[85, 98, 94], Operations: ['52+42=94']
Exploring Operation: 98-94=4, Resulting Numbers: [85, 4]
Generated Node #0,2,1: 89:[85, 4] Operation: 98-94=4
Moving to Node #0,2,1
Current State: 89:[85, 4], Operations: ['52+42=94', '98-94=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
14,
16,
39,
17
] | 53 | [
"14+39=53",
"17-16=1",
"53*1=53"
] | Current State: 53:[14, 16, 39, 17], Operations: []
Exploring Operation: 14+39=53, Resulting Numbers: [16, 17, 53]
Generated Node #2: [16, 17, 53] from Operation: 14+39=53
Current State: 53:[16, 17, 53], Operations: ['14+39=53']
Exploring Operation: 17-16=1, Resulting Numbers: [53, 1]
Generated Node #3: [53, 1] from Operation: 17-16=1
Current State: 53:[53, 1], Operations: ['14+39=53', '17-16=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[14, 16, 39, 17], Operations: []
Exploring Operation: 14+16=30, Resulting Numbers: [39, 17, 30]
Generated Node #0,0: 53:[39, 17, 30] Operation: 14+16=30
Exploring Operation: 14+39=53, Resulting Numbers: [16, 17, 53]
Generated Node #0,1: 53:[16, 17, 53] Operation: 14+39=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[39, 17, 30], Operations: ['14+16=30']
Exploring Operation: 17+30=47, Resulting Numbers: [39, 47]
Generated Node #0,0,0: 53:[39, 47] Operation: 17+30=47
Exploring Operation: 39+17=56, Resulting Numbers: [30, 56]
Generated Node #0,0,1: 53:[30, 56] Operation: 39+17=56
Moving to Node #0,0,0
Current State: 53:[39, 47], Operations: ['14+16=30', '17+30=47']
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,53 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[30, 56], Operations: ['14+16=30', '39+17=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[16, 17, 53], Operations: ['14+39=53']
Exploring Operation: 16+17=33, Resulting Numbers: [53, 33]
Generated Node #0,1,0: 53:[53, 33] Operation: 16+17=33
Exploring Operation: 17-16=1, Resulting Numbers: [53, 1]
Generated Node #0,1,1: 53:[53, 1] Operation: 17-16=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[53, 33], Operations: ['14+39=53', '16+17=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,53 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[53, 1], Operations: ['14+39=53', '17-16=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[14, 16, 39, 17], Operations: []
Exploring Operation: 14+39=53, Resulting Numbers: [16, 17, 53]
Generated Node #0,1: 53:[16, 17, 53] Operation: 14+39=53
Moving to Node #0,1
Current State: 53:[16, 17, 53], Operations: ['14+39=53']
Exploring Operation: 17-16=1, Resulting Numbers: [53, 1]
Generated Node #0,1,1: 53:[53, 1] Operation: 17-16=1
Moving to Node #0,1,1
Current State: 53:[53, 1], Operations: ['14+39=53', '17-16=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
48,
60,
80,
59
] | 31 | [
"48+60=108",
"80+59=139",
"139-108=31"
] | Current State: 31:[48, 60, 80, 59], Operations: []
Exploring Operation: 48+60=108, Resulting Numbers: [80, 59, 108]
Generated Node #2: [80, 59, 108] from Operation: 48+60=108
Current State: 31:[80, 59, 108], Operations: ['48+60=108']
Exploring Operation: 80+59=139, Resulting Numbers: [108, 139]
Generated Node #3: [108, 139] from Operation: 80+59=139
Current State: 31:[108, 139], Operations: ['48+60=108', '80+59=139']
Exploring Operation: 139-108=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[48, 60, 80, 59], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [48, 60, 21]
Generated Node #0,0: 31:[48, 60, 21] Operation: 80-59=21
Exploring Operation: 80-60=20, Resulting Numbers: [48, 59, 20]
Generated Node #0,1: 31:[48, 59, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[48, 60, 21], Operations: ['80-59=21']
Exploring Operation: 60-21=39, Resulting Numbers: [48, 39]
Generated Node #0,0,0: 31:[48, 39] Operation: 60-21=39
Exploring Operation: 60-48=12, Resulting Numbers: [21, 12]
Generated Node #0,0,1: 31:[21, 12] Operation: 60-48=12
Moving to Node #0,0,0
Current State: 31:[48, 39], Operations: ['80-59=21', '60-21=39']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[21, 12], Operations: ['80-59=21', '60-48=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,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:[48, 59, 20], Operations: ['80-60=20']
Exploring Operation: 59-48=11, Resulting Numbers: [20, 11]
Generated Node #0,1,0: 31:[20, 11] Operation: 59-48=11
Exploring Operation: 59-20=39, Resulting Numbers: [48, 39]
Generated Node #0,1,1: 31:[48, 39] Operation: 59-20=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[48, 39], Operations: ['80-60=20', '59-20=39']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,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:[20, 11], Operations: ['80-60=20', '59-48=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[48, 60, 80, 59], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [48, 59, 20]
Generated Node #0,1: 31:[48, 59, 20] Operation: 80-60=20
Moving to Node #0,1
Current State: 31:[48, 59, 20], Operations: ['80-60=20']
Exploring Operation: 59-48=11, Resulting Numbers: [20, 11]
Generated Node #0,1,0: 31:[20, 11] Operation: 59-48=11
Moving to Node #0,1,0
Current State: 31:[20, 11], Operations: ['80-60=20', '59-48=11']
Exploring Operation: 20+11=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 |
[
13,
9,
38,
2
] | 76 | [
"13-9=4",
"38/2=19",
"4*19=76"
] | Current State: 76:[13, 9, 38, 2], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [38, 2, 4]
Generated Node #2: [38, 2, 4] from Operation: 13-9=4
Current State: 76:[38, 2, 4], Operations: ['13-9=4']
Exploring Operation: 38/2=19, Resulting Numbers: [4, 19]
Generated Node #3: [4, 19] from Operation: 38/2=19
Current State: 76:[4, 19], Operations: ['13-9=4', '38/2=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[13, 9, 38, 2], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [38, 2, 4]
Generated Node #0,0: 76:[38, 2, 4] Operation: 13-9=4
Moving to Node #0,0
Current State: 76:[38, 2, 4], Operations: ['13-9=4']
Exploring Operation: 38*2=76, Resulting Numbers: [4, 76]
Generated Node #0,0,0: 76:[4, 76] Operation: 38*2=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[4, 76], Operations: ['13-9=4', '38*2=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,76 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 |
[
45,
36,
30,
71
] | 20 | [
"45+36=81",
"30+71=101",
"101-81=20"
] | Current State: 20:[45, 36, 30, 71], Operations: []
Exploring Operation: 45+36=81, Resulting Numbers: [30, 71, 81]
Generated Node #2: [30, 71, 81] from Operation: 45+36=81
Current State: 20:[30, 71, 81], Operations: ['45+36=81']
Exploring Operation: 30+71=101, Resulting Numbers: [81, 101]
Generated Node #3: [81, 101] from Operation: 30+71=101
Current State: 20:[81, 101], Operations: ['45+36=81', '30+71=101']
Exploring Operation: 101-81=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[45, 36, 30, 71], Operations: []
Exploring Operation: 71-45=26, Resulting Numbers: [36, 30, 26]
Generated Node #0,0: 20:[36, 30, 26] Operation: 71-45=26
Moving to Node #0,0
Current State: 20:[36, 30, 26], Operations: ['71-45=26']
Exploring Operation: 36-30=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 20:[26, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[26, 6], Operations: ['71-45=26', '36-30=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[45, 36, 30, 71], Operations: []
Exploring Operation: 71-45=26, Resulting Numbers: [36, 30, 26]
Generated Node #0,0: 20:[36, 30, 26] Operation: 71-45=26
Moving to Node #0,0
Current State: 20:[36, 30, 26], Operations: ['71-45=26']
Exploring Operation: 36-30=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 20:[26, 6] Operation: 36-30=6
Moving to Node #0,0,0
Current State: 20:[26, 6], Operations: ['71-45=26', '36-30=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
8,
11,
53,
22
] | 78 | [
"11-8=3",
"53+22=75",
"3+75=78"
] | Current State: 78:[8, 11, 53, 22], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [53, 22, 3]
Generated Node #2: [53, 22, 3] from Operation: 11-8=3
Current State: 78:[53, 22, 3], Operations: ['11-8=3']
Exploring Operation: 53+22=75, Resulting Numbers: [3, 75]
Generated Node #3: [3, 75] from Operation: 53+22=75
Current State: 78:[3, 75], Operations: ['11-8=3', '53+22=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[8, 11, 53, 22], Operations: []
Exploring Operation: 53+22=75, Resulting Numbers: [8, 11, 75]
Generated Node #0,0: 78:[8, 11, 75] Operation: 53+22=75
Exploring Operation: 53-11=42, Resulting Numbers: [8, 22, 42]
Generated Node #0,1: 78:[8, 22, 42] Operation: 53-11=42
Exploring Operation: 53-22=31, Resulting Numbers: [8, 11, 31]
Generated Node #0,2: 78:[8, 11, 31] Operation: 53-22=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[8, 11, 75], Operations: ['53+22=75']
Exploring Operation: 8+75=83, Resulting Numbers: [11, 83]
Generated Node #0,0,0: 78:[11, 83] Operation: 8+75=83
Exploring Operation: 8+11=19, Resulting Numbers: [75, 19]
Generated Node #0,0,1: 78:[75, 19] Operation: 8+11=19
Exploring Operation: 11-8=3, Resulting Numbers: [75, 3]
Generated Node #0,0,2: 78:[75, 3] Operation: 11-8=3
Moving to Node #0,0,2
Current State: 78:[75, 3], Operations: ['53+22=75', '11-8=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[8, 11, 53, 22], Operations: []
Exploring Operation: 53+22=75, Resulting Numbers: [8, 11, 75]
Generated Node #0,0: 78:[8, 11, 75] Operation: 53+22=75
Moving to Node #0,0
Current State: 78:[8, 11, 75], Operations: ['53+22=75']
Exploring Operation: 11-8=3, Resulting Numbers: [75, 3]
Generated Node #0,0,2: 78:[75, 3] Operation: 11-8=3
Moving to Node #0,0,2
Current State: 78:[75, 3], Operations: ['53+22=75', '11-8=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
69,
81,
15,
98
] | 67 | [
"69+81=150",
"98-15=83",
"150-83=67"
] | Current State: 67:[69, 81, 15, 98], Operations: []
Exploring Operation: 69+81=150, Resulting Numbers: [15, 98, 150]
Generated Node #2: [15, 98, 150] from Operation: 69+81=150
Current State: 67:[15, 98, 150], Operations: ['69+81=150']
Exploring Operation: 98-15=83, Resulting Numbers: [150, 83]
Generated Node #3: [150, 83] from Operation: 98-15=83
Current State: 67:[150, 83], Operations: ['69+81=150', '98-15=83']
Exploring Operation: 150-83=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[69, 81, 15, 98], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [69, 81, 83]
Generated Node #0,0: 67:[69, 81, 83] Operation: 98-15=83
Moving to Node #0,0
Current State: 67:[69, 81, 83], Operations: ['98-15=83']
Exploring Operation: 83-69=14, Resulting Numbers: [81, 14]
Generated Node #0,0,0: 67:[81, 14] Operation: 83-69=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[81, 14], Operations: ['98-15=83', '83-69=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[69, 81, 15, 98], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [69, 81, 83]
Generated Node #0,0: 67:[69, 81, 83] Operation: 98-15=83
Moving to Node #0,0
Current State: 67:[69, 81, 83], Operations: ['98-15=83']
Exploring Operation: 83-69=14, Resulting Numbers: [81, 14]
Generated Node #0,0,0: 67:[81, 14] Operation: 83-69=14
Moving to Node #0,0,0
Current State: 67:[81, 14], Operations: ['98-15=83', '83-69=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
7,
6,
19,
86
] | 41 | [
"7*19=133",
"6+86=92",
"133-92=41"
] | Current State: 41:[7, 6, 19, 86], Operations: []
Exploring Operation: 7*19=133, Resulting Numbers: [6, 86, 133]
Generated Node #2: [6, 86, 133] from Operation: 7*19=133
Current State: 41:[6, 86, 133], Operations: ['7*19=133']
Exploring Operation: 6+86=92, Resulting Numbers: [133, 92]
Generated Node #3: [133, 92] from Operation: 6+86=92
Current State: 41:[133, 92], Operations: ['7*19=133', '6+86=92']
Exploring Operation: 133-92=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 6, 19, 86], Operations: []
Exploring Operation: 86-7=79, Resulting Numbers: [6, 19, 79]
Generated Node #0,0: 41:[6, 19, 79] Operation: 86-7=79
Exploring Operation: 6+19=25, Resulting Numbers: [7, 86, 25]
Generated Node #0,1: 41:[7, 86, 25] Operation: 6+19=25
Exploring Operation: 7*6=42, Resulting Numbers: [19, 86, 42]
Generated Node #0,2: 41:[19, 86, 42] Operation: 7*6=42
Exploring Operation: 7+6=13, Resulting Numbers: [19, 86, 13]
Generated Node #0,3: 41:[19, 86, 13] Operation: 7+6=13
Exploring Operation: 7+19=26, Resulting Numbers: [6, 86, 26]
Generated Node #0,4: 41:[6, 86, 26] Operation: 7+19=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[19, 86, 42], Operations: ['7*6=42']
Exploring Operation: 19+42=61, Resulting Numbers: [86, 61]
Generated Node #0,2,0: 41:[86, 61] Operation: 19+42=61
Exploring Operation: 86-19=67, Resulting Numbers: [42, 67]
Generated Node #0,2,1: 41:[42, 67] Operation: 86-19=67
Exploring Operation: 19+86=105, Resulting Numbers: [42, 105]
Generated Node #0,2,2: 41:[42, 105] Operation: 19+86=105
Exploring Operation: 42-19=23, Resulting Numbers: [86, 23]
Generated Node #0,2,3: 41:[86, 23] Operation: 42-19=23
Exploring Operation: 86-42=44, Resulting Numbers: [19, 44]
Generated Node #0,2,4: 41:[19, 44] Operation: 86-42=44
Moving to Node #0,2,4
Current State: 41:[19, 44], Operations: ['7*6=42', '86-42=44']
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,41 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[42, 67], Operations: ['7*6=42', '86-19=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[86, 23], Operations: ['7*6=42', '42-19=23']
Exploring Operation: 86*23=1978, Resulting Numbers: [1978]
1978,41 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[86, 61], Operations: ['7*6=42', '19+42=61']
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,41 unequal: No Solution
Exploring Operation: 86*61=5246, Resulting Numbers: [5246]
5246,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[42, 105], Operations: ['7*6=42', '19+86=105']
Exploring Operation: 42*105=4410, Resulting Numbers: [4410]
4410,41 unequal: No Solution
Exploring Operation: 42+105=147, Resulting Numbers: [147]
147,41 unequal: No Solution
Exploring Operation: 105-42=63, Resulting Numbers: [63]
63,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:[6, 19, 79], Operations: ['86-7=79']
Exploring Operation: 79-6=73, Resulting Numbers: [19, 73]
Generated Node #0,0,0: 41:[19, 73] Operation: 79-6=73
Exploring Operation: 6+19=25, Resulting Numbers: [79, 25]
Generated Node #0,0,1: 41:[79, 25] Operation: 6+19=25
Exploring Operation: 6+79=85, Resulting Numbers: [19, 85]
Generated Node #0,0,2: 41:[19, 85] Operation: 6+79=85
Exploring Operation: 19-6=13, Resulting Numbers: [79, 13]
Generated Node #0,0,3: 41:[79, 13] Operation: 19-6=13
Exploring Operation: 79-19=60, Resulting Numbers: [6, 60]
Generated Node #0,0,4: 41:[6, 60] Operation: 79-19=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[19, 73], Operations: ['86-7=79', '79-6=73']
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 19*73=1387, Resulting Numbers: [1387]
1387,41 unequal: No Solution
Exploring Operation: 19+73=92, Resulting Numbers: [92]
92,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[79, 25], Operations: ['86-7=79', '6+19=25']
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,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,4
Current State: 41:[6, 60], Operations: ['86-7=79', '79-19=60']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,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:[19, 85], Operations: ['86-7=79', '6+79=85']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 19*85=1615, Resulting Numbers: [1615]
1615,41 unequal: No Solution
Exploring Operation: 19+85=104, Resulting Numbers: [104]
104,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,3
Current State: 41:[79, 13], Operations: ['86-7=79', '19-6=13']
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,41 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,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:[7, 86, 25], Operations: ['6+19=25']
Exploring Operation: 7+86=93, Resulting Numbers: [25, 93]
Generated Node #0,1,0: 41:[25, 93] Operation: 7+86=93
Exploring Operation: 86-7=79, Resulting Numbers: [25, 79]
Generated Node #0,1,1: 41:[25, 79] Operation: 86-7=79
Exploring Operation: 7+25=32, Resulting Numbers: [86, 32]
Generated Node #0,1,2: 41:[86, 32] Operation: 7+25=32
Exploring Operation: 25-7=18, Resulting Numbers: [86, 18]
Generated Node #0,1,3: 41:[86, 18] Operation: 25-7=18
Exploring Operation: 86-25=61, Resulting Numbers: [7, 61]
Generated Node #0,1,4: 41:[7, 61] Operation: 86-25=61
Moving to Node #0,1,1
Current State: 41:[25, 79], Operations: ['6+19=25', '86-7=79']
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,41 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[7, 61], Operations: ['6+19=25', '86-25=61']
Exploring Operation: 7+61=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 7*61=427, Resulting Numbers: [427]
427,41 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[86, 32], Operations: ['6+19=25', '7+25=32']
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,41 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[25, 93], Operations: ['6+19=25', '7+86=93']
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[86, 18], Operations: ['6+19=25', '25-7=18']
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 86*18=1548, Resulting Numbers: [1548]
1548,41 unequal: No Solution
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,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,3
Current State: 41:[19, 86, 13], Operations: ['7+6=13']
Exploring Operation: 19+13=32, Resulting Numbers: [86, 32]
Generated Node #0,3,0: 41:[86, 32] Operation: 19+13=32
Exploring Operation: 86+13=99, Resulting Numbers: [19, 99]
Generated Node #0,3,1: 41:[19, 99] Operation: 86+13=99
Exploring Operation: 86-19=67, Resulting Numbers: [13, 67]
Generated Node #0,3,2: 41:[13, 67] Operation: 86-19=67
Exploring Operation: 86-13=73, Resulting Numbers: [19, 73]
Generated Node #0,3,3: 41:[19, 73] Operation: 86-13=73
Exploring Operation: 19-13=6, Resulting Numbers: [86, 6]
Generated Node #0,3,4: 41:[86, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 41:[86, 32], Operations: ['7+6=13', '19+13=32']
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,41 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,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,3,2
Current State: 41:[13, 67], Operations: ['7+6=13', '86-19=67']
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,41 unequal: No Solution
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,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,3,3
Current State: 41:[19, 73], Operations: ['7+6=13', '86-13=73']
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 19*73=1387, Resulting Numbers: [1387]
1387,41 unequal: No Solution
Exploring Operation: 19+73=92, Resulting Numbers: [92]
92,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,3,1
Current State: 41:[19, 99], Operations: ['7+6=13', '86+13=99']
Exploring Operation: 19+99=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Exploring Operation: 99-19=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 19*99=1881, Resulting Numbers: [1881]
1881,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,3,4
Current State: 41:[86, 6], Operations: ['7+6=13', '19-13=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,41 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,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,4
Current State: 41:[6, 86, 26], Operations: ['7+19=26']
Exploring Operation: 86-26=60, Resulting Numbers: [6, 60]
Generated Node #0,4,0: 41:[6, 60] Operation: 86-26=60
Exploring Operation: 6+26=32, Resulting Numbers: [86, 32]
Generated Node #0,4,1: 41:[86, 32] Operation: 6+26=32
Exploring Operation: 6+86=92, Resulting Numbers: [26, 92]
Generated Node #0,4,2: 41:[26, 92] Operation: 6+86=92
Exploring Operation: 26-6=20, Resulting Numbers: [86, 20]
Generated Node #0,4,3: 41:[86, 20] Operation: 26-6=20
Exploring Operation: 86-6=80, Resulting Numbers: [26, 80]
Generated Node #0,4,4: 41:[26, 80] Operation: 86-6=80
Moving to Node #0,4,0
Current State: 41:[6, 60], Operations: ['7+19=26', '86-26=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[26, 80], Operations: ['7+19=26', '86-6=80']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[86, 32], Operations: ['7+19=26', '6+26=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[26, 92], Operations: ['7+19=26', '6+86=92']
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 26*92=2392, Resulting Numbers: [2392]
2392,41 unequal: No Solution
Exploring Operation: 26+92=118, Resulting Numbers: [118]
118,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[86, 20], Operations: ['7+19=26', '26-6=20']
Exploring Operation: 86+20=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 86*20=1720, Resulting Numbers: [1720]
1720,41 unequal: No Solution
Exploring Operation: 86-20=66, Resulting Numbers: [66]
66,41 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 |
[
55,
46,
18,
41
] | 42 | [
"55+46=101",
"18+41=59",
"101-59=42"
] | Current State: 42:[55, 46, 18, 41], Operations: []
Exploring Operation: 55+46=101, Resulting Numbers: [18, 41, 101]
Generated Node #2: [18, 41, 101] from Operation: 55+46=101
Current State: 42:[18, 41, 101], Operations: ['55+46=101']
Exploring Operation: 18+41=59, Resulting Numbers: [101, 59]
Generated Node #3: [101, 59] from Operation: 18+41=59
Current State: 42:[101, 59], Operations: ['55+46=101', '18+41=59']
Exploring Operation: 101-59=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[55, 46, 18, 41], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [18, 41, 9]
Generated Node #0,0: 42:[18, 41, 9] Operation: 55-46=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[18, 41, 9], Operations: ['55-46=9']
Exploring Operation: 18/9=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 42:[41, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 42:[41, 2], Operations: ['55-46=9', '18/9=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
18,
27,
56
] | 38 | [
"85-18=67",
"56-27=29",
"67-29=38"
] | Current State: 38:[85, 18, 27, 56], Operations: []
Exploring Operation: 85-18=67, Resulting Numbers: [27, 56, 67]
Generated Node #2: [27, 56, 67] from Operation: 85-18=67
Current State: 38:[27, 56, 67], Operations: ['85-18=67']
Exploring Operation: 56-27=29, Resulting Numbers: [67, 29]
Generated Node #3: [67, 29] from Operation: 56-27=29
Current State: 38:[67, 29], Operations: ['85-18=67', '56-27=29']
Exploring Operation: 67-29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[85, 18, 27, 56], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [18, 27, 29]
Generated Node #0,0: 38:[18, 27, 29] Operation: 85-56=29
Exploring Operation: 85-27=58, Resulting Numbers: [18, 56, 58]
Generated Node #0,1: 38:[18, 56, 58] Operation: 85-27=58
Moving to Node #0,0
Current State: 38:[18, 27, 29], Operations: ['85-56=29']
Exploring Operation: 29-27=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 38:[18, 2] Operation: 29-27=2
Exploring Operation: 18+27=45, Resulting Numbers: [29, 45]
Generated Node #0,0,1: 38:[29, 45] Operation: 18+27=45
Moving to Node #0,1
Current State: 38:[18, 56, 58], Operations: ['85-27=58']
Exploring Operation: 58-56=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 38:[18, 2] Operation: 58-56=2
Exploring Operation: 56-18=38, Resulting Numbers: [58, 38]
Generated Node #0,1,1: 38:[58, 38] Operation: 56-18=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 38:[18, 2], Operations: ['85-27=58', '58-56=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[58, 38], Operations: ['85-27=58', '56-18=38']
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,38 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,38 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: 38:[18, 2], Operations: ['85-56=29', '29-27=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[29, 45], Operations: ['85-56=29', '18+27=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,38 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
30,
20,
40
] | 12 | [
"30-22=8",
"40-20=20",
"20-8=12"
] | Current State: 12:[22, 30, 20, 40], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [20, 40, 8]
Generated Node #2: [20, 40, 8] from Operation: 30-22=8
Current State: 12:[20, 40, 8], Operations: ['30-22=8']
Exploring Operation: 40-20=20, Resulting Numbers: [8, 20]
Generated Node #3: [8, 20] from Operation: 40-20=20
Current State: 12:[8, 20], Operations: ['30-22=8', '40-20=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[22, 30, 20, 40], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [22, 30, 2]
Generated Node #0,0: 12:[22, 30, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [22, 30, 20]
Generated Node #0,1: 12:[22, 30, 20] Operation: 40-20=20
Exploring Operation: 40-22=18, Resulting Numbers: [30, 20, 18]
Generated Node #0,2: 12:[30, 20, 18] Operation: 40-22=18
Exploring Operation: 40-30=10, Resulting Numbers: [22, 20, 10]
Generated Node #0,3: 12:[22, 20, 10] Operation: 40-30=10
Moving to Node #0,3
Current State: 12:[22, 20, 10], Operations: ['40-30=10']
Exploring Operation: 22-10=12, Resulting Numbers: [20, 12]
Generated Node #0,3,0: 12:[20, 12] Operation: 22-10=12
Exploring Operation: 20-10=10, Resulting Numbers: [22, 10]
Generated Node #0,3,1: 12:[22, 10] Operation: 20-10=10
Exploring Operation: 22-20=2, Resulting Numbers: [10, 2]
Generated Node #0,3,2: 12:[10, 2] Operation: 22-20=2
Exploring Operation: 20/10=2, Resulting Numbers: [22, 2]
Generated Node #0,3,3: 12:[22, 2] Operation: 20/10=2
Moving to Node #0,0
Current State: 12:[22, 30, 2], Operations: ['40/20=2']
Exploring Operation: 22/2=11, Resulting Numbers: [30, 11]
Generated Node #0,0,0: 12:[30, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [30, 20]
Generated Node #0,0,1: 12:[30, 20] Operation: 22-2=20
Exploring Operation: 30/2=15, Resulting Numbers: [22, 15]
Generated Node #0,0,2: 12:[22, 15] Operation: 30/2=15
Exploring Operation: 30-22=8, Resulting Numbers: [2, 8]
Generated Node #0,0,3: 12:[2, 8] Operation: 30-22=8
Moving to Node #0,2
Current State: 12:[30, 20, 18], Operations: ['40-22=18']
Exploring Operation: 30-20=10, Resulting Numbers: [18, 10]
Generated Node #0,2,0: 12:[18, 10] Operation: 30-20=10
Exploring Operation: 20-18=2, Resulting Numbers: [30, 2]
Generated Node #0,2,1: 12:[30, 2] Operation: 20-18=2
Exploring Operation: 30-18=12, Resulting Numbers: [20, 12]
Generated Node #0,2,2: 12:[20, 12] Operation: 30-18=12
Exploring Operation: 30+20=50, Resulting Numbers: [18, 50]
Generated Node #0,2,3: 12:[18, 50] Operation: 30+20=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[18, 10], Operations: ['40-22=18', '30-20=10']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[20, 12], Operations: ['40-22=18', '30-18=12']
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,12 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[30, 2], Operations: ['40-22=18', '20-18=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[18, 50], Operations: ['40-22=18', '30+20=50']
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[22, 30, 20], Operations: ['40-20=20']
Exploring Operation: 30-22=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 12:[20, 8] Operation: 30-22=8
Exploring Operation: 22-20=2, Resulting Numbers: [30, 2]
Generated Node #0,1,1: 12:[30, 2] Operation: 22-20=2
Exploring Operation: 30-20=10, Resulting Numbers: [22, 10]
Generated Node #0,1,2: 12:[22, 10] Operation: 30-20=10
Exploring Operation: 22+30=52, Resulting Numbers: [20, 52]
Generated Node #0,1,3: 12:[20, 52] Operation: 22+30=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[20, 8], Operations: ['40-20=20', '30-22=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[22, 30, 20, 40], Operations: []
Exploring Operation: 40-20=20, Resulting Numbers: [22, 30, 20]
Generated Node #0,1: 12:[22, 30, 20] Operation: 40-20=20
Moving to Node #0,1
Current State: 12:[22, 30, 20], Operations: ['40-20=20']
Exploring Operation: 30-22=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 12:[20, 8] Operation: 30-22=8
Moving to Node #0,1,0
Current State: 12:[20, 8], Operations: ['40-20=20', '30-22=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
34,
61,
77,
83
] | 89 | [
"34+61=95",
"83-77=6",
"95-6=89"
] | Current State: 89:[34, 61, 77, 83], Operations: []
Exploring Operation: 34+61=95, Resulting Numbers: [77, 83, 95]
Generated Node #2: [77, 83, 95] from Operation: 34+61=95
Current State: 89:[77, 83, 95], Operations: ['34+61=95']
Exploring Operation: 83-77=6, Resulting Numbers: [95, 6]
Generated Node #3: [95, 6] from Operation: 83-77=6
Current State: 89:[95, 6], Operations: ['34+61=95', '83-77=6']
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[34, 61, 77, 83], Operations: []
Exploring Operation: 34+61=95, Resulting Numbers: [77, 83, 95]
Generated Node #0,0: 89:[77, 83, 95] Operation: 34+61=95
Moving to Node #0,0
Current State: 89:[77, 83, 95], Operations: ['34+61=95']
Exploring Operation: 77+83=160, Resulting Numbers: [95, 160]
Generated Node #0,0,0: 89:[95, 160] Operation: 77+83=160
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[95, 160], Operations: ['34+61=95', '77+83=160']
Exploring Operation: 160-95=65, Resulting Numbers: [65]
65,89 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 |
[
32,
51,
11,
1
] | 17 | [
"32+1=33",
"51*11=561",
"561/33=17"
] | Current State: 17:[32, 51, 11, 1], Operations: []
Exploring Operation: 32+1=33, Resulting Numbers: [51, 11, 33]
Generated Node #2: [51, 11, 33] from Operation: 32+1=33
Current State: 17:[51, 11, 33], Operations: ['32+1=33']
Exploring Operation: 51*11=561, Resulting Numbers: [33, 561]
Generated Node #3: [33, 561] from Operation: 51*11=561
Current State: 17:[33, 561], Operations: ['32+1=33', '51*11=561']
Exploring Operation: 561/33=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[32, 51, 11, 1], Operations: []
Exploring Operation: 51-1=50, Resulting Numbers: [32, 11, 50]
Generated Node #0,0: 17:[32, 11, 50] Operation: 51-1=50
Exploring Operation: 32-11=21, Resulting Numbers: [51, 1, 21]
Generated Node #0,1: 17:[51, 1, 21] Operation: 32-11=21
Exploring Operation: 51-32=19, Resulting Numbers: [11, 1, 19]
Generated Node #0,2: 17:[11, 1, 19] Operation: 51-32=19
Exploring Operation: 32-1=31, Resulting Numbers: [51, 11, 31]
Generated Node #0,3: 17:[51, 11, 31] Operation: 32-1=31
Exploring Operation: 51-11=40, Resulting Numbers: [32, 1, 40]
Generated Node #0,4: 17:[32, 1, 40] Operation: 51-11=40
Moving to Node #0,2
Current State: 17:[11, 1, 19], Operations: ['51-32=19']
Exploring Operation: 11+1=12, Resulting Numbers: [19, 12]
Generated Node #0,2,0: 17:[19, 12] Operation: 11+1=12
Exploring Operation: 11*1=11, Resulting Numbers: [19, 11]
Generated Node #0,2,1: 17:[19, 11] Operation: 11*1=11
Exploring Operation: 19-1=18, Resulting Numbers: [11, 18]
Generated Node #0,2,2: 17:[11, 18] Operation: 19-1=18
Exploring Operation: 1*19=19, Resulting Numbers: [11, 19]
Generated Node #0,2,3: 17:[11, 19] Operation: 1*19=19
Exploring Operation: 11/1=11, Resulting Numbers: [19, 11]
Generated Node #0,2,4: 17:[19, 11] Operation: 11/1=11
Moving to Node #0,1
Current State: 17:[51, 1, 21], Operations: ['32-11=21']
Exploring Operation: 51/1=51, Resulting Numbers: [21, 51]
Generated Node #0,1,0: 17:[21, 51] Operation: 51/1=51
Exploring Operation: 21-1=20, Resulting Numbers: [51, 20]
Generated Node #0,1,1: 17:[51, 20] Operation: 21-1=20
Exploring Operation: 51*1=51, Resulting Numbers: [21, 51]
Generated Node #0,1,2: 17:[21, 51] Operation: 51*1=51
Exploring Operation: 51-21=30, Resulting Numbers: [1, 30]
Generated Node #0,1,3: 17:[1, 30] Operation: 51-21=30
Exploring Operation: 51-1=50, Resulting Numbers: [21, 50]
Generated Node #0,1,4: 17:[21, 50] Operation: 51-1=50
Moving to Node #0,4
Current State: 17:[32, 1, 40], Operations: ['51-11=40']
Exploring Operation: 40-1=39, Resulting Numbers: [32, 39]
Generated Node #0,4,0: 17:[32, 39] Operation: 40-1=39
Exploring Operation: 32*1=32, Resulting Numbers: [40, 32]
Generated Node #0,4,1: 17:[40, 32] Operation: 32*1=32
Exploring Operation: 40-32=8, Resulting Numbers: [1, 8]
Generated Node #0,4,2: 17:[1, 8] Operation: 40-32=8
Exploring Operation: 32/1=32, Resulting Numbers: [40, 32]
Generated Node #0,4,3: 17:[40, 32] Operation: 32/1=32
Exploring Operation: 32-1=31, Resulting Numbers: [40, 31]
Generated Node #0,4,4: 17:[40, 31] Operation: 32-1=31
Moving to Node #0,0
Current State: 17:[32, 11, 50], Operations: ['51-1=50']
Exploring Operation: 50-11=39, Resulting Numbers: [32, 39]
Generated Node #0,0,0: 17:[32, 39] Operation: 50-11=39
Exploring Operation: 32-11=21, Resulting Numbers: [50, 21]
Generated Node #0,0,1: 17:[50, 21] Operation: 32-11=21
Exploring Operation: 11+50=61, Resulting Numbers: [32, 61]
Generated Node #0,0,2: 17:[32, 61] Operation: 11+50=61
Exploring Operation: 50-32=18, Resulting Numbers: [11, 18]
Generated Node #0,0,3: 17:[11, 18] Operation: 50-32=18
Exploring Operation: 32+11=43, Resulting Numbers: [50, 43]
Generated Node #0,0,4: 17:[50, 43] Operation: 32+11=43
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[11, 18], Operations: ['51-1=50', '50-32=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[32, 39], Operations: ['51-1=50', '50-11=39']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,17 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[50, 21], Operations: ['51-1=50', '32-11=21']
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 50*21=1050, Resulting Numbers: [1050]
1050,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[32, 61], Operations: ['51-1=50', '11+50=61']
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,17 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 17:[50, 43], Operations: ['51-1=50', '32+11=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 50*43=2150, Resulting Numbers: [2150]
2150,17 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,17 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: 17:[51, 11, 31], Operations: ['32-1=31']
Exploring Operation: 51-11=40, Resulting Numbers: [31, 40]
Generated Node #0,3,0: 17:[31, 40] Operation: 51-11=40
Exploring Operation: 51+11=62, Resulting Numbers: [31, 62]
Generated Node #0,3,1: 17:[31, 62] Operation: 51+11=62
Exploring Operation: 31-11=20, Resulting Numbers: [51, 20]
Generated Node #0,3,2: 17:[51, 20] Operation: 31-11=20
Exploring Operation: 11+31=42, Resulting Numbers: [51, 42]
Generated Node #0,3,3: 17:[51, 42] Operation: 11+31=42
Exploring Operation: 51-31=20, Resulting Numbers: [11, 20]
Generated Node #0,3,4: 17:[11, 20] Operation: 51-31=20
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 17:[11, 20], Operations: ['32-1=31', '51-31=20']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[31, 40], Operations: ['32-1=31', '51-11=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[51, 20], Operations: ['32-1=31', '31-11=20']
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[31, 62], Operations: ['32-1=31', '51+11=62']
Exploring Operation: 31*62=1922, Resulting Numbers: [1922]
1922,17 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,17 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[51, 42], Operations: ['32-1=31', '11+31=42']
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,17 unequal: No Solution
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 17:[19, 12], Operations: ['51-32=19', '11+1=12']
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,17 unequal: No Solution
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[11, 18], Operations: ['51-32=19', '19-1=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,17 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[19, 11], Operations: ['51-32=19', '11*1=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,17 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Moving to Node #0,2,4
Current State: 17:[19, 11], Operations: ['51-32=19', '11/1=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[11, 19], Operations: ['51-32=19', '1*19=19']
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,17 unequal: No Solution
Moving to Node #0,4,2
Current State: 17:[1, 8], Operations: ['51-11=40', '40-32=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[1, 30], Operations: ['32-11=21', '51-21=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[51, 20], Operations: ['32-11=21', '21-1=20']
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,17 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Moving to Node #0,4,4
Current State: 17:[40, 31], Operations: ['51-11=40', '32-1=31']
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,17 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Moving to Node #0,4,0
Current State: 17:[32, 39], Operations: ['51-11=40', '40-1=39']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,17 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Moving to Node #0,1,4
Current State: 17:[21, 50], Operations: ['32-11=21', '51-1=50']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,17 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Moving to Node #0,4,3
Current State: 17:[40, 32], Operations: ['51-11=40', '32/1=32']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,17 unequal: No Solution
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[21, 51], Operations: ['32-11=21', '51/1=51']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,17 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[21, 51], Operations: ['32-11=21', '51*1=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,17 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Moving to Node #0,4,1
Current State: 17:[40, 32], Operations: ['51-11=40', '32*1=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,17 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
99,
90,
80,
11
] | 77 | [
"99*80=7920",
"7920/90=88",
"88-11=77"
] | Current State: 77:[99, 90, 80, 11], Operations: []
Exploring Operation: 99*80=7920, Resulting Numbers: [90, 11, 7920]
Generated Node #2: [90, 11, 7920] from Operation: 99*80=7920
Current State: 77:[90, 11, 7920], Operations: ['99*80=7920']
Exploring Operation: 7920/90=88, Resulting Numbers: [11, 88]
Generated Node #3: [11, 88] from Operation: 7920/90=88
Current State: 77:[11, 88], Operations: ['99*80=7920', '7920/90=88']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[99, 90, 80, 11], Operations: []
Exploring Operation: 99-11=88, Resulting Numbers: [90, 80, 88]
Generated Node #0,0: 77:[90, 80, 88] Operation: 99-11=88
Exploring Operation: 99-80=19, Resulting Numbers: [90, 11, 19]
Generated Node #0,1: 77:[90, 11, 19] Operation: 99-80=19
Exploring Operation: 90-80=10, Resulting Numbers: [99, 11, 10]
Generated Node #0,2: 77:[99, 11, 10] Operation: 90-80=10
Exploring Operation: 99/11=9, Resulting Numbers: [90, 80, 9]
Generated Node #0,3: 77:[90, 80, 9] Operation: 99/11=9
Exploring Operation: 99-90=9, Resulting Numbers: [80, 11, 9]
Generated Node #0,4: 77:[80, 11, 9] Operation: 99-90=9
Moving to Node #0,4
Current State: 77:[80, 11, 9], Operations: ['99-90=9']
Exploring Operation: 80-9=71, Resulting Numbers: [11, 71]
Generated Node #0,4,0: 77:[11, 71] Operation: 80-9=71
Exploring Operation: 11+9=20, Resulting Numbers: [80, 20]
Generated Node #0,4,1: 77:[80, 20] Operation: 11+9=20
Exploring Operation: 80+9=89, Resulting Numbers: [11, 89]
Generated Node #0,4,2: 77:[11, 89] Operation: 80+9=89
Exploring Operation: 11-9=2, Resulting Numbers: [80, 2]
Generated Node #0,4,3: 77:[80, 2] Operation: 11-9=2
Exploring Operation: 80-11=69, Resulting Numbers: [9, 69]
Generated Node #0,4,4: 77:[9, 69] Operation: 80-11=69
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[11, 71], Operations: ['99-90=9', '80-9=71']
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,77 unequal: No Solution
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,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,4,3
Current State: 77:[80, 2], Operations: ['99-90=9', '11-9=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,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,4,4
Current State: 77:[9, 69], Operations: ['99-90=9', '80-11=69']
Exploring Operation: 9*69=621, Resulting Numbers: [621]
621,77 unequal: No Solution
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,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,4,1
Current State: 77:[80, 20], Operations: ['99-90=9', '11+9=20']
Exploring Operation: 80*20=1600, Resulting Numbers: [1600]
1600,77 unequal: No Solution
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Exploring Operation: 80/20=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 80+20=100, Resulting Numbers: [100]
100,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,4,2
Current State: 77:[11, 89], Operations: ['99-90=9', '80+9=89']
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 11+89=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 11*89=979, Resulting Numbers: [979]
979,77 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: 77:[90, 80, 9], Operations: ['99/11=9']
Exploring Operation: 90-9=81, Resulting Numbers: [80, 81]
Generated Node #0,3,0: 77:[80, 81] Operation: 90-9=81
Exploring Operation: 90+9=99, Resulting Numbers: [80, 99]
Generated Node #0,3,1: 77:[80, 99] Operation: 90+9=99
Exploring Operation: 90-80=10, Resulting Numbers: [9, 10]
Generated Node #0,3,2: 77:[9, 10] Operation: 90-80=10
Exploring Operation: 80-9=71, Resulting Numbers: [90, 71]
Generated Node #0,3,3: 77:[90, 71] Operation: 80-9=71
Exploring Operation: 90/9=10, Resulting Numbers: [80, 10]
Generated Node #0,3,4: 77:[80, 10] Operation: 90/9=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[9, 10], Operations: ['99/11=9', '90-80=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,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,3,4
Current State: 77:[80, 10], Operations: ['99/11=9', '90/9=10']
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,77 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,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,3,0
Current State: 77:[80, 81], Operations: ['99/11=9', '90-9=81']
Exploring Operation: 80*81=6480, Resulting Numbers: [6480]
6480,77 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 80+81=161, Resulting Numbers: [161]
161,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,3,3
Current State: 77:[90, 71], Operations: ['99/11=9', '80-9=71']
Exploring Operation: 90+71=161, Resulting Numbers: [161]
161,77 unequal: No Solution
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 90*71=6390, Resulting Numbers: [6390]
6390,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,3,1
Current State: 77:[80, 99], Operations: ['99/11=9', '90+9=99']
Exploring Operation: 80+99=179, Resulting Numbers: [179]
179,77 unequal: No Solution
Exploring Operation: 99-80=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 80*99=7920, Resulting Numbers: [7920]
7920,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:[90, 11, 19], Operations: ['99-80=19']
Exploring Operation: 19-11=8, Resulting Numbers: [90, 8]
Generated Node #0,1,0: 77:[90, 8] Operation: 19-11=8
Exploring Operation: 90-11=79, Resulting Numbers: [19, 79]
Generated Node #0,1,1: 77:[19, 79] Operation: 90-11=79
Exploring Operation: 90+19=109, Resulting Numbers: [11, 109]
Generated Node #0,1,2: 77:[11, 109] Operation: 90+19=109
Exploring Operation: 90-19=71, Resulting Numbers: [11, 71]
Generated Node #0,1,3: 77:[11, 71] Operation: 90-19=71
Exploring Operation: 90+11=101, Resulting Numbers: [19, 101]
Generated Node #0,1,4: 77:[19, 101] Operation: 90+11=101
Moving to Node #0,2
Current State: 77:[99, 11, 10], Operations: ['90-80=10']
Exploring Operation: 99/11=9, Resulting Numbers: [10, 9]
Generated Node #0,2,0: 77:[10, 9] Operation: 99/11=9
Exploring Operation: 11-10=1, Resulting Numbers: [99, 1]
Generated Node #0,2,1: 77:[99, 1] Operation: 11-10=1
Exploring Operation: 99-11=88, Resulting Numbers: [10, 88]
Generated Node #0,2,2: 77:[10, 88] Operation: 99-11=88
Exploring Operation: 99-10=89, Resulting Numbers: [11, 89]
Generated Node #0,2,3: 77:[11, 89] Operation: 99-10=89
Exploring Operation: 99+10=109, Resulting Numbers: [11, 109]
Generated Node #0,2,4: 77:[11, 109] Operation: 99+10=109
Moving to Node #0,0
Current State: 77:[90, 80, 88], Operations: ['99-11=88']
Exploring Operation: 90+80=170, Resulting Numbers: [88, 170]
Generated Node #0,0,0: 77:[88, 170] Operation: 90+80=170
Exploring Operation: 90+88=178, Resulting Numbers: [80, 178]
Generated Node #0,0,1: 77:[80, 178] Operation: 90+88=178
Exploring Operation: 90-80=10, Resulting Numbers: [88, 10]
Generated Node #0,0,2: 77:[88, 10] Operation: 90-80=10
Exploring Operation: 90-88=2, Resulting Numbers: [80, 2]
Generated Node #0,0,3: 77:[80, 2] Operation: 90-88=2
Exploring Operation: 88-80=8, Resulting Numbers: [90, 8]
Generated Node #0,0,4: 77:[90, 8] Operation: 88-80=8
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[80, 2], Operations: ['99-11=88', '90-88=2']
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[88, 10], Operations: ['99-11=88', '90-80=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,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,4
Current State: 77:[90, 8], Operations: ['99-11=88', '88-80=8']
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,77 unequal: No Solution
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,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:[88, 170], Operations: ['99-11=88', '90+80=170']
Exploring Operation: 88*170=14960, Resulting Numbers: [14960]
14960,77 unequal: No Solution
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 88+170=258, Resulting Numbers: [258]
258,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[80, 178], Operations: ['99-11=88', '90+88=178']
Exploring Operation: 178-80=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 80+178=258, Resulting Numbers: [258]
258,77 unequal: No Solution
Exploring Operation: 80*178=14240, Resulting Numbers: [14240]
14240,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 77:[10, 9], Operations: ['90-80=10', '99/11=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[11, 71], Operations: ['99-80=19', '90-19=71']
Exploring Operation: 11+71=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 11*71=781, Resulting Numbers: [781]
781,77 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[19, 79], Operations: ['99-80=19', '90-11=79']
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,77 unequal: No Solution
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[10, 88], Operations: ['90-80=10', '99-11=88']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 10*88=880, Resulting Numbers: [880]
880,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[11, 89], Operations: ['90-80=10', '99-10=89']
Exploring Operation: 11+89=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 11*89=979, Resulting Numbers: [979]
979,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[90, 8], Operations: ['99-80=19', '19-11=8']
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,77 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[99, 1], Operations: ['90-80=10', '11-10=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,77 unequal: No Solution
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[11, 109], Operations: ['99-80=19', '90+19=109']
Exploring Operation: 109-11=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 11+109=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Exploring Operation: 11*109=1199, Resulting Numbers: [1199]
1199,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[11, 109], Operations: ['90-80=10', '99+10=109']
Exploring Operation: 109-11=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 11*109=1199, Resulting Numbers: [1199]
1199,77 unequal: No Solution
Exploring Operation: 11+109=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[19, 101], Operations: ['99-80=19', '90+11=101']
Exploring Operation: 101-19=82, Resulting Numbers: [82]
82,77 unequal: No Solution
Exploring Operation: 19+101=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Exploring Operation: 19*101=1919, Resulting Numbers: [1919]
1919,77 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
62,
38,
45,
33
] | 85 | [
"62-45=17",
"38-33=5",
"17*5=85"
] | Current State: 85:[62, 38, 45, 33], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [38, 33, 17]
Generated Node #2: [38, 33, 17] from Operation: 62-45=17
Current State: 85:[38, 33, 17], Operations: ['62-45=17']
Exploring Operation: 38-33=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 38-33=5
Current State: 85:[17, 5], Operations: ['62-45=17', '38-33=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[62, 38, 45, 33], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [38, 33, 17]
Generated Node #0,0: 85:[38, 33, 17] Operation: 62-45=17
Exploring Operation: 38+45=83, Resulting Numbers: [62, 33, 83]
Generated Node #0,1: 85:[62, 33, 83] Operation: 38+45=83
Exploring Operation: 45-33=12, Resulting Numbers: [62, 38, 12]
Generated Node #0,2: 85:[62, 38, 12] Operation: 45-33=12
Exploring Operation: 45-38=7, Resulting Numbers: [62, 33, 7]
Generated Node #0,3: 85:[62, 33, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[38, 33, 17], Operations: ['62-45=17']
Exploring Operation: 38-17=21, Resulting Numbers: [33, 21]
Generated Node #0,0,0: 85:[33, 21] Operation: 38-17=21
Exploring Operation: 38-33=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 85:[17, 5] Operation: 38-33=5
Exploring Operation: 33-17=16, Resulting Numbers: [38, 16]
Generated Node #0,0,2: 85:[38, 16] Operation: 33-17=16
Exploring Operation: 38+33=71, Resulting Numbers: [17, 71]
Generated Node #0,0,3: 85:[17, 71] Operation: 38+33=71
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[17, 5], Operations: ['62-45=17', '38-33=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[62, 38, 45, 33], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [38, 33, 17]
Generated Node #0,0: 85:[38, 33, 17] Operation: 62-45=17
Moving to Node #0,0
Current State: 85:[38, 33, 17], Operations: ['62-45=17']
Exploring Operation: 38-33=5, Resulting Numbers: [17, 5]
Generated Node #0,0,1: 85:[17, 5] Operation: 38-33=5
Moving to Node #0,0,1
Current State: 85:[17, 5], Operations: ['62-45=17', '38-33=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
51,
59,
47,
80
] | 57 | [
"59-51=8",
"80/8=10",
"47+10=57"
] | Current State: 57:[51, 59, 47, 80], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [47, 80, 8]
Generated Node #2: [47, 80, 8] from Operation: 59-51=8
Current State: 57:[47, 80, 8], Operations: ['59-51=8']
Exploring Operation: 80/8=10, Resulting Numbers: [47, 10]
Generated Node #3: [47, 10] from Operation: 80/8=10
Current State: 57:[47, 10], Operations: ['59-51=8', '80/8=10']
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[51, 59, 47, 80], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [51, 59, 33]
Generated Node #0,0: 57:[51, 59, 33] Operation: 80-47=33
Exploring Operation: 80-59=21, Resulting Numbers: [51, 47, 21]
Generated Node #0,1: 57:[51, 47, 21] Operation: 80-59=21
Exploring Operation: 80-51=29, Resulting Numbers: [59, 47, 29]
Generated Node #0,2: 57:[59, 47, 29] Operation: 80-51=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[51, 47, 21], Operations: ['80-59=21']
Exploring Operation: 51-47=4, Resulting Numbers: [21, 4]
Generated Node #0,1,0: 57:[21, 4] Operation: 51-47=4
Exploring Operation: 47-21=26, Resulting Numbers: [51, 26]
Generated Node #0,1,1: 57:[51, 26] Operation: 47-21=26
Exploring Operation: 47+21=68, Resulting Numbers: [51, 68]
Generated Node #0,1,2: 57:[51, 68] Operation: 47+21=68
Moving to Node #0,1,0
Current State: 57:[21, 4], Operations: ['80-59=21', '51-47=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[51, 26], Operations: ['80-59=21', '47-21=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,57 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[51, 68], Operations: ['80-59=21', '47+21=68']
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,57 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[51, 59, 33], Operations: ['80-47=33']
Exploring Operation: 51-33=18, Resulting Numbers: [59, 18]
Generated Node #0,0,0: 57:[59, 18] Operation: 51-33=18
Exploring Operation: 59-33=26, Resulting Numbers: [51, 26]
Generated Node #0,0,1: 57:[51, 26] Operation: 59-33=26
Exploring Operation: 59-51=8, Resulting Numbers: [33, 8]
Generated Node #0,0,2: 57:[33, 8] Operation: 59-51=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[59, 18], Operations: ['80-47=33', '51-33=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,57 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,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:[51, 26], Operations: ['80-47=33', '59-33=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,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,2
Current State: 57:[33, 8], Operations: ['80-47=33', '59-51=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,57 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,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,2
Current State: 57:[59, 47, 29], Operations: ['80-51=29']
Exploring Operation: 59-47=12, Resulting Numbers: [29, 12]
Generated Node #0,2,0: 57:[29, 12] Operation: 59-47=12
Exploring Operation: 47-29=18, Resulting Numbers: [59, 18]
Generated Node #0,2,1: 57:[59, 18] Operation: 47-29=18
Exploring Operation: 59-29=30, Resulting Numbers: [47, 30]
Generated Node #0,2,2: 57:[47, 30] Operation: 59-29=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[59, 18], Operations: ['80-51=29', '47-29=18']
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,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,2,0
Current State: 57:[29, 12], Operations: ['80-51=29', '59-47=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,57 unequal: No Solution
Exploring Operation: 29-12=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,2,2
Current State: 57:[47, 30], Operations: ['80-51=29', '59-29=30']
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,57 unequal: No Solution
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,57 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
27,
28,
38
] | 46 | [
"28/14=2",
"38/2=19",
"27+19=46"
] | Current State: 46:[14, 27, 28, 38], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [27, 38, 2]
Generated Node #2: [27, 38, 2] from Operation: 28/14=2
Current State: 46:[27, 38, 2], Operations: ['28/14=2']
Exploring Operation: 38/2=19, Resulting Numbers: [27, 19]
Generated Node #3: [27, 19] from Operation: 38/2=19
Current State: 46:[27, 19], Operations: ['28/14=2', '38/2=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[14, 27, 28, 38], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [27, 38, 2]
Generated Node #0,0: 46:[27, 38, 2] Operation: 28/14=2
Exploring Operation: 38-14=24, Resulting Numbers: [27, 28, 24]
Generated Node #0,1: 46:[27, 28, 24] Operation: 38-14=24
Moving to Node #0,1
Current State: 46:[27, 28, 24], Operations: ['38-14=24']
Exploring Operation: 28-27=1, Resulting Numbers: [24, 1]
Generated Node #0,1,0: 46:[24, 1] Operation: 28-27=1
Exploring Operation: 27-24=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 46:[28, 3] Operation: 27-24=3
Moving to Node #0,0
Current State: 46:[27, 38, 2], Operations: ['28/14=2']
Exploring Operation: 38-27=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 46:[2, 11] Operation: 38-27=11
Exploring Operation: 38/2=19, Resulting Numbers: [27, 19]
Generated Node #0,0,1: 46:[27, 19] Operation: 38/2=19
Moving to Node #0,1,0
Current State: 46:[24, 1], Operations: ['38-14=24', '28-27=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[28, 3], Operations: ['38-14=24', '27-24=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[27, 19], Operations: ['28/14=2', '38/2=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[14, 27, 28, 38], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [27, 38, 2]
Generated Node #0,0: 46:[27, 38, 2] Operation: 28/14=2
Moving to Node #0,0
Current State: 46:[27, 38, 2], Operations: ['28/14=2']
Exploring Operation: 38/2=19, Resulting Numbers: [27, 19]
Generated Node #0,0,1: 46:[27, 19] Operation: 38/2=19
Moving to Node #0,0,1
Current State: 46:[27, 19], Operations: ['28/14=2', '38/2=19']
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
56,
36,
72,
80
] | 60 | [
"56+36=92",
"72+80=152",
"152-92=60"
] | Current State: 60:[56, 36, 72, 80], Operations: []
Exploring Operation: 56+36=92, Resulting Numbers: [72, 80, 92]
Generated Node #2: [72, 80, 92] from Operation: 56+36=92
Current State: 60:[72, 80, 92], Operations: ['56+36=92']
Exploring Operation: 72+80=152, Resulting Numbers: [92, 152]
Generated Node #3: [92, 152] from Operation: 72+80=152
Current State: 60:[92, 152], Operations: ['56+36=92', '72+80=152']
Exploring Operation: 152-92=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[56, 36, 72, 80], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [56, 36, 8]
Generated Node #0,0: 60:[56, 36, 8] Operation: 80-72=8
Exploring Operation: 72/36=2, Resulting Numbers: [56, 80, 2]
Generated Node #0,1: 60:[56, 80, 2] Operation: 72/36=2
Exploring Operation: 80-56=24, Resulting Numbers: [36, 72, 24]
Generated Node #0,2: 60:[36, 72, 24] Operation: 80-56=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[56, 36, 8], Operations: ['80-72=8']
Exploring Operation: 56/8=7, Resulting Numbers: [36, 7]
Generated Node #0,0,0: 60:[36, 7] Operation: 56/8=7
Exploring Operation: 56-36=20, Resulting Numbers: [8, 20]
Generated Node #0,0,1: 60:[8, 20] Operation: 56-36=20
Exploring Operation: 36-8=28, Resulting Numbers: [56, 28]
Generated Node #0,0,2: 60:[56, 28] Operation: 36-8=28
Moving to Node #0,0,1
Current State: 60:[8, 20], Operations: ['80-72=8', '56-36=20']
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[56, 28], Operations: ['80-72=8', '36-8=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[36, 7], Operations: ['80-72=8', '56/8=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,60 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[36, 72, 24], Operations: ['80-56=24']
Exploring Operation: 72/36=2, Resulting Numbers: [24, 2]
Generated Node #0,2,0: 60:[24, 2] Operation: 72/36=2
Exploring Operation: 72/24=3, Resulting Numbers: [36, 3]
Generated Node #0,2,1: 60:[36, 3] Operation: 72/24=3
Exploring Operation: 72-36=36, Resulting Numbers: [24, 36]
Generated Node #0,2,2: 60:[24, 36] Operation: 72-36=36
Moving to Node #0,2,0
Current State: 60:[24, 2], Operations: ['80-56=24', '72/36=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[36, 3], Operations: ['80-56=24', '72/24=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[24, 36], Operations: ['80-56=24', '72-36=36']
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,60 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[56, 36, 72, 80], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [36, 72, 24]
Generated Node #0,2: 60:[36, 72, 24] Operation: 80-56=24
Moving to Node #0,2
Current State: 60:[36, 72, 24], Operations: ['80-56=24']
Exploring Operation: 72-36=36, Resulting Numbers: [24, 36]
Generated Node #0,2,2: 60:[24, 36] Operation: 72-36=36
Moving to Node #0,2,2
Current State: 60:[24, 36], Operations: ['80-56=24', '72-36=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
75,
21,
74,
93
] | 71 | [
"75+21=96",
"74+93=167",
"167-96=71"
] | Current State: 71:[75, 21, 74, 93], Operations: []
Exploring Operation: 75+21=96, Resulting Numbers: [74, 93, 96]
Generated Node #2: [74, 93, 96] from Operation: 75+21=96
Current State: 71:[74, 93, 96], Operations: ['75+21=96']
Exploring Operation: 74+93=167, Resulting Numbers: [96, 167]
Generated Node #3: [96, 167] from Operation: 74+93=167
Current State: 71:[96, 167], Operations: ['75+21=96', '74+93=167']
Exploring Operation: 167-96=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[75, 21, 74, 93], Operations: []
Exploring Operation: 74-21=53, Resulting Numbers: [75, 93, 53]
Generated Node #0,0: 71:[75, 93, 53] Operation: 74-21=53
Exploring Operation: 75-21=54, Resulting Numbers: [74, 93, 54]
Generated Node #0,1: 71:[74, 93, 54] Operation: 75-21=54
Exploring Operation: 93-21=72, Resulting Numbers: [75, 74, 72]
Generated Node #0,2: 71:[75, 74, 72] Operation: 93-21=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[75, 74, 72], Operations: ['93-21=72']
Exploring Operation: 74-72=2, Resulting Numbers: [75, 2]
Generated Node #0,2,0: 71:[75, 2] Operation: 74-72=2
Exploring Operation: 75-72=3, Resulting Numbers: [74, 3]
Generated Node #0,2,1: 71:[74, 3] Operation: 75-72=3
Exploring Operation: 75-74=1, Resulting Numbers: [72, 1]
Generated Node #0,2,2: 71:[72, 1] Operation: 75-74=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[74, 3], Operations: ['93-21=72', '75-72=3']
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,71 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[75, 21, 74, 93], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [75, 74, 72]
Generated Node #0,2: 71:[75, 74, 72] Operation: 93-21=72
Moving to Node #0,2
Current State: 71:[75, 74, 72], Operations: ['93-21=72']
Exploring Operation: 75-72=3, Resulting Numbers: [74, 3]
Generated Node #0,2,1: 71:[74, 3] Operation: 75-72=3
Moving to Node #0,2,1
Current State: 71:[74, 3], Operations: ['93-21=72', '75-72=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
13,
20,
84,
70
] | 11 | [
"20*84=1680",
"1680/70=24",
"24-13=11"
] | Current State: 11:[13, 20, 84, 70], Operations: []
Exploring Operation: 20*84=1680, Resulting Numbers: [13, 70, 1680]
Generated Node #2: [13, 70, 1680] from Operation: 20*84=1680
Current State: 11:[13, 70, 1680], Operations: ['20*84=1680']
Exploring Operation: 1680/70=24, Resulting Numbers: [13, 24]
Generated Node #3: [13, 24] from Operation: 1680/70=24
Current State: 11:[13, 24], Operations: ['20*84=1680', '1680/70=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[13, 20, 84, 70], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [13, 70, 64]
Generated Node #0,0: 11:[13, 70, 64] Operation: 84-20=64
Exploring Operation: 84-70=14, Resulting Numbers: [13, 20, 14]
Generated Node #0,1: 11:[13, 20, 14] Operation: 84-70=14
Moving to Node #0,1
Current State: 11:[13, 20, 14], Operations: ['84-70=14']
Exploring Operation: 20-14=6, Resulting Numbers: [13, 6]
Generated Node #0,1,0: 11:[13, 6] Operation: 20-14=6
Exploring Operation: 20-13=7, Resulting Numbers: [14, 7]
Generated Node #0,1,1: 11:[14, 7] Operation: 20-13=7
Moving to Node #0,0
Current State: 11:[13, 70, 64], Operations: ['84-20=64']
Exploring Operation: 70-13=57, Resulting Numbers: [64, 57]
Generated Node #0,0,0: 11:[64, 57] Operation: 70-13=57
Exploring Operation: 70-64=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 11:[13, 6] Operation: 70-64=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[13, 6], Operations: ['84-20=64', '70-64=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[64, 57], Operations: ['84-20=64', '70-13=57']
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,11 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: 11:[13, 6], Operations: ['84-70=14', '20-14=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[14, 7], Operations: ['84-70=14', '20-13=7']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,11 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
41,
37,
76
] | 80 | [
"82-41=41",
"76-37=39",
"41+39=80"
] | Current State: 80:[82, 41, 37, 76], Operations: []
Exploring Operation: 82-41=41, Resulting Numbers: [37, 76, 41]
Generated Node #2: [37, 76, 41] from Operation: 82-41=41
Current State: 80:[37, 76, 41], Operations: ['82-41=41']
Exploring Operation: 76-37=39, Resulting Numbers: [41, 39]
Generated Node #3: [41, 39] from Operation: 76-37=39
Current State: 80:[41, 39], Operations: ['82-41=41', '76-37=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[82, 41, 37, 76], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [82, 41, 39]
Generated Node #0,0: 80:[82, 41, 39] Operation: 76-37=39
Exploring Operation: 82-41=41, Resulting Numbers: [37, 76, 41]
Generated Node #0,1: 80:[37, 76, 41] Operation: 82-41=41
Exploring Operation: 41-37=4, Resulting Numbers: [82, 76, 4]
Generated Node #0,2: 80:[82, 76, 4] Operation: 41-37=4
Exploring Operation: 82-76=6, Resulting Numbers: [41, 37, 6]
Generated Node #0,3: 80:[41, 37, 6] Operation: 82-76=6
Exploring Operation: 82/41=2, Resulting Numbers: [37, 76, 2]
Generated Node #0,4: 80:[37, 76, 2] Operation: 82/41=2
Moving to Node #0,0
Current State: 80:[82, 41, 39], Operations: ['76-37=39']
Exploring Operation: 82-39=43, Resulting Numbers: [41, 43]
Generated Node #0,0,0: 80:[41, 43] Operation: 82-39=43
Exploring Operation: 41+39=80, Resulting Numbers: [82, 80]
Generated Node #0,0,1: 80:[82, 80] Operation: 41+39=80
Exploring Operation: 41-39=2, Resulting Numbers: [82, 2]
Generated Node #0,0,2: 80:[82, 2] Operation: 41-39=2
Exploring Operation: 82-41=41, Resulting Numbers: [39, 41]
Generated Node #0,0,3: 80:[39, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [39, 2]
Generated Node #0,0,4: 80:[39, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[39, 2], Operations: ['76-37=39', '82/41=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,80 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,80 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[82, 80], Operations: ['76-37=39', '41+39=80']
Exploring Operation: 82*80=6560, Resulting Numbers: [6560]
6560,80 unequal: No Solution
Exploring Operation: 82+80=162, Resulting Numbers: [162]
162,80 unequal: No Solution
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[82, 2], Operations: ['76-37=39', '41-39=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[82, 41, 37, 76], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [82, 41, 39]
Generated Node #0,0: 80:[82, 41, 39] Operation: 76-37=39
Moving to Node #0,0
Current State: 80:[82, 41, 39], Operations: ['76-37=39']
Exploring Operation: 41-39=2, Resulting Numbers: [82, 2]
Generated Node #0,0,2: 80:[82, 2] Operation: 41-39=2
Moving to Node #0,0,2
Current State: 80:[82, 2], Operations: ['76-37=39', '41-39=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
22,
1,
34,
97
] | 84 | [
"22-1=21",
"97-34=63",
"21+63=84"
] | Current State: 84:[22, 1, 34, 97], Operations: []
Exploring Operation: 22-1=21, Resulting Numbers: [34, 97, 21]
Generated Node #2: [34, 97, 21] from Operation: 22-1=21
Current State: 84:[34, 97, 21], Operations: ['22-1=21']
Exploring Operation: 97-34=63, Resulting Numbers: [21, 63]
Generated Node #3: [21, 63] from Operation: 97-34=63
Current State: 84:[21, 63], Operations: ['22-1=21', '97-34=63']
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[22, 1, 34, 97], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [1, 97, 12]
Generated Node #0,0: 84:[1, 97, 12] Operation: 34-22=12
Exploring Operation: 22-1=21, Resulting Numbers: [34, 97, 21]
Generated Node #0,1: 84:[34, 97, 21] Operation: 22-1=21
Exploring Operation: 97-22=75, Resulting Numbers: [1, 34, 75]
Generated Node #0,2: 84:[1, 34, 75] Operation: 97-22=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[1, 97, 12], Operations: ['34-22=12']
Exploring Operation: 97-1=96, Resulting Numbers: [12, 96]
Generated Node #0,0,0: 84:[12, 96] Operation: 97-1=96
Exploring Operation: 97-12=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 84:[1, 85] Operation: 97-12=85
Exploring Operation: 1*97=97, Resulting Numbers: [12, 97]
Generated Node #0,0,2: 84:[12, 97] Operation: 1*97=97
Moving to Node #0,0,1
Current State: 84:[1, 85], Operations: ['34-22=12', '97-12=85']
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[22, 1, 34, 97], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [1, 97, 12]
Generated Node #0,0: 84:[1, 97, 12] Operation: 34-22=12
Moving to Node #0,0
Current State: 84:[1, 97, 12], Operations: ['34-22=12']
Exploring Operation: 97-12=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 84:[1, 85] Operation: 97-12=85
Moving to Node #0,0,1
Current State: 84:[1, 85], Operations: ['34-22=12', '97-12=85']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
47,
48,
9,
74
] | 45 | [
"74-47=27",
"27/9=3",
"48-3=45"
] | Current State: 45:[47, 48, 9, 74], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [48, 9, 27]
Generated Node #2: [48, 9, 27] from Operation: 74-47=27
Current State: 45:[48, 9, 27], Operations: ['74-47=27']
Exploring Operation: 27/9=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 27/9=3
Current State: 45:[48, 3], Operations: ['74-47=27', '27/9=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[47, 48, 9, 74], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [47, 9, 26]
Generated Node #0,0: 45:[47, 9, 26] Operation: 74-48=26
Exploring Operation: 74-9=65, Resulting Numbers: [47, 48, 65]
Generated Node #0,1: 45:[47, 48, 65] Operation: 74-9=65
Exploring Operation: 74-47=27, Resulting Numbers: [48, 9, 27]
Generated Node #0,2: 45:[48, 9, 27] Operation: 74-47=27
Moving to Node #0,0
Current State: 45:[47, 9, 26], Operations: ['74-48=26']
Exploring Operation: 26-9=17, Resulting Numbers: [47, 17]
Generated Node #0,0,0: 45:[47, 17] Operation: 26-9=17
Exploring Operation: 47-26=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 45:[9, 21] Operation: 47-26=21
Exploring Operation: 9+26=35, Resulting Numbers: [47, 35]
Generated Node #0,0,2: 45:[47, 35] Operation: 9+26=35
Moving to Node #0,2
Current State: 45:[48, 9, 27], Operations: ['74-47=27']
Exploring Operation: 48-27=21, Resulting Numbers: [9, 21]
Generated Node #0,2,0: 45:[9, 21] Operation: 48-27=21
Exploring Operation: 27/9=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 45:[48, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [48, 18]
Generated Node #0,2,2: 45:[48, 18] Operation: 27-9=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[48, 3], Operations: ['74-47=27', '27/9=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[47, 48, 9, 74], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [48, 9, 27]
Generated Node #0,2: 45:[48, 9, 27] Operation: 74-47=27
Moving to Node #0,2
Current State: 45:[48, 9, 27], Operations: ['74-47=27']
Exploring Operation: 27/9=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 45:[48, 3] Operation: 27/9=3
Moving to Node #0,2,1
Current State: 45:[48, 3], Operations: ['74-47=27', '27/9=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
40,
96,
65,
95
] | 100 | [
"65+95=160",
"160/40=4",
"96+4=100"
] | Current State: 100:[40, 96, 65, 95], Operations: []
Exploring Operation: 65+95=160, Resulting Numbers: [40, 96, 160]
Generated Node #2: [40, 96, 160] from Operation: 65+95=160
Current State: 100:[40, 96, 160], Operations: ['65+95=160']
Exploring Operation: 160/40=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 160/40=4
Current State: 100:[96, 4], Operations: ['65+95=160', '160/40=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[40, 96, 65, 95], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [40, 95, 31]
Generated Node #0,0: 100:[40, 95, 31] Operation: 96-65=31
Exploring Operation: 40+65=105, Resulting Numbers: [96, 95, 105]
Generated Node #0,1: 100:[96, 95, 105] Operation: 40+65=105
Exploring Operation: 65-40=25, Resulting Numbers: [96, 95, 25]
Generated Node #0,2: 100:[96, 95, 25] Operation: 65-40=25
Exploring Operation: 95-65=30, Resulting Numbers: [40, 96, 30]
Generated Node #0,3: 100:[40, 96, 30] Operation: 95-65=30
Exploring Operation: 95-40=55, Resulting Numbers: [96, 65, 55]
Generated Node #0,4: 100:[96, 65, 55] Operation: 95-40=55
Moving to Node #0,2
Current State: 100:[96, 95, 25], Operations: ['65-40=25']
Exploring Operation: 95+25=120, Resulting Numbers: [96, 120]
Generated Node #0,2,0: 100:[96, 120] Operation: 95+25=120
Exploring Operation: 96-25=71, Resulting Numbers: [95, 71]
Generated Node #0,2,1: 100:[95, 71] Operation: 96-25=71
Exploring Operation: 95-25=70, Resulting Numbers: [96, 70]
Generated Node #0,2,2: 100:[96, 70] Operation: 95-25=70
Exploring Operation: 96+25=121, Resulting Numbers: [95, 121]
Generated Node #0,2,3: 100:[95, 121] Operation: 96+25=121
Exploring Operation: 96-95=1, Resulting Numbers: [25, 1]
Generated Node #0,2,4: 100:[25, 1] Operation: 96-95=1
Moving to Node #0,1
Current State: 100:[96, 95, 105], Operations: ['40+65=105']
Exploring Operation: 105-96=9, Resulting Numbers: [95, 9]
Generated Node #0,1,0: 100:[95, 9] Operation: 105-96=9
Exploring Operation: 96+95=191, Resulting Numbers: [105, 191]
Generated Node #0,1,1: 100:[105, 191] Operation: 96+95=191
Exploring Operation: 96-95=1, Resulting Numbers: [105, 1]
Generated Node #0,1,2: 100:[105, 1] Operation: 96-95=1
Exploring Operation: 95+105=200, Resulting Numbers: [96, 200]
Generated Node #0,1,3: 100:[96, 200] Operation: 95+105=200
Exploring Operation: 105-95=10, Resulting Numbers: [96, 10]
Generated Node #0,1,4: 100:[96, 10] Operation: 105-95=10
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 100:[96, 10], Operations: ['40+65=105', '105-95=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,100 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[95, 9], Operations: ['40+65=105', '105-96=9']
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,100 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[105, 1], Operations: ['40+65=105', '96-95=1']
Exploring Operation: 105/1=105, Resulting Numbers: [105]
105,100 unequal: No Solution
Exploring Operation: 105*1=105, Resulting Numbers: [105]
105,100 unequal: No Solution
Exploring Operation: 105+1=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 105-1=104, Resulting Numbers: [104]
104,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:[105, 191], Operations: ['40+65=105', '96+95=191']
Exploring Operation: 191-105=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 105+191=296, Resulting Numbers: [296]
296,100 unequal: No Solution
Exploring Operation: 105*191=20055, Resulting Numbers: [20055]
20055,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,3
Current State: 100:[96, 200], Operations: ['40+65=105', '95+105=200']
Exploring Operation: 200-96=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 96+200=296, Resulting Numbers: [296]
296,100 unequal: No Solution
Exploring Operation: 96*200=19200, Resulting Numbers: [19200]
19200,100 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: 100:[40, 96, 30], Operations: ['95-65=30']
Exploring Operation: 96+30=126, Resulting Numbers: [40, 126]
Generated Node #0,3,0: 100:[40, 126] Operation: 96+30=126
Exploring Operation: 96-30=66, Resulting Numbers: [40, 66]
Generated Node #0,3,1: 100:[40, 66] Operation: 96-30=66
Exploring Operation: 40+30=70, Resulting Numbers: [96, 70]
Generated Node #0,3,2: 100:[96, 70] Operation: 40+30=70
Exploring Operation: 96-40=56, Resulting Numbers: [30, 56]
Generated Node #0,3,3: 100:[30, 56] Operation: 96-40=56
Exploring Operation: 40-30=10, Resulting Numbers: [96, 10]
Generated Node #0,3,4: 100:[96, 10] Operation: 40-30=10
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 100:[96, 10], Operations: ['95-65=30', '40-30=10']
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,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,3,3
Current State: 100:[30, 56], Operations: ['95-65=30', '96-40=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,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,3,2
Current State: 100:[96, 70], Operations: ['95-65=30', '40+30=70']
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,100 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,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,3,1
Current State: 100:[40, 66], Operations: ['95-65=30', '96-30=66']
Exploring Operation: 40+66=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 40*66=2640, Resulting Numbers: [2640]
2640,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,3,0
Current State: 100:[40, 126], Operations: ['95-65=30', '96+30=126']
Exploring Operation: 40+126=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 40*126=5040, Resulting Numbers: [5040]
5040,100 unequal: No Solution
Exploring Operation: 126-40=86, Resulting Numbers: [86]
86,100 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: 100:[40, 95, 31], Operations: ['96-65=31']
Exploring Operation: 95+31=126, Resulting Numbers: [40, 126]
Generated Node #0,0,0: 100:[40, 126] Operation: 95+31=126
Exploring Operation: 95-40=55, Resulting Numbers: [31, 55]
Generated Node #0,0,1: 100:[31, 55] Operation: 95-40=55
Exploring Operation: 95-31=64, Resulting Numbers: [40, 64]
Generated Node #0,0,2: 100:[40, 64] Operation: 95-31=64
Exploring Operation: 40+31=71, Resulting Numbers: [95, 71]
Generated Node #0,0,3: 100:[95, 71] Operation: 40+31=71
Exploring Operation: 40-31=9, Resulting Numbers: [95, 9]
Generated Node #0,0,4: 100:[95, 9] Operation: 40-31=9
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 100:[95, 9], Operations: ['96-65=31', '40-31=9']
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,100 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,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:[31, 55], Operations: ['96-65=31', '95-40=55']
Exploring Operation: 31*55=1705, Resulting Numbers: [1705]
1705,100 unequal: No Solution
Exploring Operation: 31+55=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,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,2
Current State: 100:[40, 64], Operations: ['96-65=31', '95-31=64']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,100 unequal: No Solution
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,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,3
Current State: 100:[95, 71], Operations: ['96-65=31', '40+31=71']
Exploring Operation: 95*71=6745, Resulting Numbers: [6745]
6745,100 unequal: No Solution
Exploring Operation: 95+71=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,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,0
Current State: 100:[40, 126], Operations: ['96-65=31', '95+31=126']
Exploring Operation: 40*126=5040, Resulting Numbers: [5040]
5040,100 unequal: No Solution
Exploring Operation: 40+126=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 126-40=86, Resulting Numbers: [86]
86,100 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: 100:[96, 65, 55], Operations: ['95-40=55']
Exploring Operation: 96-65=31, Resulting Numbers: [55, 31]
Generated Node #0,4,0: 100:[55, 31] Operation: 96-65=31
Exploring Operation: 96+65=161, Resulting Numbers: [55, 161]
Generated Node #0,4,1: 100:[55, 161] Operation: 96+65=161
Exploring Operation: 65+55=120, Resulting Numbers: [96, 120]
Generated Node #0,4,2: 100:[96, 120] Operation: 65+55=120
Exploring Operation: 65-55=10, Resulting Numbers: [96, 10]
Generated Node #0,4,3: 100:[96, 10] Operation: 65-55=10
Exploring Operation: 96-55=41, Resulting Numbers: [65, 41]
Generated Node #0,4,4: 100:[65, 41] Operation: 96-55=41
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 100:[96, 10], Operations: ['95-40=55', '65-55=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,100 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 100:[55, 31], Operations: ['95-40=55', '96-65=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 100:[96, 120], Operations: ['95-40=55', '65+55=120']
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,100 unequal: No Solution
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 100:[65, 41], Operations: ['95-40=55', '96-55=41']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,100 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 100:[55, 161], Operations: ['95-40=55', '96+65=161']
Exploring Operation: 55+161=216, Resulting Numbers: [216]
216,100 unequal: No Solution
Exploring Operation: 55*161=8855, Resulting Numbers: [8855]
8855,100 unequal: No Solution
Exploring Operation: 161-55=106, Resulting Numbers: [106]
106,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 100:[25, 1], Operations: ['65-40=25', '96-95=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[96, 70], Operations: ['65-40=25', '95-25=70']
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,100 unequal: No Solution
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[96, 120], Operations: ['65-40=25', '95+25=120']
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,100 unequal: No Solution
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 96*120=11520, Resulting Numbers: [11520]
11520,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[95, 71], Operations: ['65-40=25', '96-25=71']
Exploring Operation: 95+71=166, Resulting Numbers: [166]
166,100 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 95*71=6745, Resulting Numbers: [6745]
6745,100 unequal: No Solution
Moving to Node #0,2,3
Current State: 100:[95, 121], Operations: ['65-40=25', '96+25=121']
Exploring Operation: 95+121=216, Resulting Numbers: [216]
216,100 unequal: No Solution
Exploring Operation: 95*121=11495, Resulting Numbers: [11495]
11495,100 unequal: No Solution
Exploring Operation: 121-95=26, Resulting Numbers: [26]
26,100 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.