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 |
|---|---|---|---|---|---|---|---|---|
[
2,
6,
16,
29
] | 37 | [
"2+6=8",
"16+29=45",
"45-8=37"
] | Current State: 37:[2, 6, 16, 29], Operations: []
Exploring Operation: 2+6=8, Resulting Numbers: [16, 29, 8]
Generated Node #2: [16, 29, 8] from Operation: 2+6=8
Current State: 37:[16, 29, 8], Operations: ['2+6=8']
Exploring Operation: 16+29=45, Resulting Numbers: [8, 45]
Generated Node #3: [8, 45] from Operation: 16+29=45
Current State: 37:[8, 45], Operations: ['2+6=8', '16+29=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[2, 6, 16, 29], Operations: []
Exploring Operation: 2*16=32, Resulting Numbers: [6, 29, 32]
Generated Node #0,0: 37:[6, 29, 32] Operation: 2*16=32
Moving to Node #0,0
Current State: 37:[6, 29, 32], Operations: ['2*16=32']
Exploring Operation: 6+29=35, Resulting Numbers: [32, 35]
Generated Node #0,0,0: 37:[32, 35] Operation: 6+29=35
Moving to Node #0,0,0
Current State: 37:[32, 35], Operations: ['2*16=32', '6+29=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,37 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
51,
24,
55,
86
] | 44 | [
"51+24=75",
"86-55=31",
"75-31=44"
] | Current State: 44:[51, 24, 55, 86], Operations: []
Exploring Operation: 51+24=75, Resulting Numbers: [55, 86, 75]
Generated Node #2: [55, 86, 75] from Operation: 51+24=75
Current State: 44:[55, 86, 75], Operations: ['51+24=75']
Exploring Operation: 86-55=31, Resulting Numbers: [75, 31]
Generated Node #3: [75, 31] from Operation: 86-55=31
Current State: 44:[75, 31], Operations: ['51+24=75', '86-55=31']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[51, 24, 55, 86], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [24, 55, 35]
Generated Node #0,0: 44:[24, 55, 35] Operation: 86-51=35
Exploring Operation: 86-24=62, Resulting Numbers: [51, 55, 62]
Generated Node #0,1: 44:[51, 55, 62] Operation: 86-24=62
Exploring Operation: 86-55=31, Resulting Numbers: [51, 24, 31]
Generated Node #0,2: 44:[51, 24, 31] Operation: 86-55=31
Moving to Node #0,2
Current State: 44:[51, 24, 31], Operations: ['86-55=31']
Exploring Operation: 51-24=27, Resulting Numbers: [31, 27]
Generated Node #0,2,0: 44:[31, 27] Operation: 51-24=27
Exploring Operation: 51-31=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 44:[24, 20] Operation: 51-31=20
Exploring Operation: 31-24=7, Resulting Numbers: [51, 7]
Generated Node #0,2,2: 44:[51, 7] Operation: 31-24=7
Moving to Node #0,0
Current State: 44:[24, 55, 35], Operations: ['86-51=35']
Exploring Operation: 55-24=31, Resulting Numbers: [35, 31]
Generated Node #0,0,0: 44:[35, 31] Operation: 55-24=31
Exploring Operation: 55-35=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 44:[24, 20] Operation: 55-35=20
Exploring Operation: 35-24=11, Resulting Numbers: [55, 11]
Generated Node #0,0,2: 44:[55, 11] Operation: 35-24=11
Moving to Node #0,1
Current State: 44:[51, 55, 62], Operations: ['86-24=62']
Exploring Operation: 55-51=4, Resulting Numbers: [62, 4]
Generated Node #0,1,0: 44:[62, 4] Operation: 55-51=4
Exploring Operation: 62-55=7, Resulting Numbers: [51, 7]
Generated Node #0,1,1: 44:[51, 7] Operation: 62-55=7
Exploring Operation: 62-51=11, Resulting Numbers: [55, 11]
Generated Node #0,1,2: 44:[55, 11] Operation: 62-51=11
Moving to Node #0,2,1
Current State: 44:[24, 20], Operations: ['86-55=31', '51-31=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[51, 24, 55, 86], Operations: []
Exploring Operation: 86-55=31, Resulting Numbers: [51, 24, 31]
Generated Node #0,2: 44:[51, 24, 31] Operation: 86-55=31
Moving to Node #0,2
Current State: 44:[51, 24, 31], Operations: ['86-55=31']
Exploring Operation: 51-31=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 44:[24, 20] Operation: 51-31=20
Moving to Node #0,2,1
Current State: 44:[24, 20], Operations: ['86-55=31', '51-31=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
88,
46,
37,
96
] | 17 | [
"88-46=42",
"96-37=59",
"59-42=17"
] | Current State: 17:[88, 46, 37, 96], Operations: []
Exploring Operation: 88-46=42, Resulting Numbers: [37, 96, 42]
Generated Node #2: [37, 96, 42] from Operation: 88-46=42
Current State: 17:[37, 96, 42], Operations: ['88-46=42']
Exploring Operation: 96-37=59, Resulting Numbers: [42, 59]
Generated Node #3: [42, 59] from Operation: 96-37=59
Current State: 17:[42, 59], Operations: ['88-46=42', '96-37=59']
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[88, 46, 37, 96], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [46, 37, 8]
Generated Node #0,0: 17:[46, 37, 8] Operation: 96-88=8
Exploring Operation: 96-46=50, Resulting Numbers: [88, 37, 50]
Generated Node #0,1: 17:[88, 37, 50] Operation: 96-46=50
Exploring Operation: 88-37=51, Resulting Numbers: [46, 96, 51]
Generated Node #0,2: 17:[46, 96, 51] Operation: 88-37=51
Exploring Operation: 88-46=42, Resulting Numbers: [37, 96, 42]
Generated Node #0,3: 17:[37, 96, 42] Operation: 88-46=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[46, 37, 8], Operations: ['96-88=8']
Exploring Operation: 46+8=54, Resulting Numbers: [37, 54]
Generated Node #0,0,0: 17:[37, 54] Operation: 46+8=54
Exploring Operation: 37-8=29, Resulting Numbers: [46, 29]
Generated Node #0,0,1: 17:[46, 29] Operation: 37-8=29
Exploring Operation: 46-8=38, Resulting Numbers: [37, 38]
Generated Node #0,0,2: 17:[37, 38] Operation: 46-8=38
Exploring Operation: 46-37=9, Resulting Numbers: [8, 9]
Generated Node #0,0,3: 17:[8, 9] Operation: 46-37=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[8, 9], Operations: ['96-88=8', '46-37=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[88, 46, 37, 96], Operations: []
Exploring Operation: 96-88=8, Resulting Numbers: [46, 37, 8]
Generated Node #0,0: 17:[46, 37, 8] Operation: 96-88=8
Moving to Node #0,0
Current State: 17:[46, 37, 8], Operations: ['96-88=8']
Exploring Operation: 46-37=9, Resulting Numbers: [8, 9]
Generated Node #0,0,3: 17:[8, 9] Operation: 46-37=9
Moving to Node #0,0,3
Current State: 17:[8, 9], Operations: ['96-88=8', '46-37=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
53,
50,
14,
56
] | 16 | [
"50+56=106",
"106/53=2",
"14+2=16"
] | Current State: 16:[53, 50, 14, 56], Operations: []
Exploring Operation: 50+56=106, Resulting Numbers: [53, 14, 106]
Generated Node #2: [53, 14, 106] from Operation: 50+56=106
Current State: 16:[53, 14, 106], Operations: ['50+56=106']
Exploring Operation: 106/53=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 106/53=2
Current State: 16:[14, 2], Operations: ['50+56=106', '106/53=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[53, 50, 14, 56], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [53, 14, 6]
Generated Node #0,0: 16:[53, 14, 6] Operation: 56-50=6
Exploring Operation: 56/14=4, Resulting Numbers: [53, 50, 4]
Generated Node #0,1: 16:[53, 50, 4] Operation: 56/14=4
Exploring Operation: 56-53=3, Resulting Numbers: [50, 14, 3]
Generated Node #0,2: 16:[50, 14, 3] Operation: 56-53=3
Exploring Operation: 53-50=3, Resulting Numbers: [14, 56, 3]
Generated Node #0,3: 16:[14, 56, 3] Operation: 53-50=3
Exploring Operation: 53-14=39, Resulting Numbers: [50, 56, 39]
Generated Node #0,4: 16:[50, 56, 39] Operation: 53-14=39
Moving to Node #0,2
Current State: 16:[50, 14, 3], Operations: ['56-53=3']
Exploring Operation: 14-3=11, Resulting Numbers: [50, 11]
Generated Node #0,2,0: 16:[50, 11] Operation: 14-3=11
Exploring Operation: 50-14=36, Resulting Numbers: [3, 36]
Generated Node #0,2,1: 16:[3, 36] Operation: 50-14=36
Exploring Operation: 50+3=53, Resulting Numbers: [14, 53]
Generated Node #0,2,2: 16:[14, 53] Operation: 50+3=53
Exploring Operation: 50-3=47, Resulting Numbers: [14, 47]
Generated Node #0,2,3: 16:[14, 47] Operation: 50-3=47
Exploring Operation: 14+3=17, Resulting Numbers: [50, 17]
Generated Node #0,2,4: 16:[50, 17] Operation: 14+3=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[3, 36], Operations: ['56-53=3', '50-14=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,16 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,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,2,3
Current State: 16:[14, 47], Operations: ['56-53=3', '50-3=47']
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,16 unequal: No Solution
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,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,2,4
Current State: 16:[50, 17], Operations: ['56-53=3', '14+3=17']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,16 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,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,2,0
Current State: 16:[50, 11], Operations: ['56-53=3', '14-3=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,16 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,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,2,2
Current State: 16:[14, 53], Operations: ['56-53=3', '50+3=53']
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,16 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,16 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: 16:[53, 14, 6], Operations: ['56-50=6']
Exploring Operation: 14+6=20, Resulting Numbers: [53, 20]
Generated Node #0,0,0: 16:[53, 20] Operation: 14+6=20
Exploring Operation: 53-6=47, Resulting Numbers: [14, 47]
Generated Node #0,0,1: 16:[14, 47] Operation: 53-6=47
Exploring Operation: 14-6=8, Resulting Numbers: [53, 8]
Generated Node #0,0,2: 16:[53, 8] Operation: 14-6=8
Exploring Operation: 53-14=39, Resulting Numbers: [6, 39]
Generated Node #0,0,3: 16:[6, 39] Operation: 53-14=39
Exploring Operation: 53+6=59, Resulting Numbers: [14, 59]
Generated Node #0,0,4: 16:[14, 59] Operation: 53+6=59
Moving to Node #0,3
Current State: 16:[14, 56, 3], Operations: ['53-50=3']
Exploring Operation: 14-3=11, Resulting Numbers: [56, 11]
Generated Node #0,3,0: 16:[56, 11] Operation: 14-3=11
Exploring Operation: 56-3=53, Resulting Numbers: [14, 53]
Generated Node #0,3,1: 16:[14, 53] Operation: 56-3=53
Exploring Operation: 56/14=4, Resulting Numbers: [3, 4]
Generated Node #0,3,2: 16:[3, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [3, 42]
Generated Node #0,3,3: 16:[3, 42] Operation: 56-14=42
Exploring Operation: 14+3=17, Resulting Numbers: [56, 17]
Generated Node #0,3,4: 16:[56, 17] Operation: 14+3=17
Moving to Node #0,1
Current State: 16:[53, 50, 4], Operations: ['56/14=4']
Exploring Operation: 53-50=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 16:[4, 3] Operation: 53-50=3
Exploring Operation: 50+4=54, Resulting Numbers: [53, 54]
Generated Node #0,1,1: 16:[53, 54] Operation: 50+4=54
Exploring Operation: 53+4=57, Resulting Numbers: [50, 57]
Generated Node #0,1,2: 16:[50, 57] Operation: 53+4=57
Exploring Operation: 50-4=46, Resulting Numbers: [53, 46]
Generated Node #0,1,3: 16:[53, 46] Operation: 50-4=46
Exploring Operation: 53-4=49, Resulting Numbers: [50, 49]
Generated Node #0,1,4: 16:[50, 49] Operation: 53-4=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[4, 3], Operations: ['56/14=4', '53-50=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[53, 46], Operations: ['56/14=4', '50-4=46']
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,16 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,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,4
Current State: 16:[50, 49], Operations: ['56/14=4', '53-4=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,16 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,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,1
Current State: 16:[53, 54], Operations: ['56/14=4', '50+4=54']
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,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,2
Current State: 16:[50, 57], Operations: ['56/14=4', '53+4=57']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 50+57=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Exploring Operation: 50*57=2850, Resulting Numbers: [2850]
2850,16 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: 16:[50, 56, 39], Operations: ['53-14=39']
Exploring Operation: 50+39=89, Resulting Numbers: [56, 89]
Generated Node #0,4,0: 16:[56, 89] Operation: 50+39=89
Exploring Operation: 50-39=11, Resulting Numbers: [56, 11]
Generated Node #0,4,1: 16:[56, 11] Operation: 50-39=11
Exploring Operation: 56-50=6, Resulting Numbers: [39, 6]
Generated Node #0,4,2: 16:[39, 6] Operation: 56-50=6
Exploring Operation: 56-39=17, Resulting Numbers: [50, 17]
Generated Node #0,4,3: 16:[50, 17] Operation: 56-39=17
Exploring Operation: 50+56=106, Resulting Numbers: [39, 106]
Generated Node #0,4,4: 16:[39, 106] Operation: 50+56=106
Moving to Node #0,3,2
Current State: 16:[3, 4], Operations: ['53-50=3', '56/14=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[6, 39], Operations: ['56-50=6', '53-14=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,16 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[39, 6], Operations: ['53-14=39', '56-50=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,16 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[3, 42], Operations: ['53-50=3', '56-14=42']
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,16 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[14, 47], Operations: ['56-50=6', '53-6=47']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,16 unequal: No Solution
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[50, 17], Operations: ['53-14=39', '56-39=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,16 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[53, 8], Operations: ['56-50=6', '14-6=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,16 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[14, 53], Operations: ['53-50=3', '56-3=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,16 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[56, 17], Operations: ['53-50=3', '14+3=17']
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,16 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[53, 20], Operations: ['56-50=6', '14+6=20']
Exploring Operation: 53+20=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 53*20=1060, Resulting Numbers: [1060]
1060,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[56, 11], Operations: ['53-50=3', '14-3=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[56, 11], Operations: ['53-14=39', '50-39=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,16 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[14, 59], Operations: ['56-50=6', '53+6=59']
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,16 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[39, 106], Operations: ['53-14=39', '50+56=106']
Exploring Operation: 39+106=145, Resulting Numbers: [145]
145,16 unequal: No Solution
Exploring Operation: 106-39=67, Resulting Numbers: [67]
67,16 unequal: No Solution
Exploring Operation: 39*106=4134, Resulting Numbers: [4134]
4134,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[56, 89], Operations: ['53-14=39', '50+39=89']
Exploring Operation: 56*89=4984, Resulting Numbers: [4984]
4984,16 unequal: No Solution
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 56+89=145, Resulting Numbers: [145]
145,16 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
10,
16,
59
] | 25 | [
"60-10=50",
"16+59=75",
"75-50=25"
] | Current State: 25:[60, 10, 16, 59], Operations: []
Exploring Operation: 60-10=50, Resulting Numbers: [16, 59, 50]
Generated Node #2: [16, 59, 50] from Operation: 60-10=50
Current State: 25:[16, 59, 50], Operations: ['60-10=50']
Exploring Operation: 16+59=75, Resulting Numbers: [50, 75]
Generated Node #3: [50, 75] from Operation: 16+59=75
Current State: 25:[50, 75], Operations: ['60-10=50', '16+59=75']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[60, 10, 16, 59], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [16, 59, 6]
Generated Node #0,0: 25:[16, 59, 6] Operation: 60/10=6
Exploring Operation: 60-59=1, Resulting Numbers: [10, 16, 1]
Generated Node #0,1: 25:[10, 16, 1] Operation: 60-59=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[10, 16, 1], Operations: ['60-59=1']
Exploring Operation: 16-10=6, Resulting Numbers: [1, 6]
Generated Node #0,1,0: 25:[1, 6] Operation: 16-10=6
Exploring Operation: 10+16=26, Resulting Numbers: [1, 26]
Generated Node #0,1,1: 25:[1, 26] Operation: 10+16=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[1, 6], Operations: ['60-59=1', '16-10=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[1, 26], Operations: ['60-59=1', '10+16=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[60, 10, 16, 59], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [10, 16, 1]
Generated Node #0,1: 25:[10, 16, 1] Operation: 60-59=1
Moving to Node #0,1
Current State: 25:[10, 16, 1], Operations: ['60-59=1']
Exploring Operation: 10+16=26, Resulting Numbers: [1, 26]
Generated Node #0,1,1: 25:[1, 26] Operation: 10+16=26
Moving to Node #0,1,1
Current State: 25:[1, 26], Operations: ['60-59=1', '10+16=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
38,
20,
3,
32
] | 56 | [
"38-3=35",
"32*35=1120",
"1120/20=56"
] | Current State: 56:[38, 20, 3, 32], Operations: []
Exploring Operation: 38-3=35, Resulting Numbers: [20, 32, 35]
Generated Node #2: [20, 32, 35] from Operation: 38-3=35
Current State: 56:[20, 32, 35], Operations: ['38-3=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [20, 1120]
Generated Node #3: [20, 1120] from Operation: 32*35=1120
Current State: 56:[20, 1120], Operations: ['38-3=35', '32*35=1120']
Exploring Operation: 1120/20=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[38, 20, 3, 32], Operations: []
Exploring Operation: 38+20=58, Resulting Numbers: [3, 32, 58]
Generated Node #0,0: 56:[3, 32, 58] Operation: 38+20=58
Exploring Operation: 38-32=6, Resulting Numbers: [20, 3, 6]
Generated Node #0,1: 56:[20, 3, 6] Operation: 38-32=6
Exploring Operation: 38-20=18, Resulting Numbers: [3, 32, 18]
Generated Node #0,2: 56:[3, 32, 18] Operation: 38-20=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[3, 32, 58], Operations: ['38+20=58']
Exploring Operation: 32-3=29, Resulting Numbers: [58, 29]
Generated Node #0,0,0: 56:[58, 29] Operation: 32-3=29
Exploring Operation: 58-3=55, Resulting Numbers: [32, 55]
Generated Node #0,0,1: 56:[32, 55] Operation: 58-3=55
Exploring Operation: 58-32=26, Resulting Numbers: [3, 26]
Generated Node #0,0,2: 56:[3, 26] Operation: 58-32=26
Moving to Node #0,0,0
Current State: 56:[58, 29], Operations: ['38+20=58', '32-3=29']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[3, 26], Operations: ['38+20=58', '58-32=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[32, 55], Operations: ['38+20=58', '58-3=55']
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,56 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[20, 3, 6], Operations: ['38-32=6']
Exploring Operation: 20+6=26, Resulting Numbers: [3, 26]
Generated Node #0,1,0: 56:[3, 26] Operation: 20+6=26
Exploring Operation: 20-3=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 56:[6, 17] Operation: 20-3=17
Exploring Operation: 20-6=14, Resulting Numbers: [3, 14]
Generated Node #0,1,2: 56:[3, 14] Operation: 20-6=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[3, 14], Operations: ['38-32=6', '20-6=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[3, 26], Operations: ['38-32=6', '20+6=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[6, 17], Operations: ['38-32=6', '20-3=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,56 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[3, 32, 18], Operations: ['38-20=18']
Exploring Operation: 18-3=15, Resulting Numbers: [32, 15]
Generated Node #0,2,0: 56:[32, 15] Operation: 18-3=15
Exploring Operation: 32-3=29, Resulting Numbers: [18, 29]
Generated Node #0,2,1: 56:[18, 29] Operation: 32-3=29
Exploring Operation: 32-18=14, Resulting Numbers: [3, 14]
Generated Node #0,2,2: 56:[3, 14] Operation: 32-18=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[3, 14], Operations: ['38-20=18', '32-18=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[32, 15], Operations: ['38-20=18', '18-3=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,56 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[18, 29], Operations: ['38-20=18', '32-3=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
3,
66,
6
] | 82 | [
"6-3=3",
"66/3=22",
"60+22=82"
] | Current State: 82:[60, 3, 66, 6], Operations: []
Exploring Operation: 6-3=3, Resulting Numbers: [60, 66, 3]
Generated Node #2: [60, 66, 3] from Operation: 6-3=3
Current State: 82:[60, 66, 3], Operations: ['6-3=3']
Exploring Operation: 66/3=22, Resulting Numbers: [60, 22]
Generated Node #3: [60, 22] from Operation: 66/3=22
Current State: 82:[60, 22], Operations: ['6-3=3', '66/3=22']
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[60, 3, 66, 6], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [3, 6, 6]
Generated Node #0,0: 82:[3, 6, 6] Operation: 66-60=6
Exploring Operation: 60-6=54, Resulting Numbers: [3, 66, 54]
Generated Node #0,1: 82:[3, 66, 54] Operation: 60-6=54
Exploring Operation: 66/6=11, Resulting Numbers: [60, 3, 11]
Generated Node #0,2: 82:[60, 3, 11] Operation: 66/6=11
Exploring Operation: 60/6=10, Resulting Numbers: [3, 66, 10]
Generated Node #0,3: 82:[3, 66, 10] Operation: 60/6=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[3, 6, 6], Operations: ['66-60=6']
Exploring Operation: 6/6=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 82:[3, 1] Operation: 6/6=1
Exploring Operation: 6/3=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 82:[6, 2] Operation: 6/3=2
Exploring Operation: 6/3=2, Resulting Numbers: [6, 2]
Generated Node #0,0,2: 82:[6, 2] Operation: 6/3=2
Exploring Operation: 6-6=0, Resulting Numbers: [3, 0]
Generated Node #0,0,3: 82:[3, 0] Operation: 6-6=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[3, 1], Operations: ['66-60=6', '6/6=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 82:[3, 0], Operations: ['66-60=6', '6-6=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[6, 2], Operations: ['66-60=6', '6/3=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[6, 2], Operations: ['66-60=6', '6/3=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[3, 66, 10], Operations: ['60/6=10']
Exploring Operation: 3+66=69, Resulting Numbers: [10, 69]
Generated Node #0,3,0: 82:[10, 69] Operation: 3+66=69
Exploring Operation: 10-3=7, Resulting Numbers: [66, 7]
Generated Node #0,3,1: 82:[66, 7] Operation: 10-3=7
Exploring Operation: 66-10=56, Resulting Numbers: [3, 56]
Generated Node #0,3,2: 82:[3, 56] Operation: 66-10=56
Exploring Operation: 66+10=76, Resulting Numbers: [3, 76]
Generated Node #0,3,3: 82:[3, 76] Operation: 66+10=76
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 82:[3, 76], Operations: ['60/6=10', '66+10=76']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 82:[3, 56], Operations: ['60/6=10', '66-10=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,82 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 82:[10, 69], Operations: ['60/6=10', '3+66=69']
Exploring Operation: 10*69=690, Resulting Numbers: [690]
690,82 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[66, 7], Operations: ['60/6=10', '10-3=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,82 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,82 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[60, 3, 11], Operations: ['66/6=11']
Exploring Operation: 11-3=8, Resulting Numbers: [60, 8]
Generated Node #0,2,0: 82:[60, 8] Operation: 11-3=8
Exploring Operation: 60-11=49, Resulting Numbers: [3, 49]
Generated Node #0,2,1: 82:[3, 49] Operation: 60-11=49
Exploring Operation: 60-3=57, Resulting Numbers: [11, 57]
Generated Node #0,2,2: 82:[11, 57] Operation: 60-3=57
Exploring Operation: 60+11=71, Resulting Numbers: [3, 71]
Generated Node #0,2,3: 82:[3, 71] Operation: 60+11=71
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[3, 49], Operations: ['66/6=11', '60-11=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,82 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[3, 71], Operations: ['66/6=11', '60+11=71']
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,82 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[60, 8], Operations: ['66/6=11', '11-3=8']
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,82 unequal: No Solution
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,82 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[11, 57], Operations: ['66/6=11', '60-3=57']
Exploring Operation: 11*57=627, Resulting Numbers: [627]
627,82 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,82 unequal: No Solution
Exploring Operation: 11+57=68, Resulting Numbers: [68]
68,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[3, 66, 54], Operations: ['60-6=54']
Exploring Operation: 66-3=63, Resulting Numbers: [54, 63]
Generated Node #0,1,0: 82:[54, 63] Operation: 66-3=63
Exploring Operation: 3+66=69, Resulting Numbers: [54, 69]
Generated Node #0,1,1: 82:[54, 69] Operation: 3+66=69
Exploring Operation: 66-54=12, Resulting Numbers: [3, 12]
Generated Node #0,1,2: 82:[3, 12] Operation: 66-54=12
Exploring Operation: 54-3=51, Resulting Numbers: [66, 51]
Generated Node #0,1,3: 82:[66, 51] Operation: 54-3=51
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[3, 12], Operations: ['60-6=54', '66-54=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[54, 69], Operations: ['60-6=54', '3+66=69']
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,82 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[66, 51], Operations: ['60-6=54', '54-3=51']
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,82 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[54, 63], Operations: ['60-6=54', '66-3=63']
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,82 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,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_4 | sum_heuristic |
[
75,
71,
55,
6
] | 97 | [
"75+71=146",
"55-6=49",
"146-49=97"
] | Current State: 97:[75, 71, 55, 6], Operations: []
Exploring Operation: 75+71=146, Resulting Numbers: [55, 6, 146]
Generated Node #2: [55, 6, 146] from Operation: 75+71=146
Current State: 97:[55, 6, 146], Operations: ['75+71=146']
Exploring Operation: 55-6=49, Resulting Numbers: [146, 49]
Generated Node #3: [146, 49] from Operation: 55-6=49
Current State: 97:[146, 49], Operations: ['75+71=146', '55-6=49']
Exploring Operation: 146-49=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[75, 71, 55, 6], Operations: []
Exploring Operation: 55+6=61, Resulting Numbers: [75, 71, 61]
Generated Node #0,0: 97:[75, 71, 61] Operation: 55+6=61
Exploring Operation: 75+6=81, Resulting Numbers: [71, 55, 81]
Generated Node #0,1: 97:[71, 55, 81] Operation: 75+6=81
Exploring Operation: 71+6=77, Resulting Numbers: [75, 55, 77]
Generated Node #0,2: 97:[75, 55, 77] Operation: 71+6=77
Exploring Operation: 75-6=69, Resulting Numbers: [71, 55, 69]
Generated Node #0,3: 97:[71, 55, 69] Operation: 75-6=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[75, 71, 61], Operations: ['55+6=61']
Exploring Operation: 71+61=132, Resulting Numbers: [75, 132]
Generated Node #0,0,0: 97:[75, 132] Operation: 71+61=132
Exploring Operation: 75+71=146, Resulting Numbers: [61, 146]
Generated Node #0,0,1: 97:[61, 146] Operation: 75+71=146
Exploring Operation: 75+61=136, Resulting Numbers: [71, 136]
Generated Node #0,0,2: 97:[71, 136] Operation: 75+61=136
Exploring Operation: 75-61=14, Resulting Numbers: [71, 14]
Generated Node #0,0,3: 97:[71, 14] Operation: 75-61=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[75, 132], Operations: ['55+6=61', '71+61=132']
Exploring Operation: 132-75=57, Resulting Numbers: [57]
57,97 unequal: No Solution
Exploring Operation: 75*132=9900, Resulting Numbers: [9900]
9900,97 unequal: No Solution
Exploring Operation: 75+132=207, Resulting Numbers: [207]
207,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,0,2
Current State: 97:[71, 136], Operations: ['55+6=61', '75+61=136']
Exploring Operation: 71+136=207, Resulting Numbers: [207]
207,97 unequal: No Solution
Exploring Operation: 71*136=9656, Resulting Numbers: [9656]
9656,97 unequal: No Solution
Exploring Operation: 136-71=65, Resulting Numbers: [65]
65,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,0,1
Current State: 97:[61, 146], Operations: ['55+6=61', '75+71=146']
Exploring Operation: 61+146=207, Resulting Numbers: [207]
207,97 unequal: No Solution
Exploring Operation: 61*146=8906, Resulting Numbers: [8906]
8906,97 unequal: No Solution
Exploring Operation: 146-61=85, Resulting Numbers: [85]
85,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,0,3
Current State: 97:[71, 14], Operations: ['55+6=61', '75-61=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,97 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,97 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[71, 55, 81], Operations: ['75+6=81']
Exploring Operation: 71+81=152, Resulting Numbers: [55, 152]
Generated Node #0,1,0: 97:[55, 152] Operation: 71+81=152
Exploring Operation: 71-55=16, Resulting Numbers: [81, 16]
Generated Node #0,1,1: 97:[81, 16] Operation: 71-55=16
Exploring Operation: 71+55=126, Resulting Numbers: [81, 126]
Generated Node #0,1,2: 97:[81, 126] Operation: 71+55=126
Exploring Operation: 55+81=136, Resulting Numbers: [71, 136]
Generated Node #0,1,3: 97:[71, 136] Operation: 55+81=136
Moving to Node #0,1,2
Current State: 97:[81, 126], Operations: ['75+6=81', '71+55=126']
Exploring Operation: 81*126=10206, Resulting Numbers: [10206]
10206,97 unequal: No Solution
Exploring Operation: 126-81=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 81+126=207, Resulting Numbers: [207]
207,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[71, 136], Operations: ['75+6=81', '55+81=136']
Exploring Operation: 71+136=207, Resulting Numbers: [207]
207,97 unequal: No Solution
Exploring Operation: 136-71=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 71*136=9656, Resulting Numbers: [9656]
9656,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[81, 16], Operations: ['75+6=81', '71-55=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,97 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[75, 71, 55, 6], Operations: []
Exploring Operation: 75+6=81, Resulting Numbers: [71, 55, 81]
Generated Node #0,1: 97:[71, 55, 81] Operation: 75+6=81
Moving to Node #0,1
Current State: 97:[71, 55, 81], Operations: ['75+6=81']
Exploring Operation: 71-55=16, Resulting Numbers: [81, 16]
Generated Node #0,1,1: 97:[81, 16] Operation: 71-55=16
Moving to Node #0,1,1
Current State: 97:[81, 16], Operations: ['75+6=81', '71-55=16']
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
70,
51,
39,
77
] | 57 | [
"70-51=19",
"77-39=38",
"19+38=57"
] | Current State: 57:[70, 51, 39, 77], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [39, 77, 19]
Generated Node #2: [39, 77, 19] from Operation: 70-51=19
Current State: 57:[39, 77, 19], Operations: ['70-51=19']
Exploring Operation: 77-39=38, Resulting Numbers: [19, 38]
Generated Node #3: [19, 38] from Operation: 77-39=38
Current State: 57:[19, 38], Operations: ['70-51=19', '77-39=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[70, 51, 39, 77], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [70, 51, 38]
Generated Node #0,0: 57:[70, 51, 38] Operation: 77-39=38
Exploring Operation: 70-39=31, Resulting Numbers: [51, 77, 31]
Generated Node #0,1: 57:[51, 77, 31] Operation: 70-39=31
Exploring Operation: 70-51=19, Resulting Numbers: [39, 77, 19]
Generated Node #0,2: 57:[39, 77, 19] Operation: 70-51=19
Exploring Operation: 77-51=26, Resulting Numbers: [70, 39, 26]
Generated Node #0,3: 57:[70, 39, 26] Operation: 77-51=26
Exploring Operation: 77-70=7, Resulting Numbers: [51, 39, 7]
Generated Node #0,4: 57:[51, 39, 7] Operation: 77-70=7
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[51, 39, 7], Operations: ['77-70=7']
Exploring Operation: 39+7=46, Resulting Numbers: [51, 46]
Generated Node #0,4,0: 57:[51, 46] Operation: 39+7=46
Exploring Operation: 51-39=12, Resulting Numbers: [7, 12]
Generated Node #0,4,1: 57:[7, 12] Operation: 51-39=12
Exploring Operation: 51-7=44, Resulting Numbers: [39, 44]
Generated Node #0,4,2: 57:[39, 44] Operation: 51-7=44
Exploring Operation: 51+7=58, Resulting Numbers: [39, 58]
Generated Node #0,4,3: 57:[39, 58] Operation: 51+7=58
Exploring Operation: 39-7=32, Resulting Numbers: [51, 32]
Generated Node #0,4,4: 57:[51, 32] Operation: 39-7=32
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 57:[7, 12], Operations: ['77-70=7', '51-39=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 57:[51, 46], Operations: ['77-70=7', '39+7=46']
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 57:[39, 58], Operations: ['77-70=7', '51+7=58']
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,57 unequal: No Solution
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 57:[51, 32], Operations: ['77-70=7', '39-7=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,57 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[39, 44], Operations: ['77-70=7', '51-7=44']
Exploring Operation: 39*44=1716, Resulting Numbers: [1716]
1716,57 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[70, 51, 38], Operations: ['77-39=38']
Exploring Operation: 70+38=108, Resulting Numbers: [51, 108]
Generated Node #0,0,0: 57:[51, 108] Operation: 70+38=108
Exploring Operation: 70-51=19, Resulting Numbers: [38, 19]
Generated Node #0,0,1: 57:[38, 19] Operation: 70-51=19
Exploring Operation: 51-38=13, Resulting Numbers: [70, 13]
Generated Node #0,0,2: 57:[70, 13] Operation: 51-38=13
Exploring Operation: 51+38=89, Resulting Numbers: [70, 89]
Generated Node #0,0,3: 57:[70, 89] Operation: 51+38=89
Exploring Operation: 70-38=32, Resulting Numbers: [51, 32]
Generated Node #0,0,4: 57:[51, 32] Operation: 70-38=32
Moving to Node #0,0,1
Current State: 57:[38, 19], Operations: ['77-39=38', '70-51=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[70, 51, 39, 77], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [70, 51, 38]
Generated Node #0,0: 57:[70, 51, 38] Operation: 77-39=38
Moving to Node #0,0
Current State: 57:[70, 51, 38], Operations: ['77-39=38']
Exploring Operation: 70-51=19, Resulting Numbers: [38, 19]
Generated Node #0,0,1: 57:[38, 19] Operation: 70-51=19
Moving to Node #0,0,1
Current State: 57:[38, 19], Operations: ['77-39=38', '70-51=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
95,
18,
18,
37
] | 96 | [
"95-18=77",
"37-18=19",
"77+19=96"
] | Current State: 96:[95, 18, 18, 37], Operations: []
Exploring Operation: 95-18=77, Resulting Numbers: [37, 77]
Generated Node #2: [37, 77] from Operation: 95-18=77
Current State: 96:[37, 77], Operations: ['95-18=77']
Exploring Operation: 37-18=19, Resulting Numbers: [77, 19]
Generated Node #3: [77, 19] from Operation: 37-18=19
Current State: 96:[77, 19], Operations: ['95-18=77', '37-18=19']
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[95, 18, 18, 37], Operations: []
Exploring Operation: 18/18=1, Resulting Numbers: [95, 37, 1]
Generated Node #0,0: 96:[95, 37, 1] Operation: 18/18=1
Exploring Operation: 37-18=19, Resulting Numbers: [95, 18, 19]
Generated Node #0,1: 96:[95, 18, 19] Operation: 37-18=19
Exploring Operation: 37-18=19, Resulting Numbers: [95, 18, 19]
Generated Node #0,2: 96:[95, 18, 19] Operation: 37-18=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[95, 18, 19], Operations: ['37-18=19']
Exploring Operation: 18+19=37, Resulting Numbers: [95, 37]
Generated Node #0,1,0: 96:[95, 37] Operation: 18+19=37
Exploring Operation: 95/19=5, Resulting Numbers: [18, 5]
Generated Node #0,1,1: 96:[18, 5] Operation: 95/19=5
Exploring Operation: 19-18=1, Resulting Numbers: [95, 1]
Generated Node #0,1,2: 96:[95, 1] Operation: 19-18=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[95, 1], Operations: ['37-18=19', '19-18=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[95, 18, 18, 37], Operations: []
Exploring Operation: 37-18=19, Resulting Numbers: [95, 18, 19]
Generated Node #0,1: 96:[95, 18, 19] Operation: 37-18=19
Moving to Node #0,1
Current State: 96:[95, 18, 19], Operations: ['37-18=19']
Exploring Operation: 19-18=1, Resulting Numbers: [95, 1]
Generated Node #0,1,2: 96:[95, 1] Operation: 19-18=1
Moving to Node #0,1,2
Current State: 96:[95, 1], Operations: ['37-18=19', '19-18=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
74,
73,
17,
2
] | 93 | [
"74/2=37",
"73-17=56",
"37+56=93"
] | Current State: 93:[74, 73, 17, 2], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [73, 17, 37]
Generated Node #2: [73, 17, 37] from Operation: 74/2=37
Current State: 93:[73, 17, 37], Operations: ['74/2=37']
Exploring Operation: 73-17=56, Resulting Numbers: [37, 56]
Generated Node #3: [37, 56] from Operation: 73-17=56
Current State: 93:[37, 56], Operations: ['74/2=37', '73-17=56']
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[74, 73, 17, 2], Operations: []
Exploring Operation: 74+17=91, Resulting Numbers: [73, 2, 91]
Generated Node #0,0: 93:[73, 2, 91] Operation: 74+17=91
Exploring Operation: 74-73=1, Resulting Numbers: [17, 2, 1]
Generated Node #0,1: 93:[17, 2, 1] Operation: 74-73=1
Exploring Operation: 73+17=90, Resulting Numbers: [74, 2, 90]
Generated Node #0,2: 93:[74, 2, 90] Operation: 73+17=90
Exploring Operation: 74/2=37, Resulting Numbers: [73, 17, 37]
Generated Node #0,3: 93:[73, 17, 37] Operation: 74/2=37
Moving to Node #0,1
Current State: 93:[17, 2, 1], Operations: ['74-73=1']
Exploring Operation: 17+1=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 93:[2, 18] Operation: 17+1=18
Exploring Operation: 17-2=15, Resulting Numbers: [1, 15]
Generated Node #0,1,1: 93:[1, 15] Operation: 17-2=15
Exploring Operation: 17*2=34, Resulting Numbers: [1, 34]
Generated Node #0,1,2: 93:[1, 34] Operation: 17*2=34
Exploring Operation: 17+2=19, Resulting Numbers: [1, 19]
Generated Node #0,1,3: 93:[1, 19] Operation: 17+2=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[1, 34], Operations: ['74-73=1', '17*2=34']
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,93 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[2, 18], Operations: ['74-73=1', '17+1=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[1, 15], Operations: ['74-73=1', '17-2=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[1, 19], Operations: ['74-73=1', '17+2=19']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[74, 2, 90], Operations: ['73+17=90']
Exploring Operation: 2+90=92, Resulting Numbers: [74, 92]
Generated Node #0,2,0: 93:[74, 92] Operation: 2+90=92
Exploring Operation: 74/2=37, Resulting Numbers: [90, 37]
Generated Node #0,2,1: 93:[90, 37] Operation: 74/2=37
Exploring Operation: 90-74=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 93:[2, 16] Operation: 90-74=16
Exploring Operation: 74+2=76, Resulting Numbers: [90, 76]
Generated Node #0,2,3: 93:[90, 76] Operation: 74+2=76
Moving to Node #0,0
Current State: 93:[73, 2, 91], Operations: ['74+17=91']
Exploring Operation: 73-2=71, Resulting Numbers: [91, 71]
Generated Node #0,0,0: 93:[91, 71] Operation: 73-2=71
Exploring Operation: 73+2=75, Resulting Numbers: [91, 75]
Generated Node #0,0,1: 93:[91, 75] Operation: 73+2=75
Exploring Operation: 2+91=93, Resulting Numbers: [73, 93]
Generated Node #0,0,2: 93:[73, 93] Operation: 2+91=93
Exploring Operation: 91-73=18, Resulting Numbers: [2, 18]
Generated Node #0,0,3: 93:[2, 18] Operation: 91-73=18
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[2, 18], Operations: ['74+17=91', '91-73=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[91, 75], Operations: ['74+17=91', '73+2=75']
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,93 unequal: No Solution
Exploring Operation: 91*75=6825, Resulting Numbers: [6825]
6825,93 unequal: No Solution
Exploring Operation: 91+75=166, Resulting Numbers: [166]
166,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[73, 93], Operations: ['74+17=91', '2+91=93']
Exploring Operation: 73*93=6789, Resulting Numbers: [6789]
6789,93 unequal: No Solution
Exploring Operation: 73+93=166, Resulting Numbers: [166]
166,93 unequal: No Solution
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[91, 71], Operations: ['74+17=91', '73-2=71']
Exploring Operation: 91*71=6461, Resulting Numbers: [6461]
6461,93 unequal: No Solution
Exploring Operation: 91+71=162, Resulting Numbers: [162]
162,93 unequal: No Solution
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 93:[73, 17, 37], Operations: ['74/2=37']
Exploring Operation: 73+37=110, Resulting Numbers: [17, 110]
Generated Node #0,3,0: 93:[17, 110] Operation: 73+37=110
Exploring Operation: 73-37=36, Resulting Numbers: [17, 36]
Generated Node #0,3,1: 93:[17, 36] Operation: 73-37=36
Exploring Operation: 73+17=90, Resulting Numbers: [37, 90]
Generated Node #0,3,2: 93:[37, 90] Operation: 73+17=90
Exploring Operation: 73-17=56, Resulting Numbers: [37, 56]
Generated Node #0,3,3: 93:[37, 56] Operation: 73-17=56
Moving to Node #0,2,1
Current State: 93:[90, 37], Operations: ['73+17=90', '74/2=37']
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,93 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[37, 90], Operations: ['74/2=37', '73+17=90']
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,93 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[2, 16], Operations: ['73+17=90', '90-74=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[17, 36], Operations: ['74/2=37', '73-37=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,93 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[74, 92], Operations: ['73+17=90', '2+90=92']
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 74+92=166, Resulting Numbers: [166]
166,93 unequal: No Solution
Exploring Operation: 74*92=6808, Resulting Numbers: [6808]
6808,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[90, 76], Operations: ['73+17=90', '74+2=76']
Exploring Operation: 90*76=6840, Resulting Numbers: [6840]
6840,93 unequal: No Solution
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 90+76=166, Resulting Numbers: [166]
166,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[17, 110], Operations: ['74/2=37', '73+37=110']
Exploring Operation: 110-17=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[74, 73, 17, 2], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [73, 17, 37]
Generated Node #0,3: 93:[73, 17, 37] Operation: 74/2=37
Moving to Node #0,3
Current State: 93:[73, 17, 37], Operations: ['74/2=37']
Exploring Operation: 73+37=110, Resulting Numbers: [17, 110]
Generated Node #0,3,0: 93:[17, 110] Operation: 73+37=110
Moving to Node #0,3,0
Current State: 93:[17, 110], Operations: ['74/2=37', '73+37=110']
Exploring Operation: 110-17=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.936632 | hs_4 | sum_heuristic |
[
75,
24,
46,
90
] | 55 | [
"75+24=99",
"90-46=44",
"99-44=55"
] | Current State: 55:[75, 24, 46, 90], Operations: []
Exploring Operation: 75+24=99, Resulting Numbers: [46, 90, 99]
Generated Node #2: [46, 90, 99] from Operation: 75+24=99
Current State: 55:[46, 90, 99], Operations: ['75+24=99']
Exploring Operation: 90-46=44, Resulting Numbers: [99, 44]
Generated Node #3: [99, 44] from Operation: 90-46=44
Current State: 55:[99, 44], Operations: ['75+24=99', '90-46=44']
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[75, 24, 46, 90], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [75, 46, 66]
Generated Node #0,0: 55:[75, 46, 66] Operation: 90-24=66
Exploring Operation: 90-75=15, Resulting Numbers: [24, 46, 15]
Generated Node #0,1: 55:[24, 46, 15] Operation: 90-75=15
Moving to Node #0,1
Current State: 55:[24, 46, 15], Operations: ['90-75=15']
Exploring Operation: 24-15=9, Resulting Numbers: [46, 9]
Generated Node #0,1,0: 55:[46, 9] Operation: 24-15=9
Exploring Operation: 46-24=22, Resulting Numbers: [15, 22]
Generated Node #0,1,1: 55:[15, 22] Operation: 46-24=22
Moving to Node #0,0
Current State: 55:[75, 46, 66], Operations: ['90-24=66']
Exploring Operation: 75-66=9, Resulting Numbers: [46, 9]
Generated Node #0,0,0: 55:[46, 9] Operation: 75-66=9
Exploring Operation: 75-46=29, Resulting Numbers: [66, 29]
Generated Node #0,0,1: 55:[66, 29] Operation: 75-46=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[46, 9], Operations: ['90-24=66', '75-66=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[75, 24, 46, 90], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [75, 46, 66]
Generated Node #0,0: 55:[75, 46, 66] Operation: 90-24=66
Moving to Node #0,0
Current State: 55:[75, 46, 66], Operations: ['90-24=66']
Exploring Operation: 75-66=9, Resulting Numbers: [46, 9]
Generated Node #0,0,0: 55:[46, 9] Operation: 75-66=9
Moving to Node #0,0,0
Current State: 55:[46, 9], Operations: ['90-24=66', '75-66=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
72,
10,
74,
28
] | 33 | [
"74-72=2",
"10/2=5",
"28+5=33"
] | Current State: 33:[72, 10, 74, 28], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [10, 28, 2]
Generated Node #2: [10, 28, 2] from Operation: 74-72=2
Current State: 33:[10, 28, 2], Operations: ['74-72=2']
Exploring Operation: 10/2=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 10/2=5
Current State: 33:[28, 5], Operations: ['74-72=2', '10/2=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 10, 74, 28], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [10, 28, 2]
Generated Node #0,0: 33:[10, 28, 2] Operation: 74-72=2
Exploring Operation: 74-28=46, Resulting Numbers: [72, 10, 46]
Generated Node #0,1: 33:[72, 10, 46] Operation: 74-28=46
Exploring Operation: 72-28=44, Resulting Numbers: [10, 74, 44]
Generated Node #0,2: 33:[10, 74, 44] Operation: 72-28=44
Moving to Node #0,0
Current State: 33:[10, 28, 2], Operations: ['74-72=2']
Exploring Operation: 28+2=30, Resulting Numbers: [10, 30]
Generated Node #0,0,0: 33:[10, 30] Operation: 28+2=30
Exploring Operation: 28/2=14, Resulting Numbers: [10, 14]
Generated Node #0,0,1: 33:[10, 14] Operation: 28/2=14
Exploring Operation: 10+28=38, Resulting Numbers: [2, 38]
Generated Node #0,0,2: 33:[2, 38] Operation: 10+28=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[10, 30], Operations: ['74-72=2', '28+2=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[10, 14], Operations: ['74-72=2', '28/2=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[2, 38], Operations: ['74-72=2', '10+28=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,33 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: 33:[72, 10, 46], Operations: ['74-28=46']
Exploring Operation: 46-10=36, Resulting Numbers: [72, 36]
Generated Node #0,1,0: 33:[72, 36] Operation: 46-10=36
Exploring Operation: 72-10=62, Resulting Numbers: [46, 62]
Generated Node #0,1,1: 33:[46, 62] Operation: 72-10=62
Exploring Operation: 72-46=26, Resulting Numbers: [10, 26]
Generated Node #0,1,2: 33:[10, 26] Operation: 72-46=26
Moving to Node #0,2
Current State: 33:[10, 74, 44], Operations: ['72-28=44']
Exploring Operation: 44-10=34, Resulting Numbers: [74, 34]
Generated Node #0,2,0: 33:[74, 34] Operation: 44-10=34
Exploring Operation: 74-44=30, Resulting Numbers: [10, 30]
Generated Node #0,2,1: 33:[10, 30] Operation: 74-44=30
Exploring Operation: 74-10=64, Resulting Numbers: [44, 64]
Generated Node #0,2,2: 33:[44, 64] Operation: 74-10=64
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[10, 30], Operations: ['72-28=44', '74-44=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[74, 34], Operations: ['72-28=44', '44-10=34']
Exploring Operation: 74*34=2516, Resulting Numbers: [2516]
2516,33 unequal: No Solution
Exploring Operation: 74+34=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[44, 64], Operations: ['72-28=44', '74-10=64']
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,33 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 33:[10, 26], Operations: ['74-28=46', '72-46=26']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,33 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[72, 36], Operations: ['74-28=46', '46-10=36']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[46, 62], Operations: ['74-28=46', '72-10=62']
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,33 unequal: No Solution
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,33 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,33 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
33,
14,
99,
29
] | 46 | [
"99/33=3",
"14+29=43",
"3+43=46"
] | Current State: 46:[33, 14, 99, 29], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [14, 29, 3]
Generated Node #2: [14, 29, 3] from Operation: 99/33=3
Current State: 46:[14, 29, 3], Operations: ['99/33=3']
Exploring Operation: 14+29=43, Resulting Numbers: [3, 43]
Generated Node #3: [3, 43] from Operation: 14+29=43
Current State: 46:[3, 43], Operations: ['99/33=3', '14+29=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[33, 14, 99, 29], Operations: []
Exploring Operation: 99-33=66, Resulting Numbers: [14, 29, 66]
Generated Node #0,0: 46:[14, 29, 66] Operation: 99-33=66
Exploring Operation: 99/33=3, Resulting Numbers: [14, 29, 3]
Generated Node #0,1: 46:[14, 29, 3] Operation: 99/33=3
Exploring Operation: 33+14=47, Resulting Numbers: [99, 29, 47]
Generated Node #0,2: 46:[99, 29, 47] Operation: 33+14=47
Exploring Operation: 99-14=85, Resulting Numbers: [33, 29, 85]
Generated Node #0,3: 46:[33, 29, 85] Operation: 99-14=85
Exploring Operation: 99-29=70, Resulting Numbers: [33, 14, 70]
Generated Node #0,4: 46:[33, 14, 70] Operation: 99-29=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[14, 29, 3], Operations: ['99/33=3']
Exploring Operation: 29-3=26, Resulting Numbers: [14, 26]
Generated Node #0,1,0: 46:[14, 26] Operation: 29-3=26
Exploring Operation: 14+3=17, Resulting Numbers: [29, 17]
Generated Node #0,1,1: 46:[29, 17] Operation: 14+3=17
Exploring Operation: 29-14=15, Resulting Numbers: [3, 15]
Generated Node #0,1,2: 46:[3, 15] Operation: 29-14=15
Exploring Operation: 14*3=42, Resulting Numbers: [29, 42]
Generated Node #0,1,3: 46:[29, 42] Operation: 14*3=42
Exploring Operation: 14+29=43, Resulting Numbers: [3, 43]
Generated Node #0,1,4: 46:[3, 43] Operation: 14+29=43
Moving to Node #0,1,4
Current State: 46:[3, 43], Operations: ['99/33=3', '14+29=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[33, 14, 99, 29], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [14, 29, 3]
Generated Node #0,1: 46:[14, 29, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 46:[14, 29, 3], Operations: ['99/33=3']
Exploring Operation: 14+29=43, Resulting Numbers: [3, 43]
Generated Node #0,1,4: 46:[3, 43] Operation: 14+29=43
Moving to Node #0,1,4
Current State: 46:[3, 43], Operations: ['99/33=3', '14+29=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
71,
18,
25,
7
] | 86 | [
"71+18=89",
"25*7=175",
"175-89=86"
] | Current State: 86:[71, 18, 25, 7], Operations: []
Exploring Operation: 71+18=89, Resulting Numbers: [25, 7, 89]
Generated Node #2: [25, 7, 89] from Operation: 71+18=89
Current State: 86:[25, 7, 89], Operations: ['71+18=89']
Exploring Operation: 25*7=175, Resulting Numbers: [89, 175]
Generated Node #3: [89, 175] from Operation: 25*7=175
Current State: 86:[89, 175], Operations: ['71+18=89', '25*7=175']
Exploring Operation: 175-89=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[71, 18, 25, 7], Operations: []
Exploring Operation: 18+25=43, Resulting Numbers: [71, 7, 43]
Generated Node #0,0: 86:[71, 7, 43] Operation: 18+25=43
Exploring Operation: 71-25=46, Resulting Numbers: [18, 7, 46]
Generated Node #0,1: 86:[18, 7, 46] Operation: 71-25=46
Exploring Operation: 25-18=7, Resulting Numbers: [71, 7, 7]
Generated Node #0,2: 86:[71, 7, 7] Operation: 25-18=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[71, 7, 43], Operations: ['18+25=43']
Exploring Operation: 71-43=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 86:[7, 28] Operation: 71-43=28
Exploring Operation: 71-7=64, Resulting Numbers: [43, 64]
Generated Node #0,0,1: 86:[43, 64] Operation: 71-7=64
Exploring Operation: 71+7=78, Resulting Numbers: [43, 78]
Generated Node #0,0,2: 86:[43, 78] Operation: 71+7=78
Moving to Node #0,0,2
Current State: 86:[43, 78], Operations: ['18+25=43', '71+7=78']
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,86 unequal: No Solution
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[7, 28], Operations: ['18+25=43', '71-43=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[43, 64], Operations: ['18+25=43', '71-7=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,86 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[18, 7, 46], Operations: ['71-25=46']
Exploring Operation: 46-18=28, Resulting Numbers: [7, 28]
Generated Node #0,1,0: 86:[7, 28] Operation: 46-18=28
Exploring Operation: 46-7=39, Resulting Numbers: [18, 39]
Generated Node #0,1,1: 86:[18, 39] Operation: 46-7=39
Exploring Operation: 18-7=11, Resulting Numbers: [46, 11]
Generated Node #0,1,2: 86:[46, 11] Operation: 18-7=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[46, 11], Operations: ['71-25=46', '18-7=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,86 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,86 unequal: No Solution
No 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: 86:[7, 28], Operations: ['71-25=46', '46-18=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,86 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No 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: 86:[18, 39], Operations: ['71-25=46', '46-7=39']
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,86 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: 86:[71, 7, 7], Operations: ['25-18=7']
Exploring Operation: 71+7=78, Resulting Numbers: [7, 78]
Generated Node #0,2,0: 86:[7, 78] Operation: 71+7=78
Exploring Operation: 71+7=78, Resulting Numbers: [7, 78]
Generated Node #0,2,1: 86:[7, 78] Operation: 71+7=78
Exploring Operation: 7/7=1, Resulting Numbers: [71, 1]
Generated Node #0,2,2: 86:[71, 1] Operation: 7/7=1
Moving to Node #0,2,0
Current State: 86:[7, 78], Operations: ['25-18=7', '71+7=78']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[7, 78], Operations: ['25-18=7', '71+7=78']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[71, 1], Operations: ['25-18=7', '7/7=1']
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
54,
12,
80
] | 50 | [
"80/10=8",
"54-12=42",
"8+42=50"
] | Current State: 50:[10, 54, 12, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [54, 12, 8]
Generated Node #2: [54, 12, 8] from Operation: 80/10=8
Current State: 50:[54, 12, 8], Operations: ['80/10=8']
Exploring Operation: 54-12=42, Resulting Numbers: [8, 42]
Generated Node #3: [8, 42] from Operation: 54-12=42
Current State: 50:[8, 42], Operations: ['80/10=8', '54-12=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[10, 54, 12, 80], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [54, 80, 2]
Generated Node #0,0: 50:[54, 80, 2] Operation: 12-10=2
Exploring Operation: 80-10=70, Resulting Numbers: [54, 12, 70]
Generated Node #0,1: 50:[54, 12, 70] Operation: 80-10=70
Exploring Operation: 80-12=68, Resulting Numbers: [10, 54, 68]
Generated Node #0,2: 50:[10, 54, 68] Operation: 80-12=68
Exploring Operation: 80/10=8, Resulting Numbers: [54, 12, 8]
Generated Node #0,3: 50:[54, 12, 8] Operation: 80/10=8
Exploring Operation: 80-54=26, Resulting Numbers: [10, 12, 26]
Generated Node #0,4: 50:[10, 12, 26] Operation: 80-54=26
Moving to Node #0,4
Current State: 50:[10, 12, 26], Operations: ['80-54=26']
Exploring Operation: 26-12=14, Resulting Numbers: [10, 14]
Generated Node #0,4,0: 50:[10, 14] Operation: 26-12=14
Exploring Operation: 10+12=22, Resulting Numbers: [26, 22]
Generated Node #0,4,1: 50:[26, 22] Operation: 10+12=22
Exploring Operation: 26-10=16, Resulting Numbers: [12, 16]
Generated Node #0,4,2: 50:[12, 16] Operation: 26-10=16
Exploring Operation: 12+26=38, Resulting Numbers: [10, 38]
Generated Node #0,4,3: 50:[10, 38] Operation: 12+26=38
Exploring Operation: 12-10=2, Resulting Numbers: [26, 2]
Generated Node #0,4,4: 50:[26, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 50:[26, 2], Operations: ['80-54=26', '12-10=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 50:[10, 14], Operations: ['80-54=26', '26-12=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,50 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,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,4,1
Current State: 50:[26, 22], Operations: ['80-54=26', '10+12=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,50 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,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,4,2
Current State: 50:[12, 16], Operations: ['80-54=26', '26-10=16']
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,50 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,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,4,3
Current State: 50:[10, 38], Operations: ['80-54=26', '12+26=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,50 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 50:[54, 12, 8], Operations: ['80/10=8']
Exploring Operation: 12+8=20, Resulting Numbers: [54, 20]
Generated Node #0,3,0: 50:[54, 20] Operation: 12+8=20
Exploring Operation: 54-8=46, Resulting Numbers: [12, 46]
Generated Node #0,3,1: 50:[12, 46] Operation: 54-8=46
Exploring Operation: 12-8=4, Resulting Numbers: [54, 4]
Generated Node #0,3,2: 50:[54, 4] Operation: 12-8=4
Exploring Operation: 54+8=62, Resulting Numbers: [12, 62]
Generated Node #0,3,3: 50:[12, 62] Operation: 54+8=62
Exploring Operation: 54-12=42, Resulting Numbers: [8, 42]
Generated Node #0,3,4: 50:[8, 42] Operation: 54-12=42
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[54, 4], Operations: ['80/10=8', '12-8=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[10, 54, 12, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [54, 12, 8]
Generated Node #0,3: 50:[54, 12, 8] Operation: 80/10=8
Moving to Node #0,3
Current State: 50:[54, 12, 8], Operations: ['80/10=8']
Exploring Operation: 12-8=4, Resulting Numbers: [54, 4]
Generated Node #0,3,2: 50:[54, 4] Operation: 12-8=4
Moving to Node #0,3,2
Current State: 50:[54, 4], Operations: ['80/10=8', '12-8=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
63,
70,
27,
89
] | 69 | [
"70-63=7",
"89-27=62",
"7+62=69"
] | Current State: 69:[63, 70, 27, 89], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [27, 89, 7]
Generated Node #2: [27, 89, 7] from Operation: 70-63=7
Current State: 69:[27, 89, 7], Operations: ['70-63=7']
Exploring Operation: 89-27=62, Resulting Numbers: [7, 62]
Generated Node #3: [7, 62] from Operation: 89-27=62
Current State: 69:[7, 62], Operations: ['70-63=7', '89-27=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[63, 70, 27, 89], Operations: []
Exploring Operation: 89-27=62, Resulting Numbers: [63, 70, 62]
Generated Node #0,0: 69:[63, 70, 62] Operation: 89-27=62
Exploring Operation: 89-63=26, Resulting Numbers: [70, 27, 26]
Generated Node #0,1: 69:[70, 27, 26] Operation: 89-63=26
Exploring Operation: 89-70=19, Resulting Numbers: [63, 27, 19]
Generated Node #0,2: 69:[63, 27, 19] Operation: 89-70=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[70, 27, 26], Operations: ['89-63=26']
Exploring Operation: 27-26=1, Resulting Numbers: [70, 1]
Generated Node #0,1,0: 69:[70, 1] Operation: 27-26=1
Exploring Operation: 70-27=43, Resulting Numbers: [26, 43]
Generated Node #0,1,1: 69:[26, 43] Operation: 70-27=43
Exploring Operation: 27+26=53, Resulting Numbers: [70, 53]
Generated Node #0,1,2: 69:[70, 53] Operation: 27+26=53
Moving to Node #0,1,0
Current State: 69:[70, 1], Operations: ['89-63=26', '27-26=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[63, 70, 27, 89], Operations: []
Exploring Operation: 89-63=26, Resulting Numbers: [70, 27, 26]
Generated Node #0,1: 69:[70, 27, 26] Operation: 89-63=26
Moving to Node #0,1
Current State: 69:[70, 27, 26], Operations: ['89-63=26']
Exploring Operation: 27-26=1, Resulting Numbers: [70, 1]
Generated Node #0,1,0: 69:[70, 1] Operation: 27-26=1
Moving to Node #0,1,0
Current State: 69:[70, 1], Operations: ['89-63=26', '27-26=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
7,
17,
7,
42
] | 11 | [
"7+17=24",
"42-7=35",
"35-24=11"
] | Current State: 11:[7, 17, 7, 42], Operations: []
Exploring Operation: 7+17=24, Resulting Numbers: [42, 24]
Generated Node #2: [42, 24] from Operation: 7+17=24
Current State: 11:[42, 24], Operations: ['7+17=24']
Exploring Operation: 42-7=35, Resulting Numbers: [24, 35]
Generated Node #3: [24, 35] from Operation: 42-7=35
Current State: 11:[24, 35], Operations: ['7+17=24', '42-7=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[7, 17, 7, 42], Operations: []
Exploring Operation: 42-7=35, Resulting Numbers: [17, 7, 35]
Generated Node #0,0: 11:[17, 7, 35] Operation: 42-7=35
Exploring Operation: 42/7=6, Resulting Numbers: [7, 17, 6]
Generated Node #0,1: 11:[7, 17, 6] Operation: 42/7=6
Exploring Operation: 42-17=25, Resulting Numbers: [7, 7, 25]
Generated Node #0,2: 11:[7, 7, 25] Operation: 42-17=25
Exploring Operation: 42/7=6, Resulting Numbers: [17, 7, 6]
Generated Node #0,3: 11:[17, 7, 6] Operation: 42/7=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[7, 17, 6], Operations: ['42/7=6']
Exploring Operation: 7+6=13, Resulting Numbers: [17, 13]
Generated Node #0,1,0: 11:[17, 13] Operation: 7+6=13
Exploring Operation: 17-7=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 11:[6, 10] Operation: 17-7=10
Exploring Operation: 7-6=1, Resulting Numbers: [17, 1]
Generated Node #0,1,2: 11:[17, 1] Operation: 7-6=1
Exploring Operation: 17-6=11, Resulting Numbers: [7, 11]
Generated Node #0,1,3: 11:[7, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[7, 11], Operations: ['42/7=6', '17-6=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[6, 10], Operations: ['42/7=6', '17-7=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[17, 13], Operations: ['42/7=6', '7+6=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,11 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[17, 1], Operations: ['42/7=6', '7-6=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[17, 7, 6], Operations: ['42/7=6']
Exploring Operation: 17+6=23, Resulting Numbers: [7, 23]
Generated Node #0,3,0: 11:[7, 23] Operation: 17+6=23
Exploring Operation: 17-7=10, Resulting Numbers: [6, 10]
Generated Node #0,3,1: 11:[6, 10] Operation: 17-7=10
Exploring Operation: 7+6=13, Resulting Numbers: [17, 13]
Generated Node #0,3,2: 11:[17, 13] Operation: 7+6=13
Exploring Operation: 17-6=11, Resulting Numbers: [7, 11]
Generated Node #0,3,3: 11:[7, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 11:[7, 11], Operations: ['42/7=6', '17-6=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,11 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 11:[6, 10], Operations: ['42/7=6', '17-7=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 11:[17, 13], Operations: ['42/7=6', '7+6=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,11 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 11:[7, 23], Operations: ['42/7=6', '17+6=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,11 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[7, 7, 25], Operations: ['42-17=25']
Exploring Operation: 25-7=18, Resulting Numbers: [7, 18]
Generated Node #0,2,0: 11:[7, 18] Operation: 25-7=18
Exploring Operation: 7+7=14, Resulting Numbers: [25, 14]
Generated Node #0,2,1: 11:[25, 14] Operation: 7+7=14
Exploring Operation: 7/7=1, Resulting Numbers: [25, 1]
Generated Node #0,2,2: 11:[25, 1] Operation: 7/7=1
Exploring Operation: 25-7=18, Resulting Numbers: [7, 18]
Generated Node #0,2,3: 11:[7, 18] Operation: 25-7=18
Moving to Node #0,2,0
Current State: 11:[7, 18], Operations: ['42-17=25', '25-7=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,11 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[7, 17, 7, 42], Operations: []
Exploring Operation: 42-17=25, Resulting Numbers: [7, 7, 25]
Generated Node #0,2: 11:[7, 7, 25] Operation: 42-17=25
Moving to Node #0,2
Current State: 11:[7, 7, 25], Operations: ['42-17=25']
Exploring Operation: 25-7=18, Resulting Numbers: [7, 18]
Generated Node #0,2,0: 11:[7, 18] Operation: 25-7=18
Moving to Node #0,2,0
Current State: 11:[7, 18], Operations: ['42-17=25', '25-7=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_4 | sum_heuristic |
[
43,
63,
48,
50
] | 53 | [
"43+63=106",
"50-48=2",
"106/2=53"
] | Current State: 53:[43, 63, 48, 50], Operations: []
Exploring Operation: 43+63=106, Resulting Numbers: [48, 50, 106]
Generated Node #2: [48, 50, 106] from Operation: 43+63=106
Current State: 53:[48, 50, 106], Operations: ['43+63=106']
Exploring Operation: 50-48=2, Resulting Numbers: [106, 2]
Generated Node #3: [106, 2] from Operation: 50-48=2
Current State: 53:[106, 2], Operations: ['43+63=106', '50-48=2']
Exploring Operation: 106/2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[43, 63, 48, 50], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [48, 50, 20]
Generated Node #0,0: 53:[48, 50, 20] Operation: 63-43=20
Exploring Operation: 63-50=13, Resulting Numbers: [43, 48, 13]
Generated Node #0,1: 53:[43, 48, 13] Operation: 63-50=13
Exploring Operation: 63-48=15, Resulting Numbers: [43, 50, 15]
Generated Node #0,2: 53:[43, 50, 15] Operation: 63-48=15
Exploring Operation: 43+48=91, Resulting Numbers: [63, 50, 91]
Generated Node #0,3: 53:[63, 50, 91] Operation: 43+48=91
Exploring Operation: 43+50=93, Resulting Numbers: [63, 48, 93]
Generated Node #0,4: 53:[63, 48, 93] Operation: 43+50=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[48, 50, 20], Operations: ['63-43=20']
Exploring Operation: 50+20=70, Resulting Numbers: [48, 70]
Generated Node #0,0,0: 53:[48, 70] Operation: 50+20=70
Exploring Operation: 48-20=28, Resulting Numbers: [50, 28]
Generated Node #0,0,1: 53:[50, 28] Operation: 48-20=28
Exploring Operation: 48+20=68, Resulting Numbers: [50, 68]
Generated Node #0,0,2: 53:[50, 68] Operation: 48+20=68
Exploring Operation: 48+50=98, Resulting Numbers: [20, 98]
Generated Node #0,0,3: 53:[20, 98] Operation: 48+50=98
Exploring Operation: 50-20=30, Resulting Numbers: [48, 30]
Generated Node #0,0,4: 53:[48, 30] Operation: 50-20=30
Moving to Node #0,0,2
Current State: 53:[50, 68], Operations: ['63-43=20', '48+20=68']
Exploring Operation: 50*68=3400, Resulting Numbers: [3400]
3400,53 unequal: No Solution
Exploring Operation: 50+68=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[48, 70], Operations: ['63-43=20', '50+20=70']
Exploring Operation: 48*70=3360, Resulting Numbers: [3360]
3360,53 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 48+70=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[50, 28], Operations: ['63-43=20', '48-20=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[48, 30], Operations: ['63-43=20', '50-20=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[20, 98], Operations: ['63-43=20', '48+50=98']
Exploring Operation: 20*98=1960, Resulting Numbers: [1960]
1960,53 unequal: No Solution
Exploring Operation: 20+98=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[43, 50, 15], Operations: ['63-48=15']
Exploring Operation: 50-15=35, Resulting Numbers: [43, 35]
Generated Node #0,2,0: 53:[43, 35] Operation: 50-15=35
Exploring Operation: 43-15=28, Resulting Numbers: [50, 28]
Generated Node #0,2,1: 53:[50, 28] Operation: 43-15=28
Exploring Operation: 43+50=93, Resulting Numbers: [15, 93]
Generated Node #0,2,2: 53:[15, 93] Operation: 43+50=93
Exploring Operation: 50+15=65, Resulting Numbers: [43, 65]
Generated Node #0,2,3: 53:[43, 65] Operation: 50+15=65
Exploring Operation: 43+15=58, Resulting Numbers: [50, 58]
Generated Node #0,2,4: 53:[50, 58] Operation: 43+15=58
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 53:[50, 58], Operations: ['63-48=15', '43+15=58']
Exploring Operation: 50+58=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 58-50=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 50*58=2900, Resulting Numbers: [2900]
2900,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,2,3
Current State: 53:[43, 65], Operations: ['63-48=15', '50+15=65']
Exploring Operation: 43+65=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 43*65=2795, Resulting Numbers: [2795]
2795,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,2,0
Current State: 53:[43, 35], Operations: ['63-48=15', '50-15=35']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,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,2,1
Current State: 53:[50, 28], Operations: ['63-48=15', '43-15=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,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,2,2
Current State: 53:[15, 93], Operations: ['63-48=15', '43+50=93']
Exploring Operation: 15*93=1395, Resulting Numbers: [1395]
1395,53 unequal: No Solution
Exploring Operation: 15+93=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[63, 50, 91], Operations: ['43+48=91']
Exploring Operation: 63-50=13, Resulting Numbers: [91, 13]
Generated Node #0,3,0: 53:[91, 13] Operation: 63-50=13
Exploring Operation: 63+50=113, Resulting Numbers: [91, 113]
Generated Node #0,3,1: 53:[91, 113] Operation: 63+50=113
Exploring Operation: 91-50=41, Resulting Numbers: [63, 41]
Generated Node #0,3,2: 53:[63, 41] Operation: 91-50=41
Exploring Operation: 91-63=28, Resulting Numbers: [50, 28]
Generated Node #0,3,3: 53:[50, 28] Operation: 91-63=28
Exploring Operation: 50+91=141, Resulting Numbers: [63, 141]
Generated Node #0,3,4: 53:[63, 141] Operation: 50+91=141
Moving to Node #0,3,2
Current State: 53:[63, 41], Operations: ['43+48=91', '91-50=41']
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,53 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[50, 28], Operations: ['43+48=91', '91-63=28']
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,53 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[91, 13], Operations: ['43+48=91', '63-50=13']
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,53 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[91, 113], Operations: ['43+48=91', '63+50=113']
Exploring Operation: 113-91=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 91+113=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 91*113=10283, Resulting Numbers: [10283]
10283,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[63, 141], Operations: ['43+48=91', '50+91=141']
Exploring Operation: 63+141=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 141-63=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 63*141=8883, Resulting Numbers: [8883]
8883,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:[43, 48, 13], Operations: ['63-50=13']
Exploring Operation: 48-13=35, Resulting Numbers: [43, 35]
Generated Node #0,1,0: 53:[43, 35] Operation: 48-13=35
Exploring Operation: 43+48=91, Resulting Numbers: [13, 91]
Generated Node #0,1,1: 53:[13, 91] Operation: 43+48=91
Exploring Operation: 43-13=30, Resulting Numbers: [48, 30]
Generated Node #0,1,2: 53:[48, 30] Operation: 43-13=30
Exploring Operation: 48+13=61, Resulting Numbers: [43, 61]
Generated Node #0,1,3: 53:[43, 61] Operation: 48+13=61
Exploring Operation: 43+13=56, Resulting Numbers: [48, 56]
Generated Node #0,1,4: 53:[48, 56] Operation: 43+13=56
Moving to Node #0,1,4
Current State: 53:[48, 56], Operations: ['63-50=13', '43+13=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,53 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[43, 61], Operations: ['63-50=13', '48+13=61']
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,53 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[43, 35], Operations: ['63-50=13', '48-13=35']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[48, 30], Operations: ['63-50=13', '43-13=30']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[13, 91], Operations: ['63-50=13', '43+48=91']
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,53 unequal: No Solution
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,53 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[63, 48, 93], Operations: ['43+50=93']
Exploring Operation: 48+93=141, Resulting Numbers: [63, 141]
Generated Node #0,4,0: 53:[63, 141] Operation: 48+93=141
Exploring Operation: 63+48=111, Resulting Numbers: [93, 111]
Generated Node #0,4,1: 53:[93, 111] Operation: 63+48=111
Exploring Operation: 93-48=45, Resulting Numbers: [63, 45]
Generated Node #0,4,2: 53:[63, 45] Operation: 93-48=45
Exploring Operation: 93-63=30, Resulting Numbers: [48, 30]
Generated Node #0,4,3: 53:[48, 30] Operation: 93-63=30
Exploring Operation: 63-48=15, Resulting Numbers: [93, 15]
Generated Node #0,4,4: 53:[93, 15] Operation: 63-48=15
Moving to Node #0,4,2
Current State: 53:[63, 45], Operations: ['43+50=93', '93-48=45']
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,53 unequal: No Solution
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[48, 30], Operations: ['43+50=93', '93-63=30']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 48*30=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,4,4
Current State: 53:[93, 15], Operations: ['43+50=93', '63-48=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,53 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[63, 141], Operations: ['43+50=93', '48+93=141']
Exploring Operation: 63*141=8883, Resulting Numbers: [8883]
8883,53 unequal: No Solution
Exploring Operation: 63+141=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 141-63=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[93, 111], Operations: ['43+50=93', '63+48=111']
Exploring Operation: 93*111=10323, Resulting Numbers: [10323]
10323,53 unequal: No Solution
Exploring Operation: 93+111=204, Resulting Numbers: [204]
204,53 unequal: No Solution
Exploring Operation: 111-93=18, Resulting Numbers: [18]
18,53 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 |
[
37,
80,
21,
3
] | 19 | [
"80-37=43",
"21+3=24",
"43-24=19"
] | Current State: 19:[37, 80, 21, 3], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [21, 3, 43]
Generated Node #2: [21, 3, 43] from Operation: 80-37=43
Current State: 19:[21, 3, 43], Operations: ['80-37=43']
Exploring Operation: 21+3=24, Resulting Numbers: [43, 24]
Generated Node #3: [43, 24] from Operation: 21+3=24
Current State: 19:[43, 24], Operations: ['80-37=43', '21+3=24']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[37, 80, 21, 3], Operations: []
Exploring Operation: 37-21=16, Resulting Numbers: [80, 3, 16]
Generated Node #0,0: 19:[80, 3, 16] Operation: 37-21=16
Exploring Operation: 80-37=43, Resulting Numbers: [21, 3, 43]
Generated Node #0,1: 19:[21, 3, 43] Operation: 80-37=43
Exploring Operation: 37-3=34, Resulting Numbers: [80, 21, 34]
Generated Node #0,2: 19:[80, 21, 34] Operation: 37-3=34
Exploring Operation: 80-3=77, Resulting Numbers: [37, 21, 77]
Generated Node #0,3: 19:[37, 21, 77] Operation: 80-3=77
Exploring Operation: 80-21=59, Resulting Numbers: [37, 3, 59]
Generated Node #0,4: 19:[37, 3, 59] Operation: 80-21=59
Moving to Node #0,1
Current State: 19:[21, 3, 43], Operations: ['80-37=43']
Exploring Operation: 21+3=24, Resulting Numbers: [43, 24]
Generated Node #0,1,0: 19:[43, 24] Operation: 21+3=24
Exploring Operation: 21-3=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 19:[43, 18] Operation: 21-3=18
Exploring Operation: 43-21=22, Resulting Numbers: [3, 22]
Generated Node #0,1,2: 19:[3, 22] Operation: 43-21=22
Exploring Operation: 3+43=46, Resulting Numbers: [21, 46]
Generated Node #0,1,3: 19:[21, 46] Operation: 3+43=46
Exploring Operation: 43-3=40, Resulting Numbers: [21, 40]
Generated Node #0,1,4: 19:[21, 40] Operation: 43-3=40
Moving to Node #0,4
Current State: 19:[37, 3, 59], Operations: ['80-21=59']
Exploring Operation: 59-3=56, Resulting Numbers: [37, 56]
Generated Node #0,4,0: 19:[37, 56] Operation: 59-3=56
Exploring Operation: 59-37=22, Resulting Numbers: [3, 22]
Generated Node #0,4,1: 19:[3, 22] Operation: 59-37=22
Exploring Operation: 37+3=40, Resulting Numbers: [59, 40]
Generated Node #0,4,2: 19:[59, 40] Operation: 37+3=40
Exploring Operation: 37-3=34, Resulting Numbers: [59, 34]
Generated Node #0,4,3: 19:[59, 34] Operation: 37-3=34
Exploring Operation: 3+59=62, Resulting Numbers: [37, 62]
Generated Node #0,4,4: 19:[37, 62] Operation: 3+59=62
Moving to Node #0,2
Current State: 19:[80, 21, 34], Operations: ['37-3=34']
Exploring Operation: 34-21=13, Resulting Numbers: [80, 13]
Generated Node #0,2,0: 19:[80, 13] Operation: 34-21=13
Exploring Operation: 80+34=114, Resulting Numbers: [21, 114]
Generated Node #0,2,1: 19:[21, 114] Operation: 80+34=114
Exploring Operation: 80-34=46, Resulting Numbers: [21, 46]
Generated Node #0,2,2: 19:[21, 46] Operation: 80-34=46
Exploring Operation: 80+21=101, Resulting Numbers: [34, 101]
Generated Node #0,2,3: 19:[34, 101] Operation: 80+21=101
Exploring Operation: 80-21=59, Resulting Numbers: [34, 59]
Generated Node #0,2,4: 19:[34, 59] Operation: 80-21=59
Moving to Node #0,3
Current State: 19:[37, 21, 77], Operations: ['80-3=77']
Exploring Operation: 77-37=40, Resulting Numbers: [21, 40]
Generated Node #0,3,0: 19:[21, 40] Operation: 77-37=40
Exploring Operation: 77-21=56, Resulting Numbers: [37, 56]
Generated Node #0,3,1: 19:[37, 56] Operation: 77-21=56
Exploring Operation: 37+77=114, Resulting Numbers: [21, 114]
Generated Node #0,3,2: 19:[21, 114] Operation: 37+77=114
Exploring Operation: 37-21=16, Resulting Numbers: [77, 16]
Generated Node #0,3,3: 19:[77, 16] Operation: 37-21=16
Exploring Operation: 37+21=58, Resulting Numbers: [77, 58]
Generated Node #0,3,4: 19:[77, 58] Operation: 37+21=58
Moving to Node #0,0
Current State: 19:[80, 3, 16], Operations: ['37-21=16']
Exploring Operation: 80-3=77, Resulting Numbers: [16, 77]
Generated Node #0,0,0: 19:[16, 77] Operation: 80-3=77
Exploring Operation: 80+3=83, Resulting Numbers: [16, 83]
Generated Node #0,0,1: 19:[16, 83] Operation: 80+3=83
Exploring Operation: 80/16=5, Resulting Numbers: [3, 5]
Generated Node #0,0,2: 19:[3, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [3, 64]
Generated Node #0,0,3: 19:[3, 64] Operation: 80-16=64
Exploring Operation: 3+16=19, Resulting Numbers: [80, 19]
Generated Node #0,0,4: 19:[80, 19] Operation: 3+16=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[3, 5], Operations: ['37-21=16', '80/16=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[16, 77], Operations: ['37-21=16', '80-3=77']
Exploring Operation: 16*77=1232, Resulting Numbers: [1232]
1232,19 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[3, 64], Operations: ['37-21=16', '80-16=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,19 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[80, 19], Operations: ['37-21=16', '3+16=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Exploring Operation: 80*19=1520, Resulting Numbers: [1520]
1520,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[16, 83], Operations: ['37-21=16', '80+3=83']
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,19 unequal: No Solution
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 19:[3, 22], Operations: ['80-37=43', '43-21=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[37, 80, 21, 3], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [21, 3, 43]
Generated Node #0,1: 19:[21, 3, 43] Operation: 80-37=43
Moving to Node #0,1
Current State: 19:[21, 3, 43], Operations: ['80-37=43']
Exploring Operation: 43-21=22, Resulting Numbers: [3, 22]
Generated Node #0,1,2: 19:[3, 22] Operation: 43-21=22
Moving to Node #0,1,2
Current State: 19:[3, 22], Operations: ['80-37=43', '43-21=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
72,
14,
50,
12
] | 44 | [
"72-50=22",
"14-12=2",
"22*2=44"
] | Current State: 44:[72, 14, 50, 12], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [14, 12, 22]
Generated Node #2: [14, 12, 22] from Operation: 72-50=22
Current State: 44:[14, 12, 22], Operations: ['72-50=22']
Exploring Operation: 14-12=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 14-12=2
Current State: 44:[22, 2], Operations: ['72-50=22', '14-12=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[72, 14, 50, 12], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [14, 12, 22]
Generated Node #0,0: 44:[14, 12, 22] Operation: 72-50=22
Exploring Operation: 72-12=60, Resulting Numbers: [14, 50, 60]
Generated Node #0,1: 44:[14, 50, 60] Operation: 72-12=60
Exploring Operation: 14-12=2, Resulting Numbers: [72, 50, 2]
Generated Node #0,2: 44:[72, 50, 2] Operation: 14-12=2
Exploring Operation: 72/12=6, Resulting Numbers: [14, 50, 6]
Generated Node #0,3: 44:[14, 50, 6] Operation: 72/12=6
Exploring Operation: 72-14=58, Resulting Numbers: [50, 12, 58]
Generated Node #0,4: 44:[50, 12, 58] Operation: 72-14=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[14, 12, 22], Operations: ['72-50=22']
Exploring Operation: 22-14=8, Resulting Numbers: [12, 8]
Generated Node #0,0,0: 44:[12, 8] Operation: 22-14=8
Exploring Operation: 14-12=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 44:[22, 2] Operation: 14-12=2
Exploring Operation: 14+22=36, Resulting Numbers: [12, 36]
Generated Node #0,0,2: 44:[12, 36] Operation: 14+22=36
Exploring Operation: 22-12=10, Resulting Numbers: [14, 10]
Generated Node #0,0,3: 44:[14, 10] Operation: 22-12=10
Exploring Operation: 14+12=26, Resulting Numbers: [22, 26]
Generated Node #0,0,4: 44:[22, 26] Operation: 14+12=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[22, 2], Operations: ['72-50=22', '14-12=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[72, 14, 50, 12], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [14, 12, 22]
Generated Node #0,0: 44:[14, 12, 22] Operation: 72-50=22
Moving to Node #0,0
Current State: 44:[14, 12, 22], Operations: ['72-50=22']
Exploring Operation: 14-12=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 44:[22, 2] Operation: 14-12=2
Moving to Node #0,0,1
Current State: 44:[22, 2], Operations: ['72-50=22', '14-12=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
58,
74,
34,
5
] | 50 | [
"74-34=40",
"40/5=8",
"58-8=50"
] | Current State: 50:[58, 74, 34, 5], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [58, 5, 40]
Generated Node #2: [58, 5, 40] from Operation: 74-34=40
Current State: 50:[58, 5, 40], Operations: ['74-34=40']
Exploring Operation: 40/5=8, Resulting Numbers: [58, 8]
Generated Node #3: [58, 8] from Operation: 40/5=8
Current State: 50:[58, 8], Operations: ['74-34=40', '40/5=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[58, 74, 34, 5], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [34, 5, 16]
Generated Node #0,0: 50:[34, 5, 16] Operation: 74-58=16
Exploring Operation: 58-34=24, Resulting Numbers: [74, 5, 24]
Generated Node #0,1: 50:[74, 5, 24] Operation: 58-34=24
Exploring Operation: 74-34=40, Resulting Numbers: [58, 5, 40]
Generated Node #0,2: 50:[58, 5, 40] Operation: 74-34=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[34, 5, 16], Operations: ['74-58=16']
Exploring Operation: 34-5=29, Resulting Numbers: [16, 29]
Generated Node #0,0,0: 50:[16, 29] Operation: 34-5=29
Exploring Operation: 34+16=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 50:[5, 50] Operation: 34+16=50
Exploring Operation: 34-16=18, Resulting Numbers: [5, 18]
Generated Node #0,0,2: 50:[5, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[5, 50], Operations: ['74-58=16', '34+16=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[5, 18], Operations: ['74-58=16', '34-16=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[16, 29], Operations: ['74-58=16', '34-5=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,50 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[58, 5, 40], Operations: ['74-34=40']
Exploring Operation: 40/5=8, Resulting Numbers: [58, 8]
Generated Node #0,2,0: 50:[58, 8] Operation: 40/5=8
Exploring Operation: 58-5=53, Resulting Numbers: [40, 53]
Generated Node #0,2,1: 50:[40, 53] Operation: 58-5=53
Exploring Operation: 58-40=18, Resulting Numbers: [5, 18]
Generated Node #0,2,2: 50:[5, 18] Operation: 58-40=18
Moving to Node #0,2,2
Current State: 50:[5, 18], Operations: ['74-34=40', '58-40=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[58, 8], Operations: ['74-34=40', '40/5=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[58, 74, 34, 5], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [58, 5, 40]
Generated Node #0,2: 50:[58, 5, 40] Operation: 74-34=40
Moving to Node #0,2
Current State: 50:[58, 5, 40], Operations: ['74-34=40']
Exploring Operation: 40/5=8, Resulting Numbers: [58, 8]
Generated Node #0,2,0: 50:[58, 8] Operation: 40/5=8
Moving to Node #0,2,0
Current State: 50:[58, 8], Operations: ['74-34=40', '40/5=8']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
69,
24,
16,
4
] | 97 | [
"69+24=93",
"16/4=4",
"93+4=97"
] | Current State: 97:[69, 24, 16, 4], Operations: []
Exploring Operation: 69+24=93, Resulting Numbers: [16, 4, 93]
Generated Node #2: [16, 4, 93] from Operation: 69+24=93
Current State: 97:[16, 4, 93], Operations: ['69+24=93']
Exploring Operation: 16/4=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 16/4=4
Current State: 97:[93, 4], Operations: ['69+24=93', '16/4=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[69, 24, 16, 4], Operations: []
Exploring Operation: 24*4=96, Resulting Numbers: [69, 16, 96]
Generated Node #0,0: 97:[69, 16, 96] Operation: 24*4=96
Moving to Node #0,0
Current State: 97:[69, 16, 96], Operations: ['24*4=96']
Exploring Operation: 69+16=85, Resulting Numbers: [96, 85]
Generated Node #0,0,0: 97:[96, 85] Operation: 69+16=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[96, 85], Operations: ['24*4=96', '69+16=85']
Exploring Operation: 96+85=181, Resulting Numbers: [181]
181,97 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 |
[
68,
91,
1,
89
] | 67 | [
"91-68=23",
"1+89=90",
"90-23=67"
] | Current State: 67:[68, 91, 1, 89], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [1, 89, 23]
Generated Node #2: [1, 89, 23] from Operation: 91-68=23
Current State: 67:[1, 89, 23], Operations: ['91-68=23']
Exploring Operation: 1+89=90, Resulting Numbers: [23, 90]
Generated Node #3: [23, 90] from Operation: 1+89=90
Current State: 67:[23, 90], Operations: ['91-68=23', '1+89=90']
Exploring Operation: 90-23=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[68, 91, 1, 89], Operations: []
Exploring Operation: 68-1=67, Resulting Numbers: [91, 89, 67]
Generated Node #0,0: 67:[91, 89, 67] Operation: 68-1=67
Moving to Node #0,0
Current State: 67:[91, 89, 67], Operations: ['68-1=67']
Exploring Operation: 91-89=2, Resulting Numbers: [67, 2]
Generated Node #0,0,0: 67:[67, 2] Operation: 91-89=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[67, 2], Operations: ['68-1=67', '91-89=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,67 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 |
[
93,
48,
82,
60
] | 23 | [
"93-48=45",
"82-60=22",
"45-22=23"
] | Current State: 23:[93, 48, 82, 60], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [82, 60, 45]
Generated Node #2: [82, 60, 45] from Operation: 93-48=45
Current State: 23:[82, 60, 45], Operations: ['93-48=45']
Exploring Operation: 82-60=22, Resulting Numbers: [45, 22]
Generated Node #3: [45, 22] from Operation: 82-60=22
Current State: 23:[45, 22], Operations: ['93-48=45', '82-60=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[93, 48, 82, 60], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [48, 82, 33]
Generated Node #0,0: 23:[48, 82, 33] Operation: 93-60=33
Exploring Operation: 93-82=11, Resulting Numbers: [48, 60, 11]
Generated Node #0,1: 23:[48, 60, 11] Operation: 93-82=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[48, 60, 11], Operations: ['93-82=11']
Exploring Operation: 48-11=37, Resulting Numbers: [60, 37]
Generated Node #0,1,0: 23:[60, 37] Operation: 48-11=37
Exploring Operation: 60-48=12, Resulting Numbers: [11, 12]
Generated Node #0,1,1: 23:[11, 12] Operation: 60-48=12
Moving to Node #0,1,1
Current State: 23:[11, 12], Operations: ['93-82=11', '60-48=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[93, 48, 82, 60], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [48, 60, 11]
Generated Node #0,1: 23:[48, 60, 11] Operation: 93-82=11
Moving to Node #0,1
Current State: 23:[48, 60, 11], Operations: ['93-82=11']
Exploring Operation: 60-48=12, Resulting Numbers: [11, 12]
Generated Node #0,1,1: 23:[11, 12] Operation: 60-48=12
Moving to Node #0,1,1
Current State: 23:[11, 12], Operations: ['93-82=11', '60-48=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
84,
48,
42,
26
] | 76 | [
"84/42=2",
"48+26=74",
"2+74=76"
] | Current State: 76:[84, 48, 42, 26], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [48, 26, 2]
Generated Node #2: [48, 26, 2] from Operation: 84/42=2
Current State: 76:[48, 26, 2], Operations: ['84/42=2']
Exploring Operation: 48+26=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 48+26=74
Current State: 76:[2, 74], Operations: ['84/42=2', '48+26=74']
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[84, 48, 42, 26], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [42, 26, 36]
Generated Node #0,0: 76:[42, 26, 36] Operation: 84-48=36
Exploring Operation: 48-26=22, Resulting Numbers: [84, 42, 22]
Generated Node #0,1: 76:[84, 42, 22] Operation: 48-26=22
Exploring Operation: 48+26=74, Resulting Numbers: [84, 42, 74]
Generated Node #0,2: 76:[84, 42, 74] Operation: 48+26=74
Moving to Node #0,0
Current State: 76:[42, 26, 36], Operations: ['84-48=36']
Exploring Operation: 42-26=16, Resulting Numbers: [36, 16]
Generated Node #0,0,0: 76:[36, 16] Operation: 42-26=16
Exploring Operation: 42+36=78, Resulting Numbers: [26, 78]
Generated Node #0,0,1: 76:[26, 78] Operation: 42+36=78
Exploring Operation: 42-36=6, Resulting Numbers: [26, 6]
Generated Node #0,0,2: 76:[26, 6] Operation: 42-36=6
Moving to Node #0,2
Current State: 76:[84, 42, 74], Operations: ['48+26=74']
Exploring Operation: 84-42=42, Resulting Numbers: [74, 42]
Generated Node #0,2,0: 76:[74, 42] Operation: 84-42=42
Exploring Operation: 84-74=10, Resulting Numbers: [42, 10]
Generated Node #0,2,1: 76:[42, 10] Operation: 84-74=10
Exploring Operation: 84/42=2, Resulting Numbers: [74, 2]
Generated Node #0,2,2: 76:[74, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[74, 2], Operations: ['48+26=74', '84/42=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[84, 48, 42, 26], Operations: []
Exploring Operation: 48+26=74, Resulting Numbers: [84, 42, 74]
Generated Node #0,2: 76:[84, 42, 74] Operation: 48+26=74
Moving to Node #0,2
Current State: 76:[84, 42, 74], Operations: ['48+26=74']
Exploring Operation: 84/42=2, Resulting Numbers: [74, 2]
Generated Node #0,2,2: 76:[74, 2] Operation: 84/42=2
Moving to Node #0,2,2
Current State: 76:[74, 2], Operations: ['48+26=74', '84/42=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
19,
74,
42,
32
] | 62 | [
"19*74=1406",
"42*32=1344",
"1406-1344=62"
] | Current State: 62:[19, 74, 42, 32], Operations: []
Exploring Operation: 19*74=1406, Resulting Numbers: [42, 32, 1406]
Generated Node #2: [42, 32, 1406] from Operation: 19*74=1406
Current State: 62:[42, 32, 1406], Operations: ['19*74=1406']
Exploring Operation: 42*32=1344, Resulting Numbers: [1406, 1344]
Generated Node #3: [1406, 1344] from Operation: 42*32=1344
Current State: 62:[1406, 1344], Operations: ['19*74=1406', '42*32=1344']
Exploring Operation: 1406-1344=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 74, 42, 32], Operations: []
Exploring Operation: 74-19=55, Resulting Numbers: [42, 32, 55]
Generated Node #0,0: 62:[42, 32, 55] Operation: 74-19=55
Exploring Operation: 19+42=61, Resulting Numbers: [74, 32, 61]
Generated Node #0,1: 62:[74, 32, 61] Operation: 19+42=61
Exploring Operation: 74-42=32, Resulting Numbers: [19, 32, 32]
Generated Node #0,2: 62:[19, 32, 32] Operation: 74-42=32
Exploring Operation: 42-19=23, Resulting Numbers: [74, 32, 23]
Generated Node #0,3: 62:[74, 32, 23] Operation: 42-19=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[74, 32, 61], Operations: ['19+42=61']
Exploring Operation: 74-61=13, Resulting Numbers: [32, 13]
Generated Node #0,1,0: 62:[32, 13] Operation: 74-61=13
Exploring Operation: 61-32=29, Resulting Numbers: [74, 29]
Generated Node #0,1,1: 62:[74, 29] Operation: 61-32=29
Exploring Operation: 74-32=42, Resulting Numbers: [61, 42]
Generated Node #0,1,2: 62:[61, 42] Operation: 74-32=42
Exploring Operation: 32+61=93, Resulting Numbers: [74, 93]
Generated Node #0,1,3: 62:[74, 93] Operation: 32+61=93
Moving to Node #0,1,0
Current State: 62:[32, 13], Operations: ['19+42=61', '74-61=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[61, 42], Operations: ['19+42=61', '74-32=42']
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,62 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[74, 29], Operations: ['19+42=61', '61-32=29']
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,62 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[74, 93], Operations: ['19+42=61', '32+61=93']
Exploring Operation: 74*93=6882, Resulting Numbers: [6882]
6882,62 unequal: No Solution
Exploring Operation: 74+93=167, Resulting Numbers: [167]
167,62 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[19, 32, 32], Operations: ['74-42=32']
Exploring Operation: 19+32=51, Resulting Numbers: [32, 51]
Generated Node #0,2,0: 62:[32, 51] Operation: 19+32=51
Exploring Operation: 32-19=13, Resulting Numbers: [32, 13]
Generated Node #0,2,1: 62:[32, 13] Operation: 32-19=13
Exploring Operation: 32-19=13, Resulting Numbers: [32, 13]
Generated Node #0,2,2: 62:[32, 13] Operation: 32-19=13
Exploring Operation: 19+32=51, Resulting Numbers: [32, 51]
Generated Node #0,2,3: 62:[32, 51] Operation: 19+32=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[32, 51], Operations: ['74-42=32', '19+32=51']
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,62 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[32, 13], Operations: ['74-42=32', '32-19=13']
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
No 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: 62:[32, 13], Operations: ['74-42=32', '32-19=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
No 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: 62:[32, 51], Operations: ['74-42=32', '19+32=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,62 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,62 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: 62:[42, 32, 55], Operations: ['74-19=55']
Exploring Operation: 55-32=23, Resulting Numbers: [42, 23]
Generated Node #0,0,0: 62:[42, 23] Operation: 55-32=23
Exploring Operation: 42-32=10, Resulting Numbers: [55, 10]
Generated Node #0,0,1: 62:[55, 10] Operation: 42-32=10
Exploring Operation: 42+32=74, Resulting Numbers: [55, 74]
Generated Node #0,0,2: 62:[55, 74] Operation: 42+32=74
Exploring Operation: 55-42=13, Resulting Numbers: [32, 13]
Generated Node #0,0,3: 62:[32, 13] Operation: 55-42=13
Moving to Node #0,0,3
Current State: 62:[32, 13], Operations: ['74-19=55', '55-42=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[55, 10], Operations: ['74-19=55', '42-32=10']
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 55*10=550, Resulting Numbers: [550]
550,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[55, 74], Operations: ['74-19=55', '42+32=74']
Exploring Operation: 55*74=4070, Resulting Numbers: [4070]
4070,62 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 55+74=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[42, 23], Operations: ['74-19=55', '55-32=23']
Exploring Operation: 42*23=966, Resulting Numbers: [966]
966,62 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[74, 32, 23], Operations: ['42-19=23']
Exploring Operation: 74-23=51, Resulting Numbers: [32, 51]
Generated Node #0,3,0: 62:[32, 51] Operation: 74-23=51
Exploring Operation: 32-23=9, Resulting Numbers: [74, 9]
Generated Node #0,3,1: 62:[74, 9] Operation: 32-23=9
Exploring Operation: 32+23=55, Resulting Numbers: [74, 55]
Generated Node #0,3,2: 62:[74, 55] Operation: 32+23=55
Exploring Operation: 74-32=42, Resulting Numbers: [23, 42]
Generated Node #0,3,3: 62:[23, 42] Operation: 74-32=42
Moving to Node #0,3,0
Current State: 62:[32, 51], Operations: ['42-19=23', '74-23=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,62 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[74, 55], Operations: ['42-19=23', '32+23=55']
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[74, 9], Operations: ['42-19=23', '32-23=9']
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 74*9=666, Resulting Numbers: [666]
666,62 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[23, 42], Operations: ['42-19=23', '74-32=42']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,62 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
54,
84,
15
] | 43 | [
"84+15=99",
"99/9=11",
"54-11=43"
] | Current State: 43:[9, 54, 84, 15], Operations: []
Exploring Operation: 84+15=99, Resulting Numbers: [9, 54, 99]
Generated Node #2: [9, 54, 99] from Operation: 84+15=99
Current State: 43:[9, 54, 99], Operations: ['84+15=99']
Exploring Operation: 99/9=11, Resulting Numbers: [54, 11]
Generated Node #3: [54, 11] from Operation: 99/9=11
Current State: 43:[54, 11], Operations: ['84+15=99', '99/9=11']
Exploring Operation: 54-11=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[9, 54, 84, 15], Operations: []
Exploring Operation: 9+15=24, Resulting Numbers: [54, 84, 24]
Generated Node #0,0: 43:[54, 84, 24] Operation: 9+15=24
Exploring Operation: 54-9=45, Resulting Numbers: [84, 15, 45]
Generated Node #0,1: 43:[84, 15, 45] Operation: 54-9=45
Exploring Operation: 84-9=75, Resulting Numbers: [54, 15, 75]
Generated Node #0,2: 43:[54, 15, 75] Operation: 84-9=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[54, 84, 24], Operations: ['9+15=24']
Exploring Operation: 84-24=60, Resulting Numbers: [54, 60]
Generated Node #0,0,0: 43:[54, 60] Operation: 84-24=60
Exploring Operation: 84-54=30, Resulting Numbers: [24, 30]
Generated Node #0,0,1: 43:[24, 30] Operation: 84-54=30
Exploring Operation: 54-24=30, Resulting Numbers: [84, 30]
Generated Node #0,0,2: 43:[84, 30] Operation: 54-24=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[54, 60], Operations: ['9+15=24', '84-24=60']
Exploring Operation: 54+60=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 54*60=3240, Resulting Numbers: [3240]
3240,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[24, 30], Operations: ['9+15=24', '84-54=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,43 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[84, 30], Operations: ['9+15=24', '54-24=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,43 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[84, 15, 45], Operations: ['54-9=45']
Exploring Operation: 45-15=30, Resulting Numbers: [84, 30]
Generated Node #0,1,0: 43:[84, 30] Operation: 45-15=30
Exploring Operation: 84-15=69, Resulting Numbers: [45, 69]
Generated Node #0,1,1: 43:[45, 69] Operation: 84-15=69
Exploring Operation: 84-45=39, Resulting Numbers: [15, 39]
Generated Node #0,1,2: 43:[15, 39] Operation: 84-45=39
Moving to Node #0,1,1
Current State: 43:[45, 69], Operations: ['54-9=45', '84-15=69']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 45*69=3105, Resulting Numbers: [3105]
3105,43 unequal: No Solution
Exploring Operation: 45+69=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[15, 39], Operations: ['54-9=45', '84-45=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[84, 30], Operations: ['54-9=45', '45-15=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,43 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[54, 15, 75], Operations: ['84-9=75']
Exploring Operation: 75/15=5, Resulting Numbers: [54, 5]
Generated Node #0,2,0: 43:[54, 5] Operation: 75/15=5
Exploring Operation: 75-15=60, Resulting Numbers: [54, 60]
Generated Node #0,2,1: 43:[54, 60] Operation: 75-15=60
Exploring Operation: 54-15=39, Resulting Numbers: [75, 39]
Generated Node #0,2,2: 43:[75, 39] Operation: 54-15=39
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[54, 60], Operations: ['84-9=75', '75-15=60']
Exploring Operation: 54*60=3240, Resulting Numbers: [3240]
3240,43 unequal: No Solution
Exploring Operation: 60-54=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 54+60=114, Resulting Numbers: [114]
114,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[75, 39], Operations: ['84-9=75', '54-15=39']
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,43 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[54, 5], Operations: ['84-9=75', '75/15=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
55,
20,
75
] | 52 | [
"55-12=43",
"20+75=95",
"95-43=52"
] | Current State: 52:[12, 55, 20, 75], Operations: []
Exploring Operation: 55-12=43, Resulting Numbers: [20, 75, 43]
Generated Node #2: [20, 75, 43] from Operation: 55-12=43
Current State: 52:[20, 75, 43], Operations: ['55-12=43']
Exploring Operation: 20+75=95, Resulting Numbers: [43, 95]
Generated Node #3: [43, 95] from Operation: 20+75=95
Current State: 52:[43, 95], Operations: ['55-12=43', '20+75=95']
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[12, 55, 20, 75], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [55, 75, 8]
Generated Node #0,0: 52:[55, 75, 8] Operation: 20-12=8
Exploring Operation: 75-12=63, Resulting Numbers: [55, 20, 63]
Generated Node #0,1: 52:[55, 20, 63] Operation: 75-12=63
Exploring Operation: 75-20=55, Resulting Numbers: [12, 55, 55]
Generated Node #0,2: 52:[12, 55, 55] Operation: 75-20=55
Exploring Operation: 12+20=32, Resulting Numbers: [55, 75, 32]
Generated Node #0,3: 52:[55, 75, 32] Operation: 12+20=32
Exploring Operation: 75-55=20, Resulting Numbers: [12, 20, 20]
Generated Node #0,4: 52:[12, 20, 20] Operation: 75-55=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[12, 55, 55], Operations: ['75-20=55']
Exploring Operation: 55-12=43, Resulting Numbers: [55, 43]
Generated Node #0,2,0: 52:[55, 43] Operation: 55-12=43
Exploring Operation: 55/55=1, Resulting Numbers: [12, 1]
Generated Node #0,2,1: 52:[12, 1] Operation: 55/55=1
Exploring Operation: 55-55=0, Resulting Numbers: [12, 0]
Generated Node #0,2,2: 52:[12, 0] Operation: 55-55=0
Exploring Operation: 55-12=43, Resulting Numbers: [55, 43]
Generated Node #0,2,3: 52:[55, 43] Operation: 55-12=43
Exploring Operation: 12+55=67, Resulting Numbers: [55, 67]
Generated Node #0,2,4: 52:[55, 67] Operation: 12+55=67
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[12, 1], Operations: ['75-20=55', '55/55=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[12, 0], Operations: ['75-20=55', '55-55=0']
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
No 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: 52:[55, 43], Operations: ['75-20=55', '55-12=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,52 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,52 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[55, 43], Operations: ['75-20=55', '55-12=43']
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,52 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,52 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[55, 67], Operations: ['75-20=55', '12+55=67']
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,52 unequal: No Solution
Exploring Operation: 55*67=3685, Resulting Numbers: [3685]
3685,52 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 52:[12, 20, 20], Operations: ['75-55=20']
Exploring Operation: 20-12=8, Resulting Numbers: [20, 8]
Generated Node #0,4,0: 52:[20, 8] Operation: 20-12=8
Exploring Operation: 20-12=8, Resulting Numbers: [20, 8]
Generated Node #0,4,1: 52:[20, 8] Operation: 20-12=8
Exploring Operation: 20/20=1, Resulting Numbers: [12, 1]
Generated Node #0,4,2: 52:[12, 1] Operation: 20/20=1
Exploring Operation: 20-20=0, Resulting Numbers: [12, 0]
Generated Node #0,4,3: 52:[12, 0] Operation: 20-20=0
Exploring Operation: 12+20=32, Resulting Numbers: [20, 32]
Generated Node #0,4,4: 52:[20, 32] Operation: 12+20=32
Moving to Node #0,4,2
Current State: 52:[12, 1], Operations: ['75-55=20', '20/20=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[12, 0], Operations: ['75-55=20', '20-20=0']
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,52 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[20, 8], Operations: ['75-55=20', '20-12=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,52 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,4,1
Current State: 52:[20, 8], Operations: ['75-55=20', '20-12=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,52 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[20, 32], Operations: ['75-55=20', '12+20=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,52 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[12, 55, 20, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [12, 20, 20]
Generated Node #0,4: 52:[12, 20, 20] Operation: 75-55=20
Moving to Node #0,4
Current State: 52:[12, 20, 20], Operations: ['75-55=20']
Exploring Operation: 12+20=32, Resulting Numbers: [20, 32]
Generated Node #0,4,4: 52:[20, 32] Operation: 12+20=32
Moving to Node #0,4,4
Current State: 52:[20, 32], Operations: ['75-55=20', '12+20=32']
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_5 | sum_heuristic |
[
53,
24,
31,
88
] | 44 | [
"53-24=29",
"31-29=2",
"88/2=44"
] | Current State: 44:[53, 24, 31, 88], Operations: []
Exploring Operation: 53-24=29, Resulting Numbers: [31, 88, 29]
Generated Node #2: [31, 88, 29] from Operation: 53-24=29
Current State: 44:[31, 88, 29], Operations: ['53-24=29']
Exploring Operation: 31-29=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 31-29=2
Current State: 44:[88, 2], Operations: ['53-24=29', '31-29=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[53, 24, 31, 88], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [53, 31, 64]
Generated Node #0,0: 44:[53, 31, 64] Operation: 88-24=64
Exploring Operation: 53-31=22, Resulting Numbers: [24, 88, 22]
Generated Node #0,1: 44:[24, 88, 22] Operation: 53-31=22
Exploring Operation: 88-53=35, Resulting Numbers: [24, 31, 35]
Generated Node #0,2: 44:[24, 31, 35] Operation: 88-53=35
Exploring Operation: 31-24=7, Resulting Numbers: [53, 88, 7]
Generated Node #0,3: 44:[53, 88, 7] Operation: 31-24=7
Exploring Operation: 88-31=57, Resulting Numbers: [53, 24, 57]
Generated Node #0,4: 44:[53, 24, 57] Operation: 88-31=57
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[24, 31, 35], Operations: ['88-53=35']
Exploring Operation: 24+35=59, Resulting Numbers: [31, 59]
Generated Node #0,2,0: 44:[31, 59] Operation: 24+35=59
Exploring Operation: 24+31=55, Resulting Numbers: [35, 55]
Generated Node #0,2,1: 44:[35, 55] Operation: 24+31=55
Exploring Operation: 31-24=7, Resulting Numbers: [35, 7]
Generated Node #0,2,2: 44:[35, 7] Operation: 31-24=7
Exploring Operation: 35-24=11, Resulting Numbers: [31, 11]
Generated Node #0,2,3: 44:[31, 11] Operation: 35-24=11
Exploring Operation: 35-31=4, Resulting Numbers: [24, 4]
Generated Node #0,2,4: 44:[24, 4] Operation: 35-31=4
Moving to Node #0,2,4
Current State: 44:[24, 4], Operations: ['88-53=35', '35-31=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[31, 11], Operations: ['88-53=35', '35-24=11']
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,44 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[35, 7], Operations: ['88-53=35', '31-24=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[35, 55], Operations: ['88-53=35', '24+31=55']
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,44 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[31, 59], Operations: ['88-53=35', '24+35=59']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,44 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[53, 24, 57], Operations: ['88-31=57']
Exploring Operation: 57-53=4, Resulting Numbers: [24, 4]
Generated Node #0,4,0: 44:[24, 4] Operation: 57-53=4
Exploring Operation: 24+57=81, Resulting Numbers: [53, 81]
Generated Node #0,4,1: 44:[53, 81] Operation: 24+57=81
Exploring Operation: 53-24=29, Resulting Numbers: [57, 29]
Generated Node #0,4,2: 44:[57, 29] Operation: 53-24=29
Exploring Operation: 57-24=33, Resulting Numbers: [53, 33]
Generated Node #0,4,3: 44:[53, 33] Operation: 57-24=33
Exploring Operation: 53+24=77, Resulting Numbers: [57, 77]
Generated Node #0,4,4: 44:[57, 77] Operation: 53+24=77
Moving to Node #0,4,0
Current State: 44:[24, 4], Operations: ['88-31=57', '57-53=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,4,3
Current State: 44:[53, 33], Operations: ['88-31=57', '57-24=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,44 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,4,2
Current State: 44:[57, 29], Operations: ['88-31=57', '53-24=29']
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,44 unequal: No Solution
Moving to Node #0,4,1
Current State: 44:[53, 81], Operations: ['88-31=57', '24+57=81']
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,44 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,44 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Moving to Node #0,4,4
Current State: 44:[57, 77], Operations: ['88-31=57', '53+24=77']
Exploring Operation: 57+77=134, Resulting Numbers: [134]
134,44 unequal: No Solution
Exploring Operation: 57*77=4389, Resulting Numbers: [4389]
4389,44 unequal: No Solution
Exploring Operation: 77-57=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[53, 31, 64], Operations: ['88-24=64']
Exploring Operation: 64-53=11, Resulting Numbers: [31, 11]
Generated Node #0,0,0: 44:[31, 11] Operation: 64-53=11
Exploring Operation: 53-31=22, Resulting Numbers: [64, 22]
Generated Node #0,0,1: 44:[64, 22] Operation: 53-31=22
Exploring Operation: 53+31=84, Resulting Numbers: [64, 84]
Generated Node #0,0,2: 44:[64, 84] Operation: 53+31=84
Exploring Operation: 31+64=95, Resulting Numbers: [53, 95]
Generated Node #0,0,3: 44:[53, 95] Operation: 31+64=95
Exploring Operation: 64-31=33, Resulting Numbers: [53, 33]
Generated Node #0,0,4: 44:[53, 33] Operation: 64-31=33
Moving to Node #0,0,0
Current State: 44:[31, 11], Operations: ['88-24=64', '64-53=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,44 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[53, 33], Operations: ['88-24=64', '64-31=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,44 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[64, 22], Operations: ['88-24=64', '53-31=22']
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,44 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[64, 84], Operations: ['88-24=64', '53+31=84']
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,44 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,44 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[53, 95], Operations: ['88-24=64', '31+64=95']
Exploring Operation: 53+95=148, Resulting Numbers: [148]
148,44 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 53*95=5035, Resulting Numbers: [5035]
5035,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[24, 88, 22], Operations: ['53-31=22']
Exploring Operation: 88/22=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 44:[24, 4] Operation: 88/22=4
Exploring Operation: 88-24=64, Resulting Numbers: [22, 64]
Generated Node #0,1,1: 44:[22, 64] Operation: 88-24=64
Exploring Operation: 88-22=66, Resulting Numbers: [24, 66]
Generated Node #0,1,2: 44:[24, 66] Operation: 88-22=66
Exploring Operation: 24-22=2, Resulting Numbers: [88, 2]
Generated Node #0,1,3: 44:[88, 2] Operation: 24-22=2
Exploring Operation: 24+22=46, Resulting Numbers: [88, 46]
Generated Node #0,1,4: 44:[88, 46] Operation: 24+22=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[24, 4], Operations: ['53-31=22', '88/22=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,44 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[22, 64], Operations: ['53-31=22', '88-24=64']
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 22*64=1408, Resulting Numbers: [1408]
1408,44 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[24, 66], Operations: ['53-31=22', '88-22=66']
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,44 unequal: No Solution
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,44 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 44:[88, 2], Operations: ['53-31=22', '24-22=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[53, 24, 31, 88], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [24, 88, 22]
Generated Node #0,1: 44:[24, 88, 22] Operation: 53-31=22
Moving to Node #0,1
Current State: 44:[24, 88, 22], Operations: ['53-31=22']
Exploring Operation: 24-22=2, Resulting Numbers: [88, 2]
Generated Node #0,1,3: 44:[88, 2] Operation: 24-22=2
Moving to Node #0,1,3
Current State: 44:[88, 2], Operations: ['53-31=22', '24-22=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.923611 | hs_5 | sum_heuristic |
[
43,
31,
13,
98
] | 99 | [
"43-31=12",
"13+98=111",
"111-12=99"
] | Current State: 99:[43, 31, 13, 98], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [13, 98, 12]
Generated Node #2: [13, 98, 12] from Operation: 43-31=12
Current State: 99:[13, 98, 12], Operations: ['43-31=12']
Exploring Operation: 13+98=111, Resulting Numbers: [12, 111]
Generated Node #3: [12, 111] from Operation: 13+98=111
Current State: 99:[12, 111], Operations: ['43-31=12', '13+98=111']
Exploring Operation: 111-12=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[43, 31, 13, 98], Operations: []
Exploring Operation: 43-13=30, Resulting Numbers: [31, 98, 30]
Generated Node #0,0: 99:[31, 98, 30] Operation: 43-13=30
Exploring Operation: 31-13=18, Resulting Numbers: [43, 98, 18]
Generated Node #0,1: 99:[43, 98, 18] Operation: 31-13=18
Exploring Operation: 43-31=12, Resulting Numbers: [13, 98, 12]
Generated Node #0,2: 99:[13, 98, 12] Operation: 43-31=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[13, 98, 12], Operations: ['43-31=12']
Exploring Operation: 13+98=111, Resulting Numbers: [12, 111]
Generated Node #0,2,0: 99:[12, 111] Operation: 13+98=111
Exploring Operation: 13-12=1, Resulting Numbers: [98, 1]
Generated Node #0,2,1: 99:[98, 1] Operation: 13-12=1
Exploring Operation: 13+12=25, Resulting Numbers: [98, 25]
Generated Node #0,2,2: 99:[98, 25] Operation: 13+12=25
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[98, 1], Operations: ['43-31=12', '13-12=1']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,99 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[43, 31, 13, 98], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [13, 98, 12]
Generated Node #0,2: 99:[13, 98, 12] Operation: 43-31=12
Moving to Node #0,2
Current State: 99:[13, 98, 12], Operations: ['43-31=12']
Exploring Operation: 13-12=1, Resulting Numbers: [98, 1]
Generated Node #0,2,1: 99:[98, 1] Operation: 13-12=1
Moving to Node #0,2,1
Current State: 99:[98, 1], Operations: ['43-31=12', '13-12=1']
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
38,
24,
3,
4
] | 44 | [
"38-24=14",
"14-3=11",
"4*11=44"
] | Current State: 44:[38, 24, 3, 4], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [3, 4, 14]
Generated Node #2: [3, 4, 14] from Operation: 38-24=14
Current State: 44:[3, 4, 14], Operations: ['38-24=14']
Exploring Operation: 14-3=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 14-3=11
Current State: 44:[4, 11], Operations: ['38-24=14', '14-3=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[38, 24, 3, 4], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [38, 4, 8]
Generated Node #0,0: 44:[38, 4, 8] Operation: 24/3=8
Exploring Operation: 38+3=41, Resulting Numbers: [24, 4, 41]
Generated Node #0,1: 44:[24, 4, 41] Operation: 38+3=41
Exploring Operation: 38+4=42, Resulting Numbers: [24, 3, 42]
Generated Node #0,2: 44:[24, 3, 42] Operation: 38+4=42
Exploring Operation: 38-24=14, Resulting Numbers: [3, 4, 14]
Generated Node #0,3: 44:[3, 4, 14] Operation: 38-24=14
Exploring Operation: 24-3=21, Resulting Numbers: [38, 4, 21]
Generated Node #0,4: 44:[38, 4, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[3, 4, 14], Operations: ['38-24=14']
Exploring Operation: 4-3=1, Resulting Numbers: [14, 1]
Generated Node #0,3,0: 44:[14, 1] Operation: 4-3=1
Exploring Operation: 14-3=11, Resulting Numbers: [4, 11]
Generated Node #0,3,1: 44:[4, 11] Operation: 14-3=11
Exploring Operation: 3*14=42, Resulting Numbers: [4, 42]
Generated Node #0,3,2: 44:[4, 42] Operation: 3*14=42
Exploring Operation: 3*4=12, Resulting Numbers: [14, 12]
Generated Node #0,3,3: 44:[14, 12] Operation: 3*4=12
Exploring Operation: 14-4=10, Resulting Numbers: [3, 10]
Generated Node #0,3,4: 44:[3, 10] Operation: 14-4=10
Moving to Node #0,3,1
Current State: 44:[4, 11], Operations: ['38-24=14', '14-3=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[38, 24, 3, 4], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [3, 4, 14]
Generated Node #0,3: 44:[3, 4, 14] Operation: 38-24=14
Moving to Node #0,3
Current State: 44:[3, 4, 14], Operations: ['38-24=14']
Exploring Operation: 14-3=11, Resulting Numbers: [4, 11]
Generated Node #0,3,1: 44:[4, 11] Operation: 14-3=11
Moving to Node #0,3,1
Current State: 44:[4, 11], Operations: ['38-24=14', '14-3=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
10,
2,
2,
30
] | 74 | [
"2+30=32",
"2*32=64",
"10+64=74"
] | Current State: 74:[10, 2, 2, 30], Operations: []
Exploring Operation: 2+30=32, Resulting Numbers: [10, 32]
Generated Node #2: [10, 32] from Operation: 2+30=32
Current State: 74:[10, 32], Operations: ['2+30=32']
Exploring Operation: 2*32=64, Resulting Numbers: [10, 64]
Generated Node #3: [10, 64] from Operation: 2*32=64
Current State: 74:[10, 64], Operations: ['2+30=32', '2*32=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[10, 2, 2, 30], Operations: []
Exploring Operation: 10+30=40, Resulting Numbers: [2, 2, 40]
Generated Node #0,0: 74:[2, 2, 40] Operation: 10+30=40
Exploring Operation: 10/2=5, Resulting Numbers: [2, 30, 5]
Generated Node #0,1: 74:[2, 30, 5] Operation: 10/2=5
Exploring Operation: 30/10=3, Resulting Numbers: [2, 2, 3]
Generated Node #0,2: 74:[2, 2, 3] Operation: 30/10=3
Exploring Operation: 10-2=8, Resulting Numbers: [2, 30, 8]
Generated Node #0,3: 74:[2, 30, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [2, 30, 5]
Generated Node #0,4: 74:[2, 30, 5] Operation: 10/2=5
Moving to Node #0,2
Current State: 74:[2, 2, 3], Operations: ['30/10=3']
Exploring Operation: 3-2=1, Resulting Numbers: [2, 1]
Generated Node #0,2,0: 74:[2, 1] Operation: 3-2=1
Exploring Operation: 3-2=1, Resulting Numbers: [2, 1]
Generated Node #0,2,1: 74:[2, 1] Operation: 3-2=1
Exploring Operation: 2/2=1, Resulting Numbers: [3, 1]
Generated Node #0,2,2: 74:[3, 1] Operation: 2/2=1
Exploring Operation: 2*2=4, Resulting Numbers: [3, 4]
Generated Node #0,2,3: 74:[3, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [3, 4]
Generated Node #0,2,4: 74:[3, 4] Operation: 2+2=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[2, 1], Operations: ['30/10=3', '3-2=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[2, 1], Operations: ['30/10=3', '3-2=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[3, 1], Operations: ['30/10=3', '2/2=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[3, 4], Operations: ['30/10=3', '2*2=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 74:[3, 4], Operations: ['30/10=3', '2+2=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[2, 2, 40], Operations: ['10+30=40']
Exploring Operation: 40-2=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 74:[2, 38] Operation: 40-2=38
Exploring Operation: 2*2=4, Resulting Numbers: [40, 4]
Generated Node #0,0,1: 74:[40, 4] Operation: 2*2=4
Exploring Operation: 2/2=1, Resulting Numbers: [40, 1]
Generated Node #0,0,2: 74:[40, 1] Operation: 2/2=1
Exploring Operation: 2+2=4, Resulting Numbers: [40, 4]
Generated Node #0,0,3: 74:[40, 4] Operation: 2+2=4
Exploring Operation: 40-2=38, Resulting Numbers: [2, 38]
Generated Node #0,0,4: 74:[2, 38] Operation: 40-2=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[2, 38], Operations: ['10+30=40', '40-2=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 74:[2, 38], Operations: ['10+30=40', '40-2=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[40, 1], Operations: ['10+30=40', '2/2=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[40, 4], Operations: ['10+30=40', '2*2=4']
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,74 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 74:[40, 4], Operations: ['10+30=40', '2+2=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,74 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 74:[2, 30, 5], Operations: ['10/2=5']
Exploring Operation: 30-2=28, Resulting Numbers: [5, 28]
Generated Node #0,1,0: 74:[5, 28] Operation: 30-2=28
Exploring Operation: 5-2=3, Resulting Numbers: [30, 3]
Generated Node #0,1,1: 74:[30, 3] Operation: 5-2=3
Exploring Operation: 30/5=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 74:[2, 6] Operation: 30/5=6
Exploring Operation: 2+30=32, Resulting Numbers: [5, 32]
Generated Node #0,1,3: 74:[5, 32] Operation: 2+30=32
Exploring Operation: 30+5=35, Resulting Numbers: [2, 35]
Generated Node #0,1,4: 74:[2, 35] Operation: 30+5=35
Moving to Node #0,4
Current State: 74:[2, 30, 5], Operations: ['10/2=5']
Exploring Operation: 2+30=32, Resulting Numbers: [5, 32]
Generated Node #0,4,0: 74:[5, 32] Operation: 2+30=32
Exploring Operation: 30+5=35, Resulting Numbers: [2, 35]
Generated Node #0,4,1: 74:[2, 35] Operation: 30+5=35
Exploring Operation: 5-2=3, Resulting Numbers: [30, 3]
Generated Node #0,4,2: 74:[30, 3] Operation: 5-2=3
Exploring Operation: 30-2=28, Resulting Numbers: [5, 28]
Generated Node #0,4,3: 74:[5, 28] Operation: 30-2=28
Exploring Operation: 30/5=6, Resulting Numbers: [2, 6]
Generated Node #0,4,4: 74:[2, 6] Operation: 30/5=6
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[2, 35], Operations: ['10/2=5', '30+5=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 74:[2, 6], Operations: ['10/2=5', '30/5=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 74:[5, 32], Operations: ['10/2=5', '2+30=32']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,74 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 74:[30, 3], Operations: ['10/2=5', '5-2=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 74:[5, 28], Operations: ['10/2=5', '30-2=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,74 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: 74:[2, 30, 8], Operations: ['10-2=8']
Exploring Operation: 2+30=32, Resulting Numbers: [8, 32]
Generated Node #0,3,0: 74:[8, 32] Operation: 2+30=32
Exploring Operation: 8-2=6, Resulting Numbers: [30, 6]
Generated Node #0,3,1: 74:[30, 6] Operation: 8-2=6
Exploring Operation: 30+8=38, Resulting Numbers: [2, 38]
Generated Node #0,3,2: 74:[2, 38] Operation: 30+8=38
Exploring Operation: 30-2=28, Resulting Numbers: [8, 28]
Generated Node #0,3,3: 74:[8, 28] Operation: 30-2=28
Exploring Operation: 8/2=4, Resulting Numbers: [30, 4]
Generated Node #0,3,4: 74:[30, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 74:[2, 38], Operations: ['10-2=8', '30+8=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 74:[30, 4], Operations: ['10-2=8', '8/2=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[8, 32], Operations: ['10-2=8', '2+30=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,74 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[30, 6], Operations: ['10-2=8', '8-2=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[8, 28], Operations: ['10-2=8', '30-2=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,74 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 74:[2, 35], Operations: ['10/2=5', '30+5=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[2, 6], Operations: ['10/2=5', '30/5=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[30, 3], Operations: ['10/2=5', '5-2=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[5, 32], Operations: ['10/2=5', '2+30=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,74 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[5, 28], Operations: ['10/2=5', '30-2=28']
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,74 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
6,
19,
25
] | 21 | [
"28-25=3",
"6/3=2",
"19+2=21"
] | Current State: 21:[28, 6, 19, 25], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [6, 19, 3]
Generated Node #2: [6, 19, 3] from Operation: 28-25=3
Current State: 21:[6, 19, 3], Operations: ['28-25=3']
Exploring Operation: 6/3=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 6/3=2
Current State: 21:[19, 2], Operations: ['28-25=3', '6/3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[28, 6, 19, 25], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [6, 19, 3]
Generated Node #0,0: 21:[6, 19, 3] Operation: 28-25=3
Exploring Operation: 28-19=9, Resulting Numbers: [6, 25, 9]
Generated Node #0,1: 21:[6, 25, 9] Operation: 28-19=9
Exploring Operation: 28-6=22, Resulting Numbers: [19, 25, 22]
Generated Node #0,2: 21:[19, 25, 22] Operation: 28-6=22
Moving to Node #0,0
Current State: 21:[6, 19, 3], Operations: ['28-25=3']
Exploring Operation: 19+3=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 21:[6, 22] Operation: 19+3=22
Exploring Operation: 6/3=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 21:[19, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [19, 3]
Generated Node #0,0,2: 21:[19, 3] Operation: 6-3=3
Moving to Node #0,1
Current State: 21:[6, 25, 9], Operations: ['28-19=9']
Exploring Operation: 25-6=19, Resulting Numbers: [9, 19]
Generated Node #0,1,0: 21:[9, 19] Operation: 25-6=19
Exploring Operation: 25-9=16, Resulting Numbers: [6, 16]
Generated Node #0,1,1: 21:[6, 16] Operation: 25-9=16
Exploring Operation: 9-6=3, Resulting Numbers: [25, 3]
Generated Node #0,1,2: 21:[25, 3] Operation: 9-6=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[9, 19], Operations: ['28-19=9', '25-6=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,21 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,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,1,2
Current State: 21:[25, 3], Operations: ['28-19=9', '9-6=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,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,1,1
Current State: 21:[6, 16], Operations: ['28-19=9', '25-9=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,21 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,21 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: 21:[19, 25, 22], Operations: ['28-6=22']
Exploring Operation: 22-19=3, Resulting Numbers: [25, 3]
Generated Node #0,2,0: 21:[25, 3] Operation: 22-19=3
Exploring Operation: 25-19=6, Resulting Numbers: [22, 6]
Generated Node #0,2,1: 21:[22, 6] Operation: 25-19=6
Exploring Operation: 25-22=3, Resulting Numbers: [19, 3]
Generated Node #0,2,2: 21:[19, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[22, 6], Operations: ['28-6=22', '25-19=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,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,2,2
Current State: 21:[19, 3], Operations: ['28-6=22', '25-22=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,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,2,0
Current State: 21:[25, 3], Operations: ['28-6=22', '22-19=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,21 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: 21:[6, 22], Operations: ['28-25=3', '19+3=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[19, 3], Operations: ['28-25=3', '6-3=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[19, 2], Operations: ['28-25=3', '6/3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[28, 6, 19, 25], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [6, 19, 3]
Generated Node #0,0: 21:[6, 19, 3] Operation: 28-25=3
Moving to Node #0,0
Current State: 21:[6, 19, 3], Operations: ['28-25=3']
Exploring Operation: 6/3=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 21:[19, 2] Operation: 6/3=2
Moving to Node #0,0,1
Current State: 21:[19, 2], Operations: ['28-25=3', '6/3=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
52,
53,
3,
33
] | 69 | [
"52+53=105",
"3+33=36",
"105-36=69"
] | Current State: 69:[52, 53, 3, 33], Operations: []
Exploring Operation: 52+53=105, Resulting Numbers: [3, 33, 105]
Generated Node #2: [3, 33, 105] from Operation: 52+53=105
Current State: 69:[3, 33, 105], Operations: ['52+53=105']
Exploring Operation: 3+33=36, Resulting Numbers: [105, 36]
Generated Node #3: [105, 36] from Operation: 3+33=36
Current State: 69:[105, 36], Operations: ['52+53=105', '3+33=36']
Exploring Operation: 105-36=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[52, 53, 3, 33], Operations: []
Exploring Operation: 52+33=85, Resulting Numbers: [53, 3, 85]
Generated Node #0,0: 69:[53, 3, 85] Operation: 52+33=85
Exploring Operation: 52-33=19, Resulting Numbers: [53, 3, 19]
Generated Node #0,1: 69:[53, 3, 19] Operation: 52-33=19
Exploring Operation: 53-52=1, Resulting Numbers: [3, 33, 1]
Generated Node #0,2: 69:[3, 33, 1] Operation: 53-52=1
Exploring Operation: 53-33=20, Resulting Numbers: [52, 3, 20]
Generated Node #0,3: 69:[52, 3, 20] Operation: 53-33=20
Moving to Node #0,2
Current State: 69:[3, 33, 1], Operations: ['53-52=1']
Exploring Operation: 33-1=32, Resulting Numbers: [3, 32]
Generated Node #0,2,0: 69:[3, 32] Operation: 33-1=32
Exploring Operation: 3*1=3, Resulting Numbers: [33, 3]
Generated Node #0,2,1: 69:[33, 3] Operation: 3*1=3
Exploring Operation: 33/3=11, Resulting Numbers: [1, 11]
Generated Node #0,2,2: 69:[1, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [1, 30]
Generated Node #0,2,3: 69:[1, 30] Operation: 33-3=30
Moving to Node #0,3
Current State: 69:[52, 3, 20], Operations: ['53-33=20']
Exploring Operation: 52+20=72, Resulting Numbers: [3, 72]
Generated Node #0,3,0: 69:[3, 72] Operation: 52+20=72
Exploring Operation: 3+20=23, Resulting Numbers: [52, 23]
Generated Node #0,3,1: 69:[52, 23] Operation: 3+20=23
Exploring Operation: 52+3=55, Resulting Numbers: [20, 55]
Generated Node #0,3,2: 69:[20, 55] Operation: 52+3=55
Exploring Operation: 52-20=32, Resulting Numbers: [3, 32]
Generated Node #0,3,3: 69:[3, 32] Operation: 52-20=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[3, 72], Operations: ['53-33=20', '52+20=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[52, 53, 3, 33], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [52, 3, 20]
Generated Node #0,3: 69:[52, 3, 20] Operation: 53-33=20
Moving to Node #0,3
Current State: 69:[52, 3, 20], Operations: ['53-33=20']
Exploring Operation: 52+20=72, Resulting Numbers: [3, 72]
Generated Node #0,3,0: 69:[3, 72] Operation: 52+20=72
Moving to Node #0,3,0
Current State: 69:[3, 72], Operations: ['53-33=20', '52+20=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
14,
92,
72,
66
] | 21 | [
"72+66=138",
"14*138=1932",
"1932/92=21"
] | Current State: 21:[14, 92, 72, 66], Operations: []
Exploring Operation: 72+66=138, Resulting Numbers: [14, 92, 138]
Generated Node #2: [14, 92, 138] from Operation: 72+66=138
Current State: 21:[14, 92, 138], Operations: ['72+66=138']
Exploring Operation: 14*138=1932, Resulting Numbers: [92, 1932]
Generated Node #3: [92, 1932] from Operation: 14*138=1932
Current State: 21:[92, 1932], Operations: ['72+66=138', '14*138=1932']
Exploring Operation: 1932/92=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[14, 92, 72, 66], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [14, 92, 6]
Generated Node #0,0: 21:[14, 92, 6] Operation: 72-66=6
Exploring Operation: 92-72=20, Resulting Numbers: [14, 66, 20]
Generated Node #0,1: 21:[14, 66, 20] Operation: 92-72=20
Exploring Operation: 92-66=26, Resulting Numbers: [14, 72, 26]
Generated Node #0,2: 21:[14, 72, 26] Operation: 92-66=26
Moving to Node #0,1
Current State: 21:[14, 66, 20], Operations: ['92-72=20']
Exploring Operation: 66-20=46, Resulting Numbers: [14, 46]
Generated Node #0,1,0: 21:[14, 46] Operation: 66-20=46
Exploring Operation: 20-14=6, Resulting Numbers: [66, 6]
Generated Node #0,1,1: 21:[66, 6] Operation: 20-14=6
Exploring Operation: 66-14=52, Resulting Numbers: [20, 52]
Generated Node #0,1,2: 21:[20, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[14, 46], Operations: ['92-72=20', '66-20=46']
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,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,1,2
Current State: 21:[20, 52], Operations: ['92-72=20', '66-14=52']
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,21 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,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,1,1
Current State: 21:[66, 6], Operations: ['92-72=20', '20-14=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,21 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: 21:[14, 72, 26], Operations: ['92-66=26']
Exploring Operation: 26-14=12, Resulting Numbers: [72, 12]
Generated Node #0,2,0: 21:[72, 12] Operation: 26-14=12
Exploring Operation: 72-26=46, Resulting Numbers: [14, 46]
Generated Node #0,2,1: 21:[14, 46] Operation: 72-26=46
Exploring Operation: 72-14=58, Resulting Numbers: [26, 58]
Generated Node #0,2,2: 21:[26, 58] Operation: 72-14=58
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[14, 46], Operations: ['92-66=26', '72-26=46']
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,21 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,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,2,2
Current State: 21:[26, 58], Operations: ['92-66=26', '72-14=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,21 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,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,2,0
Current State: 21:[72, 12], Operations: ['92-66=26', '26-14=12']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,21 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: 21:[14, 92, 6], Operations: ['72-66=6']
Exploring Operation: 14+6=20, Resulting Numbers: [92, 20]
Generated Node #0,0,0: 21:[92, 20] Operation: 14+6=20
Exploring Operation: 92-14=78, Resulting Numbers: [6, 78]
Generated Node #0,0,1: 21:[6, 78] Operation: 92-14=78
Exploring Operation: 14-6=8, Resulting Numbers: [92, 8]
Generated Node #0,0,2: 21:[92, 8] Operation: 14-6=8
Moving to Node #0,0,1
Current State: 21:[6, 78], Operations: ['72-66=6', '92-14=78']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[92, 20], Operations: ['72-66=6', '14+6=20']
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,21 unequal: No Solution
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,21 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[92, 8], Operations: ['72-66=6', '14-6=8']
Exploring Operation: 92*8=736, Resulting Numbers: [736]
736,21 unequal: No Solution
Exploring Operation: 92+8=100, Resulting Numbers: [100]
100,21 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,21 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
74,
18,
4
] | 76 | [
"64/4=16",
"74+18=92",
"92-16=76"
] | Current State: 76:[64, 74, 18, 4], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [74, 18, 16]
Generated Node #2: [74, 18, 16] from Operation: 64/4=16
Current State: 76:[74, 18, 16], Operations: ['64/4=16']
Exploring Operation: 74+18=92, Resulting Numbers: [16, 92]
Generated Node #3: [16, 92] from Operation: 74+18=92
Current State: 76:[16, 92], Operations: ['64/4=16', '74+18=92']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[64, 74, 18, 4], Operations: []
Exploring Operation: 64+18=82, Resulting Numbers: [74, 4, 82]
Generated Node #0,0: 76:[74, 4, 82] Operation: 64+18=82
Exploring Operation: 64/4=16, Resulting Numbers: [74, 18, 16]
Generated Node #0,1: 76:[74, 18, 16] Operation: 64/4=16
Exploring Operation: 74-64=10, Resulting Numbers: [18, 4, 10]
Generated Node #0,2: 76:[18, 4, 10] Operation: 74-64=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[74, 18, 16], Operations: ['64/4=16']
Exploring Operation: 18+16=34, Resulting Numbers: [74, 34]
Generated Node #0,1,0: 76:[74, 34] Operation: 18+16=34
Exploring Operation: 18-16=2, Resulting Numbers: [74, 2]
Generated Node #0,1,1: 76:[74, 2] Operation: 18-16=2
Exploring Operation: 74+16=90, Resulting Numbers: [18, 90]
Generated Node #0,1,2: 76:[18, 90] Operation: 74+16=90
Moving to Node #0,1,1
Current State: 76:[74, 2], Operations: ['64/4=16', '18-16=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[64, 74, 18, 4], Operations: []
Exploring Operation: 64/4=16, Resulting Numbers: [74, 18, 16]
Generated Node #0,1: 76:[74, 18, 16] Operation: 64/4=16
Moving to Node #0,1
Current State: 76:[74, 18, 16], Operations: ['64/4=16']
Exploring Operation: 18-16=2, Resulting Numbers: [74, 2]
Generated Node #0,1,1: 76:[74, 2] Operation: 18-16=2
Moving to Node #0,1,1
Current State: 76:[74, 2], Operations: ['64/4=16', '18-16=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
89,
25,
6,
48
] | 22 | [
"89-25=64",
"48-6=42",
"64-42=22"
] | Current State: 22:[89, 25, 6, 48], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [6, 48, 64]
Generated Node #2: [6, 48, 64] from Operation: 89-25=64
Current State: 22:[6, 48, 64], Operations: ['89-25=64']
Exploring Operation: 48-6=42, Resulting Numbers: [64, 42]
Generated Node #3: [64, 42] from Operation: 48-6=42
Current State: 22:[64, 42], Operations: ['89-25=64', '48-6=42']
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[89, 25, 6, 48], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [25, 6, 41]
Generated Node #0,0: 22:[25, 6, 41] Operation: 89-48=41
Moving to Node #0,0
Current State: 22:[25, 6, 41], Operations: ['89-48=41']
Exploring Operation: 41-25=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 22:[6, 16] Operation: 41-25=16
Moving to Node #0,0,0
Current State: 22:[6, 16], Operations: ['89-48=41', '41-25=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[89, 25, 6, 48], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [25, 6, 41]
Generated Node #0,0: 22:[25, 6, 41] Operation: 89-48=41
Moving to Node #0,0
Current State: 22:[25, 6, 41], Operations: ['89-48=41']
Exploring Operation: 41-25=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 22:[6, 16] Operation: 41-25=16
Moving to Node #0,0,0
Current State: 22:[6, 16], Operations: ['89-48=41', '41-25=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
75,
83,
84,
62
] | 30 | [
"83-75=8",
"84-62=22",
"8+22=30"
] | Current State: 30:[75, 83, 84, 62], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [84, 62, 8]
Generated Node #2: [84, 62, 8] from Operation: 83-75=8
Current State: 30:[84, 62, 8], Operations: ['83-75=8']
Exploring Operation: 84-62=22, Resulting Numbers: [8, 22]
Generated Node #3: [8, 22] from Operation: 84-62=22
Current State: 30:[8, 22], Operations: ['83-75=8', '84-62=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[75, 83, 84, 62], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [75, 84, 21]
Generated Node #0,0: 30:[75, 84, 21] Operation: 83-62=21
Exploring Operation: 84-75=9, Resulting Numbers: [83, 62, 9]
Generated Node #0,1: 30:[83, 62, 9] Operation: 84-75=9
Exploring Operation: 84-83=1, Resulting Numbers: [75, 62, 1]
Generated Node #0,2: 30:[75, 62, 1] Operation: 84-83=1
Exploring Operation: 83-75=8, Resulting Numbers: [84, 62, 8]
Generated Node #0,3: 30:[84, 62, 8] Operation: 83-75=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[75, 62, 1], Operations: ['84-83=1']
Exploring Operation: 75-1=74, Resulting Numbers: [62, 74]
Generated Node #0,2,0: 30:[62, 74] Operation: 75-1=74
Exploring Operation: 75*1=75, Resulting Numbers: [62, 75]
Generated Node #0,2,1: 30:[62, 75] Operation: 75*1=75
Exploring Operation: 62-1=61, Resulting Numbers: [75, 61]
Generated Node #0,2,2: 30:[75, 61] Operation: 62-1=61
Exploring Operation: 75-62=13, Resulting Numbers: [1, 13]
Generated Node #0,2,3: 30:[1, 13] Operation: 75-62=13
Moving to Node #0,2,3
Current State: 30:[1, 13], Operations: ['84-83=1', '75-62=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[75, 61], Operations: ['84-83=1', '62-1=61']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 75+61=136, Resulting Numbers: [136]
136,30 unequal: No Solution
Exploring Operation: 75*61=4575, Resulting Numbers: [4575]
4575,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[62, 74], Operations: ['84-83=1', '75-1=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,30 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,30 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[62, 75], Operations: ['84-83=1', '75*1=75']
Exploring Operation: 62+75=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 62*75=4650, Resulting Numbers: [4650]
4650,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[83, 62, 9], Operations: ['84-75=9']
Exploring Operation: 83+9=92, Resulting Numbers: [62, 92]
Generated Node #0,1,0: 30:[62, 92] Operation: 83+9=92
Exploring Operation: 83-9=74, Resulting Numbers: [62, 74]
Generated Node #0,1,1: 30:[62, 74] Operation: 83-9=74
Exploring Operation: 62-9=53, Resulting Numbers: [83, 53]
Generated Node #0,1,2: 30:[83, 53] Operation: 62-9=53
Exploring Operation: 83-62=21, Resulting Numbers: [9, 21]
Generated Node #0,1,3: 30:[9, 21] Operation: 83-62=21
Moving to Node #0,1,3
Current State: 30:[9, 21], Operations: ['84-75=9', '83-62=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,30 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[75, 83, 84, 62], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [83, 62, 9]
Generated Node #0,1: 30:[83, 62, 9] Operation: 84-75=9
Moving to Node #0,1
Current State: 30:[83, 62, 9], Operations: ['84-75=9']
Exploring Operation: 83-62=21, Resulting Numbers: [9, 21]
Generated Node #0,1,3: 30:[9, 21] Operation: 83-62=21
Moving to Node #0,1,3
Current State: 30:[9, 21], Operations: ['84-75=9', '83-62=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
38,
36,
8,
46
] | 100 | [
"38-36=2",
"46*2=92",
"8+92=100"
] | Current State: 100:[38, 36, 8, 46], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [8, 46, 2]
Generated Node #2: [8, 46, 2] from Operation: 38-36=2
Current State: 100:[8, 46, 2], Operations: ['38-36=2']
Exploring Operation: 46*2=92, Resulting Numbers: [8, 92]
Generated Node #3: [8, 92] from Operation: 46*2=92
Current State: 100:[8, 92], Operations: ['38-36=2', '46*2=92']
Exploring Operation: 8+92=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[38, 36, 8, 46], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [8, 46, 2]
Generated Node #0,0: 100:[8, 46, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[8, 46, 2], Operations: ['38-36=2']
Exploring Operation: 8+46=54, Resulting Numbers: [2, 54]
Generated Node #0,0,0: 100:[2, 54] Operation: 8+46=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[2, 54], Operations: ['38-36=2', '8+46=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
10,
21,
22
] | 27 | [
"36-10=26",
"22-21=1",
"26+1=27"
] | Current State: 27:[36, 10, 21, 22], Operations: []
Exploring Operation: 36-10=26, Resulting Numbers: [21, 22, 26]
Generated Node #2: [21, 22, 26] from Operation: 36-10=26
Current State: 27:[21, 22, 26], Operations: ['36-10=26']
Exploring Operation: 22-21=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 22-21=1
Current State: 27:[26, 1], Operations: ['36-10=26', '22-21=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[36, 10, 21, 22], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [10, 21, 14]
Generated Node #0,0: 27:[10, 21, 14] Operation: 36-22=14
Exploring Operation: 36-21=15, Resulting Numbers: [10, 22, 15]
Generated Node #0,1: 27:[10, 22, 15] Operation: 36-21=15
Exploring Operation: 36-10=26, Resulting Numbers: [21, 22, 26]
Generated Node #0,2: 27:[21, 22, 26] Operation: 36-10=26
Moving to Node #0,0
Current State: 27:[10, 21, 14], Operations: ['36-22=14']
Exploring Operation: 14-10=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 27:[21, 4] Operation: 14-10=4
Exploring Operation: 21-10=11, Resulting Numbers: [14, 11]
Generated Node #0,0,1: 27:[14, 11] Operation: 21-10=11
Exploring Operation: 21-14=7, Resulting Numbers: [10, 7]
Generated Node #0,0,2: 27:[10, 7] Operation: 21-14=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[10, 7], Operations: ['36-22=14', '21-14=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[21, 4], Operations: ['36-22=14', '14-10=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[14, 11], Operations: ['36-22=14', '21-10=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,27 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,27 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: 27:[10, 22, 15], Operations: ['36-21=15']
Exploring Operation: 22-15=7, Resulting Numbers: [10, 7]
Generated Node #0,1,0: 27:[10, 7] Operation: 22-15=7
Exploring Operation: 15-10=5, Resulting Numbers: [22, 5]
Generated Node #0,1,1: 27:[22, 5] Operation: 15-10=5
Exploring Operation: 10+15=25, Resulting Numbers: [22, 25]
Generated Node #0,1,2: 27:[22, 25] Operation: 10+15=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[10, 7], Operations: ['36-21=15', '22-15=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[22, 5], Operations: ['36-21=15', '15-10=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[36, 10, 21, 22], Operations: []
Exploring Operation: 36-21=15, Resulting Numbers: [10, 22, 15]
Generated Node #0,1: 27:[10, 22, 15] Operation: 36-21=15
Moving to Node #0,1
Current State: 27:[10, 22, 15], Operations: ['36-21=15']
Exploring Operation: 15-10=5, Resulting Numbers: [22, 5]
Generated Node #0,1,1: 27:[22, 5] Operation: 15-10=5
Moving to Node #0,1,1
Current State: 27:[22, 5], Operations: ['36-21=15', '15-10=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
89,
53,
79,
85
] | 33 | [
"89-85=4",
"53+79=132",
"132/4=33"
] | Current State: 33:[89, 53, 79, 85], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [53, 79, 4]
Generated Node #2: [53, 79, 4] from Operation: 89-85=4
Current State: 33:[53, 79, 4], Operations: ['89-85=4']
Exploring Operation: 53+79=132, Resulting Numbers: [4, 132]
Generated Node #3: [4, 132] from Operation: 53+79=132
Current State: 33:[4, 132], Operations: ['89-85=4', '53+79=132']
Exploring Operation: 132/4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[89, 53, 79, 85], Operations: []
Exploring Operation: 85-79=6, Resulting Numbers: [89, 53, 6]
Generated Node #0,0: 33:[89, 53, 6] Operation: 85-79=6
Exploring Operation: 89-79=10, Resulting Numbers: [53, 85, 10]
Generated Node #0,1: 33:[53, 85, 10] Operation: 89-79=10
Exploring Operation: 89-85=4, Resulting Numbers: [53, 79, 4]
Generated Node #0,2: 33:[53, 79, 4] Operation: 89-85=4
Moving to Node #0,2
Current State: 33:[53, 79, 4], Operations: ['89-85=4']
Exploring Operation: 79-53=26, Resulting Numbers: [4, 26]
Generated Node #0,2,0: 33:[4, 26] Operation: 79-53=26
Exploring Operation: 79-4=75, Resulting Numbers: [53, 75]
Generated Node #0,2,1: 33:[53, 75] Operation: 79-4=75
Exploring Operation: 53-4=49, Resulting Numbers: [79, 49]
Generated Node #0,2,2: 33:[79, 49] Operation: 53-4=49
Moving to Node #0,1
Current State: 33:[53, 85, 10], Operations: ['89-79=10']
Exploring Operation: 85-53=32, Resulting Numbers: [10, 32]
Generated Node #0,1,0: 33:[10, 32] Operation: 85-53=32
Exploring Operation: 85-10=75, Resulting Numbers: [53, 75]
Generated Node #0,1,1: 33:[53, 75] Operation: 85-10=75
Exploring Operation: 53-10=43, Resulting Numbers: [85, 43]
Generated Node #0,1,2: 33:[85, 43] Operation: 53-10=43
Moving to Node #0,0
Current State: 33:[89, 53, 6], Operations: ['85-79=6']
Exploring Operation: 89-53=36, Resulting Numbers: [6, 36]
Generated Node #0,0,0: 33:[6, 36] Operation: 89-53=36
Exploring Operation: 89-6=83, Resulting Numbers: [53, 83]
Generated Node #0,0,1: 33:[53, 83] Operation: 89-6=83
Exploring Operation: 53-6=47, Resulting Numbers: [89, 47]
Generated Node #0,0,2: 33:[89, 47] Operation: 53-6=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[6, 36], Operations: ['85-79=6', '89-53=36']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[53, 83], Operations: ['85-79=6', '89-6=83']
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,33 unequal: No Solution
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[89, 47], Operations: ['85-79=6', '53-6=47']
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,33 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,33 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: 33:[10, 32], Operations: ['89-79=10', '85-53=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,33 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[4, 26], Operations: ['89-85=4', '79-53=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,33 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[79, 49], Operations: ['89-85=4', '53-4=49']
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 79*49=3871, Resulting Numbers: [3871]
3871,33 unequal: No Solution
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[85, 43], Operations: ['89-79=10', '53-10=43']
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,33 unequal: No Solution
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[53, 75], Operations: ['89-79=10', '85-10=75']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[53, 75], Operations: ['89-85=4', '79-4=75']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,33 unequal: No Solution
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,33 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
19,
5,
26
] | 60 | [
"2*19=38",
"38-26=12",
"5*12=60"
] | Current State: 60:[2, 19, 5, 26], Operations: []
Exploring Operation: 2*19=38, Resulting Numbers: [5, 26, 38]
Generated Node #2: [5, 26, 38] from Operation: 2*19=38
Current State: 60:[5, 26, 38], Operations: ['2*19=38']
Exploring Operation: 38-26=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 38-26=12
Current State: 60:[5, 12], Operations: ['2*19=38', '38-26=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 19, 5, 26], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [2, 5, 7]
Generated Node #0,0: 60:[2, 5, 7] Operation: 26-19=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 5, 7], Operations: ['26-19=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 60:[5, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[5, 5], Operations: ['26-19=7', '7-2=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
81,
60,
90
] | 66 | [
"81-37=44",
"90*44=3960",
"3960/60=66"
] | Current State: 66:[37, 81, 60, 90], Operations: []
Exploring Operation: 81-37=44, Resulting Numbers: [60, 90, 44]
Generated Node #2: [60, 90, 44] from Operation: 81-37=44
Current State: 66:[60, 90, 44], Operations: ['81-37=44']
Exploring Operation: 90*44=3960, Resulting Numbers: [60, 3960]
Generated Node #3: [60, 3960] from Operation: 90*44=3960
Current State: 66:[60, 3960], Operations: ['81-37=44', '90*44=3960']
Exploring Operation: 3960/60=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[37, 81, 60, 90], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [37, 90, 21]
Generated Node #0,0: 66:[37, 90, 21] Operation: 81-60=21
Exploring Operation: 90-37=53, Resulting Numbers: [81, 60, 53]
Generated Node #0,1: 66:[81, 60, 53] Operation: 90-37=53
Exploring Operation: 90-81=9, Resulting Numbers: [37, 60, 9]
Generated Node #0,2: 66:[37, 60, 9] Operation: 90-81=9
Exploring Operation: 90-60=30, Resulting Numbers: [37, 81, 30]
Generated Node #0,3: 66:[37, 81, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[37, 60, 9], Operations: ['90-81=9']
Exploring Operation: 60-37=23, Resulting Numbers: [9, 23]
Generated Node #0,2,0: 66:[9, 23] Operation: 60-37=23
Exploring Operation: 60+9=69, Resulting Numbers: [37, 69]
Generated Node #0,2,1: 66:[37, 69] Operation: 60+9=69
Exploring Operation: 37-9=28, Resulting Numbers: [60, 28]
Generated Node #0,2,2: 66:[60, 28] Operation: 37-9=28
Exploring Operation: 37+9=46, Resulting Numbers: [60, 46]
Generated Node #0,2,3: 66:[60, 46] Operation: 37+9=46
Moving to Node #0,2,0
Current State: 66:[9, 23], Operations: ['90-81=9', '60-37=23']
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,66 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[37, 69], Operations: ['90-81=9', '60+9=69']
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,66 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[60, 28], Operations: ['90-81=9', '37-9=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[60, 46], Operations: ['90-81=9', '37+9=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,66 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[37, 81, 30], Operations: ['90-60=30']
Exploring Operation: 37+30=67, Resulting Numbers: [81, 67]
Generated Node #0,3,0: 66:[81, 67] Operation: 37+30=67
Exploring Operation: 81-30=51, Resulting Numbers: [37, 51]
Generated Node #0,3,1: 66:[37, 51] Operation: 81-30=51
Exploring Operation: 37-30=7, Resulting Numbers: [81, 7]
Generated Node #0,3,2: 66:[81, 7] Operation: 37-30=7
Exploring Operation: 81-37=44, Resulting Numbers: [30, 44]
Generated Node #0,3,3: 66:[30, 44] Operation: 81-37=44
Moving to Node #0,3,3
Current State: 66:[30, 44], Operations: ['90-60=30', '81-37=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[81, 7], Operations: ['90-60=30', '37-30=7']
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[81, 67], Operations: ['90-60=30', '37+30=67']
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,66 unequal: No Solution
Exploring Operation: 81*67=5427, Resulting Numbers: [5427]
5427,66 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[37, 51], Operations: ['90-60=30', '81-30=51']
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,66 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,66 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[37, 90, 21], Operations: ['81-60=21']
Exploring Operation: 37-21=16, Resulting Numbers: [90, 16]
Generated Node #0,0,0: 66:[90, 16] Operation: 37-21=16
Exploring Operation: 90-21=69, Resulting Numbers: [37, 69]
Generated Node #0,0,1: 66:[37, 69] Operation: 90-21=69
Exploring Operation: 90-37=53, Resulting Numbers: [21, 53]
Generated Node #0,0,2: 66:[21, 53] Operation: 90-37=53
Exploring Operation: 37+21=58, Resulting Numbers: [90, 58]
Generated Node #0,0,3: 66:[90, 58] Operation: 37+21=58
Moving to Node #0,0,1
Current State: 66:[37, 69], Operations: ['81-60=21', '90-21=69']
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[21, 53], Operations: ['81-60=21', '90-37=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,66 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[90, 16], Operations: ['81-60=21', '37-21=16']
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,66 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[90, 58], Operations: ['81-60=21', '37+21=58']
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,66 unequal: No Solution
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[81, 60, 53], Operations: ['90-37=53']
Exploring Operation: 81-60=21, Resulting Numbers: [53, 21]
Generated Node #0,1,0: 66:[53, 21] Operation: 81-60=21
Exploring Operation: 81-53=28, Resulting Numbers: [60, 28]
Generated Node #0,1,1: 66:[60, 28] Operation: 81-53=28
Exploring Operation: 60+53=113, Resulting Numbers: [81, 113]
Generated Node #0,1,2: 66:[81, 113] Operation: 60+53=113
Exploring Operation: 60-53=7, Resulting Numbers: [81, 7]
Generated Node #0,1,3: 66:[81, 7] Operation: 60-53=7
Moving to Node #0,1,1
Current State: 66:[60, 28], Operations: ['90-37=53', '81-53=28']
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,66 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[53, 21], Operations: ['90-37=53', '81-60=21']
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,66 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[81, 7], Operations: ['90-37=53', '60-53=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 81*7=567, Resulting Numbers: [567]
567,66 unequal: No Solution
Exploring Operation: 81+7=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[81, 113], Operations: ['90-37=53', '60+53=113']
Exploring Operation: 113-81=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 81+113=194, Resulting Numbers: [194]
194,66 unequal: No Solution
Exploring Operation: 81*113=9153, Resulting Numbers: [9153]
9153,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
13,
90,
2
] | 94 | [
"13-7=6",
"90-2=88",
"6+88=94"
] | Current State: 94:[7, 13, 90, 2], Operations: []
Exploring Operation: 13-7=6, Resulting Numbers: [90, 2, 6]
Generated Node #2: [90, 2, 6] from Operation: 13-7=6
Current State: 94:[90, 2, 6], Operations: ['13-7=6']
Exploring Operation: 90-2=88, Resulting Numbers: [6, 88]
Generated Node #3: [6, 88] from Operation: 90-2=88
Current State: 94:[6, 88], Operations: ['13-7=6', '90-2=88']
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[7, 13, 90, 2], Operations: []
Exploring Operation: 7*13=91, Resulting Numbers: [90, 2, 91]
Generated Node #0,0: 94:[90, 2, 91] Operation: 7*13=91
Moving to Node #0,0
Current State: 94:[90, 2, 91], Operations: ['7*13=91']
Exploring Operation: 91-90=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 94:[2, 1] Operation: 91-90=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 1], Operations: ['7*13=91', '91-90=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,94 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 |
[
24,
42,
84,
17
] | 78 | [
"24-17=7",
"42/7=6",
"84-6=78"
] | Current State: 78:[24, 42, 84, 17], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [42, 84, 7]
Generated Node #2: [42, 84, 7] from Operation: 24-17=7
Current State: 78:[42, 84, 7], Operations: ['24-17=7']
Exploring Operation: 42/7=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 42/7=6
Current State: 78:[84, 6], Operations: ['24-17=7', '42/7=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[24, 42, 84, 17], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [42, 84, 7]
Generated Node #0,0: 78:[42, 84, 7] Operation: 24-17=7
Exploring Operation: 84/42=2, Resulting Numbers: [24, 17, 2]
Generated Node #0,1: 78:[24, 17, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [24, 17, 42]
Generated Node #0,2: 78:[24, 17, 42] Operation: 84-42=42
Exploring Operation: 42-17=25, Resulting Numbers: [24, 84, 25]
Generated Node #0,3: 78:[24, 84, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[24, 17, 2], Operations: ['84/42=2']
Exploring Operation: 17-2=15, Resulting Numbers: [24, 15]
Generated Node #0,1,0: 78:[24, 15] Operation: 17-2=15
Exploring Operation: 24+2=26, Resulting Numbers: [17, 26]
Generated Node #0,1,1: 78:[17, 26] Operation: 24+2=26
Exploring Operation: 24-17=7, Resulting Numbers: [2, 7]
Generated Node #0,1,2: 78:[2, 7] Operation: 24-17=7
Exploring Operation: 24+17=41, Resulting Numbers: [2, 41]
Generated Node #0,1,3: 78:[2, 41] Operation: 24+17=41
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 78:[2, 7], Operations: ['84/42=2', '24-17=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,78 unequal: No Solution
No 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: 78:[2, 41], Operations: ['84/42=2', '24+17=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,78 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,78 unequal: No Solution
No 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: 78:[24, 15], Operations: ['84/42=2', '17-2=15']
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,78 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No 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: 78:[17, 26], Operations: ['84/42=2', '24+2=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,78 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[24, 17, 42], Operations: ['84-42=42']
Exploring Operation: 24-17=7, Resulting Numbers: [42, 7]
Generated Node #0,2,0: 78:[42, 7] Operation: 24-17=7
Exploring Operation: 42-17=25, Resulting Numbers: [24, 25]
Generated Node #0,2,1: 78:[24, 25] Operation: 42-17=25
Exploring Operation: 42-24=18, Resulting Numbers: [17, 18]
Generated Node #0,2,2: 78:[17, 18] Operation: 42-24=18
Exploring Operation: 24+17=41, Resulting Numbers: [42, 41]
Generated Node #0,2,3: 78:[42, 41] Operation: 24+17=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 78:[24, 25], Operations: ['84-42=42', '42-17=25']
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,78 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,78 unequal: No Solution
No 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: 78:[42, 7], Operations: ['84-42=42', '24-17=7']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,78 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,78 unequal: No Solution
No 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: 78:[42, 41], Operations: ['84-42=42', '24+17=41']
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,78 unequal: No Solution
No 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: 78:[17, 18], Operations: ['84-42=42', '42-24=18']
Exploring Operation: 17+18=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 17*18=306, Resulting Numbers: [306]
306,78 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[24, 84, 25], Operations: ['42-17=25']
Exploring Operation: 24+25=49, Resulting Numbers: [84, 49]
Generated Node #0,3,0: 78:[84, 49] Operation: 24+25=49
Exploring Operation: 84-24=60, Resulting Numbers: [25, 60]
Generated Node #0,3,1: 78:[25, 60] Operation: 84-24=60
Exploring Operation: 25-24=1, Resulting Numbers: [84, 1]
Generated Node #0,3,2: 78:[84, 1] Operation: 25-24=1
Exploring Operation: 84-25=59, Resulting Numbers: [24, 59]
Generated Node #0,3,3: 78:[24, 59] Operation: 84-25=59
Moving to Node #0,3,2
Current State: 78:[84, 1], Operations: ['42-17=25', '25-24=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[84, 49], Operations: ['42-17=25', '24+25=49']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,78 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[25, 60], Operations: ['42-17=25', '84-24=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,78 unequal: No Solution
Exploring Operation: 25*60=1500, Resulting Numbers: [1500]
1500,78 unequal: No Solution
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[24, 59], Operations: ['42-17=25', '84-25=59']
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,78 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,78 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[42, 84, 7], Operations: ['24-17=7']
Exploring Operation: 84/7=12, Resulting Numbers: [42, 12]
Generated Node #0,0,0: 78:[42, 12] Operation: 84/7=12
Exploring Operation: 84-42=42, Resulting Numbers: [7, 42]
Generated Node #0,0,1: 78:[7, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [7, 2]
Generated Node #0,0,2: 78:[7, 2] Operation: 84/42=2
Exploring Operation: 84-7=77, Resulting Numbers: [42, 77]
Generated Node #0,0,3: 78:[42, 77] Operation: 84-7=77
Moving to Node #0,0,2
Current State: 78:[7, 2], Operations: ['24-17=7', '84/42=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[7, 42], Operations: ['24-17=7', '84-42=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,78 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[42, 12], Operations: ['24-17=7', '84/7=12']
Exploring Operation: 42*12=504, Resulting Numbers: [504]
504,78 unequal: No Solution
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[42, 77], Operations: ['24-17=7', '84-7=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,78 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
52,
21,
99,
76
] | 26 | [
"99-21=78",
"78-76=2",
"52/2=26"
] | Current State: 26:[52, 21, 99, 76], Operations: []
Exploring Operation: 99-21=78, Resulting Numbers: [52, 76, 78]
Generated Node #2: [52, 76, 78] from Operation: 99-21=78
Current State: 26:[52, 76, 78], Operations: ['99-21=78']
Exploring Operation: 78-76=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 78-76=2
Current State: 26:[52, 2], Operations: ['99-21=78', '78-76=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[52, 21, 99, 76], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [21, 76, 47]
Generated Node #0,0: 26:[21, 76, 47] Operation: 99-52=47
Exploring Operation: 99-76=23, Resulting Numbers: [52, 21, 23]
Generated Node #0,1: 26:[52, 21, 23] Operation: 99-76=23
Exploring Operation: 52-21=31, Resulting Numbers: [99, 76, 31]
Generated Node #0,2: 26:[99, 76, 31] Operation: 52-21=31
Exploring Operation: 76-52=24, Resulting Numbers: [21, 99, 24]
Generated Node #0,3: 26:[21, 99, 24] Operation: 76-52=24
Exploring Operation: 99-21=78, Resulting Numbers: [52, 76, 78]
Generated Node #0,4: 26:[52, 76, 78] Operation: 99-21=78
Moving to Node #0,1
Current State: 26:[52, 21, 23], Operations: ['99-76=23']
Exploring Operation: 52-23=29, Resulting Numbers: [21, 29]
Generated Node #0,1,0: 26:[21, 29] Operation: 52-23=29
Exploring Operation: 21+23=44, Resulting Numbers: [52, 44]
Generated Node #0,1,1: 26:[52, 44] Operation: 21+23=44
Exploring Operation: 52-21=31, Resulting Numbers: [23, 31]
Generated Node #0,1,2: 26:[23, 31] Operation: 52-21=31
Exploring Operation: 52+21=73, Resulting Numbers: [23, 73]
Generated Node #0,1,3: 26:[23, 73] Operation: 52+21=73
Exploring Operation: 23-21=2, Resulting Numbers: [52, 2]
Generated Node #0,1,4: 26:[52, 2] Operation: 23-21=2
Moving to Node #0,0
Current State: 26:[21, 76, 47], Operations: ['99-52=47']
Exploring Operation: 21+76=97, Resulting Numbers: [47, 97]
Generated Node #0,0,0: 26:[47, 97] Operation: 21+76=97
Exploring Operation: 47-21=26, Resulting Numbers: [76, 26]
Generated Node #0,0,1: 26:[76, 26] Operation: 47-21=26
Exploring Operation: 21+47=68, Resulting Numbers: [76, 68]
Generated Node #0,0,2: 26:[76, 68] Operation: 21+47=68
Exploring Operation: 76-47=29, Resulting Numbers: [21, 29]
Generated Node #0,0,3: 26:[21, 29] Operation: 76-47=29
Exploring Operation: 76-21=55, Resulting Numbers: [47, 55]
Generated Node #0,0,4: 26:[47, 55] Operation: 76-21=55
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[21, 29], Operations: ['99-52=47', '76-47=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,26 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,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,0,1
Current State: 26:[76, 26], Operations: ['99-52=47', '47-21=26']
Exploring Operation: 76*26=1976, Resulting Numbers: [1976]
1976,26 unequal: No Solution
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,26 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,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,0,4
Current State: 26:[47, 55], Operations: ['99-52=47', '76-21=55']
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,26 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,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,0,0
Current State: 26:[47, 97], Operations: ['99-52=47', '21+76=97']
Exploring Operation: 47*97=4559, Resulting Numbers: [4559]
4559,26 unequal: No Solution
Exploring Operation: 47+97=144, Resulting Numbers: [144]
144,26 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,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,0,2
Current State: 26:[76, 68], Operations: ['99-52=47', '21+47=68']
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 76+68=144, Resulting Numbers: [144]
144,26 unequal: No Solution
Exploring Operation: 76*68=5168, Resulting Numbers: [5168]
5168,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 26:[21, 99, 24], Operations: ['76-52=24']
Exploring Operation: 24-21=3, Resulting Numbers: [99, 3]
Generated Node #0,3,0: 26:[99, 3] Operation: 24-21=3
Exploring Operation: 99-21=78, Resulting Numbers: [24, 78]
Generated Node #0,3,1: 26:[24, 78] Operation: 99-21=78
Exploring Operation: 21+24=45, Resulting Numbers: [99, 45]
Generated Node #0,3,2: 26:[99, 45] Operation: 21+24=45
Exploring Operation: 99-24=75, Resulting Numbers: [21, 75]
Generated Node #0,3,3: 26:[21, 75] Operation: 99-24=75
Exploring Operation: 21+99=120, Resulting Numbers: [24, 120]
Generated Node #0,3,4: 26:[24, 120] Operation: 21+99=120
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[24, 78], Operations: ['76-52=24', '99-21=78']
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,26 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,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:[21, 75], Operations: ['76-52=24', '99-24=75']
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 21*75=1575, Resulting Numbers: [1575]
1575,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,0
Current State: 26:[99, 3], Operations: ['76-52=24', '24-21=3']
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,26 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,26 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,26 unequal: No Solution
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,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:[99, 45], Operations: ['76-52=24', '21+24=45']
Exploring Operation: 99*45=4455, Resulting Numbers: [4455]
4455,26 unequal: No Solution
Exploring Operation: 99-45=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 99+45=144, Resulting Numbers: [144]
144,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:[24, 120], Operations: ['76-52=24', '21+99=120']
Exploring Operation: 24*120=2880, Resulting Numbers: [2880]
2880,26 unequal: No Solution
Exploring Operation: 120-24=96, Resulting Numbers: [96]
96,26 unequal: No Solution
Exploring Operation: 120/24=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 24+120=144, Resulting Numbers: [144]
144,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 26:[99, 76, 31], Operations: ['52-21=31']
Exploring Operation: 99+31=130, Resulting Numbers: [76, 130]
Generated Node #0,2,0: 26:[76, 130] Operation: 99+31=130
Exploring Operation: 76-31=45, Resulting Numbers: [99, 45]
Generated Node #0,2,1: 26:[99, 45] Operation: 76-31=45
Exploring Operation: 99-31=68, Resulting Numbers: [76, 68]
Generated Node #0,2,2: 26:[76, 68] Operation: 99-31=68
Exploring Operation: 99-76=23, Resulting Numbers: [31, 23]
Generated Node #0,2,3: 26:[31, 23] Operation: 99-76=23
Exploring Operation: 99+76=175, Resulting Numbers: [31, 175]
Generated Node #0,2,4: 26:[31, 175] Operation: 99+76=175
Moving to Node #0,4
Current State: 26:[52, 76, 78], Operations: ['99-21=78']
Exploring Operation: 52+78=130, Resulting Numbers: [76, 130]
Generated Node #0,4,0: 26:[76, 130] Operation: 52+78=130
Exploring Operation: 52+76=128, Resulting Numbers: [78, 128]
Generated Node #0,4,1: 26:[78, 128] Operation: 52+76=128
Exploring Operation: 76-52=24, Resulting Numbers: [78, 24]
Generated Node #0,4,2: 26:[78, 24] Operation: 76-52=24
Exploring Operation: 78-52=26, Resulting Numbers: [76, 26]
Generated Node #0,4,3: 26:[76, 26] Operation: 78-52=26
Exploring Operation: 78-76=2, Resulting Numbers: [52, 2]
Generated Node #0,4,4: 26:[52, 2] Operation: 78-76=2
Moving to Node #0,1,0
Current State: 26:[21, 29], Operations: ['99-76=23', '52-23=29']
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[31, 23], Operations: ['52-21=31', '99-76=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,26 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[23, 31], Operations: ['99-76=23', '52-21=31']
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,26 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Moving to Node #0,1,4
Current State: 26:[52, 2], Operations: ['99-76=23', '23-21=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[52, 21, 99, 76], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [52, 21, 23]
Generated Node #0,1: 26:[52, 21, 23] Operation: 99-76=23
Moving to Node #0,1
Current State: 26:[52, 21, 23], Operations: ['99-76=23']
Exploring Operation: 23-21=2, Resulting Numbers: [52, 2]
Generated Node #0,1,4: 26:[52, 2] Operation: 23-21=2
Moving to Node #0,1,4
Current State: 26:[52, 2], Operations: ['99-76=23', '23-21=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.934028 | hs_5 | mult_heuristic |
[
66,
13,
32,
81
] | 16 | [
"66+13=79",
"81-79=2",
"32/2=16"
] | Current State: 16:[66, 13, 32, 81], Operations: []
Exploring Operation: 66+13=79, Resulting Numbers: [32, 81, 79]
Generated Node #2: [32, 81, 79] from Operation: 66+13=79
Current State: 16:[32, 81, 79], Operations: ['66+13=79']
Exploring Operation: 81-79=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 81-79=2
Current State: 16:[32, 2], Operations: ['66+13=79', '81-79=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[66, 13, 32, 81], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [13, 81, 34]
Generated Node #0,0: 16:[13, 81, 34] Operation: 66-32=34
Exploring Operation: 81-66=15, Resulting Numbers: [13, 32, 15]
Generated Node #0,1: 16:[13, 32, 15] Operation: 81-66=15
Moving to Node #0,1
Current State: 16:[13, 32, 15], Operations: ['81-66=15']
Exploring Operation: 32-13=19, Resulting Numbers: [15, 19]
Generated Node #0,1,0: 16:[15, 19] Operation: 32-13=19
Exploring Operation: 32-15=17, Resulting Numbers: [13, 17]
Generated Node #0,1,1: 16:[13, 17] Operation: 32-15=17
Moving to Node #0,0
Current State: 16:[13, 81, 34], Operations: ['66-32=34']
Exploring Operation: 81-34=47, Resulting Numbers: [13, 47]
Generated Node #0,0,0: 16:[13, 47] Operation: 81-34=47
Exploring Operation: 81-13=68, Resulting Numbers: [34, 68]
Generated Node #0,0,1: 16:[34, 68] Operation: 81-13=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[13, 47], Operations: ['66-32=34', '81-34=47']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[34, 68], Operations: ['66-32=34', '81-13=68']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,16 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: 16:[15, 19], Operations: ['81-66=15', '32-13=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[13, 17], Operations: ['81-66=15', '32-15=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,16 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
35,
76,
38
] | 21 | [
"77-35=42",
"76/38=2",
"42/2=21"
] | Current State: 21:[77, 35, 76, 38], Operations: []
Exploring Operation: 77-35=42, Resulting Numbers: [76, 38, 42]
Generated Node #2: [76, 38, 42] from Operation: 77-35=42
Current State: 21:[76, 38, 42], Operations: ['77-35=42']
Exploring Operation: 76/38=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 76/38=2
Current State: 21:[42, 2], Operations: ['77-35=42', '76/38=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[77, 35, 76, 38], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [35, 38, 1]
Generated Node #0,0: 21:[35, 38, 1] Operation: 77-76=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[35, 38, 1], Operations: ['77-76=1']
Exploring Operation: 38-35=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 21:[1, 3] Operation: 38-35=3
Moving to Node #0,0,0
Current State: 21:[1, 3], Operations: ['77-76=1', '38-35=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
43,
27,
37
] | 15 | [
"43-38=5",
"37-27=10",
"5+10=15"
] | Current State: 15:[38, 43, 27, 37], Operations: []
Exploring Operation: 43-38=5, Resulting Numbers: [27, 37, 5]
Generated Node #2: [27, 37, 5] from Operation: 43-38=5
Current State: 15:[27, 37, 5], Operations: ['43-38=5']
Exploring Operation: 37-27=10, Resulting Numbers: [5, 10]
Generated Node #3: [5, 10] from Operation: 37-27=10
Current State: 15:[5, 10], Operations: ['43-38=5', '37-27=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[38, 43, 27, 37], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [38, 27, 6]
Generated Node #0,0: 15:[38, 27, 6] Operation: 43-37=6
Exploring Operation: 38-37=1, Resulting Numbers: [43, 27, 1]
Generated Node #0,1: 15:[43, 27, 1] Operation: 38-37=1
Exploring Operation: 43-38=5, Resulting Numbers: [27, 37, 5]
Generated Node #0,2: 15:[27, 37, 5] Operation: 43-38=5
Moving to Node #0,2
Current State: 15:[27, 37, 5], Operations: ['43-38=5']
Exploring Operation: 27-5=22, Resulting Numbers: [37, 22]
Generated Node #0,2,0: 15:[37, 22] Operation: 27-5=22
Exploring Operation: 37-27=10, Resulting Numbers: [5, 10]
Generated Node #0,2,1: 15:[5, 10] Operation: 37-27=10
Exploring Operation: 37-5=32, Resulting Numbers: [27, 32]
Generated Node #0,2,2: 15:[27, 32] Operation: 37-5=32
Moving to Node #0,0
Current State: 15:[38, 27, 6], Operations: ['43-37=6']
Exploring Operation: 38-6=32, Resulting Numbers: [27, 32]
Generated Node #0,0,0: 15:[27, 32] Operation: 38-6=32
Exploring Operation: 27-6=21, Resulting Numbers: [38, 21]
Generated Node #0,0,1: 15:[38, 21] Operation: 27-6=21
Exploring Operation: 38-27=11, Resulting Numbers: [6, 11]
Generated Node #0,0,2: 15:[6, 11] Operation: 38-27=11
Moving to Node #0,1
Current State: 15:[43, 27, 1], Operations: ['38-37=1']
Exploring Operation: 43-27=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 15:[1, 16] Operation: 43-27=16
Exploring Operation: 27-1=26, Resulting Numbers: [43, 26]
Generated Node #0,1,1: 15:[43, 26] Operation: 27-1=26
Exploring Operation: 43-1=42, Resulting Numbers: [27, 42]
Generated Node #0,1,2: 15:[27, 42] Operation: 43-1=42
Moving to Node #0,1,0
Current State: 15:[1, 16], Operations: ['38-37=1', '43-27=16']
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[38, 43, 27, 37], Operations: []
Exploring Operation: 38-37=1, Resulting Numbers: [43, 27, 1]
Generated Node #0,1: 15:[43, 27, 1] Operation: 38-37=1
Moving to Node #0,1
Current State: 15:[43, 27, 1], Operations: ['38-37=1']
Exploring Operation: 43-27=16, Resulting Numbers: [1, 16]
Generated Node #0,1,0: 15:[1, 16] Operation: 43-27=16
Moving to Node #0,1,0
Current State: 15:[1, 16], Operations: ['38-37=1', '43-27=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
21,
89,
27,
24
] | 91 | [
"21+27=48",
"48/24=2",
"89+2=91"
] | Current State: 91:[21, 89, 27, 24], Operations: []
Exploring Operation: 21+27=48, Resulting Numbers: [89, 24, 48]
Generated Node #2: [89, 24, 48] from Operation: 21+27=48
Current State: 91:[89, 24, 48], Operations: ['21+27=48']
Exploring Operation: 48/24=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 48/24=2
Current State: 91:[89, 2], Operations: ['21+27=48', '48/24=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[21, 89, 27, 24], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [89, 27, 3]
Generated Node #0,0: 91:[89, 27, 3] Operation: 24-21=3
Exploring Operation: 27-21=6, Resulting Numbers: [89, 24, 6]
Generated Node #0,1: 91:[89, 24, 6] Operation: 27-21=6
Exploring Operation: 21+89=110, Resulting Numbers: [27, 24, 110]
Generated Node #0,2: 91:[27, 24, 110] Operation: 21+89=110
Exploring Operation: 27-24=3, Resulting Numbers: [21, 89, 3]
Generated Node #0,3: 91:[21, 89, 3] Operation: 27-24=3
Exploring Operation: 89+27=116, Resulting Numbers: [21, 24, 116]
Generated Node #0,4: 91:[21, 24, 116] Operation: 89+27=116
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[89, 24, 6], Operations: ['27-21=6']
Exploring Operation: 24-6=18, Resulting Numbers: [89, 18]
Generated Node #0,1,0: 91:[89, 18] Operation: 24-6=18
Exploring Operation: 24+6=30, Resulting Numbers: [89, 30]
Generated Node #0,1,1: 91:[89, 30] Operation: 24+6=30
Exploring Operation: 24/6=4, Resulting Numbers: [89, 4]
Generated Node #0,1,2: 91:[89, 4] Operation: 24/6=4
Exploring Operation: 89+6=95, Resulting Numbers: [24, 95]
Generated Node #0,1,3: 91:[24, 95] Operation: 89+6=95
Exploring Operation: 89-6=83, Resulting Numbers: [24, 83]
Generated Node #0,1,4: 91:[24, 83] Operation: 89-6=83
Moving to Node #0,1,2
Current State: 91:[89, 4], Operations: ['27-21=6', '24/6=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,91 unequal: No Solution
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[89, 18], Operations: ['27-21=6', '24-6=18']
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,91 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[24, 95], Operations: ['27-21=6', '89+6=95']
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 24+95=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 24*95=2280, Resulting Numbers: [2280]
2280,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[89, 30], Operations: ['27-21=6', '24+6=30']
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,91 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[24, 83], Operations: ['27-21=6', '89-6=83']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,91 unequal: No Solution
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[21, 89, 3], Operations: ['27-24=3']
Exploring Operation: 21/3=7, Resulting Numbers: [89, 7]
Generated Node #0,3,0: 91:[89, 7] Operation: 21/3=7
Exploring Operation: 89+3=92, Resulting Numbers: [21, 92]
Generated Node #0,3,1: 91:[21, 92] Operation: 89+3=92
Exploring Operation: 21+3=24, Resulting Numbers: [89, 24]
Generated Node #0,3,2: 91:[89, 24] Operation: 21+3=24
Exploring Operation: 21-3=18, Resulting Numbers: [89, 18]
Generated Node #0,3,3: 91:[89, 18] Operation: 21-3=18
Exploring Operation: 89-3=86, Resulting Numbers: [21, 86]
Generated Node #0,3,4: 91:[21, 86] Operation: 89-3=86
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 91:[89, 7], Operations: ['27-24=3', '21/3=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 91:[89, 18], Operations: ['27-24=3', '21-3=18']
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,91 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 91:[21, 92], Operations: ['27-24=3', '89+3=92']
Exploring Operation: 21*92=1932, Resulting Numbers: [1932]
1932,91 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 21+92=113, Resulting Numbers: [113]
113,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 91:[89, 24], Operations: ['27-24=3', '21+3=24']
Exploring Operation: 89+24=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 89*24=2136, Resulting Numbers: [2136]
2136,91 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 91:[21, 86], Operations: ['27-24=3', '89-3=86']
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 21*86=1806, Resulting Numbers: [1806]
1806,91 unequal: No Solution
Exploring Operation: 21+86=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[89, 27, 3], Operations: ['24-21=3']
Exploring Operation: 89-3=86, Resulting Numbers: [27, 86]
Generated Node #0,0,0: 91:[27, 86] Operation: 89-3=86
Exploring Operation: 27*3=81, Resulting Numbers: [89, 81]
Generated Node #0,0,1: 91:[89, 81] Operation: 27*3=81
Exploring Operation: 27/3=9, Resulting Numbers: [89, 9]
Generated Node #0,0,2: 91:[89, 9] Operation: 27/3=9
Exploring Operation: 89+3=92, Resulting Numbers: [27, 92]
Generated Node #0,0,3: 91:[27, 92] Operation: 89+3=92
Exploring Operation: 27-3=24, Resulting Numbers: [89, 24]
Generated Node #0,0,4: 91:[89, 24] Operation: 27-3=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[89, 9], Operations: ['24-21=3', '27/3=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 89*9=801, Resulting Numbers: [801]
801,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[89, 81], Operations: ['24-21=3', '27*3=81']
Exploring Operation: 89+81=170, Resulting Numbers: [170]
170,91 unequal: No Solution
Exploring Operation: 89*81=7209, Resulting Numbers: [7209]
7209,91 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 91:[89, 24], Operations: ['24-21=3', '27-3=24']
Exploring Operation: 89*24=2136, Resulting Numbers: [2136]
2136,91 unequal: No Solution
Exploring Operation: 89+24=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[27, 92], Operations: ['24-21=3', '89+3=92']
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,91 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[27, 86], Operations: ['24-21=3', '89-3=86']
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,91 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[27, 24, 110], Operations: ['21+89=110']
Exploring Operation: 27+24=51, Resulting Numbers: [110, 51]
Generated Node #0,2,0: 91:[110, 51] Operation: 27+24=51
Exploring Operation: 27-24=3, Resulting Numbers: [110, 3]
Generated Node #0,2,1: 91:[110, 3] Operation: 27-24=3
Exploring Operation: 110-24=86, Resulting Numbers: [27, 86]
Generated Node #0,2,2: 91:[27, 86] Operation: 110-24=86
Exploring Operation: 27+110=137, Resulting Numbers: [24, 137]
Generated Node #0,2,3: 91:[24, 137] Operation: 27+110=137
Exploring Operation: 110-27=83, Resulting Numbers: [24, 83]
Generated Node #0,2,4: 91:[24, 83] Operation: 110-27=83
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[27, 86], Operations: ['21+89=110', '110-24=86']
Exploring Operation: 27+86=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 27*86=2322, Resulting Numbers: [2322]
2322,91 unequal: No Solution
Exploring Operation: 86-27=59, Resulting Numbers: [59]
59,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 91:[24, 83], Operations: ['21+89=110', '110-27=83']
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,91 unequal: No Solution
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[110, 3], Operations: ['21+89=110', '27-24=3']
Exploring Operation: 110+3=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 110-3=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 110*3=330, Resulting Numbers: [330]
330,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[110, 51], Operations: ['21+89=110', '27+24=51']
Exploring Operation: 110+51=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 110*51=5610, Resulting Numbers: [5610]
5610,91 unequal: No Solution
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[24, 137], Operations: ['21+89=110', '27+110=137']
Exploring Operation: 24*137=3288, Resulting Numbers: [3288]
3288,91 unequal: No Solution
Exploring Operation: 24+137=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 137-24=113, Resulting Numbers: [113]
113,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[21, 24, 116], Operations: ['89+27=116']
Exploring Operation: 116-21=95, Resulting Numbers: [24, 95]
Generated Node #0,4,0: 91:[24, 95] Operation: 116-21=95
Exploring Operation: 116-24=92, Resulting Numbers: [21, 92]
Generated Node #0,4,1: 91:[21, 92] Operation: 116-24=92
Exploring Operation: 21+24=45, Resulting Numbers: [116, 45]
Generated Node #0,4,2: 91:[116, 45] Operation: 21+24=45
Exploring Operation: 21+116=137, Resulting Numbers: [24, 137]
Generated Node #0,4,3: 91:[24, 137] Operation: 21+116=137
Exploring Operation: 24-21=3, Resulting Numbers: [116, 3]
Generated Node #0,4,4: 91:[116, 3] Operation: 24-21=3
Moving to Node #0,4,1
Current State: 91:[21, 92], Operations: ['89+27=116', '116-24=92']
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 21*92=1932, Resulting Numbers: [1932]
1932,91 unequal: No Solution
Exploring Operation: 21+92=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[24, 95], Operations: ['89+27=116', '116-21=95']
Exploring Operation: 24*95=2280, Resulting Numbers: [2280]
2280,91 unequal: No Solution
Exploring Operation: 24+95=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[116, 3], Operations: ['89+27=116', '24-21=3']
Exploring Operation: 116-3=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 116*3=348, Resulting Numbers: [348]
348,91 unequal: No Solution
Exploring Operation: 116+3=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[116, 45], Operations: ['89+27=116', '21+24=45']
Exploring Operation: 116+45=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 116*45=5220, Resulting Numbers: [5220]
5220,91 unequal: No Solution
Exploring Operation: 116-45=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[24, 137], Operations: ['89+27=116', '21+116=137']
Exploring Operation: 24*137=3288, Resulting Numbers: [3288]
3288,91 unequal: No Solution
Exploring Operation: 24+137=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 137-24=113, Resulting Numbers: [113]
113,91 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 |
[
2,
54,
7,
16
] | 72 | [
"2+16=18",
"7*18=126",
"126-54=72"
] | Current State: 72:[2, 54, 7, 16], Operations: []
Exploring Operation: 2+16=18, Resulting Numbers: [54, 7, 18]
Generated Node #2: [54, 7, 18] from Operation: 2+16=18
Current State: 72:[54, 7, 18], Operations: ['2+16=18']
Exploring Operation: 7*18=126, Resulting Numbers: [54, 126]
Generated Node #3: [54, 126] from Operation: 7*18=126
Current State: 72:[54, 126], Operations: ['2+16=18', '7*18=126']
Exploring Operation: 126-54=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[2, 54, 7, 16], Operations: []
Exploring Operation: 54+16=70, Resulting Numbers: [2, 7, 70]
Generated Node #0,0: 72:[2, 7, 70] Operation: 54+16=70
Exploring Operation: 54-16=38, Resulting Numbers: [2, 7, 38]
Generated Node #0,1: 72:[2, 7, 38] Operation: 54-16=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[2, 7, 70], Operations: ['54+16=70']
Exploring Operation: 70/7=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 72:[2, 10] Operation: 70/7=10
Exploring Operation: 2+70=72, Resulting Numbers: [7, 72]
Generated Node #0,0,1: 72:[7, 72] Operation: 2+70=72
Moving to Node #0,0,0
Current State: 72:[2, 10], Operations: ['54+16=70', '70/7=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[7, 72], Operations: ['54+16=70', '2+70=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,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
Current State: 72:[2, 7, 38], Operations: ['54-16=38']
Exploring Operation: 38-2=36, Resulting Numbers: [7, 36]
Generated Node #0,1,0: 72:[7, 36] Operation: 38-2=36
Exploring Operation: 2+7=9, Resulting Numbers: [38, 9]
Generated Node #0,1,1: 72:[38, 9] Operation: 2+7=9
Moving to Node #0,1,0
Current State: 72:[7, 36], Operations: ['54-16=38', '38-2=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[38, 9], Operations: ['54-16=38', '2+7=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,72 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 |
[
38,
38,
32,
14
] | 33 | [
"38+32=70",
"70/14=5",
"38-5=33"
] | Current State: 33:[38, 38, 32, 14], Operations: []
Exploring Operation: 38+32=70, Resulting Numbers: [14, 70]
Generated Node #2: [14, 70] from Operation: 38+32=70
Current State: 33:[14, 70], Operations: ['38+32=70']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,33 equal: Goal Reached
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[38, 38, 32, 14], Operations: []
Exploring Operation: 38/38=1, Resulting Numbers: [32, 14, 1]
Generated Node #0,0: 33:[32, 14, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [32, 14, 0]
Generated Node #0,1: 33:[32, 14, 0] Operation: 38-38=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[32, 14, 1], Operations: ['38/38=1']
Exploring Operation: 14-1=13, Resulting Numbers: [32, 13]
Generated Node #0,0,0: 33:[32, 13] Operation: 14-1=13
Exploring Operation: 32+1=33, Resulting Numbers: [14, 33]
Generated Node #0,0,1: 33:[14, 33] Operation: 32+1=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[32, 13], Operations: ['38/38=1', '14-1=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,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,1
Current State: 33:[14, 33], Operations: ['38/38=1', '32+1=33']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[32, 14, 0], Operations: ['38-38=0']
Exploring Operation: 32+0=32, Resulting Numbers: [14, 32]
Generated Node #0,1,0: 33:[14, 32] Operation: 32+0=32
Exploring Operation: 32-0=32, Resulting Numbers: [14, 32]
Generated Node #0,1,1: 33:[14, 32] Operation: 32-0=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[14, 32], Operations: ['38-38=0', '32+0=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,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,1
Current State: 33:[14, 32], Operations: ['38-38=0', '32-0=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,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 | sum_heuristic |
[
45,
14,
37,
45
] | 51 | [
"45+14=59",
"45-37=8",
"59-8=51"
] | Current State: 51:[45, 14, 37, 45], Operations: []
Exploring Operation: 45+14=59, Resulting Numbers: [37, 59]
Generated Node #2: [37, 59] from Operation: 45+14=59
Current State: 51:[37, 59], Operations: ['45+14=59']
Exploring Operation: 45-37=8, Resulting Numbers: [59, 8]
Generated Node #3: [59, 8] from Operation: 45-37=8
Current State: 51:[59, 8], Operations: ['45+14=59', '45-37=8']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[45, 14, 37, 45], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [14, 45, 8]
Generated Node #0,0: 51:[14, 45, 8] Operation: 45-37=8
Exploring Operation: 45/45=1, Resulting Numbers: [14, 37, 1]
Generated Node #0,1: 51:[14, 37, 1] Operation: 45/45=1
Exploring Operation: 45-37=8, Resulting Numbers: [45, 14, 8]
Generated Node #0,2: 51:[45, 14, 8] Operation: 45-37=8
Exploring Operation: 37-14=23, Resulting Numbers: [45, 45, 23]
Generated Node #0,3: 51:[45, 45, 23] Operation: 37-14=23
Exploring Operation: 14+37=51, Resulting Numbers: [45, 45, 51]
Generated Node #0,4: 51:[45, 45, 51] Operation: 14+37=51
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[45, 45, 51], Operations: ['14+37=51']
Exploring Operation: 51-45=6, Resulting Numbers: [45, 6]
Generated Node #0,4,0: 51:[45, 6] Operation: 51-45=6
Exploring Operation: 45+45=90, Resulting Numbers: [51, 90]
Generated Node #0,4,1: 51:[51, 90] Operation: 45+45=90
Exploring Operation: 45/45=1, Resulting Numbers: [51, 1]
Generated Node #0,4,2: 51:[51, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [51, 0]
Generated Node #0,4,3: 51:[51, 0] Operation: 45-45=0
Exploring Operation: 51-45=6, Resulting Numbers: [45, 6]
Generated Node #0,4,4: 51:[45, 6] Operation: 51-45=6
Moving to Node #0,4,2
Current State: 51:[51, 1], Operations: ['14+37=51', '45/45=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[45, 14, 37, 45], Operations: []
Exploring Operation: 14+37=51, Resulting Numbers: [45, 45, 51]
Generated Node #0,4: 51:[45, 45, 51] Operation: 14+37=51
Moving to Node #0,4
Current State: 51:[45, 45, 51], Operations: ['14+37=51']
Exploring Operation: 45/45=1, Resulting Numbers: [51, 1]
Generated Node #0,4,2: 51:[51, 1] Operation: 45/45=1
Moving to Node #0,4,2
Current State: 51:[51, 1], Operations: ['14+37=51', '45/45=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
56,
69,
20,
48
] | 97 | [
"56+69=125",
"48-20=28",
"125-28=97"
] | Current State: 97:[56, 69, 20, 48], Operations: []
Exploring Operation: 56+69=125, Resulting Numbers: [20, 48, 125]
Generated Node #2: [20, 48, 125] from Operation: 56+69=125
Current State: 97:[20, 48, 125], Operations: ['56+69=125']
Exploring Operation: 48-20=28, Resulting Numbers: [125, 28]
Generated Node #3: [125, 28] from Operation: 48-20=28
Current State: 97:[125, 28], Operations: ['56+69=125', '48-20=28']
Exploring Operation: 125-28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[56, 69, 20, 48], Operations: []
Exploring Operation: 69+20=89, Resulting Numbers: [56, 48, 89]
Generated Node #0,0: 97:[56, 48, 89] Operation: 69+20=89
Exploring Operation: 56+20=76, Resulting Numbers: [69, 48, 76]
Generated Node #0,1: 97:[69, 48, 76] Operation: 56+20=76
Exploring Operation: 20+48=68, Resulting Numbers: [56, 69, 68]
Generated Node #0,2: 97:[56, 69, 68] Operation: 20+48=68
Moving to Node #0,0
Current State: 97:[56, 48, 89], Operations: ['69+20=89']
Exploring Operation: 48+89=137, Resulting Numbers: [56, 137]
Generated Node #0,0,0: 97:[56, 137] Operation: 48+89=137
Exploring Operation: 56-48=8, Resulting Numbers: [89, 8]
Generated Node #0,0,1: 97:[89, 8] Operation: 56-48=8
Exploring Operation: 56+48=104, Resulting Numbers: [89, 104]
Generated Node #0,0,2: 97:[89, 104] Operation: 56+48=104
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[89, 104], Operations: ['69+20=89', '56+48=104']
Exploring Operation: 104-89=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 89+104=193, Resulting Numbers: [193]
193,97 unequal: No Solution
Exploring Operation: 89*104=9256, Resulting Numbers: [9256]
9256,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[56, 137], Operations: ['69+20=89', '48+89=137']
Exploring Operation: 56*137=7672, Resulting Numbers: [7672]
7672,97 unequal: No Solution
Exploring Operation: 137-56=81, Resulting Numbers: [81]
81,97 unequal: No Solution
Exploring Operation: 56+137=193, Resulting Numbers: [193]
193,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[89, 8], Operations: ['69+20=89', '56-48=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[56, 69, 20, 48], Operations: []
Exploring Operation: 69+20=89, Resulting Numbers: [56, 48, 89]
Generated Node #0,0: 97:[56, 48, 89] Operation: 69+20=89
Moving to Node #0,0
Current State: 97:[56, 48, 89], Operations: ['69+20=89']
Exploring Operation: 56-48=8, Resulting Numbers: [89, 8]
Generated Node #0,0,1: 97:[89, 8] Operation: 56-48=8
Moving to Node #0,0,1
Current State: 97:[89, 8], Operations: ['69+20=89', '56-48=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
34,
1,
76,
32
] | 77 | [
"34-1=33",
"76-32=44",
"33+44=77"
] | Current State: 77:[34, 1, 76, 32], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [76, 32, 33]
Generated Node #2: [76, 32, 33] from Operation: 34-1=33
Current State: 77:[76, 32, 33], Operations: ['34-1=33']
Exploring Operation: 76-32=44, Resulting Numbers: [33, 44]
Generated Node #3: [33, 44] from Operation: 76-32=44
Current State: 77:[33, 44], Operations: ['34-1=33', '76-32=44']
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[34, 1, 76, 32], Operations: []
Exploring Operation: 1+76=77, Resulting Numbers: [34, 32, 77]
Generated Node #0,0: 77:[34, 32, 77] Operation: 1+76=77
Exploring Operation: 34-32=2, Resulting Numbers: [1, 76, 2]
Generated Node #0,1: 77:[1, 76, 2] Operation: 34-32=2
Exploring Operation: 34+32=66, Resulting Numbers: [1, 76, 66]
Generated Node #0,2: 77:[1, 76, 66] Operation: 34+32=66
Exploring Operation: 34-1=33, Resulting Numbers: [76, 32, 33]
Generated Node #0,3: 77:[76, 32, 33] Operation: 34-1=33
Exploring Operation: 32-1=31, Resulting Numbers: [34, 76, 31]
Generated Node #0,4: 77:[34, 76, 31] Operation: 32-1=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[1, 76, 2], Operations: ['34-32=2']
Exploring Operation: 1*2=2, Resulting Numbers: [76, 2]
Generated Node #0,1,0: 77:[76, 2] Operation: 1*2=2
Exploring Operation: 76/1=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 77:[2, 76] Operation: 76/1=76
Exploring Operation: 1+76=77, Resulting Numbers: [2, 77]
Generated Node #0,1,2: 77:[2, 77] Operation: 1+76=77
Exploring Operation: 1*76=76, Resulting Numbers: [2, 76]
Generated Node #0,1,3: 77:[2, 76] Operation: 1*76=76
Exploring Operation: 1+2=3, Resulting Numbers: [76, 3]
Generated Node #0,1,4: 77:[76, 3] Operation: 1+2=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[2, 77], Operations: ['34-32=2', '1+76=77']
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 77:[76, 3], Operations: ['34-32=2', '1+2=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,77 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[76, 2], Operations: ['34-32=2', '1*2=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,77 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[2, 76], Operations: ['34-32=2', '76/1=76']
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,77 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[2, 76], Operations: ['34-32=2', '1*76=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,77 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[1, 76, 66], Operations: ['34+32=66']
Exploring Operation: 1*76=76, Resulting Numbers: [66, 76]
Generated Node #0,2,0: 77:[66, 76] Operation: 1*76=76
Exploring Operation: 76/1=76, Resulting Numbers: [66, 76]
Generated Node #0,2,1: 77:[66, 76] Operation: 76/1=76
Exploring Operation: 1+76=77, Resulting Numbers: [66, 77]
Generated Node #0,2,2: 77:[66, 77] Operation: 1+76=77
Exploring Operation: 76-66=10, Resulting Numbers: [1, 10]
Generated Node #0,2,3: 77:[1, 10] Operation: 76-66=10
Exploring Operation: 1+66=67, Resulting Numbers: [76, 67]
Generated Node #0,2,4: 77:[76, 67] Operation: 1+66=67
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[1, 10], Operations: ['34+32=66', '76-66=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 10/1=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,2,2
Current State: 77:[66, 77], Operations: ['34+32=66', '1+76=77']
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,77 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 77:[76, 67], Operations: ['34+32=66', '1+66=67']
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,77 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[66, 76], Operations: ['34+32=66', '1*76=76']
Exploring Operation: 66*76=5016, Resulting Numbers: [5016]
5016,77 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 66+76=142, Resulting Numbers: [142]
142,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[66, 76], Operations: ['34+32=66', '76/1=76']
Exploring Operation: 66+76=142, Resulting Numbers: [142]
142,77 unequal: No Solution
Exploring Operation: 66*76=5016, Resulting Numbers: [5016]
5016,77 unequal: No Solution
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[34, 32, 77], Operations: ['1+76=77']
Exploring Operation: 34+77=111, Resulting Numbers: [32, 111]
Generated Node #0,0,0: 77:[32, 111] Operation: 34+77=111
Exploring Operation: 32+77=109, Resulting Numbers: [34, 109]
Generated Node #0,0,1: 77:[34, 109] Operation: 32+77=109
Exploring Operation: 34+32=66, Resulting Numbers: [77, 66]
Generated Node #0,0,2: 77:[77, 66] Operation: 34+32=66
Exploring Operation: 34-32=2, Resulting Numbers: [77, 2]
Generated Node #0,0,3: 77:[77, 2] Operation: 34-32=2
Exploring Operation: 77-34=43, Resulting Numbers: [32, 43]
Generated Node #0,0,4: 77:[32, 43] Operation: 77-34=43
Moving to Node #0,0,3
Current State: 77:[77, 2], Operations: ['1+76=77', '34-32=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[77, 66], Operations: ['1+76=77', '34+32=66']
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 77+66=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 77*66=5082, Resulting Numbers: [5082]
5082,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[32, 43], Operations: ['1+76=77', '77-34=43']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[32, 111], Operations: ['1+76=77', '34+77=111']
Exploring Operation: 32+111=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 32*111=3552, Resulting Numbers: [3552]
3552,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[34, 109], Operations: ['1+76=77', '32+77=109']
Exploring Operation: 34*109=3706, Resulting Numbers: [3706]
3706,77 unequal: No Solution
Exploring Operation: 34+109=143, Resulting Numbers: [143]
143,77 unequal: No Solution
Exploring Operation: 109-34=75, Resulting Numbers: [75]
75,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
Current State: 77:[76, 32, 33], Operations: ['34-1=33']
Exploring Operation: 32+33=65, Resulting Numbers: [76, 65]
Generated Node #0,3,0: 77:[76, 65] Operation: 32+33=65
Exploring Operation: 76-33=43, Resulting Numbers: [32, 43]
Generated Node #0,3,1: 77:[32, 43] Operation: 76-33=43
Exploring Operation: 76+32=108, Resulting Numbers: [33, 108]
Generated Node #0,3,2: 77:[33, 108] Operation: 76+32=108
Exploring Operation: 33-32=1, Resulting Numbers: [76, 1]
Generated Node #0,3,3: 77:[76, 1] Operation: 33-32=1
Exploring Operation: 76+33=109, Resulting Numbers: [32, 109]
Generated Node #0,3,4: 77:[32, 109] Operation: 76+33=109
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 77:[76, 1], Operations: ['34-1=33', '33-32=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[34, 1, 76, 32], Operations: []
Exploring Operation: 34-1=33, Resulting Numbers: [76, 32, 33]
Generated Node #0,3: 77:[76, 32, 33] Operation: 34-1=33
Moving to Node #0,3
Current State: 77:[76, 32, 33], Operations: ['34-1=33']
Exploring Operation: 33-32=1, Resulting Numbers: [76, 1]
Generated Node #0,3,3: 77:[76, 1] Operation: 33-32=1
Moving to Node #0,3,3
Current State: 77:[76, 1], Operations: ['34-1=33', '33-32=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.931424 | hs_5 | sum_heuristic |
[
29,
49,
8,
12
] | 98 | [
"29+49=78",
"8+12=20",
"78+20=98"
] | Current State: 98:[29, 49, 8, 12], Operations: []
Exploring Operation: 29+49=78, Resulting Numbers: [8, 12, 78]
Generated Node #2: [8, 12, 78] from Operation: 29+49=78
Current State: 98:[8, 12, 78], Operations: ['29+49=78']
Exploring Operation: 8+12=20, Resulting Numbers: [78, 20]
Generated Node #3: [78, 20] from Operation: 8+12=20
Current State: 98:[78, 20], Operations: ['29+49=78', '8+12=20']
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[29, 49, 8, 12], Operations: []
Exploring Operation: 29-12=17, Resulting Numbers: [49, 8, 17]
Generated Node #0,0: 98:[49, 8, 17] Operation: 29-12=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[49, 8, 17], Operations: ['29-12=17']
Exploring Operation: 17-8=9, Resulting Numbers: [49, 9]
Generated Node #0,0,0: 98:[49, 9] Operation: 17-8=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[49, 9], Operations: ['29-12=17', '17-8=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,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_1 | mult_heuristic |
[
71,
18,
19,
14
] | 86 | [
"71-18=53",
"19+14=33",
"53+33=86"
] | Current State: 86:[71, 18, 19, 14], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [19, 14, 53]
Generated Node #2: [19, 14, 53] from Operation: 71-18=53
Current State: 86:[19, 14, 53], Operations: ['71-18=53']
Exploring Operation: 19+14=33, Resulting Numbers: [53, 33]
Generated Node #3: [53, 33] from Operation: 19+14=33
Current State: 86:[53, 33], Operations: ['71-18=53', '19+14=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[71, 18, 19, 14], Operations: []
Exploring Operation: 19-18=1, Resulting Numbers: [71, 14, 1]
Generated Node #0,0: 86:[71, 14, 1] Operation: 19-18=1
Moving to Node #0,0
Current State: 86:[71, 14, 1], Operations: ['19-18=1']
Exploring Operation: 71+14=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 71+14=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['19-18=1', '71+14=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[71, 18, 19, 14], Operations: []
Exploring Operation: 19-18=1, Resulting Numbers: [71, 14, 1]
Generated Node #0,0: 86:[71, 14, 1] Operation: 19-18=1
Moving to Node #0,0
Current State: 86:[71, 14, 1], Operations: ['19-18=1']
Exploring Operation: 71+14=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 71+14=85
Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['19-18=1', '71+14=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
86,
26,
68,
84
] | 65 | [
"86+84=170",
"26*170=4420",
"4420/68=65"
] | Current State: 65:[86, 26, 68, 84], Operations: []
Exploring Operation: 86+84=170, Resulting Numbers: [26, 68, 170]
Generated Node #2: [26, 68, 170] from Operation: 86+84=170
Current State: 65:[26, 68, 170], Operations: ['86+84=170']
Exploring Operation: 26*170=4420, Resulting Numbers: [68, 4420]
Generated Node #3: [68, 4420] from Operation: 26*170=4420
Current State: 65:[68, 4420], Operations: ['86+84=170', '26*170=4420']
Exploring Operation: 4420/68=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[86, 26, 68, 84], Operations: []
Exploring Operation: 84-26=58, Resulting Numbers: [86, 68, 58]
Generated Node #0,0: 65:[86, 68, 58] Operation: 84-26=58
Exploring Operation: 86-26=60, Resulting Numbers: [68, 84, 60]
Generated Node #0,1: 65:[68, 84, 60] Operation: 86-26=60
Exploring Operation: 84-68=16, Resulting Numbers: [86, 26, 16]
Generated Node #0,2: 65:[86, 26, 16] Operation: 84-68=16
Exploring Operation: 86-84=2, Resulting Numbers: [26, 68, 2]
Generated Node #0,3: 65:[26, 68, 2] Operation: 86-84=2
Exploring Operation: 86-68=18, Resulting Numbers: [26, 84, 18]
Generated Node #0,4: 65:[26, 84, 18] Operation: 86-68=18
Moving to Node #0,3
Current State: 65:[26, 68, 2], Operations: ['86-84=2']
Exploring Operation: 26-2=24, Resulting Numbers: [68, 24]
Generated Node #0,3,0: 65:[68, 24] Operation: 26-2=24
Exploring Operation: 68-2=66, Resulting Numbers: [26, 66]
Generated Node #0,3,1: 65:[26, 66] Operation: 68-2=66
Exploring Operation: 26*2=52, Resulting Numbers: [68, 52]
Generated Node #0,3,2: 65:[68, 52] Operation: 26*2=52
Exploring Operation: 26/2=13, Resulting Numbers: [68, 13]
Generated Node #0,3,3: 65:[68, 13] Operation: 26/2=13
Exploring Operation: 26+2=28, Resulting Numbers: [68, 28]
Generated Node #0,3,4: 65:[68, 28] Operation: 26+2=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[68, 13], Operations: ['86-84=2', '26/2=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,65 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,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,3,0
Current State: 65:[68, 24], Operations: ['86-84=2', '26-2=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,65 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,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,3,1
Current State: 65:[26, 66], Operations: ['86-84=2', '68-2=66']
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,65 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,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,3,2
Current State: 65:[68, 52], Operations: ['86-84=2', '26*2=52']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,65 unequal: No Solution
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,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,3,4
Current State: 65:[68, 28], Operations: ['86-84=2', '26+2=28']
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,65 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,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:[68, 84, 60], Operations: ['86-26=60']
Exploring Operation: 84-60=24, Resulting Numbers: [68, 24]
Generated Node #0,1,0: 65:[68, 24] Operation: 84-60=24
Exploring Operation: 68+60=128, Resulting Numbers: [84, 128]
Generated Node #0,1,1: 65:[84, 128] Operation: 68+60=128
Exploring Operation: 84-68=16, Resulting Numbers: [60, 16]
Generated Node #0,1,2: 65:[60, 16] Operation: 84-68=16
Exploring Operation: 68-60=8, Resulting Numbers: [84, 8]
Generated Node #0,1,3: 65:[84, 8] Operation: 68-60=8
Exploring Operation: 84+60=144, Resulting Numbers: [68, 144]
Generated Node #0,1,4: 65:[68, 144] Operation: 84+60=144
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[60, 16], Operations: ['86-26=60', '84-68=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,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:[68, 24], Operations: ['86-26=60', '84-60=24']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,65 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,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,3
Current State: 65:[84, 8], Operations: ['86-26=60', '68-60=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,65 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,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:[84, 128], Operations: ['86-26=60', '68+60=128']
Exploring Operation: 84*128=10752, Resulting Numbers: [10752]
10752,65 unequal: No Solution
Exploring Operation: 128-84=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 84+128=212, Resulting Numbers: [212]
212,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,4
Current State: 65:[68, 144], Operations: ['86-26=60', '84+60=144']
Exploring Operation: 68*144=9792, Resulting Numbers: [9792]
9792,65 unequal: No Solution
Exploring Operation: 68+144=212, Resulting Numbers: [212]
212,65 unequal: No Solution
Exploring Operation: 144-68=76, Resulting Numbers: [76]
76,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:[86, 68, 58], Operations: ['84-26=58']
Exploring Operation: 86-68=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 65:[58, 18] Operation: 86-68=18
Exploring Operation: 68-58=10, Resulting Numbers: [86, 10]
Generated Node #0,0,1: 65:[86, 10] Operation: 68-58=10
Exploring Operation: 68+58=126, Resulting Numbers: [86, 126]
Generated Node #0,0,2: 65:[86, 126] Operation: 68+58=126
Exploring Operation: 86-58=28, Resulting Numbers: [68, 28]
Generated Node #0,0,3: 65:[68, 28] Operation: 86-58=28
Exploring Operation: 86+58=144, Resulting Numbers: [68, 144]
Generated Node #0,0,4: 65:[68, 144] Operation: 86+58=144
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[58, 18], Operations: ['84-26=58', '86-68=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,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:[68, 28], Operations: ['84-26=58', '86-58=28']
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,65 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,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:[86, 10], Operations: ['84-26=58', '68-58=10']
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,65 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,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:[86, 126], Operations: ['84-26=58', '68+58=126']
Exploring Operation: 86*126=10836, Resulting Numbers: [10836]
10836,65 unequal: No Solution
Exploring Operation: 86+126=212, Resulting Numbers: [212]
212,65 unequal: No Solution
Exploring Operation: 126-86=40, Resulting Numbers: [40]
40,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,4
Current State: 65:[68, 144], Operations: ['84-26=58', '86+58=144']
Exploring Operation: 144-68=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 68*144=9792, Resulting Numbers: [9792]
9792,65 unequal: No Solution
Exploring Operation: 68+144=212, Resulting Numbers: [212]
212,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:[86, 26, 16], Operations: ['84-68=16']
Exploring Operation: 86+26=112, Resulting Numbers: [16, 112]
Generated Node #0,2,0: 65:[16, 112] Operation: 86+26=112
Exploring Operation: 86-16=70, Resulting Numbers: [26, 70]
Generated Node #0,2,1: 65:[26, 70] Operation: 86-16=70
Exploring Operation: 86-26=60, Resulting Numbers: [16, 60]
Generated Node #0,2,2: 65:[16, 60] Operation: 86-26=60
Exploring Operation: 26-16=10, Resulting Numbers: [86, 10]
Generated Node #0,2,3: 65:[86, 10] Operation: 26-16=10
Exploring Operation: 26+16=42, Resulting Numbers: [86, 42]
Generated Node #0,2,4: 65:[86, 42] Operation: 26+16=42
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[16, 60], Operations: ['84-68=16', '86-26=60']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 16*60=960, Resulting Numbers: [960]
960,65 unequal: No Solution
Exploring Operation: 16+60=76, Resulting Numbers: [76]
76,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:[26, 70], Operations: ['84-68=16', '86-16=70']
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,65 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,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:[86, 10], Operations: ['84-68=16', '26-16=10']
Exploring Operation: 86*10=860, Resulting Numbers: [860]
860,65 unequal: No Solution
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 86+10=96, Resulting Numbers: [96]
96,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,4
Current State: 65:[86, 42], Operations: ['84-68=16', '26+16=42']
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,65 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,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,0
Current State: 65:[16, 112], Operations: ['84-68=16', '86+26=112']
Exploring Operation: 112-16=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 112/16=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 16+112=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 16*112=1792, Resulting Numbers: [1792]
1792,65 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: 65:[26, 84, 18], Operations: ['86-68=18']
Exploring Operation: 26+18=44, Resulting Numbers: [84, 44]
Generated Node #0,4,0: 65:[84, 44] Operation: 26+18=44
Exploring Operation: 26+84=110, Resulting Numbers: [18, 110]
Generated Node #0,4,1: 65:[18, 110] Operation: 26+84=110
Exploring Operation: 84-26=58, Resulting Numbers: [18, 58]
Generated Node #0,4,2: 65:[18, 58] Operation: 84-26=58
Exploring Operation: 84-18=66, Resulting Numbers: [26, 66]
Generated Node #0,4,3: 65:[26, 66] Operation: 84-18=66
Exploring Operation: 26-18=8, Resulting Numbers: [84, 8]
Generated Node #0,4,4: 65:[84, 8] Operation: 26-18=8
Moving to Node #0,4,2
Current State: 65:[18, 58], Operations: ['86-68=18', '84-26=58']
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,65 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[26, 66], Operations: ['86-68=18', '84-18=66']
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,65 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[84, 8], Operations: ['86-68=18', '26-18=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,65 unequal: No Solution
Moving to Node #0,4,0
Current State: 65:[84, 44], Operations: ['86-68=18', '26+18=44']
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,65 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[18, 110], Operations: ['86-68=18', '26+84=110']
Exploring Operation: 110-18=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 18+110=128, Resulting Numbers: [128]
128,65 unequal: No Solution
Exploring Operation: 18*110=1980, Resulting Numbers: [1980]
1980,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
87,
62,
5
] | 72 | [
"87-82=5",
"62+5=67",
"5+67=72"
] | Current State: 72:[82, 87, 62, 5], Operations: []
Exploring Operation: 87-82=5, Resulting Numbers: [62, 5, 5]
Generated Node #2: [62, 5, 5] from Operation: 87-82=5
Current State: 72:[62, 5, 5], Operations: ['87-82=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,72 equal: Goal Reached
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[82, 87, 62, 5], Operations: []
Exploring Operation: 87-62=25, Resulting Numbers: [82, 5, 25]
Generated Node #0,0: 72:[82, 5, 25] Operation: 87-62=25
Exploring Operation: 87-82=5, Resulting Numbers: [62, 5, 5]
Generated Node #0,1: 72:[62, 5, 5] Operation: 87-82=5
Exploring Operation: 82-62=20, Resulting Numbers: [87, 5, 20]
Generated Node #0,2: 72:[87, 5, 20] Operation: 82-62=20
Exploring Operation: 87-5=82, Resulting Numbers: [82, 62, 82]
Generated Node #0,3: 72:[82, 62, 82] Operation: 87-5=82
Exploring Operation: 82-5=77, Resulting Numbers: [87, 62, 77]
Generated Node #0,4: 72:[87, 62, 77] Operation: 82-5=77
Moving to Node #0,0
Current State: 72:[82, 5, 25], Operations: ['87-62=25']
Exploring Operation: 82-25=57, Resulting Numbers: [5, 57]
Generated Node #0,0,0: 72:[5, 57] Operation: 82-25=57
Exploring Operation: 82+5=87, Resulting Numbers: [25, 87]
Generated Node #0,0,1: 72:[25, 87] Operation: 82+5=87
Exploring Operation: 82-5=77, Resulting Numbers: [25, 77]
Generated Node #0,0,2: 72:[25, 77] Operation: 82-5=77
Exploring Operation: 25/5=5, Resulting Numbers: [82, 5]
Generated Node #0,0,3: 72:[82, 5] Operation: 25/5=5
Exploring Operation: 25-5=20, Resulting Numbers: [82, 20]
Generated Node #0,0,4: 72:[82, 20] Operation: 25-5=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[25, 77], Operations: ['87-62=25', '82-5=77']
Exploring Operation: 25*77=1925, Resulting Numbers: [1925]
1925,72 unequal: No Solution
Exploring Operation: 25+77=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[82, 5], Operations: ['87-62=25', '25/5=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,72 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,72 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 72:[82, 20], Operations: ['87-62=25', '25-5=20']
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,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:[5, 57], Operations: ['87-62=25', '82-25=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 5*57=285, Resulting Numbers: [285]
285,72 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[25, 87], Operations: ['87-62=25', '82+5=87']
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,72 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,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:[62, 5, 5], Operations: ['87-82=5']
Exploring Operation: 5*5=25, Resulting Numbers: [62, 25]
Generated Node #0,1,0: 72:[62, 25] Operation: 5*5=25
Exploring Operation: 5/5=1, Resulting Numbers: [62, 1]
Generated Node #0,1,1: 72:[62, 1] Operation: 5/5=1
Exploring Operation: 62+5=67, Resulting Numbers: [5, 67]
Generated Node #0,1,2: 72:[5, 67] Operation: 62+5=67
Exploring Operation: 62+5=67, Resulting Numbers: [5, 67]
Generated Node #0,1,3: 72:[5, 67] Operation: 62+5=67
Exploring Operation: 5+5=10, Resulting Numbers: [62, 10]
Generated Node #0,1,4: 72:[62, 10] Operation: 5+5=10
Moving to Node #0,2
Current State: 72:[87, 5, 20], Operations: ['82-62=20']
Exploring Operation: 20-5=15, Resulting Numbers: [87, 15]
Generated Node #0,2,0: 72:[87, 15] Operation: 20-5=15
Exploring Operation: 5+20=25, Resulting Numbers: [87, 25]
Generated Node #0,2,1: 72:[87, 25] Operation: 5+20=25
Exploring Operation: 20/5=4, Resulting Numbers: [87, 4]
Generated Node #0,2,2: 72:[87, 4] Operation: 20/5=4
Exploring Operation: 87-5=82, Resulting Numbers: [20, 82]
Generated Node #0,2,3: 72:[20, 82] Operation: 87-5=82
Exploring Operation: 87-20=67, Resulting Numbers: [5, 67]
Generated Node #0,2,4: 72:[5, 67] Operation: 87-20=67
Moving to Node #0,3
Current State: 72:[82, 62, 82], Operations: ['87-5=82']
Exploring Operation: 82-62=20, Resulting Numbers: [82, 20]
Generated Node #0,3,0: 72:[82, 20] Operation: 82-62=20
Exploring Operation: 82-62=20, Resulting Numbers: [82, 20]
Generated Node #0,3,1: 72:[82, 20] Operation: 82-62=20
Exploring Operation: 82+62=144, Resulting Numbers: [82, 144]
Generated Node #0,3,2: 72:[82, 144] Operation: 82+62=144
Exploring Operation: 82/82=1, Resulting Numbers: [62, 1]
Generated Node #0,3,3: 72:[62, 1] Operation: 82/82=1
Exploring Operation: 82-82=0, Resulting Numbers: [62, 0]
Generated Node #0,3,4: 72:[62, 0] Operation: 82-82=0
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 72:[62, 1], Operations: ['87-5=82', '82/82=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,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:[82, 20], Operations: ['87-5=82', '82-62=20']
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,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:[82, 20], Operations: ['87-5=82', '82-62=20']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 82*20=1640, Resulting Numbers: [1640]
1640,72 unequal: No Solution
Exploring Operation: 82+20=102, Resulting Numbers: [102]
102,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 72:[62, 0], Operations: ['87-5=82', '82-82=0']
Exploring Operation: 62+0=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 62*0=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 62-0=62, Resulting Numbers: [62]
62,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[82, 144], Operations: ['87-5=82', '82+62=144']
Exploring Operation: 144-82=62, Resulting Numbers: [62]
62,72 unequal: No Solution
Exploring Operation: 82+144=226, Resulting Numbers: [226]
226,72 unequal: No Solution
Exploring Operation: 82*144=11808, Resulting Numbers: [11808]
11808,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 72:[87, 62, 77], Operations: ['82-5=77']
Exploring Operation: 62+77=139, Resulting Numbers: [87, 139]
Generated Node #0,4,0: 72:[87, 139] Operation: 62+77=139
Exploring Operation: 87-77=10, Resulting Numbers: [62, 10]
Generated Node #0,4,1: 72:[62, 10] Operation: 87-77=10
Exploring Operation: 77-62=15, Resulting Numbers: [87, 15]
Generated Node #0,4,2: 72:[87, 15] Operation: 77-62=15
Exploring Operation: 87+62=149, Resulting Numbers: [77, 149]
Generated Node #0,4,3: 72:[77, 149] Operation: 87+62=149
Exploring Operation: 87-62=25, Resulting Numbers: [77, 25]
Generated Node #0,4,4: 72:[77, 25] Operation: 87-62=25
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 72:[77, 25], Operations: ['82-5=77', '87-62=25']
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,72 unequal: No Solution
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 77*25=1925, Resulting Numbers: [1925]
1925,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 72:[62, 10], Operations: ['82-5=77', '87-77=10']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,72 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[82, 87, 62, 5], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [87, 62, 77]
Generated Node #0,4: 72:[87, 62, 77] Operation: 82-5=77
Moving to Node #0,4
Current State: 72:[87, 62, 77], Operations: ['82-5=77']
Exploring Operation: 87-77=10, Resulting Numbers: [62, 10]
Generated Node #0,4,1: 72:[62, 10] Operation: 87-77=10
Moving to Node #0,4,1
Current State: 72:[62, 10], Operations: ['82-5=77', '87-77=10']
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.939236 | hs_5 | sum_heuristic |
[
62,
98,
42,
28
] | 39 | [
"62*28=1736",
"1736-98=1638",
"1638/42=39"
] | Current State: 39:[62, 98, 42, 28], Operations: []
Exploring Operation: 62*28=1736, Resulting Numbers: [98, 42, 1736]
Generated Node #2: [98, 42, 1736] from Operation: 62*28=1736
Current State: 39:[98, 42, 1736], Operations: ['62*28=1736']
Exploring Operation: 1736-98=1638, Resulting Numbers: [42, 1638]
Generated Node #3: [42, 1638] from Operation: 1736-98=1638
Current State: 39:[42, 1638], Operations: ['62*28=1736', '1736-98=1638']
Exploring Operation: 1638/42=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[62, 98, 42, 28], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [62, 28, 56]
Generated Node #0,0: 39:[62, 28, 56] Operation: 98-42=56
Exploring Operation: 98-28=70, Resulting Numbers: [62, 42, 70]
Generated Node #0,1: 39:[62, 42, 70] Operation: 98-28=70
Exploring Operation: 98-62=36, Resulting Numbers: [42, 28, 36]
Generated Node #0,2: 39:[42, 28, 36] Operation: 98-62=36
Exploring Operation: 62-28=34, Resulting Numbers: [98, 42, 34]
Generated Node #0,3: 39:[98, 42, 34] Operation: 62-28=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[42, 28, 36], Operations: ['98-62=36']
Exploring Operation: 36-28=8, Resulting Numbers: [42, 8]
Generated Node #0,2,0: 39:[42, 8] Operation: 36-28=8
Exploring Operation: 28+36=64, Resulting Numbers: [42, 64]
Generated Node #0,2,1: 39:[42, 64] Operation: 28+36=64
Exploring Operation: 42-28=14, Resulting Numbers: [36, 14]
Generated Node #0,2,2: 39:[36, 14] Operation: 42-28=14
Exploring Operation: 42-36=6, Resulting Numbers: [28, 6]
Generated Node #0,2,3: 39:[28, 6] Operation: 42-36=6
Moving to Node #0,2,2
Current State: 39:[36, 14], Operations: ['98-62=36', '42-28=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[42, 8], Operations: ['98-62=36', '36-28=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[28, 6], Operations: ['98-62=36', '42-36=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,39 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[42, 64], Operations: ['98-62=36', '28+36=64']
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,39 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[62, 28, 56], Operations: ['98-42=56']
Exploring Operation: 62-56=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 39:[28, 6] Operation: 62-56=6
Exploring Operation: 62-28=34, Resulting Numbers: [56, 34]
Generated Node #0,0,1: 39:[56, 34] Operation: 62-28=34
Exploring Operation: 56-28=28, Resulting Numbers: [62, 28]
Generated Node #0,0,2: 39:[62, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [62, 2]
Generated Node #0,0,3: 39:[62, 2] Operation: 56/28=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[28, 6], Operations: ['98-42=56', '62-56=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,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:[56, 34], Operations: ['98-42=56', '62-28=34']
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,39 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,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,3
Current State: 39:[62, 2], Operations: ['98-42=56', '56/28=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,39 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[62, 28], Operations: ['98-42=56', '56-28=28']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,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,1
Current State: 39:[62, 42, 70], Operations: ['98-28=70']
Exploring Operation: 62-42=20, Resulting Numbers: [70, 20]
Generated Node #0,1,0: 39:[70, 20] Operation: 62-42=20
Exploring Operation: 70-42=28, Resulting Numbers: [62, 28]
Generated Node #0,1,1: 39:[62, 28] Operation: 70-42=28
Exploring Operation: 62+42=104, Resulting Numbers: [70, 104]
Generated Node #0,1,2: 39:[70, 104] Operation: 62+42=104
Exploring Operation: 70-62=8, Resulting Numbers: [42, 8]
Generated Node #0,1,3: 39:[42, 8] Operation: 70-62=8
Moving to Node #0,1,3
Current State: 39:[42, 8], Operations: ['98-28=70', '70-62=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,39 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[62, 28], Operations: ['98-28=70', '70-42=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[70, 20], Operations: ['98-28=70', '62-42=20']
Exploring Operation: 70+20=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 70*20=1400, Resulting Numbers: [1400]
1400,39 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[70, 104], Operations: ['98-28=70', '62+42=104']
Exploring Operation: 70*104=7280, Resulting Numbers: [7280]
7280,39 unequal: No Solution
Exploring Operation: 104-70=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 70+104=174, Resulting Numbers: [174]
174,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[98, 42, 34], Operations: ['62-28=34']
Exploring Operation: 98-34=64, Resulting Numbers: [42, 64]
Generated Node #0,3,0: 39:[42, 64] Operation: 98-34=64
Exploring Operation: 42-34=8, Resulting Numbers: [98, 8]
Generated Node #0,3,1: 39:[98, 8] Operation: 42-34=8
Exploring Operation: 98-42=56, Resulting Numbers: [34, 56]
Generated Node #0,3,2: 39:[34, 56] Operation: 98-42=56
Exploring Operation: 98+34=132, Resulting Numbers: [42, 132]
Generated Node #0,3,3: 39:[42, 132] Operation: 98+34=132
Moving to Node #0,3,2
Current State: 39:[34, 56], Operations: ['62-28=34', '98-42=56']
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,39 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[42, 64], Operations: ['62-28=34', '98-34=64']
Exploring Operation: 42+64=106, Resulting Numbers: [106]
106,39 unequal: No Solution
Exploring Operation: 64-42=22, Resulting Numbers: [22]
22,39 unequal: No Solution
Exploring Operation: 42*64=2688, Resulting Numbers: [2688]
2688,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[98, 8], Operations: ['62-28=34', '42-34=8']
Exploring Operation: 98-8=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 98+8=106, Resulting Numbers: [106]
106,39 unequal: No Solution
Exploring Operation: 98*8=784, Resulting Numbers: [784]
784,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[42, 132], Operations: ['62-28=34', '98+34=132']
Exploring Operation: 42+132=174, Resulting Numbers: [174]
174,39 unequal: No Solution
Exploring Operation: 132-42=90, Resulting Numbers: [90]
90,39 unequal: No Solution
Exploring Operation: 42*132=5544, Resulting Numbers: [5544]
5544,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
92,
99,
63
] | 88 | [
"99-63=36",
"5*36=180",
"180-92=88"
] | Current State: 88:[5, 92, 99, 63], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [5, 92, 36]
Generated Node #2: [5, 92, 36] from Operation: 99-63=36
Current State: 88:[5, 92, 36], Operations: ['99-63=36']
Exploring Operation: 5*36=180, Resulting Numbers: [92, 180]
Generated Node #3: [92, 180] from Operation: 5*36=180
Current State: 88:[92, 180], Operations: ['99-63=36', '5*36=180']
Exploring Operation: 180-92=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[5, 92, 99, 63], Operations: []
Exploring Operation: 99-5=94, Resulting Numbers: [92, 63, 94]
Generated Node #0,0: 88:[92, 63, 94] Operation: 99-5=94
Exploring Operation: 99-92=7, Resulting Numbers: [5, 63, 7]
Generated Node #0,1: 88:[5, 63, 7] Operation: 99-92=7
Exploring Operation: 99-63=36, Resulting Numbers: [5, 92, 36]
Generated Node #0,2: 88:[5, 92, 36] Operation: 99-63=36
Exploring Operation: 63-5=58, Resulting Numbers: [92, 99, 58]
Generated Node #0,3: 88:[92, 99, 58] Operation: 63-5=58
Exploring Operation: 92-63=29, Resulting Numbers: [5, 99, 29]
Generated Node #0,4: 88:[5, 99, 29] Operation: 92-63=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[5, 92, 36], Operations: ['99-63=36']
Exploring Operation: 92-5=87, Resulting Numbers: [36, 87]
Generated Node #0,2,0: 88:[36, 87] Operation: 92-5=87
Exploring Operation: 5+36=41, Resulting Numbers: [92, 41]
Generated Node #0,2,1: 88:[92, 41] Operation: 5+36=41
Exploring Operation: 92-36=56, Resulting Numbers: [5, 56]
Generated Node #0,2,2: 88:[5, 56] Operation: 92-36=56
Exploring Operation: 36-5=31, Resulting Numbers: [92, 31]
Generated Node #0,2,3: 88:[92, 31] Operation: 36-5=31
Exploring Operation: 5+92=97, Resulting Numbers: [36, 97]
Generated Node #0,2,4: 88:[36, 97] Operation: 5+92=97
Moving to Node #0,2,1
Current State: 88:[92, 41], Operations: ['99-63=36', '5+36=41']
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 92*41=3772, Resulting Numbers: [3772]
3772,88 unequal: No Solution
Exploring Operation: 92+41=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[36, 87], Operations: ['99-63=36', '92-5=87']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[5, 56], Operations: ['99-63=36', '92-36=56']
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,88 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[92, 31], Operations: ['99-63=36', '36-5=31']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,88 unequal: No Solution
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[36, 97], Operations: ['99-63=36', '5+92=97']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 36*97=3492, Resulting Numbers: [3492]
3492,88 unequal: No Solution
Exploring Operation: 36+97=133, Resulting Numbers: [133]
133,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,4
Current State: 88:[5, 99, 29], Operations: ['92-63=29']
Exploring Operation: 5+99=104, Resulting Numbers: [29, 104]
Generated Node #0,4,0: 88:[29, 104] Operation: 5+99=104
Exploring Operation: 99-29=70, Resulting Numbers: [5, 70]
Generated Node #0,4,1: 88:[5, 70] Operation: 99-29=70
Exploring Operation: 29-5=24, Resulting Numbers: [99, 24]
Generated Node #0,4,2: 88:[99, 24] Operation: 29-5=24
Exploring Operation: 5+29=34, Resulting Numbers: [99, 34]
Generated Node #0,4,3: 88:[99, 34] Operation: 5+29=34
Exploring Operation: 99-5=94, Resulting Numbers: [29, 94]
Generated Node #0,4,4: 88:[29, 94] Operation: 99-5=94
Moving to Node #0,4,2
Current State: 88:[99, 24], Operations: ['92-63=29', '29-5=24']
Exploring Operation: 99*24=2376, Resulting Numbers: [2376]
2376,88 unequal: No Solution
Exploring Operation: 99-24=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 99+24=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[29, 94], Operations: ['92-63=29', '99-5=94']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,88 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[5, 70], Operations: ['92-63=29', '99-29=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[99, 34], Operations: ['92-63=29', '5+29=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,88 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[29, 104], Operations: ['92-63=29', '5+99=104']
Exploring Operation: 29*104=3016, Resulting Numbers: [3016]
3016,88 unequal: No Solution
Exploring Operation: 104-29=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 29+104=133, Resulting Numbers: [133]
133,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,1
Current State: 88:[5, 63, 7], Operations: ['99-92=7']
Exploring Operation: 63+7=70, Resulting Numbers: [5, 70]
Generated Node #0,1,0: 88:[5, 70] Operation: 63+7=70
Exploring Operation: 63-5=58, Resulting Numbers: [7, 58]
Generated Node #0,1,1: 88:[7, 58] Operation: 63-5=58
Exploring Operation: 63/7=9, Resulting Numbers: [5, 9]
Generated Node #0,1,2: 88:[5, 9] Operation: 63/7=9
Exploring Operation: 7-5=2, Resulting Numbers: [63, 2]
Generated Node #0,1,3: 88:[63, 2] Operation: 7-5=2
Exploring Operation: 63-7=56, Resulting Numbers: [5, 56]
Generated Node #0,1,4: 88:[5, 56] Operation: 63-7=56
Moving to Node #0,1,2
Current State: 88:[5, 9], Operations: ['99-92=7', '63/7=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[5, 56], Operations: ['99-92=7', '63-7=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,88 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[7, 58], Operations: ['99-92=7', '63-5=58']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,88 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[5, 70], Operations: ['99-92=7', '63+7=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,88 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[63, 2], Operations: ['99-92=7', '7-5=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,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:[92, 63, 94], Operations: ['99-5=94']
Exploring Operation: 94-92=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 88:[63, 2] Operation: 94-92=2
Exploring Operation: 63+94=157, Resulting Numbers: [92, 157]
Generated Node #0,0,1: 88:[92, 157] Operation: 63+94=157
Exploring Operation: 92+63=155, Resulting Numbers: [94, 155]
Generated Node #0,0,2: 88:[94, 155] Operation: 92+63=155
Exploring Operation: 92-63=29, Resulting Numbers: [94, 29]
Generated Node #0,0,3: 88:[94, 29] Operation: 92-63=29
Exploring Operation: 94-63=31, Resulting Numbers: [92, 31]
Generated Node #0,0,4: 88:[92, 31] Operation: 94-63=31
Moving to Node #0,0,3
Current State: 88:[94, 29], Operations: ['99-5=94', '92-63=29']
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,88 unequal: No Solution
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[92, 31], Operations: ['99-5=94', '94-63=31']
Exploring Operation: 92+31=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 92*31=2852, Resulting Numbers: [2852]
2852,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[63, 2], Operations: ['99-5=94', '94-92=2']
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[92, 157], Operations: ['99-5=94', '63+94=157']
Exploring Operation: 92*157=14444, Resulting Numbers: [14444]
14444,88 unequal: No Solution
Exploring Operation: 92+157=249, Resulting Numbers: [249]
249,88 unequal: No Solution
Exploring Operation: 157-92=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[94, 155], Operations: ['99-5=94', '92+63=155']
Exploring Operation: 155-94=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 94+155=249, Resulting Numbers: [249]
249,88 unequal: No Solution
Exploring Operation: 94*155=14570, Resulting Numbers: [14570]
14570,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,3
Current State: 88:[92, 99, 58], Operations: ['63-5=58']
Exploring Operation: 99-58=41, Resulting Numbers: [92, 41]
Generated Node #0,3,0: 88:[92, 41] Operation: 99-58=41
Exploring Operation: 99+58=157, Resulting Numbers: [92, 157]
Generated Node #0,3,1: 88:[92, 157] Operation: 99+58=157
Exploring Operation: 92-58=34, Resulting Numbers: [99, 34]
Generated Node #0,3,2: 88:[99, 34] Operation: 92-58=34
Exploring Operation: 99-92=7, Resulting Numbers: [58, 7]
Generated Node #0,3,3: 88:[58, 7] Operation: 99-92=7
Exploring Operation: 92+58=150, Resulting Numbers: [99, 150]
Generated Node #0,3,4: 88:[99, 150] Operation: 92+58=150
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[92, 41], Operations: ['63-5=58', '99-58=41']
Exploring Operation: 92+41=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 92*41=3772, Resulting Numbers: [3772]
3772,88 unequal: No Solution
No 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: 88:[58, 7], Operations: ['63-5=58', '99-92=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,88 unequal: No Solution
No 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: 88:[99, 34], Operations: ['63-5=58', '92-58=34']
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,88 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,88 unequal: No Solution
No 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: 88:[92, 157], Operations: ['63-5=58', '99+58=157']
Exploring Operation: 92+157=249, Resulting Numbers: [249]
249,88 unequal: No Solution
Exploring Operation: 92*157=14444, Resulting Numbers: [14444]
14444,88 unequal: No Solution
Exploring Operation: 157-92=65, Resulting Numbers: [65]
65,88 unequal: No Solution
No 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: 88:[99, 150], Operations: ['63-5=58', '92+58=150']
Exploring Operation: 99+150=249, Resulting Numbers: [249]
249,88 unequal: No Solution
Exploring Operation: 150-99=51, Resulting Numbers: [51]
51,88 unequal: No Solution
Exploring Operation: 99*150=14850, Resulting Numbers: [14850]
14850,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
69,
74,
35,
78
] | 48 | [
"74-69=5",
"78-35=43",
"5+43=48"
] | Current State: 48:[69, 74, 35, 78], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [35, 78, 5]
Generated Node #2: [35, 78, 5] from Operation: 74-69=5
Current State: 48:[35, 78, 5], Operations: ['74-69=5']
Exploring Operation: 78-35=43, Resulting Numbers: [5, 43]
Generated Node #3: [5, 43] from Operation: 78-35=43
Current State: 48:[5, 43], Operations: ['74-69=5', '78-35=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[69, 74, 35, 78], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [69, 35, 4]
Generated Node #0,0: 48:[69, 35, 4] Operation: 78-74=4
Exploring Operation: 78-69=9, Resulting Numbers: [74, 35, 9]
Generated Node #0,1: 48:[74, 35, 9] Operation: 78-69=9
Exploring Operation: 74-69=5, Resulting Numbers: [35, 78, 5]
Generated Node #0,2: 48:[35, 78, 5] Operation: 74-69=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[69, 35, 4], Operations: ['78-74=4']
Exploring Operation: 35-4=31, Resulting Numbers: [69, 31]
Generated Node #0,0,0: 48:[69, 31] Operation: 35-4=31
Exploring Operation: 69-4=65, Resulting Numbers: [35, 65]
Generated Node #0,0,1: 48:[35, 65] Operation: 69-4=65
Exploring Operation: 69-35=34, Resulting Numbers: [4, 34]
Generated Node #0,0,2: 48:[4, 34] Operation: 69-35=34
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 48:[4, 34], Operations: ['78-74=4', '69-35=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,48 unequal: No Solution
No 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: 48:[69, 31], Operations: ['78-74=4', '35-4=31']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 69*31=2139, Resulting Numbers: [2139]
2139,48 unequal: No Solution
No 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: 48:[35, 65], Operations: ['78-74=4', '69-4=65']
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,48 unequal: No Solution
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 35*65=2275, Resulting Numbers: [2275]
2275,48 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: 48:[74, 35, 9], Operations: ['78-69=9']
Exploring Operation: 35-9=26, Resulting Numbers: [74, 26]
Generated Node #0,1,0: 48:[74, 26] Operation: 35-9=26
Exploring Operation: 74-9=65, Resulting Numbers: [35, 65]
Generated Node #0,1,1: 48:[35, 65] Operation: 74-9=65
Exploring Operation: 74-35=39, Resulting Numbers: [9, 39]
Generated Node #0,1,2: 48:[9, 39] Operation: 74-35=39
Moving to Node #0,1,2
Current State: 48:[9, 39], Operations: ['78-69=9', '74-35=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[69, 74, 35, 78], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [74, 35, 9]
Generated Node #0,1: 48:[74, 35, 9] Operation: 78-69=9
Moving to Node #0,1
Current State: 48:[74, 35, 9], Operations: ['78-69=9']
Exploring Operation: 74-35=39, Resulting Numbers: [9, 39]
Generated Node #0,1,2: 48:[9, 39] Operation: 74-35=39
Moving to Node #0,1,2
Current State: 48:[9, 39], Operations: ['78-69=9', '74-35=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
15,
23,
78,
37
] | 74 | [
"23+37=60",
"60/15=4",
"78-4=74"
] | Current State: 74:[15, 23, 78, 37], Operations: []
Exploring Operation: 23+37=60, Resulting Numbers: [15, 78, 60]
Generated Node #2: [15, 78, 60] from Operation: 23+37=60
Current State: 74:[15, 78, 60], Operations: ['23+37=60']
Exploring Operation: 60/15=4, Resulting Numbers: [78, 4]
Generated Node #3: [78, 4] from Operation: 60/15=4
Current State: 74:[78, 4], Operations: ['23+37=60', '60/15=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[15, 23, 78, 37], Operations: []
Exploring Operation: 15+23=38, Resulting Numbers: [78, 37, 38]
Generated Node #0,0: 74:[78, 37, 38] Operation: 15+23=38
Exploring Operation: 78-15=63, Resulting Numbers: [23, 37, 63]
Generated Node #0,1: 74:[23, 37, 63] Operation: 78-15=63
Exploring Operation: 23-15=8, Resulting Numbers: [78, 37, 8]
Generated Node #0,2: 74:[78, 37, 8] Operation: 23-15=8
Exploring Operation: 37-23=14, Resulting Numbers: [15, 78, 14]
Generated Node #0,3: 74:[15, 78, 14] Operation: 37-23=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[78, 37, 38], Operations: ['15+23=38']
Exploring Operation: 37+38=75, Resulting Numbers: [78, 75]
Generated Node #0,0,0: 74:[78, 75] Operation: 37+38=75
Exploring Operation: 78-38=40, Resulting Numbers: [37, 40]
Generated Node #0,0,1: 74:[37, 40] Operation: 78-38=40
Exploring Operation: 38-37=1, Resulting Numbers: [78, 1]
Generated Node #0,0,2: 74:[78, 1] Operation: 38-37=1
Exploring Operation: 78-37=41, Resulting Numbers: [38, 41]
Generated Node #0,0,3: 74:[38, 41] Operation: 78-37=41
Moving to Node #0,0,1
Current State: 74:[37, 40], Operations: ['15+23=38', '78-38=40']
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,74 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[78, 1], Operations: ['15+23=38', '38-37=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[78, 75], Operations: ['15+23=38', '37+38=75']
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,74 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[38, 41], Operations: ['15+23=38', '78-37=41']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 38*41=1558, Resulting Numbers: [1558]
1558,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[78, 37, 8], Operations: ['23-15=8']
Exploring Operation: 78-37=41, Resulting Numbers: [8, 41]
Generated Node #0,2,0: 74:[8, 41] Operation: 78-37=41
Exploring Operation: 78-8=70, Resulting Numbers: [37, 70]
Generated Node #0,2,1: 74:[37, 70] Operation: 78-8=70
Exploring Operation: 37+8=45, Resulting Numbers: [78, 45]
Generated Node #0,2,2: 74:[78, 45] Operation: 37+8=45
Exploring Operation: 78+8=86, Resulting Numbers: [37, 86]
Generated Node #0,2,3: 74:[37, 86] Operation: 78+8=86
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[37, 70], Operations: ['23-15=8', '78-8=70']
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,74 unequal: No Solution
No 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: 74:[8, 41], Operations: ['23-15=8', '78-37=41']
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,74 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,74 unequal: No Solution
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,74 unequal: No Solution
No 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: 74:[78, 45], Operations: ['23-15=8', '37+8=45']
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,74 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,74 unequal: No Solution
No 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: 74:[37, 86], Operations: ['23-15=8', '78+8=86']
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,74 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,74 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: 74:[23, 37, 63], Operations: ['78-15=63']
Exploring Operation: 63-23=40, Resulting Numbers: [37, 40]
Generated Node #0,1,0: 74:[37, 40] Operation: 63-23=40
Exploring Operation: 37-23=14, Resulting Numbers: [63, 14]
Generated Node #0,1,1: 74:[63, 14] Operation: 37-23=14
Exploring Operation: 23+63=86, Resulting Numbers: [37, 86]
Generated Node #0,1,2: 74:[37, 86] Operation: 23+63=86
Exploring Operation: 23+37=60, Resulting Numbers: [63, 60]
Generated Node #0,1,3: 74:[63, 60] Operation: 23+37=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[37, 40], Operations: ['78-15=63', '63-23=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,74 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No 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: 74:[37, 86], Operations: ['78-15=63', '23+63=86']
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,74 unequal: No Solution
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,74 unequal: No Solution
No 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: 74:[63, 14], Operations: ['78-15=63', '37-23=14']
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,74 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No 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: 74:[63, 60], Operations: ['78-15=63', '23+37=60']
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,74 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,74 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: 74:[15, 78, 14], Operations: ['37-23=14']
Exploring Operation: 15+14=29, Resulting Numbers: [78, 29]
Generated Node #0,3,0: 74:[78, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [78, 1]
Generated Node #0,3,1: 74:[78, 1] Operation: 15-14=1
Exploring Operation: 78-14=64, Resulting Numbers: [15, 64]
Generated Node #0,3,2: 74:[15, 64] Operation: 78-14=64
Exploring Operation: 78-15=63, Resulting Numbers: [14, 63]
Generated Node #0,3,3: 74:[14, 63] Operation: 78-15=63
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[78, 1], Operations: ['37-23=14', '15-14=1']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,74 unequal: No Solution
No 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: 74:[78, 29], Operations: ['37-23=14', '15+14=29']
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,74 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,74 unequal: No Solution
No 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: 74:[15, 64], Operations: ['37-23=14', '78-14=64']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,74 unequal: No Solution
No 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: 74:[14, 63], Operations: ['37-23=14', '78-15=63']
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,74 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
89,
93,
36,
86
] | 81 | [
"89-86=3",
"36/3=12",
"93-12=81"
] | Current State: 81:[89, 93, 36, 86], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [93, 36, 3]
Generated Node #2: [93, 36, 3] from Operation: 89-86=3
Current State: 81:[93, 36, 3], Operations: ['89-86=3']
Exploring Operation: 36/3=12, Resulting Numbers: [93, 12]
Generated Node #3: [93, 12] from Operation: 36/3=12
Current State: 81:[93, 12], Operations: ['89-86=3', '36/3=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[89, 93, 36, 86], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [93, 36, 3]
Generated Node #0,0: 81:[93, 36, 3] Operation: 89-86=3
Exploring Operation: 93-86=7, Resulting Numbers: [89, 36, 7]
Generated Node #0,1: 81:[89, 36, 7] Operation: 93-86=7
Exploring Operation: 93-89=4, Resulting Numbers: [36, 86, 4]
Generated Node #0,2: 81:[36, 86, 4] Operation: 93-89=4
Exploring Operation: 93-36=57, Resulting Numbers: [89, 86, 57]
Generated Node #0,3: 81:[89, 86, 57] Operation: 93-36=57
Exploring Operation: 89-36=53, Resulting Numbers: [93, 86, 53]
Generated Node #0,4: 81:[93, 86, 53] Operation: 89-36=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[36, 86, 4], Operations: ['93-89=4']
Exploring Operation: 36+4=40, Resulting Numbers: [86, 40]
Generated Node #0,2,0: 81:[86, 40] Operation: 36+4=40
Exploring Operation: 86-4=82, Resulting Numbers: [36, 82]
Generated Node #0,2,1: 81:[36, 82] Operation: 86-4=82
Exploring Operation: 36/4=9, Resulting Numbers: [86, 9]
Generated Node #0,2,2: 81:[86, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [86, 32]
Generated Node #0,2,3: 81:[86, 32] Operation: 36-4=32
Exploring Operation: 86+4=90, Resulting Numbers: [36, 90]
Generated Node #0,2,4: 81:[36, 90] Operation: 86+4=90
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[86, 9], Operations: ['93-89=4', '36/4=9']
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[36, 82], Operations: ['93-89=4', '86-4=82']
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,81 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 81:[86, 32], Operations: ['93-89=4', '36-4=32']
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,81 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[86, 40], Operations: ['93-89=4', '36+4=40']
Exploring Operation: 86+40=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 86-40=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 86*40=3440, Resulting Numbers: [3440]
3440,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 81:[36, 90], Operations: ['93-89=4', '86+4=90']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 36*90=3240, Resulting Numbers: [3240]
3240,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[89, 36, 7], Operations: ['93-86=7']
Exploring Operation: 89+7=96, Resulting Numbers: [36, 96]
Generated Node #0,1,0: 81:[36, 96] Operation: 89+7=96
Exploring Operation: 89-7=82, Resulting Numbers: [36, 82]
Generated Node #0,1,1: 81:[36, 82] Operation: 89-7=82
Exploring Operation: 36-7=29, Resulting Numbers: [89, 29]
Generated Node #0,1,2: 81:[89, 29] Operation: 36-7=29
Exploring Operation: 36+7=43, Resulting Numbers: [89, 43]
Generated Node #0,1,3: 81:[89, 43] Operation: 36+7=43
Exploring Operation: 89-36=53, Resulting Numbers: [7, 53]
Generated Node #0,1,4: 81:[7, 53] Operation: 89-36=53
Moving to Node #0,1,1
Current State: 81:[36, 82], Operations: ['93-86=7', '89-7=82']
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[89, 29], Operations: ['93-86=7', '36-7=29']
Exploring Operation: 89+29=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 89*29=2581, Resulting Numbers: [2581]
2581,81 unequal: No Solution
Exploring Operation: 89-29=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[36, 96], Operations: ['93-86=7', '89+7=96']
Exploring Operation: 36+96=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 36*96=3456, Resulting Numbers: [3456]
3456,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[89, 43], Operations: ['93-86=7', '36+7=43']
Exploring Operation: 89*43=3827, Resulting Numbers: [3827]
3827,81 unequal: No Solution
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 89+43=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Moving to Node #0,1,4
Current State: 81:[7, 53], Operations: ['93-86=7', '89-36=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[93, 36, 3], Operations: ['89-86=3']
Exploring Operation: 36/3=12, Resulting Numbers: [93, 12]
Generated Node #0,0,0: 81:[93, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [93, 33]
Generated Node #0,0,1: 81:[93, 33] Operation: 36-3=33
Exploring Operation: 93-36=57, Resulting Numbers: [3, 57]
Generated Node #0,0,2: 81:[3, 57] Operation: 93-36=57
Exploring Operation: 93-3=90, Resulting Numbers: [36, 90]
Generated Node #0,0,3: 81:[36, 90] Operation: 93-3=90
Exploring Operation: 93/3=31, Resulting Numbers: [36, 31]
Generated Node #0,0,4: 81:[36, 31] Operation: 93/3=31
Moving to Node #0,0,4
Current State: 81:[36, 31], Operations: ['89-86=3', '93/3=31']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[93, 12], Operations: ['89-86=3', '36/3=12']
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[89, 93, 36, 86], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [93, 36, 3]
Generated Node #0,0: 81:[93, 36, 3] Operation: 89-86=3
Moving to Node #0,0
Current State: 81:[93, 36, 3], Operations: ['89-86=3']
Exploring Operation: 36/3=12, Resulting Numbers: [93, 12]
Generated Node #0,0,0: 81:[93, 12] Operation: 36/3=12
Moving to Node #0,0,0
Current State: 81:[93, 12], Operations: ['89-86=3', '36/3=12']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
65,
11,
11,
53
] | 53 | [
"11-11=0",
"65*0=0",
"53+0=53"
] | Current State: 53:[65, 11, 11, 53], Operations: []
Exploring Operation: 11-11=0, Resulting Numbers: [65, 53, 0]
Generated Node #2: [65, 53, 0] from Operation: 11-11=0
Current State: 53:[65, 53, 0], Operations: ['11-11=0']
Exploring Operation: 65*0=0, Resulting Numbers: [53, 0]
Generated Node #3: [53, 0] from Operation: 65*0=0
Current State: 53:[53, 0], Operations: ['11-11=0', '65*0=0']
Exploring Operation: 53+0=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[65, 11, 11, 53], Operations: []
Exploring Operation: 65-11=54, Resulting Numbers: [11, 53, 54]
Generated Node #0,0: 53:[11, 53, 54] Operation: 65-11=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[11, 53, 54], Operations: ['65-11=54']
Exploring Operation: 54-11=43, Resulting Numbers: [53, 43]
Generated Node #0,0,0: 53:[53, 43] Operation: 54-11=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[53, 43], Operations: ['65-11=54', '54-11=43']
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
35,
89,
21
] | 29 | [
"37+89=126",
"126/21=6",
"35-6=29"
] | Current State: 29:[37, 35, 89, 21], Operations: []
Exploring Operation: 37+89=126, Resulting Numbers: [35, 21, 126]
Generated Node #2: [35, 21, 126] from Operation: 37+89=126
Current State: 29:[35, 21, 126], Operations: ['37+89=126']
Exploring Operation: 126/21=6, Resulting Numbers: [35, 6]
Generated Node #3: [35, 6] from Operation: 126/21=6
Current State: 29:[35, 6], Operations: ['37+89=126', '126/21=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[37, 35, 89, 21], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [37, 21, 54]
Generated Node #0,0: 29:[37, 21, 54] Operation: 89-35=54
Exploring Operation: 89-21=68, Resulting Numbers: [37, 35, 68]
Generated Node #0,1: 29:[37, 35, 68] Operation: 89-21=68
Exploring Operation: 89-37=52, Resulting Numbers: [35, 21, 52]
Generated Node #0,2: 29:[35, 21, 52] Operation: 89-37=52
Exploring Operation: 37-21=16, Resulting Numbers: [35, 89, 16]
Generated Node #0,3: 29:[35, 89, 16] Operation: 37-21=16
Exploring Operation: 35-21=14, Resulting Numbers: [37, 89, 14]
Generated Node #0,4: 29:[37, 89, 14] Operation: 35-21=14
Moving to Node #0,2
Current State: 29:[35, 21, 52], Operations: ['89-37=52']
Exploring Operation: 35-21=14, Resulting Numbers: [52, 14]
Generated Node #0,2,0: 29:[52, 14] Operation: 35-21=14
Exploring Operation: 35+21=56, Resulting Numbers: [52, 56]
Generated Node #0,2,1: 29:[52, 56] Operation: 35+21=56
Exploring Operation: 52-35=17, Resulting Numbers: [21, 17]
Generated Node #0,2,2: 29:[21, 17] Operation: 52-35=17
Exploring Operation: 21+52=73, Resulting Numbers: [35, 73]
Generated Node #0,2,3: 29:[35, 73] Operation: 21+52=73
Exploring Operation: 52-21=31, Resulting Numbers: [35, 31]
Generated Node #0,2,4: 29:[35, 31] Operation: 52-21=31
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[35, 31], Operations: ['89-37=52', '52-21=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,29 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,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:[21, 17], Operations: ['89-37=52', '52-35=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,29 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,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,0
Current State: 29:[52, 14], Operations: ['89-37=52', '35-21=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,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:[52, 56], Operations: ['89-37=52', '35+21=56']
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,29 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 52+56=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,3
Current State: 29:[35, 73], Operations: ['89-37=52', '21+52=73']
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,29 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,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:[37, 21, 54], Operations: ['89-35=54']
Exploring Operation: 21+54=75, Resulting Numbers: [37, 75]
Generated Node #0,0,0: 29:[37, 75] Operation: 21+54=75
Exploring Operation: 54-21=33, Resulting Numbers: [37, 33]
Generated Node #0,0,1: 29:[37, 33] Operation: 54-21=33
Exploring Operation: 54-37=17, Resulting Numbers: [21, 17]
Generated Node #0,0,2: 29:[21, 17] Operation: 54-37=17
Exploring Operation: 37-21=16, Resulting Numbers: [54, 16]
Generated Node #0,0,3: 29:[54, 16] Operation: 37-21=16
Exploring Operation: 37+21=58, Resulting Numbers: [54, 58]
Generated Node #0,0,4: 29:[54, 58] Operation: 37+21=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[37, 33], Operations: ['89-35=54', '54-21=33']
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,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,0,2
Current State: 29:[21, 17], Operations: ['89-35=54', '54-37=17']
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,29 unequal: No Solution
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,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,0,3
Current State: 29:[54, 16], Operations: ['89-35=54', '37-21=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,29 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,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,0,0
Current State: 29:[37, 75], Operations: ['89-35=54', '21+54=75']
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,29 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,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,0,4
Current State: 29:[54, 58], Operations: ['89-35=54', '37+21=58']
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 54*58=3132, Resulting Numbers: [3132]
3132,29 unequal: No Solution
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,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:[37, 35, 68], Operations: ['89-21=68']
Exploring Operation: 68-37=31, Resulting Numbers: [35, 31]
Generated Node #0,1,0: 29:[35, 31] Operation: 68-37=31
Exploring Operation: 37+68=105, Resulting Numbers: [35, 105]
Generated Node #0,1,1: 29:[35, 105] Operation: 37+68=105
Exploring Operation: 68-35=33, Resulting Numbers: [37, 33]
Generated Node #0,1,2: 29:[37, 33] Operation: 68-35=33
Exploring Operation: 37+35=72, Resulting Numbers: [68, 72]
Generated Node #0,1,3: 29:[68, 72] Operation: 37+35=72
Exploring Operation: 37-35=2, Resulting Numbers: [68, 2]
Generated Node #0,1,4: 29:[68, 2] Operation: 37-35=2
Moving to Node #0,3
Current State: 29:[35, 89, 16], Operations: ['37-21=16']
Exploring Operation: 89+16=105, Resulting Numbers: [35, 105]
Generated Node #0,3,0: 29:[35, 105] Operation: 89+16=105
Exploring Operation: 89-16=73, Resulting Numbers: [35, 73]
Generated Node #0,3,1: 29:[35, 73] Operation: 89-16=73
Exploring Operation: 35+16=51, Resulting Numbers: [89, 51]
Generated Node #0,3,2: 29:[89, 51] Operation: 35+16=51
Exploring Operation: 35-16=19, Resulting Numbers: [89, 19]
Generated Node #0,3,3: 29:[89, 19] Operation: 35-16=19
Exploring Operation: 89-35=54, Resulting Numbers: [16, 54]
Generated Node #0,3,4: 29:[16, 54] Operation: 89-35=54
Moving to Node #0,4
Current State: 29:[37, 89, 14], Operations: ['35-21=14']
Exploring Operation: 89-14=75, Resulting Numbers: [37, 75]
Generated Node #0,4,0: 29:[37, 75] Operation: 89-14=75
Exploring Operation: 89-37=52, Resulting Numbers: [14, 52]
Generated Node #0,4,1: 29:[14, 52] Operation: 89-37=52
Exploring Operation: 89+14=103, Resulting Numbers: [37, 103]
Generated Node #0,4,2: 29:[37, 103] Operation: 89+14=103
Exploring Operation: 37-14=23, Resulting Numbers: [89, 23]
Generated Node #0,4,3: 29:[89, 23] Operation: 37-14=23
Exploring Operation: 37+14=51, Resulting Numbers: [89, 51]
Generated Node #0,4,4: 29:[89, 51] Operation: 37+14=51
Moving to Node #0,1,0
Current State: 29:[35, 31], Operations: ['89-21=68', '68-37=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,29 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[37, 33], Operations: ['89-21=68', '68-35=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,29 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[16, 54], Operations: ['37-21=16', '89-35=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,29 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[14, 52], Operations: ['35-21=14', '89-37=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[35, 73], Operations: ['37-21=16', '89-16=73']
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,29 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[37, 75], Operations: ['35-21=14', '89-14=75']
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,29 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[68, 2], Operations: ['89-21=68', '37-35=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,29 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[89, 23], Operations: ['35-21=14', '37-14=23']
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,29 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[89, 19], Operations: ['37-21=16', '35-16=19']
Exploring Operation: 89+19=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 89*19=1691, Resulting Numbers: [1691]
1691,29 unequal: No Solution
Exploring Operation: 89-19=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[37, 103], Operations: ['35-21=14', '89+14=103']
Exploring Operation: 37*103=3811, Resulting Numbers: [3811]
3811,29 unequal: No Solution
Exploring Operation: 103-37=66, Resulting Numbers: [66]
66,29 unequal: No Solution
Exploring Operation: 37+103=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[89, 51], Operations: ['35-21=14', '37+14=51']
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,29 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[89, 51], Operations: ['37-21=16', '35+16=51']
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,29 unequal: No Solution
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,29 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[35, 105], Operations: ['37-21=16', '89+16=105']
Exploring Operation: 35+105=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 105/35=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 105-35=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 35*105=3675, Resulting Numbers: [3675]
3675,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[68, 72], Operations: ['89-21=68', '37+35=72']
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,29 unequal: No Solution
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[35, 105], Operations: ['89-21=68', '37+68=105']
Exploring Operation: 35*105=3675, Resulting Numbers: [3675]
3675,29 unequal: No Solution
Exploring Operation: 105/35=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 35+105=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 105-35=70, Resulting Numbers: [70]
70,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
24,
21,
82,
2
] | 81 | [
"24-21=3",
"82+2=84",
"84-3=81"
] | Current State: 81:[24, 21, 82, 2], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [82, 2, 3]
Generated Node #2: [82, 2, 3] from Operation: 24-21=3
Current State: 81:[82, 2, 3], Operations: ['24-21=3']
Exploring Operation: 82+2=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 82+2=84
Current State: 81:[3, 84], Operations: ['24-21=3', '82+2=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[24, 21, 82, 2], Operations: []
Exploring Operation: 24+2=26, Resulting Numbers: [21, 82, 26]
Generated Node #0,0: 81:[21, 82, 26] Operation: 24+2=26
Exploring Operation: 24-21=3, Resulting Numbers: [82, 2, 3]
Generated Node #0,1: 81:[82, 2, 3] Operation: 24-21=3
Moving to Node #0,1
Current State: 81:[82, 2, 3], Operations: ['24-21=3']
Exploring Operation: 82-2=80, Resulting Numbers: [3, 80]
Generated Node #0,1,0: 81:[3, 80] Operation: 82-2=80
Exploring Operation: 82+2=84, Resulting Numbers: [3, 84]
Generated Node #0,1,1: 81:[3, 84] Operation: 82+2=84
Moving to Node #0,0
Current State: 81:[21, 82, 26], Operations: ['24+2=26']
Exploring Operation: 26-21=5, Resulting Numbers: [82, 5]
Generated Node #0,0,0: 81:[82, 5] Operation: 26-21=5
Exploring Operation: 82-21=61, Resulting Numbers: [26, 61]
Generated Node #0,0,1: 81:[26, 61] Operation: 82-21=61
Moving to Node #0,1,0
Current State: 81:[3, 80], Operations: ['24-21=3', '82-2=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[82, 5], Operations: ['24+2=26', '26-21=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,81 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[3, 84], Operations: ['24-21=3', '82+2=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[24, 21, 82, 2], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [82, 2, 3]
Generated Node #0,1: 81:[82, 2, 3] Operation: 24-21=3
Moving to Node #0,1
Current State: 81:[82, 2, 3], Operations: ['24-21=3']
Exploring Operation: 82+2=84, Resulting Numbers: [3, 84]
Generated Node #0,1,1: 81:[3, 84] Operation: 82+2=84
Moving to Node #0,1,1
Current State: 81:[3, 84], Operations: ['24-21=3', '82+2=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
22,
97,
93,
86
] | 68 | [
"97-22=75",
"93-86=7",
"75-7=68"
] | Current State: 68:[22, 97, 93, 86], Operations: []
Exploring Operation: 97-22=75, Resulting Numbers: [93, 86, 75]
Generated Node #2: [93, 86, 75] from Operation: 97-22=75
Current State: 68:[93, 86, 75], Operations: ['97-22=75']
Exploring Operation: 93-86=7, Resulting Numbers: [75, 7]
Generated Node #3: [75, 7] from Operation: 93-86=7
Current State: 68:[75, 7], Operations: ['97-22=75', '93-86=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[22, 97, 93, 86], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [22, 86, 4]
Generated Node #0,0: 68:[22, 86, 4] Operation: 97-93=4
Exploring Operation: 97-86=11, Resulting Numbers: [22, 93, 11]
Generated Node #0,1: 68:[22, 93, 11] Operation: 97-86=11
Moving to Node #0,0
Current State: 68:[22, 86, 4], Operations: ['97-93=4']
Exploring Operation: 86-22=64, Resulting Numbers: [4, 64]
Generated Node #0,0,0: 68:[4, 64] Operation: 86-22=64
Exploring Operation: 22-4=18, Resulting Numbers: [86, 18]
Generated Node #0,0,1: 68:[86, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[4, 64], Operations: ['97-93=4', '86-22=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[22, 97, 93, 86], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [22, 86, 4]
Generated Node #0,0: 68:[22, 86, 4] Operation: 97-93=4
Moving to Node #0,0
Current State: 68:[22, 86, 4], Operations: ['97-93=4']
Exploring Operation: 86-22=64, Resulting Numbers: [4, 64]
Generated Node #0,0,0: 68:[4, 64] Operation: 86-22=64
Moving to Node #0,0,0
Current State: 68:[4, 64], Operations: ['97-93=4', '86-22=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
57,
57,
34
] | 89 | [
"54+34=88",
"57/57=1",
"88+1=89"
] | Current State: 89:[54, 57, 57, 34], Operations: []
Exploring Operation: 54+34=88, Resulting Numbers: [57, 57, 88]
Generated Node #2: [57, 57, 88] from Operation: 54+34=88
Current State: 89:[57, 57, 88], Operations: ['54+34=88']
Exploring Operation: 57/57=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 57/57=1
Current State: 89:[88, 1], Operations: ['54+34=88', '57/57=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[54, 57, 57, 34], Operations: []
Exploring Operation: 57+34=91, Resulting Numbers: [54, 57, 91]
Generated Node #0,0: 89:[54, 57, 91] Operation: 57+34=91
Exploring Operation: 54+57=111, Resulting Numbers: [57, 34, 111]
Generated Node #0,1: 89:[57, 34, 111] Operation: 54+57=111
Exploring Operation: 54+57=111, Resulting Numbers: [57, 34, 111]
Generated Node #0,2: 89:[57, 34, 111] Operation: 54+57=111
Exploring Operation: 54+34=88, Resulting Numbers: [57, 57, 88]
Generated Node #0,3: 89:[57, 57, 88] Operation: 54+34=88
Exploring Operation: 57+34=91, Resulting Numbers: [54, 57, 91]
Generated Node #0,4: 89:[54, 57, 91] Operation: 57+34=91
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[57, 57, 88], Operations: ['54+34=88']
Exploring Operation: 57-57=0, Resulting Numbers: [88, 0]
Generated Node #0,3,0: 89:[88, 0] Operation: 57-57=0
Exploring Operation: 57+88=145, Resulting Numbers: [57, 145]
Generated Node #0,3,1: 89:[57, 145] Operation: 57+88=145
Exploring Operation: 57+57=114, Resulting Numbers: [88, 114]
Generated Node #0,3,2: 89:[88, 114] Operation: 57+57=114
Exploring Operation: 57/57=1, Resulting Numbers: [88, 1]
Generated Node #0,3,3: 89:[88, 1] Operation: 57/57=1
Exploring Operation: 57+88=145, Resulting Numbers: [57, 145]
Generated Node #0,3,4: 89:[57, 145] Operation: 57+88=145
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[88, 114], Operations: ['54+34=88', '57+57=114']
Exploring Operation: 88+114=202, Resulting Numbers: [202]
202,89 unequal: No Solution
Exploring Operation: 114-88=26, Resulting Numbers: [26]
26,89 unequal: No Solution
Exploring Operation: 88*114=10032, Resulting Numbers: [10032]
10032,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[57, 145], Operations: ['54+34=88', '57+88=145']
Exploring Operation: 57+145=202, Resulting Numbers: [202]
202,89 unequal: No Solution
Exploring Operation: 145-57=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 57*145=8265, Resulting Numbers: [8265]
8265,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 89:[57, 145], Operations: ['54+34=88', '57+88=145']
Exploring Operation: 57*145=8265, Resulting Numbers: [8265]
8265,89 unequal: No Solution
Exploring Operation: 57+145=202, Resulting Numbers: [202]
202,89 unequal: No Solution
Exploring Operation: 145-57=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[88, 1], Operations: ['54+34=88', '57/57=1']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[54, 57, 57, 34], Operations: []
Exploring Operation: 54+34=88, Resulting Numbers: [57, 57, 88]
Generated Node #0,3: 89:[57, 57, 88] Operation: 54+34=88
Moving to Node #0,3
Current State: 89:[57, 57, 88], Operations: ['54+34=88']
Exploring Operation: 57/57=1, Resulting Numbers: [88, 1]
Generated Node #0,3,3: 89:[88, 1] Operation: 57/57=1
Moving to Node #0,3,3
Current State: 89:[88, 1], Operations: ['54+34=88', '57/57=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
41,
91,
93,
38
] | 35 | [
"93-91=2",
"38*2=76",
"76-41=35"
] | Current State: 35:[41, 91, 93, 38], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [41, 38, 2]
Generated Node #2: [41, 38, 2] from Operation: 93-91=2
Current State: 35:[41, 38, 2], Operations: ['93-91=2']
Exploring Operation: 38*2=76, Resulting Numbers: [41, 76]
Generated Node #3: [41, 76] from Operation: 38*2=76
Current State: 35:[41, 76], Operations: ['93-91=2', '38*2=76']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[41, 91, 93, 38], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [93, 38, 50]
Generated Node #0,0: 35:[93, 38, 50] Operation: 91-41=50
Exploring Operation: 93-91=2, Resulting Numbers: [41, 38, 2]
Generated Node #0,1: 35:[41, 38, 2] Operation: 93-91=2
Exploring Operation: 93-41=52, Resulting Numbers: [91, 38, 52]
Generated Node #0,2: 35:[91, 38, 52] Operation: 93-41=52
Moving to Node #0,1
Current State: 35:[41, 38, 2], Operations: ['93-91=2']
Exploring Operation: 38-2=36, Resulting Numbers: [41, 36]
Generated Node #0,1,0: 35:[41, 36] Operation: 38-2=36
Exploring Operation: 41-2=39, Resulting Numbers: [38, 39]
Generated Node #0,1,1: 35:[38, 39] Operation: 41-2=39
Exploring Operation: 41-38=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 35:[2, 3] Operation: 41-38=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[2, 3], Operations: ['93-91=2', '41-38=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,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:[41, 36], Operations: ['93-91=2', '38-2=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[38, 39], Operations: ['93-91=2', '41-2=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,35 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,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:[93, 38, 50], Operations: ['91-41=50']
Exploring Operation: 93-38=55, Resulting Numbers: [50, 55]
Generated Node #0,0,0: 35:[50, 55] Operation: 93-38=55
Exploring Operation: 50-38=12, Resulting Numbers: [93, 12]
Generated Node #0,0,1: 35:[93, 12] Operation: 50-38=12
Exploring Operation: 93-50=43, Resulting Numbers: [38, 43]
Generated Node #0,0,2: 35:[38, 43] Operation: 93-50=43
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[38, 43], Operations: ['91-41=50', '93-50=43']
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,35 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[50, 55], Operations: ['91-41=50', '93-38=55']
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,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:[93, 12], Operations: ['91-41=50', '50-38=12']
Exploring Operation: 93*12=1116, Resulting Numbers: [1116]
1116,35 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 35:[91, 38, 52], Operations: ['93-41=52']
Exploring Operation: 52-38=14, Resulting Numbers: [91, 14]
Generated Node #0,2,0: 35:[91, 14] Operation: 52-38=14
Exploring Operation: 91-52=39, Resulting Numbers: [38, 39]
Generated Node #0,2,1: 35:[38, 39] Operation: 91-52=39
Exploring Operation: 91-38=53, Resulting Numbers: [52, 53]
Generated Node #0,2,2: 35:[52, 53] Operation: 91-38=53
Moving to Node #0,2,1
Current State: 35:[38, 39], Operations: ['93-41=52', '91-52=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[52, 53], Operations: ['93-41=52', '91-38=53']
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[91, 14], Operations: ['93-41=52', '52-38=14']
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,35 unequal: No Solution
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,35 unequal: No Solution
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
86,
17,
92,
13
] | 36 | [
"86-17=69",
"92+13=105",
"105-69=36"
] | Current State: 36:[86, 17, 92, 13], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [92, 13, 69]
Generated Node #2: [92, 13, 69] from Operation: 86-17=69
Current State: 36:[92, 13, 69], Operations: ['86-17=69']
Exploring Operation: 92+13=105, Resulting Numbers: [69, 105]
Generated Node #3: [69, 105] from Operation: 92+13=105
Current State: 36:[69, 105], Operations: ['86-17=69', '92+13=105']
Exploring Operation: 105-69=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[86, 17, 92, 13], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [92, 13, 69]
Generated Node #0,0: 36:[92, 13, 69] Operation: 86-17=69
Exploring Operation: 86-13=73, Resulting Numbers: [17, 92, 73]
Generated Node #0,1: 36:[17, 92, 73] Operation: 86-13=73
Exploring Operation: 92-86=6, Resulting Numbers: [17, 13, 6]
Generated Node #0,2: 36:[17, 13, 6] Operation: 92-86=6
Exploring Operation: 92-17=75, Resulting Numbers: [86, 13, 75]
Generated Node #0,3: 36:[86, 13, 75] Operation: 92-17=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[17, 13, 6], Operations: ['92-86=6']
Exploring Operation: 13-6=7, Resulting Numbers: [17, 7]
Generated Node #0,2,0: 36:[17, 7] Operation: 13-6=7
Exploring Operation: 17-13=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 36:[6, 4] Operation: 17-13=4
Exploring Operation: 17-6=11, Resulting Numbers: [13, 11]
Generated Node #0,2,2: 36:[13, 11] Operation: 17-6=11
Exploring Operation: 13+6=19, Resulting Numbers: [17, 19]
Generated Node #0,2,3: 36:[17, 19] Operation: 13+6=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[6, 4], Operations: ['92-86=6', '17-13=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[17, 7], Operations: ['92-86=6', '13-6=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,36 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[13, 11], Operations: ['92-86=6', '17-6=11']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,36 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[17, 19], Operations: ['92-86=6', '13+6=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,36 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[86, 17, 92, 13], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [17, 13, 6]
Generated Node #0,2: 36:[17, 13, 6] Operation: 92-86=6
Moving to Node #0,2
Current State: 36:[17, 13, 6], Operations: ['92-86=6']
Exploring Operation: 13+6=19, Resulting Numbers: [17, 19]
Generated Node #0,2,3: 36:[17, 19] Operation: 13+6=19
Moving to Node #0,2,3
Current State: 36:[17, 19], Operations: ['92-86=6', '13+6=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
94,
50,
26,
51
] | 19 | [
"94-50=44",
"51-26=25",
"44-25=19"
] | Current State: 19:[94, 50, 26, 51], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [26, 51, 44]
Generated Node #2: [26, 51, 44] from Operation: 94-50=44
Current State: 19:[26, 51, 44], Operations: ['94-50=44']
Exploring Operation: 51-26=25, Resulting Numbers: [44, 25]
Generated Node #3: [44, 25] from Operation: 51-26=25
Current State: 19:[44, 25], Operations: ['94-50=44', '51-26=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[94, 50, 26, 51], Operations: []
Exploring Operation: 94-26=68, Resulting Numbers: [50, 51, 68]
Generated Node #0,0: 19:[50, 51, 68] Operation: 94-26=68
Exploring Operation: 94-50=44, Resulting Numbers: [26, 51, 44]
Generated Node #0,1: 19:[26, 51, 44] Operation: 94-50=44
Exploring Operation: 94-51=43, Resulting Numbers: [50, 26, 43]
Generated Node #0,2: 19:[50, 26, 43] Operation: 94-51=43
Exploring Operation: 50-26=24, Resulting Numbers: [94, 51, 24]
Generated Node #0,3: 19:[94, 51, 24] Operation: 50-26=24
Exploring Operation: 51-50=1, Resulting Numbers: [94, 26, 1]
Generated Node #0,4: 19:[94, 26, 1] Operation: 51-50=1
Moving to Node #0,2
Current State: 19:[50, 26, 43], Operations: ['94-51=43']
Exploring Operation: 43-26=17, Resulting Numbers: [50, 17]
Generated Node #0,2,0: 19:[50, 17] Operation: 43-26=17
Exploring Operation: 50-43=7, Resulting Numbers: [26, 7]
Generated Node #0,2,1: 19:[26, 7] Operation: 50-43=7
Exploring Operation: 50+26=76, Resulting Numbers: [43, 76]
Generated Node #0,2,2: 19:[43, 76] Operation: 50+26=76
Exploring Operation: 50+43=93, Resulting Numbers: [26, 93]
Generated Node #0,2,3: 19:[26, 93] Operation: 50+43=93
Exploring Operation: 50-26=24, Resulting Numbers: [43, 24]
Generated Node #0,2,4: 19:[43, 24] Operation: 50-26=24
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[26, 7], Operations: ['94-51=43', '50-43=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[94, 50, 26, 51], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [50, 26, 43]
Generated Node #0,2: 19:[50, 26, 43] Operation: 94-51=43
Moving to Node #0,2
Current State: 19:[50, 26, 43], Operations: ['94-51=43']
Exploring Operation: 50-43=7, Resulting Numbers: [26, 7]
Generated Node #0,2,1: 19:[26, 7] Operation: 50-43=7
Moving to Node #0,2,1
Current State: 19:[26, 7], Operations: ['94-51=43', '50-43=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
2,
11,
8,
35
] | 89 | [
"2*35=70",
"11+8=19",
"70+19=89"
] | Current State: 89:[2, 11, 8, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [11, 8, 70]
Generated Node #2: [11, 8, 70] from Operation: 2*35=70
Current State: 89:[11, 8, 70], Operations: ['2*35=70']
Exploring Operation: 11+8=19, Resulting Numbers: [70, 19]
Generated Node #3: [70, 19] from Operation: 11+8=19
Current State: 89:[70, 19], Operations: ['2*35=70', '11+8=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 11, 8, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [11, 8, 70]
Generated Node #0,0: 89:[11, 8, 70] Operation: 2*35=70
Exploring Operation: 2*8=16, Resulting Numbers: [11, 35, 16]
Generated Node #0,1: 89:[11, 35, 16] Operation: 2*8=16
Exploring Operation: 11*8=88, Resulting Numbers: [2, 35, 88]
Generated Node #0,2: 89:[2, 35, 88] Operation: 11*8=88
Exploring Operation: 2*11=22, Resulting Numbers: [8, 35, 22]
Generated Node #0,3: 89:[8, 35, 22] Operation: 2*11=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[2, 35, 88], Operations: ['11*8=88']
Exploring Operation: 35-2=33, Resulting Numbers: [88, 33]
Generated Node #0,2,0: 89:[88, 33] Operation: 35-2=33
Exploring Operation: 2+35=37, Resulting Numbers: [88, 37]
Generated Node #0,2,1: 89:[88, 37] Operation: 2+35=37
Exploring Operation: 2+88=90, Resulting Numbers: [35, 90]
Generated Node #0,2,2: 89:[35, 90] Operation: 2+88=90
Exploring Operation: 2*35=70, Resulting Numbers: [88, 70]
Generated Node #0,2,3: 89:[88, 70] Operation: 2*35=70
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[88, 70], Operations: ['11*8=88', '2*35=70']
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[88, 37], Operations: ['11*8=88', '2+35=37']
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[35, 90], Operations: ['11*8=88', '2+88=90']
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,89 unequal: No Solution
Exploring Operation: 35+90=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 35*90=3150, Resulting Numbers: [3150]
3150,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[88, 33], Operations: ['11*8=88', '35-2=33']
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,89 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,89 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,89 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: 89:[11, 8, 70], Operations: ['2*35=70']
Exploring Operation: 11*8=88, Resulting Numbers: [70, 88]
Generated Node #0,0,0: 89:[70, 88] Operation: 11*8=88
Exploring Operation: 11+70=81, Resulting Numbers: [8, 81]
Generated Node #0,0,1: 89:[8, 81] Operation: 11+70=81
Exploring Operation: 11+8=19, Resulting Numbers: [70, 19]
Generated Node #0,0,2: 89:[70, 19] Operation: 11+8=19
Exploring Operation: 8+70=78, Resulting Numbers: [11, 78]
Generated Node #0,0,3: 89:[11, 78] Operation: 8+70=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[70, 88], Operations: ['2*35=70', '11*8=88']
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,89 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[8, 81], Operations: ['2*35=70', '11+70=81']
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[2, 11, 8, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [11, 8, 70]
Generated Node #0,0: 89:[11, 8, 70] Operation: 2*35=70
Moving to Node #0,0
Current State: 89:[11, 8, 70], Operations: ['2*35=70']
Exploring Operation: 11+70=81, Resulting Numbers: [8, 81]
Generated Node #0,0,1: 89:[8, 81] Operation: 11+70=81
Moving to Node #0,0,1
Current State: 89:[8, 81], Operations: ['2*35=70', '11+70=81']
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
44,
34,
64,
40
] | 14 | [
"44-34=10",
"64-40=24",
"24-10=14"
] | Current State: 14:[44, 34, 64, 40], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [64, 40, 10]
Generated Node #2: [64, 40, 10] from Operation: 44-34=10
Current State: 14:[64, 40, 10], Operations: ['44-34=10']
Exploring Operation: 64-40=24, Resulting Numbers: [10, 24]
Generated Node #3: [10, 24] from Operation: 64-40=24
Current State: 14:[10, 24], Operations: ['44-34=10', '64-40=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[44, 34, 64, 40], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [34, 40, 20]
Generated Node #0,0: 14:[34, 40, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[34, 40, 20], Operations: ['64-44=20']
Exploring Operation: 40-34=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 14:[20, 6] Operation: 40-34=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[20, 6], Operations: ['64-44=20', '40-34=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[44, 34, 64, 40], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [34, 40, 20]
Generated Node #0,0: 14:[34, 40, 20] Operation: 64-44=20
Moving to Node #0,0
Current State: 14:[34, 40, 20], Operations: ['64-44=20']
Exploring Operation: 40-34=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 14:[20, 6] Operation: 40-34=6
Moving to Node #0,0,0
Current State: 14:[20, 6], Operations: ['64-44=20', '40-34=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
81,
9,
32,
31
] | 54 | [
"81/9=9",
"32+31=63",
"63-9=54"
] | Current State: 54:[81, 9, 32, 31], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [32, 31, 9]
Generated Node #2: [32, 31, 9] from Operation: 81/9=9
Current State: 54:[32, 31, 9], Operations: ['81/9=9']
Exploring Operation: 32+31=63, Resulting Numbers: [9, 63]
Generated Node #3: [9, 63] from Operation: 32+31=63
Current State: 54:[9, 63], Operations: ['81/9=9', '32+31=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[81, 9, 32, 31], Operations: []
Exploring Operation: 81-9=72, Resulting Numbers: [32, 31, 72]
Generated Node #0,0: 54:[32, 31, 72] Operation: 81-9=72
Exploring Operation: 81-32=49, Resulting Numbers: [9, 31, 49]
Generated Node #0,1: 54:[9, 31, 49] Operation: 81-32=49
Exploring Operation: 81-31=50, Resulting Numbers: [9, 32, 50]
Generated Node #0,2: 54:[9, 32, 50] Operation: 81-31=50
Exploring Operation: 81/9=9, Resulting Numbers: [32, 31, 9]
Generated Node #0,3: 54:[32, 31, 9] Operation: 81/9=9
Moving to Node #0,1
Current State: 54:[9, 31, 49], Operations: ['81-32=49']
Exploring Operation: 49-9=40, Resulting Numbers: [31, 40]
Generated Node #0,1,0: 54:[31, 40] Operation: 49-9=40
Exploring Operation: 31-9=22, Resulting Numbers: [49, 22]
Generated Node #0,1,1: 54:[49, 22] Operation: 31-9=22
Exploring Operation: 9+49=58, Resulting Numbers: [31, 58]
Generated Node #0,1,2: 54:[31, 58] Operation: 9+49=58
Exploring Operation: 49-31=18, Resulting Numbers: [9, 18]
Generated Node #0,1,3: 54:[9, 18] Operation: 49-31=18
Moving to Node #0,3
Current State: 54:[32, 31, 9], Operations: ['81/9=9']
Exploring Operation: 32-31=1, Resulting Numbers: [9, 1]
Generated Node #0,3,0: 54:[9, 1] Operation: 32-31=1
Exploring Operation: 32-9=23, Resulting Numbers: [31, 23]
Generated Node #0,3,1: 54:[31, 23] Operation: 32-9=23
Exploring Operation: 32+31=63, Resulting Numbers: [9, 63]
Generated Node #0,3,2: 54:[9, 63] Operation: 32+31=63
Exploring Operation: 31-9=22, Resulting Numbers: [32, 22]
Generated Node #0,3,3: 54:[32, 22] Operation: 31-9=22
Moving to Node #0,2
Current State: 54:[9, 32, 50], Operations: ['81-31=50']
Exploring Operation: 50-32=18, Resulting Numbers: [9, 18]
Generated Node #0,2,0: 54:[9, 18] Operation: 50-32=18
Exploring Operation: 9+50=59, Resulting Numbers: [32, 59]
Generated Node #0,2,1: 54:[32, 59] Operation: 9+50=59
Exploring Operation: 9+32=41, Resulting Numbers: [50, 41]
Generated Node #0,2,2: 54:[50, 41] Operation: 9+32=41
Exploring Operation: 32-9=23, Resulting Numbers: [50, 23]
Generated Node #0,2,3: 54:[50, 23] Operation: 32-9=23
Moving to Node #0,0
Current State: 54:[32, 31, 72], Operations: ['81-9=72']
Exploring Operation: 32-31=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 54:[72, 1] Operation: 32-31=1
Exploring Operation: 72-32=40, Resulting Numbers: [31, 40]
Generated Node #0,0,1: 54:[31, 40] Operation: 72-32=40
Exploring Operation: 72-31=41, Resulting Numbers: [32, 41]
Generated Node #0,0,2: 54:[32, 41] Operation: 72-31=41
Exploring Operation: 32+31=63, Resulting Numbers: [72, 63]
Generated Node #0,0,3: 54:[72, 63] Operation: 32+31=63
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[31, 40], Operations: ['81-9=72', '72-32=40']
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,54 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[32, 41], Operations: ['81-9=72', '72-31=41']
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,54 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[72, 1], Operations: ['81-9=72', '32-31=1']
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,54 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[72, 63], Operations: ['81-9=72', '32+31=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,54 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 54:[9, 18], Operations: ['81-32=49', '49-31=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[9, 18], Operations: ['81-31=50', '50-32=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[9, 1], Operations: ['81/9=9', '32-31=1']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[31, 23], Operations: ['81/9=9', '32-9=23']
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,54 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[81, 9, 32, 31], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [32, 31, 9]
Generated Node #0,3: 54:[32, 31, 9] Operation: 81/9=9
Moving to Node #0,3
Current State: 54:[32, 31, 9], Operations: ['81/9=9']
Exploring Operation: 32-9=23, Resulting Numbers: [31, 23]
Generated Node #0,3,1: 54:[31, 23] Operation: 32-9=23
Moving to Node #0,3,1
Current State: 54:[31, 23], Operations: ['81/9=9', '32-9=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
25,
29,
39,
3
] | 85 | [
"25*3=75",
"39-29=10",
"75+10=85"
] | Current State: 85:[25, 29, 39, 3], Operations: []
Exploring Operation: 25*3=75, Resulting Numbers: [29, 39, 75]
Generated Node #2: [29, 39, 75] from Operation: 25*3=75
Current State: 85:[29, 39, 75], Operations: ['25*3=75']
Exploring Operation: 39-29=10, Resulting Numbers: [75, 10]
Generated Node #3: [75, 10] from Operation: 39-29=10
Current State: 85:[75, 10], Operations: ['25*3=75', '39-29=10']
Exploring Operation: 75+10=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[25, 29, 39, 3], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [25, 29, 13]
Generated Node #0,0: 85:[25, 29, 13] Operation: 39/3=13
Exploring Operation: 39-25=14, Resulting Numbers: [29, 3, 14]
Generated Node #0,1: 85:[29, 3, 14] Operation: 39-25=14
Exploring Operation: 29+39=68, Resulting Numbers: [25, 3, 68]
Generated Node #0,2: 85:[25, 3, 68] Operation: 29+39=68
Exploring Operation: 29-25=4, Resulting Numbers: [39, 3, 4]
Generated Node #0,3: 85:[39, 3, 4] Operation: 29-25=4
Exploring Operation: 39-29=10, Resulting Numbers: [25, 3, 10]
Generated Node #0,4: 85:[25, 3, 10] Operation: 39-29=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[25, 3, 10], Operations: ['39-29=10']
Exploring Operation: 3+10=13, Resulting Numbers: [25, 13]
Generated Node #0,4,0: 85:[25, 13] Operation: 3+10=13
Exploring Operation: 25-10=15, Resulting Numbers: [3, 15]
Generated Node #0,4,1: 85:[3, 15] Operation: 25-10=15
Exploring Operation: 10-3=7, Resulting Numbers: [25, 7]
Generated Node #0,4,2: 85:[25, 7] Operation: 10-3=7
Exploring Operation: 25-3=22, Resulting Numbers: [10, 22]
Generated Node #0,4,3: 85:[10, 22] Operation: 25-3=22
Exploring Operation: 25*3=75, Resulting Numbers: [10, 75]
Generated Node #0,4,4: 85:[10, 75] Operation: 25*3=75
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 85:[3, 15], Operations: ['39-29=10', '25-10=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 85:[25, 7], Operations: ['39-29=10', '10-3=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,85 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 85:[10, 22], Operations: ['39-29=10', '25-3=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 85:[25, 13], Operations: ['39-29=10', '3+10=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 85:[10, 75], Operations: ['39-29=10', '25*3=75']
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[25, 29, 39, 3], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [25, 3, 10]
Generated Node #0,4: 85:[25, 3, 10] Operation: 39-29=10
Moving to Node #0,4
Current State: 85:[25, 3, 10], Operations: ['39-29=10']
Exploring Operation: 25*3=75, Resulting Numbers: [10, 75]
Generated Node #0,4,4: 85:[10, 75] Operation: 25*3=75
Moving to Node #0,4,4
Current State: 85:[10, 75], Operations: ['39-29=10', '25*3=75']
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_5 | sum_heuristic |
[
78,
11,
99,
54
] | 64 | [
"78+11=89",
"99+54=153",
"153-89=64"
] | Current State: 64:[78, 11, 99, 54], Operations: []
Exploring Operation: 78+11=89, Resulting Numbers: [99, 54, 89]
Generated Node #2: [99, 54, 89] from Operation: 78+11=89
Current State: 64:[99, 54, 89], Operations: ['78+11=89']
Exploring Operation: 99+54=153, Resulting Numbers: [89, 153]
Generated Node #3: [89, 153] from Operation: 99+54=153
Current State: 64:[89, 153], Operations: ['78+11=89', '99+54=153']
Exploring Operation: 153-89=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[78, 11, 99, 54], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [78, 54, 9]
Generated Node #0,0: 64:[78, 54, 9] Operation: 99/11=9
Exploring Operation: 78-54=24, Resulting Numbers: [11, 99, 24]
Generated Node #0,1: 64:[11, 99, 24] Operation: 78-54=24
Exploring Operation: 99-78=21, Resulting Numbers: [11, 54, 21]
Generated Node #0,2: 64:[11, 54, 21] Operation: 99-78=21
Exploring Operation: 99-54=45, Resulting Numbers: [78, 11, 45]
Generated Node #0,3: 64:[78, 11, 45] Operation: 99-54=45
Moving to Node #0,2
Current State: 64:[11, 54, 21], Operations: ['99-78=21']
Exploring Operation: 11+21=32, Resulting Numbers: [54, 32]
Generated Node #0,2,0: 64:[54, 32] Operation: 11+21=32
Exploring Operation: 11+54=65, Resulting Numbers: [21, 65]
Generated Node #0,2,1: 64:[21, 65] Operation: 11+54=65
Exploring Operation: 54-21=33, Resulting Numbers: [11, 33]
Generated Node #0,2,2: 64:[11, 33] Operation: 54-21=33
Exploring Operation: 21-11=10, Resulting Numbers: [54, 10]
Generated Node #0,2,3: 64:[54, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[11, 33], Operations: ['99-78=21', '54-21=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,64 unequal: No Solution
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[21, 65], Operations: ['99-78=21', '11+54=65']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[54, 32], Operations: ['99-78=21', '11+21=32']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[54, 10], Operations: ['99-78=21', '21-11=10']
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,64 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[78, 11, 99, 54], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [11, 54, 21]
Generated Node #0,2: 64:[11, 54, 21] Operation: 99-78=21
Moving to Node #0,2
Current State: 64:[11, 54, 21], Operations: ['99-78=21']
Exploring Operation: 21-11=10, Resulting Numbers: [54, 10]
Generated Node #0,2,3: 64:[54, 10] Operation: 21-11=10
Moving to Node #0,2,3
Current State: 64:[54, 10], Operations: ['99-78=21', '21-11=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
67,
89,
2,
61
] | 78 | [
"89-67=22",
"61-22=39",
"2*39=78"
] | Current State: 78:[67, 89, 2, 61], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [2, 61, 22]
Generated Node #2: [2, 61, 22] from Operation: 89-67=22
Current State: 78:[2, 61, 22], Operations: ['89-67=22']
Exploring Operation: 61-22=39, Resulting Numbers: [2, 39]
Generated Node #3: [2, 39] from Operation: 61-22=39
Current State: 78:[2, 39], Operations: ['89-67=22', '61-22=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[67, 89, 2, 61], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [2, 61, 22]
Generated Node #0,0: 78:[2, 61, 22] Operation: 89-67=22
Exploring Operation: 89-61=28, Resulting Numbers: [67, 2, 28]
Generated Node #0,1: 78:[67, 2, 28] Operation: 89-61=28
Exploring Operation: 67-61=6, Resulting Numbers: [89, 2, 6]
Generated Node #0,2: 78:[89, 2, 6] Operation: 67-61=6
Exploring Operation: 67+2=69, Resulting Numbers: [89, 61, 69]
Generated Node #0,3: 78:[89, 61, 69] Operation: 67+2=69
Moving to Node #0,2
Current State: 78:[89, 2, 6], Operations: ['67-61=6']
Exploring Operation: 2*6=12, Resulting Numbers: [89, 12]
Generated Node #0,2,0: 78:[89, 12] Operation: 2*6=12
Exploring Operation: 89-6=83, Resulting Numbers: [2, 83]
Generated Node #0,2,1: 78:[2, 83] Operation: 89-6=83
Exploring Operation: 89-2=87, Resulting Numbers: [6, 87]
Generated Node #0,2,2: 78:[6, 87] Operation: 89-2=87
Exploring Operation: 6/2=3, Resulting Numbers: [89, 3]
Generated Node #0,2,3: 78:[89, 3] Operation: 6/2=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[2, 83], Operations: ['67-61=6', '89-6=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,78 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,78 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[6, 87], Operations: ['67-61=6', '89-2=87']
Exploring Operation: 6*87=522, Resulting Numbers: [522]
522,78 unequal: No Solution
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,78 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[89, 3], Operations: ['67-61=6', '6/2=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,78 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,78 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[89, 12], Operations: ['67-61=6', '2*6=12']
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,78 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,78 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: 78:[67, 2, 28], Operations: ['89-61=28']
Exploring Operation: 67-28=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 78:[2, 39] Operation: 67-28=39
Exploring Operation: 28-2=26, Resulting Numbers: [67, 26]
Generated Node #0,1,1: 78:[67, 26] Operation: 28-2=26
Exploring Operation: 67+2=69, Resulting Numbers: [28, 69]
Generated Node #0,1,2: 78:[28, 69] Operation: 67+2=69
Exploring Operation: 28/2=14, Resulting Numbers: [67, 14]
Generated Node #0,1,3: 78:[67, 14] Operation: 28/2=14
Moving to Node #0,0
Current State: 78:[2, 61, 22], Operations: ['89-67=22']
Exploring Operation: 61-22=39, Resulting Numbers: [2, 39]
Generated Node #0,0,0: 78:[2, 39] Operation: 61-22=39
Exploring Operation: 2+22=24, Resulting Numbers: [61, 24]
Generated Node #0,0,1: 78:[61, 24] Operation: 2+22=24
Exploring Operation: 2+61=63, Resulting Numbers: [22, 63]
Generated Node #0,0,2: 78:[22, 63] Operation: 2+61=63
Exploring Operation: 61+22=83, Resulting Numbers: [2, 83]
Generated Node #0,0,3: 78:[2, 83] Operation: 61+22=83
Moving to Node #0,3
Current State: 78:[89, 61, 69], Operations: ['67+2=69']
Exploring Operation: 89-69=20, Resulting Numbers: [61, 20]
Generated Node #0,3,0: 78:[61, 20] Operation: 89-69=20
Exploring Operation: 61+69=130, Resulting Numbers: [89, 130]
Generated Node #0,3,1: 78:[89, 130] Operation: 61+69=130
Exploring Operation: 89-61=28, Resulting Numbers: [69, 28]
Generated Node #0,3,2: 78:[69, 28] Operation: 89-61=28
Exploring Operation: 69-61=8, Resulting Numbers: [89, 8]
Generated Node #0,3,3: 78:[89, 8] Operation: 69-61=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 78:[69, 28], Operations: ['67+2=69', '89-61=28']
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,78 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 78:[89, 8], Operations: ['67+2=69', '69-61=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,78 unequal: No Solution
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 78:[61, 20], Operations: ['67+2=69', '89-69=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,78 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[89, 130], Operations: ['67+2=69', '61+69=130']
Exploring Operation: 130-89=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 89+130=219, Resulting Numbers: [219]
219,78 unequal: No Solution
Exploring Operation: 89*130=11570, Resulting Numbers: [11570]
11570,78 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: 78:[2, 39], Operations: ['89-61=28', '67-28=39']
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[67, 89, 2, 61], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [67, 2, 28]
Generated Node #0,1: 78:[67, 2, 28] Operation: 89-61=28
Moving to Node #0,1
Current State: 78:[67, 2, 28], Operations: ['89-61=28']
Exploring Operation: 67-28=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 78:[2, 39] Operation: 67-28=39
Moving to Node #0,1,0
Current State: 78:[2, 39], Operations: ['89-61=28', '67-28=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
32,
48,
69,
8
] | 88 | [
"32+48=80",
"80-69=11",
"8*11=88"
] | Current State: 88:[32, 48, 69, 8], Operations: []
Exploring Operation: 32+48=80, Resulting Numbers: [69, 8, 80]
Generated Node #2: [69, 8, 80] from Operation: 32+48=80
Current State: 88:[69, 8, 80], Operations: ['32+48=80']
Exploring Operation: 80-69=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 80-69=11
Current State: 88:[8, 11], Operations: ['32+48=80', '80-69=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[32, 48, 69, 8], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [32, 8, 21]
Generated Node #0,0: 88:[32, 8, 21] Operation: 69-48=21
Exploring Operation: 69-32=37, Resulting Numbers: [48, 8, 37]
Generated Node #0,1: 88:[48, 8, 37] Operation: 69-32=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[32, 8, 21], Operations: ['69-48=21']
Exploring Operation: 32/8=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 88:[21, 4] Operation: 32/8=4
Exploring Operation: 32-21=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 88:[8, 11] Operation: 32-21=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[8, 11], Operations: ['69-48=21', '32-21=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[32, 48, 69, 8], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [32, 8, 21]
Generated Node #0,0: 88:[32, 8, 21] Operation: 69-48=21
Moving to Node #0,0
Current State: 88:[32, 8, 21], Operations: ['69-48=21']
Exploring Operation: 32-21=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 88:[8, 11] Operation: 32-21=11
Moving to Node #0,0,1
Current State: 88:[8, 11], Operations: ['69-48=21', '32-21=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
73,
48,
60,
2
] | 83 | [
"73-48=25",
"60-2=58",
"25+58=83"
] | Current State: 83:[73, 48, 60, 2], Operations: []
Exploring Operation: 73-48=25, Resulting Numbers: [60, 2, 25]
Generated Node #2: [60, 2, 25] from Operation: 73-48=25
Current State: 83:[60, 2, 25], Operations: ['73-48=25']
Exploring Operation: 60-2=58, Resulting Numbers: [25, 58]
Generated Node #3: [25, 58] from Operation: 60-2=58
Current State: 83:[25, 58], Operations: ['73-48=25', '60-2=58']
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[73, 48, 60, 2], Operations: []
Exploring Operation: 48*2=96, Resulting Numbers: [73, 60, 96]
Generated Node #0,0: 83:[73, 60, 96] Operation: 48*2=96
Exploring Operation: 73+2=75, Resulting Numbers: [48, 60, 75]
Generated Node #0,1: 83:[48, 60, 75] Operation: 73+2=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[73, 60, 96], Operations: ['48*2=96']
Exploring Operation: 73+60=133, Resulting Numbers: [96, 133]
Generated Node #0,0,0: 83:[96, 133] Operation: 73+60=133
Exploring Operation: 96-60=36, Resulting Numbers: [73, 36]
Generated Node #0,0,1: 83:[73, 36] Operation: 96-60=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[73, 36], Operations: ['48*2=96', '96-60=36']
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[96, 133], Operations: ['48*2=96', '73+60=133']
Exploring Operation: 133-96=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 96+133=229, Resulting Numbers: [229]
229,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[48, 60, 75], Operations: ['73+2=75']
Exploring Operation: 48+75=123, Resulting Numbers: [60, 123]
Generated Node #0,1,0: 83:[60, 123] Operation: 48+75=123
Exploring Operation: 48+60=108, Resulting Numbers: [75, 108]
Generated Node #0,1,1: 83:[75, 108] Operation: 48+60=108
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[75, 108], Operations: ['73+2=75', '48+60=108']
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[60, 123], Operations: ['73+2=75', '48+75=123']
Exploring Operation: 123-60=63, Resulting Numbers: [63]
63,83 unequal: No Solution
Exploring Operation: 60+123=183, Resulting Numbers: [183]
183,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
86,
28,
4
] | 26 | [
"86-28=58",
"28+4=32",
"58-32=26"
] | Current State: 26:[28, 86, 28, 4], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [4, 58]
Generated Node #2: [4, 58] from Operation: 86-28=58
Current State: 26:[4, 58], Operations: ['86-28=58']
Exploring Operation: 28+4=32, Resulting Numbers: [58, 32]
Generated Node #3: [58, 32] from Operation: 28+4=32
Current State: 26:[58, 32], Operations: ['86-28=58', '28+4=32']
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[28, 86, 28, 4], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [28, 4, 58]
Generated Node #0,0: 26:[28, 4, 58] Operation: 86-28=58
Exploring Operation: 86-28=58, Resulting Numbers: [28, 4, 58]
Generated Node #0,1: 26:[28, 4, 58] Operation: 86-28=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[28, 4, 58], Operations: ['86-28=58']
Exploring Operation: 58-4=54, Resulting Numbers: [28, 54]
Generated Node #0,0,0: 26:[28, 54] Operation: 58-4=54
Exploring Operation: 58-28=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 26:[4, 30] Operation: 58-28=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[4, 30], Operations: ['86-28=58', '58-28=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[28, 86, 28, 4], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [28, 4, 58]
Generated Node #0,0: 26:[28, 4, 58] Operation: 86-28=58
Moving to Node #0,0
Current State: 26:[28, 4, 58], Operations: ['86-28=58']
Exploring Operation: 58-28=30, Resulting Numbers: [4, 30]
Generated Node #0,0,1: 26:[4, 30] Operation: 58-28=30
Moving to Node #0,0,1
Current State: 26:[4, 30], Operations: ['86-28=58', '58-28=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
48,
66,
47,
81
] | 45 | [
"81-48=33",
"66/33=2",
"47-2=45"
] | Current State: 45:[48, 66, 47, 81], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [66, 47, 33]
Generated Node #2: [66, 47, 33] from Operation: 81-48=33
Current State: 45:[66, 47, 33], Operations: ['81-48=33']
Exploring Operation: 66/33=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 66/33=2
Current State: 45:[47, 2], Operations: ['81-48=33', '66/33=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[48, 66, 47, 81], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [66, 47, 33]
Generated Node #0,0: 45:[66, 47, 33] Operation: 81-48=33
Exploring Operation: 81-66=15, Resulting Numbers: [48, 47, 15]
Generated Node #0,1: 45:[48, 47, 15] Operation: 81-66=15
Exploring Operation: 81-47=34, Resulting Numbers: [48, 66, 34]
Generated Node #0,2: 45:[48, 66, 34] Operation: 81-47=34
Exploring Operation: 66-48=18, Resulting Numbers: [47, 81, 18]
Generated Node #0,3: 45:[47, 81, 18] Operation: 66-48=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[48, 47, 15], Operations: ['81-66=15']
Exploring Operation: 48-15=33, Resulting Numbers: [47, 33]
Generated Node #0,1,0: 45:[47, 33] Operation: 48-15=33
Exploring Operation: 47-15=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 45:[48, 32] Operation: 47-15=32
Exploring Operation: 48-47=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 45:[15, 1] Operation: 48-47=1
Exploring Operation: 48+15=63, Resulting Numbers: [47, 63]
Generated Node #0,1,3: 45:[47, 63] Operation: 48+15=63
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[15, 1], Operations: ['81-66=15', '48-47=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[47, 33], Operations: ['81-66=15', '48-15=33']
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,45 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[48, 32], Operations: ['81-66=15', '47-15=32']
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,45 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[47, 63], Operations: ['81-66=15', '48+15=63']
Exploring Operation: 47*63=2961, Resulting Numbers: [2961]
2961,45 unequal: No Solution
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 47+63=110, Resulting Numbers: [110]
110,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[66, 47, 33], Operations: ['81-48=33']
Exploring Operation: 66-47=19, Resulting Numbers: [33, 19]
Generated Node #0,0,0: 45:[33, 19] Operation: 66-47=19
Exploring Operation: 66/33=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 45:[47, 2] Operation: 66/33=2
Exploring Operation: 47-33=14, Resulting Numbers: [66, 14]
Generated Node #0,0,2: 45:[66, 14] Operation: 47-33=14
Exploring Operation: 66-33=33, Resulting Numbers: [47, 33]
Generated Node #0,0,3: 45:[47, 33] Operation: 66-33=33
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[47, 2], Operations: ['81-48=33', '66/33=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[48, 66, 47, 81], Operations: []
Exploring Operation: 81-48=33, Resulting Numbers: [66, 47, 33]
Generated Node #0,0: 45:[66, 47, 33] Operation: 81-48=33
Moving to Node #0,0
Current State: 45:[66, 47, 33], Operations: ['81-48=33']
Exploring Operation: 66/33=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 45:[47, 2] Operation: 66/33=2
Moving to Node #0,0,1
Current State: 45:[47, 2], Operations: ['81-48=33', '66/33=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
58,
75,
3,
6
] | 92 | [
"75/3=25",
"6*25=150",
"150-58=92"
] | Current State: 92:[58, 75, 3, 6], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [58, 6, 25]
Generated Node #2: [58, 6, 25] from Operation: 75/3=25
Current State: 92:[58, 6, 25], Operations: ['75/3=25']
Exploring Operation: 6*25=150, Resulting Numbers: [58, 150]
Generated Node #3: [58, 150] from Operation: 6*25=150
Current State: 92:[58, 150], Operations: ['75/3=25', '6*25=150']
Exploring Operation: 150-58=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[58, 75, 3, 6], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [58, 6, 25]
Generated Node #0,0: 92:[58, 6, 25] Operation: 75/3=25
Exploring Operation: 75-58=17, Resulting Numbers: [3, 6, 17]
Generated Node #0,1: 92:[3, 6, 17] Operation: 75-58=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[3, 6, 17], Operations: ['75-58=17']
Exploring Operation: 3+17=20, Resulting Numbers: [6, 20]
Generated Node #0,1,0: 92:[6, 20] Operation: 3+17=20
Exploring Operation: 6+17=23, Resulting Numbers: [3, 23]
Generated Node #0,1,1: 92:[3, 23] Operation: 6+17=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[3, 23], Operations: ['75-58=17', '6+17=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[6, 20], Operations: ['75-58=17', '3+17=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[58, 6, 25], Operations: ['75/3=25']
Exploring Operation: 58-6=52, Resulting Numbers: [25, 52]
Generated Node #0,0,0: 92:[25, 52] Operation: 58-6=52
Exploring Operation: 58+25=83, Resulting Numbers: [6, 83]
Generated Node #0,0,1: 92:[6, 83] Operation: 58+25=83
Moving to Node #0,0,0
Current State: 92:[25, 52], Operations: ['75/3=25', '58-6=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[6, 83], Operations: ['75/3=25', '58+25=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,92 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 |
[
18,
92,
34,
55
] | 48 | [
"92+34=126",
"126/18=7",
"55-7=48"
] | Current State: 48:[18, 92, 34, 55], Operations: []
Exploring Operation: 92+34=126, Resulting Numbers: [18, 55, 126]
Generated Node #2: [18, 55, 126] from Operation: 92+34=126
Current State: 48:[18, 55, 126], Operations: ['92+34=126']
Exploring Operation: 126/18=7, Resulting Numbers: [55, 7]
Generated Node #3: [55, 7] from Operation: 126/18=7
Current State: 48:[55, 7], Operations: ['92+34=126', '126/18=7']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[18, 92, 34, 55], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [18, 34, 37]
Generated Node #0,0: 48:[18, 34, 37] Operation: 92-55=37
Exploring Operation: 92-34=58, Resulting Numbers: [18, 55, 58]
Generated Node #0,1: 48:[18, 55, 58] Operation: 92-34=58
Exploring Operation: 92-18=74, Resulting Numbers: [34, 55, 74]
Generated Node #0,2: 48:[34, 55, 74] Operation: 92-18=74
Moving to Node #0,1
Current State: 48:[18, 55, 58], Operations: ['92-34=58']
Exploring Operation: 58-18=40, Resulting Numbers: [55, 40]
Generated Node #0,1,0: 48:[55, 40] Operation: 58-18=40
Exploring Operation: 55-18=37, Resulting Numbers: [58, 37]
Generated Node #0,1,1: 48:[58, 37] Operation: 55-18=37
Exploring Operation: 58-55=3, Resulting Numbers: [18, 3]
Generated Node #0,1,2: 48:[18, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[18, 3], Operations: ['92-34=58', '58-55=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,48 unequal: No Solution
No 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: 48:[55, 40], Operations: ['92-34=58', '58-18=40']
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,48 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,48 unequal: No Solution
No 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: 48:[58, 37], Operations: ['92-34=58', '55-18=37']
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,48 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: 48:[18, 34, 37], Operations: ['92-55=37']
Exploring Operation: 37-34=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 48:[18, 3] Operation: 37-34=3
Exploring Operation: 34-18=16, Resulting Numbers: [37, 16]
Generated Node #0,0,1: 48:[37, 16] Operation: 34-18=16
Exploring Operation: 37-18=19, Resulting Numbers: [34, 19]
Generated Node #0,0,2: 48:[34, 19] Operation: 37-18=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[18, 3], Operations: ['92-55=37', '37-34=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No solution 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: 48:[37, 16], Operations: ['92-55=37', '34-18=16']
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,48 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,48 unequal: No Solution
No solution 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: 48:[34, 19], Operations: ['92-55=37', '37-18=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,48 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: 48:[34, 55, 74], Operations: ['92-18=74']
Exploring Operation: 55-34=21, Resulting Numbers: [74, 21]
Generated Node #0,2,0: 48:[74, 21] Operation: 55-34=21
Exploring Operation: 74-55=19, Resulting Numbers: [34, 19]
Generated Node #0,2,1: 48:[34, 19] Operation: 74-55=19
Exploring Operation: 74-34=40, Resulting Numbers: [55, 40]
Generated Node #0,2,2: 48:[55, 40] Operation: 74-34=40
Moving to Node #0,2,1
Current State: 48:[34, 19], Operations: ['92-18=74', '74-55=19']
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,48 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[55, 40], Operations: ['92-18=74', '74-34=40']
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,48 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[74, 21], Operations: ['92-18=74', '55-34=21']
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,48 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,48 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
4,
3,
72
] | 16 | [
"36+4=40",
"72/3=24",
"40-24=16"
] | Current State: 16:[36, 4, 3, 72], Operations: []
Exploring Operation: 36+4=40, Resulting Numbers: [3, 72, 40]
Generated Node #2: [3, 72, 40] from Operation: 36+4=40
Current State: 16:[3, 72, 40], Operations: ['36+4=40']
Exploring Operation: 72/3=24, Resulting Numbers: [40, 24]
Generated Node #3: [40, 24] from Operation: 72/3=24
Current State: 16:[40, 24], Operations: ['36+4=40', '72/3=24']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[36, 4, 3, 72], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [36, 3, 18]
Generated Node #0,0: 16:[36, 3, 18] Operation: 72/4=18
Exploring Operation: 72/36=2, Resulting Numbers: [4, 3, 2]
Generated Node #0,1: 16:[4, 3, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [4, 3, 36]
Generated Node #0,2: 16:[4, 3, 36] Operation: 72-36=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[4, 3, 2], Operations: ['72/36=2']
Exploring Operation: 4+3=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 16:[2, 7] Operation: 4+3=7
Exploring Operation: 4*2=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 16:[3, 8] Operation: 4*2=8
Exploring Operation: 4-3=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 16:[2, 1] Operation: 4-3=1
Moving to Node #0,1,0
Current State: 16:[2, 7], Operations: ['72/36=2', '4+3=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[3, 8], Operations: ['72/36=2', '4*2=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[2, 1], Operations: ['72/36=2', '4-3=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,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,2
Current State: 16:[4, 3, 36], Operations: ['72-36=36']
Exploring Operation: 36-4=32, Resulting Numbers: [3, 32]
Generated Node #0,2,0: 16:[3, 32] Operation: 36-4=32
Exploring Operation: 36/3=12, Resulting Numbers: [4, 12]
Generated Node #0,2,1: 16:[4, 12] Operation: 36/3=12
Exploring Operation: 36/4=9, Resulting Numbers: [3, 9]
Generated Node #0,2,2: 16:[3, 9] Operation: 36/4=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[3, 9], Operations: ['72-36=36', '36/4=9']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[4, 12], Operations: ['72-36=36', '36/3=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[36, 4, 3, 72], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [4, 3, 36]
Generated Node #0,2: 16:[4, 3, 36] Operation: 72-36=36
Moving to Node #0,2
Current State: 16:[4, 3, 36], Operations: ['72-36=36']
Exploring Operation: 36/3=12, Resulting Numbers: [4, 12]
Generated Node #0,2,1: 16:[4, 12] Operation: 36/3=12
Moving to Node #0,2,1
Current State: 16:[4, 12], Operations: ['72-36=36', '36/3=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
98,
69,
17,
18
] | 95 | [
"69-18=51",
"51/17=3",
"98-3=95"
] | Current State: 95:[98, 69, 17, 18], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [98, 17, 51]
Generated Node #2: [98, 17, 51] from Operation: 69-18=51
Current State: 95:[98, 17, 51], Operations: ['69-18=51']
Exploring Operation: 51/17=3, Resulting Numbers: [98, 3]
Generated Node #3: [98, 3] from Operation: 51/17=3
Current State: 95:[98, 3], Operations: ['69-18=51', '51/17=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[98, 69, 17, 18], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [17, 18, 29]
Generated Node #0,0: 95:[17, 18, 29] Operation: 98-69=29
Exploring Operation: 69+17=86, Resulting Numbers: [98, 18, 86]
Generated Node #0,1: 95:[98, 18, 86] Operation: 69+17=86
Exploring Operation: 69+18=87, Resulting Numbers: [98, 17, 87]
Generated Node #0,2: 95:[98, 17, 87] Operation: 69+18=87
Exploring Operation: 18-17=1, Resulting Numbers: [98, 69, 1]
Generated Node #0,3: 95:[98, 69, 1] Operation: 18-17=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[17, 18, 29], Operations: ['98-69=29']
Exploring Operation: 29-17=12, Resulting Numbers: [18, 12]
Generated Node #0,0,0: 95:[18, 12] Operation: 29-17=12
Exploring Operation: 29-18=11, Resulting Numbers: [17, 11]
Generated Node #0,0,1: 95:[17, 11] Operation: 29-18=11
Exploring Operation: 18-17=1, Resulting Numbers: [29, 1]
Generated Node #0,0,2: 95:[29, 1] Operation: 18-17=1
Exploring Operation: 17+18=35, Resulting Numbers: [29, 35]
Generated Node #0,0,3: 95:[29, 35] Operation: 17+18=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[18, 12], Operations: ['98-69=29', '29-17=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,95 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[17, 11], Operations: ['98-69=29', '29-18=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,95 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[29, 1], Operations: ['98-69=29', '18-17=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[29, 35], Operations: ['98-69=29', '17+18=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,95 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[98, 18, 86], Operations: ['69+17=86']
Exploring Operation: 98-86=12, Resulting Numbers: [18, 12]
Generated Node #0,1,0: 95:[18, 12] Operation: 98-86=12
Exploring Operation: 98-18=80, Resulting Numbers: [86, 80]
Generated Node #0,1,1: 95:[86, 80] Operation: 98-18=80
Exploring Operation: 18+86=104, Resulting Numbers: [98, 104]
Generated Node #0,1,2: 95:[98, 104] Operation: 18+86=104
Exploring Operation: 98+18=116, Resulting Numbers: [86, 116]
Generated Node #0,1,3: 95:[86, 116] Operation: 98+18=116
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[18, 12], Operations: ['69+17=86', '98-86=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,95 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[98, 104], Operations: ['69+17=86', '18+86=104']
Exploring Operation: 104-98=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 98+104=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Exploring Operation: 98*104=10192, Resulting Numbers: [10192]
10192,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[86, 80], Operations: ['69+17=86', '98-18=80']
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,95 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 95:[86, 116], Operations: ['69+17=86', '98+18=116']
Exploring Operation: 86+116=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Exploring Operation: 116-86=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 86*116=9976, Resulting Numbers: [9976]
9976,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[98, 17, 87], Operations: ['69+18=87']
Exploring Operation: 98+17=115, Resulting Numbers: [87, 115]
Generated Node #0,2,0: 95:[87, 115] Operation: 98+17=115
Exploring Operation: 17+87=104, Resulting Numbers: [98, 104]
Generated Node #0,2,1: 95:[98, 104] Operation: 17+87=104
Exploring Operation: 98-17=81, Resulting Numbers: [87, 81]
Generated Node #0,2,2: 95:[87, 81] Operation: 98-17=81
Exploring Operation: 98-87=11, Resulting Numbers: [17, 11]
Generated Node #0,2,3: 95:[17, 11] Operation: 98-87=11
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[17, 11], Operations: ['69+18=87', '98-87=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,95 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[98, 104], Operations: ['69+18=87', '17+87=104']
Exploring Operation: 104-98=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 98+104=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Exploring Operation: 98*104=10192, Resulting Numbers: [10192]
10192,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[87, 81], Operations: ['69+18=87', '98-17=81']
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 87+81=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 87*81=7047, Resulting Numbers: [7047]
7047,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[87, 115], Operations: ['69+18=87', '98+17=115']
Exploring Operation: 87+115=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Exploring Operation: 87*115=10005, Resulting Numbers: [10005]
10005,95 unequal: No Solution
Exploring Operation: 115-87=28, Resulting Numbers: [28]
28,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[98, 69, 1], Operations: ['18-17=1']
Exploring Operation: 69+1=70, Resulting Numbers: [98, 70]
Generated Node #0,3,0: 95:[98, 70] Operation: 69+1=70
Exploring Operation: 98*1=98, Resulting Numbers: [69, 98]
Generated Node #0,3,1: 95:[69, 98] Operation: 98*1=98
Exploring Operation: 98-1=97, Resulting Numbers: [69, 97]
Generated Node #0,3,2: 95:[69, 97] Operation: 98-1=97
Exploring Operation: 98-69=29, Resulting Numbers: [1, 29]
Generated Node #0,3,3: 95:[1, 29] Operation: 98-69=29
Moving to Node #0,3,3
Current State: 95:[1, 29], Operations: ['18-17=1', '98-69=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,95 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[69, 97], Operations: ['18-17=1', '98-1=97']
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 69+97=166, Resulting Numbers: [166]
166,95 unequal: No Solution
Exploring Operation: 69*97=6693, Resulting Numbers: [6693]
6693,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[98, 70], Operations: ['18-17=1', '69+1=70']
Exploring Operation: 98+70=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Exploring Operation: 98*70=6860, Resulting Numbers: [6860]
6860,95 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[69, 98], Operations: ['18-17=1', '98*1=98']
Exploring Operation: 69*98=6762, Resulting Numbers: [6762]
6762,95 unequal: No Solution
Exploring Operation: 69+98=167, Resulting Numbers: [167]
167,95 unequal: No Solution
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
25,
44,
20,
24
] | 74 | [
"25*24=600",
"600/20=30",
"44+30=74"
] | Current State: 74:[25, 44, 20, 24], Operations: []
Exploring Operation: 25*24=600, Resulting Numbers: [44, 20, 600]
Generated Node #2: [44, 20, 600] from Operation: 25*24=600
Current State: 74:[44, 20, 600], Operations: ['25*24=600']
Exploring Operation: 600/20=30, Resulting Numbers: [44, 30]
Generated Node #3: [44, 30] from Operation: 600/20=30
Current State: 74:[44, 30], Operations: ['25*24=600', '600/20=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[25, 44, 20, 24], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [25, 44, 4]
Generated Node #0,0: 74:[25, 44, 4] Operation: 24-20=4
Exploring Operation: 25-20=5, Resulting Numbers: [44, 24, 5]
Generated Node #0,1: 74:[44, 24, 5] Operation: 25-20=5
Moving to Node #0,0
Current State: 74:[25, 44, 4], Operations: ['24-20=4']
Exploring Operation: 25+44=69, Resulting Numbers: [4, 69]
Generated Node #0,0,0: 74:[4, 69] Operation: 25+44=69
Exploring Operation: 25+4=29, Resulting Numbers: [44, 29]
Generated Node #0,0,1: 74:[44, 29] Operation: 25+4=29
Moving to Node #0,1
Current State: 74:[44, 24, 5], Operations: ['25-20=5']
Exploring Operation: 44+24=68, Resulting Numbers: [5, 68]
Generated Node #0,1,0: 74:[5, 68] Operation: 44+24=68
Exploring Operation: 44-5=39, Resulting Numbers: [24, 39]
Generated Node #0,1,1: 74:[24, 39] Operation: 44-5=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[5, 68], Operations: ['25-20=5', '44+24=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[24, 39], Operations: ['25-20=5', '44-5=39']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,74 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: 74:[4, 69], Operations: ['24-20=4', '25+44=69']
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[44, 29], Operations: ['24-20=4', '25+4=29']
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
51,
53,
84,
92
] | 96 | [
"51+53=104",
"92-84=8",
"104-8=96"
] | Current State: 96:[51, 53, 84, 92], Operations: []
Exploring Operation: 51+53=104, Resulting Numbers: [84, 92, 104]
Generated Node #2: [84, 92, 104] from Operation: 51+53=104
Current State: 96:[84, 92, 104], Operations: ['51+53=104']
Exploring Operation: 92-84=8, Resulting Numbers: [104, 8]
Generated Node #3: [104, 8] from Operation: 92-84=8
Current State: 96:[104, 8], Operations: ['51+53=104', '92-84=8']
Exploring Operation: 104-8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[51, 53, 84, 92], Operations: []
Exploring Operation: 84-53=31, Resulting Numbers: [51, 92, 31]
Generated Node #0,0: 96:[51, 92, 31] Operation: 84-53=31
Exploring Operation: 84-51=33, Resulting Numbers: [53, 92, 33]
Generated Node #0,1: 96:[53, 92, 33] Operation: 84-51=33
Exploring Operation: 53-51=2, Resulting Numbers: [84, 92, 2]
Generated Node #0,2: 96:[84, 92, 2] Operation: 53-51=2
Exploring Operation: 92-53=39, Resulting Numbers: [51, 84, 39]
Generated Node #0,3: 96:[51, 84, 39] Operation: 92-53=39
Exploring Operation: 92-84=8, Resulting Numbers: [51, 53, 8]
Generated Node #0,4: 96:[51, 53, 8] Operation: 92-84=8
Moving to Node #0,0
Current State: 96:[51, 92, 31], Operations: ['84-53=31']
Exploring Operation: 92-51=41, Resulting Numbers: [31, 41]
Generated Node #0,0,0: 96:[31, 41] Operation: 92-51=41
Exploring Operation: 51+31=82, Resulting Numbers: [92, 82]
Generated Node #0,0,1: 96:[92, 82] Operation: 51+31=82
Exploring Operation: 92+31=123, Resulting Numbers: [51, 123]
Generated Node #0,0,2: 96:[51, 123] Operation: 92+31=123
Exploring Operation: 51-31=20, Resulting Numbers: [92, 20]
Generated Node #0,0,3: 96:[92, 20] Operation: 51-31=20
Exploring Operation: 92-31=61, Resulting Numbers: [51, 61]
Generated Node #0,0,4: 96:[51, 61] Operation: 92-31=61
Moving to Node #0,4
Current State: 96:[51, 53, 8], Operations: ['92-84=8']
Exploring Operation: 51+8=59, Resulting Numbers: [53, 59]
Generated Node #0,4,0: 96:[53, 59] Operation: 51+8=59
Exploring Operation: 53-51=2, Resulting Numbers: [8, 2]
Generated Node #0,4,1: 96:[8, 2] Operation: 53-51=2
Exploring Operation: 51+53=104, Resulting Numbers: [8, 104]
Generated Node #0,4,2: 96:[8, 104] Operation: 51+53=104
Exploring Operation: 51-8=43, Resulting Numbers: [53, 43]
Generated Node #0,4,3: 96:[53, 43] Operation: 51-8=43
Exploring Operation: 53-8=45, Resulting Numbers: [51, 45]
Generated Node #0,4,4: 96:[51, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 96:[8, 2], Operations: ['92-84=8', '53-51=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 96:[51, 45], Operations: ['92-84=8', '53-8=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[51, 53, 84, 92], Operations: []
Exploring Operation: 92-84=8, Resulting Numbers: [51, 53, 8]
Generated Node #0,4: 96:[51, 53, 8] Operation: 92-84=8
Moving to Node #0,4
Current State: 96:[51, 53, 8], Operations: ['92-84=8']
Exploring Operation: 53-8=45, Resulting Numbers: [51, 45]
Generated Node #0,4,4: 96:[51, 45] Operation: 53-8=45
Moving to Node #0,4,4
Current State: 96:[51, 45], Operations: ['92-84=8', '53-8=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
72,
89,
23,
80
] | 58 | [
"72+89=161",
"23+80=103",
"161-103=58"
] | Current State: 58:[72, 89, 23, 80], Operations: []
Exploring Operation: 72+89=161, Resulting Numbers: [23, 80, 161]
Generated Node #2: [23, 80, 161] from Operation: 72+89=161
Current State: 58:[23, 80, 161], Operations: ['72+89=161']
Exploring Operation: 23+80=103, Resulting Numbers: [161, 103]
Generated Node #3: [161, 103] from Operation: 23+80=103
Current State: 58:[161, 103], Operations: ['72+89=161', '23+80=103']
Exploring Operation: 161-103=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[72, 89, 23, 80], Operations: []
Exploring Operation: 89-23=66, Resulting Numbers: [72, 80, 66]
Generated Node #0,0: 58:[72, 80, 66] Operation: 89-23=66
Exploring Operation: 89-80=9, Resulting Numbers: [72, 23, 9]
Generated Node #0,1: 58:[72, 23, 9] Operation: 89-80=9
Exploring Operation: 89-72=17, Resulting Numbers: [23, 80, 17]
Generated Node #0,2: 58:[23, 80, 17] Operation: 89-72=17
Exploring Operation: 80-72=8, Resulting Numbers: [89, 23, 8]
Generated Node #0,3: 58:[89, 23, 8] Operation: 80-72=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[72, 23, 9], Operations: ['89-80=9']
Exploring Operation: 23+9=32, Resulting Numbers: [72, 32]
Generated Node #0,1,0: 58:[72, 32] Operation: 23+9=32
Exploring Operation: 72-23=49, Resulting Numbers: [9, 49]
Generated Node #0,1,1: 58:[9, 49] Operation: 72-23=49
Exploring Operation: 72-9=63, Resulting Numbers: [23, 63]
Generated Node #0,1,2: 58:[23, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [23, 8]
Generated Node #0,1,3: 58:[23, 8] Operation: 72/9=8
Moving to Node #0,1,2
Current State: 58:[23, 63], Operations: ['89-80=9', '72-9=63']
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,58 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[23, 8], Operations: ['89-80=9', '72/9=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[9, 49], Operations: ['89-80=9', '72-23=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[72, 89, 23, 80], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [72, 23, 9]
Generated Node #0,1: 58:[72, 23, 9] Operation: 89-80=9
Moving to Node #0,1
Current State: 58:[72, 23, 9], Operations: ['89-80=9']
Exploring Operation: 72-23=49, Resulting Numbers: [9, 49]
Generated Node #0,1,1: 58:[9, 49] Operation: 72-23=49
Moving to Node #0,1,1
Current State: 58:[9, 49], Operations: ['89-80=9', '72-23=49']
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
44,
89,
65,
24
] | 45 | [
"89-65=24",
"24/24=1",
"44+1=45"
] | Current State: 45:[44, 89, 65, 24], Operations: []
Exploring Operation: 89-65=24, Resulting Numbers: [44, 24, 24]
Generated Node #2: [44, 24, 24] from Operation: 89-65=24
Current State: 45:[44, 24, 24], Operations: ['89-65=24']
Exploring Operation: 24/24=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 24/24=1
Current State: 45:[44, 1], Operations: ['89-65=24', '24/24=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[44, 89, 65, 24], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [44, 65, 65]
Generated Node #0,0: 45:[44, 65, 65] Operation: 89-24=65
Exploring Operation: 89-44=45, Resulting Numbers: [65, 24, 45]
Generated Node #0,1: 45:[65, 24, 45] Operation: 89-44=45
Exploring Operation: 89-65=24, Resulting Numbers: [44, 24, 24]
Generated Node #0,2: 45:[44, 24, 24] Operation: 89-65=24
Exploring Operation: 65-24=41, Resulting Numbers: [44, 89, 41]
Generated Node #0,3: 45:[44, 89, 41] Operation: 65-24=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[44, 24, 24], Operations: ['89-65=24']
Exploring Operation: 24/24=1, Resulting Numbers: [44, 1]
Generated Node #0,2,0: 45:[44, 1] Operation: 24/24=1
Exploring Operation: 44-24=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 45:[24, 20] Operation: 44-24=20
Exploring Operation: 24-24=0, Resulting Numbers: [44, 0]
Generated Node #0,2,2: 45:[44, 0] Operation: 24-24=0
Exploring Operation: 24+24=48, Resulting Numbers: [44, 48]
Generated Node #0,2,3: 45:[44, 48] Operation: 24+24=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 45:[44, 1], Operations: ['89-65=24', '24/24=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,45 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[44, 89, 65, 24], Operations: []
Exploring Operation: 89-65=24, Resulting Numbers: [44, 24, 24]
Generated Node #0,2: 45:[44, 24, 24] Operation: 89-65=24
Moving to Node #0,2
Current State: 45:[44, 24, 24], Operations: ['89-65=24']
Exploring Operation: 24/24=1, Resulting Numbers: [44, 1]
Generated Node #0,2,0: 45:[44, 1] Operation: 24/24=1
Moving to Node #0,2,0
Current State: 45:[44, 1], Operations: ['89-65=24', '24/24=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
72,
65,
20,
4
] | 88 | [
"72+20=92",
"92/4=23",
"65+23=88"
] | Current State: 88:[72, 65, 20, 4], Operations: []
Exploring Operation: 72+20=92, Resulting Numbers: [65, 4, 92]
Generated Node #2: [65, 4, 92] from Operation: 72+20=92
Current State: 88:[65, 4, 92], Operations: ['72+20=92']
Exploring Operation: 92/4=23, Resulting Numbers: [65, 23]
Generated Node #3: [65, 23] from Operation: 92/4=23
Current State: 88:[65, 23], Operations: ['72+20=92', '92/4=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[72, 65, 20, 4], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [20, 4, 7]
Generated Node #0,0: 88:[20, 4, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 88:[20, 4, 7], Operations: ['72-65=7']
Exploring Operation: 20/4=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 88:[7, 5] Operation: 20/4=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[7, 5], Operations: ['72-65=7', '20/4=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,88 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 |
[
53,
98,
52,
15
] | 43 | [
"98+52=150",
"150/15=10",
"53-10=43"
] | Current State: 43:[53, 98, 52, 15], Operations: []
Exploring Operation: 98+52=150, Resulting Numbers: [53, 15, 150]
Generated Node #2: [53, 15, 150] from Operation: 98+52=150
Current State: 43:[53, 15, 150], Operations: ['98+52=150']
Exploring Operation: 150/15=10, Resulting Numbers: [53, 10]
Generated Node #3: [53, 10] from Operation: 150/15=10
Current State: 43:[53, 10], Operations: ['98+52=150', '150/15=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[53, 98, 52, 15], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [53, 15, 46]
Generated Node #0,0: 43:[53, 15, 46] Operation: 98-52=46
Exploring Operation: 53-15=38, Resulting Numbers: [98, 52, 38]
Generated Node #0,1: 43:[98, 52, 38] Operation: 53-15=38
Exploring Operation: 98-53=45, Resulting Numbers: [52, 15, 45]
Generated Node #0,2: 43:[52, 15, 45] Operation: 98-53=45
Exploring Operation: 98-15=83, Resulting Numbers: [53, 52, 83]
Generated Node #0,3: 43:[53, 52, 83] Operation: 98-15=83
Moving to Node #0,2
Current State: 43:[52, 15, 45], Operations: ['98-53=45']
Exploring Operation: 15+45=60, Resulting Numbers: [52, 60]
Generated Node #0,2,0: 43:[52, 60] Operation: 15+45=60
Exploring Operation: 52-15=37, Resulting Numbers: [45, 37]
Generated Node #0,2,1: 43:[45, 37] Operation: 52-15=37
Exploring Operation: 45-15=30, Resulting Numbers: [52, 30]
Generated Node #0,2,2: 43:[52, 30] Operation: 45-15=30
Exploring Operation: 52+15=67, Resulting Numbers: [45, 67]
Generated Node #0,2,3: 43:[45, 67] Operation: 52+15=67
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[45, 37], Operations: ['98-53=45', '52-15=37']
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,43 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,43 unequal: No Solution
No 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: 43:[52, 30], Operations: ['98-53=45', '45-15=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,43 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,43 unequal: No Solution
No 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: 43:[52, 60], Operations: ['98-53=45', '15+45=60']
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 52*60=3120, Resulting Numbers: [3120]
3120,43 unequal: No Solution
No 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: 43:[45, 67], Operations: ['98-53=45', '52+15=67']
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,43 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,43 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: 43:[53, 15, 46], Operations: ['98-52=46']
Exploring Operation: 53-15=38, Resulting Numbers: [46, 38]
Generated Node #0,0,0: 43:[46, 38] Operation: 53-15=38
Exploring Operation: 53+15=68, Resulting Numbers: [46, 68]
Generated Node #0,0,1: 43:[46, 68] Operation: 53+15=68
Exploring Operation: 46-15=31, Resulting Numbers: [53, 31]
Generated Node #0,0,2: 43:[53, 31] Operation: 46-15=31
Exploring Operation: 15+46=61, Resulting Numbers: [53, 61]
Generated Node #0,0,3: 43:[53, 61] Operation: 15+46=61
Moving to Node #0,3
Current State: 43:[53, 52, 83], Operations: ['98-15=83']
Exploring Operation: 53-52=1, Resulting Numbers: [83, 1]
Generated Node #0,3,0: 43:[83, 1] Operation: 53-52=1
Exploring Operation: 83-52=31, Resulting Numbers: [53, 31]
Generated Node #0,3,1: 43:[53, 31] Operation: 83-52=31
Exploring Operation: 83-53=30, Resulting Numbers: [52, 30]
Generated Node #0,3,2: 43:[52, 30] Operation: 83-53=30
Exploring Operation: 53+52=105, Resulting Numbers: [83, 105]
Generated Node #0,3,3: 43:[83, 105] Operation: 53+52=105
Moving to Node #0,1
Current State: 43:[98, 52, 38], Operations: ['53-15=38']
Exploring Operation: 52-38=14, Resulting Numbers: [98, 14]
Generated Node #0,1,0: 43:[98, 14] Operation: 52-38=14
Exploring Operation: 98+38=136, Resulting Numbers: [52, 136]
Generated Node #0,1,1: 43:[52, 136] Operation: 98+38=136
Exploring Operation: 98-38=60, Resulting Numbers: [52, 60]
Generated Node #0,1,2: 43:[52, 60] Operation: 98-38=60
Exploring Operation: 98-52=46, Resulting Numbers: [38, 46]
Generated Node #0,1,3: 43:[38, 46] Operation: 98-52=46
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 43:[38, 46], Operations: ['53-15=38', '98-52=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,43 unequal: No Solution
No 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: 43:[52, 60], Operations: ['53-15=38', '98-38=60']
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 52*60=3120, Resulting Numbers: [3120]
3120,43 unequal: No Solution
No 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: 43:[98, 14], Operations: ['53-15=38', '52-38=14']
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,43 unequal: No Solution
Exploring Operation: 98*14=1372, Resulting Numbers: [1372]
1372,43 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,43 unequal: No Solution
No 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: 43:[52, 136], Operations: ['53-15=38', '98+38=136']
Exploring Operation: 52*136=7072, Resulting Numbers: [7072]
7072,43 unequal: No Solution
Exploring Operation: 52+136=188, Resulting Numbers: [188]
188,43 unequal: No Solution
Exploring Operation: 136-52=84, Resulting Numbers: [84]
84,43 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: 43:[46, 38], Operations: ['98-52=46', '53-15=38']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,43 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[52, 30], Operations: ['98-15=83', '83-53=30']
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[53, 31], Operations: ['98-52=46', '46-15=31']
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,43 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[53, 31], Operations: ['98-15=83', '83-52=31']
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,43 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[46, 68], Operations: ['98-52=46', '53+15=68']
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,43 unequal: No Solution
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[53, 61], Operations: ['98-52=46', '15+46=61']
Exploring Operation: 53*61=3233, Resulting Numbers: [3233]
3233,43 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[83, 1], Operations: ['98-15=83', '53-52=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[83, 105], Operations: ['98-15=83', '53+52=105']
Exploring Operation: 83*105=8715, Resulting Numbers: [8715]
8715,43 unequal: No Solution
Exploring Operation: 83+105=188, Resulting Numbers: [188]
188,43 unequal: No Solution
Exploring Operation: 105-83=22, Resulting Numbers: [22]
22,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
43,
83,
1
] | 81 | [
"86/43=2",
"83*1=83",
"83-2=81"
] | Current State: 81:[86, 43, 83, 1], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [83, 1, 2]
Generated Node #2: [83, 1, 2] from Operation: 86/43=2
Current State: 81:[83, 1, 2], Operations: ['86/43=2']
Exploring Operation: 83*1=83, Resulting Numbers: [2, 83]
Generated Node #3: [2, 83] from Operation: 83*1=83
Current State: 81:[2, 83], Operations: ['86/43=2', '83*1=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[86, 43, 83, 1], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [83, 1, 43]
Generated Node #0,0: 81:[83, 1, 43] Operation: 86-43=43
Exploring Operation: 86-83=3, Resulting Numbers: [43, 1, 3]
Generated Node #0,1: 81:[43, 1, 3] Operation: 86-83=3
Exploring Operation: 86/43=2, Resulting Numbers: [83, 1, 2]
Generated Node #0,2: 81:[83, 1, 2] Operation: 86/43=2
Moving to Node #0,2
Current State: 81:[83, 1, 2], Operations: ['86/43=2']
Exploring Operation: 1+2=3, Resulting Numbers: [83, 3]
Generated Node #0,2,0: 81:[83, 3] Operation: 1+2=3
Exploring Operation: 83-2=81, Resulting Numbers: [1, 81]
Generated Node #0,2,1: 81:[1, 81] Operation: 83-2=81
Exploring Operation: 83-1=82, Resulting Numbers: [2, 82]
Generated Node #0,2,2: 81:[2, 82] Operation: 83-1=82
Moving to Node #0,1
Current State: 81:[43, 1, 3], Operations: ['86-83=3']
Exploring Operation: 43-3=40, Resulting Numbers: [1, 40]
Generated Node #0,1,0: 81:[1, 40] Operation: 43-3=40
Exploring Operation: 43*1=43, Resulting Numbers: [3, 43]
Generated Node #0,1,1: 81:[3, 43] Operation: 43*1=43
Exploring Operation: 43-1=42, Resulting Numbers: [3, 42]
Generated Node #0,1,2: 81:[3, 42] Operation: 43-1=42
Moving to Node #0,0
Current State: 81:[83, 1, 43], Operations: ['86-43=43']
Exploring Operation: 83-43=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 81:[1, 40] Operation: 83-43=40
Exploring Operation: 83-1=82, Resulting Numbers: [43, 82]
Generated Node #0,0,1: 81:[43, 82] Operation: 83-1=82
Exploring Operation: 43-1=42, Resulting Numbers: [83, 42]
Generated Node #0,0,2: 81:[83, 42] Operation: 43-1=42
Moving to Node #0,2,0
Current State: 81:[83, 3], Operations: ['86/43=2', '1+2=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[2, 82], Operations: ['86/43=2', '83-1=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[1, 81], Operations: ['86/43=2', '83-2=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[86, 43, 83, 1], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [83, 1, 2]
Generated Node #0,2: 81:[83, 1, 2] Operation: 86/43=2
Moving to Node #0,2
Current State: 81:[83, 1, 2], Operations: ['86/43=2']
Exploring Operation: 83-2=81, Resulting Numbers: [1, 81]
Generated Node #0,2,1: 81:[1, 81] Operation: 83-2=81
Moving to Node #0,2,1
Current State: 81:[1, 81], Operations: ['86/43=2', '83-2=81']
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.980035 | hs_3 | sum_heuristic |
[
7,
69,
77,
30
] | 88 | [
"77/7=11",
"69+30=99",
"99-11=88"
] | Current State: 88:[7, 69, 77, 30], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [69, 30, 11]
Generated Node #2: [69, 30, 11] from Operation: 77/7=11
Current State: 88:[69, 30, 11], Operations: ['77/7=11']
Exploring Operation: 69+30=99, Resulting Numbers: [11, 99]
Generated Node #3: [11, 99] from Operation: 69+30=99
Current State: 88:[11, 99], Operations: ['77/7=11', '69+30=99']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 69, 77, 30], Operations: []
Exploring Operation: 69+30=99, Resulting Numbers: [7, 77, 99]
Generated Node #0,0: 88:[7, 77, 99] Operation: 69+30=99
Exploring Operation: 77-30=47, Resulting Numbers: [7, 69, 47]
Generated Node #0,1: 88:[7, 69, 47] Operation: 77-30=47
Exploring Operation: 69-30=39, Resulting Numbers: [7, 77, 39]
Generated Node #0,2: 88:[7, 77, 39] Operation: 69-30=39
Exploring Operation: 77-69=8, Resulting Numbers: [7, 30, 8]
Generated Node #0,3: 88:[7, 30, 8] Operation: 77-69=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[7, 30, 8], Operations: ['77-69=8']
Exploring Operation: 7+30=37, Resulting Numbers: [8, 37]
Generated Node #0,3,0: 88:[8, 37] Operation: 7+30=37
Exploring Operation: 30+8=38, Resulting Numbers: [7, 38]
Generated Node #0,3,1: 88:[7, 38] Operation: 30+8=38
Exploring Operation: 30-8=22, Resulting Numbers: [7, 22]
Generated Node #0,3,2: 88:[7, 22] Operation: 30-8=22
Exploring Operation: 30-7=23, Resulting Numbers: [8, 23]
Generated Node #0,3,3: 88:[8, 23] Operation: 30-7=23
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[7, 22], Operations: ['77-69=8', '30-8=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,88 unequal: No Solution
No 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: 88:[8, 23], Operations: ['77-69=8', '30-7=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,88 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,88 unequal: No Solution
No 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: 88:[8, 37], Operations: ['77-69=8', '7+30=37']
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,88 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,88 unequal: No Solution
No 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: 88:[7, 38], Operations: ['77-69=8', '30+8=38']
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,88 unequal: No Solution
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,88 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: 88:[7, 77, 39], Operations: ['69-30=39']
Exploring Operation: 77-39=38, Resulting Numbers: [7, 38]
Generated Node #0,2,0: 88:[7, 38] Operation: 77-39=38
Exploring Operation: 77/7=11, Resulting Numbers: [39, 11]
Generated Node #0,2,1: 88:[39, 11] Operation: 77/7=11
Exploring Operation: 7+39=46, Resulting Numbers: [77, 46]
Generated Node #0,2,2: 88:[77, 46] Operation: 7+39=46
Exploring Operation: 7+77=84, Resulting Numbers: [39, 84]
Generated Node #0,2,3: 88:[39, 84] Operation: 7+77=84
Moving to Node #0,2,1
Current State: 88:[39, 11], Operations: ['69-30=39', '77/7=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[7, 38], Operations: ['69-30=39', '77-39=38']
Exploring Operation: 7+38=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 7*38=266, Resulting Numbers: [266]
266,88 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[39, 84], Operations: ['69-30=39', '7+77=84']
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[77, 46], Operations: ['69-30=39', '7+39=46']
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,88 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,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:[7, 77, 99], Operations: ['69+30=99']
Exploring Operation: 99-77=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 88:[7, 22] Operation: 99-77=22
Exploring Operation: 7+77=84, Resulting Numbers: [99, 84]
Generated Node #0,0,1: 88:[99, 84] Operation: 7+77=84
Exploring Operation: 77/7=11, Resulting Numbers: [99, 11]
Generated Node #0,0,2: 88:[99, 11] Operation: 77/7=11
Exploring Operation: 99-7=92, Resulting Numbers: [77, 92]
Generated Node #0,0,3: 88:[77, 92] Operation: 99-7=92
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[7, 22], Operations: ['69+30=99', '99-77=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,88 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,88 unequal: No Solution
No 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: 88:[99, 11], Operations: ['69+30=99', '77/7=11']
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,88 unequal: No Solution
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[7, 69, 77, 30], Operations: []
Exploring Operation: 69+30=99, Resulting Numbers: [7, 77, 99]
Generated Node #0,0: 88:[7, 77, 99] Operation: 69+30=99
Moving to Node #0,0
Current State: 88:[7, 77, 99], Operations: ['69+30=99']
Exploring Operation: 77/7=11, Resulting Numbers: [99, 11]
Generated Node #0,0,2: 88:[99, 11] Operation: 77/7=11
Moving to Node #0,0,2
Current State: 88:[99, 11], Operations: ['69+30=99', '77/7=11']
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.956597 | hs_4 | mult_heuristic |
[
4,
15,
42,
22
] | 95 | [
"42-22=20",
"4*20=80",
"15+80=95"
] | Current State: 95:[4, 15, 42, 22], Operations: []
Exploring Operation: 42-22=20, Resulting Numbers: [4, 15, 20]
Generated Node #2: [4, 15, 20] from Operation: 42-22=20
Current State: 95:[4, 15, 20], Operations: ['42-22=20']
Exploring Operation: 4*20=80, Resulting Numbers: [15, 80]
Generated Node #3: [15, 80] from Operation: 4*20=80
Current State: 95:[15, 80], Operations: ['42-22=20', '4*20=80']
Exploring Operation: 15+80=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[4, 15, 42, 22], Operations: []
Exploring Operation: 4+15=19, Resulting Numbers: [42, 22, 19]
Generated Node #0,0: 95:[42, 22, 19] Operation: 4+15=19
Exploring Operation: 42-15=27, Resulting Numbers: [4, 22, 27]
Generated Node #0,1: 95:[4, 22, 27] Operation: 42-15=27
Exploring Operation: 42-22=20, Resulting Numbers: [4, 15, 20]
Generated Node #0,2: 95:[4, 15, 20] Operation: 42-22=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[4, 15, 20], Operations: ['42-22=20']
Exploring Operation: 4+15=19, Resulting Numbers: [20, 19]
Generated Node #0,2,0: 95:[20, 19] Operation: 4+15=19
Exploring Operation: 20/4=5, Resulting Numbers: [15, 5]
Generated Node #0,2,1: 95:[15, 5] Operation: 20/4=5
Exploring Operation: 20-15=5, Resulting Numbers: [4, 5]
Generated Node #0,2,2: 95:[4, 5] Operation: 20-15=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[20, 19], Operations: ['42-22=20', '4+15=19']
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,95 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[4, 5], Operations: ['42-22=20', '20-15=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[15, 5], Operations: ['42-22=20', '20/4=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[4, 22, 27], Operations: ['42-15=27']
Exploring Operation: 27-22=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 95:[4, 5] Operation: 27-22=5
Exploring Operation: 22-4=18, Resulting Numbers: [27, 18]
Generated Node #0,1,1: 95:[27, 18] Operation: 22-4=18
Exploring Operation: 27-4=23, Resulting Numbers: [22, 23]
Generated Node #0,1,2: 95:[22, 23] Operation: 27-4=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[4, 5], Operations: ['42-15=27', '27-22=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[22, 23], Operations: ['42-15=27', '27-4=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,95 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[27, 18], Operations: ['42-15=27', '22-4=18']
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,95 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[42, 22, 19], Operations: ['4+15=19']
Exploring Operation: 42-22=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 95:[19, 20] Operation: 42-22=20
Exploring Operation: 22-19=3, Resulting Numbers: [42, 3]
Generated Node #0,0,1: 95:[42, 3] Operation: 22-19=3
Exploring Operation: 42-19=23, Resulting Numbers: [22, 23]
Generated Node #0,0,2: 95:[22, 23] Operation: 42-19=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[19, 20], Operations: ['4+15=19', '42-22=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[22, 23], Operations: ['4+15=19', '42-19=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,95 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[42, 3], Operations: ['4+15=19', '22-19=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
95,
69,
32,
65
] | 64 | [
"95+65=160",
"160/32=5",
"69-5=64"
] | Current State: 64:[95, 69, 32, 65], Operations: []
Exploring Operation: 95+65=160, Resulting Numbers: [69, 32, 160]
Generated Node #2: [69, 32, 160] from Operation: 95+65=160
Current State: 64:[69, 32, 160], Operations: ['95+65=160']
Exploring Operation: 160/32=5, Resulting Numbers: [69, 5]
Generated Node #3: [69, 5] from Operation: 160/32=5
Current State: 64:[69, 5], Operations: ['95+65=160', '160/32=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[95, 69, 32, 65], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [32, 65, 26]
Generated Node #0,0: 64:[32, 65, 26] Operation: 95-69=26
Exploring Operation: 69-32=37, Resulting Numbers: [95, 65, 37]
Generated Node #0,1: 64:[95, 65, 37] Operation: 69-32=37
Exploring Operation: 95-32=63, Resulting Numbers: [69, 65, 63]
Generated Node #0,2: 64:[69, 65, 63] Operation: 95-32=63
Exploring Operation: 95-65=30, Resulting Numbers: [69, 32, 30]
Generated Node #0,3: 64:[69, 32, 30] Operation: 95-65=30
Exploring Operation: 69-65=4, Resulting Numbers: [95, 32, 4]
Generated Node #0,4: 64:[95, 32, 4] Operation: 69-65=4
Moving to Node #0,0
Current State: 64:[32, 65, 26], Operations: ['95-69=26']
Exploring Operation: 32+26=58, Resulting Numbers: [65, 58]
Generated Node #0,0,0: 64:[65, 58] Operation: 32+26=58
Exploring Operation: 32-26=6, Resulting Numbers: [65, 6]
Generated Node #0,0,1: 64:[65, 6] Operation: 32-26=6
Exploring Operation: 65-26=39, Resulting Numbers: [32, 39]
Generated Node #0,0,2: 64:[32, 39] Operation: 65-26=39
Exploring Operation: 65-32=33, Resulting Numbers: [26, 33]
Generated Node #0,0,3: 64:[26, 33] Operation: 65-32=33
Exploring Operation: 65+26=91, Resulting Numbers: [32, 91]
Generated Node #0,0,4: 64:[32, 91] Operation: 65+26=91
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[65, 6], Operations: ['95-69=26', '32-26=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,64 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[65, 58], Operations: ['95-69=26', '32+26=58']
Exploring Operation: 65+58=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 65*58=3770, Resulting Numbers: [3770]
3770,64 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[32, 39], Operations: ['95-69=26', '65-26=39']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[26, 33], Operations: ['95-69=26', '65-32=33']
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,64 unequal: No Solution
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 64:[32, 91], Operations: ['95-69=26', '65+26=91']
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 64:[69, 32, 30], Operations: ['95-65=30']
Exploring Operation: 69+30=99, Resulting Numbers: [32, 99]
Generated Node #0,3,0: 64:[32, 99] Operation: 69+30=99
Exploring Operation: 32+30=62, Resulting Numbers: [69, 62]
Generated Node #0,3,1: 64:[69, 62] Operation: 32+30=62
Exploring Operation: 69-30=39, Resulting Numbers: [32, 39]
Generated Node #0,3,2: 64:[32, 39] Operation: 69-30=39
Exploring Operation: 32-30=2, Resulting Numbers: [69, 2]
Generated Node #0,3,3: 64:[69, 2] Operation: 32-30=2
Exploring Operation: 69-32=37, Resulting Numbers: [30, 37]
Generated Node #0,3,4: 64:[30, 37] Operation: 69-32=37
Moving to Node #0,2
Current State: 64:[69, 65, 63], Operations: ['95-32=63']
Exploring Operation: 69-63=6, Resulting Numbers: [65, 6]
Generated Node #0,2,0: 64:[65, 6] Operation: 69-63=6
Exploring Operation: 65-63=2, Resulting Numbers: [69, 2]
Generated Node #0,2,1: 64:[69, 2] Operation: 65-63=2
Exploring Operation: 65+63=128, Resulting Numbers: [69, 128]
Generated Node #0,2,2: 64:[69, 128] Operation: 65+63=128
Exploring Operation: 69+63=132, Resulting Numbers: [65, 132]
Generated Node #0,2,3: 64:[65, 132] Operation: 69+63=132
Exploring Operation: 69-65=4, Resulting Numbers: [63, 4]
Generated Node #0,2,4: 64:[63, 4] Operation: 69-65=4
Moving to Node #0,4
Current State: 64:[95, 32, 4], Operations: ['69-65=4']
Exploring Operation: 95-4=91, Resulting Numbers: [32, 91]
Generated Node #0,4,0: 64:[32, 91] Operation: 95-4=91
Exploring Operation: 32/4=8, Resulting Numbers: [95, 8]
Generated Node #0,4,1: 64:[95, 8] Operation: 32/4=8
Exploring Operation: 95-32=63, Resulting Numbers: [4, 63]
Generated Node #0,4,2: 64:[4, 63] Operation: 95-32=63
Exploring Operation: 32+4=36, Resulting Numbers: [95, 36]
Generated Node #0,4,3: 64:[95, 36] Operation: 32+4=36
Exploring Operation: 95+4=99, Resulting Numbers: [32, 99]
Generated Node #0,4,4: 64:[32, 99] Operation: 95+4=99
Moving to Node #0,1
Current State: 64:[95, 65, 37], Operations: ['69-32=37']
Exploring Operation: 95-37=58, Resulting Numbers: [65, 58]
Generated Node #0,1,0: 64:[65, 58] Operation: 95-37=58
Exploring Operation: 95-65=30, Resulting Numbers: [37, 30]
Generated Node #0,1,1: 64:[37, 30] Operation: 95-65=30
Exploring Operation: 65-37=28, Resulting Numbers: [95, 28]
Generated Node #0,1,2: 64:[95, 28] Operation: 65-37=28
Exploring Operation: 65+37=102, Resulting Numbers: [95, 102]
Generated Node #0,1,3: 64:[95, 102] Operation: 65+37=102
Exploring Operation: 95+37=132, Resulting Numbers: [65, 132]
Generated Node #0,1,4: 64:[65, 132] Operation: 95+37=132
Moving to Node #0,2,4
Current State: 64:[63, 4], Operations: ['95-32=63', '69-65=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[4, 63], Operations: ['69-65=4', '95-32=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[65, 6], Operations: ['95-32=63', '69-63=6']
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,64 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[69, 2], Operations: ['95-65=30', '32-30=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[69, 2], Operations: ['95-32=63', '65-63=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,64 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[32, 39], Operations: ['95-65=30', '69-30=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[37, 30], Operations: ['69-32=37', '95-65=30']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[69, 62], Operations: ['95-65=30', '32+30=62']
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,64 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[30, 37], Operations: ['95-65=30', '69-32=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[65, 58], Operations: ['69-32=37', '95-37=58']
Exploring Operation: 65*58=3770, Resulting Numbers: [3770]
3770,64 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 65+58=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[32, 91], Operations: ['69-65=4', '95-4=91']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,64 unequal: No Solution
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[95, 8], Operations: ['69-65=4', '32/4=8']
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[32, 99], Operations: ['69-65=4', '95+4=99']
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,64 unequal: No Solution
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[32, 99], Operations: ['95-65=30', '69+30=99']
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,64 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[95, 28], Operations: ['69-32=37', '65-37=28']
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,64 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[95, 36], Operations: ['69-65=4', '32+4=36']
Exploring Operation: 95+36=131, Resulting Numbers: [131]
131,64 unequal: No Solution
Exploring Operation: 95*36=3420, Resulting Numbers: [3420]
3420,64 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[65, 132], Operations: ['95-32=63', '69+63=132']
Exploring Operation: 132-65=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 65+132=197, Resulting Numbers: [197]
197,64 unequal: No Solution
Exploring Operation: 65*132=8580, Resulting Numbers: [8580]
8580,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[69, 128], Operations: ['95-32=63', '65+63=128']
Exploring Operation: 69+128=197, Resulting Numbers: [197]
197,64 unequal: No Solution
Exploring Operation: 69*128=8832, Resulting Numbers: [8832]
8832,64 unequal: No Solution
Exploring Operation: 128-69=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[65, 132], Operations: ['69-32=37', '95+37=132']
Exploring Operation: 65*132=8580, Resulting Numbers: [8580]
8580,64 unequal: No Solution
Exploring Operation: 65+132=197, Resulting Numbers: [197]
197,64 unequal: No Solution
Exploring Operation: 132-65=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[95, 102], Operations: ['69-32=37', '65+37=102']
Exploring Operation: 102-95=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 95*102=9690, Resulting Numbers: [9690]
9690,64 unequal: No Solution
Exploring Operation: 95+102=197, Resulting Numbers: [197]
197,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
12,
90,
48
] | 22 | [
"90-2=88",
"48/12=4",
"88/4=22"
] | Current State: 22:[2, 12, 90, 48], Operations: []
Exploring Operation: 90-2=88, Resulting Numbers: [12, 48, 88]
Generated Node #2: [12, 48, 88] from Operation: 90-2=88
Current State: 22:[12, 48, 88], Operations: ['90-2=88']
Exploring Operation: 48/12=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 48/12=4
Current State: 22:[88, 4], Operations: ['90-2=88', '48/12=4']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 12, 90, 48], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [2, 12, 42]
Generated Node #0,0: 22:[2, 12, 42] Operation: 90-48=42
Exploring Operation: 48/12=4, Resulting Numbers: [2, 90, 4]
Generated Node #0,1: 22:[2, 90, 4] Operation: 48/12=4
Exploring Operation: 48/2=24, Resulting Numbers: [12, 90, 24]
Generated Node #0,2: 22:[12, 90, 24] Operation: 48/2=24
Exploring Operation: 90/2=45, Resulting Numbers: [12, 48, 45]
Generated Node #0,3: 22:[12, 48, 45] Operation: 90/2=45
Moving to Node #0,0
Current State: 22:[2, 12, 42], Operations: ['90-48=42']
Exploring Operation: 42-12=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 22:[2, 30] Operation: 42-12=30
Exploring Operation: 42/2=21, Resulting Numbers: [12, 21]
Generated Node #0,0,1: 22:[12, 21] Operation: 42/2=21
Exploring Operation: 42-2=40, Resulting Numbers: [12, 40]
Generated Node #0,0,2: 22:[12, 40] Operation: 42-2=40
Exploring Operation: 12-2=10, Resulting Numbers: [42, 10]
Generated Node #0,0,3: 22:[42, 10] Operation: 12-2=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[12, 21], Operations: ['90-48=42', '42/2=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,22 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[2, 30], Operations: ['90-48=42', '42-12=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[12, 40], Operations: ['90-48=42', '42-2=40']
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,22 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[42, 10], Operations: ['90-48=42', '12-2=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,22 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,22 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: 22:[12, 48, 45], Operations: ['90/2=45']
Exploring Operation: 45-12=33, Resulting Numbers: [48, 33]
Generated Node #0,3,0: 22:[48, 33] Operation: 45-12=33
Exploring Operation: 48/12=4, Resulting Numbers: [45, 4]
Generated Node #0,3,1: 22:[45, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [45, 36]
Generated Node #0,3,2: 22:[45, 36] Operation: 48-12=36
Exploring Operation: 48-45=3, Resulting Numbers: [12, 3]
Generated Node #0,3,3: 22:[12, 3] Operation: 48-45=3
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[12, 3], Operations: ['90/2=45', '48-45=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[45, 4], Operations: ['90/2=45', '48/12=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[48, 33], Operations: ['90/2=45', '45-12=33']
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 22:[45, 36], Operations: ['90/2=45', '48-12=36']
Exploring Operation: 45+36=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 45*36=1620, Resulting Numbers: [1620]
1620,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 22:[2, 90, 4], Operations: ['48/12=4']
Exploring Operation: 90-2=88, Resulting Numbers: [4, 88]
Generated Node #0,1,0: 22:[4, 88] Operation: 90-2=88
Exploring Operation: 90-4=86, Resulting Numbers: [2, 86]
Generated Node #0,1,1: 22:[2, 86] Operation: 90-4=86
Exploring Operation: 4-2=2, Resulting Numbers: [90, 2]
Generated Node #0,1,2: 22:[90, 2] Operation: 4-2=2
Exploring Operation: 90/2=45, Resulting Numbers: [4, 45]
Generated Node #0,1,3: 22:[4, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 22:[4, 45], Operations: ['48/12=4', '90/2=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,22 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[2, 86], Operations: ['48/12=4', '90-4=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[4, 88], Operations: ['48/12=4', '90-2=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[2, 12, 90, 48], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [2, 90, 4]
Generated Node #0,1: 22:[2, 90, 4] Operation: 48/12=4
Moving to Node #0,1
Current State: 22:[2, 90, 4], Operations: ['48/12=4']
Exploring Operation: 90-2=88, Resulting Numbers: [4, 88]
Generated Node #0,1,0: 22:[4, 88] Operation: 90-2=88
Moving to Node #0,1,0
Current State: 22:[4, 88], Operations: ['48/12=4', '90-2=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_4 | sum_heuristic |
[
73,
15,
6,
20
] | 65 | [
"6*20=120",
"120/15=8",
"73-8=65"
] | Current State: 65:[73, 15, 6, 20], Operations: []
Exploring Operation: 6*20=120, Resulting Numbers: [73, 15, 120]
Generated Node #2: [73, 15, 120] from Operation: 6*20=120
Current State: 65:[73, 15, 120], Operations: ['6*20=120']
Exploring Operation: 120/15=8, Resulting Numbers: [73, 8]
Generated Node #3: [73, 8] from Operation: 120/15=8
Current State: 65:[73, 8], Operations: ['6*20=120', '120/15=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[73, 15, 6, 20], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [73, 6, 5]
Generated Node #0,0: 65:[73, 6, 5] Operation: 20-15=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[73, 6, 5], Operations: ['20-15=5']
Exploring Operation: 73-6=67, Resulting Numbers: [5, 67]
Generated Node #0,0,0: 65:[5, 67] Operation: 73-6=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[5, 67], Operations: ['20-15=5', '73-6=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,65 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 |
[
17,
32,
36,
35
] | 30 | [
"35-17=18",
"36/18=2",
"32-2=30"
] | Current State: 30:[17, 32, 36, 35], Operations: []
Exploring Operation: 35-17=18, Resulting Numbers: [32, 36, 18]
Generated Node #2: [32, 36, 18] from Operation: 35-17=18
Current State: 30:[32, 36, 18], Operations: ['35-17=18']
Exploring Operation: 36/18=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 36/18=2
Current State: 30:[32, 2], Operations: ['35-17=18', '36/18=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 32, 36, 35], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [17, 36, 3]
Generated Node #0,0: 30:[17, 36, 3] Operation: 35-32=3
Exploring Operation: 36-35=1, Resulting Numbers: [17, 32, 1]
Generated Node #0,1: 30:[17, 32, 1] Operation: 36-35=1
Exploring Operation: 36-32=4, Resulting Numbers: [17, 35, 4]
Generated Node #0,2: 30:[17, 35, 4] Operation: 36-32=4
Exploring Operation: 32-17=15, Resulting Numbers: [36, 35, 15]
Generated Node #0,3: 30:[36, 35, 15] Operation: 32-17=15
Exploring Operation: 36-17=19, Resulting Numbers: [32, 35, 19]
Generated Node #0,4: 30:[32, 35, 19] Operation: 36-17=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[17, 32, 1], Operations: ['36-35=1']
Exploring Operation: 17-1=16, Resulting Numbers: [32, 16]
Generated Node #0,1,0: 30:[32, 16] Operation: 17-1=16
Exploring Operation: 17*1=17, Resulting Numbers: [32, 17]
Generated Node #0,1,1: 30:[32, 17] Operation: 17*1=17
Exploring Operation: 17/1=17, Resulting Numbers: [32, 17]
Generated Node #0,1,2: 30:[32, 17] Operation: 17/1=17
Exploring Operation: 32-1=31, Resulting Numbers: [17, 31]
Generated Node #0,1,3: 30:[17, 31] Operation: 32-1=31
Exploring Operation: 32-17=15, Resulting Numbers: [1, 15]
Generated Node #0,1,4: 30:[1, 15] Operation: 32-17=15
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 30:[1, 15], Operations: ['36-35=1', '32-17=15']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[32, 16], Operations: ['36-35=1', '17-1=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,30 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[17, 31], Operations: ['36-35=1', '32-1=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,30 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[32, 17], Operations: ['36-35=1', '17*1=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[32, 17], Operations: ['36-35=1', '17/1=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,30 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,30 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: 30:[17, 36, 3], Operations: ['35-32=3']
Exploring Operation: 17-3=14, Resulting Numbers: [36, 14]
Generated Node #0,0,0: 30:[36, 14] Operation: 17-3=14
Exploring Operation: 36/3=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 30:[17, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [17, 33]
Generated Node #0,0,2: 30:[17, 33] Operation: 36-3=33
Exploring Operation: 17+3=20, Resulting Numbers: [36, 20]
Generated Node #0,0,3: 30:[36, 20] Operation: 17+3=20
Exploring Operation: 36-17=19, Resulting Numbers: [3, 19]
Generated Node #0,0,4: 30:[3, 19] Operation: 36-17=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[17, 12], Operations: ['35-32=3', '36/3=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,30 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 30:[3, 19], Operations: ['35-32=3', '36-17=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[17, 33], Operations: ['35-32=3', '36-3=33']
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,30 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[36, 14], Operations: ['35-32=3', '17-3=14']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,30 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 30:[36, 20], Operations: ['35-32=3', '17+3=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,30 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,30 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: 30:[17, 35, 4], Operations: ['36-32=4']
Exploring Operation: 17-4=13, Resulting Numbers: [35, 13]
Generated Node #0,2,0: 30:[35, 13] Operation: 17-4=13
Exploring Operation: 35-4=31, Resulting Numbers: [17, 31]
Generated Node #0,2,1: 30:[17, 31] Operation: 35-4=31
Exploring Operation: 35-17=18, Resulting Numbers: [4, 18]
Generated Node #0,2,2: 30:[4, 18] Operation: 35-17=18
Exploring Operation: 17+4=21, Resulting Numbers: [35, 21]
Generated Node #0,2,3: 30:[35, 21] Operation: 17+4=21
Exploring Operation: 35+4=39, Resulting Numbers: [17, 39]
Generated Node #0,2,4: 30:[17, 39] Operation: 35+4=39
Moving to Node #0,2,1
Current State: 30:[17, 31], Operations: ['36-32=4', '35-4=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,30 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[4, 18], Operations: ['36-32=4', '35-17=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[35, 13], Operations: ['36-32=4', '17-4=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[35, 21], Operations: ['36-32=4', '17+4=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,30 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Moving to Node #0,2,4
Current State: 30:[17, 39], Operations: ['36-32=4', '35+4=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,30 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[36, 35, 15], Operations: ['32-17=15']
Exploring Operation: 35-15=20, Resulting Numbers: [36, 20]
Generated Node #0,3,0: 30:[36, 20] Operation: 35-15=20
Exploring Operation: 35+15=50, Resulting Numbers: [36, 50]
Generated Node #0,3,1: 30:[36, 50] Operation: 35+15=50
Exploring Operation: 36+15=51, Resulting Numbers: [35, 51]
Generated Node #0,3,2: 30:[35, 51] Operation: 36+15=51
Exploring Operation: 36-15=21, Resulting Numbers: [35, 21]
Generated Node #0,3,3: 30:[35, 21] Operation: 36-15=21
Exploring Operation: 36-35=1, Resulting Numbers: [15, 1]
Generated Node #0,3,4: 30:[15, 1] Operation: 36-35=1
Moving to Node #0,3,4
Current State: 30:[15, 1], Operations: ['32-17=15', '36-35=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[35, 21], Operations: ['32-17=15', '36-15=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,30 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[36, 20], Operations: ['32-17=15', '35-15=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,30 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[36, 50], Operations: ['32-17=15', '35+15=50']
Exploring Operation: 36+50=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 36*50=1800, Resulting Numbers: [1800]
1800,30 unequal: No Solution
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[35, 51], Operations: ['32-17=15', '36+15=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,30 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[32, 35, 19], Operations: ['36-17=19']
Exploring Operation: 32+19=51, Resulting Numbers: [35, 51]
Generated Node #0,4,0: 30:[35, 51] Operation: 32+19=51
Exploring Operation: 35-32=3, Resulting Numbers: [19, 3]
Generated Node #0,4,1: 30:[19, 3] Operation: 35-32=3
Exploring Operation: 35+19=54, Resulting Numbers: [32, 54]
Generated Node #0,4,2: 30:[32, 54] Operation: 35+19=54
Exploring Operation: 32-19=13, Resulting Numbers: [35, 13]
Generated Node #0,4,3: 30:[35, 13] Operation: 32-19=13
Exploring Operation: 35-19=16, Resulting Numbers: [32, 16]
Generated Node #0,4,4: 30:[32, 16] Operation: 35-19=16
Moving to Node #0,4,4
Current State: 30:[32, 16], Operations: ['36-17=19', '35-19=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,30 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[19, 3], Operations: ['36-17=19', '35-32=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[35, 13], Operations: ['36-17=19', '32-19=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,30 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[35, 51], Operations: ['36-17=19', '32+19=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[32, 54], Operations: ['36-17=19', '35+19=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,30 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,30 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.