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 |
|---|---|---|---|---|---|---|---|---|
[
3,
72,
3,
30
] | 79 | [
"72-3=69",
"30/3=10",
"69+10=79"
] | Current State: 79:[3, 72, 3, 30], Operations: []
Exploring Operation: 72-3=69, Resulting Numbers: [30, 69]
Generated Node #2: [30, 69] from Operation: 72-3=69
Current State: 79:[30, 69], Operations: ['72-3=69']
Exploring Operation: 30/3=10, Resulting Numbers: [69, 10]
Generated Node #3: [69, 10] from Operation: 30/3=10
Current State: 79:[69, 10], Operations: ['72-3=69', '30/3=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[3, 72, 3, 30], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [72, 30, 9]
Generated Node #0,0: 79:[72, 30, 9] Operation: 3*3=9
Exploring Operation: 3+72=75, Resulting Numbers: [3, 30, 75]
Generated Node #0,1: 79:[3, 30, 75] Operation: 3+72=75
Exploring Operation: 3*30=90, Resulting Numbers: [72, 3, 90]
Generated Node #0,2: 79:[72, 3, 90] Operation: 3*30=90
Exploring Operation: 3*30=90, Resulting Numbers: [3, 72, 90]
Generated Node #0,3: 79:[3, 72, 90] Operation: 3*30=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[72, 3, 90], Operations: ['3*30=90']
Exploring Operation: 90-3=87, Resulting Numbers: [72, 87]
Generated Node #0,2,0: 79:[72, 87] Operation: 90-3=87
Exploring Operation: 72+3=75, Resulting Numbers: [90, 75]
Generated Node #0,2,1: 79:[90, 75] Operation: 72+3=75
Exploring Operation: 3+90=93, Resulting Numbers: [72, 93]
Generated Node #0,2,2: 79:[72, 93] Operation: 3+90=93
Exploring Operation: 72-3=69, Resulting Numbers: [90, 69]
Generated Node #0,2,3: 79:[90, 69] Operation: 72-3=69
Moving to Node #0,2,0
Current State: 79:[72, 87], Operations: ['3*30=90', '90-3=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[90, 75], Operations: ['3*30=90', '72+3=75']
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[90, 69], Operations: ['3*30=90', '72-3=69']
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,79 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[72, 93], Operations: ['3*30=90', '3+90=93']
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,79 unequal: No Solution
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[3, 72, 90], Operations: ['3*30=90']
Exploring Operation: 3+72=75, Resulting Numbers: [90, 75]
Generated Node #0,3,0: 79:[90, 75] Operation: 3+72=75
Exploring Operation: 3+90=93, Resulting Numbers: [72, 93]
Generated Node #0,3,1: 79:[72, 93] Operation: 3+90=93
Exploring Operation: 90-3=87, Resulting Numbers: [72, 87]
Generated Node #0,3,2: 79:[72, 87] Operation: 90-3=87
Exploring Operation: 72-3=69, Resulting Numbers: [90, 69]
Generated Node #0,3,3: 79:[90, 69] Operation: 72-3=69
Moving to Node #0,3,0
Current State: 79:[90, 75], Operations: ['3*30=90', '3+72=75']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[72, 87], Operations: ['3*30=90', '90-3=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[90, 69], Operations: ['3*30=90', '72-3=69']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,79 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,79 unequal: No Solution
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[72, 93], Operations: ['3*30=90', '3+90=93']
Exploring Operation: 72+93=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 72*93=6696, Resulting Numbers: [6696]
6696,79 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[72, 30, 9], Operations: ['3*3=9']
Exploring Operation: 30-9=21, Resulting Numbers: [72, 21]
Generated Node #0,0,0: 79:[72, 21] Operation: 30-9=21
Exploring Operation: 72-9=63, Resulting Numbers: [30, 63]
Generated Node #0,0,1: 79:[30, 63] Operation: 72-9=63
Exploring Operation: 72+9=81, Resulting Numbers: [30, 81]
Generated Node #0,0,2: 79:[30, 81] Operation: 72+9=81
Exploring Operation: 30+9=39, Resulting Numbers: [72, 39]
Generated Node #0,0,3: 79:[72, 39] Operation: 30+9=39
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[72, 39], Operations: ['3*3=9', '30+9=39']
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,79 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[30, 81], Operations: ['3*3=9', '72+9=81']
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,79 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[72, 21], Operations: ['3*3=9', '30-9=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[30, 63], Operations: ['3*3=9', '72-9=63']
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,79 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,79 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[3, 30, 75], Operations: ['3+72=75']
Exploring Operation: 30-3=27, Resulting Numbers: [75, 27]
Generated Node #0,1,0: 79:[75, 27] Operation: 30-3=27
Exploring Operation: 3+30=33, Resulting Numbers: [75, 33]
Generated Node #0,1,1: 79:[75, 33] Operation: 3+30=33
Exploring Operation: 3+75=78, Resulting Numbers: [30, 78]
Generated Node #0,1,2: 79:[30, 78] Operation: 3+75=78
Exploring Operation: 3*30=90, Resulting Numbers: [75, 90]
Generated Node #0,1,3: 79:[75, 90] Operation: 3*30=90
Moving to Node #0,1,3
Current State: 79:[75, 90], Operations: ['3+72=75', '3*30=90']
Exploring Operation: 75+90=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Exploring Operation: 75*90=6750, Resulting Numbers: [6750]
6750,79 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[30, 78], Operations: ['3+72=75', '3+75=78']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[75, 33], Operations: ['3+72=75', '3+30=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,79 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[75, 27], Operations: ['3+72=75', '30-3=27']
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,79 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,79 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 |
[
95,
7,
39,
35
] | 92 | [
"95-7=88",
"39-35=4",
"88+4=92"
] | Current State: 92:[95, 7, 39, 35], Operations: []
Exploring Operation: 95-7=88, Resulting Numbers: [39, 35, 88]
Generated Node #2: [39, 35, 88] from Operation: 95-7=88
Current State: 92:[39, 35, 88], Operations: ['95-7=88']
Exploring Operation: 39-35=4, Resulting Numbers: [88, 4]
Generated Node #3: [88, 4] from Operation: 39-35=4
Current State: 92:[88, 4], Operations: ['95-7=88', '39-35=4']
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[95, 7, 39, 35], Operations: []
Exploring Operation: 7+39=46, Resulting Numbers: [95, 35, 46]
Generated Node #0,0: 92:[95, 35, 46] Operation: 7+39=46
Exploring Operation: 35/7=5, Resulting Numbers: [95, 39, 5]
Generated Node #0,1: 92:[95, 39, 5] Operation: 35/7=5
Exploring Operation: 39-35=4, Resulting Numbers: [95, 7, 4]
Generated Node #0,2: 92:[95, 7, 4] Operation: 39-35=4
Moving to Node #0,2
Current State: 92:[95, 7, 4], Operations: ['39-35=4']
Exploring Operation: 95-4=91, Resulting Numbers: [7, 91]
Generated Node #0,2,0: 92:[7, 91] Operation: 95-4=91
Exploring Operation: 7-4=3, Resulting Numbers: [95, 3]
Generated Node #0,2,1: 92:[95, 3] Operation: 7-4=3
Exploring Operation: 95-7=88, Resulting Numbers: [4, 88]
Generated Node #0,2,2: 92:[4, 88] Operation: 95-7=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[7, 91], Operations: ['39-35=4', '95-4=91']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[95, 3], Operations: ['39-35=4', '7-4=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[95, 7, 39, 35], Operations: []
Exploring Operation: 39-35=4, Resulting Numbers: [95, 7, 4]
Generated Node #0,2: 92:[95, 7, 4] Operation: 39-35=4
Moving to Node #0,2
Current State: 92:[95, 7, 4], Operations: ['39-35=4']
Exploring Operation: 7-4=3, Resulting Numbers: [95, 3]
Generated Node #0,2,1: 92:[95, 3] Operation: 7-4=3
Moving to Node #0,2,1
Current State: 92:[95, 3], Operations: ['39-35=4', '7-4=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
98,
95,
51,
34
] | 51 | [
"98-95=3",
"51-34=17",
"3*17=51"
] | Current State: 51:[98, 95, 51, 34], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [51, 34, 3]
Generated Node #2: [51, 34, 3] from Operation: 98-95=3
Current State: 51:[51, 34, 3], Operations: ['98-95=3']
Exploring Operation: 51-34=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 51-34=17
Current State: 51:[3, 17], Operations: ['98-95=3', '51-34=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[98, 95, 51, 34], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [98, 51, 61]
Generated Node #0,0: 51:[98, 51, 61] Operation: 95-34=61
Exploring Operation: 98-34=64, Resulting Numbers: [95, 51, 64]
Generated Node #0,1: 51:[95, 51, 64] Operation: 98-34=64
Exploring Operation: 98-95=3, Resulting Numbers: [51, 34, 3]
Generated Node #0,2: 51:[51, 34, 3] Operation: 98-95=3
Moving to Node #0,2
Current State: 51:[51, 34, 3], Operations: ['98-95=3']
Exploring Operation: 51-34=17, Resulting Numbers: [3, 17]
Generated Node #0,2,0: 51:[3, 17] Operation: 51-34=17
Exploring Operation: 34-3=31, Resulting Numbers: [51, 31]
Generated Node #0,2,1: 51:[51, 31] Operation: 34-3=31
Exploring Operation: 34+3=37, Resulting Numbers: [51, 37]
Generated Node #0,2,2: 51:[51, 37] Operation: 34+3=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[3, 17], Operations: ['98-95=3', '51-34=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,51 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[98, 95, 51, 34], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [51, 34, 3]
Generated Node #0,2: 51:[51, 34, 3] Operation: 98-95=3
Moving to Node #0,2
Current State: 51:[51, 34, 3], Operations: ['98-95=3']
Exploring Operation: 51-34=17, Resulting Numbers: [3, 17]
Generated Node #0,2,0: 51:[3, 17] Operation: 51-34=17
Moving to Node #0,2,0
Current State: 51:[3, 17], Operations: ['98-95=3', '51-34=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
44,
25,
31,
60
] | 34 | [
"31-25=6",
"60/6=10",
"44-10=34"
] | Current State: 34:[44, 25, 31, 60], Operations: []
Exploring Operation: 31-25=6, Resulting Numbers: [44, 60, 6]
Generated Node #2: [44, 60, 6] from Operation: 31-25=6
Current State: 34:[44, 60, 6], Operations: ['31-25=6']
Exploring Operation: 60/6=10, Resulting Numbers: [44, 10]
Generated Node #3: [44, 10] from Operation: 60/6=10
Current State: 34:[44, 10], Operations: ['31-25=6', '60/6=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[44, 25, 31, 60], Operations: []
Exploring Operation: 60-44=16, Resulting Numbers: [25, 31, 16]
Generated Node #0,0: 34:[25, 31, 16] Operation: 60-44=16
Exploring Operation: 44-25=19, Resulting Numbers: [31, 60, 19]
Generated Node #0,1: 34:[31, 60, 19] Operation: 44-25=19
Exploring Operation: 60-31=29, Resulting Numbers: [44, 25, 29]
Generated Node #0,2: 34:[44, 25, 29] Operation: 60-31=29
Exploring Operation: 60-25=35, Resulting Numbers: [44, 31, 35]
Generated Node #0,3: 34:[44, 31, 35] Operation: 60-25=35
Moving to Node #0,0
Current State: 34:[25, 31, 16], Operations: ['60-44=16']
Exploring Operation: 25+16=41, Resulting Numbers: [31, 41]
Generated Node #0,0,0: 34:[31, 41] Operation: 25+16=41
Exploring Operation: 31-25=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 34:[16, 6] Operation: 31-25=6
Exploring Operation: 31-16=15, Resulting Numbers: [25, 15]
Generated Node #0,0,2: 34:[25, 15] Operation: 31-16=15
Exploring Operation: 25-16=9, Resulting Numbers: [31, 9]
Generated Node #0,0,3: 34:[31, 9] Operation: 25-16=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[16, 6], Operations: ['60-44=16', '31-25=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[31, 41], Operations: ['60-44=16', '25+16=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,34 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[25, 15], Operations: ['60-44=16', '31-16=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,34 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[31, 9], Operations: ['60-44=16', '25-16=9']
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,34 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,34 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: 34:[44, 31, 35], Operations: ['60-25=35']
Exploring Operation: 44-35=9, Resulting Numbers: [31, 9]
Generated Node #0,3,0: 34:[31, 9] Operation: 44-35=9
Exploring Operation: 44-31=13, Resulting Numbers: [35, 13]
Generated Node #0,3,1: 34:[35, 13] Operation: 44-31=13
Exploring Operation: 44+31=75, Resulting Numbers: [35, 75]
Generated Node #0,3,2: 34:[35, 75] Operation: 44+31=75
Exploring Operation: 35-31=4, Resulting Numbers: [44, 4]
Generated Node #0,3,3: 34:[44, 4] Operation: 35-31=4
Moving to Node #0,2
Current State: 34:[44, 25, 29], Operations: ['60-31=29']
Exploring Operation: 44-25=19, Resulting Numbers: [29, 19]
Generated Node #0,2,0: 34:[29, 19] Operation: 44-25=19
Exploring Operation: 44-29=15, Resulting Numbers: [25, 15]
Generated Node #0,2,1: 34:[25, 15] Operation: 44-29=15
Exploring Operation: 29-25=4, Resulting Numbers: [44, 4]
Generated Node #0,2,2: 34:[44, 4] Operation: 29-25=4
Exploring Operation: 25+29=54, Resulting Numbers: [44, 54]
Generated Node #0,2,3: 34:[44, 54] Operation: 25+29=54
Moving to Node #0,1
Current State: 34:[31, 60, 19], Operations: ['44-25=19']
Exploring Operation: 60-31=29, Resulting Numbers: [19, 29]
Generated Node #0,1,0: 34:[19, 29] Operation: 60-31=29
Exploring Operation: 31+19=50, Resulting Numbers: [60, 50]
Generated Node #0,1,1: 34:[60, 50] Operation: 31+19=50
Exploring Operation: 60-19=41, Resulting Numbers: [31, 41]
Generated Node #0,1,2: 34:[31, 41] Operation: 60-19=41
Exploring Operation: 31-19=12, Resulting Numbers: [60, 12]
Generated Node #0,1,3: 34:[60, 12] Operation: 31-19=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[19, 29], Operations: ['44-25=19', '60-31=29']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,34 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[31, 41], Operations: ['44-25=19', '60-19=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,34 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[60, 12], Operations: ['44-25=19', '31-19=12']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 60+12=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 60*12=720, Resulting Numbers: [720]
720,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[60, 50], Operations: ['44-25=19', '31+19=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,34 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 34:[35, 13], Operations: ['60-25=35', '44-31=13']
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,34 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[29, 19], Operations: ['60-31=29', '44-25=19']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[25, 15], Operations: ['60-31=29', '44-29=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,34 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[31, 9], Operations: ['60-25=35', '44-35=9']
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[44, 4], Operations: ['60-25=35', '35-31=4']
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,34 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[44, 4], Operations: ['60-31=29', '29-25=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,34 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[44, 54], Operations: ['60-31=29', '25+29=54']
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,34 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[35, 75], Operations: ['60-25=35', '44+31=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,34 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,34 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
68,
8,
51,
46
] | 90 | [
"68-51=17",
"8*17=136",
"136-46=90"
] | Current State: 90:[68, 8, 51, 46], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [8, 46, 17]
Generated Node #2: [8, 46, 17] from Operation: 68-51=17
Current State: 90:[8, 46, 17], Operations: ['68-51=17']
Exploring Operation: 8*17=136, Resulting Numbers: [46, 136]
Generated Node #3: [46, 136] from Operation: 8*17=136
Current State: 90:[46, 136], Operations: ['68-51=17', '8*17=136']
Exploring Operation: 136-46=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[68, 8, 51, 46], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [8, 46, 17]
Generated Node #0,0: 90:[8, 46, 17] Operation: 68-51=17
Exploring Operation: 68+8=76, Resulting Numbers: [51, 46, 76]
Generated Node #0,1: 90:[51, 46, 76] Operation: 68+8=76
Exploring Operation: 68-46=22, Resulting Numbers: [8, 51, 22]
Generated Node #0,2: 90:[8, 51, 22] Operation: 68-46=22
Moving to Node #0,0
Current State: 90:[8, 46, 17], Operations: ['68-51=17']
Exploring Operation: 46-17=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 90:[8, 29] Operation: 46-17=29
Exploring Operation: 17-8=9, Resulting Numbers: [46, 9]
Generated Node #0,0,1: 90:[46, 9] Operation: 17-8=9
Exploring Operation: 8+17=25, Resulting Numbers: [46, 25]
Generated Node #0,0,2: 90:[46, 25] Operation: 8+17=25
Moving to Node #0,2
Current State: 90:[8, 51, 22], Operations: ['68-46=22']
Exploring Operation: 8+22=30, Resulting Numbers: [51, 30]
Generated Node #0,2,0: 90:[51, 30] Operation: 8+22=30
Exploring Operation: 51-8=43, Resulting Numbers: [22, 43]
Generated Node #0,2,1: 90:[22, 43] Operation: 51-8=43
Exploring Operation: 51-22=29, Resulting Numbers: [8, 29]
Generated Node #0,2,2: 90:[8, 29] Operation: 51-22=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[8, 29], Operations: ['68-46=22', '51-22=29']
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,90 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[51, 30], Operations: ['68-46=22', '8+22=30']
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[22, 43], Operations: ['68-46=22', '51-8=43']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,90 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 90:[51, 46, 76], Operations: ['68+8=76']
Exploring Operation: 51-46=5, Resulting Numbers: [76, 5]
Generated Node #0,1,0: 90:[76, 5] Operation: 51-46=5
Exploring Operation: 76-51=25, Resulting Numbers: [46, 25]
Generated Node #0,1,1: 90:[46, 25] Operation: 76-51=25
Exploring Operation: 76-46=30, Resulting Numbers: [51, 30]
Generated Node #0,1,2: 90:[51, 30] Operation: 76-46=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[46, 25], Operations: ['68+8=76', '76-51=25']
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,90 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[51, 30], Operations: ['68+8=76', '76-46=30']
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 51*30=1530, Resulting Numbers: [1530]
1530,90 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[76, 5], Operations: ['68+8=76', '51-46=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,90 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,90 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 90:[46, 9], Operations: ['68-51=17', '17-8=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,90 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[8, 29], Operations: ['68-51=17', '46-17=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[46, 25], Operations: ['68-51=17', '8+17=25']
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,90 unequal: No Solution
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,90 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
75,
57,
59,
16
] | 93 | [
"75-57=18",
"59+16=75",
"18+75=93"
] | Current State: 93:[75, 57, 59, 16], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [59, 16, 18]
Generated Node #2: [59, 16, 18] from Operation: 75-57=18
Current State: 93:[59, 16, 18], Operations: ['75-57=18']
Exploring Operation: 59+16=75, Resulting Numbers: [18, 75]
Generated Node #3: [18, 75] from Operation: 59+16=75
Current State: 93:[18, 75], Operations: ['75-57=18', '59+16=75']
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[75, 57, 59, 16], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [75, 16, 2]
Generated Node #0,0: 93:[75, 16, 2] Operation: 59-57=2
Moving to Node #0,0
Current State: 93:[75, 16, 2], Operations: ['59-57=2']
Exploring Operation: 75+16=91, Resulting Numbers: [2, 91]
Generated Node #0,0,0: 93:[2, 91] Operation: 75+16=91
Moving to Node #0,0,0
Current State: 93:[2, 91], Operations: ['59-57=2', '75+16=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[75, 57, 59, 16], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [75, 16, 2]
Generated Node #0,0: 93:[75, 16, 2] Operation: 59-57=2
Moving to Node #0,0
Current State: 93:[75, 16, 2], Operations: ['59-57=2']
Exploring Operation: 75+16=91, Resulting Numbers: [2, 91]
Generated Node #0,0,0: 93:[2, 91] Operation: 75+16=91
Moving to Node #0,0,0
Current State: 93:[2, 91], Operations: ['59-57=2', '75+16=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
13,
72,
27,
5
] | 53 | [
"13+72=85",
"27+5=32",
"85-32=53"
] | Current State: 53:[13, 72, 27, 5], Operations: []
Exploring Operation: 13+72=85, Resulting Numbers: [27, 5, 85]
Generated Node #2: [27, 5, 85] from Operation: 13+72=85
Current State: 53:[27, 5, 85], Operations: ['13+72=85']
Exploring Operation: 27+5=32, Resulting Numbers: [85, 32]
Generated Node #3: [85, 32] from Operation: 27+5=32
Current State: 53:[85, 32], Operations: ['13+72=85', '27+5=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[13, 72, 27, 5], Operations: []
Exploring Operation: 13*5=65, Resulting Numbers: [72, 27, 65]
Generated Node #0,0: 53:[72, 27, 65] Operation: 13*5=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[72, 27, 65], Operations: ['13*5=65']
Exploring Operation: 72-27=45, Resulting Numbers: [65, 45]
Generated Node #0,0,0: 53:[65, 45] Operation: 72-27=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[65, 45], Operations: ['13*5=65', '72-27=45']
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,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 | mult_heuristic |
[
19,
62,
14,
96
] | 21 | [
"62-14=48",
"96/48=2",
"19+2=21"
] | Current State: 21:[19, 62, 14, 96], Operations: []
Exploring Operation: 62-14=48, Resulting Numbers: [19, 96, 48]
Generated Node #2: [19, 96, 48] from Operation: 62-14=48
Current State: 21:[19, 96, 48], Operations: ['62-14=48']
Exploring Operation: 96/48=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 96/48=2
Current State: 21:[19, 2], Operations: ['62-14=48', '96/48=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[19, 62, 14, 96], Operations: []
Exploring Operation: 96-62=34, Resulting Numbers: [19, 14, 34]
Generated Node #0,0: 21:[19, 14, 34] Operation: 96-62=34
Exploring Operation: 62-19=43, Resulting Numbers: [14, 96, 43]
Generated Node #0,1: 21:[14, 96, 43] Operation: 62-19=43
Moving to Node #0,0
Current State: 21:[19, 14, 34], Operations: ['96-62=34']
Exploring Operation: 34-19=15, Resulting Numbers: [14, 15]
Generated Node #0,0,0: 21:[14, 15] Operation: 34-19=15
Exploring Operation: 34-14=20, Resulting Numbers: [19, 20]
Generated Node #0,0,1: 21:[19, 20] Operation: 34-14=20
Moving to Node #0,1
Current State: 21:[14, 96, 43], Operations: ['62-19=43']
Exploring Operation: 96-14=82, Resulting Numbers: [43, 82]
Generated Node #0,1,0: 21:[43, 82] Operation: 96-14=82
Exploring Operation: 96-43=53, Resulting Numbers: [14, 53]
Generated Node #0,1,1: 21:[14, 53] Operation: 96-43=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[14, 53], Operations: ['62-19=43', '96-43=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,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,0
Current State: 21:[43, 82], Operations: ['62-19=43', '96-14=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,21 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 21:[19, 20], Operations: ['96-62=34', '34-14=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[14, 15], Operations: ['96-62=34', '34-19=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
1,
85,
47
] | 23 | [
"61*1=61",
"85-47=38",
"61-38=23"
] | Current State: 23:[61, 1, 85, 47], Operations: []
Exploring Operation: 61*1=61, Resulting Numbers: [85, 47, 61]
Generated Node #2: [85, 47, 61] from Operation: 61*1=61
Current State: 23:[85, 47, 61], Operations: ['61*1=61']
Exploring Operation: 85-47=38, Resulting Numbers: [61, 38]
Generated Node #3: [61, 38] from Operation: 85-47=38
Current State: 23:[61, 38], Operations: ['61*1=61', '85-47=38']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[61, 1, 85, 47], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [1, 47, 24]
Generated Node #0,0: 23:[1, 47, 24] Operation: 85-61=24
Exploring Operation: 61-47=14, Resulting Numbers: [1, 85, 14]
Generated Node #0,1: 23:[1, 85, 14] Operation: 61-47=14
Exploring Operation: 85-47=38, Resulting Numbers: [61, 1, 38]
Generated Node #0,2: 23:[61, 1, 38] Operation: 85-47=38
Exploring Operation: 61-1=60, Resulting Numbers: [85, 47, 60]
Generated Node #0,3: 23:[85, 47, 60] Operation: 61-1=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[1, 47, 24], Operations: ['85-61=24']
Exploring Operation: 1*47=47, Resulting Numbers: [24, 47]
Generated Node #0,0,0: 23:[24, 47] Operation: 1*47=47
Exploring Operation: 47-24=23, Resulting Numbers: [1, 23]
Generated Node #0,0,1: 23:[1, 23] Operation: 47-24=23
Exploring Operation: 24-1=23, Resulting Numbers: [47, 23]
Generated Node #0,0,2: 23:[47, 23] Operation: 24-1=23
Exploring Operation: 47-1=46, Resulting Numbers: [24, 46]
Generated Node #0,0,3: 23:[24, 46] Operation: 47-1=46
Moving to Node #0,0,1
Current State: 23:[1, 23], Operations: ['85-61=24', '47-24=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[61, 1, 85, 47], Operations: []
Exploring Operation: 85-61=24, Resulting Numbers: [1, 47, 24]
Generated Node #0,0: 23:[1, 47, 24] Operation: 85-61=24
Moving to Node #0,0
Current State: 23:[1, 47, 24], Operations: ['85-61=24']
Exploring Operation: 47-24=23, Resulting Numbers: [1, 23]
Generated Node #0,0,1: 23:[1, 23] Operation: 47-24=23
Moving to Node #0,0,1
Current State: 23:[1, 23], Operations: ['85-61=24', '47-24=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
61,
60,
10,
63
] | 31 | [
"63-60=3",
"10*3=30",
"61-30=31"
] | Current State: 31:[61, 60, 10, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [61, 10, 3]
Generated Node #2: [61, 10, 3] from Operation: 63-60=3
Current State: 31:[61, 10, 3], Operations: ['63-60=3']
Exploring Operation: 10*3=30, Resulting Numbers: [61, 30]
Generated Node #3: [61, 30] from Operation: 10*3=30
Current State: 31:[61, 30], Operations: ['63-60=3', '10*3=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[61, 60, 10, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [61, 10, 3]
Generated Node #0,0: 31:[61, 10, 3] Operation: 63-60=3
Exploring Operation: 63-61=2, Resulting Numbers: [60, 10, 2]
Generated Node #0,1: 31:[60, 10, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[61, 10, 3], Operations: ['63-60=3']
Exploring Operation: 10*3=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 31:[61, 30] Operation: 10*3=30
Exploring Operation: 61-10=51, Resulting Numbers: [3, 51]
Generated Node #0,0,1: 31:[3, 51] Operation: 61-10=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[61, 30], Operations: ['63-60=3', '10*3=30']
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,31 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[61, 60, 10, 63], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [61, 10, 3]
Generated Node #0,0: 31:[61, 10, 3] Operation: 63-60=3
Moving to Node #0,0
Current State: 31:[61, 10, 3], Operations: ['63-60=3']
Exploring Operation: 10*3=30, Resulting Numbers: [61, 30]
Generated Node #0,0,0: 31:[61, 30] Operation: 10*3=30
Moving to Node #0,0,0
Current State: 31:[61, 30], Operations: ['63-60=3', '10*3=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
75,
86,
74,
88
] | 82 | [
"86-75=11",
"88/11=8",
"74+8=82"
] | Current State: 82:[75, 86, 74, 88], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [74, 88, 11]
Generated Node #2: [74, 88, 11] from Operation: 86-75=11
Current State: 82:[74, 88, 11], Operations: ['86-75=11']
Exploring Operation: 88/11=8, Resulting Numbers: [74, 8]
Generated Node #3: [74, 8] from Operation: 88/11=8
Current State: 82:[74, 8], Operations: ['86-75=11', '88/11=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[75, 86, 74, 88], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [75, 74, 2]
Generated Node #0,0: 82:[75, 74, 2] Operation: 88-86=2
Exploring Operation: 86-75=11, Resulting Numbers: [74, 88, 11]
Generated Node #0,1: 82:[74, 88, 11] Operation: 86-75=11
Exploring Operation: 75-74=1, Resulting Numbers: [86, 88, 1]
Generated Node #0,2: 82:[86, 88, 1] Operation: 75-74=1
Exploring Operation: 88-75=13, Resulting Numbers: [86, 74, 13]
Generated Node #0,3: 82:[86, 74, 13] Operation: 88-75=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[86, 88, 1], Operations: ['75-74=1']
Exploring Operation: 88-1=87, Resulting Numbers: [86, 87]
Generated Node #0,2,0: 82:[86, 87] Operation: 88-1=87
Exploring Operation: 86*1=86, Resulting Numbers: [88, 86]
Generated Node #0,2,1: 82:[88, 86] Operation: 86*1=86
Exploring Operation: 86-1=85, Resulting Numbers: [88, 85]
Generated Node #0,2,2: 82:[88, 85] Operation: 86-1=85
Exploring Operation: 88-86=2, Resulting Numbers: [1, 2]
Generated Node #0,2,3: 82:[1, 2] Operation: 88-86=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 82:[1, 2], Operations: ['75-74=1', '88-86=2']
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,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:[86, 87], Operations: ['75-74=1', '88-1=87']
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 86+87=173, Resulting Numbers: [173]
173,82 unequal: No Solution
Exploring Operation: 86*87=7482, Resulting Numbers: [7482]
7482,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:[88, 85], Operations: ['75-74=1', '86-1=85']
Exploring Operation: 88+85=173, Resulting Numbers: [173]
173,82 unequal: No Solution
Exploring Operation: 88*85=7480, Resulting Numbers: [7480]
7480,82 unequal: No Solution
Exploring Operation: 88-85=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,2,1
Current State: 82:[88, 86], Operations: ['75-74=1', '86*1=86']
Exploring Operation: 88*86=7568, Resulting Numbers: [7568]
7568,82 unequal: No Solution
Exploring Operation: 88-86=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 88+86=174, Resulting Numbers: [174]
174,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[75, 74, 2], Operations: ['88-86=2']
Exploring Operation: 74+2=76, Resulting Numbers: [75, 76]
Generated Node #0,0,0: 82:[75, 76] Operation: 74+2=76
Exploring Operation: 74/2=37, Resulting Numbers: [75, 37]
Generated Node #0,0,1: 82:[75, 37] Operation: 74/2=37
Exploring Operation: 75-74=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 82:[2, 1] Operation: 75-74=1
Exploring Operation: 75+2=77, Resulting Numbers: [74, 77]
Generated Node #0,0,3: 82:[74, 77] Operation: 75+2=77
Moving to Node #0,0,2
Current State: 82:[2, 1], Operations: ['88-86=2', '75-74=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[75, 37], Operations: ['88-86=2', '74/2=37']
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,82 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[74, 77], Operations: ['88-86=2', '75+2=77']
Exploring Operation: 74*77=5698, Resulting Numbers: [5698]
5698,82 unequal: No Solution
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 74+77=151, Resulting Numbers: [151]
151,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[75, 76], Operations: ['88-86=2', '74+2=76']
Exploring Operation: 75*76=5700, Resulting Numbers: [5700]
5700,82 unequal: No Solution
Exploring Operation: 75+76=151, Resulting Numbers: [151]
151,82 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[74, 88, 11], Operations: ['86-75=11']
Exploring Operation: 88-11=77, Resulting Numbers: [74, 77]
Generated Node #0,1,0: 82:[74, 77] Operation: 88-11=77
Exploring Operation: 88-74=14, Resulting Numbers: [11, 14]
Generated Node #0,1,1: 82:[11, 14] Operation: 88-74=14
Exploring Operation: 74+11=85, Resulting Numbers: [88, 85]
Generated Node #0,1,2: 82:[88, 85] Operation: 74+11=85
Exploring Operation: 88/11=8, Resulting Numbers: [74, 8]
Generated Node #0,1,3: 82:[74, 8] Operation: 88/11=8
Moving to Node #0,1,2
Current State: 82:[88, 85], Operations: ['86-75=11', '74+11=85']
Exploring Operation: 88+85=173, Resulting Numbers: [173]
173,82 unequal: No Solution
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 88*85=7480, Resulting Numbers: [7480]
7480,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[74, 77], Operations: ['86-75=11', '88-11=77']
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 74+77=151, Resulting Numbers: [151]
151,82 unequal: No Solution
Exploring Operation: 74*77=5698, Resulting Numbers: [5698]
5698,82 unequal: No Solution
Moving to Node #0,1,3
Current State: 82:[74, 8], Operations: ['86-75=11', '88/11=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[75, 86, 74, 88], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [74, 88, 11]
Generated Node #0,1: 82:[74, 88, 11] Operation: 86-75=11
Moving to Node #0,1
Current State: 82:[74, 88, 11], Operations: ['86-75=11']
Exploring Operation: 88/11=8, Resulting Numbers: [74, 8]
Generated Node #0,1,3: 82:[74, 8] Operation: 88/11=8
Moving to Node #0,1,3
Current State: 82:[74, 8], Operations: ['86-75=11', '88/11=8']
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
46,
76,
80,
62
] | 12 | [
"76-46=30",
"80-62=18",
"30-18=12"
] | Current State: 12:[46, 76, 80, 62], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [80, 62, 30]
Generated Node #2: [80, 62, 30] from Operation: 76-46=30
Current State: 12:[80, 62, 30], Operations: ['76-46=30']
Exploring Operation: 80-62=18, Resulting Numbers: [30, 18]
Generated Node #3: [30, 18] from Operation: 80-62=18
Current State: 12:[30, 18], Operations: ['76-46=30', '80-62=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[46, 76, 80, 62], Operations: []
Exploring Operation: 76-46=30, Resulting Numbers: [80, 62, 30]
Generated Node #0,0: 12:[80, 62, 30] Operation: 76-46=30
Exploring Operation: 80-76=4, Resulting Numbers: [46, 62, 4]
Generated Node #0,1: 12:[46, 62, 4] Operation: 80-76=4
Exploring Operation: 80-62=18, Resulting Numbers: [46, 76, 18]
Generated Node #0,2: 12:[46, 76, 18] Operation: 80-62=18
Exploring Operation: 76-62=14, Resulting Numbers: [46, 80, 14]
Generated Node #0,3: 12:[46, 80, 14] Operation: 76-62=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[46, 62, 4], Operations: ['80-76=4']
Exploring Operation: 46+4=50, Resulting Numbers: [62, 50]
Generated Node #0,1,0: 12:[62, 50] Operation: 46+4=50
Exploring Operation: 46-4=42, Resulting Numbers: [62, 42]
Generated Node #0,1,1: 12:[62, 42] Operation: 46-4=42
Exploring Operation: 62-46=16, Resulting Numbers: [4, 16]
Generated Node #0,1,2: 12:[4, 16] Operation: 62-46=16
Exploring Operation: 62-4=58, Resulting Numbers: [46, 58]
Generated Node #0,1,3: 12:[46, 58] Operation: 62-4=58
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[4, 16], Operations: ['80-76=4', '62-46=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[46, 76, 80, 62], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [46, 62, 4]
Generated Node #0,1: 12:[46, 62, 4] Operation: 80-76=4
Moving to Node #0,1
Current State: 12:[46, 62, 4], Operations: ['80-76=4']
Exploring Operation: 62-46=16, Resulting Numbers: [4, 16]
Generated Node #0,1,2: 12:[4, 16] Operation: 62-46=16
Moving to Node #0,1,2
Current State: 12:[4, 16], Operations: ['80-76=4', '62-46=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
48,
44,
46,
70
] | 44 | [
"70-48=22",
"46-44=2",
"22*2=44"
] | Current State: 44:[48, 44, 46, 70], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [44, 46, 22]
Generated Node #2: [44, 46, 22] from Operation: 70-48=22
Current State: 44:[44, 46, 22], Operations: ['70-48=22']
Exploring Operation: 46-44=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 46-44=2
Current State: 44:[22, 2], Operations: ['70-48=22', '46-44=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[48, 44, 46, 70], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [48, 44, 24]
Generated Node #0,0: 44:[48, 44, 24] Operation: 70-46=24
Exploring Operation: 70-44=26, Resulting Numbers: [48, 46, 26]
Generated Node #0,1: 44:[48, 46, 26] Operation: 70-44=26
Exploring Operation: 70-48=22, Resulting Numbers: [44, 46, 22]
Generated Node #0,2: 44:[44, 46, 22] Operation: 70-48=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[44, 46, 22], Operations: ['70-48=22']
Exploring Operation: 44-22=22, Resulting Numbers: [46, 22]
Generated Node #0,2,0: 44:[46, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [46, 2]
Generated Node #0,2,1: 44:[46, 2] Operation: 44/22=2
Exploring Operation: 46-44=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 44:[22, 2] Operation: 46-44=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[22, 2], Operations: ['70-48=22', '46-44=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[48, 44, 46, 70], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [44, 46, 22]
Generated Node #0,2: 44:[44, 46, 22] Operation: 70-48=22
Moving to Node #0,2
Current State: 44:[44, 46, 22], Operations: ['70-48=22']
Exploring Operation: 46-44=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 44:[22, 2] Operation: 46-44=2
Moving to Node #0,2,2
Current State: 44:[22, 2], Operations: ['70-48=22', '46-44=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.990451 | hs_3 | sum_heuristic |
[
97,
26,
83,
30
] | 70 | [
"97+26=123",
"83-30=53",
"123-53=70"
] | Current State: 70:[97, 26, 83, 30], Operations: []
Exploring Operation: 97+26=123, Resulting Numbers: [83, 30, 123]
Generated Node #2: [83, 30, 123] from Operation: 97+26=123
Current State: 70:[83, 30, 123], Operations: ['97+26=123']
Exploring Operation: 83-30=53, Resulting Numbers: [123, 53]
Generated Node #3: [123, 53] from Operation: 83-30=53
Current State: 70:[123, 53], Operations: ['97+26=123', '83-30=53']
Exploring Operation: 123-53=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[97, 26, 83, 30], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [26, 30, 14]
Generated Node #0,0: 70:[26, 30, 14] Operation: 97-83=14
Exploring Operation: 83-26=57, Resulting Numbers: [97, 30, 57]
Generated Node #0,1: 70:[97, 30, 57] Operation: 83-26=57
Exploring Operation: 97-30=67, Resulting Numbers: [26, 83, 67]
Generated Node #0,2: 70:[26, 83, 67] Operation: 97-30=67
Exploring Operation: 30-26=4, Resulting Numbers: [97, 83, 4]
Generated Node #0,3: 70:[97, 83, 4] Operation: 30-26=4
Exploring Operation: 97-26=71, Resulting Numbers: [83, 30, 71]
Generated Node #0,4: 70:[83, 30, 71] Operation: 97-26=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[26, 30, 14], Operations: ['97-83=14']
Exploring Operation: 30-26=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 70:[14, 4] Operation: 30-26=4
Exploring Operation: 30-14=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 70:[26, 16] Operation: 30-14=16
Exploring Operation: 26+14=40, Resulting Numbers: [30, 40]
Generated Node #0,0,2: 70:[30, 40] Operation: 26+14=40
Exploring Operation: 26-14=12, Resulting Numbers: [30, 12]
Generated Node #0,0,3: 70:[30, 12] Operation: 26-14=12
Exploring Operation: 26+30=56, Resulting Numbers: [14, 56]
Generated Node #0,0,4: 70:[14, 56] Operation: 26+30=56
Moving to Node #0,0,0
Current State: 70:[14, 4], Operations: ['97-83=14', '30-26=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[30, 12], Operations: ['97-83=14', '26-14=12']
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,70 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[30, 40], Operations: ['97-83=14', '26+14=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[97, 26, 83, 30], Operations: []
Exploring Operation: 97-83=14, Resulting Numbers: [26, 30, 14]
Generated Node #0,0: 70:[26, 30, 14] Operation: 97-83=14
Moving to Node #0,0
Current State: 70:[26, 30, 14], Operations: ['97-83=14']
Exploring Operation: 26+14=40, Resulting Numbers: [30, 40]
Generated Node #0,0,2: 70:[30, 40] Operation: 26+14=40
Moving to Node #0,0,2
Current State: 70:[30, 40], Operations: ['97-83=14', '26+14=40']
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
50,
54,
64,
16
] | 20 | [
"54-50=4",
"64+16=80",
"80/4=20"
] | Current State: 20:[50, 54, 64, 16], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [64, 16, 4]
Generated Node #2: [64, 16, 4] from Operation: 54-50=4
Current State: 20:[64, 16, 4], Operations: ['54-50=4']
Exploring Operation: 64+16=80, Resulting Numbers: [4, 80]
Generated Node #3: [4, 80] from Operation: 64+16=80
Current State: 20:[4, 80], Operations: ['54-50=4', '64+16=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[50, 54, 64, 16], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [54, 16, 14]
Generated Node #0,0: 20:[54, 16, 14] Operation: 64-50=14
Exploring Operation: 64-54=10, Resulting Numbers: [50, 16, 10]
Generated Node #0,1: 20:[50, 16, 10] Operation: 64-54=10
Moving to Node #0,1
Current State: 20:[50, 16, 10], Operations: ['64-54=10']
Exploring Operation: 50/10=5, Resulting Numbers: [16, 5]
Generated Node #0,1,0: 20:[16, 5] Operation: 50/10=5
Exploring Operation: 50-16=34, Resulting Numbers: [10, 34]
Generated Node #0,1,1: 20:[10, 34] Operation: 50-16=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[16, 5], Operations: ['64-54=10', '50/10=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[10, 34], Operations: ['64-54=10', '50-16=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 20:[54, 16, 14], Operations: ['64-50=14']
Exploring Operation: 54-16=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 20:[14, 38] Operation: 54-16=38
Exploring Operation: 54-14=40, Resulting Numbers: [16, 40]
Generated Node #0,0,1: 20:[16, 40] Operation: 54-14=40
Moving to Node #0,0,0
Current State: 20:[14, 38], Operations: ['64-50=14', '54-16=38']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[16, 40], Operations: ['64-50=14', '54-14=40']
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,20 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,20 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
87,
8,
9,
7
] | 81 | [
"87-8=79",
"9-7=2",
"79+2=81"
] | Current State: 81:[87, 8, 9, 7], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [9, 7, 79]
Generated Node #2: [9, 7, 79] from Operation: 87-8=79
Current State: 81:[9, 7, 79], Operations: ['87-8=79']
Exploring Operation: 9-7=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 9-7=2
Current State: 81:[79, 2], Operations: ['87-8=79', '9-7=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[87, 8, 9, 7], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [8, 9, 80]
Generated Node #0,0: 81:[8, 9, 80] Operation: 87-7=80
Exploring Operation: 87-8=79, Resulting Numbers: [9, 7, 79]
Generated Node #0,1: 81:[9, 7, 79] Operation: 87-8=79
Moving to Node #0,0
Current State: 81:[8, 9, 80], Operations: ['87-7=80']
Exploring Operation: 9-8=1, Resulting Numbers: [80, 1]
Generated Node #0,0,0: 81:[80, 1] Operation: 9-8=1
Exploring Operation: 80/8=10, Resulting Numbers: [9, 10]
Generated Node #0,0,1: 81:[9, 10] Operation: 80/8=10
Moving to Node #0,1
Current State: 81:[9, 7, 79], Operations: ['87-8=79']
Exploring Operation: 9-7=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 81:[79, 2] Operation: 9-7=2
Exploring Operation: 7+79=86, Resulting Numbers: [9, 86]
Generated Node #0,1,1: 81:[9, 86] Operation: 7+79=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[79, 2], Operations: ['87-8=79', '9-7=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[87, 8, 9, 7], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [9, 7, 79]
Generated Node #0,1: 81:[9, 7, 79] Operation: 87-8=79
Moving to Node #0,1
Current State: 81:[9, 7, 79], Operations: ['87-8=79']
Exploring Operation: 9-7=2, Resulting Numbers: [79, 2]
Generated Node #0,1,0: 81:[79, 2] Operation: 9-7=2
Moving to Node #0,1,0
Current State: 81:[79, 2], Operations: ['87-8=79', '9-7=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
17,
80,
72,
55
] | 79 | [
"72-17=55",
"55/55=1",
"80-1=79"
] | Current State: 79:[17, 80, 72, 55], Operations: []
Exploring Operation: 72-17=55, Resulting Numbers: [80, 55, 55]
Generated Node #2: [80, 55, 55] from Operation: 72-17=55
Current State: 79:[80, 55, 55], Operations: ['72-17=55']
Exploring Operation: 55/55=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 55/55=1
Current State: 79:[80, 1], Operations: ['72-17=55', '55/55=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[17, 80, 72, 55], Operations: []
Exploring Operation: 17+55=72, Resulting Numbers: [80, 72, 72]
Generated Node #0,0: 79:[80, 72, 72] Operation: 17+55=72
Moving to Node #0,0
Current State: 79:[80, 72, 72], Operations: ['17+55=72']
Exploring Operation: 72+72=144, Resulting Numbers: [80, 144]
Generated Node #0,0,0: 79:[80, 144] Operation: 72+72=144
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[80, 144], Operations: ['17+55=72', '72+72=144']
Exploring Operation: 144-80=64, Resulting Numbers: [64]
64,79 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 |
[
10,
55,
40,
1
] | 86 | [
"55-10=45",
"40+1=41",
"45+41=86"
] | Current State: 86:[10, 55, 40, 1], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [40, 1, 45]
Generated Node #2: [40, 1, 45] from Operation: 55-10=45
Current State: 86:[40, 1, 45], Operations: ['55-10=45']
Exploring Operation: 40+1=41, Resulting Numbers: [45, 41]
Generated Node #3: [45, 41] from Operation: 40+1=41
Current State: 86:[45, 41], Operations: ['55-10=45', '40+1=41']
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[10, 55, 40, 1], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [40, 1, 45]
Generated Node #0,0: 86:[40, 1, 45] Operation: 55-10=45
Moving to Node #0,0
Current State: 86:[40, 1, 45], Operations: ['55-10=45']
Exploring Operation: 40+45=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 40+45=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['55-10=45', '40+45=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[10, 55, 40, 1], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [40, 1, 45]
Generated Node #0,0: 86:[40, 1, 45] Operation: 55-10=45
Moving to Node #0,0
Current State: 86:[40, 1, 45], Operations: ['55-10=45']
Exploring Operation: 40+45=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 40+45=85
Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['55-10=45', '40+45=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 |
[
4,
84,
52,
65
] | 29 | [
"4+84=88",
"52+65=117",
"117-88=29"
] | Current State: 29:[4, 84, 52, 65], Operations: []
Exploring Operation: 4+84=88, Resulting Numbers: [52, 65, 88]
Generated Node #2: [52, 65, 88] from Operation: 4+84=88
Current State: 29:[52, 65, 88], Operations: ['4+84=88']
Exploring Operation: 52+65=117, Resulting Numbers: [88, 117]
Generated Node #3: [88, 117] from Operation: 52+65=117
Current State: 29:[88, 117], Operations: ['4+84=88', '52+65=117']
Exploring Operation: 117-88=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[4, 84, 52, 65], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [4, 52, 19]
Generated Node #0,0: 29:[4, 52, 19] Operation: 84-65=19
Exploring Operation: 84-52=32, Resulting Numbers: [4, 65, 32]
Generated Node #0,1: 29:[4, 65, 32] Operation: 84-52=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[4, 52, 19], Operations: ['84-65=19']
Exploring Operation: 52/4=13, Resulting Numbers: [19, 13]
Generated Node #0,0,0: 29:[19, 13] Operation: 52/4=13
Exploring Operation: 52-4=48, Resulting Numbers: [19, 48]
Generated Node #0,0,1: 29:[19, 48] Operation: 52-4=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[19, 13], Operations: ['84-65=19', '52/4=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,29 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No 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: 29:[19, 48], Operations: ['84-65=19', '52-4=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[4, 84, 52, 65], Operations: []
Exploring Operation: 84-65=19, Resulting Numbers: [4, 52, 19]
Generated Node #0,0: 29:[4, 52, 19] Operation: 84-65=19
Moving to Node #0,0
Current State: 29:[4, 52, 19], Operations: ['84-65=19']
Exploring Operation: 52-4=48, Resulting Numbers: [19, 48]
Generated Node #0,0,1: 29:[19, 48] Operation: 52-4=48
Moving to Node #0,0,1
Current State: 29:[19, 48], Operations: ['84-65=19', '52-4=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
42,
81,
4,
2
] | 85 | [
"42*4=168",
"81+2=83",
"168-83=85"
] | Current State: 85:[42, 81, 4, 2], Operations: []
Exploring Operation: 42*4=168, Resulting Numbers: [81, 2, 168]
Generated Node #2: [81, 2, 168] from Operation: 42*4=168
Current State: 85:[81, 2, 168], Operations: ['42*4=168']
Exploring Operation: 81+2=83, Resulting Numbers: [168, 83]
Generated Node #3: [168, 83] from Operation: 81+2=83
Current State: 85:[168, 83], Operations: ['42*4=168', '81+2=83']
Exploring Operation: 168-83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[42, 81, 4, 2], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [4, 2, 39]
Generated Node #0,0: 85:[4, 2, 39] Operation: 81-42=39
Exploring Operation: 42/2=21, Resulting Numbers: [81, 4, 21]
Generated Node #0,1: 85:[81, 4, 21] Operation: 42/2=21
Exploring Operation: 42*2=84, Resulting Numbers: [81, 4, 84]
Generated Node #0,2: 85:[81, 4, 84] Operation: 42*2=84
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[81, 4, 84], Operations: ['42*2=84']
Exploring Operation: 84-81=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 85:[4, 3] Operation: 84-81=3
Exploring Operation: 4+84=88, Resulting Numbers: [81, 88]
Generated Node #0,2,1: 85:[81, 88] Operation: 4+84=88
Exploring Operation: 81+4=85, Resulting Numbers: [84, 85]
Generated Node #0,2,2: 85:[84, 85] Operation: 81+4=85
Moving to Node #0,2,2
Current State: 85:[84, 85], Operations: ['42*2=84', '81+4=85']
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,85 unequal: No Solution
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[4, 3], Operations: ['42*2=84', '84-81=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[81, 88], Operations: ['42*2=84', '4+84=88']
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,85 unequal: No Solution
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[81, 4, 21], Operations: ['42/2=21']
Exploring Operation: 81+4=85, Resulting Numbers: [21, 85]
Generated Node #0,1,0: 85:[21, 85] Operation: 81+4=85
Exploring Operation: 4*21=84, Resulting Numbers: [81, 84]
Generated Node #0,1,1: 85:[81, 84] Operation: 4*21=84
Exploring Operation: 21-4=17, Resulting Numbers: [81, 17]
Generated Node #0,1,2: 85:[81, 17] Operation: 21-4=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[21, 85], Operations: ['42/2=21', '81+4=85']
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 21+85=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 21*85=1785, Resulting Numbers: [1785]
1785,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,1,2
Current State: 85:[81, 17], Operations: ['42/2=21', '21-4=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,85 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,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,1,1
Current State: 85:[81, 84], Operations: ['42/2=21', '4*21=84']
Exploring Operation: 81*84=6804, Resulting Numbers: [6804]
6804,85 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 81+84=165, Resulting Numbers: [165]
165,85 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: 85:[4, 2, 39], Operations: ['81-42=39']
Exploring Operation: 39-4=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 85:[2, 35] Operation: 39-4=35
Exploring Operation: 39-2=37, Resulting Numbers: [4, 37]
Generated Node #0,0,1: 85:[4, 37] Operation: 39-2=37
Exploring Operation: 2*39=78, Resulting Numbers: [4, 78]
Generated Node #0,0,2: 85:[4, 78] Operation: 2*39=78
Moving to Node #0,0,2
Current State: 85:[4, 78], Operations: ['81-42=39', '2*39=78']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 4*78=312, Resulting Numbers: [312]
312,85 unequal: No Solution
Exploring Operation: 4+78=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[2, 35], Operations: ['81-42=39', '39-4=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[4, 37], Operations: ['81-42=39', '39-2=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,85 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,85 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 |
[
13,
6,
38,
9
] | 77 | [
"9-6=3",
"13*3=39",
"38+39=77"
] | Current State: 77:[13, 6, 38, 9], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [13, 38, 3]
Generated Node #2: [13, 38, 3] from Operation: 9-6=3
Current State: 77:[13, 38, 3], Operations: ['9-6=3']
Exploring Operation: 13*3=39, Resulting Numbers: [38, 39]
Generated Node #3: [38, 39] from Operation: 13*3=39
Current State: 77:[38, 39], Operations: ['9-6=3', '13*3=39']
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[13, 6, 38, 9], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [6, 9, 25]
Generated Node #0,0: 77:[6, 9, 25] Operation: 38-13=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[6, 9, 25], Operations: ['38-13=25']
Exploring Operation: 25-9=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 77:[6, 16] Operation: 25-9=16
Moving to Node #0,0,0
Current State: 77:[6, 16], Operations: ['38-13=25', '25-9=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,77 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 |
[
39,
50,
7,
13
] | 52 | [
"50-39=11",
"11-7=4",
"13*4=52"
] | Current State: 52:[39, 50, 7, 13], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [7, 13, 11]
Generated Node #2: [7, 13, 11] from Operation: 50-39=11
Current State: 52:[7, 13, 11], Operations: ['50-39=11']
Exploring Operation: 11-7=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 11-7=4
Current State: 52:[13, 4], Operations: ['50-39=11', '11-7=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[39, 50, 7, 13], Operations: []
Exploring Operation: 39+13=52, Resulting Numbers: [50, 7, 52]
Generated Node #0,0: 52:[50, 7, 52] Operation: 39+13=52
Exploring Operation: 50-39=11, Resulting Numbers: [7, 13, 11]
Generated Node #0,1: 52:[7, 13, 11] Operation: 50-39=11
Exploring Operation: 39-13=26, Resulting Numbers: [50, 7, 26]
Generated Node #0,2: 52:[50, 7, 26] Operation: 39-13=26
Moving to Node #0,0
Current State: 52:[50, 7, 52], Operations: ['39+13=52']
Exploring Operation: 52-50=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 52:[7, 2] Operation: 52-50=2
Exploring Operation: 50-7=43, Resulting Numbers: [52, 43]
Generated Node #0,0,1: 52:[52, 43] Operation: 50-7=43
Exploring Operation: 50+7=57, Resulting Numbers: [52, 57]
Generated Node #0,0,2: 52:[52, 57] Operation: 50+7=57
Moving to Node #0,1
Current State: 52:[7, 13, 11], Operations: ['50-39=11']
Exploring Operation: 13-7=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 52:[11, 6] Operation: 13-7=6
Exploring Operation: 11-7=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 52:[13, 4] Operation: 11-7=4
Exploring Operation: 13-11=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 52:[7, 2] Operation: 13-11=2
Moving to Node #0,2
Current State: 52:[50, 7, 26], Operations: ['39-13=26']
Exploring Operation: 50+7=57, Resulting Numbers: [26, 57]
Generated Node #0,2,0: 52:[26, 57] Operation: 50+7=57
Exploring Operation: 50-26=24, Resulting Numbers: [7, 24]
Generated Node #0,2,1: 52:[7, 24] Operation: 50-26=24
Exploring Operation: 26-7=19, Resulting Numbers: [50, 19]
Generated Node #0,2,2: 52:[50, 19] Operation: 26-7=19
Moving to Node #0,1,1
Current State: 52:[13, 4], Operations: ['50-39=11', '11-7=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,52 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[39, 50, 7, 13], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [7, 13, 11]
Generated Node #0,1: 52:[7, 13, 11] Operation: 50-39=11
Moving to Node #0,1
Current State: 52:[7, 13, 11], Operations: ['50-39=11']
Exploring Operation: 11-7=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 52:[13, 4] Operation: 11-7=4
Moving to Node #0,1,1
Current State: 52:[13, 4], Operations: ['50-39=11', '11-7=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
47,
19,
67,
35
] | 41 | [
"47+67=114",
"114/19=6",
"35+6=41"
] | Current State: 41:[47, 19, 67, 35], Operations: []
Exploring Operation: 47+67=114, Resulting Numbers: [19, 35, 114]
Generated Node #2: [19, 35, 114] from Operation: 47+67=114
Current State: 41:[19, 35, 114], Operations: ['47+67=114']
Exploring Operation: 114/19=6, Resulting Numbers: [35, 6]
Generated Node #3: [35, 6] from Operation: 114/19=6
Current State: 41:[35, 6], Operations: ['47+67=114', '114/19=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[47, 19, 67, 35], Operations: []
Exploring Operation: 67-19=48, Resulting Numbers: [47, 35, 48]
Generated Node #0,0: 41:[47, 35, 48] Operation: 67-19=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[47, 35, 48], Operations: ['67-19=48']
Exploring Operation: 48-35=13, Resulting Numbers: [47, 13]
Generated Node #0,0,0: 41:[47, 13] Operation: 48-35=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[47, 13], Operations: ['67-19=48', '48-35=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
11,
60,
81
] | 44 | [
"34-11=23",
"81-60=21",
"23+21=44"
] | Current State: 44:[34, 11, 60, 81], Operations: []
Exploring Operation: 34-11=23, Resulting Numbers: [60, 81, 23]
Generated Node #2: [60, 81, 23] from Operation: 34-11=23
Current State: 44:[60, 81, 23], Operations: ['34-11=23']
Exploring Operation: 81-60=21, Resulting Numbers: [23, 21]
Generated Node #3: [23, 21] from Operation: 81-60=21
Current State: 44:[23, 21], Operations: ['34-11=23', '81-60=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[34, 11, 60, 81], Operations: []
Exploring Operation: 81-34=47, Resulting Numbers: [11, 60, 47]
Generated Node #0,0: 44:[11, 60, 47] Operation: 81-34=47
Exploring Operation: 60-11=49, Resulting Numbers: [34, 81, 49]
Generated Node #0,1: 44:[34, 81, 49] Operation: 60-11=49
Exploring Operation: 60-34=26, Resulting Numbers: [11, 81, 26]
Generated Node #0,2: 44:[11, 81, 26] Operation: 60-34=26
Exploring Operation: 81-60=21, Resulting Numbers: [34, 11, 21]
Generated Node #0,3: 44:[34, 11, 21] Operation: 81-60=21
Exploring Operation: 81-11=70, Resulting Numbers: [34, 60, 70]
Generated Node #0,4: 44:[34, 60, 70] Operation: 81-11=70
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[34, 11, 21], Operations: ['81-60=21']
Exploring Operation: 34-11=23, Resulting Numbers: [21, 23]
Generated Node #0,3,0: 44:[21, 23] Operation: 34-11=23
Exploring Operation: 21-11=10, Resulting Numbers: [34, 10]
Generated Node #0,3,1: 44:[34, 10] Operation: 21-11=10
Exploring Operation: 34+11=45, Resulting Numbers: [21, 45]
Generated Node #0,3,2: 44:[21, 45] Operation: 34+11=45
Exploring Operation: 34-21=13, Resulting Numbers: [11, 13]
Generated Node #0,3,3: 44:[11, 13] Operation: 34-21=13
Exploring Operation: 34+21=55, Resulting Numbers: [11, 55]
Generated Node #0,3,4: 44:[11, 55] Operation: 34+21=55
Moving to Node #0,3,0
Current State: 44:[21, 23], Operations: ['81-60=21', '34-11=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[34, 11, 60, 81], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [34, 11, 21]
Generated Node #0,3: 44:[34, 11, 21] Operation: 81-60=21
Moving to Node #0,3
Current State: 44:[34, 11, 21], Operations: ['81-60=21']
Exploring Operation: 34-11=23, Resulting Numbers: [21, 23]
Generated Node #0,3,0: 44:[21, 23] Operation: 34-11=23
Moving to Node #0,3,0
Current State: 44:[21, 23], Operations: ['81-60=21', '34-11=23']
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
24,
71,
8,
57
] | 64 | [
"24*8=192",
"71+57=128",
"192-128=64"
] | Current State: 64:[24, 71, 8, 57], Operations: []
Exploring Operation: 24*8=192, Resulting Numbers: [71, 57, 192]
Generated Node #2: [71, 57, 192] from Operation: 24*8=192
Current State: 64:[71, 57, 192], Operations: ['24*8=192']
Exploring Operation: 71+57=128, Resulting Numbers: [192, 128]
Generated Node #3: [192, 128] from Operation: 71+57=128
Current State: 64:[192, 128], Operations: ['24*8=192', '71+57=128']
Exploring Operation: 192-128=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[24, 71, 8, 57], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [71, 8, 33]
Generated Node #0,0: 64:[71, 8, 33] Operation: 57-24=33
Exploring Operation: 71-57=14, Resulting Numbers: [24, 8, 14]
Generated Node #0,1: 64:[24, 8, 14] Operation: 71-57=14
Exploring Operation: 24+8=32, Resulting Numbers: [71, 57, 32]
Generated Node #0,2: 64:[71, 57, 32] Operation: 24+8=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[71, 8, 33], Operations: ['57-24=33']
Exploring Operation: 71-8=63, Resulting Numbers: [33, 63]
Generated Node #0,0,0: 64:[33, 63] Operation: 71-8=63
Exploring Operation: 33-8=25, Resulting Numbers: [71, 25]
Generated Node #0,0,1: 64:[71, 25] Operation: 33-8=25
Exploring Operation: 71-33=38, Resulting Numbers: [8, 38]
Generated Node #0,0,2: 64:[8, 38] Operation: 71-33=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[33, 63], Operations: ['57-24=33', '71-8=63']
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 33*63=2079, Resulting Numbers: [2079]
2079,64 unequal: No Solution
No 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: 64:[8, 38], Operations: ['57-24=33', '71-33=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,64 unequal: No Solution
No 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: 64:[71, 25], Operations: ['57-24=33', '33-8=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,64 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: 64:[24, 8, 14], Operations: ['71-57=14']
Exploring Operation: 24+8=32, Resulting Numbers: [14, 32]
Generated Node #0,1,0: 64:[14, 32] Operation: 24+8=32
Exploring Operation: 24-8=16, Resulting Numbers: [14, 16]
Generated Node #0,1,1: 64:[14, 16] Operation: 24-8=16
Exploring Operation: 24-14=10, Resulting Numbers: [8, 10]
Generated Node #0,1,2: 64:[8, 10] Operation: 24-14=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[14, 32], Operations: ['71-57=14', '24+8=32']
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,64 unequal: No Solution
No 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: 64:[14, 16], Operations: ['71-57=14', '24-8=16']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,64 unequal: No Solution
No 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: 64:[8, 10], Operations: ['71-57=14', '24-14=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,64 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: 64:[71, 57, 32], Operations: ['24+8=32']
Exploring Operation: 57-32=25, Resulting Numbers: [71, 25]
Generated Node #0,2,0: 64:[71, 25] Operation: 57-32=25
Exploring Operation: 71-57=14, Resulting Numbers: [32, 14]
Generated Node #0,2,1: 64:[32, 14] Operation: 71-57=14
Exploring Operation: 71-32=39, Resulting Numbers: [57, 39]
Generated Node #0,2,2: 64:[57, 39] Operation: 71-32=39
Moving to Node #0,2,1
Current State: 64:[32, 14], Operations: ['24+8=32', '71-57=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[71, 25], Operations: ['24+8=32', '57-32=25']
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[57, 39], Operations: ['24+8=32', '71-32=39']
Exploring Operation: 57+39=96, Resulting Numbers: [96]
96,64 unequal: No Solution
Exploring Operation: 57*39=2223, Resulting Numbers: [2223]
2223,64 unequal: No Solution
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,64 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 |
[
29,
81,
32,
62
] | 81 | [
"29+32=61",
"62-61=1",
"81*1=81"
] | Current State: 81:[29, 81, 32, 62], Operations: []
Exploring Operation: 29+32=61, Resulting Numbers: [81, 62, 61]
Generated Node #2: [81, 62, 61] from Operation: 29+32=61
Current State: 81:[81, 62, 61], Operations: ['29+32=61']
Exploring Operation: 62-61=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 62-61=1
Current State: 81:[81, 1], Operations: ['29+32=61', '62-61=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[29, 81, 32, 62], Operations: []
Exploring Operation: 81-62=19, Resulting Numbers: [29, 32, 19]
Generated Node #0,0: 81:[29, 32, 19] Operation: 81-62=19
Exploring Operation: 62-29=33, Resulting Numbers: [81, 32, 33]
Generated Node #0,1: 81:[81, 32, 33] Operation: 62-29=33
Exploring Operation: 29+62=91, Resulting Numbers: [81, 32, 91]
Generated Node #0,2: 81:[81, 32, 91] Operation: 29+62=91
Exploring Operation: 62-32=30, Resulting Numbers: [29, 81, 30]
Generated Node #0,3: 81:[29, 81, 30] Operation: 62-32=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[29, 81, 30], Operations: ['62-32=30']
Exploring Operation: 81-30=51, Resulting Numbers: [29, 51]
Generated Node #0,3,0: 81:[29, 51] Operation: 81-30=51
Exploring Operation: 81-29=52, Resulting Numbers: [30, 52]
Generated Node #0,3,1: 81:[30, 52] Operation: 81-29=52
Exploring Operation: 30-29=1, Resulting Numbers: [81, 1]
Generated Node #0,3,2: 81:[81, 1] Operation: 30-29=1
Exploring Operation: 29+30=59, Resulting Numbers: [81, 59]
Generated Node #0,3,3: 81:[81, 59] Operation: 29+30=59
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[81, 1], Operations: ['62-32=30', '30-29=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[29, 81, 32, 62], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [29, 81, 30]
Generated Node #0,3: 81:[29, 81, 30] Operation: 62-32=30
Moving to Node #0,3
Current State: 81:[29, 81, 30], Operations: ['62-32=30']
Exploring Operation: 30-29=1, Resulting Numbers: [81, 1]
Generated Node #0,3,2: 81:[81, 1] Operation: 30-29=1
Moving to Node #0,3,2
Current State: 81:[81, 1], Operations: ['62-32=30', '30-29=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
15,
9,
8,
33
] | 21 | [
"15*9=135",
"33+135=168",
"168/8=21"
] | Current State: 21:[15, 9, 8, 33], Operations: []
Exploring Operation: 15*9=135, Resulting Numbers: [8, 33, 135]
Generated Node #2: [8, 33, 135] from Operation: 15*9=135
Current State: 21:[8, 33, 135], Operations: ['15*9=135']
Exploring Operation: 33+135=168, Resulting Numbers: [8, 168]
Generated Node #3: [8, 168] from Operation: 33+135=168
Current State: 21:[8, 168], Operations: ['15*9=135', '33+135=168']
Exploring Operation: 168/8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[15, 9, 8, 33], Operations: []
Exploring Operation: 33-9=24, Resulting Numbers: [15, 8, 24]
Generated Node #0,0: 21:[15, 8, 24] Operation: 33-9=24
Exploring Operation: 33-15=18, Resulting Numbers: [9, 8, 18]
Generated Node #0,1: 21:[9, 8, 18] Operation: 33-15=18
Exploring Operation: 33-8=25, Resulting Numbers: [15, 9, 25]
Generated Node #0,2: 21:[15, 9, 25] Operation: 33-8=25
Exploring Operation: 15-9=6, Resulting Numbers: [8, 33, 6]
Generated Node #0,3: 21:[8, 33, 6] Operation: 15-9=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[9, 8, 18], Operations: ['33-15=18']
Exploring Operation: 18-8=10, Resulting Numbers: [9, 10]
Generated Node #0,1,0: 21:[9, 10] Operation: 18-8=10
Exploring Operation: 18/9=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 21:[8, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [8, 9]
Generated Node #0,1,2: 21:[8, 9] Operation: 18-9=9
Exploring Operation: 9-8=1, Resulting Numbers: [18, 1]
Generated Node #0,1,3: 21:[18, 1] Operation: 9-8=1
Moving to Node #0,1,1
Current State: 21:[8, 2], Operations: ['33-15=18', '18/9=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[8, 9], Operations: ['33-15=18', '18-9=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[18, 1], Operations: ['33-15=18', '9-8=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[9, 10], Operations: ['33-15=18', '18-8=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[15, 8, 24], Operations: ['33-9=24']
Exploring Operation: 24-15=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 21:[8, 9] Operation: 24-15=9
Exploring Operation: 15+8=23, Resulting Numbers: [24, 23]
Generated Node #0,0,1: 21:[24, 23] Operation: 15+8=23
Exploring Operation: 24/8=3, Resulting Numbers: [15, 3]
Generated Node #0,0,2: 21:[15, 3] Operation: 24/8=3
Exploring Operation: 15-8=7, Resulting Numbers: [24, 7]
Generated Node #0,0,3: 21:[24, 7] Operation: 15-8=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[8, 9], Operations: ['33-9=24', '24-15=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[24, 7], Operations: ['33-9=24', '15-8=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[24, 23], Operations: ['33-9=24', '15+8=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[15, 3], Operations: ['33-9=24', '24/8=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[15, 9, 25], Operations: ['33-8=25']
Exploring Operation: 15+9=24, Resulting Numbers: [25, 24]
Generated Node #0,2,0: 21:[25, 24] Operation: 15+9=24
Exploring Operation: 25-15=10, Resulting Numbers: [9, 10]
Generated Node #0,2,1: 21:[9, 10] Operation: 25-15=10
Exploring Operation: 15-9=6, Resulting Numbers: [25, 6]
Generated Node #0,2,2: 21:[25, 6] Operation: 15-9=6
Exploring Operation: 25-9=16, Resulting Numbers: [15, 16]
Generated Node #0,2,3: 21:[15, 16] Operation: 25-9=16
Moving to Node #0,2,1
Current State: 21:[9, 10], Operations: ['33-8=25', '25-15=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[25, 6], Operations: ['33-8=25', '15-9=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[25, 24], Operations: ['33-8=25', '15+9=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,21 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[15, 16], Operations: ['33-8=25', '25-9=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,21 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,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,3
Current State: 21:[8, 33, 6], Operations: ['15-9=6']
Exploring Operation: 33-6=27, Resulting Numbers: [8, 27]
Generated Node #0,3,0: 21:[8, 27] Operation: 33-6=27
Exploring Operation: 8+6=14, Resulting Numbers: [33, 14]
Generated Node #0,3,1: 21:[33, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [33, 2]
Generated Node #0,3,2: 21:[33, 2] Operation: 8-6=2
Exploring Operation: 33-8=25, Resulting Numbers: [6, 25]
Generated Node #0,3,3: 21:[6, 25] Operation: 33-8=25
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 21:[6, 25], Operations: ['15-9=6', '33-8=25']
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 21:[8, 27], Operations: ['15-9=6', '33-6=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[33, 2], Operations: ['15-9=6', '8-6=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 21:[33, 14], Operations: ['15-9=6', '8+6=14']
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,21 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
43,
93,
80
] | 61 | [
"5+43=48",
"93-80=13",
"48+13=61"
] | Current State: 61:[5, 43, 93, 80], Operations: []
Exploring Operation: 5+43=48, Resulting Numbers: [93, 80, 48]
Generated Node #2: [93, 80, 48] from Operation: 5+43=48
Current State: 61:[93, 80, 48], Operations: ['5+43=48']
Exploring Operation: 93-80=13, Resulting Numbers: [48, 13]
Generated Node #3: [48, 13] from Operation: 93-80=13
Current State: 61:[48, 13], Operations: ['5+43=48', '93-80=13']
Exploring Operation: 48+13=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 43, 93, 80], Operations: []
Exploring Operation: 80-5=75, Resulting Numbers: [43, 93, 75]
Generated Node #0,0: 61:[43, 93, 75] Operation: 80-5=75
Exploring Operation: 93-5=88, Resulting Numbers: [43, 80, 88]
Generated Node #0,1: 61:[43, 80, 88] Operation: 93-5=88
Exploring Operation: 5+43=48, Resulting Numbers: [93, 80, 48]
Generated Node #0,2: 61:[93, 80, 48] Operation: 5+43=48
Exploring Operation: 43-5=38, Resulting Numbers: [93, 80, 38]
Generated Node #0,3: 61:[93, 80, 38] Operation: 43-5=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[43, 93, 75], Operations: ['80-5=75']
Exploring Operation: 43+93=136, Resulting Numbers: [75, 136]
Generated Node #0,0,0: 61:[75, 136] Operation: 43+93=136
Exploring Operation: 93-43=50, Resulting Numbers: [75, 50]
Generated Node #0,0,1: 61:[75, 50] Operation: 93-43=50
Exploring Operation: 75-43=32, Resulting Numbers: [93, 32]
Generated Node #0,0,2: 61:[93, 32] Operation: 75-43=32
Exploring Operation: 93-75=18, Resulting Numbers: [43, 18]
Generated Node #0,0,3: 61:[43, 18] Operation: 93-75=18
Moving to Node #0,0,1
Current State: 61:[75, 50], Operations: ['80-5=75', '93-43=50']
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,61 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[43, 18], Operations: ['80-5=75', '93-75=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[5, 43, 93, 80], Operations: []
Exploring Operation: 80-5=75, Resulting Numbers: [43, 93, 75]
Generated Node #0,0: 61:[43, 93, 75] Operation: 80-5=75
Moving to Node #0,0
Current State: 61:[43, 93, 75], Operations: ['80-5=75']
Exploring Operation: 93-75=18, Resulting Numbers: [43, 18]
Generated Node #0,0,3: 61:[43, 18] Operation: 93-75=18
Moving to Node #0,0,3
Current State: 61:[43, 18], Operations: ['80-5=75', '93-75=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
9,
7,
23,
9
] | 41 | [
"9-7=2",
"9*2=18",
"23+18=41"
] | Current State: 41:[9, 7, 23, 9], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [23, 2]
Generated Node #2: [23, 2] from Operation: 9-7=2
Current State: 41:[23, 2], Operations: ['9-7=2']
Exploring Operation: 9*2=18, Resulting Numbers: [23, 18]
Generated Node #3: [23, 18] from Operation: 9*2=18
Current State: 41:[23, 18], Operations: ['9-7=2', '9*2=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[9, 7, 23, 9], Operations: []
Exploring Operation: 9+9=18, Resulting Numbers: [7, 23, 18]
Generated Node #0,0: 41:[7, 23, 18] Operation: 9+9=18
Exploring Operation: 7*9=63, Resulting Numbers: [9, 23, 63]
Generated Node #0,1: 41:[9, 23, 63] Operation: 7*9=63
Exploring Operation: 9*7=63, Resulting Numbers: [23, 9, 63]
Generated Node #0,2: 41:[23, 9, 63] Operation: 9*7=63
Exploring Operation: 9+23=32, Resulting Numbers: [7, 9, 32]
Generated Node #0,3: 41:[7, 9, 32] Operation: 9+23=32
Exploring Operation: 9+7=16, Resulting Numbers: [23, 9, 16]
Generated Node #0,4: 41:[23, 9, 16] Operation: 9+7=16
Moving to Node #0,1
Current State: 41:[9, 23, 63], Operations: ['7*9=63']
Exploring Operation: 63-9=54, Resulting Numbers: [23, 54]
Generated Node #0,1,0: 41:[23, 54] Operation: 63-9=54
Exploring Operation: 63-23=40, Resulting Numbers: [9, 40]
Generated Node #0,1,1: 41:[9, 40] Operation: 63-23=40
Exploring Operation: 9+23=32, Resulting Numbers: [63, 32]
Generated Node #0,1,2: 41:[63, 32] Operation: 9+23=32
Exploring Operation: 9+63=72, Resulting Numbers: [23, 72]
Generated Node #0,1,3: 41:[23, 72] Operation: 9+63=72
Exploring Operation: 23-9=14, Resulting Numbers: [63, 14]
Generated Node #0,1,4: 41:[63, 14] Operation: 23-9=14
Moving to Node #0,2
Current State: 41:[23, 9, 63], Operations: ['9*7=63']
Exploring Operation: 23-9=14, Resulting Numbers: [63, 14]
Generated Node #0,2,0: 41:[63, 14] Operation: 23-9=14
Exploring Operation: 23+9=32, Resulting Numbers: [63, 32]
Generated Node #0,2,1: 41:[63, 32] Operation: 23+9=32
Exploring Operation: 63-23=40, Resulting Numbers: [9, 40]
Generated Node #0,2,2: 41:[9, 40] Operation: 63-23=40
Exploring Operation: 9+63=72, Resulting Numbers: [23, 72]
Generated Node #0,2,3: 41:[23, 72] Operation: 9+63=72
Exploring Operation: 63-9=54, Resulting Numbers: [23, 54]
Generated Node #0,2,4: 41:[23, 54] Operation: 63-9=54
Moving to Node #0,0
Current State: 41:[7, 23, 18], Operations: ['9+9=18']
Exploring Operation: 18-7=11, Resulting Numbers: [23, 11]
Generated Node #0,0,0: 41:[23, 11] Operation: 18-7=11
Exploring Operation: 7+18=25, Resulting Numbers: [23, 25]
Generated Node #0,0,1: 41:[23, 25] Operation: 7+18=25
Exploring Operation: 7+23=30, Resulting Numbers: [18, 30]
Generated Node #0,0,2: 41:[18, 30] Operation: 7+23=30
Exploring Operation: 23+18=41, Resulting Numbers: [7, 41]
Generated Node #0,0,3: 41:[7, 41] Operation: 23+18=41
Exploring Operation: 23-7=16, Resulting Numbers: [18, 16]
Generated Node #0,0,4: 41:[18, 16] Operation: 23-7=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[23, 25], Operations: ['9+9=18', '7+18=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,41 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[18, 30], Operations: ['9+9=18', '7+23=30']
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[7, 41], Operations: ['9+9=18', '23+18=41']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,41 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[23, 11], Operations: ['9+9=18', '18-7=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,41 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[18, 16], Operations: ['9+9=18', '23-7=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,41 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: 41:[7, 9, 32], Operations: ['9+23=32']
Exploring Operation: 9+32=41, Resulting Numbers: [7, 41]
Generated Node #0,3,0: 41:[7, 41] Operation: 9+32=41
Exploring Operation: 7+9=16, Resulting Numbers: [32, 16]
Generated Node #0,3,1: 41:[32, 16] Operation: 7+9=16
Exploring Operation: 7+32=39, Resulting Numbers: [9, 39]
Generated Node #0,3,2: 41:[9, 39] Operation: 7+32=39
Exploring Operation: 9-7=2, Resulting Numbers: [32, 2]
Generated Node #0,3,3: 41:[32, 2] Operation: 9-7=2
Exploring Operation: 7*9=63, Resulting Numbers: [32, 63]
Generated Node #0,3,4: 41:[32, 63] Operation: 7*9=63
Moving to Node #0,4
Current State: 41:[23, 9, 16], Operations: ['9+7=16']
Exploring Operation: 23-9=14, Resulting Numbers: [16, 14]
Generated Node #0,4,0: 41:[16, 14] Operation: 23-9=14
Exploring Operation: 16-9=7, Resulting Numbers: [23, 7]
Generated Node #0,4,1: 41:[23, 7] Operation: 16-9=7
Exploring Operation: 23+16=39, Resulting Numbers: [9, 39]
Generated Node #0,4,2: 41:[9, 39] Operation: 23+16=39
Exploring Operation: 9+16=25, Resulting Numbers: [23, 25]
Generated Node #0,4,3: 41:[23, 25] Operation: 9+16=25
Exploring Operation: 23+9=32, Resulting Numbers: [16, 32]
Generated Node #0,4,4: 41:[16, 32] Operation: 23+9=32
Moving to Node #0,1,0
Current State: 41:[23, 54], Operations: ['7*9=63', '63-9=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,41 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[63, 32], Operations: ['9*7=63', '23+9=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[23, 54], Operations: ['9*7=63', '63-9=54']
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[63, 32], Operations: ['7*9=63', '9+23=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[32, 63], Operations: ['9+23=32', '7*9=63']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[9, 40], Operations: ['7*9=63', '63-23=40']
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[9, 40], Operations: ['9*7=63', '63-23=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 9*40=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[9, 39], Operations: ['9+23=32', '7+32=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[32, 16], Operations: ['9+23=32', '7+9=16']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,41 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[7, 41], Operations: ['9+23=32', '9+32=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,41 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Moving to Node #0,4,4
Current State: 41:[16, 32], Operations: ['9+7=16', '23+9=32']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[23, 25], Operations: ['9+7=16', '9+16=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,41 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[9, 39], Operations: ['9+7=16', '23+16=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[32, 2], Operations: ['9+23=32', '9-7=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[63, 14], Operations: ['9*7=63', '23-9=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,41 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[63, 14], Operations: ['7*9=63', '23-9=14']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,41 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[23, 72], Operations: ['9*7=63', '9+63=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[23, 72], Operations: ['7*9=63', '9+63=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,41 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,41 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[16, 14], Operations: ['9+7=16', '23-9=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[23, 7], Operations: ['9+7=16', '16-9=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,41 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
51,
17,
61,
56
] | 49 | [
"51+17=68",
"61+56=117",
"117-68=49"
] | Current State: 49:[51, 17, 61, 56], Operations: []
Exploring Operation: 51+17=68, Resulting Numbers: [61, 56, 68]
Generated Node #2: [61, 56, 68] from Operation: 51+17=68
Current State: 49:[61, 56, 68], Operations: ['51+17=68']
Exploring Operation: 61+56=117, Resulting Numbers: [68, 117]
Generated Node #3: [68, 117] from Operation: 61+56=117
Current State: 49:[68, 117], Operations: ['51+17=68', '61+56=117']
Exploring Operation: 117-68=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[51, 17, 61, 56], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [51, 17, 5]
Generated Node #0,0: 49:[51, 17, 5] Operation: 61-56=5
Exploring Operation: 61-17=44, Resulting Numbers: [51, 56, 44]
Generated Node #0,1: 49:[51, 56, 44] Operation: 61-17=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[51, 17, 5], Operations: ['61-56=5']
Exploring Operation: 51/17=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 49:[5, 3] Operation: 51/17=3
Exploring Operation: 17-5=12, Resulting Numbers: [51, 12]
Generated Node #0,0,1: 49:[51, 12] Operation: 17-5=12
Moving to Node #0,0,0
Current State: 49:[5, 3], Operations: ['61-56=5', '51/17=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[51, 12], Operations: ['61-56=5', '17-5=12']
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[51, 56, 44], Operations: ['61-17=44']
Exploring Operation: 56-51=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 49:[44, 5] Operation: 56-51=5
Exploring Operation: 51-44=7, Resulting Numbers: [56, 7]
Generated Node #0,1,1: 49:[56, 7] Operation: 51-44=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[44, 5], Operations: ['61-17=44', '56-51=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[51, 17, 61, 56], Operations: []
Exploring Operation: 61-17=44, Resulting Numbers: [51, 56, 44]
Generated Node #0,1: 49:[51, 56, 44] Operation: 61-17=44
Moving to Node #0,1
Current State: 49:[51, 56, 44], Operations: ['61-17=44']
Exploring Operation: 56-51=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 49:[44, 5] Operation: 56-51=5
Moving to Node #0,1,0
Current State: 49:[44, 5], Operations: ['61-17=44', '56-51=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
65,
95,
15,
18
] | 16 | [
"95-65=30",
"30/15=2",
"18-2=16"
] | Current State: 16:[65, 95, 15, 18], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [15, 18, 30]
Generated Node #2: [15, 18, 30] from Operation: 95-65=30
Current State: 16:[15, 18, 30], Operations: ['95-65=30']
Exploring Operation: 30/15=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 30/15=2
Current State: 16:[18, 2], Operations: ['95-65=30', '30/15=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[65, 95, 15, 18], Operations: []
Exploring Operation: 65-18=47, Resulting Numbers: [95, 15, 47]
Generated Node #0,0: 16:[95, 15, 47] Operation: 65-18=47
Exploring Operation: 95-65=30, Resulting Numbers: [15, 18, 30]
Generated Node #0,1: 16:[15, 18, 30] Operation: 95-65=30
Exploring Operation: 95-18=77, Resulting Numbers: [65, 15, 77]
Generated Node #0,2: 16:[65, 15, 77] Operation: 95-18=77
Exploring Operation: 65-15=50, Resulting Numbers: [95, 18, 50]
Generated Node #0,3: 16:[95, 18, 50] Operation: 65-15=50
Moving to Node #0,1
Current State: 16:[15, 18, 30], Operations: ['95-65=30']
Exploring Operation: 30-18=12, Resulting Numbers: [15, 12]
Generated Node #0,1,0: 16:[15, 12] Operation: 30-18=12
Exploring Operation: 30-15=15, Resulting Numbers: [18, 15]
Generated Node #0,1,1: 16:[18, 15] Operation: 30-15=15
Exploring Operation: 18-15=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 16:[30, 3] Operation: 18-15=3
Exploring Operation: 30/15=2, Resulting Numbers: [18, 2]
Generated Node #0,1,3: 16:[18, 2] Operation: 30/15=2
Moving to Node #0,2
Current State: 16:[65, 15, 77], Operations: ['95-18=77']
Exploring Operation: 65-15=50, Resulting Numbers: [77, 50]
Generated Node #0,2,0: 16:[77, 50] Operation: 65-15=50
Exploring Operation: 77-65=12, Resulting Numbers: [15, 12]
Generated Node #0,2,1: 16:[15, 12] Operation: 77-65=12
Exploring Operation: 77-15=62, Resulting Numbers: [65, 62]
Generated Node #0,2,2: 16:[65, 62] Operation: 77-15=62
Exploring Operation: 65+15=80, Resulting Numbers: [77, 80]
Generated Node #0,2,3: 16:[77, 80] Operation: 65+15=80
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[15, 12], Operations: ['95-18=77', '77-65=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,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:[77, 50], Operations: ['95-18=77', '65-15=50']
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,16 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,16 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,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:[65, 62], Operations: ['95-18=77', '77-15=62']
Exploring Operation: 65*62=4030, Resulting Numbers: [4030]
4030,16 unequal: No Solution
Exploring Operation: 65+62=127, Resulting Numbers: [127]
127,16 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,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:[77, 80], Operations: ['95-18=77', '65+15=80']
Exploring Operation: 77*80=6160, Resulting Numbers: [6160]
6160,16 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 77+80=157, Resulting Numbers: [157]
157,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:[95, 15, 47], Operations: ['65-18=47']
Exploring Operation: 47-15=32, Resulting Numbers: [95, 32]
Generated Node #0,0,0: 16:[95, 32] Operation: 47-15=32
Exploring Operation: 95-15=80, Resulting Numbers: [47, 80]
Generated Node #0,0,1: 16:[47, 80] Operation: 95-15=80
Exploring Operation: 95+15=110, Resulting Numbers: [47, 110]
Generated Node #0,0,2: 16:[47, 110] Operation: 95+15=110
Exploring Operation: 95-47=48, Resulting Numbers: [15, 48]
Generated Node #0,0,3: 16:[15, 48] Operation: 95-47=48
Moving to Node #0,3
Current State: 16:[95, 18, 50], Operations: ['65-15=50']
Exploring Operation: 95-50=45, Resulting Numbers: [18, 45]
Generated Node #0,3,0: 16:[18, 45] Operation: 95-50=45
Exploring Operation: 95-18=77, Resulting Numbers: [50, 77]
Generated Node #0,3,1: 16:[50, 77] Operation: 95-18=77
Exploring Operation: 50-18=32, Resulting Numbers: [95, 32]
Generated Node #0,3,2: 16:[95, 32] Operation: 50-18=32
Exploring Operation: 95+18=113, Resulting Numbers: [50, 113]
Generated Node #0,3,3: 16:[50, 113] Operation: 95+18=113
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 16:[18, 45], Operations: ['65-15=50', '95-50=45']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,16 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,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,3,1
Current State: 16:[50, 77], Operations: ['65-15=50', '95-18=77']
Exploring Operation: 50+77=127, Resulting Numbers: [127]
127,16 unequal: No Solution
Exploring Operation: 50*77=3850, Resulting Numbers: [3850]
3850,16 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,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,3,2
Current State: 16:[95, 32], Operations: ['65-15=50', '50-18=32']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 95+32=127, Resulting Numbers: [127]
127,16 unequal: No Solution
Exploring Operation: 95*32=3040, Resulting Numbers: [3040]
3040,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,3,3
Current State: 16:[50, 113], Operations: ['65-15=50', '95+18=113']
Exploring Operation: 50+113=163, Resulting Numbers: [163]
163,16 unequal: No Solution
Exploring Operation: 113-50=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 50*113=5650, Resulting Numbers: [5650]
5650,16 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: 16:[18, 2], Operations: ['95-65=30', '30/15=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[65, 95, 15, 18], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [15, 18, 30]
Generated Node #0,1: 16:[15, 18, 30] Operation: 95-65=30
Moving to Node #0,1
Current State: 16:[15, 18, 30], Operations: ['95-65=30']
Exploring Operation: 30/15=2, Resulting Numbers: [18, 2]
Generated Node #0,1,3: 16:[18, 2] Operation: 30/15=2
Moving to Node #0,1,3
Current State: 16:[18, 2], Operations: ['95-65=30', '30/15=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
24,
8,
47,
80
] | 99 | [
"24/8=3",
"80-47=33",
"3*33=99"
] | Current State: 99:[24, 8, 47, 80], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [47, 80, 3]
Generated Node #2: [47, 80, 3] from Operation: 24/8=3
Current State: 99:[47, 80, 3], Operations: ['24/8=3']
Exploring Operation: 80-47=33, Resulting Numbers: [3, 33]
Generated Node #3: [3, 33] from Operation: 80-47=33
Current State: 99:[3, 33], Operations: ['24/8=3', '80-47=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[24, 8, 47, 80], Operations: []
Exploring Operation: 24+80=104, Resulting Numbers: [8, 47, 104]
Generated Node #0,0: 99:[8, 47, 104] Operation: 24+80=104
Exploring Operation: 80-47=33, Resulting Numbers: [24, 8, 33]
Generated Node #0,1: 99:[24, 8, 33] Operation: 80-47=33
Exploring Operation: 80/8=10, Resulting Numbers: [24, 47, 10]
Generated Node #0,2: 99:[24, 47, 10] Operation: 80/8=10
Exploring Operation: 47-24=23, Resulting Numbers: [8, 80, 23]
Generated Node #0,3: 99:[8, 80, 23] Operation: 47-24=23
Moving to Node #0,1
Current State: 99:[24, 8, 33], Operations: ['80-47=33']
Exploring Operation: 24+8=32, Resulting Numbers: [33, 32]
Generated Node #0,1,0: 99:[33, 32] Operation: 24+8=32
Exploring Operation: 33-24=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 99:[8, 9] Operation: 33-24=9
Exploring Operation: 24/8=3, Resulting Numbers: [33, 3]
Generated Node #0,1,2: 99:[33, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [33, 16]
Generated Node #0,1,3: 99:[33, 16] Operation: 24-8=16
Moving to Node #0,0
Current State: 99:[8, 47, 104], Operations: ['24+80=104']
Exploring Operation: 47-8=39, Resulting Numbers: [104, 39]
Generated Node #0,0,0: 99:[104, 39] Operation: 47-8=39
Exploring Operation: 104-47=57, Resulting Numbers: [8, 57]
Generated Node #0,0,1: 99:[8, 57] Operation: 104-47=57
Exploring Operation: 104/8=13, Resulting Numbers: [47, 13]
Generated Node #0,0,2: 99:[47, 13] Operation: 104/8=13
Exploring Operation: 104-8=96, Resulting Numbers: [47, 96]
Generated Node #0,0,3: 99:[47, 96] Operation: 104-8=96
Moving to Node #0,2
Current State: 99:[24, 47, 10], Operations: ['80/8=10']
Exploring Operation: 47-24=23, Resulting Numbers: [10, 23]
Generated Node #0,2,0: 99:[10, 23] Operation: 47-24=23
Exploring Operation: 47-10=37, Resulting Numbers: [24, 37]
Generated Node #0,2,1: 99:[24, 37] Operation: 47-10=37
Exploring Operation: 24+10=34, Resulting Numbers: [47, 34]
Generated Node #0,2,2: 99:[47, 34] Operation: 24+10=34
Exploring Operation: 24-10=14, Resulting Numbers: [47, 14]
Generated Node #0,2,3: 99:[47, 14] Operation: 24-10=14
Moving to Node #0,3
Current State: 99:[8, 80, 23], Operations: ['47-24=23']
Exploring Operation: 80+23=103, Resulting Numbers: [8, 103]
Generated Node #0,3,0: 99:[8, 103] Operation: 80+23=103
Exploring Operation: 80/8=10, Resulting Numbers: [23, 10]
Generated Node #0,3,1: 99:[23, 10] Operation: 80/8=10
Exploring Operation: 8+80=88, Resulting Numbers: [23, 88]
Generated Node #0,3,2: 99:[23, 88] Operation: 8+80=88
Exploring Operation: 8+23=31, Resulting Numbers: [80, 31]
Generated Node #0,3,3: 99:[80, 31] Operation: 8+23=31
Moving to Node #0,1,2
Current State: 99:[33, 3], Operations: ['80-47=33', '24/8=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[24, 8, 47, 80], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [24, 8, 33]
Generated Node #0,1: 99:[24, 8, 33] Operation: 80-47=33
Moving to Node #0,1
Current State: 99:[24, 8, 33], Operations: ['80-47=33']
Exploring Operation: 24/8=3, Resulting Numbers: [33, 3]
Generated Node #0,1,2: 99:[33, 3] Operation: 24/8=3
Moving to Node #0,1,2
Current State: 99:[33, 3], Operations: ['80-47=33', '24/8=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.976563 | hs_4 | mult_heuristic |
[
35,
6,
58,
40
] | 59 | [
"35+6=41",
"58-40=18",
"41+18=59"
] | Current State: 59:[35, 6, 58, 40], Operations: []
Exploring Operation: 35+6=41, Resulting Numbers: [58, 40, 41]
Generated Node #2: [58, 40, 41] from Operation: 35+6=41
Current State: 59:[58, 40, 41], Operations: ['35+6=41']
Exploring Operation: 58-40=18, Resulting Numbers: [41, 18]
Generated Node #3: [41, 18] from Operation: 58-40=18
Current State: 59:[41, 18], Operations: ['35+6=41', '58-40=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[35, 6, 58, 40], Operations: []
Exploring Operation: 6+40=46, Resulting Numbers: [35, 58, 46]
Generated Node #0,0: 59:[35, 58, 46] Operation: 6+40=46
Exploring Operation: 6+58=64, Resulting Numbers: [35, 40, 64]
Generated Node #0,1: 59:[35, 40, 64] Operation: 6+58=64
Exploring Operation: 35+6=41, Resulting Numbers: [58, 40, 41]
Generated Node #0,2: 59:[58, 40, 41] Operation: 35+6=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[35, 58, 46], Operations: ['6+40=46']
Exploring Operation: 35+46=81, Resulting Numbers: [58, 81]
Generated Node #0,0,0: 59:[58, 81] Operation: 35+46=81
Exploring Operation: 58-35=23, Resulting Numbers: [46, 23]
Generated Node #0,0,1: 59:[46, 23] Operation: 58-35=23
Exploring Operation: 35+58=93, Resulting Numbers: [46, 93]
Generated Node #0,0,2: 59:[46, 93] Operation: 35+58=93
Moving to Node #0,0,0
Current State: 59:[58, 81], Operations: ['6+40=46', '35+46=81']
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,59 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[46, 93], Operations: ['6+40=46', '35+58=93']
Exploring Operation: 46+93=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Exploring Operation: 46*93=4278, Resulting Numbers: [4278]
4278,59 unequal: No Solution
Exploring Operation: 93-46=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[46, 23], Operations: ['6+40=46', '58-35=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,59 unequal: No Solution
No 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: 59:[58, 40, 41], Operations: ['35+6=41']
Exploring Operation: 58-40=18, Resulting Numbers: [41, 18]
Generated Node #0,2,0: 59:[41, 18] Operation: 58-40=18
Exploring Operation: 40+41=81, Resulting Numbers: [58, 81]
Generated Node #0,2,1: 59:[58, 81] Operation: 40+41=81
Exploring Operation: 58+40=98, Resulting Numbers: [41, 98]
Generated Node #0,2,2: 59:[41, 98] Operation: 58+40=98
Moving to Node #0,2,1
Current State: 59:[58, 81], Operations: ['35+6=41', '40+41=81']
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,59 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[41, 98], Operations: ['35+6=41', '58+40=98']
Exploring Operation: 41*98=4018, Resulting Numbers: [4018]
4018,59 unequal: No Solution
Exploring Operation: 98-41=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 41+98=139, Resulting Numbers: [139]
139,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[41, 18], Operations: ['35+6=41', '58-40=18']
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,59 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[35, 6, 58, 40], Operations: []
Exploring Operation: 35+6=41, Resulting Numbers: [58, 40, 41]
Generated Node #0,2: 59:[58, 40, 41] Operation: 35+6=41
Moving to Node #0,2
Current State: 59:[58, 40, 41], Operations: ['35+6=41']
Exploring Operation: 58-40=18, Resulting Numbers: [41, 18]
Generated Node #0,2,0: 59:[41, 18] Operation: 58-40=18
Moving to Node #0,2,0
Current State: 59:[41, 18], Operations: ['35+6=41', '58-40=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
12,
81,
66,
77
] | 82 | [
"12+81=93",
"77-66=11",
"93-11=82"
] | Current State: 82:[12, 81, 66, 77], Operations: []
Exploring Operation: 12+81=93, Resulting Numbers: [66, 77, 93]
Generated Node #2: [66, 77, 93] from Operation: 12+81=93
Current State: 82:[66, 77, 93], Operations: ['12+81=93']
Exploring Operation: 77-66=11, Resulting Numbers: [93, 11]
Generated Node #3: [93, 11] from Operation: 77-66=11
Current State: 82:[93, 11], Operations: ['12+81=93', '77-66=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[12, 81, 66, 77], Operations: []
Exploring Operation: 12+66=78, Resulting Numbers: [81, 77, 78]
Generated Node #0,0: 82:[81, 77, 78] Operation: 12+66=78
Moving to Node #0,0
Current State: 82:[81, 77, 78], Operations: ['12+66=78']
Exploring Operation: 78-77=1, Resulting Numbers: [81, 1]
Generated Node #0,0,0: 82:[81, 1] Operation: 78-77=1
Moving to Node #0,0,0
Current State: 82:[81, 1], Operations: ['12+66=78', '78-77=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[12, 81, 66, 77], Operations: []
Exploring Operation: 12+66=78, Resulting Numbers: [81, 77, 78]
Generated Node #0,0: 82:[81, 77, 78] Operation: 12+66=78
Moving to Node #0,0
Current State: 82:[81, 77, 78], Operations: ['12+66=78']
Exploring Operation: 78-77=1, Resulting Numbers: [81, 1]
Generated Node #0,0,0: 82:[81, 1] Operation: 78-77=1
Moving to Node #0,0,0
Current State: 82:[81, 1], Operations: ['12+66=78', '78-77=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
5,
54,
97,
51
] | 99 | [
"54-5=49",
"97+51=148",
"148-49=99"
] | Current State: 99:[5, 54, 97, 51], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [97, 51, 49]
Generated Node #2: [97, 51, 49] from Operation: 54-5=49
Current State: 99:[97, 51, 49], Operations: ['54-5=49']
Exploring Operation: 97+51=148, Resulting Numbers: [49, 148]
Generated Node #3: [49, 148] from Operation: 97+51=148
Current State: 99:[49, 148], Operations: ['54-5=49', '97+51=148']
Exploring Operation: 148-49=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[5, 54, 97, 51], Operations: []
Exploring Operation: 54-5=49, Resulting Numbers: [97, 51, 49]
Generated Node #0,0: 99:[97, 51, 49] Operation: 54-5=49
Exploring Operation: 54-51=3, Resulting Numbers: [5, 97, 3]
Generated Node #0,1: 99:[5, 97, 3] Operation: 54-51=3
Exploring Operation: 97-54=43, Resulting Numbers: [5, 51, 43]
Generated Node #0,2: 99:[5, 51, 43] Operation: 97-54=43
Exploring Operation: 54+51=105, Resulting Numbers: [5, 97, 105]
Generated Node #0,3: 99:[5, 97, 105] Operation: 54+51=105
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[5, 97, 3], Operations: ['54-51=3']
Exploring Operation: 97+3=100, Resulting Numbers: [5, 100]
Generated Node #0,1,0: 99:[5, 100] Operation: 97+3=100
Exploring Operation: 5+97=102, Resulting Numbers: [3, 102]
Generated Node #0,1,1: 99:[3, 102] Operation: 5+97=102
Exploring Operation: 5+3=8, Resulting Numbers: [97, 8]
Generated Node #0,1,2: 99:[97, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [97, 2]
Generated Node #0,1,3: 99:[97, 2] Operation: 5-3=2
Moving to Node #0,1,0
Current State: 99:[5, 100], Operations: ['54-51=3', '97+3=100']
Exploring Operation: 5*100=500, Resulting Numbers: [500]
500,99 unequal: No Solution
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 5+100=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 100-5=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[97, 8], Operations: ['54-51=3', '5+3=8']
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,99 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[3, 102], Operations: ['54-51=3', '5+97=102']
Exploring Operation: 3*102=306, Resulting Numbers: [306]
306,99 unequal: No Solution
Exploring Operation: 3+102=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[5, 54, 97, 51], Operations: []
Exploring Operation: 54-51=3, Resulting Numbers: [5, 97, 3]
Generated Node #0,1: 99:[5, 97, 3] Operation: 54-51=3
Moving to Node #0,1
Current State: 99:[5, 97, 3], Operations: ['54-51=3']
Exploring Operation: 5+97=102, Resulting Numbers: [3, 102]
Generated Node #0,1,1: 99:[3, 102] Operation: 5+97=102
Moving to Node #0,1,1
Current State: 99:[3, 102], Operations: ['54-51=3', '5+97=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
83,
67,
22,
2
] | 64 | [
"83+67=150",
"150-22=128",
"128/2=64"
] | Current State: 64:[83, 67, 22, 2], Operations: []
Exploring Operation: 83+67=150, Resulting Numbers: [22, 2, 150]
Generated Node #2: [22, 2, 150] from Operation: 83+67=150
Current State: 64:[22, 2, 150], Operations: ['83+67=150']
Exploring Operation: 150-22=128, Resulting Numbers: [2, 128]
Generated Node #3: [2, 128] from Operation: 150-22=128
Current State: 64:[2, 128], Operations: ['83+67=150', '150-22=128']
Exploring Operation: 128/2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[83, 67, 22, 2], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,0: 64:[22, 2, 16] Operation: 83-67=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[22, 2, 16], Operations: ['83-67=16']
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 64:[2, 6] Operation: 22-16=6
Moving to Node #0,0,0
Current State: 64:[2, 6], Operations: ['83-67=16', '22-16=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,64 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 |
[
89,
3,
32,
50
] | 95 | [
"50-32=18",
"18/3=6",
"89+6=95"
] | Current State: 95:[89, 3, 32, 50], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [89, 3, 18]
Generated Node #2: [89, 3, 18] from Operation: 50-32=18
Current State: 95:[89, 3, 18], Operations: ['50-32=18']
Exploring Operation: 18/3=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 18/3=6
Current State: 95:[89, 6], Operations: ['50-32=18', '18/3=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[89, 3, 32, 50], Operations: []
Exploring Operation: 32+50=82, Resulting Numbers: [89, 3, 82]
Generated Node #0,0: 95:[89, 3, 82] Operation: 32+50=82
Exploring Operation: 3*32=96, Resulting Numbers: [89, 50, 96]
Generated Node #0,1: 95:[89, 50, 96] Operation: 3*32=96
Exploring Operation: 50-32=18, Resulting Numbers: [89, 3, 18]
Generated Node #0,2: 95:[89, 3, 18] Operation: 50-32=18
Exploring Operation: 89-50=39, Resulting Numbers: [3, 32, 39]
Generated Node #0,3: 95:[3, 32, 39] Operation: 89-50=39
Moving to Node #0,2
Current State: 95:[89, 3, 18], Operations: ['50-32=18']
Exploring Operation: 89+3=92, Resulting Numbers: [18, 92]
Generated Node #0,2,0: 95:[18, 92] Operation: 89+3=92
Exploring Operation: 89-3=86, Resulting Numbers: [18, 86]
Generated Node #0,2,1: 95:[18, 86] Operation: 89-3=86
Exploring Operation: 3+18=21, Resulting Numbers: [89, 21]
Generated Node #0,2,2: 95:[89, 21] Operation: 3+18=21
Exploring Operation: 18/3=6, Resulting Numbers: [89, 6]
Generated Node #0,2,3: 95:[89, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[18, 92], Operations: ['50-32=18', '89+3=92']
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 18+92=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Exploring Operation: 18*92=1656, Resulting Numbers: [1656]
1656,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[89, 6], Operations: ['50-32=18', '18/3=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,95 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[89, 3, 32, 50], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [89, 3, 18]
Generated Node #0,2: 95:[89, 3, 18] Operation: 50-32=18
Moving to Node #0,2
Current State: 95:[89, 3, 18], Operations: ['50-32=18']
Exploring Operation: 18/3=6, Resulting Numbers: [89, 6]
Generated Node #0,2,3: 95:[89, 6] Operation: 18/3=6
Moving to Node #0,2,3
Current State: 95:[89, 6], Operations: ['50-32=18', '18/3=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
28,
37,
19,
92
] | 48 | [
"19*92=1748",
"28+1748=1776",
"1776/37=48"
] | Current State: 48:[28, 37, 19, 92], Operations: []
Exploring Operation: 19*92=1748, Resulting Numbers: [28, 37, 1748]
Generated Node #2: [28, 37, 1748] from Operation: 19*92=1748
Current State: 48:[28, 37, 1748], Operations: ['19*92=1748']
Exploring Operation: 28+1748=1776, Resulting Numbers: [37, 1776]
Generated Node #3: [37, 1776] from Operation: 28+1748=1776
Current State: 48:[37, 1776], Operations: ['19*92=1748', '28+1748=1776']
Exploring Operation: 1776/37=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[28, 37, 19, 92], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [28, 19, 55]
Generated Node #0,0: 48:[28, 19, 55] Operation: 92-37=55
Exploring Operation: 92-19=73, Resulting Numbers: [28, 37, 73]
Generated Node #0,1: 48:[28, 37, 73] Operation: 92-19=73
Exploring Operation: 92-28=64, Resulting Numbers: [37, 19, 64]
Generated Node #0,2: 48:[37, 19, 64] Operation: 92-28=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[28, 19, 55], Operations: ['92-37=55']
Exploring Operation: 28+19=47, Resulting Numbers: [55, 47]
Generated Node #0,0,0: 48:[55, 47] Operation: 28+19=47
Exploring Operation: 28-19=9, Resulting Numbers: [55, 9]
Generated Node #0,0,1: 48:[55, 9] Operation: 28-19=9
Exploring Operation: 55-28=27, Resulting Numbers: [19, 27]
Generated Node #0,0,2: 48:[19, 27] Operation: 55-28=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 48:[19, 27], Operations: ['92-37=55', '55-28=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,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:[55, 47], Operations: ['92-37=55', '28+19=47']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,48 unequal: No Solution
Exploring Operation: 55*47=2585, Resulting Numbers: [2585]
2585,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:[55, 9], Operations: ['92-37=55', '28-19=9']
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,48 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,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,2
Current State: 48:[37, 19, 64], Operations: ['92-28=64']
Exploring Operation: 64-37=27, Resulting Numbers: [19, 27]
Generated Node #0,2,0: 48:[19, 27] Operation: 64-37=27
Exploring Operation: 37-19=18, Resulting Numbers: [64, 18]
Generated Node #0,2,1: 48:[64, 18] Operation: 37-19=18
Exploring Operation: 64-19=45, Resulting Numbers: [37, 45]
Generated Node #0,2,2: 48:[37, 45] Operation: 64-19=45
Moving to Node #0,2,0
Current State: 48:[19, 27], Operations: ['92-28=64', '64-37=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,48 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[37, 45], Operations: ['92-28=64', '64-19=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,48 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[64, 18], Operations: ['92-28=64', '37-19=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,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
Current State: 48:[28, 37, 73], Operations: ['92-19=73']
Exploring Operation: 73-28=45, Resulting Numbers: [37, 45]
Generated Node #0,1,0: 48:[37, 45] Operation: 73-28=45
Exploring Operation: 73-37=36, Resulting Numbers: [28, 36]
Generated Node #0,1,1: 48:[28, 36] Operation: 73-37=36
Exploring Operation: 37-28=9, Resulting Numbers: [73, 9]
Generated Node #0,1,2: 48:[73, 9] Operation: 37-28=9
Moving to Node #0,1,0
Current State: 48:[37, 45], Operations: ['92-19=73', '73-28=45']
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,48 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[28, 36], Operations: ['92-19=73', '73-37=36']
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,48 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[73, 9], Operations: ['92-19=73', '37-28=9']
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,48 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,48 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 |
[
79,
78,
66,
83
] | 65 | [
"79-66=13",
"83-78=5",
"13*5=65"
] | Current State: 65:[79, 78, 66, 83], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [78, 83, 13]
Generated Node #2: [78, 83, 13] from Operation: 79-66=13
Current State: 65:[78, 83, 13], Operations: ['79-66=13']
Exploring Operation: 83-78=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 83-78=5
Current State: 65:[13, 5], Operations: ['79-66=13', '83-78=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[79, 78, 66, 83], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [78, 66, 4]
Generated Node #0,0: 65:[78, 66, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 65:[78, 66, 4], Operations: ['83-79=4']
Exploring Operation: 78-66=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 65:[4, 12] Operation: 78-66=12
Moving to Node #0,0,0
Current State: 65:[4, 12], Operations: ['83-79=4', '78-66=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
80,
45,
70
] | 50 | [
"50-45=5",
"80-70=10",
"5*10=50"
] | Current State: 50:[50, 80, 45, 70], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [80, 70, 5]
Generated Node #2: [80, 70, 5] from Operation: 50-45=5
Current State: 50:[80, 70, 5], Operations: ['50-45=5']
Exploring Operation: 80-70=10, Resulting Numbers: [5, 10]
Generated Node #3: [5, 10] from Operation: 80-70=10
Current State: 50:[5, 10], Operations: ['50-45=5', '80-70=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[50, 80, 45, 70], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [50, 80, 25]
Generated Node #0,0: 50:[50, 80, 25] Operation: 70-45=25
Exploring Operation: 80-50=30, Resulting Numbers: [45, 70, 30]
Generated Node #0,1: 50:[45, 70, 30] Operation: 80-50=30
Exploring Operation: 80-70=10, Resulting Numbers: [50, 45, 10]
Generated Node #0,2: 50:[50, 45, 10] Operation: 80-70=10
Exploring Operation: 80-45=35, Resulting Numbers: [50, 70, 35]
Generated Node #0,3: 50:[50, 70, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[50, 45, 10], Operations: ['80-70=10']
Exploring Operation: 50/10=5, Resulting Numbers: [45, 5]
Generated Node #0,2,0: 50:[45, 5] Operation: 50/10=5
Exploring Operation: 45-10=35, Resulting Numbers: [50, 35]
Generated Node #0,2,1: 50:[50, 35] Operation: 45-10=35
Exploring Operation: 45+10=55, Resulting Numbers: [50, 55]
Generated Node #0,2,2: 50:[50, 55] Operation: 45+10=55
Exploring Operation: 50-45=5, Resulting Numbers: [10, 5]
Generated Node #0,2,3: 50:[10, 5] Operation: 50-45=5
Moving to Node #0,2,3
Current State: 50:[10, 5], Operations: ['80-70=10', '50-45=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[50, 80, 45, 70], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [50, 45, 10]
Generated Node #0,2: 50:[50, 45, 10] Operation: 80-70=10
Moving to Node #0,2
Current State: 50:[50, 45, 10], Operations: ['80-70=10']
Exploring Operation: 50-45=5, Resulting Numbers: [10, 5]
Generated Node #0,2,3: 50:[10, 5] Operation: 50-45=5
Moving to Node #0,2,3
Current State: 50:[10, 5], Operations: ['80-70=10', '50-45=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
54,
14,
46,
3
] | 25 | [
"54+14=68",
"46-3=43",
"68-43=25"
] | Current State: 25:[54, 14, 46, 3], Operations: []
Exploring Operation: 54+14=68, Resulting Numbers: [46, 3, 68]
Generated Node #2: [46, 3, 68] from Operation: 54+14=68
Current State: 25:[46, 3, 68], Operations: ['54+14=68']
Exploring Operation: 46-3=43, Resulting Numbers: [68, 43]
Generated Node #3: [68, 43] from Operation: 46-3=43
Current State: 25:[68, 43], Operations: ['54+14=68', '46-3=43']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[54, 14, 46, 3], Operations: []
Exploring Operation: 46-14=32, Resulting Numbers: [54, 3, 32]
Generated Node #0,0: 25:[54, 3, 32] Operation: 46-14=32
Exploring Operation: 54-14=40, Resulting Numbers: [46, 3, 40]
Generated Node #0,1: 25:[46, 3, 40] Operation: 54-14=40
Exploring Operation: 54-46=8, Resulting Numbers: [14, 3, 8]
Generated Node #0,2: 25:[14, 3, 8] Operation: 54-46=8
Exploring Operation: 54/3=18, Resulting Numbers: [14, 46, 18]
Generated Node #0,3: 25:[14, 46, 18] Operation: 54/3=18
Exploring Operation: 54-3=51, Resulting Numbers: [14, 46, 51]
Generated Node #0,4: 25:[14, 46, 51] Operation: 54-3=51
Moving to Node #0,2
Current State: 25:[14, 3, 8], Operations: ['54-46=8']
Exploring Operation: 3*8=24, Resulting Numbers: [14, 24]
Generated Node #0,2,0: 25:[14, 24] Operation: 3*8=24
Exploring Operation: 14-3=11, Resulting Numbers: [8, 11]
Generated Node #0,2,1: 25:[8, 11] Operation: 14-3=11
Exploring Operation: 8-3=5, Resulting Numbers: [14, 5]
Generated Node #0,2,2: 25:[14, 5] Operation: 8-3=5
Exploring Operation: 14+8=22, Resulting Numbers: [3, 22]
Generated Node #0,2,3: 25:[3, 22] Operation: 14+8=22
Exploring Operation: 14-8=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 25:[3, 6] Operation: 14-8=6
Moving to Node #0,3
Current State: 25:[14, 46, 18], Operations: ['54/3=18']
Exploring Operation: 46-14=32, Resulting Numbers: [18, 32]
Generated Node #0,3,0: 25:[18, 32] Operation: 46-14=32
Exploring Operation: 14+18=32, Resulting Numbers: [46, 32]
Generated Node #0,3,1: 25:[46, 32] Operation: 14+18=32
Exploring Operation: 14+46=60, Resulting Numbers: [18, 60]
Generated Node #0,3,2: 25:[18, 60] Operation: 14+46=60
Exploring Operation: 18-14=4, Resulting Numbers: [46, 4]
Generated Node #0,3,3: 25:[46, 4] Operation: 18-14=4
Exploring Operation: 46-18=28, Resulting Numbers: [14, 28]
Generated Node #0,3,4: 25:[14, 28] Operation: 46-18=28
Moving to Node #0,0
Current State: 25:[54, 3, 32], Operations: ['46-14=32']
Exploring Operation: 54+3=57, Resulting Numbers: [32, 57]
Generated Node #0,0,0: 25:[32, 57] Operation: 54+3=57
Exploring Operation: 54/3=18, Resulting Numbers: [32, 18]
Generated Node #0,0,1: 25:[32, 18] Operation: 54/3=18
Exploring Operation: 54-32=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 25:[3, 22] Operation: 54-32=22
Exploring Operation: 54-3=51, Resulting Numbers: [32, 51]
Generated Node #0,0,3: 25:[32, 51] Operation: 54-3=51
Exploring Operation: 32-3=29, Resulting Numbers: [54, 29]
Generated Node #0,0,4: 25:[54, 29] Operation: 32-3=29
Moving to Node #0,1
Current State: 25:[46, 3, 40], Operations: ['54-14=40']
Exploring Operation: 3+40=43, Resulting Numbers: [46, 43]
Generated Node #0,1,0: 25:[46, 43] Operation: 3+40=43
Exploring Operation: 46+3=49, Resulting Numbers: [40, 49]
Generated Node #0,1,1: 25:[40, 49] Operation: 46+3=49
Exploring Operation: 46-40=6, Resulting Numbers: [3, 6]
Generated Node #0,1,2: 25:[3, 6] Operation: 46-40=6
Exploring Operation: 46-3=43, Resulting Numbers: [40, 43]
Generated Node #0,1,3: 25:[40, 43] Operation: 46-3=43
Exploring Operation: 40-3=37, Resulting Numbers: [46, 37]
Generated Node #0,1,4: 25:[46, 37] Operation: 40-3=37
Moving to Node #0,4
Current State: 25:[14, 46, 51], Operations: ['54-3=51']
Exploring Operation: 51-14=37, Resulting Numbers: [46, 37]
Generated Node #0,4,0: 25:[46, 37] Operation: 51-14=37
Exploring Operation: 14+51=65, Resulting Numbers: [46, 65]
Generated Node #0,4,1: 25:[46, 65] Operation: 14+51=65
Exploring Operation: 51-46=5, Resulting Numbers: [14, 5]
Generated Node #0,4,2: 25:[14, 5] Operation: 51-46=5
Exploring Operation: 46-14=32, Resulting Numbers: [51, 32]
Generated Node #0,4,3: 25:[51, 32] Operation: 46-14=32
Exploring Operation: 14+46=60, Resulting Numbers: [51, 60]
Generated Node #0,4,4: 25:[51, 60] Operation: 14+46=60
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[14, 5], Operations: ['54-3=51', '51-46=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,25 unequal: No Solution
No 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: 25:[46, 37], Operations: ['54-3=51', '51-14=37']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,25 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,25 unequal: No Solution
No 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: 25:[51, 32], Operations: ['54-3=51', '46-14=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,25 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,25 unequal: No Solution
No 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: 25:[46, 65], Operations: ['54-3=51', '14+51=65']
Exploring Operation: 46*65=2990, Resulting Numbers: [2990]
2990,25 unequal: No Solution
Exploring Operation: 46+65=111, Resulting Numbers: [111]
111,25 unequal: No Solution
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,25 unequal: No Solution
No 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: 25:[51, 60], Operations: ['54-3=51', '14+46=60']
Exploring Operation: 51*60=3060, Resulting Numbers: [3060]
3060,25 unequal: No Solution
Exploring Operation: 51+60=111, Resulting Numbers: [111]
111,25 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 25:[3, 6], Operations: ['54-46=8', '14-8=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[3, 6], Operations: ['54-14=40', '46-40=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[3, 22], Operations: ['46-14=32', '54-32=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[54, 14, 46, 3], Operations: []
Exploring Operation: 46-14=32, Resulting Numbers: [54, 3, 32]
Generated Node #0,0: 25:[54, 3, 32] Operation: 46-14=32
Moving to Node #0,0
Current State: 25:[54, 3, 32], Operations: ['46-14=32']
Exploring Operation: 54-32=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 25:[3, 22] Operation: 54-32=22
Moving to Node #0,0,2
Current State: 25:[3, 22], Operations: ['46-14=32', '54-32=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.948785 | hs_5 | mult_heuristic |
[
47,
77,
74,
71
] | 49 | [
"77+71=148",
"148/74=2",
"47+2=49"
] | Current State: 49:[47, 77, 74, 71], Operations: []
Exploring Operation: 77+71=148, Resulting Numbers: [47, 74, 148]
Generated Node #2: [47, 74, 148] from Operation: 77+71=148
Current State: 49:[47, 74, 148], Operations: ['77+71=148']
Exploring Operation: 148/74=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 148/74=2
Current State: 49:[47, 2], Operations: ['77+71=148', '148/74=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[47, 77, 74, 71], Operations: []
Exploring Operation: 77-47=30, Resulting Numbers: [74, 71, 30]
Generated Node #0,0: 49:[74, 71, 30] Operation: 77-47=30
Exploring Operation: 77-71=6, Resulting Numbers: [47, 74, 6]
Generated Node #0,1: 49:[47, 74, 6] Operation: 77-71=6
Exploring Operation: 77-74=3, Resulting Numbers: [47, 71, 3]
Generated Node #0,2: 49:[47, 71, 3] Operation: 77-74=3
Exploring Operation: 74-71=3, Resulting Numbers: [47, 77, 3]
Generated Node #0,3: 49:[47, 77, 3] Operation: 74-71=3
Moving to Node #0,1
Current State: 49:[47, 74, 6], Operations: ['77-71=6']
Exploring Operation: 74-47=27, Resulting Numbers: [6, 27]
Generated Node #0,1,0: 49:[6, 27] Operation: 74-47=27
Exploring Operation: 47-6=41, Resulting Numbers: [74, 41]
Generated Node #0,1,1: 49:[74, 41] Operation: 47-6=41
Exploring Operation: 74-6=68, Resulting Numbers: [47, 68]
Generated Node #0,1,2: 49:[47, 68] Operation: 74-6=68
Exploring Operation: 47+6=53, Resulting Numbers: [74, 53]
Generated Node #0,1,3: 49:[74, 53] Operation: 47+6=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[6, 27], Operations: ['77-71=6', '74-47=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,49 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[47, 68], Operations: ['77-71=6', '74-6=68']
Exploring Operation: 47+68=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 47*68=3196, Resulting Numbers: [3196]
3196,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[74, 53], Operations: ['77-71=6', '47+6=53']
Exploring Operation: 74+53=127, Resulting Numbers: [127]
127,49 unequal: No Solution
Exploring Operation: 74*53=3922, Resulting Numbers: [3922]
3922,49 unequal: No Solution
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[74, 41], Operations: ['77-71=6', '47-6=41']
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,49 unequal: No Solution
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 49:[47, 71, 3], Operations: ['77-74=3']
Exploring Operation: 71-47=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 49:[3, 24] Operation: 71-47=24
Exploring Operation: 47-3=44, Resulting Numbers: [71, 44]
Generated Node #0,2,1: 49:[71, 44] Operation: 47-3=44
Exploring Operation: 71-3=68, Resulting Numbers: [47, 68]
Generated Node #0,2,2: 49:[47, 68] Operation: 71-3=68
Exploring Operation: 47+3=50, Resulting Numbers: [71, 50]
Generated Node #0,2,3: 49:[71, 50] Operation: 47+3=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[3, 24], Operations: ['77-74=3', '71-47=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[47, 68], Operations: ['77-74=3', '71-3=68']
Exploring Operation: 47*68=3196, Resulting Numbers: [3196]
3196,49 unequal: No Solution
Exploring Operation: 47+68=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[71, 50], Operations: ['77-74=3', '47+3=50']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 71*50=3550, Resulting Numbers: [3550]
3550,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[71, 44], Operations: ['77-74=3', '47-3=44']
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,49 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 49:[47, 77, 3], Operations: ['74-71=3']
Exploring Operation: 47+3=50, Resulting Numbers: [77, 50]
Generated Node #0,3,0: 49:[77, 50] Operation: 47+3=50
Exploring Operation: 47-3=44, Resulting Numbers: [77, 44]
Generated Node #0,3,1: 49:[77, 44] Operation: 47-3=44
Exploring Operation: 77-3=74, Resulting Numbers: [47, 74]
Generated Node #0,3,2: 49:[47, 74] Operation: 77-3=74
Exploring Operation: 77-47=30, Resulting Numbers: [3, 30]
Generated Node #0,3,3: 49:[3, 30] Operation: 77-47=30
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[3, 30], Operations: ['74-71=3', '77-47=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[47, 74], Operations: ['74-71=3', '77-3=74']
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 47*74=3478, Resulting Numbers: [3478]
3478,49 unequal: No Solution
Exploring Operation: 47+74=121, Resulting Numbers: [121]
121,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[77, 50], Operations: ['74-71=3', '47+3=50']
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,49 unequal: No Solution
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[77, 44], Operations: ['74-71=3', '47-3=44']
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,49 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 49:[74, 71, 30], Operations: ['77-47=30']
Exploring Operation: 74-71=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 49:[30, 3] Operation: 74-71=3
Exploring Operation: 74+30=104, Resulting Numbers: [71, 104]
Generated Node #0,0,1: 49:[71, 104] Operation: 74+30=104
Exploring Operation: 74-30=44, Resulting Numbers: [71, 44]
Generated Node #0,0,2: 49:[71, 44] Operation: 74-30=44
Exploring Operation: 71-30=41, Resulting Numbers: [74, 41]
Generated Node #0,0,3: 49:[74, 41] Operation: 71-30=41
Moving to Node #0,0,0
Current State: 49:[30, 3], Operations: ['77-47=30', '74-71=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[71, 44], Operations: ['77-47=30', '74-30=44']
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,49 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[74, 41], Operations: ['77-47=30', '71-30=41']
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,49 unequal: No Solution
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[71, 104], Operations: ['77-47=30', '74+30=104']
Exploring Operation: 71*104=7384, Resulting Numbers: [7384]
7384,49 unequal: No Solution
Exploring Operation: 71+104=175, Resulting Numbers: [175]
175,49 unequal: No Solution
Exploring Operation: 104-71=33, Resulting Numbers: [33]
33,49 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
35,
2,
1,
5
] | 85 | [
"35-1=34",
"34/2=17",
"5*17=85"
] | Current State: 85:[35, 2, 1, 5], Operations: []
Exploring Operation: 35-1=34, Resulting Numbers: [2, 5, 34]
Generated Node #2: [2, 5, 34] from Operation: 35-1=34
Current State: 85:[2, 5, 34], Operations: ['35-1=34']
Exploring Operation: 34/2=17, Resulting Numbers: [5, 17]
Generated Node #3: [5, 17] from Operation: 34/2=17
Current State: 85:[5, 17], Operations: ['35-1=34', '34/2=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 2, 1, 5], Operations: []
Exploring Operation: 35*2=70, Resulting Numbers: [1, 5, 70]
Generated Node #0,0: 85:[1, 5, 70] Operation: 35*2=70
Exploring Operation: 35/5=7, Resulting Numbers: [2, 1, 7]
Generated Node #0,1: 85:[2, 1, 7] Operation: 35/5=7
Moving to Node #0,1
Current State: 85:[2, 1, 7], Operations: ['35/5=7']
Exploring Operation: 2+1=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 85:[7, 3] Operation: 2+1=3
Exploring Operation: 7-2=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 85:[1, 5] Operation: 7-2=5
Moving to Node #0,0
Current State: 85:[1, 5, 70], Operations: ['35*2=70']
Exploring Operation: 70/5=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 85:[1, 14] Operation: 70/5=14
Exploring Operation: 1+70=71, Resulting Numbers: [5, 71]
Generated Node #0,0,1: 85:[5, 71] Operation: 1+70=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[1, 14], Operations: ['35*2=70', '70/5=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[5, 71], Operations: ['35*2=70', '1+70=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,85 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: 85:[7, 3], Operations: ['35/5=7', '2+1=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[1, 5], Operations: ['35/5=7', '7-2=5']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
82,
37,
64,
57
] | 76 | [
"82-37=45",
"64+57=121",
"121-45=76"
] | Current State: 76:[82, 37, 64, 57], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [64, 57, 45]
Generated Node #2: [64, 57, 45] from Operation: 82-37=45
Current State: 76:[64, 57, 45], Operations: ['82-37=45']
Exploring Operation: 64+57=121, Resulting Numbers: [45, 121]
Generated Node #3: [45, 121] from Operation: 64+57=121
Current State: 76:[45, 121], Operations: ['82-37=45', '64+57=121']
Exploring Operation: 121-45=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[82, 37, 64, 57], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [82, 37, 7]
Generated Node #0,0: 76:[82, 37, 7] Operation: 64-57=7
Exploring Operation: 57-37=20, Resulting Numbers: [82, 64, 20]
Generated Node #0,1: 76:[82, 64, 20] Operation: 57-37=20
Exploring Operation: 82-64=18, Resulting Numbers: [37, 57, 18]
Generated Node #0,2: 76:[37, 57, 18] Operation: 82-64=18
Exploring Operation: 64-37=27, Resulting Numbers: [82, 57, 27]
Generated Node #0,3: 76:[82, 57, 27] Operation: 64-37=27
Exploring Operation: 82-57=25, Resulting Numbers: [37, 64, 25]
Generated Node #0,4: 76:[37, 64, 25] Operation: 82-57=25
Moving to Node #0,0
Current State: 76:[82, 37, 7], Operations: ['64-57=7']
Exploring Operation: 37+7=44, Resulting Numbers: [82, 44]
Generated Node #0,0,0: 76:[82, 44] Operation: 37+7=44
Exploring Operation: 82+7=89, Resulting Numbers: [37, 89]
Generated Node #0,0,1: 76:[37, 89] Operation: 82+7=89
Exploring Operation: 82-37=45, Resulting Numbers: [7, 45]
Generated Node #0,0,2: 76:[7, 45] Operation: 82-37=45
Exploring Operation: 82-7=75, Resulting Numbers: [37, 75]
Generated Node #0,0,3: 76:[37, 75] Operation: 82-7=75
Exploring Operation: 37-7=30, Resulting Numbers: [82, 30]
Generated Node #0,0,4: 76:[82, 30] Operation: 37-7=30
Moving to Node #0,4
Current State: 76:[37, 64, 25], Operations: ['82-57=25']
Exploring Operation: 64+25=89, Resulting Numbers: [37, 89]
Generated Node #0,4,0: 76:[37, 89] Operation: 64+25=89
Exploring Operation: 37-25=12, Resulting Numbers: [64, 12]
Generated Node #0,4,1: 76:[64, 12] Operation: 37-25=12
Exploring Operation: 37+25=62, Resulting Numbers: [64, 62]
Generated Node #0,4,2: 76:[64, 62] Operation: 37+25=62
Exploring Operation: 64-25=39, Resulting Numbers: [37, 39]
Generated Node #0,4,3: 76:[37, 39] Operation: 64-25=39
Exploring Operation: 64-37=27, Resulting Numbers: [25, 27]
Generated Node #0,4,4: 76:[25, 27] Operation: 64-37=27
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[37, 39], Operations: ['82-57=25', '64-25=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[82, 37, 64, 57], Operations: []
Exploring Operation: 82-57=25, Resulting Numbers: [37, 64, 25]
Generated Node #0,4: 76:[37, 64, 25] Operation: 82-57=25
Moving to Node #0,4
Current State: 76:[37, 64, 25], Operations: ['82-57=25']
Exploring Operation: 64-25=39, Resulting Numbers: [37, 39]
Generated Node #0,4,3: 76:[37, 39] Operation: 64-25=39
Moving to Node #0,4,3
Current State: 76:[37, 39], Operations: ['82-57=25', '64-25=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
4,
48,
42,
27
] | 37 | [
"4+48=52",
"42-27=15",
"52-15=37"
] | Current State: 37:[4, 48, 42, 27], Operations: []
Exploring Operation: 4+48=52, Resulting Numbers: [42, 27, 52]
Generated Node #2: [42, 27, 52] from Operation: 4+48=52
Current State: 37:[42, 27, 52], Operations: ['4+48=52']
Exploring Operation: 42-27=15, Resulting Numbers: [52, 15]
Generated Node #3: [52, 15] from Operation: 42-27=15
Current State: 37:[52, 15], Operations: ['4+48=52', '42-27=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[4, 48, 42, 27], Operations: []
Exploring Operation: 48-4=44, Resulting Numbers: [42, 27, 44]
Generated Node #0,0: 37:[42, 27, 44] Operation: 48-4=44
Exploring Operation: 4+48=52, Resulting Numbers: [42, 27, 52]
Generated Node #0,1: 37:[42, 27, 52] Operation: 4+48=52
Exploring Operation: 4+27=31, Resulting Numbers: [48, 42, 31]
Generated Node #0,2: 37:[48, 42, 31] Operation: 4+27=31
Exploring Operation: 42-4=38, Resulting Numbers: [48, 27, 38]
Generated Node #0,3: 37:[48, 27, 38] Operation: 42-4=38
Moving to Node #0,0
Current State: 37:[42, 27, 44], Operations: ['48-4=44']
Exploring Operation: 44-27=17, Resulting Numbers: [42, 17]
Generated Node #0,0,0: 37:[42, 17] Operation: 44-27=17
Exploring Operation: 27+44=71, Resulting Numbers: [42, 71]
Generated Node #0,0,1: 37:[42, 71] Operation: 27+44=71
Exploring Operation: 42+27=69, Resulting Numbers: [44, 69]
Generated Node #0,0,2: 37:[44, 69] Operation: 42+27=69
Exploring Operation: 42-27=15, Resulting Numbers: [44, 15]
Generated Node #0,0,3: 37:[44, 15] Operation: 42-27=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[42, 17], Operations: ['48-4=44', '44-27=17']
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,37 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[44, 15], Operations: ['48-4=44', '42-27=15']
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,37 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[42, 71], Operations: ['48-4=44', '27+44=71']
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,37 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[44, 69], Operations: ['48-4=44', '42+27=69']
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,37 unequal: No Solution
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,37 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: 37:[48, 27, 38], Operations: ['42-4=38']
Exploring Operation: 48+27=75, Resulting Numbers: [38, 75]
Generated Node #0,3,0: 37:[38, 75] Operation: 48+27=75
Exploring Operation: 38-27=11, Resulting Numbers: [48, 11]
Generated Node #0,3,1: 37:[48, 11] Operation: 38-27=11
Exploring Operation: 48-27=21, Resulting Numbers: [38, 21]
Generated Node #0,3,2: 37:[38, 21] Operation: 48-27=21
Exploring Operation: 48-38=10, Resulting Numbers: [27, 10]
Generated Node #0,3,3: 37:[27, 10] Operation: 48-38=10
Moving to Node #0,2
Current State: 37:[48, 42, 31], Operations: ['4+27=31']
Exploring Operation: 42-31=11, Resulting Numbers: [48, 11]
Generated Node #0,2,0: 37:[48, 11] Operation: 42-31=11
Exploring Operation: 48-31=17, Resulting Numbers: [42, 17]
Generated Node #0,2,1: 37:[42, 17] Operation: 48-31=17
Exploring Operation: 48+31=79, Resulting Numbers: [42, 79]
Generated Node #0,2,2: 37:[42, 79] Operation: 48+31=79
Exploring Operation: 48-42=6, Resulting Numbers: [31, 6]
Generated Node #0,2,3: 37:[31, 6] Operation: 48-42=6
Moving to Node #0,1
Current State: 37:[42, 27, 52], Operations: ['4+48=52']
Exploring Operation: 52-42=10, Resulting Numbers: [27, 10]
Generated Node #0,1,0: 37:[27, 10] Operation: 52-42=10
Exploring Operation: 42-27=15, Resulting Numbers: [52, 15]
Generated Node #0,1,1: 37:[52, 15] Operation: 42-27=15
Exploring Operation: 42+27=69, Resulting Numbers: [52, 69]
Generated Node #0,1,2: 37:[52, 69] Operation: 42+27=69
Exploring Operation: 52-27=25, Resulting Numbers: [42, 25]
Generated Node #0,1,3: 37:[42, 25] Operation: 52-27=25
Moving to Node #0,3,2
Current State: 37:[38, 21], Operations: ['42-4=38', '48-27=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[42, 25], Operations: ['4+48=52', '52-27=25']
Exploring Operation: 42+25=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 42-25=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 42*25=1050, Resulting Numbers: [1050]
1050,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[42, 17], Operations: ['4+27=31', '48-31=17']
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,37 unequal: No Solution
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[27, 10], Operations: ['42-4=38', '48-38=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,37 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[4, 48, 42, 27], Operations: []
Exploring Operation: 42-4=38, Resulting Numbers: [48, 27, 38]
Generated Node #0,3: 37:[48, 27, 38] Operation: 42-4=38
Moving to Node #0,3
Current State: 37:[48, 27, 38], Operations: ['42-4=38']
Exploring Operation: 48-38=10, Resulting Numbers: [27, 10]
Generated Node #0,3,3: 37:[27, 10] Operation: 48-38=10
Moving to Node #0,3,3
Current State: 37:[27, 10], Operations: ['42-4=38', '48-38=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.959201 | hs_4 | sum_heuristic |
[
32,
32,
62,
32
] | 61 | [
"32*62=1984",
"1984-32=1952",
"1952/32=61"
] | Current State: 61:[32, 32, 62, 32], Operations: []
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,61 equal: Goal Reached
Exploring Operation: 1984-32=1952, Resulting Numbers: [1952]
1952,61 equal: Goal Reached
Exploring Operation: 1952/32=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[32, 32, 62, 32], Operations: []
Exploring Operation: 32+32=64, Resulting Numbers: [62, 32, 64]
Generated Node #0,0: 61:[62, 32, 64] Operation: 32+32=64
Exploring Operation: 32+32=64, Resulting Numbers: [32, 62, 64]
Generated Node #0,1: 61:[32, 62, 64] Operation: 32+32=64
Moving to Node #0,0
Current State: 61:[62, 32, 64], Operations: ['32+32=64']
Exploring Operation: 64-32=32, Resulting Numbers: [62, 32]
Generated Node #0,0,0: 61:[62, 32] Operation: 64-32=32
Exploring Operation: 62-32=30, Resulting Numbers: [64, 30]
Generated Node #0,0,1: 61:[64, 30] Operation: 62-32=30
Moving to Node #0,1
Current State: 61:[32, 62, 64], Operations: ['32+32=64']
Exploring Operation: 62-32=30, Resulting Numbers: [64, 30]
Generated Node #0,1,0: 61:[64, 30] Operation: 62-32=30
Exploring Operation: 64-32=32, Resulting Numbers: [62, 32]
Generated Node #0,1,1: 61:[62, 32] Operation: 64-32=32
Moving to Node #0,0,0
Current State: 61:[62, 32], Operations: ['32+32=64', '64-32=32']
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[62, 32], Operations: ['32+32=64', '64-32=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[64, 30], Operations: ['32+32=64', '62-32=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[64, 30], Operations: ['32+32=64', '62-32=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,61 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
59,
2,
66
] | 91 | [
"15-2=13",
"66-59=7",
"13*7=91"
] | Current State: 91:[15, 59, 2, 66], Operations: []
Exploring Operation: 15-2=13, Resulting Numbers: [59, 66, 13]
Generated Node #2: [59, 66, 13] from Operation: 15-2=13
Current State: 91:[59, 66, 13], Operations: ['15-2=13']
Exploring Operation: 66-59=7, Resulting Numbers: [13, 7]
Generated Node #3: [13, 7] from Operation: 66-59=7
Current State: 91:[13, 7], Operations: ['15-2=13', '66-59=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[15, 59, 2, 66], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [15, 2, 7]
Generated Node #0,0: 91:[15, 2, 7] Operation: 66-59=7
Moving to Node #0,0
Current State: 91:[15, 2, 7], Operations: ['66-59=7']
Exploring Operation: 15-2=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 15-2=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[7, 13], Operations: ['66-59=7', '15-2=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[15, 59, 2, 66], Operations: []
Exploring Operation: 66-59=7, Resulting Numbers: [15, 2, 7]
Generated Node #0,0: 91:[15, 2, 7] Operation: 66-59=7
Moving to Node #0,0
Current State: 91:[15, 2, 7], Operations: ['66-59=7']
Exploring Operation: 15-2=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 91:[7, 13] Operation: 15-2=13
Moving to Node #0,0,0
Current State: 91:[7, 13], Operations: ['66-59=7', '15-2=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
43,
31,
55,
44
] | 42 | [
"31+55=86",
"86/43=2",
"44-2=42"
] | Current State: 42:[43, 31, 55, 44], Operations: []
Exploring Operation: 31+55=86, Resulting Numbers: [43, 44, 86]
Generated Node #2: [43, 44, 86] from Operation: 31+55=86
Current State: 42:[43, 44, 86], Operations: ['31+55=86']
Exploring Operation: 86/43=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 86/43=2
Current State: 42:[44, 2], Operations: ['31+55=86', '86/43=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 31, 55, 44], Operations: []
Exploring Operation: 55-31=24, Resulting Numbers: [43, 44, 24]
Generated Node #0,0: 42:[43, 44, 24] Operation: 55-31=24
Moving to Node #0,0
Current State: 42:[43, 44, 24], Operations: ['55-31=24']
Exploring Operation: 44-24=20, Resulting Numbers: [43, 20]
Generated Node #0,0,0: 42:[43, 20] Operation: 44-24=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[43, 20], Operations: ['55-31=24', '44-24=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
31,
21,
29
] | 43 | [
"31-29=2",
"21*2=42",
"85-42=43"
] | Current State: 43:[85, 31, 21, 29], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [85, 21, 2]
Generated Node #2: [85, 21, 2] from Operation: 31-29=2
Current State: 43:[85, 21, 2], Operations: ['31-29=2']
Exploring Operation: 21*2=42, Resulting Numbers: [85, 42]
Generated Node #3: [85, 42] from Operation: 21*2=42
Current State: 43:[85, 42], Operations: ['31-29=2', '21*2=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[85, 31, 21, 29], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [21, 29, 54]
Generated Node #0,0: 43:[21, 29, 54] Operation: 85-31=54
Exploring Operation: 85-29=56, Resulting Numbers: [31, 21, 56]
Generated Node #0,1: 43:[31, 21, 56] Operation: 85-29=56
Exploring Operation: 85-21=64, Resulting Numbers: [31, 29, 64]
Generated Node #0,2: 43:[31, 29, 64] Operation: 85-21=64
Exploring Operation: 21+29=50, Resulting Numbers: [85, 31, 50]
Generated Node #0,3: 43:[85, 31, 50] Operation: 21+29=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[21, 29, 54], Operations: ['85-31=54']
Exploring Operation: 54-21=33, Resulting Numbers: [29, 33]
Generated Node #0,0,0: 43:[29, 33] Operation: 54-21=33
Exploring Operation: 54-29=25, Resulting Numbers: [21, 25]
Generated Node #0,0,1: 43:[21, 25] Operation: 54-29=25
Exploring Operation: 29-21=8, Resulting Numbers: [54, 8]
Generated Node #0,0,2: 43:[54, 8] Operation: 29-21=8
Exploring Operation: 21+29=50, Resulting Numbers: [54, 50]
Generated Node #0,0,3: 43:[54, 50] Operation: 21+29=50
Moving to Node #0,0,3
Current State: 43:[54, 50], Operations: ['85-31=54', '21+29=50']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[29, 33], Operations: ['85-31=54', '54-21=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,43 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[21, 25], Operations: ['85-31=54', '54-29=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,43 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[54, 8], Operations: ['85-31=54', '29-21=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,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
Current State: 43:[31, 21, 56], Operations: ['85-29=56']
Exploring Operation: 31+21=52, Resulting Numbers: [56, 52]
Generated Node #0,1,0: 43:[56, 52] Operation: 31+21=52
Exploring Operation: 31-21=10, Resulting Numbers: [56, 10]
Generated Node #0,1,1: 43:[56, 10] Operation: 31-21=10
Exploring Operation: 56-21=35, Resulting Numbers: [31, 35]
Generated Node #0,1,2: 43:[31, 35] Operation: 56-21=35
Exploring Operation: 56-31=25, Resulting Numbers: [21, 25]
Generated Node #0,1,3: 43:[21, 25] Operation: 56-31=25
Moving to Node #0,1,2
Current State: 43:[31, 35], Operations: ['85-29=56', '56-21=35']
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[56, 52], Operations: ['85-29=56', '31+21=52']
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[21, 25], Operations: ['85-29=56', '56-31=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,43 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[56, 10], Operations: ['85-29=56', '31-21=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,43 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,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:[31, 29, 64], Operations: ['85-21=64']
Exploring Operation: 64-31=33, Resulting Numbers: [29, 33]
Generated Node #0,2,0: 43:[29, 33] Operation: 64-31=33
Exploring Operation: 64-29=35, Resulting Numbers: [31, 35]
Generated Node #0,2,1: 43:[31, 35] Operation: 64-29=35
Exploring Operation: 31+29=60, Resulting Numbers: [64, 60]
Generated Node #0,2,2: 43:[64, 60] Operation: 31+29=60
Exploring Operation: 31-29=2, Resulting Numbers: [64, 2]
Generated Node #0,2,3: 43:[64, 2] Operation: 31-29=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[31, 35], Operations: ['85-21=64', '64-29=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,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:[29, 33], Operations: ['85-21=64', '64-31=33']
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,43 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,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:[64, 60], Operations: ['85-21=64', '31+29=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[64, 2], Operations: ['85-21=64', '31-29=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[85, 31, 50], Operations: ['21+29=50']
Exploring Operation: 85-31=54, Resulting Numbers: [50, 54]
Generated Node #0,3,0: 43:[50, 54] Operation: 85-31=54
Exploring Operation: 85+31=116, Resulting Numbers: [50, 116]
Generated Node #0,3,1: 43:[50, 116] Operation: 85+31=116
Exploring Operation: 85-50=35, Resulting Numbers: [31, 35]
Generated Node #0,3,2: 43:[31, 35] Operation: 85-50=35
Exploring Operation: 50-31=19, Resulting Numbers: [85, 19]
Generated Node #0,3,3: 43:[85, 19] Operation: 50-31=19
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[50, 54], Operations: ['21+29=50', '85-31=54']
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,43 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,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,3,2
Current State: 43:[31, 35], Operations: ['21+29=50', '85-50=35']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 31+35=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 31*35=1085, Resulting Numbers: [1085]
1085,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,3,3
Current State: 43:[85, 19], Operations: ['21+29=50', '50-31=19']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,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,3,1
Current State: 43:[50, 116], Operations: ['21+29=50', '85+31=116']
Exploring Operation: 50*116=5800, Resulting Numbers: [5800]
5800,43 unequal: No Solution
Exploring Operation: 116-50=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 50+116=166, Resulting Numbers: [166]
166,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_4 | mult_heuristic |
[
43,
35,
4,
13
] | 95 | [
"43+35=78",
"4+13=17",
"78+17=95"
] | Current State: 95:[43, 35, 4, 13], Operations: []
Exploring Operation: 43+35=78, Resulting Numbers: [4, 13, 78]
Generated Node #2: [4, 13, 78] from Operation: 43+35=78
Current State: 95:[4, 13, 78], Operations: ['43+35=78']
Exploring Operation: 4+13=17, Resulting Numbers: [78, 17]
Generated Node #3: [78, 17] from Operation: 4+13=17
Current State: 95:[78, 17], Operations: ['43+35=78', '4+13=17']
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[43, 35, 4, 13], Operations: []
Exploring Operation: 43-13=30, Resulting Numbers: [35, 4, 30]
Generated Node #0,0: 95:[35, 4, 30] Operation: 43-13=30
Exploring Operation: 43+35=78, Resulting Numbers: [4, 13, 78]
Generated Node #0,1: 95:[4, 13, 78] Operation: 43+35=78
Exploring Operation: 35-13=22, Resulting Numbers: [43, 4, 22]
Generated Node #0,2: 95:[43, 4, 22] Operation: 35-13=22
Exploring Operation: 43-35=8, Resulting Numbers: [4, 13, 8]
Generated Node #0,3: 95:[4, 13, 8] Operation: 43-35=8
Exploring Operation: 43-4=39, Resulting Numbers: [35, 13, 39]
Generated Node #0,4: 95:[35, 13, 39] Operation: 43-4=39
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[4, 13, 8], Operations: ['43-35=8']
Exploring Operation: 4+13=17, Resulting Numbers: [8, 17]
Generated Node #0,3,0: 95:[8, 17] Operation: 4+13=17
Exploring Operation: 13+8=21, Resulting Numbers: [4, 21]
Generated Node #0,3,1: 95:[4, 21] Operation: 13+8=21
Exploring Operation: 13-4=9, Resulting Numbers: [8, 9]
Generated Node #0,3,2: 95:[8, 9] Operation: 13-4=9
Exploring Operation: 8-4=4, Resulting Numbers: [13, 4]
Generated Node #0,3,3: 95:[13, 4] Operation: 8-4=4
Exploring Operation: 13-8=5, Resulting Numbers: [4, 5]
Generated Node #0,3,4: 95:[4, 5] Operation: 13-8=5
Moving to Node #0,3,4
Current State: 95:[4, 5], Operations: ['43-35=8', '13-8=5']
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
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[4, 21], Operations: ['43-35=8', '13+8=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[8, 17], Operations: ['43-35=8', '4+13=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[8, 9], Operations: ['43-35=8', '13-4=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,95 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[13, 4], Operations: ['43-35=8', '8-4=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,95 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[4, 13, 78], Operations: ['43+35=78']
Exploring Operation: 78/13=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 95:[4, 6] Operation: 78/13=6
Exploring Operation: 13+78=91, Resulting Numbers: [4, 91]
Generated Node #0,1,1: 95:[4, 91] Operation: 13+78=91
Exploring Operation: 13-4=9, Resulting Numbers: [78, 9]
Generated Node #0,1,2: 95:[78, 9] Operation: 13-4=9
Exploring Operation: 4+13=17, Resulting Numbers: [78, 17]
Generated Node #0,1,3: 95:[78, 17] Operation: 4+13=17
Exploring Operation: 4+78=82, Resulting Numbers: [13, 82]
Generated Node #0,1,4: 95:[13, 82] Operation: 4+78=82
Moving to Node #0,1,0
Current State: 95:[4, 6], Operations: ['43+35=78', '78/13=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[4, 91], Operations: ['43+35=78', '13+78=91']
Exploring Operation: 4*91=364, Resulting Numbers: [364]
364,95 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,95 unequal: No Solution
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[43, 35, 4, 13], Operations: []
Exploring Operation: 43+35=78, Resulting Numbers: [4, 13, 78]
Generated Node #0,1: 95:[4, 13, 78] Operation: 43+35=78
Moving to Node #0,1
Current State: 95:[4, 13, 78], Operations: ['43+35=78']
Exploring Operation: 13+78=91, Resulting Numbers: [4, 91]
Generated Node #0,1,1: 95:[4, 91] Operation: 13+78=91
Moving to Node #0,1,1
Current State: 95:[4, 91], Operations: ['43+35=78', '13+78=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
77,
43,
16,
61
] | 79 | [
"77-43=34",
"61-16=45",
"34+45=79"
] | Current State: 79:[77, 43, 16, 61], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [16, 61, 34]
Generated Node #2: [16, 61, 34] from Operation: 77-43=34
Current State: 79:[16, 61, 34], Operations: ['77-43=34']
Exploring Operation: 61-16=45, Resulting Numbers: [34, 45]
Generated Node #3: [34, 45] from Operation: 61-16=45
Current State: 79:[34, 45], Operations: ['77-43=34', '61-16=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[77, 43, 16, 61], Operations: []
Exploring Operation: 16+61=77, Resulting Numbers: [77, 43, 77]
Generated Node #0,0: 79:[77, 43, 77] Operation: 16+61=77
Exploring Operation: 43+16=59, Resulting Numbers: [77, 61, 59]
Generated Node #0,1: 79:[77, 61, 59] Operation: 43+16=59
Moving to Node #0,0
Current State: 79:[77, 43, 77], Operations: ['16+61=77']
Exploring Operation: 77+43=120, Resulting Numbers: [77, 120]
Generated Node #0,0,0: 79:[77, 120] Operation: 77+43=120
Exploring Operation: 43+77=120, Resulting Numbers: [77, 120]
Generated Node #0,0,1: 79:[77, 120] Operation: 43+77=120
Moving to Node #0,1
Current State: 79:[77, 61, 59], Operations: ['43+16=59']
Exploring Operation: 77+59=136, Resulting Numbers: [61, 136]
Generated Node #0,1,0: 79:[61, 136] Operation: 77+59=136
Exploring Operation: 61+59=120, Resulting Numbers: [77, 120]
Generated Node #0,1,1: 79:[77, 120] Operation: 61+59=120
Moving to Node #0,0,0
Current State: 79:[77, 120], Operations: ['16+61=77', '77+43=120']
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[77, 120], Operations: ['43+16=59', '61+59=120']
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,79 unequal: No Solution
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[77, 120], Operations: ['16+61=77', '43+77=120']
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[61, 136], Operations: ['43+16=59', '77+59=136']
Exploring Operation: 61+136=197, Resulting Numbers: [197]
197,79 unequal: No Solution
Exploring Operation: 136-61=75, Resulting Numbers: [75]
75,79 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
24,
36,
43
] | 85 | [
"63*24=1512",
"1512/36=42",
"43+42=85"
] | Current State: 85:[63, 24, 36, 43], Operations: []
Exploring Operation: 63*24=1512, Resulting Numbers: [36, 43, 1512]
Generated Node #2: [36, 43, 1512] from Operation: 63*24=1512
Current State: 85:[36, 43, 1512], Operations: ['63*24=1512']
Exploring Operation: 1512/36=42, Resulting Numbers: [43, 42]
Generated Node #3: [43, 42] from Operation: 1512/36=42
Current State: 85:[43, 42], Operations: ['63*24=1512', '1512/36=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[63, 24, 36, 43], Operations: []
Exploring Operation: 43-36=7, Resulting Numbers: [63, 24, 7]
Generated Node #0,0: 85:[63, 24, 7] Operation: 43-36=7
Exploring Operation: 63-43=20, Resulting Numbers: [24, 36, 20]
Generated Node #0,1: 85:[24, 36, 20] Operation: 63-43=20
Exploring Operation: 36+43=79, Resulting Numbers: [63, 24, 79]
Generated Node #0,2: 85:[63, 24, 79] Operation: 36+43=79
Moving to Node #0,1
Current State: 85:[24, 36, 20], Operations: ['63-43=20']
Exploring Operation: 24-20=4, Resulting Numbers: [36, 4]
Generated Node #0,1,0: 85:[36, 4] Operation: 24-20=4
Exploring Operation: 36-20=16, Resulting Numbers: [24, 16]
Generated Node #0,1,1: 85:[24, 16] Operation: 36-20=16
Exploring Operation: 36-24=12, Resulting Numbers: [20, 12]
Generated Node #0,1,2: 85:[20, 12] Operation: 36-24=12
Moving to Node #0,0
Current State: 85:[63, 24, 7], Operations: ['43-36=7']
Exploring Operation: 63/7=9, Resulting Numbers: [24, 9]
Generated Node #0,0,0: 85:[24, 9] Operation: 63/7=9
Exploring Operation: 63+24=87, Resulting Numbers: [7, 87]
Generated Node #0,0,1: 85:[7, 87] Operation: 63+24=87
Exploring Operation: 63+7=70, Resulting Numbers: [24, 70]
Generated Node #0,0,2: 85:[24, 70] Operation: 63+7=70
Moving to Node #0,2
Current State: 85:[63, 24, 79], Operations: ['36+43=79']
Exploring Operation: 79-63=16, Resulting Numbers: [24, 16]
Generated Node #0,2,0: 85:[24, 16] Operation: 79-63=16
Exploring Operation: 63-24=39, Resulting Numbers: [79, 39]
Generated Node #0,2,1: 85:[79, 39] Operation: 63-24=39
Exploring Operation: 63+24=87, Resulting Numbers: [79, 87]
Generated Node #0,2,2: 85:[79, 87] Operation: 63+24=87
Moving to Node #0,0,1
Current State: 85:[7, 87], Operations: ['43-36=7', '63+24=87']
Exploring Operation: 7*87=609, Resulting Numbers: [609]
609,85 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[24, 16], Operations: ['36+43=79', '79-63=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[24, 16], Operations: ['63-43=20', '36-20=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[20, 12], Operations: ['63-43=20', '36-24=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[79, 87], Operations: ['36+43=79', '63+24=87']
Exploring Operation: 79+87=166, Resulting Numbers: [166]
166,85 unequal: No Solution
Exploring Operation: 79*87=6873, Resulting Numbers: [6873]
6873,85 unequal: No Solution
Exploring Operation: 87-79=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[24, 9], Operations: ['43-36=7', '63/7=9']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[36, 4], Operations: ['63-43=20', '24-20=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[24, 70], Operations: ['43-36=7', '63+7=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[79, 39], Operations: ['36+43=79', '63-24=39']
Exploring Operation: 79*39=3081, Resulting Numbers: [3081]
3081,85 unequal: No Solution
Exploring Operation: 79-39=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 79+39=118, Resulting Numbers: [118]
118,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
64,
77,
61
] | 27 | [
"64-53=11",
"77-61=16",
"11+16=27"
] | Current State: 27:[53, 64, 77, 61], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [77, 61, 11]
Generated Node #2: [77, 61, 11] from Operation: 64-53=11
Current State: 27:[77, 61, 11], Operations: ['64-53=11']
Exploring Operation: 77-61=16, Resulting Numbers: [11, 16]
Generated Node #3: [11, 16] from Operation: 77-61=16
Current State: 27:[11, 16], Operations: ['64-53=11', '77-61=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[53, 64, 77, 61], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [53, 61, 13]
Generated Node #0,0: 27:[53, 61, 13] Operation: 77-64=13
Moving to Node #0,0
Current State: 27:[53, 61, 13], Operations: ['77-64=13']
Exploring Operation: 61-53=8, Resulting Numbers: [13, 8]
Generated Node #0,0,0: 27:[13, 8] Operation: 61-53=8
Moving to Node #0,0,0
Current State: 27:[13, 8], Operations: ['77-64=13', '61-53=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
30,
15,
44
] | 24 | [
"83-30=53",
"44-15=29",
"53-29=24"
] | Current State: 24:[83, 30, 15, 44], Operations: []
Exploring Operation: 83-30=53, Resulting Numbers: [15, 44, 53]
Generated Node #2: [15, 44, 53] from Operation: 83-30=53
Current State: 24:[15, 44, 53], Operations: ['83-30=53']
Exploring Operation: 44-15=29, Resulting Numbers: [53, 29]
Generated Node #3: [53, 29] from Operation: 44-15=29
Current State: 24:[53, 29], Operations: ['83-30=53', '44-15=29']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[83, 30, 15, 44], Operations: []
Exploring Operation: 44-15=29, Resulting Numbers: [83, 30, 29]
Generated Node #0,0: 24:[83, 30, 29] Operation: 44-15=29
Exploring Operation: 83-15=68, Resulting Numbers: [30, 44, 68]
Generated Node #0,1: 24:[30, 44, 68] Operation: 83-15=68
Exploring Operation: 83-30=53, Resulting Numbers: [15, 44, 53]
Generated Node #0,2: 24:[15, 44, 53] Operation: 83-30=53
Exploring Operation: 44-30=14, Resulting Numbers: [83, 15, 14]
Generated Node #0,3: 24:[83, 15, 14] Operation: 44-30=14
Exploring Operation: 83-44=39, Resulting Numbers: [30, 15, 39]
Generated Node #0,4: 24:[30, 15, 39] Operation: 83-44=39
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[30, 15, 39], Operations: ['83-44=39']
Exploring Operation: 39-15=24, Resulting Numbers: [30, 24]
Generated Node #0,4,0: 24:[30, 24] Operation: 39-15=24
Exploring Operation: 39-30=9, Resulting Numbers: [15, 9]
Generated Node #0,4,1: 24:[15, 9] Operation: 39-30=9
Exploring Operation: 30+15=45, Resulting Numbers: [39, 45]
Generated Node #0,4,2: 24:[39, 45] Operation: 30+15=45
Exploring Operation: 30-15=15, Resulting Numbers: [39, 15]
Generated Node #0,4,3: 24:[39, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [39, 2]
Generated Node #0,4,4: 24:[39, 2] Operation: 30/15=2
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 24:[15, 9], Operations: ['83-44=39', '39-30=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,24 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[83, 30, 15, 44], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [30, 15, 39]
Generated Node #0,4: 24:[30, 15, 39] Operation: 83-44=39
Moving to Node #0,4
Current State: 24:[30, 15, 39], Operations: ['83-44=39']
Exploring Operation: 39-30=9, Resulting Numbers: [15, 9]
Generated Node #0,4,1: 24:[15, 9] Operation: 39-30=9
Moving to Node #0,4,1
Current State: 24:[15, 9], Operations: ['83-44=39', '39-30=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
7,
55,
58,
54
] | 50 | [
"7+55=62",
"58+54=112",
"112-62=50"
] | Current State: 50:[7, 55, 58, 54], Operations: []
Exploring Operation: 7+55=62, Resulting Numbers: [58, 54, 62]
Generated Node #2: [58, 54, 62] from Operation: 7+55=62
Current State: 50:[58, 54, 62], Operations: ['7+55=62']
Exploring Operation: 58+54=112, Resulting Numbers: [62, 112]
Generated Node #3: [62, 112] from Operation: 58+54=112
Current State: 50:[62, 112], Operations: ['7+55=62', '58+54=112']
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[7, 55, 58, 54], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [7, 54, 3]
Generated Node #0,0: 50:[7, 54, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[7, 54, 3], Operations: ['58-55=3']
Exploring Operation: 54-3=51, Resulting Numbers: [7, 51]
Generated Node #0,0,0: 50:[7, 51] Operation: 54-3=51
Moving to Node #0,0,0
Current State: 50:[7, 51], Operations: ['58-55=3', '54-3=51']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
40,
90,
58
] | 92 | [
"58-40=18",
"18/9=2",
"90+2=92"
] | Current State: 92:[9, 40, 90, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [9, 90, 18]
Generated Node #2: [9, 90, 18] from Operation: 58-40=18
Current State: 92:[9, 90, 18], Operations: ['58-40=18']
Exploring Operation: 18/9=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 18/9=2
Current State: 92:[90, 2], Operations: ['58-40=18', '18/9=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[9, 40, 90, 58], Operations: []
Exploring Operation: 40+58=98, Resulting Numbers: [9, 90, 98]
Generated Node #0,0: 92:[9, 90, 98] Operation: 40+58=98
Exploring Operation: 58-9=49, Resulting Numbers: [40, 90, 49]
Generated Node #0,1: 92:[40, 90, 49] Operation: 58-9=49
Exploring Operation: 58-40=18, Resulting Numbers: [9, 90, 18]
Generated Node #0,2: 92:[9, 90, 18] Operation: 58-40=18
Moving to Node #0,1
Current State: 92:[40, 90, 49], Operations: ['58-9=49']
Exploring Operation: 40+49=89, Resulting Numbers: [90, 89]
Generated Node #0,1,0: 92:[90, 89] Operation: 40+49=89
Exploring Operation: 49-40=9, Resulting Numbers: [90, 9]
Generated Node #0,1,1: 92:[90, 9] Operation: 49-40=9
Exploring Operation: 90-40=50, Resulting Numbers: [49, 50]
Generated Node #0,1,2: 92:[49, 50] Operation: 90-40=50
Moving to Node #0,2
Current State: 92:[9, 90, 18], Operations: ['58-40=18']
Exploring Operation: 9+18=27, Resulting Numbers: [90, 27]
Generated Node #0,2,0: 92:[90, 27] Operation: 9+18=27
Exploring Operation: 18/9=2, Resulting Numbers: [90, 2]
Generated Node #0,2,1: 92:[90, 2] Operation: 18/9=2
Exploring Operation: 90/18=5, Resulting Numbers: [9, 5]
Generated Node #0,2,2: 92:[9, 5] Operation: 90/18=5
Moving to Node #0,0
Current State: 92:[9, 90, 98], Operations: ['40+58=98']
Exploring Operation: 98-9=89, Resulting Numbers: [90, 89]
Generated Node #0,0,0: 92:[90, 89] Operation: 98-9=89
Exploring Operation: 98-90=8, Resulting Numbers: [9, 8]
Generated Node #0,0,1: 92:[9, 8] Operation: 98-90=8
Exploring Operation: 90/9=10, Resulting Numbers: [98, 10]
Generated Node #0,0,2: 92:[98, 10] Operation: 90/9=10
Moving to Node #0,2,1
Current State: 92:[90, 2], Operations: ['58-40=18', '18/9=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[9, 40, 90, 58], Operations: []
Exploring Operation: 58-40=18, Resulting Numbers: [9, 90, 18]
Generated Node #0,2: 92:[9, 90, 18] Operation: 58-40=18
Moving to Node #0,2
Current State: 92:[9, 90, 18], Operations: ['58-40=18']
Exploring Operation: 18/9=2, Resulting Numbers: [90, 2]
Generated Node #0,2,1: 92:[90, 2] Operation: 18/9=2
Moving to Node #0,2,1
Current State: 92:[90, 2], Operations: ['58-40=18', '18/9=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.985243 | hs_3 | mult_heuristic |
[
34,
64,
60,
93
] | 65 | [
"34+64=98",
"93-60=33",
"98-33=65"
] | Current State: 65:[34, 64, 60, 93], Operations: []
Exploring Operation: 34+64=98, Resulting Numbers: [60, 93, 98]
Generated Node #2: [60, 93, 98] from Operation: 34+64=98
Current State: 65:[60, 93, 98], Operations: ['34+64=98']
Exploring Operation: 93-60=33, Resulting Numbers: [98, 33]
Generated Node #3: [98, 33] from Operation: 93-60=33
Current State: 65:[98, 33], Operations: ['34+64=98', '93-60=33']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[34, 64, 60, 93], Operations: []
Exploring Operation: 93-34=59, Resulting Numbers: [64, 60, 59]
Generated Node #0,0: 65:[64, 60, 59] Operation: 93-34=59
Exploring Operation: 60-34=26, Resulting Numbers: [64, 93, 26]
Generated Node #0,1: 65:[64, 93, 26] Operation: 60-34=26
Moving to Node #0,0
Current State: 65:[64, 60, 59], Operations: ['93-34=59']
Exploring Operation: 60-59=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 65:[64, 1] Operation: 60-59=1
Exploring Operation: 64-59=5, Resulting Numbers: [60, 5]
Generated Node #0,0,1: 65:[60, 5] Operation: 64-59=5
Moving to Node #0,1
Current State: 65:[64, 93, 26], Operations: ['60-34=26']
Exploring Operation: 93-64=29, Resulting Numbers: [26, 29]
Generated Node #0,1,0: 65:[26, 29] Operation: 93-64=29
Exploring Operation: 93-26=67, Resulting Numbers: [64, 67]
Generated Node #0,1,1: 65:[64, 67] Operation: 93-26=67
Moving to Node #0,1,1
Current State: 65:[64, 67], Operations: ['60-34=26', '93-26=67']
Exploring Operation: 64+67=131, Resulting Numbers: [131]
131,65 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[64, 1], Operations: ['93-34=59', '60-59=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[34, 64, 60, 93], Operations: []
Exploring Operation: 93-34=59, Resulting Numbers: [64, 60, 59]
Generated Node #0,0: 65:[64, 60, 59] Operation: 93-34=59
Moving to Node #0,0
Current State: 65:[64, 60, 59], Operations: ['93-34=59']
Exploring Operation: 60-59=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 65:[64, 1] Operation: 60-59=1
Moving to Node #0,0,0
Current State: 65:[64, 1], Operations: ['93-34=59', '60-59=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
49,
3,
17,
2
] | 12 | [
"49-3=46",
"17*2=34",
"46-34=12"
] | Current State: 12:[49, 3, 17, 2], Operations: []
Exploring Operation: 49-3=46, Resulting Numbers: [17, 2, 46]
Generated Node #2: [17, 2, 46] from Operation: 49-3=46
Current State: 12:[17, 2, 46], Operations: ['49-3=46']
Exploring Operation: 17*2=34, Resulting Numbers: [46, 34]
Generated Node #3: [46, 34] from Operation: 17*2=34
Current State: 12:[46, 34], Operations: ['49-3=46', '17*2=34']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[49, 3, 17, 2], Operations: []
Exploring Operation: 49-17=32, Resulting Numbers: [3, 2, 32]
Generated Node #0,0: 12:[3, 2, 32] Operation: 49-17=32
Exploring Operation: 17-3=14, Resulting Numbers: [49, 2, 14]
Generated Node #0,1: 12:[49, 2, 14] Operation: 17-3=14
Exploring Operation: 49-3=46, Resulting Numbers: [17, 2, 46]
Generated Node #0,2: 12:[17, 2, 46] Operation: 49-3=46
Moving to Node #0,0
Current State: 12:[3, 2, 32], Operations: ['49-17=32']
Exploring Operation: 32-2=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 12:[3, 30] Operation: 32-2=30
Exploring Operation: 32-3=29, Resulting Numbers: [2, 29]
Generated Node #0,0,1: 12:[2, 29] Operation: 32-3=29
Exploring Operation: 32/2=16, Resulting Numbers: [3, 16]
Generated Node #0,0,2: 12:[3, 16] Operation: 32/2=16
Moving to Node #0,1
Current State: 12:[49, 2, 14], Operations: ['17-3=14']
Exploring Operation: 49-14=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 12:[2, 35] Operation: 49-14=35
Exploring Operation: 49-2=47, Resulting Numbers: [14, 47]
Generated Node #0,1,1: 12:[14, 47] Operation: 49-2=47
Exploring Operation: 14-2=12, Resulting Numbers: [49, 12]
Generated Node #0,1,2: 12:[49, 12] Operation: 14-2=12
Moving to Node #0,2
Current State: 12:[17, 2, 46], Operations: ['49-3=46']
Exploring Operation: 17-2=15, Resulting Numbers: [46, 15]
Generated Node #0,2,0: 12:[46, 15] Operation: 17-2=15
Exploring Operation: 46/2=23, Resulting Numbers: [17, 23]
Generated Node #0,2,1: 12:[17, 23] Operation: 46/2=23
Exploring Operation: 46-17=29, Resulting Numbers: [2, 29]
Generated Node #0,2,2: 12:[2, 29] Operation: 46-17=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[17, 23], Operations: ['49-3=46', '46/2=23']
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[2, 29], Operations: ['49-3=46', '46-17=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[46, 15], Operations: ['49-3=46', '17-2=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 12:[3, 16], Operations: ['49-17=32', '32/2=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[2, 29], Operations: ['49-17=32', '32-3=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[3, 30], Operations: ['49-17=32', '32-2=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[2, 35], Operations: ['17-3=14', '49-14=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[49, 12], Operations: ['17-3=14', '14-2=12']
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,12 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[14, 47], Operations: ['17-3=14', '49-2=47']
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,12 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,12 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
69,
6,
90
] | 33 | [
"2*6=12",
"90-69=21",
"12+21=33"
] | Current State: 33:[2, 69, 6, 90], Operations: []
Exploring Operation: 2*6=12, Resulting Numbers: [69, 90, 12]
Generated Node #2: [69, 90, 12] from Operation: 2*6=12
Current State: 33:[69, 90, 12], Operations: ['2*6=12']
Exploring Operation: 90-69=21, Resulting Numbers: [12, 21]
Generated Node #3: [12, 21] from Operation: 90-69=21
Current State: 33:[12, 21], Operations: ['2*6=12', '90-69=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[2, 69, 6, 90], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [2, 6, 21]
Generated Node #0,0: 33:[2, 6, 21] Operation: 90-69=21
Exploring Operation: 90/6=15, Resulting Numbers: [2, 69, 15]
Generated Node #0,1: 33:[2, 69, 15] Operation: 90/6=15
Exploring Operation: 90/2=45, Resulting Numbers: [69, 6, 45]
Generated Node #0,2: 33:[69, 6, 45] Operation: 90/2=45
Exploring Operation: 69-6=63, Resulting Numbers: [2, 90, 63]
Generated Node #0,3: 33:[2, 90, 63] Operation: 69-6=63
Exploring Operation: 90-6=84, Resulting Numbers: [2, 69, 84]
Generated Node #0,4: 33:[2, 69, 84] Operation: 90-6=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[2, 6, 21], Operations: ['90-69=21']
Exploring Operation: 2*6=12, Resulting Numbers: [21, 12]
Generated Node #0,0,0: 33:[21, 12] Operation: 2*6=12
Exploring Operation: 21-6=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 33:[2, 15] Operation: 21-6=15
Exploring Operation: 6/2=3, Resulting Numbers: [21, 3]
Generated Node #0,0,2: 33:[21, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [21, 4]
Generated Node #0,0,3: 33:[21, 4] Operation: 6-2=4
Exploring Operation: 6+21=27, Resulting Numbers: [2, 27]
Generated Node #0,0,4: 33:[2, 27] Operation: 6+21=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[2, 15], Operations: ['90-69=21', '21-6=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,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,4
Current State: 33:[2, 27], Operations: ['90-69=21', '6+21=27']
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,33 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,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,2
Current State: 33:[21, 3], Operations: ['90-69=21', '6/2=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[21, 12], Operations: ['90-69=21', '2*6=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[2, 69, 6, 90], Operations: []
Exploring Operation: 90-69=21, Resulting Numbers: [2, 6, 21]
Generated Node #0,0: 33:[2, 6, 21] Operation: 90-69=21
Moving to Node #0,0
Current State: 33:[2, 6, 21], Operations: ['90-69=21']
Exploring Operation: 2*6=12, Resulting Numbers: [21, 12]
Generated Node #0,0,0: 33:[21, 12] Operation: 2*6=12
Moving to Node #0,0,0
Current State: 33:[21, 12], Operations: ['90-69=21', '2*6=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
4,
41,
87,
21
] | 38 | [
"4*21=84",
"87-41=46",
"84-46=38"
] | Current State: 38:[4, 41, 87, 21], Operations: []
Exploring Operation: 4*21=84, Resulting Numbers: [41, 87, 84]
Generated Node #2: [41, 87, 84] from Operation: 4*21=84
Current State: 38:[41, 87, 84], Operations: ['4*21=84']
Exploring Operation: 87-41=46, Resulting Numbers: [84, 46]
Generated Node #3: [84, 46] from Operation: 87-41=46
Current State: 38:[84, 46], Operations: ['4*21=84', '87-41=46']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[4, 41, 87, 21], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [4, 21, 46]
Generated Node #0,0: 38:[4, 21, 46] Operation: 87-41=46
Moving to Node #0,0
Current State: 38:[4, 21, 46], Operations: ['87-41=46']
Exploring Operation: 46-4=42, Resulting Numbers: [21, 42]
Generated Node #0,0,0: 38:[21, 42] Operation: 46-4=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[21, 42], Operations: ['87-41=46', '46-4=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
33,
43,
24
] | 71 | [
"57+33=90",
"43-24=19",
"90-19=71"
] | Current State: 71:[57, 33, 43, 24], Operations: []
Exploring Operation: 57+33=90, Resulting Numbers: [43, 24, 90]
Generated Node #2: [43, 24, 90] from Operation: 57+33=90
Current State: 71:[43, 24, 90], Operations: ['57+33=90']
Exploring Operation: 43-24=19, Resulting Numbers: [90, 19]
Generated Node #3: [90, 19] from Operation: 43-24=19
Current State: 71:[90, 19], Operations: ['57+33=90', '43-24=19']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[57, 33, 43, 24], Operations: []
Exploring Operation: 33+43=76, Resulting Numbers: [57, 24, 76]
Generated Node #0,0: 71:[57, 24, 76] Operation: 33+43=76
Exploring Operation: 33+24=57, Resulting Numbers: [57, 43, 57]
Generated Node #0,1: 71:[57, 43, 57] Operation: 33+24=57
Exploring Operation: 43+24=67, Resulting Numbers: [57, 33, 67]
Generated Node #0,2: 71:[57, 33, 67] Operation: 43+24=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[57, 43, 57], Operations: ['33+24=57']
Exploring Operation: 43+57=100, Resulting Numbers: [57, 100]
Generated Node #0,1,0: 71:[57, 100] Operation: 43+57=100
Exploring Operation: 57+43=100, Resulting Numbers: [57, 100]
Generated Node #0,1,1: 71:[57, 100] Operation: 57+43=100
Exploring Operation: 57-43=14, Resulting Numbers: [57, 14]
Generated Node #0,1,2: 71:[57, 14] Operation: 57-43=14
Moving to Node #0,1,0
Current State: 71:[57, 100], Operations: ['33+24=57', '43+57=100']
Exploring Operation: 57+100=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 57*100=5700, Resulting Numbers: [5700]
5700,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[57, 100], Operations: ['33+24=57', '57+43=100']
Exploring Operation: 57+100=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 57*100=5700, Resulting Numbers: [5700]
5700,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[57, 14], Operations: ['33+24=57', '57-43=14']
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[57, 33, 43, 24], Operations: []
Exploring Operation: 33+24=57, Resulting Numbers: [57, 43, 57]
Generated Node #0,1: 71:[57, 43, 57] Operation: 33+24=57
Moving to Node #0,1
Current State: 71:[57, 43, 57], Operations: ['33+24=57']
Exploring Operation: 57-43=14, Resulting Numbers: [57, 14]
Generated Node #0,1,2: 71:[57, 14] Operation: 57-43=14
Moving to Node #0,1,2
Current State: 71:[57, 14], Operations: ['33+24=57', '57-43=14']
Exploring Operation: 57+14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
74,
19,
97,
91
] | 87 | [
"74+19=93",
"97-91=6",
"93-6=87"
] | Current State: 87:[74, 19, 97, 91], Operations: []
Exploring Operation: 74+19=93, Resulting Numbers: [97, 91, 93]
Generated Node #2: [97, 91, 93] from Operation: 74+19=93
Current State: 87:[97, 91, 93], Operations: ['74+19=93']
Exploring Operation: 97-91=6, Resulting Numbers: [93, 6]
Generated Node #3: [93, 6] from Operation: 97-91=6
Current State: 87:[93, 6], Operations: ['74+19=93', '97-91=6']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[74, 19, 97, 91], Operations: []
Exploring Operation: 74+19=93, Resulting Numbers: [97, 91, 93]
Generated Node #0,0: 87:[97, 91, 93] Operation: 74+19=93
Exploring Operation: 97-91=6, Resulting Numbers: [74, 19, 6]
Generated Node #0,1: 87:[74, 19, 6] Operation: 97-91=6
Exploring Operation: 97-19=78, Resulting Numbers: [74, 91, 78]
Generated Node #0,2: 87:[74, 91, 78] Operation: 97-19=78
Exploring Operation: 91-74=17, Resulting Numbers: [19, 97, 17]
Generated Node #0,3: 87:[19, 97, 17] Operation: 91-74=17
Exploring Operation: 97-74=23, Resulting Numbers: [19, 91, 23]
Generated Node #0,4: 87:[19, 91, 23] Operation: 97-74=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[97, 91, 93], Operations: ['74+19=93']
Exploring Operation: 97-91=6, Resulting Numbers: [93, 6]
Generated Node #0,0,0: 87:[93, 6] Operation: 97-91=6
Exploring Operation: 97+91=188, Resulting Numbers: [93, 188]
Generated Node #0,0,1: 87:[93, 188] Operation: 97+91=188
Exploring Operation: 97+93=190, Resulting Numbers: [91, 190]
Generated Node #0,0,2: 87:[91, 190] Operation: 97+93=190
Exploring Operation: 93-91=2, Resulting Numbers: [97, 2]
Generated Node #0,0,3: 87:[97, 2] Operation: 93-91=2
Exploring Operation: 97-93=4, Resulting Numbers: [91, 4]
Generated Node #0,0,4: 87:[91, 4] Operation: 97-93=4
Moving to Node #0,0,4
Current State: 87:[91, 4], Operations: ['74+19=93', '97-93=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[74, 19, 97, 91], Operations: []
Exploring Operation: 74+19=93, Resulting Numbers: [97, 91, 93]
Generated Node #0,0: 87:[97, 91, 93] Operation: 74+19=93
Moving to Node #0,0
Current State: 87:[97, 91, 93], Operations: ['74+19=93']
Exploring Operation: 97-93=4, Resulting Numbers: [91, 4]
Generated Node #0,0,4: 87:[91, 4] Operation: 97-93=4
Moving to Node #0,0,4
Current State: 87:[91, 4], Operations: ['74+19=93', '97-93=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
15,
96,
30,
32
] | 19 | [
"96-15=81",
"30+32=62",
"81-62=19"
] | Current State: 19:[15, 96, 30, 32], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [30, 32, 81]
Generated Node #2: [30, 32, 81] from Operation: 96-15=81
Current State: 19:[30, 32, 81], Operations: ['96-15=81']
Exploring Operation: 30+32=62, Resulting Numbers: [81, 62]
Generated Node #3: [81, 62] from Operation: 30+32=62
Current State: 19:[81, 62], Operations: ['96-15=81', '30+32=62']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[15, 96, 30, 32], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [15, 32, 66]
Generated Node #0,0: 19:[15, 32, 66] Operation: 96-30=66
Exploring Operation: 96/32=3, Resulting Numbers: [15, 30, 3]
Generated Node #0,1: 19:[15, 30, 3] Operation: 96/32=3
Exploring Operation: 32-15=17, Resulting Numbers: [96, 30, 17]
Generated Node #0,2: 19:[96, 30, 17] Operation: 32-15=17
Exploring Operation: 96-15=81, Resulting Numbers: [30, 32, 81]
Generated Node #0,3: 19:[30, 32, 81] Operation: 96-15=81
Exploring Operation: 96-32=64, Resulting Numbers: [15, 30, 64]
Generated Node #0,4: 19:[15, 30, 64] Operation: 96-32=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[15, 30, 3], Operations: ['96/32=3']
Exploring Operation: 15-3=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 19:[30, 12] Operation: 15-3=12
Exploring Operation: 30+3=33, Resulting Numbers: [15, 33]
Generated Node #0,1,1: 19:[15, 33] Operation: 30+3=33
Exploring Operation: 30-3=27, Resulting Numbers: [15, 27]
Generated Node #0,1,2: 19:[15, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [15, 10]
Generated Node #0,1,3: 19:[15, 10] Operation: 30/3=10
Exploring Operation: 15+3=18, Resulting Numbers: [30, 18]
Generated Node #0,1,4: 19:[30, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[15, 27], Operations: ['96/32=3', '30-3=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,19 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No 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: 19:[30, 18], Operations: ['96/32=3', '15+3=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,19 unequal: No Solution
No 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: 19:[15, 10], Operations: ['96/32=3', '30/3=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,19 unequal: No Solution
No 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: 19:[30, 12], Operations: ['96/32=3', '15-3=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,19 unequal: No Solution
No 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: 19:[15, 33], Operations: ['96/32=3', '30+3=33']
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,19 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,19 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: 19:[15, 30, 64], Operations: ['96-32=64']
Exploring Operation: 30-15=15, Resulting Numbers: [64, 15]
Generated Node #0,4,0: 19:[64, 15] Operation: 30-15=15
Exploring Operation: 15+30=45, Resulting Numbers: [64, 45]
Generated Node #0,4,1: 19:[64, 45] Operation: 15+30=45
Exploring Operation: 30/15=2, Resulting Numbers: [64, 2]
Generated Node #0,4,2: 19:[64, 2] Operation: 30/15=2
Exploring Operation: 64-15=49, Resulting Numbers: [30, 49]
Generated Node #0,4,3: 19:[30, 49] Operation: 64-15=49
Exploring Operation: 64-30=34, Resulting Numbers: [15, 34]
Generated Node #0,4,4: 19:[15, 34] Operation: 64-30=34
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 19:[15, 34], Operations: ['96-32=64', '64-30=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[15, 96, 30, 32], Operations: []
Exploring Operation: 96-32=64, Resulting Numbers: [15, 30, 64]
Generated Node #0,4: 19:[15, 30, 64] Operation: 96-32=64
Moving to Node #0,4
Current State: 19:[15, 30, 64], Operations: ['96-32=64']
Exploring Operation: 64-30=34, Resulting Numbers: [15, 34]
Generated Node #0,4,4: 19:[15, 34] Operation: 64-30=34
Moving to Node #0,4,4
Current State: 19:[15, 34], Operations: ['96-32=64', '64-30=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
7,
56,
84,
21
] | 23 | [
"84/7=12",
"56-21=35",
"35-12=23"
] | Current State: 23:[7, 56, 84, 21], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [56, 21, 12]
Generated Node #2: [56, 21, 12] from Operation: 84/7=12
Current State: 23:[56, 21, 12], Operations: ['84/7=12']
Exploring Operation: 56-21=35, Resulting Numbers: [12, 35]
Generated Node #3: [12, 35] from Operation: 56-21=35
Current State: 23:[12, 35], Operations: ['84/7=12', '56-21=35']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[7, 56, 84, 21], Operations: []
Exploring Operation: 56-7=49, Resulting Numbers: [84, 21, 49]
Generated Node #0,0: 23:[84, 21, 49] Operation: 56-7=49
Exploring Operation: 84/7=12, Resulting Numbers: [56, 21, 12]
Generated Node #0,1: 23:[56, 21, 12] Operation: 84/7=12
Exploring Operation: 84/21=4, Resulting Numbers: [7, 56, 4]
Generated Node #0,2: 23:[7, 56, 4] Operation: 84/21=4
Exploring Operation: 56/7=8, Resulting Numbers: [84, 21, 8]
Generated Node #0,3: 23:[84, 21, 8] Operation: 56/7=8
Exploring Operation: 84-56=28, Resulting Numbers: [7, 21, 28]
Generated Node #0,4: 23:[7, 21, 28] Operation: 84-56=28
Moving to Node #0,4
Current State: 23:[7, 21, 28], Operations: ['84-56=28']
Exploring Operation: 7+28=35, Resulting Numbers: [21, 35]
Generated Node #0,4,0: 23:[21, 35] Operation: 7+28=35
Exploring Operation: 28-7=21, Resulting Numbers: [21, 21]
Generated Node #0,4,1: 23:[21, 21] Operation: 28-7=21
Exploring Operation: 7+21=28, Resulting Numbers: [28, 28]
Generated Node #0,4,2: 23:[28, 28] Operation: 7+21=28
Exploring Operation: 28/7=4, Resulting Numbers: [21, 4]
Generated Node #0,4,3: 23:[21, 4] Operation: 28/7=4
Exploring Operation: 21-7=14, Resulting Numbers: [28, 14]
Generated Node #0,4,4: 23:[28, 14] Operation: 21-7=14
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 23:[21, 21], Operations: ['84-56=28', '28-7=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 23:[28, 28], Operations: ['84-56=28', '7+21=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,23 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[21, 35], Operations: ['84-56=28', '7+28=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[28, 14], Operations: ['84-56=28', '21-7=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,23 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 23:[21, 4], Operations: ['84-56=28', '28/7=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,23 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: 23:[56, 21, 12], Operations: ['84/7=12']
Exploring Operation: 21+12=33, Resulting Numbers: [56, 33]
Generated Node #0,1,0: 23:[56, 33] Operation: 21+12=33
Exploring Operation: 56+12=68, Resulting Numbers: [21, 68]
Generated Node #0,1,1: 23:[21, 68] Operation: 56+12=68
Exploring Operation: 56-12=44, Resulting Numbers: [21, 44]
Generated Node #0,1,2: 23:[21, 44] Operation: 56-12=44
Exploring Operation: 21-12=9, Resulting Numbers: [56, 9]
Generated Node #0,1,3: 23:[56, 9] Operation: 21-12=9
Exploring Operation: 56-21=35, Resulting Numbers: [12, 35]
Generated Node #0,1,4: 23:[12, 35] Operation: 56-21=35
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[21, 44], Operations: ['84/7=12', '56-12=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[7, 56, 84, 21], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [56, 21, 12]
Generated Node #0,1: 23:[56, 21, 12] Operation: 84/7=12
Moving to Node #0,1
Current State: 23:[56, 21, 12], Operations: ['84/7=12']
Exploring Operation: 56-12=44, Resulting Numbers: [21, 44]
Generated Node #0,1,2: 23:[21, 44] Operation: 56-12=44
Moving to Node #0,1,2
Current State: 23:[21, 44], Operations: ['84/7=12', '56-12=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
88,
8,
85,
40
] | 56 | [
"88/8=11",
"85-40=45",
"11+45=56"
] | Current State: 56:[88, 8, 85, 40], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [85, 40, 11]
Generated Node #2: [85, 40, 11] from Operation: 88/8=11
Current State: 56:[85, 40, 11], Operations: ['88/8=11']
Exploring Operation: 85-40=45, Resulting Numbers: [11, 45]
Generated Node #3: [11, 45] from Operation: 85-40=45
Current State: 56:[11, 45], Operations: ['88/8=11', '85-40=45']
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[88, 8, 85, 40], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [8, 40, 3]
Generated Node #0,0: 56:[8, 40, 3] Operation: 88-85=3
Exploring Operation: 85-40=45, Resulting Numbers: [88, 8, 45]
Generated Node #0,1: 56:[88, 8, 45] Operation: 85-40=45
Exploring Operation: 88-40=48, Resulting Numbers: [8, 85, 48]
Generated Node #0,2: 56:[8, 85, 48] Operation: 88-40=48
Moving to Node #0,0
Current State: 56:[8, 40, 3], Operations: ['88-85=3']
Exploring Operation: 40/8=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 56:[3, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 56:[3, 32] Operation: 40-8=32
Exploring Operation: 8+40=48, Resulting Numbers: [3, 48]
Generated Node #0,0,2: 56:[3, 48] Operation: 8+40=48
Moving to Node #0,2
Current State: 56:[8, 85, 48], Operations: ['88-40=48']
Exploring Operation: 85-48=37, Resulting Numbers: [8, 37]
Generated Node #0,2,0: 56:[8, 37] Operation: 85-48=37
Exploring Operation: 85-8=77, Resulting Numbers: [48, 77]
Generated Node #0,2,1: 56:[48, 77] Operation: 85-8=77
Exploring Operation: 8+48=56, Resulting Numbers: [85, 56]
Generated Node #0,2,2: 56:[85, 56] Operation: 8+48=56
Moving to Node #0,1
Current State: 56:[88, 8, 45], Operations: ['85-40=45']
Exploring Operation: 88-45=43, Resulting Numbers: [8, 43]
Generated Node #0,1,0: 56:[8, 43] Operation: 88-45=43
Exploring Operation: 88-8=80, Resulting Numbers: [45, 80]
Generated Node #0,1,1: 56:[45, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [45, 11]
Generated Node #0,1,2: 56:[45, 11] Operation: 88/8=11
Moving to Node #0,0,0
Current State: 56:[3, 5], Operations: ['88-85=3', '40/8=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[3, 32], Operations: ['88-85=3', '40-8=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[3, 48], Operations: ['88-85=3', '8+40=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[8, 37], Operations: ['88-40=48', '85-48=37']
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,56 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[8, 43], Operations: ['85-40=45', '88-45=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,56 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[45, 11], Operations: ['85-40=45', '88/8=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[88, 8, 85, 40], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [88, 8, 45]
Generated Node #0,1: 56:[88, 8, 45] Operation: 85-40=45
Moving to Node #0,1
Current State: 56:[88, 8, 45], Operations: ['85-40=45']
Exploring Operation: 88/8=11, Resulting Numbers: [45, 11]
Generated Node #0,1,2: 56:[45, 11] Operation: 88/8=11
Moving to Node #0,1,2
Current State: 56:[45, 11], Operations: ['85-40=45', '88/8=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.972222 | hs_3 | mult_heuristic |
[
51,
84,
90,
74
] | 17 | [
"84-51=33",
"90-74=16",
"33-16=17"
] | Current State: 17:[51, 84, 90, 74], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [90, 74, 33]
Generated Node #2: [90, 74, 33] from Operation: 84-51=33
Current State: 17:[90, 74, 33], Operations: ['84-51=33']
Exploring Operation: 90-74=16, Resulting Numbers: [33, 16]
Generated Node #3: [33, 16] from Operation: 90-74=16
Current State: 17:[33, 16], Operations: ['84-51=33', '90-74=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[51, 84, 90, 74], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [51, 84, 16]
Generated Node #0,0: 17:[51, 84, 16] Operation: 90-74=16
Exploring Operation: 90-84=6, Resulting Numbers: [51, 74, 6]
Generated Node #0,1: 17:[51, 74, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[51, 84, 16], Operations: ['90-74=16']
Exploring Operation: 51-16=35, Resulting Numbers: [84, 35]
Generated Node #0,0,0: 17:[84, 35] Operation: 51-16=35
Exploring Operation: 84-51=33, Resulting Numbers: [16, 33]
Generated Node #0,0,1: 17:[16, 33] Operation: 84-51=33
Moving to Node #0,0,1
Current State: 17:[16, 33], Operations: ['90-74=16', '84-51=33']
Exploring Operation: 16+33=49, Resulting Numbers: [49]
49,17 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[51, 84, 90, 74], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [51, 84, 16]
Generated Node #0,0: 17:[51, 84, 16] Operation: 90-74=16
Moving to Node #0,0
Current State: 17:[51, 84, 16], Operations: ['90-74=16']
Exploring Operation: 84-51=33, Resulting Numbers: [16, 33]
Generated Node #0,0,1: 17:[16, 33] Operation: 84-51=33
Moving to Node #0,0,1
Current State: 17:[16, 33], Operations: ['90-74=16', '84-51=33']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
9,
30,
36,
5
] | 31 | [
"36/9=4",
"30+5=35",
"35-4=31"
] | Current State: 31:[9, 30, 36, 5], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [30, 5, 4]
Generated Node #2: [30, 5, 4] from Operation: 36/9=4
Current State: 31:[30, 5, 4], Operations: ['36/9=4']
Exploring Operation: 30+5=35, Resulting Numbers: [4, 35]
Generated Node #3: [4, 35] from Operation: 30+5=35
Current State: 31:[4, 35], Operations: ['36/9=4', '30+5=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[9, 30, 36, 5], Operations: []
Exploring Operation: 9+5=14, Resulting Numbers: [30, 36, 14]
Generated Node #0,0: 31:[30, 36, 14] Operation: 9+5=14
Exploring Operation: 9*5=45, Resulting Numbers: [30, 36, 45]
Generated Node #0,1: 31:[30, 36, 45] Operation: 9*5=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[30, 36, 45], Operations: ['9*5=45']
Exploring Operation: 45-36=9, Resulting Numbers: [30, 9]
Generated Node #0,1,0: 31:[30, 9] Operation: 45-36=9
Exploring Operation: 45-30=15, Resulting Numbers: [36, 15]
Generated Node #0,1,1: 31:[36, 15] Operation: 45-30=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[36, 15], Operations: ['9*5=45', '45-30=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,31 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[30, 9], Operations: ['9*5=45', '45-36=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,31 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[30, 36, 14], Operations: ['9+5=14']
Exploring Operation: 36-14=22, Resulting Numbers: [30, 22]
Generated Node #0,0,0: 31:[30, 22] Operation: 36-14=22
Exploring Operation: 30+14=44, Resulting Numbers: [36, 44]
Generated Node #0,0,1: 31:[36, 44] Operation: 30+14=44
Moving to Node #0,0,0
Current State: 31:[30, 22], Operations: ['9+5=14', '36-14=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[36, 44], Operations: ['9+5=14', '30+14=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,31 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 |
[
6,
77,
24,
4
] | 65 | [
"77-6=71",
"24/4=6",
"71-6=65"
] | Current State: 65:[6, 77, 24, 4], Operations: []
Exploring Operation: 77-6=71, Resulting Numbers: [24, 4, 71]
Generated Node #2: [24, 4, 71] from Operation: 77-6=71
Current State: 65:[24, 4, 71], Operations: ['77-6=71']
Exploring Operation: 24/4=6, Resulting Numbers: [71, 6]
Generated Node #3: [71, 6] from Operation: 24/4=6
Current State: 65:[71, 6], Operations: ['77-6=71', '24/4=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[6, 77, 24, 4], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [6, 77, 6]
Generated Node #0,0: 65:[6, 77, 6] Operation: 24/4=6
Exploring Operation: 24-6=18, Resulting Numbers: [77, 4, 18]
Generated Node #0,1: 65:[77, 4, 18] Operation: 24-6=18
Exploring Operation: 77-24=53, Resulting Numbers: [6, 4, 53]
Generated Node #0,2: 65:[6, 4, 53] Operation: 77-24=53
Exploring Operation: 24/6=4, Resulting Numbers: [77, 4, 4]
Generated Node #0,3: 65:[77, 4, 4] Operation: 24/6=4
Exploring Operation: 77-6=71, Resulting Numbers: [24, 4, 71]
Generated Node #0,4: 65:[24, 4, 71] Operation: 77-6=71
Moving to Node #0,0
Current State: 65:[6, 77, 6], Operations: ['24/4=6']
Exploring Operation: 77-6=71, Resulting Numbers: [6, 71]
Generated Node #0,0,0: 65:[6, 71] Operation: 77-6=71
Exploring Operation: 6-6=0, Resulting Numbers: [77, 0]
Generated Node #0,0,1: 65:[77, 0] Operation: 6-6=0
Exploring Operation: 6+6=12, Resulting Numbers: [77, 12]
Generated Node #0,0,2: 65:[77, 12] Operation: 6+6=12
Exploring Operation: 6/6=1, Resulting Numbers: [77, 1]
Generated Node #0,0,3: 65:[77, 1] Operation: 6/6=1
Exploring Operation: 77-6=71, Resulting Numbers: [6, 71]
Generated Node #0,0,4: 65:[6, 71] Operation: 77-6=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[6, 71], Operations: ['24/4=6', '77-6=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[6, 77, 24, 4], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [6, 77, 6]
Generated Node #0,0: 65:[6, 77, 6] Operation: 24/4=6
Moving to Node #0,0
Current State: 65:[6, 77, 6], Operations: ['24/4=6']
Exploring Operation: 77-6=71, Resulting Numbers: [6, 71]
Generated Node #0,0,0: 65:[6, 71] Operation: 77-6=71
Moving to Node #0,0,0
Current State: 65:[6, 71], Operations: ['24/4=6', '77-6=71']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
22,
33,
88,
43
] | 89 | [
"88/22=4",
"33*4=132",
"132-43=89"
] | Current State: 89:[22, 33, 88, 43], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [33, 43, 4]
Generated Node #2: [33, 43, 4] from Operation: 88/22=4
Current State: 89:[33, 43, 4], Operations: ['88/22=4']
Exploring Operation: 33*4=132, Resulting Numbers: [43, 132]
Generated Node #3: [43, 132] from Operation: 33*4=132
Current State: 89:[43, 132], Operations: ['88/22=4', '33*4=132']
Exploring Operation: 132-43=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[22, 33, 88, 43], Operations: []
Exploring Operation: 22+88=110, Resulting Numbers: [33, 43, 110]
Generated Node #0,0: 89:[33, 43, 110] Operation: 22+88=110
Exploring Operation: 33-22=11, Resulting Numbers: [88, 43, 11]
Generated Node #0,1: 89:[88, 43, 11] Operation: 33-22=11
Exploring Operation: 22+43=65, Resulting Numbers: [33, 88, 65]
Generated Node #0,2: 89:[33, 88, 65] Operation: 22+43=65
Exploring Operation: 22+33=55, Resulting Numbers: [88, 43, 55]
Generated Node #0,3: 89:[88, 43, 55] Operation: 22+33=55
Exploring Operation: 33+43=76, Resulting Numbers: [22, 88, 76]
Generated Node #0,4: 89:[22, 88, 76] Operation: 33+43=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[33, 88, 65], Operations: ['22+43=65']
Exploring Operation: 33+65=98, Resulting Numbers: [88, 98]
Generated Node #0,2,0: 89:[88, 98] Operation: 33+65=98
Exploring Operation: 88+65=153, Resulting Numbers: [33, 153]
Generated Node #0,2,1: 89:[33, 153] Operation: 88+65=153
Exploring Operation: 33+88=121, Resulting Numbers: [65, 121]
Generated Node #0,2,2: 89:[65, 121] Operation: 33+88=121
Exploring Operation: 88-33=55, Resulting Numbers: [65, 55]
Generated Node #0,2,3: 89:[65, 55] Operation: 88-33=55
Exploring Operation: 65-33=32, Resulting Numbers: [88, 32]
Generated Node #0,2,4: 89:[88, 32] Operation: 65-33=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[88, 98], Operations: ['22+43=65', '33+65=98']
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,89 unequal: No Solution
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,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:[65, 121], Operations: ['22+43=65', '33+88=121']
Exploring Operation: 65+121=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 121-65=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 65*121=7865, Resulting Numbers: [7865]
7865,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,3
Current State: 89:[65, 55], Operations: ['22+43=65', '88-33=55']
Exploring Operation: 65-55=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 65+55=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 65*55=3575, Resulting Numbers: [3575]
3575,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,4
Current State: 89:[88, 32], Operations: ['22+43=65', '65-33=32']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,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:[33, 153], Operations: ['22+43=65', '88+65=153']
Exploring Operation: 33+153=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 33*153=5049, Resulting Numbers: [5049]
5049,89 unequal: No Solution
Exploring Operation: 153-33=120, Resulting Numbers: [120]
120,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,3
Current State: 89:[88, 43, 55], Operations: ['22+33=55']
Exploring Operation: 55-43=12, Resulting Numbers: [88, 12]
Generated Node #0,3,0: 89:[88, 12] Operation: 55-43=12
Exploring Operation: 88-43=45, Resulting Numbers: [55, 45]
Generated Node #0,3,1: 89:[55, 45] Operation: 88-43=45
Exploring Operation: 88+43=131, Resulting Numbers: [55, 131]
Generated Node #0,3,2: 89:[55, 131] Operation: 88+43=131
Exploring Operation: 43+55=98, Resulting Numbers: [88, 98]
Generated Node #0,3,3: 89:[88, 98] Operation: 43+55=98
Exploring Operation: 88+55=143, Resulting Numbers: [43, 143]
Generated Node #0,3,4: 89:[43, 143] Operation: 88+55=143
Moving to Node #0,3,3
Current State: 89:[88, 98], Operations: ['22+33=55', '43+55=98']
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[55, 131], Operations: ['22+33=55', '88+43=131']
Exploring Operation: 131-55=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 55+131=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 55*131=7205, Resulting Numbers: [7205]
7205,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[88, 12], Operations: ['22+33=55', '55-43=12']
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,89 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[55, 45], Operations: ['22+33=55', '88-43=45']
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[43, 143], Operations: ['22+33=55', '88+55=143']
Exploring Operation: 43+143=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 143-43=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 43*143=6149, Resulting Numbers: [6149]
6149,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[22, 88, 76], Operations: ['33+43=76']
Exploring Operation: 88/22=4, Resulting Numbers: [76, 4]
Generated Node #0,4,0: 89:[76, 4] Operation: 88/22=4
Exploring Operation: 22+76=98, Resulting Numbers: [88, 98]
Generated Node #0,4,1: 89:[88, 98] Operation: 22+76=98
Exploring Operation: 22+88=110, Resulting Numbers: [76, 110]
Generated Node #0,4,2: 89:[76, 110] Operation: 22+88=110
Exploring Operation: 76-22=54, Resulting Numbers: [88, 54]
Generated Node #0,4,3: 89:[88, 54] Operation: 76-22=54
Exploring Operation: 88-22=66, Resulting Numbers: [76, 66]
Generated Node #0,4,4: 89:[76, 66] Operation: 88-22=66
Moving to Node #0,4,1
Current State: 89:[88, 98], Operations: ['33+43=76', '22+76=98']
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,89 unequal: No Solution
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[76, 110], Operations: ['33+43=76', '22+88=110']
Exploring Operation: 110-76=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 76+110=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 76*110=8360, Resulting Numbers: [8360]
8360,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[88, 54], Operations: ['33+43=76', '76-22=54']
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,89 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[76, 66], Operations: ['33+43=76', '88-22=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,89 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[76, 4], Operations: ['33+43=76', '88/22=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,89 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[33, 43, 110], Operations: ['22+88=110']
Exploring Operation: 110-33=77, Resulting Numbers: [43, 77]
Generated Node #0,0,0: 89:[43, 77] Operation: 110-33=77
Exploring Operation: 33+110=143, Resulting Numbers: [43, 143]
Generated Node #0,0,1: 89:[43, 143] Operation: 33+110=143
Exploring Operation: 110-43=67, Resulting Numbers: [33, 67]
Generated Node #0,0,2: 89:[33, 67] Operation: 110-43=67
Exploring Operation: 33+43=76, Resulting Numbers: [110, 76]
Generated Node #0,0,3: 89:[110, 76] Operation: 33+43=76
Exploring Operation: 43-33=10, Resulting Numbers: [110, 10]
Generated Node #0,0,4: 89:[110, 10] Operation: 43-33=10
Moving to Node #0,0,3
Current State: 89:[110, 76], Operations: ['22+88=110', '33+43=76']
Exploring Operation: 110+76=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 110*76=8360, Resulting Numbers: [8360]
8360,89 unequal: No Solution
Exploring Operation: 110-76=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[43, 77], Operations: ['22+88=110', '110-33=77']
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,89 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[33, 67], Operations: ['22+88=110', '110-43=67']
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 33*67=2211, Resulting Numbers: [2211]
2211,89 unequal: No Solution
Exploring Operation: 33+67=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[43, 143], Operations: ['22+88=110', '33+110=143']
Exploring Operation: 143-43=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 43+143=186, Resulting Numbers: [186]
186,89 unequal: No Solution
Exploring Operation: 43*143=6149, Resulting Numbers: [6149]
6149,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[110, 10], Operations: ['22+88=110', '43-33=10']
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 110+10=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 110*10=1100, Resulting Numbers: [1100]
1100,89 unequal: No Solution
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[88, 43, 11], Operations: ['33-22=11']
Exploring Operation: 43+11=54, Resulting Numbers: [88, 54]
Generated Node #0,1,0: 89:[88, 54] Operation: 43+11=54
Exploring Operation: 88+11=99, Resulting Numbers: [43, 99]
Generated Node #0,1,1: 89:[43, 99] Operation: 88+11=99
Exploring Operation: 88-11=77, Resulting Numbers: [43, 77]
Generated Node #0,1,2: 89:[43, 77] Operation: 88-11=77
Exploring Operation: 43-11=32, Resulting Numbers: [88, 32]
Generated Node #0,1,3: 89:[88, 32] Operation: 43-11=32
Exploring Operation: 88+43=131, Resulting Numbers: [11, 131]
Generated Node #0,1,4: 89:[11, 131] Operation: 88+43=131
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[88, 54], Operations: ['33-22=11', '43+11=54']
Exploring Operation: 88*54=4752, Resulting Numbers: [4752]
4752,89 unequal: No Solution
Exploring Operation: 88+54=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,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,1,1
Current State: 89:[43, 99], Operations: ['33-22=11', '88+11=99']
Exploring Operation: 43*99=4257, Resulting Numbers: [4257]
4257,89 unequal: No Solution
Exploring Operation: 43+99=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 99-43=56, Resulting Numbers: [56]
56,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,1,2
Current State: 89:[43, 77], Operations: ['33-22=11', '88-11=77']
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,89 unequal: No Solution
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,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,1,3
Current State: 89:[88, 32], Operations: ['33-22=11', '43-11=32']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,89 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,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,1,4
Current State: 89:[11, 131], Operations: ['33-22=11', '88+43=131']
Exploring Operation: 11*131=1441, Resulting Numbers: [1441]
1441,89 unequal: No Solution
Exploring Operation: 11+131=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 131-11=120, Resulting Numbers: [120]
120,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
87,
68,
78,
8
] | 74 | [
"87-68=19",
"8*19=152",
"152-78=74"
] | Current State: 74:[87, 68, 78, 8], Operations: []
Exploring Operation: 87-68=19, Resulting Numbers: [78, 8, 19]
Generated Node #2: [78, 8, 19] from Operation: 87-68=19
Current State: 74:[78, 8, 19], Operations: ['87-68=19']
Exploring Operation: 8*19=152, Resulting Numbers: [78, 152]
Generated Node #3: [78, 152] from Operation: 8*19=152
Current State: 74:[78, 152], Operations: ['87-68=19', '8*19=152']
Exploring Operation: 152-78=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[87, 68, 78, 8], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [68, 78, 79]
Generated Node #0,0: 74:[68, 78, 79] Operation: 87-8=79
Moving to Node #0,0
Current State: 74:[68, 78, 79], Operations: ['87-8=79']
Exploring Operation: 79-78=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 74:[68, 1] Operation: 79-78=1
Moving to Node #0,0,0
Current State: 74:[68, 1], Operations: ['87-8=79', '79-78=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,74 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
28,
97,
30,
1
] | 39 | [
"97-28=69",
"30*1=30",
"69-30=39"
] | Current State: 39:[28, 97, 30, 1], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [30, 1, 69]
Generated Node #2: [30, 1, 69] from Operation: 97-28=69
Current State: 39:[30, 1, 69], Operations: ['97-28=69']
Exploring Operation: 30*1=30, Resulting Numbers: [69, 30]
Generated Node #3: [69, 30] from Operation: 30*1=30
Current State: 39:[69, 30], Operations: ['97-28=69', '30*1=30']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 97, 30, 1], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [30, 1, 69]
Generated Node #0,0: 39:[30, 1, 69] Operation: 97-28=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[30, 1, 69], Operations: ['97-28=69']
Exploring Operation: 69-30=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 39:[1, 39] Operation: 69-30=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[1, 39], Operations: ['97-28=69', '69-30=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[28, 97, 30, 1], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [30, 1, 69]
Generated Node #0,0: 39:[30, 1, 69] Operation: 97-28=69
Moving to Node #0,0
Current State: 39:[30, 1, 69], Operations: ['97-28=69']
Exploring Operation: 69-30=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 39:[1, 39] Operation: 69-30=39
Moving to Node #0,0,0
Current State: 39:[1, 39], Operations: ['97-28=69', '69-30=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
32,
98,
64,
65
] | 62 | [
"32+98=130",
"130/65=2",
"64-2=62"
] | Current State: 62:[32, 98, 64, 65], Operations: []
Exploring Operation: 32+98=130, Resulting Numbers: [64, 65, 130]
Generated Node #2: [64, 65, 130] from Operation: 32+98=130
Current State: 62:[64, 65, 130], Operations: ['32+98=130']
Exploring Operation: 130/65=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 130/65=2
Current State: 62:[64, 2], Operations: ['32+98=130', '130/65=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[32, 98, 64, 65], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [32, 64, 33]
Generated Node #0,0: 62:[32, 64, 33] Operation: 98-65=33
Exploring Operation: 98-64=34, Resulting Numbers: [32, 65, 34]
Generated Node #0,1: 62:[32, 65, 34] Operation: 98-64=34
Exploring Operation: 65-64=1, Resulting Numbers: [32, 98, 1]
Generated Node #0,2: 62:[32, 98, 1] Operation: 65-64=1
Exploring Operation: 98-32=66, Resulting Numbers: [64, 65, 66]
Generated Node #0,3: 62:[64, 65, 66] Operation: 98-32=66
Moving to Node #0,0
Current State: 62:[32, 64, 33], Operations: ['98-65=33']
Exploring Operation: 33-32=1, Resulting Numbers: [64, 1]
Generated Node #0,0,0: 62:[64, 1] Operation: 33-32=1
Exploring Operation: 64-32=32, Resulting Numbers: [33, 32]
Generated Node #0,0,1: 62:[33, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [33, 2]
Generated Node #0,0,2: 62:[33, 2] Operation: 64/32=2
Exploring Operation: 64-33=31, Resulting Numbers: [32, 31]
Generated Node #0,0,3: 62:[32, 31] Operation: 64-33=31
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[32, 31], Operations: ['98-65=33', '64-33=31']
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[33, 2], Operations: ['98-65=33', '64/32=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[64, 1], Operations: ['98-65=33', '33-32=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[33, 32], Operations: ['98-65=33', '64-32=32']
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,62 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,62 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: 62:[32, 65, 34], Operations: ['98-64=34']
Exploring Operation: 65-34=31, Resulting Numbers: [32, 31]
Generated Node #0,1,0: 62:[32, 31] Operation: 65-34=31
Exploring Operation: 32+34=66, Resulting Numbers: [65, 66]
Generated Node #0,1,1: 62:[65, 66] Operation: 32+34=66
Exploring Operation: 34-32=2, Resulting Numbers: [65, 2]
Generated Node #0,1,2: 62:[65, 2] Operation: 34-32=2
Exploring Operation: 65-32=33, Resulting Numbers: [34, 33]
Generated Node #0,1,3: 62:[34, 33] Operation: 65-32=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[32, 31], Operations: ['98-64=34', '65-34=31']
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 32*31=992, Resulting Numbers: [992]
992,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[65, 2], Operations: ['98-64=34', '34-32=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,62 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[34, 33], Operations: ['98-64=34', '65-32=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,62 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[65, 66], Operations: ['98-64=34', '32+34=66']
Exploring Operation: 65*66=4290, Resulting Numbers: [4290]
4290,62 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 65+66=131, Resulting Numbers: [131]
131,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 62:[64, 65, 66], Operations: ['98-32=66']
Exploring Operation: 66-65=1, Resulting Numbers: [64, 1]
Generated Node #0,3,0: 62:[64, 1] Operation: 66-65=1
Exploring Operation: 66-64=2, Resulting Numbers: [65, 2]
Generated Node #0,3,1: 62:[65, 2] Operation: 66-64=2
Exploring Operation: 64+65=129, Resulting Numbers: [66, 129]
Generated Node #0,3,2: 62:[66, 129] Operation: 64+65=129
Exploring Operation: 65-64=1, Resulting Numbers: [66, 1]
Generated Node #0,3,3: 62:[66, 1] Operation: 65-64=1
Moving to Node #0,2
Current State: 62:[32, 98, 1], Operations: ['65-64=1']
Exploring Operation: 32-1=31, Resulting Numbers: [98, 31]
Generated Node #0,2,0: 62:[98, 31] Operation: 32-1=31
Exploring Operation: 32*1=32, Resulting Numbers: [98, 32]
Generated Node #0,2,1: 62:[98, 32] Operation: 32*1=32
Exploring Operation: 98-1=97, Resulting Numbers: [32, 97]
Generated Node #0,2,2: 62:[32, 97] Operation: 98-1=97
Exploring Operation: 98-32=66, Resulting Numbers: [1, 66]
Generated Node #0,2,3: 62:[1, 66] Operation: 98-32=66
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[1, 66], Operations: ['65-64=1', '98-32=66']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 1+66=67, Resulting Numbers: [67]
67,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,0
Current State: 62:[98, 31], Operations: ['65-64=1', '32-1=31']
Exploring Operation: 98*31=3038, Resulting Numbers: [3038]
3038,62 unequal: No Solution
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,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,2
Current State: 62:[32, 97], Operations: ['65-64=1', '98-1=97']
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 32+97=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 32*97=3104, Resulting Numbers: [3104]
3104,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,1
Current State: 62:[98, 32], Operations: ['65-64=1', '32*1=32']
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,62 unequal: No Solution
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 62:[64, 1], Operations: ['98-32=66', '66-65=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[65, 2], Operations: ['98-32=66', '66-64=2']
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,62 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[66, 1], Operations: ['98-32=66', '65-64=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[66, 129], Operations: ['98-32=66', '64+65=129']
Exploring Operation: 66+129=195, Resulting Numbers: [195]
195,62 unequal: No Solution
Exploring Operation: 66*129=8514, Resulting Numbers: [8514]
8514,62 unequal: No Solution
Exploring Operation: 129-66=63, Resulting Numbers: [63]
63,62 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
5,
16,
74
] | 53 | [
"5-3=2",
"74/2=37",
"16+37=53"
] | Current State: 53:[3, 5, 16, 74], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [16, 74, 2]
Generated Node #2: [16, 74, 2] from Operation: 5-3=2
Current State: 53:[16, 74, 2], Operations: ['5-3=2']
Exploring Operation: 74/2=37, Resulting Numbers: [16, 37]
Generated Node #3: [16, 37] from Operation: 74/2=37
Current State: 53:[16, 37], Operations: ['5-3=2', '74/2=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 5, 16, 74], Operations: []
Exploring Operation: 3+5=8, Resulting Numbers: [16, 74, 8]
Generated Node #0,0: 53:[16, 74, 8] Operation: 3+5=8
Exploring Operation: 3+16=19, Resulting Numbers: [5, 74, 19]
Generated Node #0,1: 53:[5, 74, 19] Operation: 3+16=19
Exploring Operation: 5*16=80, Resulting Numbers: [3, 74, 80]
Generated Node #0,2: 53:[3, 74, 80] Operation: 5*16=80
Exploring Operation: 3*5=15, Resulting Numbers: [16, 74, 15]
Generated Node #0,3: 53:[16, 74, 15] Operation: 3*5=15
Exploring Operation: 3*16=48, Resulting Numbers: [5, 74, 48]
Generated Node #0,4: 53:[5, 74, 48] Operation: 3*16=48
Moving to Node #0,4
Current State: 53:[5, 74, 48], Operations: ['3*16=48']
Exploring Operation: 74-5=69, Resulting Numbers: [48, 69]
Generated Node #0,4,0: 53:[48, 69] Operation: 74-5=69
Exploring Operation: 48-5=43, Resulting Numbers: [74, 43]
Generated Node #0,4,1: 53:[74, 43] Operation: 48-5=43
Exploring Operation: 74-48=26, Resulting Numbers: [5, 26]
Generated Node #0,4,2: 53:[5, 26] Operation: 74-48=26
Exploring Operation: 5+74=79, Resulting Numbers: [48, 79]
Generated Node #0,4,3: 53:[48, 79] Operation: 5+74=79
Exploring Operation: 5+48=53, Resulting Numbers: [74, 53]
Generated Node #0,4,4: 53:[74, 53] Operation: 5+48=53
Moving to Node #0,3
Current State: 53:[16, 74, 15], Operations: ['3*5=15']
Exploring Operation: 16-15=1, Resulting Numbers: [74, 1]
Generated Node #0,3,0: 53:[74, 1] Operation: 16-15=1
Exploring Operation: 74-15=59, Resulting Numbers: [16, 59]
Generated Node #0,3,1: 53:[16, 59] Operation: 74-15=59
Exploring Operation: 74-16=58, Resulting Numbers: [15, 58]
Generated Node #0,3,2: 53:[15, 58] Operation: 74-16=58
Exploring Operation: 16+15=31, Resulting Numbers: [74, 31]
Generated Node #0,3,3: 53:[74, 31] Operation: 16+15=31
Exploring Operation: 74+15=89, Resulting Numbers: [16, 89]
Generated Node #0,3,4: 53:[16, 89] Operation: 74+15=89
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[16, 59], Operations: ['3*5=15', '74-15=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 16*59=944, Resulting Numbers: [944]
944,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,3,2
Current State: 53:[15, 58], Operations: ['3*5=15', '74-16=58']
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,53 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,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,3,3
Current State: 53:[74, 31], Operations: ['3*5=15', '16+15=31']
Exploring Operation: 74*31=2294, Resulting Numbers: [2294]
2294,53 unequal: No Solution
Exploring Operation: 74+31=105, Resulting Numbers: [105]
105,53 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,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,3,0
Current State: 53:[74, 1], Operations: ['3*5=15', '16-15=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,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,3,4
Current State: 53:[16, 89], Operations: ['3*5=15', '74+15=89']
Exploring Operation: 16+89=105, Resulting Numbers: [105]
105,53 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,53 unequal: No Solution
Exploring Operation: 16*89=1424, Resulting Numbers: [1424]
1424,53 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: 53:[3, 74, 80], Operations: ['5*16=80']
Exploring Operation: 80-3=77, Resulting Numbers: [74, 77]
Generated Node #0,2,0: 53:[74, 77] Operation: 80-3=77
Exploring Operation: 3+74=77, Resulting Numbers: [80, 77]
Generated Node #0,2,1: 53:[80, 77] Operation: 3+74=77
Exploring Operation: 74-3=71, Resulting Numbers: [80, 71]
Generated Node #0,2,2: 53:[80, 71] Operation: 74-3=71
Exploring Operation: 3+80=83, Resulting Numbers: [74, 83]
Generated Node #0,2,3: 53:[74, 83] Operation: 3+80=83
Exploring Operation: 80-74=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 53:[3, 6] Operation: 80-74=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[74, 77], Operations: ['5*16=80', '80-3=77']
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 74*77=5698, Resulting Numbers: [5698]
5698,53 unequal: No Solution
Exploring Operation: 74+77=151, Resulting Numbers: [151]
151,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[80, 71], Operations: ['5*16=80', '74-3=71']
Exploring Operation: 80+71=151, Resulting Numbers: [151]
151,53 unequal: No Solution
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 80*71=5680, Resulting Numbers: [5680]
5680,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,1
Current State: 53:[80, 77], Operations: ['5*16=80', '3+74=77']
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,53 unequal: No Solution
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[74, 83], Operations: ['5*16=80', '3+80=83']
Exploring Operation: 74*83=6142, Resulting Numbers: [6142]
6142,53 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 74+83=157, Resulting Numbers: [157]
157,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[3, 6], Operations: ['5*16=80', '80-74=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,53 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,53 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: 53:[16, 74, 8], Operations: ['3+5=8']
Exploring Operation: 74+8=82, Resulting Numbers: [16, 82]
Generated Node #0,0,0: 53:[16, 82] Operation: 74+8=82
Exploring Operation: 74-16=58, Resulting Numbers: [8, 58]
Generated Node #0,0,1: 53:[8, 58] Operation: 74-16=58
Exploring Operation: 16+8=24, Resulting Numbers: [74, 24]
Generated Node #0,0,2: 53:[74, 24] Operation: 16+8=24
Exploring Operation: 16-8=8, Resulting Numbers: [74, 8]
Generated Node #0,0,3: 53:[74, 8] Operation: 16-8=8
Exploring Operation: 74-8=66, Resulting Numbers: [16, 66]
Generated Node #0,0,4: 53:[16, 66] Operation: 74-8=66
Moving to Node #0,1
Current State: 53:[5, 74, 19], Operations: ['3+16=19']
Exploring Operation: 74-19=55, Resulting Numbers: [5, 55]
Generated Node #0,1,0: 53:[5, 55] Operation: 74-19=55
Exploring Operation: 5+19=24, Resulting Numbers: [74, 24]
Generated Node #0,1,1: 53:[74, 24] Operation: 5+19=24
Exploring Operation: 19-5=14, Resulting Numbers: [74, 14]
Generated Node #0,1,2: 53:[74, 14] Operation: 19-5=14
Exploring Operation: 5+74=79, Resulting Numbers: [19, 79]
Generated Node #0,1,3: 53:[19, 79] Operation: 5+74=79
Exploring Operation: 74-5=69, Resulting Numbers: [19, 69]
Generated Node #0,1,4: 53:[19, 69] Operation: 74-5=69
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[5, 55], Operations: ['3+16=19', '74-19=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,53 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,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,1
Current State: 53:[74, 24], Operations: ['3+16=19', '5+19=24']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,53 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,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,4
Current State: 53:[19, 69], Operations: ['3+16=19', '74-5=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,53 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,53 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,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,2
Current State: 53:[74, 14], Operations: ['3+16=19', '19-5=14']
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,53 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[19, 79], Operations: ['3+16=19', '5+74=79']
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 19*79=1501, Resulting Numbers: [1501]
1501,53 unequal: No Solution
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 53:[48, 69], Operations: ['3*16=48', '74-5=69']
Exploring Operation: 48+69=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 48*69=3312, Resulting Numbers: [3312]
3312,53 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,4,4
Current State: 53:[74, 53], Operations: ['3*16=48', '5+48=53']
Exploring Operation: 74*53=3922, Resulting Numbers: [3922]
3922,53 unequal: No Solution
Exploring Operation: 74+53=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[74, 43], Operations: ['3*16=48', '48-5=43']
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,53 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[48, 79], Operations: ['3*16=48', '5+74=79']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,53 unequal: No Solution
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[74, 24], Operations: ['3+5=8', '16+8=24']
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[8, 58], Operations: ['3+5=8', '74-16=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,53 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[16, 66], Operations: ['3+5=8', '74-8=66']
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,53 unequal: No Solution
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[16, 82], Operations: ['3+5=8', '74+8=82']
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[74, 8], Operations: ['3+5=8', '16-8=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,53 unequal: No Solution
Moving to Node #0,4,2
Current State: 53:[5, 26], Operations: ['3*16=48', '74-48=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,53 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
68,
81,
13
] | 20 | [
"6+68=74",
"81+13=94",
"94-74=20"
] | Current State: 20:[6, 68, 81, 13], Operations: []
Exploring Operation: 6+68=74, Resulting Numbers: [81, 13, 74]
Generated Node #2: [81, 13, 74] from Operation: 6+68=74
Current State: 20:[81, 13, 74], Operations: ['6+68=74']
Exploring Operation: 81+13=94, Resulting Numbers: [74, 94]
Generated Node #3: [74, 94] from Operation: 81+13=94
Current State: 20:[74, 94], Operations: ['6+68=74', '81+13=94']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[6, 68, 81, 13], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [81, 13, 62]
Generated Node #0,0: 20:[81, 13, 62] Operation: 68-6=62
Exploring Operation: 68-13=55, Resulting Numbers: [6, 81, 55]
Generated Node #0,1: 20:[6, 81, 55] Operation: 68-13=55
Exploring Operation: 81-13=68, Resulting Numbers: [6, 68, 68]
Generated Node #0,2: 20:[6, 68, 68] Operation: 81-13=68
Exploring Operation: 81-68=13, Resulting Numbers: [6, 13, 13]
Generated Node #0,3: 20:[6, 13, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[6, 13, 13], Operations: ['81-68=13']
Exploring Operation: 6+13=19, Resulting Numbers: [13, 19]
Generated Node #0,3,0: 20:[13, 19] Operation: 6+13=19
Exploring Operation: 6+13=19, Resulting Numbers: [13, 19]
Generated Node #0,3,1: 20:[13, 19] Operation: 6+13=19
Exploring Operation: 13-13=0, Resulting Numbers: [6, 0]
Generated Node #0,3,2: 20:[6, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [6, 1]
Generated Node #0,3,3: 20:[6, 1] Operation: 13/13=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[6, 1], Operations: ['81-68=13', '13/13=1']
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[6, 0], Operations: ['81-68=13', '13-13=0']
Exploring Operation: 6*0=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 6+0=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 6-0=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[13, 19], Operations: ['81-68=13', '6+13=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[13, 19], Operations: ['81-68=13', '6+13=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[6, 81, 55], Operations: ['68-13=55']
Exploring Operation: 81-6=75, Resulting Numbers: [55, 75]
Generated Node #0,1,0: 20:[55, 75] Operation: 81-6=75
Exploring Operation: 55-6=49, Resulting Numbers: [81, 49]
Generated Node #0,1,1: 20:[81, 49] Operation: 55-6=49
Exploring Operation: 6+81=87, Resulting Numbers: [55, 87]
Generated Node #0,1,2: 20:[55, 87] Operation: 6+81=87
Exploring Operation: 81-55=26, Resulting Numbers: [6, 26]
Generated Node #0,1,3: 20:[6, 26] Operation: 81-55=26
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[6, 26], Operations: ['68-13=55', '81-55=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,20 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[6, 68, 81, 13], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [6, 81, 55]
Generated Node #0,1: 20:[6, 81, 55] Operation: 68-13=55
Moving to Node #0,1
Current State: 20:[6, 81, 55], Operations: ['68-13=55']
Exploring Operation: 81-55=26, Resulting Numbers: [6, 26]
Generated Node #0,1,3: 20:[6, 26] Operation: 81-55=26
Moving to Node #0,1,3
Current State: 20:[6, 26], Operations: ['68-13=55', '81-55=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
60,
66,
33,
46
] | 32 | [
"66/33=2",
"46*2=92",
"92-60=32"
] | Current State: 32:[60, 66, 33, 46], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [60, 46, 2]
Generated Node #2: [60, 46, 2] from Operation: 66/33=2
Current State: 32:[60, 46, 2], Operations: ['66/33=2']
Exploring Operation: 46*2=92, Resulting Numbers: [60, 92]
Generated Node #3: [60, 92] from Operation: 46*2=92
Current State: 32:[60, 92], Operations: ['66/33=2', '46*2=92']
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[60, 66, 33, 46], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [33, 46, 6]
Generated Node #0,0: 32:[33, 46, 6] Operation: 66-60=6
Exploring Operation: 66-46=20, Resulting Numbers: [60, 33, 20]
Generated Node #0,1: 32:[60, 33, 20] Operation: 66-46=20
Moving to Node #0,0
Current State: 32:[33, 46, 6], Operations: ['66-60=6']
Exploring Operation: 46-33=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 32:[6, 13] Operation: 46-33=13
Exploring Operation: 46-6=40, Resulting Numbers: [33, 40]
Generated Node #0,0,1: 32:[33, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[6, 13], Operations: ['66-60=6', '46-33=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[33, 40], Operations: ['66-60=6', '46-6=40']
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,32 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,32 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: 32:[60, 33, 20], Operations: ['66-46=20']
Exploring Operation: 60/20=3, Resulting Numbers: [33, 3]
Generated Node #0,1,0: 32:[33, 3] Operation: 60/20=3
Exploring Operation: 60-33=27, Resulting Numbers: [20, 27]
Generated Node #0,1,1: 32:[20, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[33, 3], Operations: ['66-46=20', '60/20=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[20, 27], Operations: ['66-46=20', '60-33=27']
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
80,
3,
22
] | 22 | [
"56-22=34",
"3*34=102",
"102-80=22"
] | Current State: 22:[56, 80, 3, 22], Operations: []
Exploring Operation: 56-22=34, Resulting Numbers: [80, 3, 34]
Generated Node #2: [80, 3, 34] from Operation: 56-22=34
Current State: 22:[80, 3, 34], Operations: ['56-22=34']
Exploring Operation: 3*34=102, Resulting Numbers: [80, 102]
Generated Node #3: [80, 102] from Operation: 3*34=102
Current State: 22:[80, 102], Operations: ['56-22=34', '3*34=102']
Exploring Operation: 102-80=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[56, 80, 3, 22], Operations: []
Exploring Operation: 56-22=34, Resulting Numbers: [80, 3, 34]
Generated Node #0,0: 22:[80, 3, 34] Operation: 56-22=34
Exploring Operation: 80-56=24, Resulting Numbers: [3, 22, 24]
Generated Node #0,1: 22:[3, 22, 24] Operation: 80-56=24
Moving to Node #0,1
Current State: 22:[3, 22, 24], Operations: ['80-56=24']
Exploring Operation: 24-22=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 22:[3, 2] Operation: 24-22=2
Exploring Operation: 24-3=21, Resulting Numbers: [22, 21]
Generated Node #0,1,1: 22:[22, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[3, 2], Operations: ['80-56=24', '24-22=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,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:[22, 21], Operations: ['80-56=24', '24-3=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,22 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: 22:[80, 3, 34], Operations: ['56-22=34']
Exploring Operation: 80-34=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 22:[3, 46] Operation: 80-34=46
Exploring Operation: 80-3=77, Resulting Numbers: [34, 77]
Generated Node #0,0,1: 22:[34, 77] Operation: 80-3=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[3, 46], Operations: ['56-22=34', '80-34=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[34, 77], Operations: ['56-22=34', '80-3=77']
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,22 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 |
[
24,
41,
64,
8
] | 46 | [
"64-24=40",
"40/8=5",
"41+5=46"
] | Current State: 46:[24, 41, 64, 8], Operations: []
Exploring Operation: 64-24=40, Resulting Numbers: [41, 8, 40]
Generated Node #2: [41, 8, 40] from Operation: 64-24=40
Current State: 46:[41, 8, 40], Operations: ['64-24=40']
Exploring Operation: 40/8=5, Resulting Numbers: [41, 5]
Generated Node #3: [41, 5] from Operation: 40/8=5
Current State: 46:[41, 5], Operations: ['64-24=40', '40/8=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[24, 41, 64, 8], Operations: []
Exploring Operation: 41+8=49, Resulting Numbers: [24, 64, 49]
Generated Node #0,0: 46:[24, 64, 49] Operation: 41+8=49
Exploring Operation: 64-24=40, Resulting Numbers: [41, 8, 40]
Generated Node #0,1: 46:[41, 8, 40] Operation: 64-24=40
Exploring Operation: 64-8=56, Resulting Numbers: [24, 41, 56]
Generated Node #0,2: 46:[24, 41, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [24, 41, 8]
Generated Node #0,3: 46:[24, 41, 8] Operation: 64/8=8
Exploring Operation: 64-41=23, Resulting Numbers: [24, 8, 23]
Generated Node #0,4: 46:[24, 8, 23] Operation: 64-41=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[24, 8, 23], Operations: ['64-41=23']
Exploring Operation: 24-23=1, Resulting Numbers: [8, 1]
Generated Node #0,4,0: 46:[8, 1] Operation: 24-23=1
Exploring Operation: 24+23=47, Resulting Numbers: [8, 47]
Generated Node #0,4,1: 46:[8, 47] Operation: 24+23=47
Exploring Operation: 24/8=3, Resulting Numbers: [23, 3]
Generated Node #0,4,2: 46:[23, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [23, 16]
Generated Node #0,4,3: 46:[23, 16] Operation: 24-8=16
Exploring Operation: 24+8=32, Resulting Numbers: [23, 32]
Generated Node #0,4,4: 46:[23, 32] Operation: 24+8=32
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 46:[23, 3], Operations: ['64-41=23', '24/8=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,46 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No 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: 46:[8, 1], Operations: ['64-41=23', '24-23=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 46:[8, 47], Operations: ['64-41=23', '24+23=47']
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,46 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,46 unequal: No Solution
No 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: 46:[23, 16], Operations: ['64-41=23', '24-8=16']
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,46 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No 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: 46:[23, 32], Operations: ['64-41=23', '24+8=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,46 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: 46:[24, 41, 8], Operations: ['64/8=8']
Exploring Operation: 41-8=33, Resulting Numbers: [24, 33]
Generated Node #0,3,0: 46:[24, 33] Operation: 41-8=33
Exploring Operation: 41-24=17, Resulting Numbers: [8, 17]
Generated Node #0,3,1: 46:[8, 17] Operation: 41-24=17
Exploring Operation: 24/8=3, Resulting Numbers: [41, 3]
Generated Node #0,3,2: 46:[41, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [41, 16]
Generated Node #0,3,3: 46:[41, 16] Operation: 24-8=16
Exploring Operation: 41+8=49, Resulting Numbers: [24, 49]
Generated Node #0,3,4: 46:[24, 49] Operation: 41+8=49
Moving to Node #0,3,4
Current State: 46:[24, 49], Operations: ['64/8=8', '41+8=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[41, 3], Operations: ['64/8=8', '24/8=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[24, 33], Operations: ['64/8=8', '41-8=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,46 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[8, 17], Operations: ['64/8=8', '41-24=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[41, 16], Operations: ['64/8=8', '24-8=16']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,46 unequal: No Solution
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[24, 41, 56], Operations: ['64-8=56']
Exploring Operation: 24+41=65, Resulting Numbers: [56, 65]
Generated Node #0,2,0: 46:[56, 65] Operation: 24+41=65
Exploring Operation: 56-41=15, Resulting Numbers: [24, 15]
Generated Node #0,2,1: 46:[24, 15] Operation: 56-41=15
Exploring Operation: 41-24=17, Resulting Numbers: [56, 17]
Generated Node #0,2,2: 46:[56, 17] Operation: 41-24=17
Exploring Operation: 24+56=80, Resulting Numbers: [41, 80]
Generated Node #0,2,3: 46:[41, 80] Operation: 24+56=80
Exploring Operation: 56-24=32, Resulting Numbers: [41, 32]
Generated Node #0,2,4: 46:[41, 32] Operation: 56-24=32
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 46:[24, 15], Operations: ['64-8=56', '56-41=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,46 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,46 unequal: No Solution
No 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: 46:[41, 32], Operations: ['64-8=56', '56-24=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,46 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,46 unequal: No Solution
No 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: 46:[56, 17], Operations: ['64-8=56', '41-24=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,46 unequal: No Solution
No 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: 46:[56, 65], Operations: ['64-8=56', '24+41=65']
Exploring Operation: 56+65=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 65-56=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 56*65=3640, Resulting Numbers: [3640]
3640,46 unequal: No Solution
No 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: 46:[41, 80], Operations: ['64-8=56', '24+56=80']
Exploring Operation: 41+80=121, Resulting Numbers: [121]
121,46 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 41*80=3280, Resulting Numbers: [3280]
3280,46 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: 46:[41, 8, 40], Operations: ['64-24=40']
Exploring Operation: 40/8=5, Resulting Numbers: [41, 5]
Generated Node #0,1,0: 46:[41, 5] Operation: 40/8=5
Exploring Operation: 41+8=49, Resulting Numbers: [40, 49]
Generated Node #0,1,1: 46:[40, 49] Operation: 41+8=49
Exploring Operation: 8+40=48, Resulting Numbers: [41, 48]
Generated Node #0,1,2: 46:[41, 48] Operation: 8+40=48
Exploring Operation: 40-8=32, Resulting Numbers: [41, 32]
Generated Node #0,1,3: 46:[41, 32] Operation: 40-8=32
Exploring Operation: 41-40=1, Resulting Numbers: [8, 1]
Generated Node #0,1,4: 46:[8, 1] Operation: 41-40=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[41, 48], Operations: ['64-24=40', '8+40=48']
Exploring Operation: 41+48=89, Resulting Numbers: [89]
89,46 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 41*48=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
No 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: 46:[8, 1], Operations: ['64-24=40', '41-40=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,46 unequal: No Solution
No 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: 46:[41, 5], Operations: ['64-24=40', '40/8=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[24, 41, 64, 8], Operations: []
Exploring Operation: 64-24=40, Resulting Numbers: [41, 8, 40]
Generated Node #0,1: 46:[41, 8, 40] Operation: 64-24=40
Moving to Node #0,1
Current State: 46:[41, 8, 40], Operations: ['64-24=40']
Exploring Operation: 40/8=5, Resulting Numbers: [41, 5]
Generated Node #0,1,0: 46:[41, 5] Operation: 40/8=5
Moving to Node #0,1,0
Current State: 46:[41, 5], Operations: ['64-24=40', '40/8=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.927951 | hs_5 | sum_heuristic |
[
24,
40,
9,
34
] | 27 | [
"40-24=16",
"9+34=43",
"43-16=27"
] | Current State: 27:[24, 40, 9, 34], Operations: []
Exploring Operation: 40-24=16, Resulting Numbers: [9, 34, 16]
Generated Node #2: [9, 34, 16] from Operation: 40-24=16
Current State: 27:[9, 34, 16], Operations: ['40-24=16']
Exploring Operation: 9+34=43, Resulting Numbers: [16, 43]
Generated Node #3: [16, 43] from Operation: 9+34=43
Current State: 27:[16, 43], Operations: ['40-24=16', '9+34=43']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[24, 40, 9, 34], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [24, 9, 6]
Generated Node #0,0: 27:[24, 9, 6] Operation: 40-34=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[24, 9, 6], Operations: ['40-34=6']
Exploring Operation: 24/6=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 27:[9, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[9, 4], Operations: ['40-34=6', '24/6=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
82,
95,
60,
82
] | 36 | [
"82/82=1",
"95-60=35",
"1+35=36"
] | Current State: 36:[82, 95, 60, 82], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [95, 60, 1]
Generated Node #2: [95, 60, 1] from Operation: 82/82=1
Current State: 36:[95, 60, 1], Operations: ['82/82=1']
Exploring Operation: 95-60=35, Resulting Numbers: [1, 35]
Generated Node #3: [1, 35] from Operation: 95-60=35
Current State: 36:[1, 35], Operations: ['82/82=1', '95-60=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[82, 95, 60, 82], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [95, 60, 1]
Generated Node #0,0: 36:[95, 60, 1] Operation: 82/82=1
Exploring Operation: 95-82=13, Resulting Numbers: [82, 60, 13]
Generated Node #0,1: 36:[82, 60, 13] Operation: 95-82=13
Exploring Operation: 82-82=0, Resulting Numbers: [95, 60, 0]
Generated Node #0,2: 36:[95, 60, 0] Operation: 82-82=0
Exploring Operation: 95-60=35, Resulting Numbers: [82, 82, 35]
Generated Node #0,3: 36:[82, 82, 35] Operation: 95-60=35
Exploring Operation: 95-82=13, Resulting Numbers: [60, 82, 13]
Generated Node #0,4: 36:[60, 82, 13] Operation: 95-82=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[82, 60, 13], Operations: ['95-82=13']
Exploring Operation: 60-13=47, Resulting Numbers: [82, 47]
Generated Node #0,1,0: 36:[82, 47] Operation: 60-13=47
Exploring Operation: 82-13=69, Resulting Numbers: [60, 69]
Generated Node #0,1,1: 36:[60, 69] Operation: 82-13=69
Exploring Operation: 82+13=95, Resulting Numbers: [60, 95]
Generated Node #0,1,2: 36:[60, 95] Operation: 82+13=95
Exploring Operation: 82-60=22, Resulting Numbers: [13, 22]
Generated Node #0,1,3: 36:[13, 22] Operation: 82-60=22
Exploring Operation: 60+13=73, Resulting Numbers: [82, 73]
Generated Node #0,1,4: 36:[82, 73] Operation: 60+13=73
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 36:[13, 22], Operations: ['95-82=13', '82-60=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,36 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,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,1,0
Current State: 36:[82, 47], Operations: ['95-82=13', '60-13=47']
Exploring Operation: 82+47=129, Resulting Numbers: [129]
129,36 unequal: No Solution
Exploring Operation: 82*47=3854, Resulting Numbers: [3854]
3854,36 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,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,1,1
Current State: 36:[60, 69], Operations: ['95-82=13', '82-13=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,36 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,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,1,2
Current State: 36:[60, 95], Operations: ['95-82=13', '82+13=95']
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,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,1,4
Current State: 36:[82, 73], Operations: ['95-82=13', '60+13=73']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 36:[60, 82, 13], Operations: ['95-82=13']
Exploring Operation: 60-13=47, Resulting Numbers: [82, 47]
Generated Node #0,4,0: 36:[82, 47] Operation: 60-13=47
Exploring Operation: 82-60=22, Resulting Numbers: [13, 22]
Generated Node #0,4,1: 36:[13, 22] Operation: 82-60=22
Exploring Operation: 82-13=69, Resulting Numbers: [60, 69]
Generated Node #0,4,2: 36:[60, 69] Operation: 82-13=69
Exploring Operation: 60+13=73, Resulting Numbers: [82, 73]
Generated Node #0,4,3: 36:[82, 73] Operation: 60+13=73
Exploring Operation: 82+13=95, Resulting Numbers: [60, 95]
Generated Node #0,4,4: 36:[60, 95] Operation: 82+13=95
Moving to Node #0,4,1
Current State: 36:[13, 22], Operations: ['95-82=13', '82-60=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,36 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[60, 69], Operations: ['95-82=13', '82-13=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,36 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[82, 47], Operations: ['95-82=13', '60-13=47']
Exploring Operation: 82+47=129, Resulting Numbers: [129]
129,36 unequal: No Solution
Exploring Operation: 82*47=3854, Resulting Numbers: [3854]
3854,36 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[82, 73], Operations: ['95-82=13', '60+13=73']
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,36 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[60, 95], Operations: ['95-82=13', '82+13=95']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[95, 60, 1], Operations: ['82/82=1']
Exploring Operation: 95-60=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 36:[1, 35] Operation: 95-60=35
Exploring Operation: 60-1=59, Resulting Numbers: [95, 59]
Generated Node #0,0,1: 36:[95, 59] Operation: 60-1=59
Exploring Operation: 95/1=95, Resulting Numbers: [60, 95]
Generated Node #0,0,2: 36:[60, 95] Operation: 95/1=95
Exploring Operation: 95-1=94, Resulting Numbers: [60, 94]
Generated Node #0,0,3: 36:[60, 94] Operation: 95-1=94
Exploring Operation: 95*1=95, Resulting Numbers: [60, 95]
Generated Node #0,0,4: 36:[60, 95] Operation: 95*1=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[1, 35], Operations: ['82/82=1', '95-60=35']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[82, 95, 60, 82], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [95, 60, 1]
Generated Node #0,0: 36:[95, 60, 1] Operation: 82/82=1
Moving to Node #0,0
Current State: 36:[95, 60, 1], Operations: ['82/82=1']
Exploring Operation: 95-60=35, Resulting Numbers: [1, 35]
Generated Node #0,0,0: 36:[1, 35] Operation: 95-60=35
Moving to Node #0,0,0
Current State: 36:[1, 35], Operations: ['82/82=1', '95-60=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
10,
85,
70,
53
] | 78 | [
"10+85=95",
"70-53=17",
"95-17=78"
] | Current State: 78:[10, 85, 70, 53], Operations: []
Exploring Operation: 10+85=95, Resulting Numbers: [70, 53, 95]
Generated Node #2: [70, 53, 95] from Operation: 10+85=95
Current State: 78:[70, 53, 95], Operations: ['10+85=95']
Exploring Operation: 70-53=17, Resulting Numbers: [95, 17]
Generated Node #3: [95, 17] from Operation: 70-53=17
Current State: 78:[95, 17], Operations: ['10+85=95', '70-53=17']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[10, 85, 70, 53], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [10, 85, 17]
Generated Node #0,0: 78:[10, 85, 17] Operation: 70-53=17
Moving to Node #0,0
Current State: 78:[10, 85, 17], Operations: ['70-53=17']
Exploring Operation: 85/17=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 78:[10, 5] Operation: 85/17=5
Moving to Node #0,0,0
Current State: 78:[10, 5], Operations: ['70-53=17', '85/17=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
20,
6,
30
] | 50 | [
"6+20=26",
"30-6=24",
"26+24=50"
] | Current State: 50:[6, 20, 6, 30], Operations: []
Exploring Operation: 6+20=26, Resulting Numbers: [30, 26]
Generated Node #2: [30, 26] from Operation: 6+20=26
Current State: 50:[30, 26], Operations: ['6+20=26']
Exploring Operation: 30-6=24, Resulting Numbers: [26, 24]
Generated Node #3: [26, 24] from Operation: 30-6=24
Current State: 50:[26, 24], Operations: ['6+20=26', '30-6=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 20, 6, 30], Operations: []
Exploring Operation: 6+20=26, Resulting Numbers: [6, 30, 26]
Generated Node #0,0: 50:[6, 30, 26] Operation: 6+20=26
Exploring Operation: 30-20=10, Resulting Numbers: [6, 6, 10]
Generated Node #0,1: 50:[6, 6, 10] Operation: 30-20=10
Exploring Operation: 30/6=5, Resulting Numbers: [20, 6, 5]
Generated Node #0,2: 50:[20, 6, 5] Operation: 30/6=5
Exploring Operation: 30/6=5, Resulting Numbers: [6, 20, 5]
Generated Node #0,3: 50:[6, 20, 5] Operation: 30/6=5
Exploring Operation: 20+30=50, Resulting Numbers: [6, 6, 50]
Generated Node #0,4: 50:[6, 6, 50] Operation: 20+30=50
Moving to Node #0,1
Current State: 50:[6, 6, 10], Operations: ['30-20=10']
Exploring Operation: 6-6=0, Resulting Numbers: [10, 0]
Generated Node #0,1,0: 50:[10, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [10, 1]
Generated Node #0,1,1: 50:[10, 1] Operation: 6/6=1
Exploring Operation: 10-6=4, Resulting Numbers: [6, 4]
Generated Node #0,1,2: 50:[6, 4] Operation: 10-6=4
Exploring Operation: 6+6=12, Resulting Numbers: [10, 12]
Generated Node #0,1,3: 50:[10, 12] Operation: 6+6=12
Exploring Operation: 10-6=4, Resulting Numbers: [6, 4]
Generated Node #0,1,4: 50:[6, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[10, 1], Operations: ['30-20=10', '6/6=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[10, 0], Operations: ['30-20=10', '6-6=0']
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[6, 4], Operations: ['30-20=10', '10-6=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[10, 12], Operations: ['30-20=10', '6+6=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,50 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 50:[6, 4], Operations: ['30-20=10', '10-6=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,50 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: 50:[6, 6, 50], Operations: ['20+30=50']
Exploring Operation: 6+6=12, Resulting Numbers: [50, 12]
Generated Node #0,4,0: 50:[50, 12] Operation: 6+6=12
Exploring Operation: 50-6=44, Resulting Numbers: [6, 44]
Generated Node #0,4,1: 50:[6, 44] Operation: 50-6=44
Exploring Operation: 6+50=56, Resulting Numbers: [6, 56]
Generated Node #0,4,2: 50:[6, 56] Operation: 6+50=56
Exploring Operation: 6-6=0, Resulting Numbers: [50, 0]
Generated Node #0,4,3: 50:[50, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [50, 1]
Generated Node #0,4,4: 50:[50, 1] Operation: 6/6=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 50:[50, 1], Operations: ['20+30=50', '6/6=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[6, 20, 6, 30], Operations: []
Exploring Operation: 20+30=50, Resulting Numbers: [6, 6, 50]
Generated Node #0,4: 50:[6, 6, 50] Operation: 20+30=50
Moving to Node #0,4
Current State: 50:[6, 6, 50], Operations: ['20+30=50']
Exploring Operation: 6/6=1, Resulting Numbers: [50, 1]
Generated Node #0,4,4: 50:[50, 1] Operation: 6/6=1
Moving to Node #0,4,4
Current State: 50:[50, 1], Operations: ['20+30=50', '6/6=1']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
34,
49,
68,
20
] | 63 | [
"49-34=15",
"68-20=48",
"15+48=63"
] | Current State: 63:[34, 49, 68, 20], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [68, 20, 15]
Generated Node #2: [68, 20, 15] from Operation: 49-34=15
Current State: 63:[68, 20, 15], Operations: ['49-34=15']
Exploring Operation: 68-20=48, Resulting Numbers: [15, 48]
Generated Node #3: [15, 48] from Operation: 68-20=48
Current State: 63:[15, 48], Operations: ['49-34=15', '68-20=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[34, 49, 68, 20], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [34, 20, 19]
Generated Node #0,0: 63:[34, 20, 19] Operation: 68-49=19
Exploring Operation: 49-34=15, Resulting Numbers: [68, 20, 15]
Generated Node #0,1: 63:[68, 20, 15] Operation: 49-34=15
Exploring Operation: 68/34=2, Resulting Numbers: [49, 20, 2]
Generated Node #0,2: 63:[49, 20, 2] Operation: 68/34=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[68, 20, 15], Operations: ['49-34=15']
Exploring Operation: 20-15=5, Resulting Numbers: [68, 5]
Generated Node #0,1,0: 63:[68, 5] Operation: 20-15=5
Exploring Operation: 68-15=53, Resulting Numbers: [20, 53]
Generated Node #0,1,1: 63:[20, 53] Operation: 68-15=53
Exploring Operation: 20+15=35, Resulting Numbers: [68, 35]
Generated Node #0,1,2: 63:[68, 35] Operation: 20+15=35
Moving to Node #0,1,0
Current State: 63:[68, 5], Operations: ['49-34=15', '20-15=5']
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,63 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[34, 49, 68, 20], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [68, 20, 15]
Generated Node #0,1: 63:[68, 20, 15] Operation: 49-34=15
Moving to Node #0,1
Current State: 63:[68, 20, 15], Operations: ['49-34=15']
Exploring Operation: 20-15=5, Resulting Numbers: [68, 5]
Generated Node #0,1,0: 63:[68, 5] Operation: 20-15=5
Moving to Node #0,1,0
Current State: 63:[68, 5], Operations: ['49-34=15', '20-15=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
47,
52,
75,
43
] | 19 | [
"47+52=99",
"75+43=118",
"118-99=19"
] | Current State: 19:[47, 52, 75, 43], Operations: []
Exploring Operation: 47+52=99, Resulting Numbers: [75, 43, 99]
Generated Node #2: [75, 43, 99] from Operation: 47+52=99
Current State: 19:[75, 43, 99], Operations: ['47+52=99']
Exploring Operation: 75+43=118, Resulting Numbers: [99, 118]
Generated Node #3: [99, 118] from Operation: 75+43=118
Current State: 19:[99, 118], Operations: ['47+52=99', '75+43=118']
Exploring Operation: 118-99=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[47, 52, 75, 43], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [47, 75, 9]
Generated Node #0,0: 19:[47, 75, 9] Operation: 52-43=9
Exploring Operation: 75-43=32, Resulting Numbers: [47, 52, 32]
Generated Node #0,1: 19:[47, 52, 32] Operation: 75-43=32
Exploring Operation: 75-52=23, Resulting Numbers: [47, 43, 23]
Generated Node #0,2: 19:[47, 43, 23] Operation: 75-52=23
Exploring Operation: 52-47=5, Resulting Numbers: [75, 43, 5]
Generated Node #0,3: 19:[75, 43, 5] Operation: 52-47=5
Exploring Operation: 75-47=28, Resulting Numbers: [52, 43, 28]
Generated Node #0,4: 19:[52, 43, 28] Operation: 75-47=28
Moving to Node #0,2
Current State: 19:[47, 43, 23], Operations: ['75-52=23']
Exploring Operation: 47+23=70, Resulting Numbers: [43, 70]
Generated Node #0,2,0: 19:[43, 70] Operation: 47+23=70
Exploring Operation: 47+43=90, Resulting Numbers: [23, 90]
Generated Node #0,2,1: 19:[23, 90] Operation: 47+43=90
Exploring Operation: 43-23=20, Resulting Numbers: [47, 20]
Generated Node #0,2,2: 19:[47, 20] Operation: 43-23=20
Exploring Operation: 47-43=4, Resulting Numbers: [23, 4]
Generated Node #0,2,3: 19:[23, 4] Operation: 47-43=4
Exploring Operation: 47-23=24, Resulting Numbers: [43, 24]
Generated Node #0,2,4: 19:[43, 24] Operation: 47-23=24
Moving to Node #0,4
Current State: 19:[52, 43, 28], Operations: ['75-47=28']
Exploring Operation: 52-28=24, Resulting Numbers: [43, 24]
Generated Node #0,4,0: 19:[43, 24] Operation: 52-28=24
Exploring Operation: 43-28=15, Resulting Numbers: [52, 15]
Generated Node #0,4,1: 19:[52, 15] Operation: 43-28=15
Exploring Operation: 52+43=95, Resulting Numbers: [28, 95]
Generated Node #0,4,2: 19:[28, 95] Operation: 52+43=95
Exploring Operation: 52+28=80, Resulting Numbers: [43, 80]
Generated Node #0,4,3: 19:[43, 80] Operation: 52+28=80
Exploring Operation: 52-43=9, Resulting Numbers: [28, 9]
Generated Node #0,4,4: 19:[28, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 19:[28, 9], Operations: ['75-47=28', '52-43=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,19 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[47, 52, 75, 43], Operations: []
Exploring Operation: 75-47=28, Resulting Numbers: [52, 43, 28]
Generated Node #0,4: 19:[52, 43, 28] Operation: 75-47=28
Moving to Node #0,4
Current State: 19:[52, 43, 28], Operations: ['75-47=28']
Exploring Operation: 52-43=9, Resulting Numbers: [28, 9]
Generated Node #0,4,4: 19:[28, 9] Operation: 52-43=9
Moving to Node #0,4,4
Current State: 19:[28, 9], Operations: ['75-47=28', '52-43=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
38,
64,
10,
85
] | 27 | [
"38+64=102",
"85-10=75",
"102-75=27"
] | Current State: 27:[38, 64, 10, 85], Operations: []
Exploring Operation: 38+64=102, Resulting Numbers: [10, 85, 102]
Generated Node #2: [10, 85, 102] from Operation: 38+64=102
Current State: 27:[10, 85, 102], Operations: ['38+64=102']
Exploring Operation: 85-10=75, Resulting Numbers: [102, 75]
Generated Node #3: [102, 75] from Operation: 85-10=75
Current State: 27:[102, 75], Operations: ['38+64=102', '85-10=75']
Exploring Operation: 102-75=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[38, 64, 10, 85], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [64, 10, 47]
Generated Node #0,0: 27:[64, 10, 47] Operation: 85-38=47
Exploring Operation: 64-38=26, Resulting Numbers: [10, 85, 26]
Generated Node #0,1: 27:[10, 85, 26] Operation: 64-38=26
Exploring Operation: 85-64=21, Resulting Numbers: [38, 10, 21]
Generated Node #0,2: 27:[38, 10, 21] Operation: 85-64=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[38, 10, 21], Operations: ['85-64=21']
Exploring Operation: 38-10=28, Resulting Numbers: [21, 28]
Generated Node #0,2,0: 27:[21, 28] Operation: 38-10=28
Exploring Operation: 38-21=17, Resulting Numbers: [10, 17]
Generated Node #0,2,1: 27:[10, 17] Operation: 38-21=17
Exploring Operation: 21-10=11, Resulting Numbers: [38, 11]
Generated Node #0,2,2: 27:[38, 11] Operation: 21-10=11
Moving to Node #0,2,0
Current State: 27:[21, 28], Operations: ['85-64=21', '38-10=28']
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 21+28=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 21*28=588, Resulting Numbers: [588]
588,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[10, 17], Operations: ['85-64=21', '38-21=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,27 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[38, 64, 10, 85], Operations: []
Exploring Operation: 85-64=21, Resulting Numbers: [38, 10, 21]
Generated Node #0,2: 27:[38, 10, 21] Operation: 85-64=21
Moving to Node #0,2
Current State: 27:[38, 10, 21], Operations: ['85-64=21']
Exploring Operation: 38-21=17, Resulting Numbers: [10, 17]
Generated Node #0,2,1: 27:[10, 17] Operation: 38-21=17
Moving to Node #0,2,1
Current State: 27:[10, 17], Operations: ['85-64=21', '38-21=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
58,
54,
4,
57
] | 51 | [
"58+54=112",
"4+57=61",
"112-61=51"
] | Current State: 51:[58, 54, 4, 57], Operations: []
Exploring Operation: 58+54=112, Resulting Numbers: [4, 57, 112]
Generated Node #2: [4, 57, 112] from Operation: 58+54=112
Current State: 51:[4, 57, 112], Operations: ['58+54=112']
Exploring Operation: 4+57=61, Resulting Numbers: [112, 61]
Generated Node #3: [112, 61] from Operation: 4+57=61
Current State: 51:[112, 61], Operations: ['58+54=112', '4+57=61']
Exploring Operation: 112-61=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[58, 54, 4, 57], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [58, 4, 3]
Generated Node #0,0: 51:[58, 4, 3] Operation: 57-54=3
Exploring Operation: 58-4=54, Resulting Numbers: [54, 57, 54]
Generated Node #0,1: 51:[54, 57, 54] Operation: 58-4=54
Exploring Operation: 58-57=1, Resulting Numbers: [54, 4, 1]
Generated Node #0,2: 51:[54, 4, 1] Operation: 58-57=1
Exploring Operation: 57-4=53, Resulting Numbers: [58, 54, 53]
Generated Node #0,3: 51:[58, 54, 53] Operation: 57-4=53
Exploring Operation: 58-54=4, Resulting Numbers: [4, 57, 4]
Generated Node #0,4: 51:[4, 57, 4] Operation: 58-54=4
Moving to Node #0,2
Current State: 51:[54, 4, 1], Operations: ['58-57=1']
Exploring Operation: 54*1=54, Resulting Numbers: [4, 54]
Generated Node #0,2,0: 51:[4, 54] Operation: 54*1=54
Exploring Operation: 4-1=3, Resulting Numbers: [54, 3]
Generated Node #0,2,1: 51:[54, 3] Operation: 4-1=3
Exploring Operation: 54/1=54, Resulting Numbers: [4, 54]
Generated Node #0,2,2: 51:[4, 54] Operation: 54/1=54
Exploring Operation: 54-4=50, Resulting Numbers: [1, 50]
Generated Node #0,2,3: 51:[1, 50] Operation: 54-4=50
Exploring Operation: 54-1=53, Resulting Numbers: [4, 53]
Generated Node #0,2,4: 51:[4, 53] Operation: 54-1=53
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[54, 3], Operations: ['58-57=1', '4-1=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,51 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[58, 54, 4, 57], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [54, 4, 1]
Generated Node #0,2: 51:[54, 4, 1] Operation: 58-57=1
Moving to Node #0,2
Current State: 51:[54, 4, 1], Operations: ['58-57=1']
Exploring Operation: 4-1=3, Resulting Numbers: [54, 3]
Generated Node #0,2,1: 51:[54, 3] Operation: 4-1=3
Moving to Node #0,2,1
Current State: 51:[54, 3], Operations: ['58-57=1', '4-1=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
14,
21,
83,
46
] | 14 | [
"83-14=69",
"21*46=966",
"966/69=14"
] | Current State: 14:[14, 21, 83, 46], Operations: []
Exploring Operation: 83-14=69, Resulting Numbers: [21, 46, 69]
Generated Node #2: [21, 46, 69] from Operation: 83-14=69
Current State: 14:[21, 46, 69], Operations: ['83-14=69']
Exploring Operation: 21*46=966, Resulting Numbers: [69, 966]
Generated Node #3: [69, 966] from Operation: 21*46=966
Current State: 14:[69, 966], Operations: ['83-14=69', '21*46=966']
Exploring Operation: 966/69=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[14, 21, 83, 46], Operations: []
Exploring Operation: 83-21=62, Resulting Numbers: [14, 46, 62]
Generated Node #0,0: 14:[14, 46, 62] Operation: 83-21=62
Exploring Operation: 46-21=25, Resulting Numbers: [14, 83, 25]
Generated Node #0,1: 14:[14, 83, 25] Operation: 46-21=25
Exploring Operation: 83-46=37, Resulting Numbers: [14, 21, 37]
Generated Node #0,2: 14:[14, 21, 37] Operation: 83-46=37
Moving to Node #0,2
Current State: 14:[14, 21, 37], Operations: ['83-46=37']
Exploring Operation: 37-14=23, Resulting Numbers: [21, 23]
Generated Node #0,2,0: 14:[21, 23] Operation: 37-14=23
Exploring Operation: 21-14=7, Resulting Numbers: [37, 7]
Generated Node #0,2,1: 14:[37, 7] Operation: 21-14=7
Exploring Operation: 37-21=16, Resulting Numbers: [14, 16]
Generated Node #0,2,2: 14:[14, 16] Operation: 37-21=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[14, 16], Operations: ['83-46=37', '37-21=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[21, 23], Operations: ['83-46=37', '37-14=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,14 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[37, 7], Operations: ['83-46=37', '21-14=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[14, 46, 62], Operations: ['83-21=62']
Exploring Operation: 62-46=16, Resulting Numbers: [14, 16]
Generated Node #0,0,0: 14:[14, 16] Operation: 62-46=16
Exploring Operation: 46-14=32, Resulting Numbers: [62, 32]
Generated Node #0,0,1: 14:[62, 32] Operation: 46-14=32
Exploring Operation: 62-14=48, Resulting Numbers: [46, 48]
Generated Node #0,0,2: 14:[46, 48] Operation: 62-14=48
Moving to Node #0,1
Current State: 14:[14, 83, 25], Operations: ['46-21=25']
Exploring Operation: 83-25=58, Resulting Numbers: [14, 58]
Generated Node #0,1,0: 14:[14, 58] Operation: 83-25=58
Exploring Operation: 25-14=11, Resulting Numbers: [83, 11]
Generated Node #0,1,1: 14:[83, 11] Operation: 25-14=11
Exploring Operation: 83-14=69, Resulting Numbers: [25, 69]
Generated Node #0,1,2: 14:[25, 69] Operation: 83-14=69
Moving to Node #0,0,0
Current State: 14:[14, 16], Operations: ['83-21=62', '62-46=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,14 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[14, 58], Operations: ['46-21=25', '83-25=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,14 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[46, 48], Operations: ['83-21=62', '62-14=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,14 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[25, 69], Operations: ['46-21=25', '83-14=69']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,14 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[62, 32], Operations: ['83-21=62', '46-14=32']
Exploring Operation: 62*32=1984, Resulting Numbers: [1984]
1984,14 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 62+32=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[83, 11], Operations: ['46-21=25', '25-14=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,14 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,14 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
10,
49,
67
] | 72 | [
"51-49=2",
"10/2=5",
"67+5=72"
] | Current State: 72:[51, 10, 49, 67], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [10, 67, 2]
Generated Node #2: [10, 67, 2] from Operation: 51-49=2
Current State: 72:[10, 67, 2], Operations: ['51-49=2']
Exploring Operation: 10/2=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 10/2=5
Current State: 72:[67, 5], Operations: ['51-49=2', '10/2=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[51, 10, 49, 67], Operations: []
Exploring Operation: 67-51=16, Resulting Numbers: [10, 49, 16]
Generated Node #0,0: 72:[10, 49, 16] Operation: 67-51=16
Exploring Operation: 51-49=2, Resulting Numbers: [10, 67, 2]
Generated Node #0,1: 72:[10, 67, 2] Operation: 51-49=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[10, 67, 2], Operations: ['51-49=2']
Exploring Operation: 10+67=77, Resulting Numbers: [2, 77]
Generated Node #0,1,0: 72:[2, 77] Operation: 10+67=77
Exploring Operation: 67+2=69, Resulting Numbers: [10, 69]
Generated Node #0,1,1: 72:[10, 69] Operation: 67+2=69
Moving to Node #0,1,1
Current State: 72:[10, 69], Operations: ['51-49=2', '67+2=69']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 10+69=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[2, 77], Operations: ['51-49=2', '10+67=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,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
Current State: 72:[10, 49, 16], Operations: ['67-51=16']
Exploring Operation: 49-16=33, Resulting Numbers: [10, 33]
Generated Node #0,0,0: 72:[10, 33] Operation: 49-16=33
Exploring Operation: 49-10=39, Resulting Numbers: [16, 39]
Generated Node #0,0,1: 72:[16, 39] Operation: 49-10=39
Moving to Node #0,0,0
Current State: 72:[10, 33], Operations: ['67-51=16', '49-16=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[16, 39], Operations: ['67-51=16', '49-10=39']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,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 |
[
8,
54,
61,
20
] | 45 | [
"8*20=160",
"54+61=115",
"160-115=45"
] | Current State: 45:[8, 54, 61, 20], Operations: []
Exploring Operation: 8*20=160, Resulting Numbers: [54, 61, 160]
Generated Node #2: [54, 61, 160] from Operation: 8*20=160
Current State: 45:[54, 61, 160], Operations: ['8*20=160']
Exploring Operation: 54+61=115, Resulting Numbers: [160, 115]
Generated Node #3: [160, 115] from Operation: 54+61=115
Current State: 45:[160, 115], Operations: ['8*20=160', '54+61=115']
Exploring Operation: 160-115=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[8, 54, 61, 20], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [8, 20, 7]
Generated Node #0,0: 45:[8, 20, 7] Operation: 61-54=7
Exploring Operation: 61-20=41, Resulting Numbers: [8, 54, 41]
Generated Node #0,1: 45:[8, 54, 41] Operation: 61-20=41
Exploring Operation: 54-8=46, Resulting Numbers: [61, 20, 46]
Generated Node #0,2: 45:[61, 20, 46] Operation: 54-8=46
Moving to Node #0,0
Current State: 45:[8, 20, 7], Operations: ['61-54=7']
Exploring Operation: 20-7=13, Resulting Numbers: [8, 13]
Generated Node #0,0,0: 45:[8, 13] Operation: 20-7=13
Exploring Operation: 8+7=15, Resulting Numbers: [20, 15]
Generated Node #0,0,1: 45:[20, 15] Operation: 8+7=15
Exploring Operation: 20-8=12, Resulting Numbers: [7, 12]
Generated Node #0,0,2: 45:[7, 12] Operation: 20-8=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[8, 13], Operations: ['61-54=7', '20-7=13']
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[20, 15], Operations: ['61-54=7', '8+7=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[7, 12], Operations: ['61-54=7', '20-8=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,45 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: 45:[8, 54, 41], Operations: ['61-20=41']
Exploring Operation: 8+41=49, Resulting Numbers: [54, 49]
Generated Node #0,1,0: 45:[54, 49] Operation: 8+41=49
Exploring Operation: 54-41=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 45:[8, 13] Operation: 54-41=13
Exploring Operation: 54-8=46, Resulting Numbers: [41, 46]
Generated Node #0,1,2: 45:[41, 46] Operation: 54-8=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[8, 13], Operations: ['61-20=41', '54-41=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[41, 46], Operations: ['61-20=41', '54-8=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[54, 49], Operations: ['61-20=41', '8+41=49']
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,45 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,45 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: 45:[61, 20, 46], Operations: ['54-8=46']
Exploring Operation: 61-46=15, Resulting Numbers: [20, 15]
Generated Node #0,2,0: 45:[20, 15] Operation: 61-46=15
Exploring Operation: 61-20=41, Resulting Numbers: [46, 41]
Generated Node #0,2,1: 45:[46, 41] Operation: 61-20=41
Exploring Operation: 46-20=26, Resulting Numbers: [61, 26]
Generated Node #0,2,2: 45:[61, 26] Operation: 46-20=26
Moving to Node #0,2,0
Current State: 45:[20, 15], Operations: ['54-8=46', '61-46=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[46, 41], Operations: ['54-8=46', '61-20=41']
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,45 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[61, 26], Operations: ['54-8=46', '46-20=26']
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,45 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,45 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
59,
1,
4,
10
] | 61 | [
"1+4=5",
"10/5=2",
"59+2=61"
] | Current State: 61:[59, 1, 4, 10], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [59, 10, 5]
Generated Node #2: [59, 10, 5] from Operation: 1+4=5
Current State: 61:[59, 10, 5], Operations: ['1+4=5']
Exploring Operation: 10/5=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 10/5=2
Current State: 61:[59, 2], Operations: ['1+4=5', '10/5=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[59, 1, 4, 10], Operations: []
Exploring Operation: 1+10=11, Resulting Numbers: [59, 4, 11]
Generated Node #0,0: 61:[59, 4, 11] Operation: 1+10=11
Exploring Operation: 59+1=60, Resulting Numbers: [4, 10, 60]
Generated Node #0,1: 61:[4, 10, 60] Operation: 59+1=60
Exploring Operation: 1+4=5, Resulting Numbers: [59, 10, 5]
Generated Node #0,2: 61:[59, 10, 5] Operation: 1+4=5
Exploring Operation: 4*10=40, Resulting Numbers: [59, 1, 40]
Generated Node #0,3: 61:[59, 1, 40] Operation: 4*10=40
Moving to Node #0,3
Current State: 61:[59, 1, 40], Operations: ['4*10=40']
Exploring Operation: 59/1=59, Resulting Numbers: [40, 59]
Generated Node #0,3,0: 61:[40, 59] Operation: 59/1=59
Exploring Operation: 1+40=41, Resulting Numbers: [59, 41]
Generated Node #0,3,1: 61:[59, 41] Operation: 1+40=41
Exploring Operation: 59+1=60, Resulting Numbers: [40, 60]
Generated Node #0,3,2: 61:[40, 60] Operation: 59+1=60
Exploring Operation: 59*1=59, Resulting Numbers: [40, 59]
Generated Node #0,3,3: 61:[40, 59] Operation: 59*1=59
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[59, 41], Operations: ['4*10=40', '1+40=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 59*41=2419, Resulting Numbers: [2419]
2419,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[40, 60], Operations: ['4*10=40', '59+1=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,61 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[40, 59], Operations: ['4*10=40', '59/1=59']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,61 unequal: No Solution
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[40, 59], Operations: ['4*10=40', '59*1=59']
Exploring Operation: 40*59=2360, Resulting Numbers: [2360]
2360,61 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 40+59=99, Resulting Numbers: [99]
99,61 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: 61:[4, 10, 60], Operations: ['59+1=60']
Exploring Operation: 10-4=6, Resulting Numbers: [60, 6]
Generated Node #0,1,0: 61:[60, 6] Operation: 10-4=6
Exploring Operation: 4+60=64, Resulting Numbers: [10, 64]
Generated Node #0,1,1: 61:[10, 64] Operation: 4+60=64
Exploring Operation: 4+10=14, Resulting Numbers: [60, 14]
Generated Node #0,1,2: 61:[60, 14] Operation: 4+10=14
Exploring Operation: 4*10=40, Resulting Numbers: [60, 40]
Generated Node #0,1,3: 61:[60, 40] Operation: 4*10=40
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[60, 40], Operations: ['59+1=60', '4*10=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,61 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[60, 14], Operations: ['59+1=60', '4+10=14']
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,61 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[10, 64], Operations: ['59+1=60', '4+60=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[60, 6], Operations: ['59+1=60', '10-4=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,61 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,61 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,61 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: 61:[59, 4, 11], Operations: ['1+10=11']
Exploring Operation: 59+4=63, Resulting Numbers: [11, 63]
Generated Node #0,0,0: 61:[11, 63] Operation: 59+4=63
Exploring Operation: 59-4=55, Resulting Numbers: [11, 55]
Generated Node #0,0,1: 61:[11, 55] Operation: 59-4=55
Exploring Operation: 4*11=44, Resulting Numbers: [59, 44]
Generated Node #0,0,2: 61:[59, 44] Operation: 4*11=44
Exploring Operation: 4+11=15, Resulting Numbers: [59, 15]
Generated Node #0,0,3: 61:[59, 15] Operation: 4+11=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[59, 44], Operations: ['1+10=11', '4*11=44']
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[59, 15], Operations: ['1+10=11', '4+11=15']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[11, 63], Operations: ['1+10=11', '59+4=63']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[11, 55], Operations: ['1+10=11', '59-4=55']
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,61 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: 61:[59, 10, 5], Operations: ['1+4=5']
Exploring Operation: 10+5=15, Resulting Numbers: [59, 15]
Generated Node #0,2,0: 61:[59, 15] Operation: 10+5=15
Exploring Operation: 59+5=64, Resulting Numbers: [10, 64]
Generated Node #0,2,1: 61:[10, 64] Operation: 59+5=64
Exploring Operation: 10*5=50, Resulting Numbers: [59, 50]
Generated Node #0,2,2: 61:[59, 50] Operation: 10*5=50
Exploring Operation: 59-5=54, Resulting Numbers: [10, 54]
Generated Node #0,2,3: 61:[10, 54] Operation: 59-5=54
Moving to Node #0,2,2
Current State: 61:[59, 50], Operations: ['1+4=5', '10*5=50']
Exploring Operation: 59*50=2950, Resulting Numbers: [2950]
2950,61 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 59+50=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[59, 15], Operations: ['1+4=5', '10+5=15']
Exploring Operation: 59*15=885, Resulting Numbers: [885]
885,61 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[10, 64], Operations: ['1+4=5', '59+5=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,61 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[10, 54], Operations: ['1+4=5', '59-5=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,61 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
97,
69,
91,
1
] | 74 | [
"97+69=166",
"91+1=92",
"166-92=74"
] | Current State: 74:[97, 69, 91, 1], Operations: []
Exploring Operation: 97+69=166, Resulting Numbers: [91, 1, 166]
Generated Node #2: [91, 1, 166] from Operation: 97+69=166
Current State: 74:[91, 1, 166], Operations: ['97+69=166']
Exploring Operation: 91+1=92, Resulting Numbers: [166, 92]
Generated Node #3: [166, 92] from Operation: 91+1=92
Current State: 74:[166, 92], Operations: ['97+69=166', '91+1=92']
Exploring Operation: 166-92=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[97, 69, 91, 1], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [91, 1, 28]
Generated Node #0,0: 74:[91, 1, 28] Operation: 97-69=28
Exploring Operation: 97-91=6, Resulting Numbers: [69, 1, 6]
Generated Node #0,1: 74:[69, 1, 6] Operation: 97-91=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[69, 1, 6], Operations: ['97-91=6']
Exploring Operation: 69+6=75, Resulting Numbers: [1, 75]
Generated Node #0,1,0: 74:[1, 75] Operation: 69+6=75
Exploring Operation: 69+1=70, Resulting Numbers: [6, 70]
Generated Node #0,1,1: 74:[6, 70] Operation: 69+1=70
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[1, 75], Operations: ['97-91=6', '69+6=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[97, 69, 91, 1], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [69, 1, 6]
Generated Node #0,1: 74:[69, 1, 6] Operation: 97-91=6
Moving to Node #0,1
Current State: 74:[69, 1, 6], Operations: ['97-91=6']
Exploring Operation: 69+6=75, Resulting Numbers: [1, 75]
Generated Node #0,1,0: 74:[1, 75] Operation: 69+6=75
Moving to Node #0,1,0
Current State: 74:[1, 75], Operations: ['97-91=6', '69+6=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
79,
92,
31,
29
] | 15 | [
"92-79=13",
"31-29=2",
"13+2=15"
] | Current State: 15:[79, 92, 31, 29], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [31, 29, 13]
Generated Node #2: [31, 29, 13] from Operation: 92-79=13
Current State: 15:[31, 29, 13], Operations: ['92-79=13']
Exploring Operation: 31-29=2, Resulting Numbers: [13, 2]
Generated Node #3: [13, 2] from Operation: 31-29=2
Current State: 15:[13, 2], Operations: ['92-79=13', '31-29=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[79, 92, 31, 29], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [31, 29, 13]
Generated Node #0,0: 15:[31, 29, 13] Operation: 92-79=13
Exploring Operation: 79-31=48, Resulting Numbers: [92, 29, 48]
Generated Node #0,1: 15:[92, 29, 48] Operation: 79-31=48
Exploring Operation: 92-31=61, Resulting Numbers: [79, 29, 61]
Generated Node #0,2: 15:[79, 29, 61] Operation: 92-31=61
Exploring Operation: 79-29=50, Resulting Numbers: [92, 31, 50]
Generated Node #0,3: 15:[92, 31, 50] Operation: 79-29=50
Moving to Node #0,0
Current State: 15:[31, 29, 13], Operations: ['92-79=13']
Exploring Operation: 31-29=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 15:[13, 2] Operation: 31-29=2
Exploring Operation: 31-13=18, Resulting Numbers: [29, 18]
Generated Node #0,0,1: 15:[29, 18] Operation: 31-13=18
Exploring Operation: 29-13=16, Resulting Numbers: [31, 16]
Generated Node #0,0,2: 15:[31, 16] Operation: 29-13=16
Exploring Operation: 31+13=44, Resulting Numbers: [29, 44]
Generated Node #0,0,3: 15:[29, 44] Operation: 31+13=44
Moving to Node #0,2
Current State: 15:[79, 29, 61], Operations: ['92-31=61']
Exploring Operation: 79-29=50, Resulting Numbers: [61, 50]
Generated Node #0,2,0: 15:[61, 50] Operation: 79-29=50
Exploring Operation: 79+29=108, Resulting Numbers: [61, 108]
Generated Node #0,2,1: 15:[61, 108] Operation: 79+29=108
Exploring Operation: 61-29=32, Resulting Numbers: [79, 32]
Generated Node #0,2,2: 15:[79, 32] Operation: 61-29=32
Exploring Operation: 79-61=18, Resulting Numbers: [29, 18]
Generated Node #0,2,3: 15:[29, 18] Operation: 79-61=18
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[29, 18], Operations: ['92-31=61', '79-61=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[61, 50], Operations: ['92-31=61', '79-29=50']
Exploring Operation: 61*50=3050, Resulting Numbers: [3050]
3050,15 unequal: No Solution
Exploring Operation: 61+50=111, Resulting Numbers: [111]
111,15 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[79, 32], Operations: ['92-31=61', '61-29=32']
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,15 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[61, 108], Operations: ['92-31=61', '79+29=108']
Exploring Operation: 61+108=169, Resulting Numbers: [169]
169,15 unequal: No Solution
Exploring Operation: 61*108=6588, Resulting Numbers: [6588]
6588,15 unequal: No Solution
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,15 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: 15:[92, 29, 48], Operations: ['79-31=48']
Exploring Operation: 48-29=19, Resulting Numbers: [92, 19]
Generated Node #0,1,0: 15:[92, 19] Operation: 48-29=19
Exploring Operation: 92+29=121, Resulting Numbers: [48, 121]
Generated Node #0,1,1: 15:[48, 121] Operation: 92+29=121
Exploring Operation: 92-48=44, Resulting Numbers: [29, 44]
Generated Node #0,1,2: 15:[29, 44] Operation: 92-48=44
Exploring Operation: 92-29=63, Resulting Numbers: [48, 63]
Generated Node #0,1,3: 15:[48, 63] Operation: 92-29=63
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[29, 44], Operations: ['79-31=48', '92-48=44']
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,15 unequal: No Solution
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,15 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[79, 92, 31, 29], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [92, 29, 48]
Generated Node #0,1: 15:[92, 29, 48] Operation: 79-31=48
Moving to Node #0,1
Current State: 15:[92, 29, 48], Operations: ['79-31=48']
Exploring Operation: 92-48=44, Resulting Numbers: [29, 44]
Generated Node #0,1,2: 15:[29, 44] Operation: 92-48=44
Moving to Node #0,1,2
Current State: 15:[29, 44], Operations: ['79-31=48', '92-48=44']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
9,
30,
69,
3
] | 22 | [
"69-30=39",
"39/3=13",
"9+13=22"
] | Current State: 22:[9, 30, 69, 3], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [9, 3, 39]
Generated Node #2: [9, 3, 39] from Operation: 69-30=39
Current State: 22:[9, 3, 39], Operations: ['69-30=39']
Exploring Operation: 39/3=13, Resulting Numbers: [9, 13]
Generated Node #3: [9, 13] from Operation: 39/3=13
Current State: 22:[9, 13], Operations: ['69-30=39', '39/3=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[9, 30, 69, 3], Operations: []
Exploring Operation: 69-9=60, Resulting Numbers: [30, 3, 60]
Generated Node #0,0: 22:[30, 3, 60] Operation: 69-9=60
Exploring Operation: 69-30=39, Resulting Numbers: [9, 3, 39]
Generated Node #0,1: 22:[9, 3, 39] Operation: 69-30=39
Exploring Operation: 69/3=23, Resulting Numbers: [9, 30, 23]
Generated Node #0,2: 22:[9, 30, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[9, 30, 23], Operations: ['69/3=23']
Exploring Operation: 30-9=21, Resulting Numbers: [23, 21]
Generated Node #0,2,0: 22:[23, 21] Operation: 30-9=21
Exploring Operation: 23-9=14, Resulting Numbers: [30, 14]
Generated Node #0,2,1: 22:[30, 14] Operation: 23-9=14
Exploring Operation: 30-23=7, Resulting Numbers: [9, 7]
Generated Node #0,2,2: 22:[9, 7] Operation: 30-23=7
Moving to Node #0,2,0
Current State: 22:[23, 21], Operations: ['69/3=23', '30-9=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[9, 7], Operations: ['69/3=23', '30-23=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[30, 14], Operations: ['69/3=23', '23-9=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,22 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,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
Current State: 22:[9, 3, 39], Operations: ['69-30=39']
Exploring Operation: 39-9=30, Resulting Numbers: [3, 30]
Generated Node #0,1,0: 22:[3, 30] Operation: 39-9=30
Exploring Operation: 39/3=13, Resulting Numbers: [9, 13]
Generated Node #0,1,1: 22:[9, 13] Operation: 39/3=13
Exploring Operation: 39-3=36, Resulting Numbers: [9, 36]
Generated Node #0,1,2: 22:[9, 36] Operation: 39-3=36
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[9, 13], Operations: ['69-30=39', '39/3=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[9, 30, 69, 3], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [9, 3, 39]
Generated Node #0,1: 22:[9, 3, 39] Operation: 69-30=39
Moving to Node #0,1
Current State: 22:[9, 3, 39], Operations: ['69-30=39']
Exploring Operation: 39/3=13, Resulting Numbers: [9, 13]
Generated Node #0,1,1: 22:[9, 13] Operation: 39/3=13
Moving to Node #0,1,1
Current State: 22:[9, 13], Operations: ['69-30=39', '39/3=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
30,
17,
85,
24
] | 59 | [
"30+24=54",
"85/17=5",
"54+5=59"
] | Current State: 59:[30, 17, 85, 24], Operations: []
Exploring Operation: 30+24=54, Resulting Numbers: [17, 85, 54]
Generated Node #2: [17, 85, 54] from Operation: 30+24=54
Current State: 59:[17, 85, 54], Operations: ['30+24=54']
Exploring Operation: 85/17=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 85/17=5
Current State: 59:[54, 5], Operations: ['30+24=54', '85/17=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[30, 17, 85, 24], Operations: []
Exploring Operation: 30+17=47, Resulting Numbers: [85, 24, 47]
Generated Node #0,0: 59:[85, 24, 47] Operation: 30+17=47
Moving to Node #0,0
Current State: 59:[85, 24, 47], Operations: ['30+17=47']
Exploring Operation: 85-24=61, Resulting Numbers: [47, 61]
Generated Node #0,0,0: 59:[47, 61] Operation: 85-24=61
Moving to Node #0,0,0
Current State: 59:[47, 61], Operations: ['30+17=47', '85-24=61']
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
83,
61,
75
] | 83 | [
"15+61=76",
"76-75=1",
"83*1=83"
] | Current State: 83:[15, 83, 61, 75], Operations: []
Exploring Operation: 15+61=76, Resulting Numbers: [83, 75, 76]
Generated Node #2: [83, 75, 76] from Operation: 15+61=76
Current State: 83:[83, 75, 76], Operations: ['15+61=76']
Exploring Operation: 76-75=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 76-75=1
Current State: 83:[83, 1], Operations: ['15+61=76', '76-75=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[15, 83, 61, 75], Operations: []
Exploring Operation: 15+75=90, Resulting Numbers: [83, 61, 90]
Generated Node #0,0: 83:[83, 61, 90] Operation: 15+75=90
Exploring Operation: 15+61=76, Resulting Numbers: [83, 75, 76]
Generated Node #0,1: 83:[83, 75, 76] Operation: 15+61=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[83, 75, 76], Operations: ['15+61=76']
Exploring Operation: 83+75=158, Resulting Numbers: [76, 158]
Generated Node #0,1,0: 83:[76, 158] Operation: 83+75=158
Exploring Operation: 75+76=151, Resulting Numbers: [83, 151]
Generated Node #0,1,1: 83:[83, 151] Operation: 75+76=151
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[83, 151], Operations: ['15+61=76', '75+76=151']
Exploring Operation: 151-83=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 83+151=234, Resulting Numbers: [234]
234,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:[76, 158], Operations: ['15+61=76', '83+75=158']
Exploring Operation: 158-76=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 76+158=234, Resulting Numbers: [234]
234,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[83, 61, 90], Operations: ['15+75=90']
Exploring Operation: 90-61=29, Resulting Numbers: [83, 29]
Generated Node #0,0,0: 83:[83, 29] Operation: 90-61=29
Exploring Operation: 83+61=144, Resulting Numbers: [90, 144]
Generated Node #0,0,1: 83:[90, 144] Operation: 83+61=144
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[83, 29], Operations: ['15+75=90', '90-61=29']
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[90, 144], Operations: ['15+75=90', '83+61=144']
Exploring Operation: 144-90=54, Resulting Numbers: [54]
54,83 unequal: No Solution
Exploring Operation: 90+144=234, Resulting Numbers: [234]
234,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 | sum_heuristic |
[
21,
18,
43,
14
] | 54 | [
"21-18=3",
"43+14=57",
"57-3=54"
] | Current State: 54:[21, 18, 43, 14], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [43, 14, 3]
Generated Node #2: [43, 14, 3] from Operation: 21-18=3
Current State: 54:[43, 14, 3], Operations: ['21-18=3']
Exploring Operation: 43+14=57, Resulting Numbers: [3, 57]
Generated Node #3: [3, 57] from Operation: 43+14=57
Current State: 54:[3, 57], Operations: ['21-18=3', '43+14=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[21, 18, 43, 14], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [21, 14, 25]
Generated Node #0,0: 54:[21, 14, 25] Operation: 43-18=25
Exploring Operation: 43+14=57, Resulting Numbers: [21, 18, 57]
Generated Node #0,1: 54:[21, 18, 57] Operation: 43+14=57
Exploring Operation: 43-14=29, Resulting Numbers: [21, 18, 29]
Generated Node #0,2: 54:[21, 18, 29] Operation: 43-14=29
Exploring Operation: 21-14=7, Resulting Numbers: [18, 43, 7]
Generated Node #0,3: 54:[18, 43, 7] Operation: 21-14=7
Exploring Operation: 43-21=22, Resulting Numbers: [18, 14, 22]
Generated Node #0,4: 54:[18, 14, 22] Operation: 43-21=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[21, 18, 29], Operations: ['43-14=29']
Exploring Operation: 29-18=11, Resulting Numbers: [21, 11]
Generated Node #0,2,0: 54:[21, 11] Operation: 29-18=11
Exploring Operation: 21-18=3, Resulting Numbers: [29, 3]
Generated Node #0,2,1: 54:[29, 3] Operation: 21-18=3
Exploring Operation: 29-21=8, Resulting Numbers: [18, 8]
Generated Node #0,2,2: 54:[18, 8] Operation: 29-21=8
Exploring Operation: 18+29=47, Resulting Numbers: [21, 47]
Generated Node #0,2,3: 54:[21, 47] Operation: 18+29=47
Exploring Operation: 21+29=50, Resulting Numbers: [18, 50]
Generated Node #0,2,4: 54:[18, 50] Operation: 21+29=50
Moving to Node #0,2,2
Current State: 54:[18, 8], Operations: ['43-14=29', '29-21=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[29, 3], Operations: ['43-14=29', '21-18=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,54 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[18, 50], Operations: ['43-14=29', '21+29=50']
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,54 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[21, 11], Operations: ['43-14=29', '29-18=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[21, 47], Operations: ['43-14=29', '18+29=47']
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,54 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[21, 18, 57], Operations: ['43+14=57']
Exploring Operation: 21-18=3, Resulting Numbers: [57, 3]
Generated Node #0,1,0: 54:[57, 3] Operation: 21-18=3
Exploring Operation: 21+18=39, Resulting Numbers: [57, 39]
Generated Node #0,1,1: 54:[57, 39] Operation: 21+18=39
Exploring Operation: 21+57=78, Resulting Numbers: [18, 78]
Generated Node #0,1,2: 54:[18, 78] Operation: 21+57=78
Exploring Operation: 57-21=36, Resulting Numbers: [18, 36]
Generated Node #0,1,3: 54:[18, 36] Operation: 57-21=36
Exploring Operation: 57-18=39, Resulting Numbers: [21, 39]
Generated Node #0,1,4: 54:[21, 39] Operation: 57-18=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[57, 3], Operations: ['43+14=57', '21-18=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,54 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[21, 18, 43, 14], Operations: []
Exploring Operation: 43+14=57, Resulting Numbers: [21, 18, 57]
Generated Node #0,1: 54:[21, 18, 57] Operation: 43+14=57
Moving to Node #0,1
Current State: 54:[21, 18, 57], Operations: ['43+14=57']
Exploring Operation: 21-18=3, Resulting Numbers: [57, 3]
Generated Node #0,1,0: 54:[57, 3] Operation: 21-18=3
Moving to Node #0,1,0
Current State: 54:[57, 3], Operations: ['43+14=57', '21-18=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
68,
95,
3,
4
] | 97 | [
"68-4=64",
"3*64=192",
"192-95=97"
] | Current State: 97:[68, 95, 3, 4], Operations: []
Exploring Operation: 68-4=64, Resulting Numbers: [95, 3, 64]
Generated Node #2: [95, 3, 64] from Operation: 68-4=64
Current State: 97:[95, 3, 64], Operations: ['68-4=64']
Exploring Operation: 3*64=192, Resulting Numbers: [95, 192]
Generated Node #3: [95, 192] from Operation: 3*64=192
Current State: 97:[95, 192], Operations: ['68-4=64', '3*64=192']
Exploring Operation: 192-95=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[68, 95, 3, 4], Operations: []
Exploring Operation: 68+3=71, Resulting Numbers: [95, 4, 71]
Generated Node #0,0: 97:[95, 4, 71] Operation: 68+3=71
Exploring Operation: 68+4=72, Resulting Numbers: [95, 3, 72]
Generated Node #0,1: 97:[95, 3, 72] Operation: 68+4=72
Exploring Operation: 3*4=12, Resulting Numbers: [68, 95, 12]
Generated Node #0,2: 97:[68, 95, 12] Operation: 3*4=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[68, 95, 12], Operations: ['3*4=12']
Exploring Operation: 68-12=56, Resulting Numbers: [95, 56]
Generated Node #0,2,0: 97:[95, 56] Operation: 68-12=56
Exploring Operation: 95+12=107, Resulting Numbers: [68, 107]
Generated Node #0,2,1: 97:[68, 107] Operation: 95+12=107
Exploring Operation: 68+12=80, Resulting Numbers: [95, 80]
Generated Node #0,2,2: 97:[95, 80] Operation: 68+12=80
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[95, 80], Operations: ['3*4=12', '68+12=80']
Exploring Operation: 95*80=7600, Resulting Numbers: [7600]
7600,97 unequal: No Solution
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 95+80=175, Resulting Numbers: [175]
175,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,2,1
Current State: 97:[68, 107], Operations: ['3*4=12', '95+12=107']
Exploring Operation: 107-68=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 68+107=175, Resulting Numbers: [175]
175,97 unequal: No Solution
Exploring Operation: 68*107=7276, Resulting Numbers: [7276]
7276,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,2,0
Current State: 97:[95, 56], Operations: ['3*4=12', '68-12=56']
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 95*56=5320, Resulting Numbers: [5320]
5320,97 unequal: No Solution
Exploring Operation: 95+56=151, Resulting Numbers: [151]
151,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,0
Current State: 97:[95, 4, 71], Operations: ['68+3=71']
Exploring Operation: 95+4=99, Resulting Numbers: [71, 99]
Generated Node #0,0,0: 97:[71, 99] Operation: 95+4=99
Exploring Operation: 95-4=91, Resulting Numbers: [71, 91]
Generated Node #0,0,1: 97:[71, 91] Operation: 95-4=91
Exploring Operation: 4+71=75, Resulting Numbers: [95, 75]
Generated Node #0,0,2: 97:[95, 75] Operation: 4+71=75
Moving to Node #0,0,2
Current State: 97:[95, 75], Operations: ['68+3=71', '4+71=75']
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[71, 99], Operations: ['68+3=71', '95+4=99']
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,97 unequal: No Solution
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[71, 91], Operations: ['68+3=71', '95-4=91']
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,97 unequal: No Solution
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[95, 3, 72], Operations: ['68+4=72']
Exploring Operation: 95+3=98, Resulting Numbers: [72, 98]
Generated Node #0,1,0: 97:[72, 98] Operation: 95+3=98
Exploring Operation: 95-3=92, Resulting Numbers: [72, 92]
Generated Node #0,1,1: 97:[72, 92] Operation: 95-3=92
Exploring Operation: 3+72=75, Resulting Numbers: [95, 75]
Generated Node #0,1,2: 97:[95, 75] Operation: 3+72=75
Moving to Node #0,1,2
Current State: 97:[95, 75], Operations: ['68+4=72', '3+72=75']
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[72, 98], Operations: ['68+4=72', '95+3=98']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,97 unequal: No Solution
Exploring Operation: 72*98=7056, Resulting Numbers: [7056]
7056,97 unequal: No Solution
Exploring Operation: 72+98=170, Resulting Numbers: [170]
170,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[72, 92], Operations: ['68+4=72', '95-3=92']
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
43,
2,
78,
12
] | 97 | [
"43+78=121",
"2*12=24",
"121-24=97"
] | Current State: 97:[43, 2, 78, 12], Operations: []
Exploring Operation: 43+78=121, Resulting Numbers: [2, 12, 121]
Generated Node #2: [2, 12, 121] from Operation: 43+78=121
Current State: 97:[2, 12, 121], Operations: ['43+78=121']
Exploring Operation: 2*12=24, Resulting Numbers: [121, 24]
Generated Node #3: [121, 24] from Operation: 2*12=24
Current State: 97:[121, 24], Operations: ['43+78=121', '2*12=24']
Exploring Operation: 121-24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[43, 2, 78, 12], Operations: []
Exploring Operation: 43*2=86, Resulting Numbers: [78, 12, 86]
Generated Node #0,0: 97:[78, 12, 86] Operation: 43*2=86
Exploring Operation: 2*12=24, Resulting Numbers: [43, 78, 24]
Generated Node #0,1: 97:[43, 78, 24] Operation: 2*12=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[78, 12, 86], Operations: ['43*2=86']
Exploring Operation: 12+86=98, Resulting Numbers: [78, 98]
Generated Node #0,0,0: 97:[78, 98] Operation: 12+86=98
Exploring Operation: 78+12=90, Resulting Numbers: [86, 90]
Generated Node #0,0,1: 97:[86, 90] Operation: 78+12=90
Moving to Node #0,0,1
Current State: 97:[86, 90], Operations: ['43*2=86', '78+12=90']
Exploring Operation: 86+90=176, Resulting Numbers: [176]
176,97 unequal: No Solution
Exploring Operation: 90-86=4, Resulting Numbers: [4]
4,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[78, 98], Operations: ['43*2=86', '12+86=98']
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 78+98=176, Resulting Numbers: [176]
176,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[43, 78, 24], Operations: ['2*12=24']
Exploring Operation: 43+24=67, Resulting Numbers: [78, 67]
Generated Node #0,1,0: 97:[78, 67] Operation: 43+24=67
Exploring Operation: 78+24=102, Resulting Numbers: [43, 102]
Generated Node #0,1,1: 97:[43, 102] Operation: 78+24=102
Moving to Node #0,1,0
Current State: 97:[78, 67], Operations: ['2*12=24', '43+24=67']
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,97 unequal: No Solution
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[43, 102], Operations: ['2*12=24', '78+24=102']
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,97 unequal: No Solution
Exploring Operation: 43+102=145, Resulting Numbers: [145]
145,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
9,
16,
31
] | 49 | [
"9-4=5",
"16*5=80",
"80-31=49"
] | Current State: 49:[4, 9, 16, 31], Operations: []
Exploring Operation: 9-4=5, Resulting Numbers: [16, 31, 5]
Generated Node #2: [16, 31, 5] from Operation: 9-4=5
Current State: 49:[16, 31, 5], Operations: ['9-4=5']
Exploring Operation: 16*5=80, Resulting Numbers: [31, 80]
Generated Node #3: [31, 80] from Operation: 16*5=80
Current State: 49:[31, 80], Operations: ['9-4=5', '16*5=80']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[4, 9, 16, 31], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [4, 31, 7]
Generated Node #0,0: 49:[4, 31, 7] Operation: 16-9=7
Exploring Operation: 31-16=15, Resulting Numbers: [4, 9, 15]
Generated Node #0,1: 49:[4, 9, 15] Operation: 31-16=15
Exploring Operation: 16+31=47, Resulting Numbers: [4, 9, 47]
Generated Node #0,2: 49:[4, 9, 47] Operation: 16+31=47
Exploring Operation: 16/4=4, Resulting Numbers: [9, 31, 4]
Generated Node #0,3: 49:[9, 31, 4] Operation: 16/4=4
Exploring Operation: 9+31=40, Resulting Numbers: [4, 16, 40]
Generated Node #0,4: 49:[4, 16, 40] Operation: 9+31=40
Moving to Node #0,2
Current State: 49:[4, 9, 47], Operations: ['16+31=47']
Exploring Operation: 4+9=13, Resulting Numbers: [47, 13]
Generated Node #0,2,0: 49:[47, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [47, 5]
Generated Node #0,2,1: 49:[47, 5] Operation: 9-4=5
Exploring Operation: 4+47=51, Resulting Numbers: [9, 51]
Generated Node #0,2,2: 49:[9, 51] Operation: 4+47=51
Exploring Operation: 47-4=43, Resulting Numbers: [9, 43]
Generated Node #0,2,3: 49:[9, 43] Operation: 47-4=43
Exploring Operation: 9+47=56, Resulting Numbers: [4, 56]
Generated Node #0,2,4: 49:[4, 56] Operation: 9+47=56
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[47, 5], Operations: ['16+31=47', '9-4=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,49 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[9, 51], Operations: ['16+31=47', '4+47=51']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[47, 13], Operations: ['16+31=47', '4+9=13']
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,49 unequal: No Solution
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[9, 43], Operations: ['16+31=47', '47-4=43']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,49 unequal: No Solution
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[4, 56], Operations: ['16+31=47', '9+47=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,49 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 49:[4, 9, 15], Operations: ['31-16=15']
Exploring Operation: 15-4=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 49:[9, 11] Operation: 15-4=11
Exploring Operation: 4*15=60, Resulting Numbers: [9, 60]
Generated Node #0,1,1: 49:[9, 60] Operation: 4*15=60
Exploring Operation: 9-4=5, Resulting Numbers: [15, 5]
Generated Node #0,1,2: 49:[15, 5] Operation: 9-4=5
Exploring Operation: 15-9=6, Resulting Numbers: [4, 6]
Generated Node #0,1,3: 49:[4, 6] Operation: 15-9=6
Exploring Operation: 4+9=13, Resulting Numbers: [15, 13]
Generated Node #0,1,4: 49:[15, 13] Operation: 4+9=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[4, 6], Operations: ['31-16=15', '15-9=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[9, 11], Operations: ['31-16=15', '15-4=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[15, 5], Operations: ['31-16=15', '9-4=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[9, 60], Operations: ['31-16=15', '4*15=60']
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,49 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 49:[15, 13], Operations: ['31-16=15', '4+9=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 49:[4, 31, 7], Operations: ['16-9=7']
Exploring Operation: 31-7=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 49:[4, 24] Operation: 31-7=24
Exploring Operation: 4+7=11, Resulting Numbers: [31, 11]
Generated Node #0,0,1: 49:[31, 11] Operation: 4+7=11
Exploring Operation: 31-4=27, Resulting Numbers: [7, 27]
Generated Node #0,0,2: 49:[7, 27] Operation: 31-4=27
Exploring Operation: 31+7=38, Resulting Numbers: [4, 38]
Generated Node #0,0,3: 49:[4, 38] Operation: 31+7=38
Exploring Operation: 4+31=35, Resulting Numbers: [7, 35]
Generated Node #0,0,4: 49:[7, 35] Operation: 4+31=35
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[4, 38], Operations: ['16-9=7', '31+7=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,49 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 49:[7, 35], Operations: ['16-9=7', '4+31=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,49 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[4, 24], Operations: ['16-9=7', '31-7=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[7, 27], Operations: ['16-9=7', '31-4=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,49 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[31, 11], Operations: ['16-9=7', '4+7=11']
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,49 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 49:[4, 16, 40], Operations: ['9+31=40']
Exploring Operation: 40/4=10, Resulting Numbers: [16, 10]
Generated Node #0,4,0: 49:[16, 10] Operation: 40/4=10
Exploring Operation: 4+40=44, Resulting Numbers: [16, 44]
Generated Node #0,4,1: 49:[16, 44] Operation: 4+40=44
Exploring Operation: 16-4=12, Resulting Numbers: [40, 12]
Generated Node #0,4,2: 49:[40, 12] Operation: 16-4=12
Exploring Operation: 16+40=56, Resulting Numbers: [4, 56]
Generated Node #0,4,3: 49:[4, 56] Operation: 16+40=56
Exploring Operation: 16/4=4, Resulting Numbers: [40, 4]
Generated Node #0,4,4: 49:[40, 4] Operation: 16/4=4
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[4, 56], Operations: ['9+31=40', '16+40=56']
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,49 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[16, 10], Operations: ['9+31=40', '40/4=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,49 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[40, 4], Operations: ['9+31=40', '16/4=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,49 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[16, 44], Operations: ['9+31=40', '4+40=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[40, 12], Operations: ['9+31=40', '16-4=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 49:[9, 31, 4], Operations: ['16/4=4']
Exploring Operation: 9+31=40, Resulting Numbers: [4, 40]
Generated Node #0,3,0: 49:[4, 40] Operation: 9+31=40
Exploring Operation: 31-4=27, Resulting Numbers: [9, 27]
Generated Node #0,3,1: 49:[9, 27] Operation: 31-4=27
Exploring Operation: 31-9=22, Resulting Numbers: [4, 22]
Generated Node #0,3,2: 49:[4, 22] Operation: 31-9=22
Exploring Operation: 9-4=5, Resulting Numbers: [31, 5]
Generated Node #0,3,3: 49:[31, 5] Operation: 9-4=5
Exploring Operation: 31+4=35, Resulting Numbers: [9, 35]
Generated Node #0,3,4: 49:[9, 35] Operation: 31+4=35
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[4, 40], Operations: ['16/4=4', '9+31=40']
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,49 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[9, 35], Operations: ['16/4=4', '31+4=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[4, 22], Operations: ['16/4=4', '31-9=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,49 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[31, 5], Operations: ['16/4=4', '9-4=5']
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 31*5=155, Resulting Numbers: [155]
155,49 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[9, 27], Operations: ['16/4=4', '31-4=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,49 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,49 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 |
[
2,
25,
5,
61
] | 38 | [
"25+61=86",
"86/2=43",
"43-5=38"
] | Current State: 38:[2, 25, 5, 61], Operations: []
Exploring Operation: 25+61=86, Resulting Numbers: [2, 5, 86]
Generated Node #2: [2, 5, 86] from Operation: 25+61=86
Current State: 38:[2, 5, 86], Operations: ['25+61=86']
Exploring Operation: 86/2=43, Resulting Numbers: [5, 43]
Generated Node #3: [5, 43] from Operation: 86/2=43
Current State: 38:[5, 43], Operations: ['25+61=86', '86/2=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[2, 25, 5, 61], Operations: []
Exploring Operation: 61-25=36, Resulting Numbers: [2, 5, 36]
Generated Node #0,0: 38:[2, 5, 36] Operation: 61-25=36
Moving to Node #0,0
Current State: 38:[2, 5, 36], Operations: ['61-25=36']
Exploring Operation: 5-2=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 38:[36, 3] Operation: 5-2=3
Moving to Node #0,0,0
Current State: 38:[36, 3], Operations: ['61-25=36', '5-2=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,38 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
76,
11,
5,
72
] | 83 | [
"5+72=77",
"77/11=7",
"76+7=83"
] | Current State: 83:[76, 11, 5, 72], Operations: []
Exploring Operation: 5+72=77, Resulting Numbers: [76, 11, 77]
Generated Node #2: [76, 11, 77] from Operation: 5+72=77
Current State: 83:[76, 11, 77], Operations: ['5+72=77']
Exploring Operation: 77/11=7, Resulting Numbers: [76, 7]
Generated Node #3: [76, 7] from Operation: 77/11=7
Current State: 83:[76, 7], Operations: ['5+72=77', '77/11=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[76, 11, 5, 72], Operations: []
Exploring Operation: 11*5=55, Resulting Numbers: [76, 72, 55]
Generated Node #0,0: 83:[76, 72, 55] Operation: 11*5=55
Exploring Operation: 11+5=16, Resulting Numbers: [76, 72, 16]
Generated Node #0,1: 83:[76, 72, 16] Operation: 11+5=16
Exploring Operation: 76+5=81, Resulting Numbers: [11, 72, 81]
Generated Node #0,2: 83:[11, 72, 81] Operation: 76+5=81
Exploring Operation: 11+72=83, Resulting Numbers: [76, 5, 83]
Generated Node #0,3: 83:[76, 5, 83] Operation: 11+72=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[76, 72, 55], Operations: ['11*5=55']
Exploring Operation: 72+55=127, Resulting Numbers: [76, 127]
Generated Node #0,0,0: 83:[76, 127] Operation: 72+55=127
Exploring Operation: 76-55=21, Resulting Numbers: [72, 21]
Generated Node #0,0,1: 83:[72, 21] Operation: 76-55=21
Exploring Operation: 76+55=131, Resulting Numbers: [72, 131]
Generated Node #0,0,2: 83:[72, 131] Operation: 76+55=131
Exploring Operation: 72-55=17, Resulting Numbers: [76, 17]
Generated Node #0,0,3: 83:[76, 17] Operation: 72-55=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[76, 127], Operations: ['11*5=55', '72+55=127']
Exploring Operation: 127-76=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 76*127=9652, Resulting Numbers: [9652]
9652,83 unequal: No Solution
Exploring Operation: 76+127=203, Resulting Numbers: [203]
203,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,2
Current State: 83:[72, 131], Operations: ['11*5=55', '76+55=131']
Exploring Operation: 72*131=9432, Resulting Numbers: [9432]
9432,83 unequal: No Solution
Exploring Operation: 72+131=203, Resulting Numbers: [203]
203,83 unequal: No Solution
Exploring Operation: 131-72=59, Resulting Numbers: [59]
59,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[72, 21], Operations: ['11*5=55', '76-55=21']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,83 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[76, 17], Operations: ['11*5=55', '72-55=17']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 76*17=1292, Resulting Numbers: [1292]
1292,83 unequal: No Solution
Exploring Operation: 76+17=93, Resulting Numbers: [93]
93,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:[76, 72, 16], Operations: ['11+5=16']
Exploring Operation: 72+16=88, Resulting Numbers: [76, 88]
Generated Node #0,1,0: 83:[76, 88] Operation: 72+16=88
Exploring Operation: 76-16=60, Resulting Numbers: [72, 60]
Generated Node #0,1,1: 83:[72, 60] Operation: 76-16=60
Exploring Operation: 72-16=56, Resulting Numbers: [76, 56]
Generated Node #0,1,2: 83:[76, 56] Operation: 72-16=56
Exploring Operation: 76+16=92, Resulting Numbers: [72, 92]
Generated Node #0,1,3: 83:[72, 92] Operation: 76+16=92
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[76, 88], Operations: ['11+5=16', '72+16=88']
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,83 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 83:[72, 92], Operations: ['11+5=16', '76+16=92']
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,83 unequal: No Solution
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[72, 60], Operations: ['11+5=16', '76-16=60']
Exploring Operation: 72+60=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 72*60=4320, Resulting Numbers: [4320]
4320,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,2
Current State: 83:[76, 56], Operations: ['11+5=16', '72-16=56']
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 76*56=4256, Resulting Numbers: [4256]
4256,83 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,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,2
Current State: 83:[11, 72, 81], Operations: ['76+5=81']
Exploring Operation: 81-11=70, Resulting Numbers: [72, 70]
Generated Node #0,2,0: 83:[72, 70] Operation: 81-11=70
Exploring Operation: 11+81=92, Resulting Numbers: [72, 92]
Generated Node #0,2,1: 83:[72, 92] Operation: 11+81=92
Exploring Operation: 72-11=61, Resulting Numbers: [81, 61]
Generated Node #0,2,2: 83:[81, 61] Operation: 72-11=61
Exploring Operation: 11+72=83, Resulting Numbers: [81, 83]
Generated Node #0,2,3: 83:[81, 83] Operation: 11+72=83
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[81, 83], Operations: ['76+5=81', '11+72=83']
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,83 unequal: No Solution
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,83 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[72, 92], Operations: ['76+5=81', '11+81=92']
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,83 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[72, 70], Operations: ['76+5=81', '81-11=70']
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 83:[81, 61], Operations: ['76+5=81', '72-11=61']
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,83 unequal: No Solution
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,83 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,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,3
Current State: 83:[76, 5, 83], Operations: ['11+72=83']
Exploring Operation: 76+5=81, Resulting Numbers: [83, 81]
Generated Node #0,3,0: 83:[83, 81] Operation: 76+5=81
Exploring Operation: 5+83=88, Resulting Numbers: [76, 88]
Generated Node #0,3,1: 83:[76, 88] Operation: 5+83=88
Exploring Operation: 83-5=78, Resulting Numbers: [76, 78]
Generated Node #0,3,2: 83:[76, 78] Operation: 83-5=78
Exploring Operation: 76-5=71, Resulting Numbers: [83, 71]
Generated Node #0,3,3: 83:[83, 71] Operation: 76-5=71
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[83, 81], Operations: ['11+72=83', '76+5=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,83 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,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,3,1
Current State: 83:[76, 88], Operations: ['11+72=83', '5+83=88']
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,83 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,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,3,2
Current State: 83:[76, 78], Operations: ['11+72=83', '83-5=78']
Exploring Operation: 76*78=5928, Resulting Numbers: [5928]
5928,83 unequal: No Solution
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 76+78=154, Resulting Numbers: [154]
154,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,3,3
Current State: 83:[83, 71], Operations: ['11+72=83', '76-5=71']
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,83 unequal: No Solution
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.