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 |
|---|---|---|---|---|---|---|---|---|
[
90,
49,
74,
19
] | 96 | [
"90-49=41",
"74-19=55",
"41+55=96"
] | Current State: 96:[90, 49, 74, 19], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [74, 19, 41]
Generated Node #2: [74, 19, 41] from Operation: 90-49=41
Current State: 96:[74, 19, 41], Operations: ['90-49=41']
Exploring Operation: 74-19=55, Resulting Numbers: [41, 55]
Generated Node #3: [41, 55] from Operation: 74-19=55
Current State: 96:[41, 55], Operations: ['90-49=41', '74-19=55']
Exploring Operation: 41+55=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[90, 49, 74, 19], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [90, 19, 25]
Generated Node #0,0: 96:[90, 19, 25] Operation: 74-49=25
Exploring Operation: 90-74=16, Resulting Numbers: [49, 19, 16]
Generated Node #0,1: 96:[49, 19, 16] Operation: 90-74=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[49, 19, 16], Operations: ['90-74=16']
Exploring Operation: 49-19=30, Resulting Numbers: [16, 30]
Generated Node #0,1,0: 96:[16, 30] Operation: 49-19=30
Exploring Operation: 19-16=3, Resulting Numbers: [49, 3]
Generated Node #0,1,1: 96:[49, 3] Operation: 19-16=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[49, 3], Operations: ['90-74=16', '19-16=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,96 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[16, 30], Operations: ['90-74=16', '49-19=30']
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 16+30=46, Resulting Numbers: [46]
46,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[90, 19, 25], Operations: ['74-49=25']
Exploring Operation: 19+25=44, Resulting Numbers: [90, 44]
Generated Node #0,0,0: 96:[90, 44] Operation: 19+25=44
Exploring Operation: 25-19=6, Resulting Numbers: [90, 6]
Generated Node #0,0,1: 96:[90, 6] Operation: 25-19=6
Moving to Node #0,0,1
Current State: 96:[90, 6], Operations: ['74-49=25', '25-19=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[90, 49, 74, 19], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [90, 19, 25]
Generated Node #0,0: 96:[90, 19, 25] Operation: 74-49=25
Moving to Node #0,0
Current State: 96:[90, 19, 25], Operations: ['74-49=25']
Exploring Operation: 25-19=6, Resulting Numbers: [90, 6]
Generated Node #0,0,1: 96:[90, 6] Operation: 25-19=6
Moving to Node #0,0,1
Current State: 96:[90, 6], Operations: ['74-49=25', '25-19=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
77,
36,
78,
81
] | 65 | [
"81-78=3",
"36/3=12",
"77-12=65"
] | Current State: 65:[77, 36, 78, 81], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [77, 36, 3]
Generated Node #2: [77, 36, 3] from Operation: 81-78=3
Current State: 65:[77, 36, 3], Operations: ['81-78=3']
Exploring Operation: 36/3=12, Resulting Numbers: [77, 12]
Generated Node #3: [77, 12] from Operation: 36/3=12
Current State: 65:[77, 12], Operations: ['81-78=3', '36/3=12']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[77, 36, 78, 81], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [36, 78, 4]
Generated Node #0,0: 65:[36, 78, 4] Operation: 81-77=4
Exploring Operation: 81-78=3, Resulting Numbers: [77, 36, 3]
Generated Node #0,1: 65:[77, 36, 3] Operation: 81-78=3
Moving to Node #0,0
Current State: 65:[36, 78, 4], Operations: ['81-77=4']
Exploring Operation: 78-36=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 65:[4, 42] Operation: 78-36=42
Exploring Operation: 36/4=9, Resulting Numbers: [78, 9]
Generated Node #0,0,1: 65:[78, 9] Operation: 36/4=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[78, 9], Operations: ['81-77=4', '36/4=9']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[4, 42], Operations: ['81-77=4', '78-36=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,65 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[77, 36, 3], Operations: ['81-78=3']
Exploring Operation: 77-36=41, Resulting Numbers: [3, 41]
Generated Node #0,1,0: 65:[3, 41] Operation: 77-36=41
Exploring Operation: 36/3=12, Resulting Numbers: [77, 12]
Generated Node #0,1,1: 65:[77, 12] Operation: 36/3=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[77, 12], Operations: ['81-78=3', '36/3=12']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[77, 36, 78, 81], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [77, 36, 3]
Generated Node #0,1: 65:[77, 36, 3] Operation: 81-78=3
Moving to Node #0,1
Current State: 65:[77, 36, 3], Operations: ['81-78=3']
Exploring Operation: 36/3=12, Resulting Numbers: [77, 12]
Generated Node #0,1,1: 65:[77, 12] Operation: 36/3=12
Moving to Node #0,1,1
Current State: 65:[77, 12], Operations: ['81-78=3', '36/3=12']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
3,
13,
18,
81
] | 53 | [
"13-3=10",
"81-18=63",
"63-10=53"
] | Current State: 53:[3, 13, 18, 81], Operations: []
Exploring Operation: 13-3=10, Resulting Numbers: [18, 81, 10]
Generated Node #2: [18, 81, 10] from Operation: 13-3=10
Current State: 53:[18, 81, 10], Operations: ['13-3=10']
Exploring Operation: 81-18=63, Resulting Numbers: [10, 63]
Generated Node #3: [10, 63] from Operation: 81-18=63
Current State: 53:[10, 63], Operations: ['13-3=10', '81-18=63']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[3, 13, 18, 81], Operations: []
Exploring Operation: 3*18=54, Resulting Numbers: [13, 81, 54]
Generated Node #0,0: 53:[13, 81, 54] Operation: 3*18=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[13, 81, 54], Operations: ['3*18=54']
Exploring Operation: 81-13=68, Resulting Numbers: [54, 68]
Generated Node #0,0,0: 53:[54, 68] Operation: 81-13=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[54, 68], Operations: ['3*18=54', '81-13=68']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,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 |
[
34,
43,
22,
4
] | 71 | [
"34*4=136",
"43+22=65",
"136-65=71"
] | Current State: 71:[34, 43, 22, 4], Operations: []
Exploring Operation: 34*4=136, Resulting Numbers: [43, 22, 136]
Generated Node #2: [43, 22, 136] from Operation: 34*4=136
Current State: 71:[43, 22, 136], Operations: ['34*4=136']
Exploring Operation: 43+22=65, Resulting Numbers: [136, 65]
Generated Node #3: [136, 65] from Operation: 43+22=65
Current State: 71:[136, 65], Operations: ['34*4=136', '43+22=65']
Exploring Operation: 136-65=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[34, 43, 22, 4], Operations: []
Exploring Operation: 22*4=88, Resulting Numbers: [34, 43, 88]
Generated Node #0,0: 71:[34, 43, 88] Operation: 22*4=88
Exploring Operation: 34+22=56, Resulting Numbers: [43, 4, 56]
Generated Node #0,1: 71:[43, 4, 56] Operation: 34+22=56
Moving to Node #0,0
Current State: 71:[34, 43, 88], Operations: ['22*4=88']
Exploring Operation: 34+43=77, Resulting Numbers: [88, 77]
Generated Node #0,0,0: 71:[88, 77] Operation: 34+43=77
Exploring Operation: 88-34=54, Resulting Numbers: [43, 54]
Generated Node #0,0,1: 71:[43, 54] Operation: 88-34=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[88, 77], Operations: ['22*4=88', '34+43=77']
Exploring Operation: 88+77=165, Resulting Numbers: [165]
165,71 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[43, 54], Operations: ['22*4=88', '88-34=54']
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,71 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: 71:[43, 4, 56], Operations: ['34+22=56']
Exploring Operation: 43+4=47, Resulting Numbers: [56, 47]
Generated Node #0,1,0: 71:[56, 47] Operation: 43+4=47
Exploring Operation: 4+56=60, Resulting Numbers: [43, 60]
Generated Node #0,1,1: 71:[43, 60] Operation: 4+56=60
Moving to Node #0,1,0
Current State: 71:[56, 47], Operations: ['34+22=56', '43+4=47']
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[43, 60], Operations: ['34+22=56', '4+56=60']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
20,
21,
45
] | 60 | [
"21+45=66",
"66/22=3",
"20*3=60"
] | Current State: 60:[22, 20, 21, 45], Operations: []
Exploring Operation: 21+45=66, Resulting Numbers: [22, 20, 66]
Generated Node #2: [22, 20, 66] from Operation: 21+45=66
Current State: 60:[22, 20, 66], Operations: ['21+45=66']
Exploring Operation: 66/22=3, Resulting Numbers: [20, 3]
Generated Node #3: [20, 3] from Operation: 66/22=3
Current State: 60:[20, 3], Operations: ['21+45=66', '66/22=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[22, 20, 21, 45], Operations: []
Exploring Operation: 22+45=67, Resulting Numbers: [20, 21, 67]
Generated Node #0,0: 60:[20, 21, 67] Operation: 22+45=67
Exploring Operation: 45-22=23, Resulting Numbers: [20, 21, 23]
Generated Node #0,1: 60:[20, 21, 23] Operation: 45-22=23
Exploring Operation: 45-21=24, Resulting Numbers: [22, 20, 24]
Generated Node #0,2: 60:[22, 20, 24] Operation: 45-21=24
Exploring Operation: 20+45=65, Resulting Numbers: [22, 21, 65]
Generated Node #0,3: 60:[22, 21, 65] Operation: 20+45=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[20, 21, 23], Operations: ['45-22=23']
Exploring Operation: 20+21=41, Resulting Numbers: [23, 41]
Generated Node #0,1,0: 60:[23, 41] Operation: 20+21=41
Exploring Operation: 23-20=3, Resulting Numbers: [21, 3]
Generated Node #0,1,1: 60:[21, 3] Operation: 23-20=3
Exploring Operation: 21-20=1, Resulting Numbers: [23, 1]
Generated Node #0,1,2: 60:[23, 1] Operation: 21-20=1
Exploring Operation: 23-21=2, Resulting Numbers: [20, 2]
Generated Node #0,1,3: 60:[20, 2] Operation: 23-21=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[20, 2], Operations: ['45-22=23', '23-21=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
No 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: 60:[21, 3], Operations: ['45-22=23', '23-20=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,60 unequal: No Solution
No 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: 60:[23, 1], Operations: ['45-22=23', '21-20=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,60 unequal: No Solution
No 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: 60:[23, 41], Operations: ['45-22=23', '20+21=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[22, 20, 24], Operations: ['45-21=24']
Exploring Operation: 22+24=46, Resulting Numbers: [20, 46]
Generated Node #0,2,0: 60:[20, 46] Operation: 22+24=46
Exploring Operation: 24-20=4, Resulting Numbers: [22, 4]
Generated Node #0,2,1: 60:[22, 4] Operation: 24-20=4
Exploring Operation: 22-20=2, Resulting Numbers: [24, 2]
Generated Node #0,2,2: 60:[24, 2] Operation: 22-20=2
Exploring Operation: 24-22=2, Resulting Numbers: [20, 2]
Generated Node #0,2,3: 60:[20, 2] Operation: 24-22=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[20, 2], Operations: ['45-21=24', '24-22=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,60 unequal: No Solution
No 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: 60:[22, 4], Operations: ['45-21=24', '24-20=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,60 unequal: No Solution
No 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: 60:[24, 2], Operations: ['45-21=24', '22-20=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,60 unequal: No Solution
No 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: 60:[20, 46], Operations: ['45-21=24', '22+24=46']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[20, 21, 67], Operations: ['22+45=67']
Exploring Operation: 67-20=47, Resulting Numbers: [21, 47]
Generated Node #0,0,0: 60:[21, 47] Operation: 67-20=47
Exploring Operation: 67-21=46, Resulting Numbers: [20, 46]
Generated Node #0,0,1: 60:[20, 46] Operation: 67-21=46
Exploring Operation: 21-20=1, Resulting Numbers: [67, 1]
Generated Node #0,0,2: 60:[67, 1] Operation: 21-20=1
Exploring Operation: 20+21=41, Resulting Numbers: [67, 41]
Generated Node #0,0,3: 60:[67, 41] Operation: 20+21=41
Moving to Node #0,0,2
Current State: 60:[67, 1], Operations: ['22+45=67', '21-20=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[20, 46], Operations: ['22+45=67', '67-21=46']
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,60 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[21, 47], Operations: ['22+45=67', '67-20=47']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[67, 41], Operations: ['22+45=67', '20+21=41']
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,60 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[22, 21, 65], Operations: ['20+45=65']
Exploring Operation: 22-21=1, Resulting Numbers: [65, 1]
Generated Node #0,3,0: 60:[65, 1] Operation: 22-21=1
Exploring Operation: 65-21=44, Resulting Numbers: [22, 44]
Generated Node #0,3,1: 60:[22, 44] Operation: 65-21=44
Exploring Operation: 22+21=43, Resulting Numbers: [65, 43]
Generated Node #0,3,2: 60:[65, 43] Operation: 22+21=43
Exploring Operation: 65-22=43, Resulting Numbers: [21, 43]
Generated Node #0,3,3: 60:[21, 43] Operation: 65-22=43
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[65, 1], Operations: ['20+45=65', '22-21=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,60 unequal: No Solution
No 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: 60:[21, 43], Operations: ['20+45=65', '65-22=43']
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,60 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,60 unequal: No Solution
No 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: 60:[22, 44], Operations: ['20+45=65', '65-21=44']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 22*44=968, Resulting Numbers: [968]
968,60 unequal: No Solution
No 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: 60:[65, 43], Operations: ['20+45=65', '22+21=43']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,60 unequal: No Solution
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
60,
76,
78
] | 28 | [
"78-76=2",
"64/2=32",
"60-32=28"
] | Current State: 28:[64, 60, 76, 78], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [64, 60, 2]
Generated Node #2: [64, 60, 2] from Operation: 78-76=2
Current State: 28:[64, 60, 2], Operations: ['78-76=2']
Exploring Operation: 64/2=32, Resulting Numbers: [60, 32]
Generated Node #3: [60, 32] from Operation: 64/2=32
Current State: 28:[60, 32], Operations: ['78-76=2', '64/2=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[64, 60, 76, 78], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [60, 76, 14]
Generated Node #0,0: 28:[60, 76, 14] Operation: 78-64=14
Exploring Operation: 76-64=12, Resulting Numbers: [60, 78, 12]
Generated Node #0,1: 28:[60, 78, 12] Operation: 76-64=12
Exploring Operation: 78-76=2, Resulting Numbers: [64, 60, 2]
Generated Node #0,2: 28:[64, 60, 2] Operation: 78-76=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[64, 60, 2], Operations: ['78-76=2']
Exploring Operation: 64/2=32, Resulting Numbers: [60, 32]
Generated Node #0,2,0: 28:[60, 32] Operation: 64/2=32
Exploring Operation: 64-60=4, Resulting Numbers: [2, 4]
Generated Node #0,2,1: 28:[2, 4] Operation: 64-60=4
Exploring Operation: 60/2=30, Resulting Numbers: [64, 30]
Generated Node #0,2,2: 28:[64, 30] Operation: 60/2=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 28:[2, 4], Operations: ['78-76=2', '64-60=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No 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: 28:[60, 32], Operations: ['78-76=2', '64/2=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[64, 60, 76, 78], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [64, 60, 2]
Generated Node #0,2: 28:[64, 60, 2] Operation: 78-76=2
Moving to Node #0,2
Current State: 28:[64, 60, 2], Operations: ['78-76=2']
Exploring Operation: 64/2=32, Resulting Numbers: [60, 32]
Generated Node #0,2,0: 28:[60, 32] Operation: 64/2=32
Moving to Node #0,2,0
Current State: 28:[60, 32], Operations: ['78-76=2', '64/2=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
99,
56,
35,
40
] | 32 | [
"99-56=43",
"35+40=75",
"75-43=32"
] | Current State: 32:[99, 56, 35, 40], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [35, 40, 43]
Generated Node #2: [35, 40, 43] from Operation: 99-56=43
Current State: 32:[35, 40, 43], Operations: ['99-56=43']
Exploring Operation: 35+40=75, Resulting Numbers: [43, 75]
Generated Node #3: [43, 75] from Operation: 35+40=75
Current State: 32:[43, 75], Operations: ['99-56=43', '35+40=75']
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[99, 56, 35, 40], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [35, 40, 43]
Generated Node #0,0: 32:[35, 40, 43] Operation: 99-56=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[35, 40, 43], Operations: ['99-56=43']
Exploring Operation: 43-40=3, Resulting Numbers: [35, 3]
Generated Node #0,0,0: 32:[35, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 32:[35, 3], Operations: ['99-56=43', '43-40=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[99, 56, 35, 40], Operations: []
Exploring Operation: 99-56=43, Resulting Numbers: [35, 40, 43]
Generated Node #0,0: 32:[35, 40, 43] Operation: 99-56=43
Moving to Node #0,0
Current State: 32:[35, 40, 43], Operations: ['99-56=43']
Exploring Operation: 43-40=3, Resulting Numbers: [35, 3]
Generated Node #0,0,0: 32:[35, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 32:[35, 3], Operations: ['99-56=43', '43-40=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
75,
21,
95,
18
] | 59 | [
"75-21=54",
"95+18=113",
"113-54=59"
] | Current State: 59:[75, 21, 95, 18], Operations: []
Exploring Operation: 75-21=54, Resulting Numbers: [95, 18, 54]
Generated Node #2: [95, 18, 54] from Operation: 75-21=54
Current State: 59:[95, 18, 54], Operations: ['75-21=54']
Exploring Operation: 95+18=113, Resulting Numbers: [54, 113]
Generated Node #3: [54, 113] from Operation: 95+18=113
Current State: 59:[54, 113], Operations: ['75-21=54', '95+18=113']
Exploring Operation: 113-54=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[75, 21, 95, 18], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [21, 95, 57]
Generated Node #0,0: 59:[21, 95, 57] Operation: 75-18=57
Exploring Operation: 95-21=74, Resulting Numbers: [75, 18, 74]
Generated Node #0,1: 59:[75, 18, 74] Operation: 95-21=74
Exploring Operation: 95-18=77, Resulting Numbers: [75, 21, 77]
Generated Node #0,2: 59:[75, 21, 77] Operation: 95-18=77
Exploring Operation: 21+18=39, Resulting Numbers: [75, 95, 39]
Generated Node #0,3: 59:[75, 95, 39] Operation: 21+18=39
Moving to Node #0,1
Current State: 59:[75, 18, 74], Operations: ['95-21=74']
Exploring Operation: 75-18=57, Resulting Numbers: [74, 57]
Generated Node #0,1,0: 59:[74, 57] Operation: 75-18=57
Exploring Operation: 75+18=93, Resulting Numbers: [74, 93]
Generated Node #0,1,1: 59:[74, 93] Operation: 75+18=93
Exploring Operation: 74-18=56, Resulting Numbers: [75, 56]
Generated Node #0,1,2: 59:[75, 56] Operation: 74-18=56
Exploring Operation: 18+74=92, Resulting Numbers: [75, 92]
Generated Node #0,1,3: 59:[75, 92] Operation: 18+74=92
Moving to Node #0,3
Current State: 59:[75, 95, 39], Operations: ['21+18=39']
Exploring Operation: 75+39=114, Resulting Numbers: [95, 114]
Generated Node #0,3,0: 59:[95, 114] Operation: 75+39=114
Exploring Operation: 95-75=20, Resulting Numbers: [39, 20]
Generated Node #0,3,1: 59:[39, 20] Operation: 95-75=20
Exploring Operation: 75-39=36, Resulting Numbers: [95, 36]
Generated Node #0,3,2: 59:[95, 36] Operation: 75-39=36
Exploring Operation: 95-39=56, Resulting Numbers: [75, 56]
Generated Node #0,3,3: 59:[75, 56] Operation: 95-39=56
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 59:[75, 56], Operations: ['21+18=39', '95-39=56']
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 75+56=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 75*56=4200, Resulting Numbers: [4200]
4200,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,3,1
Current State: 59:[39, 20], Operations: ['21+18=39', '95-75=20']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[75, 21, 95, 18], Operations: []
Exploring Operation: 21+18=39, Resulting Numbers: [75, 95, 39]
Generated Node #0,3: 59:[75, 95, 39] Operation: 21+18=39
Moving to Node #0,3
Current State: 59:[75, 95, 39], Operations: ['21+18=39']
Exploring Operation: 95-75=20, Resulting Numbers: [39, 20]
Generated Node #0,3,1: 59:[39, 20] Operation: 95-75=20
Moving to Node #0,3,1
Current State: 59:[39, 20], Operations: ['21+18=39', '95-75=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
8,
10,
47,
51
] | 100 | [
"10-8=2",
"47+51=98",
"2+98=100"
] | Current State: 100:[8, 10, 47, 51], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [47, 51, 2]
Generated Node #2: [47, 51, 2] from Operation: 10-8=2
Current State: 100:[47, 51, 2], Operations: ['10-8=2']
Exploring Operation: 47+51=98, Resulting Numbers: [2, 98]
Generated Node #3: [2, 98] from Operation: 47+51=98
Current State: 100:[2, 98], Operations: ['10-8=2', '47+51=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[8, 10, 47, 51], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [47, 51, 2]
Generated Node #0,0: 100:[47, 51, 2] Operation: 10-8=2
Exploring Operation: 51-47=4, Resulting Numbers: [8, 10, 4]
Generated Node #0,1: 100:[8, 10, 4] Operation: 51-47=4
Moving to Node #0,1
Current State: 100:[8, 10, 4], Operations: ['51-47=4']
Exploring Operation: 8-4=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 100:[10, 4] Operation: 8-4=4
Exploring Operation: 10-8=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 100:[4, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[10, 4], Operations: ['51-47=4', '8-4=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[4, 2], Operations: ['51-47=4', '10-8=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 100:[47, 51, 2], Operations: ['10-8=2']
Exploring Operation: 51-47=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 100:[2, 4] Operation: 51-47=4
Exploring Operation: 47+51=98, Resulting Numbers: [2, 98]
Generated Node #0,0,1: 100:[2, 98] Operation: 47+51=98
Moving to Node #0,0,0
Current State: 100:[2, 4], Operations: ['10-8=2', '51-47=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[2, 98], Operations: ['10-8=2', '47+51=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,100 unequal: No Solution
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[8, 10, 47, 51], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [47, 51, 2]
Generated Node #0,0: 100:[47, 51, 2] Operation: 10-8=2
Moving to Node #0,0
Current State: 100:[47, 51, 2], Operations: ['10-8=2']
Exploring Operation: 47+51=98, Resulting Numbers: [2, 98]
Generated Node #0,0,1: 100:[2, 98] Operation: 47+51=98
Moving to Node #0,0,1
Current State: 100:[2, 98], Operations: ['10-8=2', '47+51=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
8,
68,
27,
53
] | 95 | [
"8*27=216",
"68+53=121",
"216-121=95"
] | Current State: 95:[8, 68, 27, 53], Operations: []
Exploring Operation: 8*27=216, Resulting Numbers: [68, 53, 216]
Generated Node #2: [68, 53, 216] from Operation: 8*27=216
Current State: 95:[68, 53, 216], Operations: ['8*27=216']
Exploring Operation: 68+53=121, Resulting Numbers: [216, 121]
Generated Node #3: [216, 121] from Operation: 68+53=121
Current State: 95:[216, 121], Operations: ['8*27=216', '68+53=121']
Exploring Operation: 216-121=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[8, 68, 27, 53], Operations: []
Exploring Operation: 68+27=95, Resulting Numbers: [8, 53, 95]
Generated Node #0,0: 95:[8, 53, 95] Operation: 68+27=95
Exploring Operation: 68+53=121, Resulting Numbers: [8, 27, 121]
Generated Node #0,1: 95:[8, 27, 121] Operation: 68+53=121
Exploring Operation: 68-53=15, Resulting Numbers: [8, 27, 15]
Generated Node #0,2: 95:[8, 27, 15] Operation: 68-53=15
Exploring Operation: 53-27=26, Resulting Numbers: [8, 68, 26]
Generated Node #0,3: 95:[8, 68, 26] Operation: 53-27=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[8, 27, 15], Operations: ['68-53=15']
Exploring Operation: 27-15=12, Resulting Numbers: [8, 12]
Generated Node #0,2,0: 95:[8, 12] Operation: 27-15=12
Exploring Operation: 15-8=7, Resulting Numbers: [27, 7]
Generated Node #0,2,1: 95:[27, 7] Operation: 15-8=7
Exploring Operation: 27-8=19, Resulting Numbers: [15, 19]
Generated Node #0,2,2: 95:[15, 19] Operation: 27-8=19
Exploring Operation: 8+15=23, Resulting Numbers: [27, 23]
Generated Node #0,2,3: 95:[27, 23] Operation: 8+15=23
Moving to Node #0,2,2
Current State: 95:[15, 19], Operations: ['68-53=15', '27-8=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,95 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[27, 7], Operations: ['68-53=15', '15-8=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[8, 12], Operations: ['68-53=15', '27-15=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[27, 23], Operations: ['68-53=15', '8+15=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[8, 53, 95], Operations: ['68+27=95']
Exploring Operation: 8+53=61, Resulting Numbers: [95, 61]
Generated Node #0,0,0: 95:[95, 61] Operation: 8+53=61
Exploring Operation: 95-53=42, Resulting Numbers: [8, 42]
Generated Node #0,0,1: 95:[8, 42] Operation: 95-53=42
Exploring Operation: 53-8=45, Resulting Numbers: [95, 45]
Generated Node #0,0,2: 95:[95, 45] Operation: 53-8=45
Exploring Operation: 8+95=103, Resulting Numbers: [53, 103]
Generated Node #0,0,3: 95:[53, 103] Operation: 8+95=103
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[8, 42], Operations: ['68+27=95', '95-53=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,95 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[95, 45], Operations: ['68+27=95', '53-8=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[95, 61], Operations: ['68+27=95', '8+53=61']
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 95+61=156, Resulting Numbers: [156]
156,95 unequal: No Solution
Exploring Operation: 95*61=5795, Resulting Numbers: [5795]
5795,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 95:[53, 103], Operations: ['68+27=95', '8+95=103']
Exploring Operation: 53+103=156, Resulting Numbers: [156]
156,95 unequal: No Solution
Exploring Operation: 53*103=5459, Resulting Numbers: [5459]
5459,95 unequal: No Solution
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[8, 27, 121], Operations: ['68+53=121']
Exploring Operation: 8+27=35, Resulting Numbers: [121, 35]
Generated Node #0,1,0: 95:[121, 35] Operation: 8+27=35
Exploring Operation: 121-27=94, Resulting Numbers: [8, 94]
Generated Node #0,1,1: 95:[8, 94] Operation: 121-27=94
Exploring Operation: 121-8=113, Resulting Numbers: [27, 113]
Generated Node #0,1,2: 95:[27, 113] Operation: 121-8=113
Exploring Operation: 27-8=19, Resulting Numbers: [121, 19]
Generated Node #0,1,3: 95:[121, 19] Operation: 27-8=19
Moving to Node #0,1,1
Current State: 95:[8, 94], Operations: ['68+53=121', '121-27=94']
Exploring Operation: 8+94=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 8*94=752, Resulting Numbers: [752]
752,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[121, 19], Operations: ['68+53=121', '27-8=19']
Exploring Operation: 121+19=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 121*19=2299, Resulting Numbers: [2299]
2299,95 unequal: No Solution
Exploring Operation: 121-19=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[27, 113], Operations: ['68+53=121', '121-8=113']
Exploring Operation: 27+113=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 27*113=3051, Resulting Numbers: [3051]
3051,95 unequal: No Solution
Exploring Operation: 113-27=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[121, 35], Operations: ['68+53=121', '8+27=35']
Exploring Operation: 121*35=4235, Resulting Numbers: [4235]
4235,95 unequal: No Solution
Exploring Operation: 121-35=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 121+35=156, Resulting Numbers: [156]
156,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,3
Current State: 95:[8, 68, 26], Operations: ['53-27=26']
Exploring Operation: 68-26=42, Resulting Numbers: [8, 42]
Generated Node #0,3,0: 95:[8, 42] Operation: 68-26=42
Exploring Operation: 26-8=18, Resulting Numbers: [68, 18]
Generated Node #0,3,1: 95:[68, 18] Operation: 26-8=18
Exploring Operation: 8+68=76, Resulting Numbers: [26, 76]
Generated Node #0,3,2: 95:[26, 76] Operation: 8+68=76
Exploring Operation: 68+26=94, Resulting Numbers: [8, 94]
Generated Node #0,3,3: 95:[8, 94] Operation: 68+26=94
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[8, 94], Operations: ['53-27=26', '68+26=94']
Exploring Operation: 8+94=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 8*94=752, Resulting Numbers: [752]
752,95 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[8, 42], Operations: ['53-27=26', '68-26=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[26, 76], Operations: ['53-27=26', '8+68=76']
Exploring Operation: 26+76=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 26*76=1976, Resulting Numbers: [1976]
1976,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 95:[68, 18], Operations: ['53-27=26', '26-8=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,95 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,95 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
16,
10,
2,
28
] | 49 | [
"16+28=44",
"10/2=5",
"44+5=49"
] | Current State: 49:[16, 10, 2, 28], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [10, 2, 44]
Generated Node #2: [10, 2, 44] from Operation: 16+28=44
Current State: 49:[10, 2, 44], Operations: ['16+28=44']
Exploring Operation: 10/2=5, Resulting Numbers: [44, 5]
Generated Node #3: [44, 5] from Operation: 10/2=5
Current State: 49:[44, 5], Operations: ['16+28=44', '10/2=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[16, 10, 2, 28], Operations: []
Exploring Operation: 2*28=56, Resulting Numbers: [16, 10, 56]
Generated Node #0,0: 49:[16, 10, 56] Operation: 2*28=56
Exploring Operation: 28-16=12, Resulting Numbers: [10, 2, 12]
Generated Node #0,1: 49:[10, 2, 12] Operation: 28-16=12
Exploring Operation: 16+28=44, Resulting Numbers: [10, 2, 44]
Generated Node #0,2: 49:[10, 2, 44] Operation: 16+28=44
Exploring Operation: 28/2=14, Resulting Numbers: [16, 10, 14]
Generated Node #0,3: 49:[16, 10, 14] Operation: 28/2=14
Moving to Node #0,1
Current State: 49:[10, 2, 12], Operations: ['28-16=12']
Exploring Operation: 10-2=8, Resulting Numbers: [12, 8]
Generated Node #0,1,0: 49:[12, 8] Operation: 10-2=8
Exploring Operation: 12-2=10, Resulting Numbers: [10, 10]
Generated Node #0,1,1: 49:[10, 10] Operation: 12-2=10
Exploring Operation: 10/2=5, Resulting Numbers: [12, 5]
Generated Node #0,1,2: 49:[12, 5] Operation: 10/2=5
Exploring Operation: 12/2=6, Resulting Numbers: [10, 6]
Generated Node #0,1,3: 49:[10, 6] Operation: 12/2=6
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[10, 6], Operations: ['28-16=12', '12/2=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,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:[12, 8], Operations: ['28-16=12', '10-2=8']
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[10, 10], Operations: ['28-16=12', '12-2=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 10+10=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,1,2
Current State: 49:[12, 5], Operations: ['28-16=12', '10/2=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,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:[10, 2, 44], Operations: ['16+28=44']
Exploring Operation: 2+44=46, Resulting Numbers: [10, 46]
Generated Node #0,2,0: 49:[10, 46] Operation: 2+44=46
Exploring Operation: 10+2=12, Resulting Numbers: [44, 12]
Generated Node #0,2,1: 49:[44, 12] Operation: 10+2=12
Exploring Operation: 10-2=8, Resulting Numbers: [44, 8]
Generated Node #0,2,2: 49:[44, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [44, 5]
Generated Node #0,2,3: 49:[44, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[10, 46], Operations: ['16+28=44', '2+44=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,49 unequal: No Solution
Exploring Operation: 46-10=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,2,2
Current State: 49:[44, 8], Operations: ['16+28=44', '10-2=8']
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,49 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 44-8=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,2,3
Current State: 49:[44, 5], Operations: ['16+28=44', '10/2=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,49 unequal: No Solution
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:[16, 10, 2, 28], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [10, 2, 44]
Generated Node #0,2: 49:[10, 2, 44] Operation: 16+28=44
Moving to Node #0,2
Current State: 49:[10, 2, 44], Operations: ['16+28=44']
Exploring Operation: 10/2=5, Resulting Numbers: [44, 5]
Generated Node #0,2,3: 49:[44, 5] Operation: 10/2=5
Moving to Node #0,2,3
Current State: 49:[44, 5], Operations: ['16+28=44', '10/2=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
4,
96,
15,
72
] | 35 | [
"96-4=92",
"72-15=57",
"92-57=35"
] | Current State: 35:[4, 96, 15, 72], Operations: []
Exploring Operation: 96-4=92, Resulting Numbers: [15, 72, 92]
Generated Node #2: [15, 72, 92] from Operation: 96-4=92
Current State: 35:[15, 72, 92], Operations: ['96-4=92']
Exploring Operation: 72-15=57, Resulting Numbers: [92, 57]
Generated Node #3: [92, 57] from Operation: 72-15=57
Current State: 35:[92, 57], Operations: ['96-4=92', '72-15=57']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 96, 15, 72], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [4, 15, 24]
Generated Node #0,0: 35:[4, 15, 24] Operation: 96-72=24
Exploring Operation: 96/4=24, Resulting Numbers: [15, 72, 24]
Generated Node #0,1: 35:[15, 72, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[4, 15, 24], Operations: ['96-72=24']
Exploring Operation: 24-15=9, Resulting Numbers: [4, 9]
Generated Node #0,0,0: 35:[4, 9] Operation: 24-15=9
Exploring Operation: 15+24=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 35:[4, 39] Operation: 15+24=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[4, 9], Operations: ['96-72=24', '24-15=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No 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: 35:[4, 39], Operations: ['96-72=24', '15+24=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,35 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[4, 96, 15, 72], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [4, 15, 24]
Generated Node #0,0: 35:[4, 15, 24] Operation: 96-72=24
Moving to Node #0,0
Current State: 35:[4, 15, 24], Operations: ['96-72=24']
Exploring Operation: 15+24=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 35:[4, 39] Operation: 15+24=39
Moving to Node #0,0,1
Current State: 35:[4, 39], Operations: ['96-72=24', '15+24=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
5,
70,
17,
61
] | 94 | [
"5*17=85",
"70-61=9",
"85+9=94"
] | Current State: 94:[5, 70, 17, 61], Operations: []
Exploring Operation: 5*17=85, Resulting Numbers: [70, 61, 85]
Generated Node #2: [70, 61, 85] from Operation: 5*17=85
Current State: 94:[70, 61, 85], Operations: ['5*17=85']
Exploring Operation: 70-61=9, Resulting Numbers: [85, 9]
Generated Node #3: [85, 9] from Operation: 70-61=9
Current State: 94:[85, 9], Operations: ['5*17=85', '70-61=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[5, 70, 17, 61], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [5, 61, 53]
Generated Node #0,0: 94:[5, 61, 53] Operation: 70-17=53
Exploring Operation: 70+17=87, Resulting Numbers: [5, 61, 87]
Generated Node #0,1: 94:[5, 61, 87] Operation: 70+17=87
Exploring Operation: 70-61=9, Resulting Numbers: [5, 17, 9]
Generated Node #0,2: 94:[5, 17, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 94:[5, 61, 53], Operations: ['70-17=53']
Exploring Operation: 61-53=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 94:[5, 8] Operation: 61-53=8
Exploring Operation: 61-5=56, Resulting Numbers: [53, 56]
Generated Node #0,0,1: 94:[53, 56] Operation: 61-5=56
Exploring Operation: 53-5=48, Resulting Numbers: [61, 48]
Generated Node #0,0,2: 94:[61, 48] Operation: 53-5=48
Moving to Node #0,1
Current State: 94:[5, 61, 87], Operations: ['70+17=87']
Exploring Operation: 87-61=26, Resulting Numbers: [5, 26]
Generated Node #0,1,0: 94:[5, 26] Operation: 87-61=26
Exploring Operation: 5+87=92, Resulting Numbers: [61, 92]
Generated Node #0,1,1: 94:[61, 92] Operation: 5+87=92
Exploring Operation: 61-5=56, Resulting Numbers: [87, 56]
Generated Node #0,1,2: 94:[87, 56] Operation: 61-5=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[61, 92], Operations: ['70+17=87', '5+87=92']
Exploring Operation: 92-61=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 61+92=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 61*92=5612, Resulting Numbers: [5612]
5612,94 unequal: No Solution
No solution 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: 94:[87, 56], Operations: ['70+17=87', '61-5=56']
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,94 unequal: No Solution
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,94 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,94 unequal: No Solution
No solution 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: 94:[5, 26], Operations: ['70+17=87', '87-61=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,94 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,94 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: 94:[5, 17, 9], Operations: ['70-61=9']
Exploring Operation: 17-9=8, Resulting Numbers: [5, 8]
Generated Node #0,2,0: 94:[5, 8] Operation: 17-9=8
Exploring Operation: 5*17=85, Resulting Numbers: [9, 85]
Generated Node #0,2,1: 94:[9, 85] Operation: 5*17=85
Exploring Operation: 17-5=12, Resulting Numbers: [9, 12]
Generated Node #0,2,2: 94:[9, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[5, 8], Operations: ['70-61=9', '17-9=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,94 unequal: No Solution
No 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: 94:[9, 85], Operations: ['70-61=9', '5*17=85']
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Exploring Operation: 9*85=765, Resulting Numbers: [765]
765,94 unequal: No Solution
Exploring Operation: 9+85=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[5, 70, 17, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [5, 17, 9]
Generated Node #0,2: 94:[5, 17, 9] Operation: 70-61=9
Moving to Node #0,2
Current State: 94:[5, 17, 9], Operations: ['70-61=9']
Exploring Operation: 5*17=85, Resulting Numbers: [9, 85]
Generated Node #0,2,1: 94:[9, 85] Operation: 5*17=85
Moving to Node #0,2,1
Current State: 94:[9, 85], Operations: ['70-61=9', '5*17=85']
Exploring Operation: 9+85=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
96,
66,
15,
17
] | 15 | [
"96-66=30",
"17-15=2",
"30/2=15"
] | Current State: 15:[96, 66, 15, 17], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [15, 17, 30]
Generated Node #2: [15, 17, 30] from Operation: 96-66=30
Current State: 15:[15, 17, 30], Operations: ['96-66=30']
Exploring Operation: 17-15=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 17-15=2
Current State: 15:[30, 2], Operations: ['96-66=30', '17-15=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[96, 66, 15, 17], Operations: []
Exploring Operation: 96-17=79, Resulting Numbers: [66, 15, 79]
Generated Node #0,0: 15:[66, 15, 79] Operation: 96-17=79
Exploring Operation: 66-17=49, Resulting Numbers: [96, 15, 49]
Generated Node #0,1: 15:[96, 15, 49] Operation: 66-17=49
Exploring Operation: 96-66=30, Resulting Numbers: [15, 17, 30]
Generated Node #0,2: 15:[15, 17, 30] Operation: 96-66=30
Moving to Node #0,2
Current State: 15:[15, 17, 30], Operations: ['96-66=30']
Exploring Operation: 30/15=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 15:[17, 2] Operation: 30/15=2
Exploring Operation: 30-17=13, Resulting Numbers: [15, 13]
Generated Node #0,2,1: 15:[15, 13] Operation: 30-17=13
Exploring Operation: 30-15=15, Resulting Numbers: [17, 15]
Generated Node #0,2,2: 15:[17, 15] Operation: 30-15=15
Moving to Node #0,0
Current State: 15:[66, 15, 79], Operations: ['96-17=79']
Exploring Operation: 66-15=51, Resulting Numbers: [79, 51]
Generated Node #0,0,0: 15:[79, 51] Operation: 66-15=51
Exploring Operation: 79-66=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 15:[15, 13] Operation: 79-66=13
Exploring Operation: 79-15=64, Resulting Numbers: [66, 64]
Generated Node #0,0,2: 15:[66, 64] Operation: 79-15=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[15, 13], Operations: ['96-17=79', '79-66=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[79, 51], Operations: ['96-17=79', '66-15=51']
Exploring Operation: 79*51=4029, Resulting Numbers: [4029]
4029,15 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[66, 64], Operations: ['96-17=79', '79-15=64']
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,15 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,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:[96, 15, 49], Operations: ['66-17=49']
Exploring Operation: 96-49=47, Resulting Numbers: [15, 47]
Generated Node #0,1,0: 15:[15, 47] Operation: 96-49=47
Exploring Operation: 49-15=34, Resulting Numbers: [96, 34]
Generated Node #0,1,1: 15:[96, 34] Operation: 49-15=34
Exploring Operation: 96-15=81, Resulting Numbers: [49, 81]
Generated Node #0,1,2: 15:[49, 81] Operation: 96-15=81
Moving to Node #0,2,1
Current State: 15:[15, 13], Operations: ['96-66=30', '30-17=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[17, 15], Operations: ['96-66=30', '30-15=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,15 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[17, 2], Operations: ['96-66=30', '30/15=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[96, 66, 15, 17], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [15, 17, 30]
Generated Node #0,2: 15:[15, 17, 30] Operation: 96-66=30
Moving to Node #0,2
Current State: 15:[15, 17, 30], Operations: ['96-66=30']
Exploring Operation: 30/15=2, Resulting Numbers: [17, 2]
Generated Node #0,2,0: 15:[17, 2] Operation: 30/15=2
Moving to Node #0,2,0
Current State: 15:[17, 2], Operations: ['96-66=30', '30/15=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.972222 | hs_3 | mult_heuristic |
[
25,
43,
50,
8
] | 76 | [
"43-25=18",
"50+8=58",
"18+58=76"
] | Current State: 76:[25, 43, 50, 8], Operations: []
Exploring Operation: 43-25=18, Resulting Numbers: [50, 8, 18]
Generated Node #2: [50, 8, 18] from Operation: 43-25=18
Current State: 76:[50, 8, 18], Operations: ['43-25=18']
Exploring Operation: 50+8=58, Resulting Numbers: [18, 58]
Generated Node #3: [18, 58] from Operation: 50+8=58
Current State: 76:[18, 58], Operations: ['43-25=18', '50+8=58']
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[25, 43, 50, 8], Operations: []
Exploring Operation: 50-8=42, Resulting Numbers: [25, 43, 42]
Generated Node #0,0: 76:[25, 43, 42] Operation: 50-8=42
Exploring Operation: 25+50=75, Resulting Numbers: [43, 8, 75]
Generated Node #0,1: 76:[43, 8, 75] Operation: 25+50=75
Exploring Operation: 50/25=2, Resulting Numbers: [43, 8, 2]
Generated Node #0,2: 76:[43, 8, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [43, 8, 25]
Generated Node #0,3: 76:[43, 8, 25] Operation: 50-25=25
Exploring Operation: 50-43=7, Resulting Numbers: [25, 8, 7]
Generated Node #0,4: 76:[25, 8, 7] Operation: 50-43=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[43, 8, 2], Operations: ['50/25=2']
Exploring Operation: 8*2=16, Resulting Numbers: [43, 16]
Generated Node #0,2,0: 76:[43, 16] Operation: 8*2=16
Exploring Operation: 8/2=4, Resulting Numbers: [43, 4]
Generated Node #0,2,1: 76:[43, 4] Operation: 8/2=4
Exploring Operation: 43-2=41, Resulting Numbers: [8, 41]
Generated Node #0,2,2: 76:[8, 41] Operation: 43-2=41
Exploring Operation: 43-8=35, Resulting Numbers: [2, 35]
Generated Node #0,2,3: 76:[2, 35] Operation: 43-8=35
Exploring Operation: 8-2=6, Resulting Numbers: [43, 6]
Generated Node #0,2,4: 76:[43, 6] Operation: 8-2=6
Moving to Node #0,2,3
Current State: 76:[2, 35], Operations: ['50/25=2', '43-8=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[43, 4], Operations: ['50/25=2', '8/2=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,76 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[8, 41], Operations: ['50/25=2', '43-2=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,76 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[43, 6], Operations: ['50/25=2', '8-2=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[43, 16], Operations: ['50/25=2', '8*2=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[43, 8, 75], Operations: ['25+50=75']
Exploring Operation: 75-43=32, Resulting Numbers: [8, 32]
Generated Node #0,1,0: 76:[8, 32] Operation: 75-43=32
Exploring Operation: 8+75=83, Resulting Numbers: [43, 83]
Generated Node #0,1,1: 76:[43, 83] Operation: 8+75=83
Exploring Operation: 75-8=67, Resulting Numbers: [43, 67]
Generated Node #0,1,2: 76:[43, 67] Operation: 75-8=67
Exploring Operation: 43-8=35, Resulting Numbers: [75, 35]
Generated Node #0,1,3: 76:[75, 35] Operation: 43-8=35
Exploring Operation: 43+8=51, Resulting Numbers: [75, 51]
Generated Node #0,1,4: 76:[75, 51] Operation: 43+8=51
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[75, 35], Operations: ['25+50=75', '43-8=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No 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: 76:[8, 32], Operations: ['25+50=75', '75-43=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,76 unequal: No Solution
No 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: 76:[43, 83], Operations: ['25+50=75', '8+75=83']
Exploring Operation: 43*83=3569, Resulting Numbers: [3569]
3569,76 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 43+83=126, Resulting Numbers: [126]
126,76 unequal: No Solution
No 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: 76:[43, 67], Operations: ['25+50=75', '75-8=67']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 43*67=2881, Resulting Numbers: [2881]
2881,76 unequal: No Solution
No 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: 76:[75, 51], Operations: ['25+50=75', '43+8=51']
Exploring Operation: 75*51=3825, Resulting Numbers: [3825]
3825,76 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 75+51=126, Resulting Numbers: [126]
126,76 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: 76:[25, 8, 7], Operations: ['50-43=7']
Exploring Operation: 25+8=33, Resulting Numbers: [7, 33]
Generated Node #0,4,0: 76:[7, 33] Operation: 25+8=33
Exploring Operation: 8-7=1, Resulting Numbers: [25, 1]
Generated Node #0,4,1: 76:[25, 1] Operation: 8-7=1
Exploring Operation: 25-7=18, Resulting Numbers: [8, 18]
Generated Node #0,4,2: 76:[8, 18] Operation: 25-7=18
Exploring Operation: 25-8=17, Resulting Numbers: [7, 17]
Generated Node #0,4,3: 76:[7, 17] Operation: 25-8=17
Exploring Operation: 25+7=32, Resulting Numbers: [8, 32]
Generated Node #0,4,4: 76:[8, 32] Operation: 25+7=32
Moving to Node #0,4,2
Current State: 76:[8, 18], Operations: ['50-43=7', '25-7=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Moving to Node #0,4,3
Current State: 76:[7, 17], Operations: ['50-43=7', '25-8=17']
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,76 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Moving to Node #0,4,1
Current State: 76:[25, 1], Operations: ['50-43=7', '8-7=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,4,0
Current State: 76:[7, 33], Operations: ['50-43=7', '25+8=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,76 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,4,4
Current State: 76:[8, 32], Operations: ['50-43=7', '25+7=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[25, 43, 42], Operations: ['50-8=42']
Exploring Operation: 42-25=17, Resulting Numbers: [43, 17]
Generated Node #0,0,0: 76:[43, 17] Operation: 42-25=17
Exploring Operation: 43-42=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 76:[25, 1] Operation: 43-42=1
Exploring Operation: 43-25=18, Resulting Numbers: [42, 18]
Generated Node #0,0,2: 76:[42, 18] Operation: 43-25=18
Exploring Operation: 25+42=67, Resulting Numbers: [43, 67]
Generated Node #0,0,3: 76:[43, 67] Operation: 25+42=67
Exploring Operation: 25+43=68, Resulting Numbers: [42, 68]
Generated Node #0,0,4: 76:[42, 68] Operation: 25+43=68
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[42, 18], Operations: ['50-8=42', '43-25=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,76 unequal: No Solution
No 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: 76:[43, 17], Operations: ['50-8=42', '42-25=17']
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,76 unequal: No Solution
No 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: 76:[25, 1], Operations: ['50-8=42', '43-42=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,76 unequal: No Solution
No 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: 76:[42, 68], Operations: ['50-8=42', '25+43=68']
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,76 unequal: No Solution
No 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: 76:[43, 67], Operations: ['50-8=42', '25+42=67']
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 43*67=2881, Resulting Numbers: [2881]
2881,76 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,76 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: 76:[43, 8, 25], Operations: ['50-25=25']
Exploring Operation: 25-8=17, Resulting Numbers: [43, 17]
Generated Node #0,3,0: 76:[43, 17] Operation: 25-8=17
Exploring Operation: 8+25=33, Resulting Numbers: [43, 33]
Generated Node #0,3,1: 76:[43, 33] Operation: 8+25=33
Exploring Operation: 43+25=68, Resulting Numbers: [8, 68]
Generated Node #0,3,2: 76:[8, 68] Operation: 43+25=68
Exploring Operation: 43-8=35, Resulting Numbers: [25, 35]
Generated Node #0,3,3: 76:[25, 35] Operation: 43-8=35
Exploring Operation: 43-25=18, Resulting Numbers: [8, 18]
Generated Node #0,3,4: 76:[8, 18] Operation: 43-25=18
Moving to Node #0,3,4
Current State: 76:[8, 18], Operations: ['50-25=25', '43-25=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,76 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[43, 17], Operations: ['50-25=25', '25-8=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,76 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[25, 35], Operations: ['50-25=25', '43-8=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[43, 33], Operations: ['50-25=25', '8+25=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[25, 43, 50, 8], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [43, 8, 25]
Generated Node #0,3: 76:[43, 8, 25] Operation: 50-25=25
Moving to Node #0,3
Current State: 76:[43, 8, 25], Operations: ['50-25=25']
Exploring Operation: 8+25=33, Resulting Numbers: [43, 33]
Generated Node #0,3,1: 76:[43, 33] Operation: 8+25=33
Moving to Node #0,3,1
Current State: 76:[43, 33], Operations: ['50-25=25', '8+25=33']
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.905382 | hs_5 | sum_heuristic |
[
86,
24,
31,
72
] | 36 | [
"86-24=62",
"31*72=2232",
"2232/62=36"
] | Current State: 36:[86, 24, 31, 72], Operations: []
Exploring Operation: 86-24=62, Resulting Numbers: [31, 72, 62]
Generated Node #2: [31, 72, 62] from Operation: 86-24=62
Current State: 36:[31, 72, 62], Operations: ['86-24=62']
Exploring Operation: 31*72=2232, Resulting Numbers: [62, 2232]
Generated Node #3: [62, 2232] from Operation: 31*72=2232
Current State: 36:[62, 2232], Operations: ['86-24=62', '31*72=2232']
Exploring Operation: 2232/62=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[86, 24, 31, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [24, 31, 14]
Generated Node #0,0: 36:[24, 31, 14] Operation: 86-72=14
Exploring Operation: 86-31=55, Resulting Numbers: [24, 72, 55]
Generated Node #0,1: 36:[24, 72, 55] Operation: 86-31=55
Exploring Operation: 72/24=3, Resulting Numbers: [86, 31, 3]
Generated Node #0,2: 36:[86, 31, 3] Operation: 72/24=3
Moving to Node #0,0
Current State: 36:[24, 31, 14], Operations: ['86-72=14']
Exploring Operation: 24-14=10, Resulting Numbers: [31, 10]
Generated Node #0,0,0: 36:[31, 10] Operation: 24-14=10
Exploring Operation: 31-24=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 36:[14, 7] Operation: 31-24=7
Exploring Operation: 24+14=38, Resulting Numbers: [31, 38]
Generated Node #0,0,2: 36:[31, 38] Operation: 24+14=38
Moving to Node #0,2
Current State: 36:[86, 31, 3], Operations: ['72/24=3']
Exploring Operation: 86-31=55, Resulting Numbers: [3, 55]
Generated Node #0,2,0: 36:[3, 55] Operation: 86-31=55
Exploring Operation: 86-3=83, Resulting Numbers: [31, 83]
Generated Node #0,2,1: 36:[31, 83] Operation: 86-3=83
Exploring Operation: 31+3=34, Resulting Numbers: [86, 34]
Generated Node #0,2,2: 36:[86, 34] Operation: 31+3=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[3, 55], Operations: ['72/24=3', '86-31=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,36 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,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,2,1
Current State: 36:[31, 83], Operations: ['72/24=3', '86-3=83']
Exploring Operation: 31+83=114, Resulting Numbers: [114]
114,36 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 31*83=2573, Resulting Numbers: [2573]
2573,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,2,2
Current State: 36:[86, 34], Operations: ['72/24=3', '31+3=34']
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,36 unequal: No Solution
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,36 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: 36:[24, 72, 55], Operations: ['86-31=55']
Exploring Operation: 72/24=3, Resulting Numbers: [55, 3]
Generated Node #0,1,0: 36:[55, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [55, 48]
Generated Node #0,1,1: 36:[55, 48] Operation: 72-24=48
Exploring Operation: 72-55=17, Resulting Numbers: [24, 17]
Generated Node #0,1,2: 36:[24, 17] Operation: 72-55=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[24, 17], Operations: ['86-31=55', '72-55=17']
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,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,1,0
Current State: 36:[55, 3], Operations: ['86-31=55', '72/24=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,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,1,1
Current State: 36:[55, 48], Operations: ['86-31=55', '72-24=48']
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,36 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,36 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: 36:[14, 7], Operations: ['86-72=14', '31-24=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[31, 10], Operations: ['86-72=14', '24-14=10']
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,36 unequal: No Solution
Exploring Operation: 31*10=310, Resulting Numbers: [310]
310,36 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[31, 38], Operations: ['86-72=14', '24+14=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
80,
95,
27,
47
] | 91 | [
"47-27=20",
"80/20=4",
"95-4=91"
] | Current State: 91:[80, 95, 27, 47], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [80, 95, 20]
Generated Node #2: [80, 95, 20] from Operation: 47-27=20
Current State: 91:[80, 95, 20], Operations: ['47-27=20']
Exploring Operation: 80/20=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 80/20=4
Current State: 91:[95, 4], Operations: ['47-27=20', '80/20=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[80, 95, 27, 47], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [80, 95, 20]
Generated Node #0,0: 91:[80, 95, 20] Operation: 47-27=20
Moving to Node #0,0
Current State: 91:[80, 95, 20], Operations: ['47-27=20']
Exploring Operation: 80/20=4, Resulting Numbers: [95, 4]
Generated Node #0,0,0: 91:[95, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[95, 4], Operations: ['47-27=20', '80/20=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[80, 95, 27, 47], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [80, 95, 20]
Generated Node #0,0: 91:[80, 95, 20] Operation: 47-27=20
Moving to Node #0,0
Current State: 91:[80, 95, 20], Operations: ['47-27=20']
Exploring Operation: 80/20=4, Resulting Numbers: [95, 4]
Generated Node #0,0,0: 91:[95, 4] Operation: 80/20=4
Moving to Node #0,0,0
Current State: 91:[95, 4], Operations: ['47-27=20', '80/20=4']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
13,
12,
7,
20
] | 38 | [
"13+12=25",
"20-7=13",
"25+13=38"
] | Current State: 38:[13, 12, 7, 20], Operations: []
Exploring Operation: 13+12=25, Resulting Numbers: [7, 20, 25]
Generated Node #2: [7, 20, 25] from Operation: 13+12=25
Current State: 38:[7, 20, 25], Operations: ['13+12=25']
Exploring Operation: 20-7=13, Resulting Numbers: [25, 13]
Generated Node #3: [25, 13] from Operation: 20-7=13
Current State: 38:[25, 13], Operations: ['13+12=25', '20-7=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[13, 12, 7, 20], Operations: []
Exploring Operation: 12+7=19, Resulting Numbers: [13, 20, 19]
Generated Node #0,0: 38:[13, 20, 19] Operation: 12+7=19
Exploring Operation: 13-12=1, Resulting Numbers: [7, 20, 1]
Generated Node #0,1: 38:[7, 20, 1] Operation: 13-12=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[13, 20, 19], Operations: ['12+7=19']
Exploring Operation: 13+20=33, Resulting Numbers: [19, 33]
Generated Node #0,0,0: 38:[19, 33] Operation: 13+20=33
Exploring Operation: 20-13=7, Resulting Numbers: [19, 7]
Generated Node #0,0,1: 38:[19, 7] Operation: 20-13=7
Moving to Node #0,0,0
Current State: 38:[19, 33], Operations: ['12+7=19', '13+20=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[19, 7], Operations: ['12+7=19', '20-13=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[7, 20, 1], Operations: ['13-12=1']
Exploring Operation: 7-1=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 38:[20, 6] Operation: 7-1=6
Exploring Operation: 20-1=19, Resulting Numbers: [7, 19]
Generated Node #0,1,1: 38:[7, 19] Operation: 20-1=19
Moving to Node #0,1,0
Current State: 38:[20, 6], Operations: ['13-12=1', '7-1=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[7, 19], Operations: ['13-12=1', '20-1=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,38 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 |
[
18,
98,
31,
23
] | 62 | [
"18+98=116",
"31+23=54",
"116-54=62"
] | Current State: 62:[18, 98, 31, 23], Operations: []
Exploring Operation: 18+98=116, Resulting Numbers: [31, 23, 116]
Generated Node #2: [31, 23, 116] from Operation: 18+98=116
Current State: 62:[31, 23, 116], Operations: ['18+98=116']
Exploring Operation: 31+23=54, Resulting Numbers: [116, 54]
Generated Node #3: [116, 54] from Operation: 31+23=54
Current State: 62:[116, 54], Operations: ['18+98=116', '31+23=54']
Exploring Operation: 116-54=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[18, 98, 31, 23], Operations: []
Exploring Operation: 98-31=67, Resulting Numbers: [18, 23, 67]
Generated Node #0,0: 62:[18, 23, 67] Operation: 98-31=67
Exploring Operation: 98-18=80, Resulting Numbers: [31, 23, 80]
Generated Node #0,1: 62:[31, 23, 80] Operation: 98-18=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[18, 23, 67], Operations: ['98-31=67']
Exploring Operation: 23-18=5, Resulting Numbers: [67, 5]
Generated Node #0,0,0: 62:[67, 5] Operation: 23-18=5
Exploring Operation: 18+23=41, Resulting Numbers: [67, 41]
Generated Node #0,0,1: 62:[67, 41] Operation: 18+23=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[67, 5], Operations: ['98-31=67', '23-18=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[18, 98, 31, 23], Operations: []
Exploring Operation: 98-31=67, Resulting Numbers: [18, 23, 67]
Generated Node #0,0: 62:[18, 23, 67] Operation: 98-31=67
Moving to Node #0,0
Current State: 62:[18, 23, 67], Operations: ['98-31=67']
Exploring Operation: 23-18=5, Resulting Numbers: [67, 5]
Generated Node #0,0,0: 62:[67, 5] Operation: 23-18=5
Moving to Node #0,0,0
Current State: 62:[67, 5], Operations: ['98-31=67', '23-18=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
2,
33,
53,
11
] | 54 | [
"53-2=51",
"33/11=3",
"51+3=54"
] | Current State: 54:[2, 33, 53, 11], Operations: []
Exploring Operation: 53-2=51, Resulting Numbers: [33, 11, 51]
Generated Node #2: [33, 11, 51] from Operation: 53-2=51
Current State: 54:[33, 11, 51], Operations: ['53-2=51']
Exploring Operation: 33/11=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 33/11=3
Current State: 54:[51, 3], Operations: ['53-2=51', '33/11=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[2, 33, 53, 11], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [2, 11, 20]
Generated Node #0,0: 54:[2, 11, 20] Operation: 53-33=20
Exploring Operation: 33/11=3, Resulting Numbers: [2, 53, 3]
Generated Node #0,1: 54:[2, 53, 3] Operation: 33/11=3
Exploring Operation: 33-11=22, Resulting Numbers: [2, 53, 22]
Generated Node #0,2: 54:[2, 53, 22] Operation: 33-11=22
Exploring Operation: 33-2=31, Resulting Numbers: [53, 11, 31]
Generated Node #0,3: 54:[53, 11, 31] Operation: 33-2=31
Exploring Operation: 11-2=9, Resulting Numbers: [33, 53, 9]
Generated Node #0,4: 54:[33, 53, 9] Operation: 11-2=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[2, 53, 3], Operations: ['33/11=3']
Exploring Operation: 53+3=56, Resulting Numbers: [2, 56]
Generated Node #0,1,0: 54:[2, 56] Operation: 53+3=56
Exploring Operation: 2*3=6, Resulting Numbers: [53, 6]
Generated Node #0,1,1: 54:[53, 6] Operation: 2*3=6
Exploring Operation: 2+53=55, Resulting Numbers: [3, 55]
Generated Node #0,1,2: 54:[3, 55] Operation: 2+53=55
Exploring Operation: 2+3=5, Resulting Numbers: [53, 5]
Generated Node #0,1,3: 54:[53, 5] Operation: 2+3=5
Exploring Operation: 3-2=1, Resulting Numbers: [53, 1]
Generated Node #0,1,4: 54:[53, 1] Operation: 3-2=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[53, 6], Operations: ['33/11=3', '2*3=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,54 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,54 unequal: No Solution
No 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: 54:[3, 55], Operations: ['33/11=3', '2+53=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,54 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,54 unequal: No Solution
No 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: 54:[2, 56], Operations: ['33/11=3', '53+3=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[2, 33, 53, 11], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [2, 53, 3]
Generated Node #0,1: 54:[2, 53, 3] Operation: 33/11=3
Moving to Node #0,1
Current State: 54:[2, 53, 3], Operations: ['33/11=3']
Exploring Operation: 53+3=56, Resulting Numbers: [2, 56]
Generated Node #0,1,0: 54:[2, 56] Operation: 53+3=56
Moving to Node #0,1,0
Current State: 54:[2, 56], Operations: ['33/11=3', '53+3=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
6,
41,
29,
68
] | 23 | [
"41+29=70",
"68+70=138",
"138/6=23"
] | Current State: 23:[6, 41, 29, 68], Operations: []
Exploring Operation: 41+29=70, Resulting Numbers: [6, 68, 70]
Generated Node #2: [6, 68, 70] from Operation: 41+29=70
Current State: 23:[6, 68, 70], Operations: ['41+29=70']
Exploring Operation: 68+70=138, Resulting Numbers: [6, 138]
Generated Node #3: [6, 138] from Operation: 68+70=138
Current State: 23:[6, 138], Operations: ['41+29=70', '68+70=138']
Exploring Operation: 138/6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[6, 41, 29, 68], Operations: []
Exploring Operation: 68-41=27, Resulting Numbers: [6, 29, 27]
Generated Node #0,0: 23:[6, 29, 27] Operation: 68-41=27
Exploring Operation: 68-29=39, Resulting Numbers: [6, 41, 39]
Generated Node #0,1: 23:[6, 41, 39] Operation: 68-29=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[6, 29, 27], Operations: ['68-41=27']
Exploring Operation: 29-6=23, Resulting Numbers: [27, 23]
Generated Node #0,0,0: 23:[27, 23] Operation: 29-6=23
Exploring Operation: 27-6=21, Resulting Numbers: [29, 21]
Generated Node #0,0,1: 23:[29, 21] Operation: 27-6=21
Moving to Node #0,0,0
Current State: 23:[27, 23], Operations: ['68-41=27', '29-6=23']
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[29, 21], Operations: ['68-41=27', '27-6=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,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,1
Current State: 23:[6, 41, 39], Operations: ['68-29=39']
Exploring Operation: 39-6=33, Resulting Numbers: [41, 33]
Generated Node #0,1,0: 23:[41, 33] Operation: 39-6=33
Exploring Operation: 41-6=35, Resulting Numbers: [39, 35]
Generated Node #0,1,1: 23:[39, 35] Operation: 41-6=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[41, 33], Operations: ['68-29=39', '39-6=33']
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[39, 35], Operations: ['68-29=39', '41-6=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
1,
24,
69
] | 96 | [
"32*69=2208",
"24-1=23",
"2208/23=96"
] | Current State: 96:[32, 1, 24, 69], Operations: []
Exploring Operation: 32*69=2208, Resulting Numbers: [1, 24, 2208]
Generated Node #2: [1, 24, 2208] from Operation: 32*69=2208
Current State: 96:[1, 24, 2208], Operations: ['32*69=2208']
Exploring Operation: 24-1=23, Resulting Numbers: [2208, 23]
Generated Node #3: [2208, 23] from Operation: 24-1=23
Current State: 96:[2208, 23], Operations: ['32*69=2208', '24-1=23']
Exploring Operation: 2208/23=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[32, 1, 24, 69], Operations: []
Exploring Operation: 69-24=45, Resulting Numbers: [32, 1, 45]
Generated Node #0,0: 96:[32, 1, 45] Operation: 69-24=45
Exploring Operation: 24+69=93, Resulting Numbers: [32, 1, 93]
Generated Node #0,1: 96:[32, 1, 93] Operation: 24+69=93
Exploring Operation: 32+69=101, Resulting Numbers: [1, 24, 101]
Generated Node #0,2: 96:[1, 24, 101] Operation: 32+69=101
Exploring Operation: 69-32=37, Resulting Numbers: [1, 24, 37]
Generated Node #0,3: 96:[1, 24, 37] Operation: 69-32=37
Moving to Node #0,0
Current State: 96:[32, 1, 45], Operations: ['69-24=45']
Exploring Operation: 32*1=32, Resulting Numbers: [45, 32]
Generated Node #0,0,0: 96:[45, 32] Operation: 32*1=32
Exploring Operation: 32/1=32, Resulting Numbers: [45, 32]
Generated Node #0,0,1: 96:[45, 32] Operation: 32/1=32
Exploring Operation: 1+45=46, Resulting Numbers: [32, 46]
Generated Node #0,0,2: 96:[32, 46] Operation: 1+45=46
Exploring Operation: 45-32=13, Resulting Numbers: [1, 13]
Generated Node #0,0,3: 96:[1, 13] Operation: 45-32=13
Moving to Node #0,1
Current State: 96:[32, 1, 93], Operations: ['24+69=93']
Exploring Operation: 1*93=93, Resulting Numbers: [32, 93]
Generated Node #0,1,0: 96:[32, 93] Operation: 1*93=93
Exploring Operation: 1+93=94, Resulting Numbers: [32, 94]
Generated Node #0,1,1: 96:[32, 94] Operation: 1+93=94
Exploring Operation: 32/1=32, Resulting Numbers: [93, 32]
Generated Node #0,1,2: 96:[93, 32] Operation: 32/1=32
Exploring Operation: 32*1=32, Resulting Numbers: [93, 32]
Generated Node #0,1,3: 96:[93, 32] Operation: 32*1=32
Moving to Node #0,3
Current State: 96:[1, 24, 37], Operations: ['69-32=37']
Exploring Operation: 37-24=13, Resulting Numbers: [1, 13]
Generated Node #0,3,0: 96:[1, 13] Operation: 37-24=13
Exploring Operation: 24/1=24, Resulting Numbers: [37, 24]
Generated Node #0,3,1: 96:[37, 24] Operation: 24/1=24
Exploring Operation: 1*24=24, Resulting Numbers: [37, 24]
Generated Node #0,3,2: 96:[37, 24] Operation: 1*24=24
Exploring Operation: 37-1=36, Resulting Numbers: [24, 36]
Generated Node #0,3,3: 96:[24, 36] Operation: 37-1=36
Moving to Node #0,2
Current State: 96:[1, 24, 101], Operations: ['32+69=101']
Exploring Operation: 24/1=24, Resulting Numbers: [101, 24]
Generated Node #0,2,0: 96:[101, 24] Operation: 24/1=24
Exploring Operation: 1*24=24, Resulting Numbers: [101, 24]
Generated Node #0,2,1: 96:[101, 24] Operation: 1*24=24
Exploring Operation: 101-1=100, Resulting Numbers: [24, 100]
Generated Node #0,2,2: 96:[24, 100] Operation: 101-1=100
Exploring Operation: 1*101=101, Resulting Numbers: [24, 101]
Generated Node #0,2,3: 96:[24, 101] Operation: 1*101=101
Moving to Node #0,0,2
Current State: 96:[32, 46], Operations: ['69-24=45', '1+45=46']
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,96 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[1, 13], Operations: ['69-24=45', '45-32=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[32, 94], Operations: ['24+69=93', '1+93=94']
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 32*94=3008, Resulting Numbers: [3008]
3008,96 unequal: No Solution
Exploring Operation: 32+94=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[1, 13], Operations: ['69-32=37', '37-24=13']
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[45, 32], Operations: ['69-24=45', '32*1=32']
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,96 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[93, 32], Operations: ['24+69=93', '32/1=32']
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,96 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,96 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[32, 93], Operations: ['24+69=93', '1*93=93']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 32+93=125, Resulting Numbers: [125]
125,96 unequal: No Solution
Exploring Operation: 32*93=2976, Resulting Numbers: [2976]
2976,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[45, 32], Operations: ['69-24=45', '32/1=32']
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,96 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[93, 32], Operations: ['24+69=93', '32*1=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,96 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[24, 100], Operations: ['32+69=101', '101-1=100']
Exploring Operation: 24*100=2400, Resulting Numbers: [2400]
2400,96 unequal: No Solution
Exploring Operation: 24+100=124, Resulting Numbers: [124]
124,96 unequal: No Solution
Exploring Operation: 100-24=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[24, 36], Operations: ['69-32=37', '37-1=36']
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,96 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[37, 24], Operations: ['69-32=37', '24/1=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,96 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[37, 24], Operations: ['69-32=37', '1*24=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,96 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[101, 24], Operations: ['32+69=101', '24/1=24']
Exploring Operation: 101*24=2424, Resulting Numbers: [2424]
2424,96 unequal: No Solution
Exploring Operation: 101+24=125, Resulting Numbers: [125]
125,96 unequal: No Solution
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[24, 101], Operations: ['32+69=101', '1*101=101']
Exploring Operation: 24+101=125, Resulting Numbers: [125]
125,96 unequal: No Solution
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 24*101=2424, Resulting Numbers: [2424]
2424,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[101, 24], Operations: ['32+69=101', '1*24=24']
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 101+24=125, Resulting Numbers: [125]
125,96 unequal: No Solution
Exploring Operation: 101*24=2424, Resulting Numbers: [2424]
2424,96 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
76,
26,
47
] | 19 | [
"69-26=43",
"47-43=4",
"76/4=19"
] | Current State: 19:[69, 76, 26, 47], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [76, 47, 43]
Generated Node #2: [76, 47, 43] from Operation: 69-26=43
Current State: 19:[76, 47, 43], Operations: ['69-26=43']
Exploring Operation: 47-43=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 47-43=4
Current State: 19:[76, 4], Operations: ['69-26=43', '47-43=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[69, 76, 26, 47], Operations: []
Exploring Operation: 76-69=7, Resulting Numbers: [26, 47, 7]
Generated Node #0,0: 19:[26, 47, 7] Operation: 76-69=7
Exploring Operation: 69-47=22, Resulting Numbers: [76, 26, 22]
Generated Node #0,1: 19:[76, 26, 22] Operation: 69-47=22
Moving to Node #0,0
Current State: 19:[26, 47, 7], Operations: ['76-69=7']
Exploring Operation: 26-7=19, Resulting Numbers: [47, 19]
Generated Node #0,0,0: 19:[47, 19] Operation: 26-7=19
Exploring Operation: 47-26=21, Resulting Numbers: [7, 21]
Generated Node #0,0,1: 19:[7, 21] Operation: 47-26=21
Moving to Node #0,1
Current State: 19:[76, 26, 22], Operations: ['69-47=22']
Exploring Operation: 76-22=54, Resulting Numbers: [26, 54]
Generated Node #0,1,0: 19:[26, 54] Operation: 76-22=54
Exploring Operation: 76-26=50, Resulting Numbers: [22, 50]
Generated Node #0,1,1: 19:[22, 50] Operation: 76-26=50
Moving to Node #0,0,1
Current State: 19:[7, 21], Operations: ['76-69=7', '47-26=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[47, 19], Operations: ['76-69=7', '26-7=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[22, 50], Operations: ['69-47=22', '76-26=50']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[26, 54], Operations: ['69-47=22', '76-22=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
78,
55,
79
] | 28 | [
"82-78=4",
"79-55=24",
"4+24=28"
] | Current State: 28:[82, 78, 55, 79], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [55, 79, 4]
Generated Node #2: [55, 79, 4] from Operation: 82-78=4
Current State: 28:[55, 79, 4], Operations: ['82-78=4']
Exploring Operation: 79-55=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 79-55=24
Current State: 28:[4, 24], Operations: ['82-78=4', '79-55=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[82, 78, 55, 79], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [55, 79, 4]
Generated Node #0,0: 28:[55, 79, 4] Operation: 82-78=4
Exploring Operation: 82-79=3, Resulting Numbers: [78, 55, 3]
Generated Node #0,1: 28:[78, 55, 3] Operation: 82-79=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[55, 79, 4], Operations: ['82-78=4']
Exploring Operation: 79-55=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 28:[4, 24] Operation: 79-55=24
Exploring Operation: 55-4=51, Resulting Numbers: [79, 51]
Generated Node #0,0,1: 28:[79, 51] Operation: 55-4=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[4, 24], Operations: ['82-78=4', '79-55=24']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[82, 78, 55, 79], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [55, 79, 4]
Generated Node #0,0: 28:[55, 79, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 28:[55, 79, 4], Operations: ['82-78=4']
Exploring Operation: 79-55=24, Resulting Numbers: [4, 24]
Generated Node #0,0,0: 28:[4, 24] Operation: 79-55=24
Moving to Node #0,0,0
Current State: 28:[4, 24], Operations: ['82-78=4', '79-55=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
24,
3,
3,
16
] | 91 | [
"24*3=72",
"3+16=19",
"72+19=91"
] | Current State: 91:[24, 3, 3, 16], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [16, 72]
Generated Node #2: [16, 72] from Operation: 24*3=72
Current State: 91:[16, 72], Operations: ['24*3=72']
Exploring Operation: 3+16=19, Resulting Numbers: [72, 19]
Generated Node #3: [72, 19] from Operation: 3+16=19
Current State: 91:[72, 19], Operations: ['24*3=72', '3+16=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[24, 3, 3, 16], Operations: []
Exploring Operation: 24-16=8, Resulting Numbers: [3, 3, 8]
Generated Node #0,0: 91:[3, 3, 8] Operation: 24-16=8
Exploring Operation: 24/3=8, Resulting Numbers: [3, 16, 8]
Generated Node #0,1: 91:[3, 16, 8] Operation: 24/3=8
Exploring Operation: 24/3=8, Resulting Numbers: [3, 16, 8]
Generated Node #0,2: 91:[3, 16, 8] Operation: 24/3=8
Exploring Operation: 24-3=21, Resulting Numbers: [3, 16, 21]
Generated Node #0,3: 91:[3, 16, 21] Operation: 24-3=21
Moving to Node #0,1
Current State: 91:[3, 16, 8], Operations: ['24/3=8']
Exploring Operation: 16-8=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 91:[3, 8] Operation: 16-8=8
Exploring Operation: 16-3=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 91:[8, 13] Operation: 16-3=13
Exploring Operation: 8-3=5, Resulting Numbers: [16, 5]
Generated Node #0,1,2: 91:[16, 5] Operation: 8-3=5
Exploring Operation: 3+8=11, Resulting Numbers: [16, 11]
Generated Node #0,1,3: 91:[16, 11] Operation: 3+8=11
Moving to Node #0,2
Current State: 91:[3, 16, 8], Operations: ['24/3=8']
Exploring Operation: 16-8=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 91:[3, 8] Operation: 16-8=8
Exploring Operation: 8-3=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 91:[16, 5] Operation: 8-3=5
Exploring Operation: 16-3=13, Resulting Numbers: [8, 13]
Generated Node #0,2,2: 91:[8, 13] Operation: 16-3=13
Exploring Operation: 3+8=11, Resulting Numbers: [16, 11]
Generated Node #0,2,3: 91:[16, 11] Operation: 3+8=11
Moving to Node #0,0
Current State: 91:[3, 3, 8], Operations: ['24-16=8']
Exploring Operation: 8-3=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 91:[3, 5] Operation: 8-3=5
Exploring Operation: 3*3=9, Resulting Numbers: [8, 9]
Generated Node #0,0,1: 91:[8, 9] Operation: 3*3=9
Exploring Operation: 3+3=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 91:[8, 6] Operation: 3+3=6
Exploring Operation: 3+8=11, Resulting Numbers: [3, 11]
Generated Node #0,0,3: 91:[3, 11] Operation: 3+8=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[8, 6], Operations: ['24-16=8', '3+3=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[8, 9], Operations: ['24-16=8', '3*3=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,91 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[3, 5], Operations: ['24-16=8', '8-3=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[3, 11], Operations: ['24-16=8', '3+8=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 91:[3, 16, 21], Operations: ['24-3=21']
Exploring Operation: 21-3=18, Resulting Numbers: [16, 18]
Generated Node #0,3,0: 91:[16, 18] Operation: 21-3=18
Exploring Operation: 21-16=5, Resulting Numbers: [3, 5]
Generated Node #0,3,1: 91:[3, 5] Operation: 21-16=5
Exploring Operation: 16-3=13, Resulting Numbers: [21, 13]
Generated Node #0,3,2: 91:[21, 13] Operation: 16-3=13
Exploring Operation: 21/3=7, Resulting Numbers: [16, 7]
Generated Node #0,3,3: 91:[16, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[16, 7], Operations: ['24-3=21', '21/3=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[3, 5], Operations: ['24-3=21', '21-16=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,91 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[16, 18], Operations: ['24-3=21', '21-3=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,91 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[21, 13], Operations: ['24-3=21', '16-3=13']
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,91 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,91 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 91:[8, 13], Operations: ['24/3=8', '16-3=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[8, 13], Operations: ['24/3=8', '16-3=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[16, 5], Operations: ['24/3=8', '8-3=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[3, 8], Operations: ['24/3=8', '16-8=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[16, 5], Operations: ['24/3=8', '8-3=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,91 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[16, 11], Operations: ['24/3=8', '3+8=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,91 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[3, 8], Operations: ['24/3=8', '16-8=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[16, 11], Operations: ['24/3=8', '3+8=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,91 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
98,
1,
55,
83
] | 41 | [
"98-1=97",
"55+83=138",
"138-97=41"
] | Current State: 41:[98, 1, 55, 83], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [55, 83, 97]
Generated Node #2: [55, 83, 97] from Operation: 98-1=97
Current State: 41:[55, 83, 97], Operations: ['98-1=97']
Exploring Operation: 55+83=138, Resulting Numbers: [97, 138]
Generated Node #3: [97, 138] from Operation: 55+83=138
Current State: 41:[97, 138], Operations: ['98-1=97', '55+83=138']
Exploring Operation: 138-97=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[98, 1, 55, 83], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [1, 83, 43]
Generated Node #0,0: 41:[1, 83, 43] Operation: 98-55=43
Exploring Operation: 98-83=15, Resulting Numbers: [1, 55, 15]
Generated Node #0,1: 41:[1, 55, 15] Operation: 98-83=15
Moving to Node #0,1
Current State: 41:[1, 55, 15], Operations: ['98-83=15']
Exploring Operation: 1+15=16, Resulting Numbers: [55, 16]
Generated Node #0,1,0: 41:[55, 16] Operation: 1+15=16
Exploring Operation: 55-1=54, Resulting Numbers: [15, 54]
Generated Node #0,1,1: 41:[15, 54] Operation: 55-1=54
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[55, 16], Operations: ['98-83=15', '1+15=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,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,1,1
Current State: 41:[15, 54], Operations: ['98-83=15', '55-1=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,41 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: 41:[1, 83, 43], Operations: ['98-55=43']
Exploring Operation: 83-43=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 41:[1, 40] Operation: 83-43=40
Exploring Operation: 83-1=82, Resulting Numbers: [43, 82]
Generated Node #0,0,1: 41:[43, 82] Operation: 83-1=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[1, 40], Operations: ['98-55=43', '83-43=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[98, 1, 55, 83], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [1, 83, 43]
Generated Node #0,0: 41:[1, 83, 43] Operation: 98-55=43
Moving to Node #0,0
Current State: 41:[1, 83, 43], Operations: ['98-55=43']
Exploring Operation: 83-43=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 41:[1, 40] Operation: 83-43=40
Moving to Node #0,0,0
Current State: 41:[1, 40], Operations: ['98-55=43', '83-43=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
50,
30,
36,
42
] | 25 | [
"50*36=1800",
"30+42=72",
"1800/72=25"
] | Current State: 25:[50, 30, 36, 42], Operations: []
Exploring Operation: 50*36=1800, Resulting Numbers: [30, 42, 1800]
Generated Node #2: [30, 42, 1800] from Operation: 50*36=1800
Current State: 25:[30, 42, 1800], Operations: ['50*36=1800']
Exploring Operation: 30+42=72, Resulting Numbers: [1800, 72]
Generated Node #3: [1800, 72] from Operation: 30+42=72
Current State: 25:[1800, 72], Operations: ['50*36=1800', '30+42=72']
Exploring Operation: 1800/72=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[50, 30, 36, 42], Operations: []
Exploring Operation: 42-36=6, Resulting Numbers: [50, 30, 6]
Generated Node #0,0: 25:[50, 30, 6] Operation: 42-36=6
Exploring Operation: 50-36=14, Resulting Numbers: [30, 42, 14]
Generated Node #0,1: 25:[30, 42, 14] Operation: 50-36=14
Exploring Operation: 50-42=8, Resulting Numbers: [30, 36, 8]
Generated Node #0,2: 25:[30, 36, 8] Operation: 50-42=8
Exploring Operation: 36-30=6, Resulting Numbers: [50, 42, 6]
Generated Node #0,3: 25:[50, 42, 6] Operation: 36-30=6
Exploring Operation: 50-30=20, Resulting Numbers: [36, 42, 20]
Generated Node #0,4: 25:[36, 42, 20] Operation: 50-30=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[30, 36, 8], Operations: ['50-42=8']
Exploring Operation: 36-8=28, Resulting Numbers: [30, 28]
Generated Node #0,2,0: 25:[30, 28] Operation: 36-8=28
Exploring Operation: 30+8=38, Resulting Numbers: [36, 38]
Generated Node #0,2,1: 25:[36, 38] Operation: 30+8=38
Exploring Operation: 36-30=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 25:[8, 6] Operation: 36-30=6
Exploring Operation: 36+8=44, Resulting Numbers: [30, 44]
Generated Node #0,2,3: 25:[30, 44] Operation: 36+8=44
Exploring Operation: 30-8=22, Resulting Numbers: [36, 22]
Generated Node #0,2,4: 25:[36, 22] Operation: 30-8=22
Moving to Node #0,2,2
Current State: 25:[8, 6], Operations: ['50-42=8', '36-30=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[30, 28], Operations: ['50-42=8', '36-8=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[36, 22], Operations: ['50-42=8', '30-8=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,25 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[36, 38], Operations: ['50-42=8', '30+8=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,25 unequal: No Solution
Exploring Operation: 36*38=1368, Resulting Numbers: [1368]
1368,25 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[30, 44], Operations: ['50-42=8', '36+8=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,25 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,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,0
Current State: 25:[50, 30, 6], Operations: ['42-36=6']
Exploring Operation: 50-6=44, Resulting Numbers: [30, 44]
Generated Node #0,0,0: 25:[30, 44] Operation: 50-6=44
Exploring Operation: 30/6=5, Resulting Numbers: [50, 5]
Generated Node #0,0,1: 25:[50, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [50, 24]
Generated Node #0,0,2: 25:[50, 24] Operation: 30-6=24
Exploring Operation: 50+6=56, Resulting Numbers: [30, 56]
Generated Node #0,0,3: 25:[30, 56] Operation: 50+6=56
Exploring Operation: 50-30=20, Resulting Numbers: [6, 20]
Generated Node #0,0,4: 25:[6, 20] Operation: 50-30=20
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 25:[6, 20], Operations: ['42-36=6', '50-30=20']
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[30, 44], Operations: ['42-36=6', '50-6=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,25 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[50, 5], Operations: ['42-36=6', '30/6=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[50, 24], Operations: ['42-36=6', '30-6=24']
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,25 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[30, 56], Operations: ['42-36=6', '50+6=56']
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,25 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[30, 42, 14], Operations: ['50-36=14']
Exploring Operation: 30+14=44, Resulting Numbers: [42, 44]
Generated Node #0,1,0: 25:[42, 44] Operation: 30+14=44
Exploring Operation: 42-30=12, Resulting Numbers: [14, 12]
Generated Node #0,1,1: 25:[14, 12] Operation: 42-30=12
Exploring Operation: 42/14=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 25:[30, 3] Operation: 42/14=3
Exploring Operation: 30-14=16, Resulting Numbers: [42, 16]
Generated Node #0,1,3: 25:[42, 16] Operation: 30-14=16
Exploring Operation: 42-14=28, Resulting Numbers: [30, 28]
Generated Node #0,1,4: 25:[30, 28] Operation: 42-14=28
Moving to Node #0,1,2
Current State: 25:[30, 3], Operations: ['50-36=14', '42/14=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[30, 28], Operations: ['50-36=14', '42-14=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,25 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[14, 12], Operations: ['50-36=14', '42-30=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[42, 16], Operations: ['50-36=14', '30-14=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,25 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[42, 44], Operations: ['50-36=14', '30+14=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,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
Current State: 25:[36, 42, 20], Operations: ['50-30=20']
Exploring Operation: 36+20=56, Resulting Numbers: [42, 56]
Generated Node #0,4,0: 25:[42, 56] Operation: 36+20=56
Exploring Operation: 42-36=6, Resulting Numbers: [20, 6]
Generated Node #0,4,1: 25:[20, 6] Operation: 42-36=6
Exploring Operation: 42+20=62, Resulting Numbers: [36, 62]
Generated Node #0,4,2: 25:[36, 62] Operation: 42+20=62
Exploring Operation: 42-20=22, Resulting Numbers: [36, 22]
Generated Node #0,4,3: 25:[36, 22] Operation: 42-20=22
Exploring Operation: 36-20=16, Resulting Numbers: [42, 16]
Generated Node #0,4,4: 25:[42, 16] Operation: 36-20=16
Moving to Node #0,4,1
Current State: 25:[20, 6], Operations: ['50-30=20', '42-36=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,25 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[36, 22], Operations: ['50-30=20', '42-20=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,25 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[42, 16], Operations: ['50-30=20', '36-20=16']
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[42, 56], Operations: ['50-30=20', '36+20=56']
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,25 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,25 unequal: No Solution
Moving to Node #0,4,2
Current State: 25:[36, 62], Operations: ['50-30=20', '42+20=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,25 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,25 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,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,3
Current State: 25:[50, 42, 6], Operations: ['36-30=6']
Exploring Operation: 50+6=56, Resulting Numbers: [42, 56]
Generated Node #0,3,0: 25:[42, 56] Operation: 50+6=56
Exploring Operation: 50-42=8, Resulting Numbers: [6, 8]
Generated Node #0,3,1: 25:[6, 8] Operation: 50-42=8
Exploring Operation: 42/6=7, Resulting Numbers: [50, 7]
Generated Node #0,3,2: 25:[50, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [50, 36]
Generated Node #0,3,3: 25:[50, 36] Operation: 42-6=36
Exploring Operation: 50-6=44, Resulting Numbers: [42, 44]
Generated Node #0,3,4: 25:[42, 44] Operation: 50-6=44
Moving to Node #0,3,1
Current State: 25:[6, 8], Operations: ['36-30=6', '50-42=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[50, 7], Operations: ['36-30=6', '42/6=7']
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,25 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[50, 36], Operations: ['36-30=6', '42-6=36']
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,25 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[42, 44], Operations: ['36-30=6', '50-6=44']
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,25 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[42, 56], Operations: ['36-30=6', '50+6=56']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,25 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,25 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 |
[
48,
98,
32,
94
] | 56 | [
"98-94=4",
"32/4=8",
"48+8=56"
] | Current State: 56:[48, 98, 32, 94], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [48, 32, 4]
Generated Node #2: [48, 32, 4] from Operation: 98-94=4
Current State: 56:[48, 32, 4], Operations: ['98-94=4']
Exploring Operation: 32/4=8, Resulting Numbers: [48, 8]
Generated Node #3: [48, 8] from Operation: 32/4=8
Current State: 56:[48, 8], Operations: ['98-94=4', '32/4=8']
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[48, 98, 32, 94], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [48, 32, 4]
Generated Node #0,0: 56:[48, 32, 4] Operation: 98-94=4
Moving to Node #0,0
Current State: 56:[48, 32, 4], Operations: ['98-94=4']
Exploring Operation: 48-32=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 56:[4, 16] Operation: 48-32=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[4, 16], Operations: ['98-94=4', '48-32=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
44,
64,
25
] | 60 | [
"65-44=21",
"64-25=39",
"21+39=60"
] | Current State: 60:[65, 44, 64, 25], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [64, 25, 21]
Generated Node #2: [64, 25, 21] from Operation: 65-44=21
Current State: 60:[64, 25, 21], Operations: ['65-44=21']
Exploring Operation: 64-25=39, Resulting Numbers: [21, 39]
Generated Node #3: [21, 39] from Operation: 64-25=39
Current State: 60:[21, 39], Operations: ['65-44=21', '64-25=39']
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[65, 44, 64, 25], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [64, 25, 21]
Generated Node #0,0: 60:[64, 25, 21] Operation: 65-44=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[64, 25, 21], Operations: ['65-44=21']
Exploring Operation: 25-21=4, Resulting Numbers: [64, 4]
Generated Node #0,0,0: 60:[64, 4] Operation: 25-21=4
Moving to Node #0,0,0
Current State: 60:[64, 4], Operations: ['65-44=21', '25-21=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[65, 44, 64, 25], Operations: []
Exploring Operation: 65-44=21, Resulting Numbers: [64, 25, 21]
Generated Node #0,0: 60:[64, 25, 21] Operation: 65-44=21
Moving to Node #0,0
Current State: 60:[64, 25, 21], Operations: ['65-44=21']
Exploring Operation: 25-21=4, Resulting Numbers: [64, 4]
Generated Node #0,0,0: 60:[64, 4] Operation: 25-21=4
Moving to Node #0,0,0
Current State: 60:[64, 4], Operations: ['65-44=21', '25-21=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
68,
2,
88,
90
] | 69 | [
"2+88=90",
"90/90=1",
"68+1=69"
] | Current State: 69:[68, 2, 88, 90], Operations: []
Exploring Operation: 2+88=90, Resulting Numbers: [68, 90, 90]
Generated Node #2: [68, 90, 90] from Operation: 2+88=90
Current State: 69:[68, 90, 90], Operations: ['2+88=90']
Exploring Operation: 90/90=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 90/90=1
Current State: 69:[68, 1], Operations: ['2+88=90', '90/90=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[68, 2, 88, 90], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [68, 2, 2]
Generated Node #0,0: 69:[68, 2, 2] Operation: 90-88=2
Moving to Node #0,0
Current State: 69:[68, 2, 2], Operations: ['90-88=2']
Exploring Operation: 68+2=70, Resulting Numbers: [2, 70]
Generated Node #0,0,0: 69:[2, 70] Operation: 68+2=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[2, 70], Operations: ['90-88=2', '68+2=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
67,
21,
11
] | 11 | [
"11-3=8",
"67+21=88",
"88/8=11"
] | Current State: 11:[3, 67, 21, 11], Operations: []
Exploring Operation: 11-3=8, Resulting Numbers: [67, 21, 8]
Generated Node #2: [67, 21, 8] from Operation: 11-3=8
Current State: 11:[67, 21, 8], Operations: ['11-3=8']
Exploring Operation: 67+21=88, Resulting Numbers: [8, 88]
Generated Node #3: [8, 88] from Operation: 67+21=88
Current State: 11:[8, 88], Operations: ['11-3=8', '67+21=88']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[3, 67, 21, 11], Operations: []
Exploring Operation: 67-3=64, Resulting Numbers: [21, 11, 64]
Generated Node #0,0: 11:[21, 11, 64] Operation: 67-3=64
Exploring Operation: 21/3=7, Resulting Numbers: [67, 11, 7]
Generated Node #0,1: 11:[67, 11, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [67, 11, 18]
Generated Node #0,2: 11:[67, 11, 18] Operation: 21-3=18
Exploring Operation: 67-11=56, Resulting Numbers: [3, 21, 56]
Generated Node #0,3: 11:[3, 21, 56] Operation: 67-11=56
Exploring Operation: 67-21=46, Resulting Numbers: [3, 11, 46]
Generated Node #0,4: 11:[3, 11, 46] Operation: 67-21=46
Start Sub Search at level 1: Moving to Node #0,4
Current State: 11:[3, 11, 46], Operations: ['67-21=46']
Exploring Operation: 3+46=49, Resulting Numbers: [11, 49]
Generated Node #0,4,0: 11:[11, 49] Operation: 3+46=49
Exploring Operation: 46-3=43, Resulting Numbers: [11, 43]
Generated Node #0,4,1: 11:[11, 43] Operation: 46-3=43
Exploring Operation: 3+11=14, Resulting Numbers: [46, 14]
Generated Node #0,4,2: 11:[46, 14] Operation: 3+11=14
Exploring Operation: 46-11=35, Resulting Numbers: [3, 35]
Generated Node #0,4,3: 11:[3, 35] Operation: 46-11=35
Exploring Operation: 11-3=8, Resulting Numbers: [46, 8]
Generated Node #0,4,4: 11:[46, 8] Operation: 11-3=8
Moving to Node #0,4,1
Current State: 11:[11, 43], Operations: ['67-21=46', '46-3=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[3, 35], Operations: ['67-21=46', '46-11=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,4,0
Current State: 11:[11, 49], Operations: ['67-21=46', '3+46=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,11 unequal: No Solution
Moving to Node #0,4,2
Current State: 11:[46, 14], Operations: ['67-21=46', '3+11=14']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,11 unequal: No Solution
Moving to Node #0,4,4
Current State: 11:[46, 8], Operations: ['67-21=46', '11-3=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,11 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[67, 11, 7], Operations: ['21/3=7']
Exploring Operation: 11-7=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 11:[67, 4] Operation: 11-7=4
Exploring Operation: 11+7=18, Resulting Numbers: [67, 18]
Generated Node #0,1,1: 11:[67, 18] Operation: 11+7=18
Exploring Operation: 67-11=56, Resulting Numbers: [7, 56]
Generated Node #0,1,2: 11:[7, 56] Operation: 67-11=56
Exploring Operation: 67+7=74, Resulting Numbers: [11, 74]
Generated Node #0,1,3: 11:[11, 74] Operation: 67+7=74
Exploring Operation: 67-7=60, Resulting Numbers: [11, 60]
Generated Node #0,1,4: 11:[11, 60] Operation: 67-7=60
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[7, 56], Operations: ['21/3=7', '67-11=56']
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,11 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 11:[11, 60], Operations: ['21/3=7', '67-7=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,11 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[67, 4], Operations: ['21/3=7', '11-7=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,11 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,11 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[67, 18], Operations: ['21/3=7', '11+7=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,11 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 11:[11, 74], Operations: ['21/3=7', '67+7=74']
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,11 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[21, 11, 64], Operations: ['67-3=64']
Exploring Operation: 21+11=32, Resulting Numbers: [64, 32]
Generated Node #0,0,0: 11:[64, 32] Operation: 21+11=32
Exploring Operation: 64-21=43, Resulting Numbers: [11, 43]
Generated Node #0,0,1: 11:[11, 43] Operation: 64-21=43
Exploring Operation: 21+64=85, Resulting Numbers: [11, 85]
Generated Node #0,0,2: 11:[11, 85] Operation: 21+64=85
Exploring Operation: 21-11=10, Resulting Numbers: [64, 10]
Generated Node #0,0,3: 11:[64, 10] Operation: 21-11=10
Exploring Operation: 64-11=53, Resulting Numbers: [21, 53]
Generated Node #0,0,4: 11:[21, 53] Operation: 64-11=53
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[11, 43], Operations: ['67-3=64', '64-21=43']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,11 unequal: No Solution
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 11:[21, 53], Operations: ['67-3=64', '64-11=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,11 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 11:[64, 10], Operations: ['67-3=64', '21-11=10']
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,11 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[64, 32], Operations: ['67-3=64', '21+11=32']
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,11 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[11, 85], Operations: ['67-3=64', '21+64=85']
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,11 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[67, 11, 18], Operations: ['21-3=18']
Exploring Operation: 67+18=85, Resulting Numbers: [11, 85]
Generated Node #0,2,0: 11:[11, 85] Operation: 67+18=85
Exploring Operation: 67+11=78, Resulting Numbers: [18, 78]
Generated Node #0,2,1: 11:[18, 78] Operation: 67+11=78
Exploring Operation: 67-11=56, Resulting Numbers: [18, 56]
Generated Node #0,2,2: 11:[18, 56] Operation: 67-11=56
Exploring Operation: 18-11=7, Resulting Numbers: [67, 7]
Generated Node #0,2,3: 11:[67, 7] Operation: 18-11=7
Exploring Operation: 67-18=49, Resulting Numbers: [11, 49]
Generated Node #0,2,4: 11:[11, 49] Operation: 67-18=49
Moving to Node #0,2,4
Current State: 11:[11, 49], Operations: ['21-3=18', '67-18=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,11 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[18, 56], Operations: ['21-3=18', '67-11=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,11 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[67, 7], Operations: ['21-3=18', '18-11=7']
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[11, 85], Operations: ['21-3=18', '67+18=85']
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,11 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[18, 78], Operations: ['21-3=18', '67+11=78']
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,11 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[3, 21, 56], Operations: ['67-11=56']
Exploring Operation: 56-3=53, Resulting Numbers: [21, 53]
Generated Node #0,3,0: 11:[21, 53] Operation: 56-3=53
Exploring Operation: 3+21=24, Resulting Numbers: [56, 24]
Generated Node #0,3,1: 11:[56, 24] Operation: 3+21=24
Exploring Operation: 21-3=18, Resulting Numbers: [56, 18]
Generated Node #0,3,2: 11:[56, 18] Operation: 21-3=18
Exploring Operation: 21/3=7, Resulting Numbers: [56, 7]
Generated Node #0,3,3: 11:[56, 7] Operation: 21/3=7
Exploring Operation: 56-21=35, Resulting Numbers: [3, 35]
Generated Node #0,3,4: 11:[3, 35] Operation: 56-21=35
Moving to Node #0,3,4
Current State: 11:[3, 35], Operations: ['67-11=56', '56-21=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[56, 7], Operations: ['67-11=56', '21/3=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,11 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[21, 53], Operations: ['67-11=56', '56-3=53']
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,11 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[56, 18], Operations: ['67-11=56', '21-3=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,11 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[56, 24], Operations: ['67-11=56', '3+21=24']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
33,
20,
27,
88
] | 85 | [
"33+27=60",
"60/20=3",
"88-3=85"
] | Current State: 85:[33, 20, 27, 88], Operations: []
Exploring Operation: 33+27=60, Resulting Numbers: [20, 88, 60]
Generated Node #2: [20, 88, 60] from Operation: 33+27=60
Current State: 85:[20, 88, 60], Operations: ['33+27=60']
Exploring Operation: 60/20=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 60/20=3
Current State: 85:[88, 3], Operations: ['33+27=60', '60/20=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[33, 20, 27, 88], Operations: []
Exploring Operation: 33+27=60, Resulting Numbers: [20, 88, 60]
Generated Node #0,0: 85:[20, 88, 60] Operation: 33+27=60
Exploring Operation: 33-27=6, Resulting Numbers: [20, 88, 6]
Generated Node #0,1: 85:[20, 88, 6] Operation: 33-27=6
Exploring Operation: 33-20=13, Resulting Numbers: [27, 88, 13]
Generated Node #0,2: 85:[27, 88, 13] Operation: 33-20=13
Exploring Operation: 27-20=7, Resulting Numbers: [33, 88, 7]
Generated Node #0,3: 85:[33, 88, 7] Operation: 27-20=7
Exploring Operation: 88-33=55, Resulting Numbers: [20, 27, 55]
Generated Node #0,4: 85:[20, 27, 55] Operation: 88-33=55
Moving to Node #0,1
Current State: 85:[20, 88, 6], Operations: ['33-27=6']
Exploring Operation: 88-6=82, Resulting Numbers: [20, 82]
Generated Node #0,1,0: 85:[20, 82] Operation: 88-6=82
Exploring Operation: 88+6=94, Resulting Numbers: [20, 94]
Generated Node #0,1,1: 85:[20, 94] Operation: 88+6=94
Exploring Operation: 20-6=14, Resulting Numbers: [88, 14]
Generated Node #0,1,2: 85:[88, 14] Operation: 20-6=14
Exploring Operation: 20+6=26, Resulting Numbers: [88, 26]
Generated Node #0,1,3: 85:[88, 26] Operation: 20+6=26
Exploring Operation: 88-20=68, Resulting Numbers: [6, 68]
Generated Node #0,1,4: 85:[6, 68] Operation: 88-20=68
Moving to Node #0,2
Current State: 85:[27, 88, 13], Operations: ['33-20=13']
Exploring Operation: 88-13=75, Resulting Numbers: [27, 75]
Generated Node #0,2,0: 85:[27, 75] Operation: 88-13=75
Exploring Operation: 88-27=61, Resulting Numbers: [13, 61]
Generated Node #0,2,1: 85:[13, 61] Operation: 88-27=61
Exploring Operation: 27+13=40, Resulting Numbers: [88, 40]
Generated Node #0,2,2: 85:[88, 40] Operation: 27+13=40
Exploring Operation: 27-13=14, Resulting Numbers: [88, 14]
Generated Node #0,2,3: 85:[88, 14] Operation: 27-13=14
Exploring Operation: 88+13=101, Resulting Numbers: [27, 101]
Generated Node #0,2,4: 85:[27, 101] Operation: 88+13=101
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[88, 14], Operations: ['33-20=13', '27-13=14']
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,85 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,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,2,0
Current State: 85:[27, 75], Operations: ['33-20=13', '88-13=75']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,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,2,2
Current State: 85:[88, 40], Operations: ['33-20=13', '27+13=40']
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,85 unequal: No Solution
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,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,2,4
Current State: 85:[27, 101], Operations: ['33-20=13', '88+13=101']
Exploring Operation: 101-27=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 27+101=128, Resulting Numbers: [128]
128,85 unequal: No Solution
Exploring Operation: 27*101=2727, Resulting Numbers: [2727]
2727,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,2,1
Current State: 85:[13, 61], Operations: ['33-20=13', '88-27=61']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,85 unequal: No Solution
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 13*61=793, Resulting Numbers: [793]
793,85 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: 85:[33, 88, 7], Operations: ['27-20=7']
Exploring Operation: 88-33=55, Resulting Numbers: [7, 55]
Generated Node #0,3,0: 85:[7, 55] Operation: 88-33=55
Exploring Operation: 88+7=95, Resulting Numbers: [33, 95]
Generated Node #0,3,1: 85:[33, 95] Operation: 88+7=95
Exploring Operation: 88-7=81, Resulting Numbers: [33, 81]
Generated Node #0,3,2: 85:[33, 81] Operation: 88-7=81
Exploring Operation: 33+7=40, Resulting Numbers: [88, 40]
Generated Node #0,3,3: 85:[88, 40] Operation: 33+7=40
Exploring Operation: 33-7=26, Resulting Numbers: [88, 26]
Generated Node #0,3,4: 85:[88, 26] Operation: 33-7=26
Moving to Node #0,0
Current State: 85:[20, 88, 60], Operations: ['33+27=60']
Exploring Operation: 88-60=28, Resulting Numbers: [20, 28]
Generated Node #0,0,0: 85:[20, 28] Operation: 88-60=28
Exploring Operation: 88-20=68, Resulting Numbers: [60, 68]
Generated Node #0,0,1: 85:[60, 68] Operation: 88-20=68
Exploring Operation: 60/20=3, Resulting Numbers: [88, 3]
Generated Node #0,0,2: 85:[88, 3] Operation: 60/20=3
Exploring Operation: 20+60=80, Resulting Numbers: [88, 80]
Generated Node #0,0,3: 85:[88, 80] Operation: 20+60=80
Exploring Operation: 60-20=40, Resulting Numbers: [88, 40]
Generated Node #0,0,4: 85:[88, 40] Operation: 60-20=40
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[88, 3], Operations: ['33+27=60', '60/20=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,85 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[33, 20, 27, 88], Operations: []
Exploring Operation: 33+27=60, Resulting Numbers: [20, 88, 60]
Generated Node #0,0: 85:[20, 88, 60] Operation: 33+27=60
Moving to Node #0,0
Current State: 85:[20, 88, 60], Operations: ['33+27=60']
Exploring Operation: 60/20=3, Resulting Numbers: [88, 3]
Generated Node #0,0,2: 85:[88, 3] Operation: 60/20=3
Moving to Node #0,0,2
Current State: 85:[88, 3], Operations: ['33+27=60', '60/20=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
47,
40,
26,
60
] | 86 | [
"26*60=1560",
"1560/40=39",
"47+39=86"
] | Current State: 86:[47, 40, 26, 60], Operations: []
Exploring Operation: 26*60=1560, Resulting Numbers: [47, 40, 1560]
Generated Node #2: [47, 40, 1560] from Operation: 26*60=1560
Current State: 86:[47, 40, 1560], Operations: ['26*60=1560']
Exploring Operation: 1560/40=39, Resulting Numbers: [47, 39]
Generated Node #3: [47, 39] from Operation: 1560/40=39
Current State: 86:[47, 39], Operations: ['26*60=1560', '1560/40=39']
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[47, 40, 26, 60], Operations: []
Exploring Operation: 60-47=13, Resulting Numbers: [40, 26, 13]
Generated Node #0,0: 86:[40, 26, 13] Operation: 60-47=13
Exploring Operation: 47+26=73, Resulting Numbers: [40, 60, 73]
Generated Node #0,1: 86:[40, 60, 73] Operation: 47+26=73
Exploring Operation: 60-26=34, Resulting Numbers: [47, 40, 34]
Generated Node #0,2: 86:[47, 40, 34] Operation: 60-26=34
Exploring Operation: 26+60=86, Resulting Numbers: [47, 40, 86]
Generated Node #0,3: 86:[47, 40, 86] Operation: 26+60=86
Moving to Node #0,3
Current State: 86:[47, 40, 86], Operations: ['26+60=86']
Exploring Operation: 47+40=87, Resulting Numbers: [86, 87]
Generated Node #0,3,0: 86:[86, 87] Operation: 47+40=87
Exploring Operation: 86-40=46, Resulting Numbers: [47, 46]
Generated Node #0,3,1: 86:[47, 46] Operation: 86-40=46
Exploring Operation: 47-40=7, Resulting Numbers: [86, 7]
Generated Node #0,3,2: 86:[86, 7] Operation: 47-40=7
Exploring Operation: 86-47=39, Resulting Numbers: [40, 39]
Generated Node #0,3,3: 86:[40, 39] Operation: 86-47=39
Moving to Node #0,2
Current State: 86:[47, 40, 34], Operations: ['60-26=34']
Exploring Operation: 47-40=7, Resulting Numbers: [34, 7]
Generated Node #0,2,0: 86:[34, 7] Operation: 47-40=7
Exploring Operation: 47+34=81, Resulting Numbers: [40, 81]
Generated Node #0,2,1: 86:[40, 81] Operation: 47+34=81
Exploring Operation: 47+40=87, Resulting Numbers: [34, 87]
Generated Node #0,2,2: 86:[34, 87] Operation: 47+40=87
Exploring Operation: 40-34=6, Resulting Numbers: [47, 6]
Generated Node #0,2,3: 86:[47, 6] Operation: 40-34=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[40, 81], Operations: ['60-26=34', '47+34=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,86 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[47, 6], Operations: ['60-26=34', '40-34=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,86 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[34, 87], Operations: ['60-26=34', '47+40=87']
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,86 unequal: No Solution
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[34, 7], Operations: ['60-26=34', '47-40=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,86 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,86 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: 86:[40, 26, 13], Operations: ['60-47=13']
Exploring Operation: 40-26=14, Resulting Numbers: [13, 14]
Generated Node #0,0,0: 86:[13, 14] Operation: 40-26=14
Exploring Operation: 26/13=2, Resulting Numbers: [40, 2]
Generated Node #0,0,1: 86:[40, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [40, 13]
Generated Node #0,0,2: 86:[40, 13] Operation: 26-13=13
Exploring Operation: 26+13=39, Resulting Numbers: [40, 39]
Generated Node #0,0,3: 86:[40, 39] Operation: 26+13=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[40, 2], Operations: ['60-47=13', '26/13=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[40, 39], Operations: ['60-47=13', '26+13=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,86 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[40, 13], Operations: ['60-47=13', '26-13=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[13, 14], Operations: ['60-47=13', '40-26=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,86 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: 86:[40, 60, 73], Operations: ['47+26=73']
Exploring Operation: 73-60=13, Resulting Numbers: [40, 13]
Generated Node #0,1,0: 86:[40, 13] Operation: 73-60=13
Exploring Operation: 60-40=20, Resulting Numbers: [73, 20]
Generated Node #0,1,1: 86:[73, 20] Operation: 60-40=20
Exploring Operation: 73-40=33, Resulting Numbers: [60, 33]
Generated Node #0,1,2: 86:[60, 33] Operation: 73-40=33
Exploring Operation: 40+60=100, Resulting Numbers: [73, 100]
Generated Node #0,1,3: 86:[73, 100] Operation: 40+60=100
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[40, 13], Operations: ['47+26=73', '73-60=13']
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[60, 33], Operations: ['47+26=73', '73-40=33']
Exploring Operation: 60+33=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 60*33=1980, Resulting Numbers: [1980]
1980,86 unequal: No Solution
Exploring Operation: 60-33=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[73, 100], Operations: ['47+26=73', '40+60=100']
Exploring Operation: 100-73=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 73*100=7300, Resulting Numbers: [7300]
7300,86 unequal: No Solution
Exploring Operation: 73+100=173, Resulting Numbers: [173]
173,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[73, 20], Operations: ['47+26=73', '60-40=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,86 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: 86:[86, 87], Operations: ['26+60=86', '47+40=87']
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 86*87=7482, Resulting Numbers: [7482]
7482,86 unequal: No Solution
Exploring Operation: 86+87=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[86, 7], Operations: ['26+60=86', '47-40=7']
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,86 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[40, 39], Operations: ['26+60=86', '86-47=39']
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,86 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[47, 46], Operations: ['26+60=86', '86-40=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,86 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,86 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
6,
27,
51
] | 24 | [
"69-51=18",
"18/6=3",
"27-3=24"
] | Current State: 24:[69, 6, 27, 51], Operations: []
Exploring Operation: 69-51=18, Resulting Numbers: [6, 27, 18]
Generated Node #2: [6, 27, 18] from Operation: 69-51=18
Current State: 24:[6, 27, 18], Operations: ['69-51=18']
Exploring Operation: 18/6=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 18/6=3
Current State: 24:[27, 3], Operations: ['69-51=18', '18/6=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[69, 6, 27, 51], Operations: []
Exploring Operation: 51-27=24, Resulting Numbers: [69, 6, 24]
Generated Node #0,0: 24:[69, 6, 24] Operation: 51-27=24
Exploring Operation: 69-27=42, Resulting Numbers: [6, 51, 42]
Generated Node #0,1: 24:[6, 51, 42] Operation: 69-27=42
Exploring Operation: 69-51=18, Resulting Numbers: [6, 27, 18]
Generated Node #0,2: 24:[6, 27, 18] Operation: 69-51=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[6, 27, 18], Operations: ['69-51=18']
Exploring Operation: 27-18=9, Resulting Numbers: [6, 9]
Generated Node #0,2,0: 24:[6, 9] Operation: 27-18=9
Exploring Operation: 6+18=24, Resulting Numbers: [27, 24]
Generated Node #0,2,1: 24:[27, 24] Operation: 6+18=24
Exploring Operation: 18-6=12, Resulting Numbers: [27, 12]
Generated Node #0,2,2: 24:[27, 12] Operation: 18-6=12
Moving to Node #0,2,0
Current State: 24:[6, 9], Operations: ['69-51=18', '27-18=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[27, 24], Operations: ['69-51=18', '6+18=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,24 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[27, 12], Operations: ['69-51=18', '18-6=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,24 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[69, 6, 24], Operations: ['51-27=24']
Exploring Operation: 24/6=4, Resulting Numbers: [69, 4]
Generated Node #0,0,0: 24:[69, 4] Operation: 24/6=4
Exploring Operation: 69-6=63, Resulting Numbers: [24, 63]
Generated Node #0,0,1: 24:[24, 63] Operation: 69-6=63
Exploring Operation: 69-24=45, Resulting Numbers: [6, 45]
Generated Node #0,0,2: 24:[6, 45] Operation: 69-24=45
Moving to Node #0,0,2
Current State: 24:[6, 45], Operations: ['51-27=24', '69-24=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[24, 63], Operations: ['51-27=24', '69-6=63']
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[69, 4], Operations: ['51-27=24', '24/6=4']
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,24 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,24 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[6, 51, 42], Operations: ['69-27=42']
Exploring Operation: 42/6=7, Resulting Numbers: [51, 7]
Generated Node #0,1,0: 24:[51, 7] Operation: 42/6=7
Exploring Operation: 51-6=45, Resulting Numbers: [42, 45]
Generated Node #0,1,1: 24:[42, 45] Operation: 51-6=45
Exploring Operation: 51-42=9, Resulting Numbers: [6, 9]
Generated Node #0,1,2: 24:[6, 9] Operation: 51-42=9
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[6, 9], Operations: ['69-27=42', '51-42=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[51, 7], Operations: ['69-27=42', '42/6=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[42, 45], Operations: ['69-27=42', '51-6=45']
Exploring Operation: 42+45=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 42*45=1890, Resulting Numbers: [1890]
1890,24 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
44,
56,
14
] | 86 | [
"56-44=12",
"6*12=72",
"14+72=86"
] | Current State: 86:[6, 44, 56, 14], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [6, 14, 12]
Generated Node #2: [6, 14, 12] from Operation: 56-44=12
Current State: 86:[6, 14, 12], Operations: ['56-44=12']
Exploring Operation: 6*12=72, Resulting Numbers: [14, 72]
Generated Node #3: [14, 72] from Operation: 6*12=72
Current State: 86:[14, 72], Operations: ['56-44=12', '6*12=72']
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[6, 44, 56, 14], Operations: []
Exploring Operation: 6*14=84, Resulting Numbers: [44, 56, 84]
Generated Node #0,0: 86:[44, 56, 84] Operation: 6*14=84
Exploring Operation: 56/14=4, Resulting Numbers: [6, 44, 4]
Generated Node #0,1: 86:[6, 44, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [6, 44, 42]
Generated Node #0,2: 86:[6, 44, 42] Operation: 56-14=42
Moving to Node #0,2
Current State: 86:[6, 44, 42], Operations: ['56-14=42']
Exploring Operation: 44+42=86, Resulting Numbers: [6, 86]
Generated Node #0,2,0: 86:[6, 86] Operation: 44+42=86
Exploring Operation: 44-42=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 86:[6, 2] Operation: 44-42=2
Exploring Operation: 44-6=38, Resulting Numbers: [42, 38]
Generated Node #0,2,2: 86:[42, 38] Operation: 44-6=38
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[6, 86], Operations: ['56-14=42', '44+42=86']
Exploring Operation: 6*86=516, Resulting Numbers: [516]
516,86 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[6, 2], Operations: ['56-14=42', '44-42=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[42, 38], Operations: ['56-14=42', '44-6=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,86 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: 86:[6, 44, 4], Operations: ['56/14=4']
Exploring Operation: 44-4=40, Resulting Numbers: [6, 40]
Generated Node #0,1,0: 86:[6, 40] Operation: 44-4=40
Exploring Operation: 44-6=38, Resulting Numbers: [4, 38]
Generated Node #0,1,1: 86:[4, 38] Operation: 44-6=38
Exploring Operation: 6-4=2, Resulting Numbers: [44, 2]
Generated Node #0,1,2: 86:[44, 2] Operation: 6-4=2
Moving to Node #0,0
Current State: 86:[44, 56, 84], Operations: ['6*14=84']
Exploring Operation: 44+56=100, Resulting Numbers: [84, 100]
Generated Node #0,0,0: 86:[84, 100] Operation: 44+56=100
Exploring Operation: 56-44=12, Resulting Numbers: [84, 12]
Generated Node #0,0,1: 86:[84, 12] Operation: 56-44=12
Exploring Operation: 84-44=40, Resulting Numbers: [56, 40]
Generated Node #0,0,2: 86:[56, 40] Operation: 84-44=40
Moving to Node #0,1,2
Current State: 86:[44, 2], Operations: ['56/14=4', '6-4=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[4, 38], Operations: ['56/14=4', '44-6=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[6, 40], Operations: ['56/14=4', '44-4=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,86 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[84, 12], Operations: ['6*14=84', '56-44=12']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,86 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[84, 100], Operations: ['6*14=84', '44+56=100']
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,86 unequal: No Solution
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[56, 40], Operations: ['6*14=84', '84-44=40']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,86 unequal: No Solution
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,86 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
11,
5,
24
] | 54 | [
"24-23=1",
"11*5=55",
"55-1=54"
] | Current State: 54:[23, 11, 5, 24], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [11, 5, 1]
Generated Node #2: [11, 5, 1] from Operation: 24-23=1
Current State: 54:[11, 5, 1], Operations: ['24-23=1']
Exploring Operation: 11*5=55, Resulting Numbers: [1, 55]
Generated Node #3: [1, 55] from Operation: 11*5=55
Current State: 54:[1, 55], Operations: ['24-23=1', '11*5=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[23, 11, 5, 24], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [11, 5, 1]
Generated Node #0,0: 54:[11, 5, 1] Operation: 24-23=1
Exploring Operation: 23-5=18, Resulting Numbers: [11, 24, 18]
Generated Node #0,1: 54:[11, 24, 18] Operation: 23-5=18
Exploring Operation: 23+5=28, Resulting Numbers: [11, 24, 28]
Generated Node #0,2: 54:[11, 24, 28] Operation: 23+5=28
Moving to Node #0,0
Current State: 54:[11, 5, 1], Operations: ['24-23=1']
Exploring Operation: 11-5=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 54:[1, 6] Operation: 11-5=6
Exploring Operation: 11*5=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 54:[1, 55] Operation: 11*5=55
Exploring Operation: 11-1=10, Resulting Numbers: [5, 10]
Generated Node #0,0,2: 54:[5, 10] Operation: 11-1=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[1, 6], Operations: ['24-23=1', '11-5=6']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[1, 55], Operations: ['24-23=1', '11*5=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[23, 11, 5, 24], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [11, 5, 1]
Generated Node #0,0: 54:[11, 5, 1] Operation: 24-23=1
Moving to Node #0,0
Current State: 54:[11, 5, 1], Operations: ['24-23=1']
Exploring Operation: 11*5=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 54:[1, 55] Operation: 11*5=55
Moving to Node #0,0,1
Current State: 54:[1, 55], Operations: ['24-23=1', '11*5=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
43,
40,
78,
47
] | 42 | [
"43+40=83",
"78+47=125",
"125-83=42"
] | Current State: 42:[43, 40, 78, 47], Operations: []
Exploring Operation: 43+40=83, Resulting Numbers: [78, 47, 83]
Generated Node #2: [78, 47, 83] from Operation: 43+40=83
Current State: 42:[78, 47, 83], Operations: ['43+40=83']
Exploring Operation: 78+47=125, Resulting Numbers: [83, 125]
Generated Node #3: [83, 125] from Operation: 78+47=125
Current State: 42:[83, 125], Operations: ['43+40=83', '78+47=125']
Exploring Operation: 125-83=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 40, 78, 47], Operations: []
Exploring Operation: 78-40=38, Resulting Numbers: [43, 47, 38]
Generated Node #0,0: 42:[43, 47, 38] Operation: 78-40=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[43, 47, 38], Operations: ['78-40=38']
Exploring Operation: 47-38=9, Resulting Numbers: [43, 9]
Generated Node #0,0,0: 42:[43, 9] Operation: 47-38=9
Moving to Node #0,0,0
Current State: 42:[43, 9], Operations: ['78-40=38', '47-38=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,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 |
[
77,
65,
3,
78
] | 88 | [
"77*3=231",
"65+78=143",
"231-143=88"
] | Current State: 88:[77, 65, 3, 78], Operations: []
Exploring Operation: 77*3=231, Resulting Numbers: [65, 78, 231]
Generated Node #2: [65, 78, 231] from Operation: 77*3=231
Current State: 88:[65, 78, 231], Operations: ['77*3=231']
Exploring Operation: 65+78=143, Resulting Numbers: [231, 143]
Generated Node #3: [231, 143] from Operation: 65+78=143
Current State: 88:[231, 143], Operations: ['77*3=231', '65+78=143']
Exploring Operation: 231-143=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[77, 65, 3, 78], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [3, 78, 12]
Generated Node #0,0: 88:[3, 78, 12] Operation: 77-65=12
Exploring Operation: 78-77=1, Resulting Numbers: [65, 3, 1]
Generated Node #0,1: 88:[65, 3, 1] Operation: 78-77=1
Exploring Operation: 78/3=26, Resulting Numbers: [77, 65, 26]
Generated Node #0,2: 88:[77, 65, 26] Operation: 78/3=26
Exploring Operation: 77+3=80, Resulting Numbers: [65, 78, 80]
Generated Node #0,3: 88:[65, 78, 80] Operation: 77+3=80
Exploring Operation: 78-65=13, Resulting Numbers: [77, 3, 13]
Generated Node #0,4: 88:[77, 3, 13] Operation: 78-65=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[3, 78, 12], Operations: ['77-65=12']
Exploring Operation: 78+12=90, Resulting Numbers: [3, 90]
Generated Node #0,0,0: 88:[3, 90] Operation: 78+12=90
Exploring Operation: 3+78=81, Resulting Numbers: [12, 81]
Generated Node #0,0,1: 88:[12, 81] Operation: 3+78=81
Exploring Operation: 78/3=26, Resulting Numbers: [12, 26]
Generated Node #0,0,2: 88:[12, 26] Operation: 78/3=26
Exploring Operation: 12/3=4, Resulting Numbers: [78, 4]
Generated Node #0,0,3: 88:[78, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [78, 9]
Generated Node #0,0,4: 88:[78, 9] Operation: 12-3=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[3, 90], Operations: ['77-65=12', '78+12=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,88 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[12, 26], Operations: ['77-65=12', '78/3=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,88 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[12, 81], Operations: ['77-65=12', '3+78=81']
Exploring Operation: 12*81=972, Resulting Numbers: [972]
972,88 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Exploring Operation: 12+81=93, Resulting Numbers: [93]
93,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[78, 4], Operations: ['77-65=12', '12/3=4']
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,88 unequal: No Solution
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,88 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 88:[78, 9], Operations: ['77-65=12', '12-3=9']
Exploring Operation: 78*9=702, Resulting Numbers: [702]
702,88 unequal: No Solution
Exploring Operation: 78+9=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[77, 3, 13], Operations: ['78-65=13']
Exploring Operation: 77+13=90, Resulting Numbers: [3, 90]
Generated Node #0,4,0: 88:[3, 90] Operation: 77+13=90
Exploring Operation: 13-3=10, Resulting Numbers: [77, 10]
Generated Node #0,4,1: 88:[77, 10] Operation: 13-3=10
Exploring Operation: 77+3=80, Resulting Numbers: [13, 80]
Generated Node #0,4,2: 88:[13, 80] Operation: 77+3=80
Exploring Operation: 3+13=16, Resulting Numbers: [77, 16]
Generated Node #0,4,3: 88:[77, 16] Operation: 3+13=16
Exploring Operation: 77-3=74, Resulting Numbers: [13, 74]
Generated Node #0,4,4: 88:[13, 74] Operation: 77-3=74
Moving to Node #0,4,0
Current State: 88:[3, 90], Operations: ['78-65=13', '77+13=90']
Exploring Operation: 3+90=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 3*90=270, Resulting Numbers: [270]
270,88 unequal: No Solution
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[13, 80], Operations: ['78-65=13', '77+3=80']
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 13*80=1040, Resulting Numbers: [1040]
1040,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[77, 10], Operations: ['78-65=13', '13-3=10']
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,88 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[77, 16], Operations: ['78-65=13', '3+13=16']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 77*16=1232, Resulting Numbers: [1232]
1232,88 unequal: No Solution
Exploring Operation: 77+16=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[13, 74], Operations: ['78-65=13', '77-3=74']
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,88 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[65, 3, 1], Operations: ['78-77=1']
Exploring Operation: 3-1=2, Resulting Numbers: [65, 2]
Generated Node #0,1,0: 88:[65, 2] Operation: 3-1=2
Exploring Operation: 65+3=68, Resulting Numbers: [1, 68]
Generated Node #0,1,1: 88:[1, 68] Operation: 65+3=68
Exploring Operation: 65-1=64, Resulting Numbers: [3, 64]
Generated Node #0,1,2: 88:[3, 64] Operation: 65-1=64
Exploring Operation: 3+1=4, Resulting Numbers: [65, 4]
Generated Node #0,1,3: 88:[65, 4] Operation: 3+1=4
Exploring Operation: 65-3=62, Resulting Numbers: [1, 62]
Generated Node #0,1,4: 88:[1, 62] Operation: 65-3=62
Moving to Node #0,1,4
Current State: 88:[1, 62], Operations: ['78-77=1', '65-3=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 1+62=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[1, 68], Operations: ['78-77=1', '65+3=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[65, 4], Operations: ['78-77=1', '3+1=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,88 unequal: No Solution
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[65, 2], Operations: ['78-77=1', '3-1=2']
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[3, 64], Operations: ['78-77=1', '65-1=64']
Exploring Operation: 3*64=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[77, 65, 26], Operations: ['78/3=26']
Exploring Operation: 77-26=51, Resulting Numbers: [65, 51]
Generated Node #0,2,0: 88:[65, 51] Operation: 77-26=51
Exploring Operation: 77-65=12, Resulting Numbers: [26, 12]
Generated Node #0,2,1: 88:[26, 12] Operation: 77-65=12
Exploring Operation: 65-26=39, Resulting Numbers: [77, 39]
Generated Node #0,2,2: 88:[77, 39] Operation: 65-26=39
Exploring Operation: 65+26=91, Resulting Numbers: [77, 91]
Generated Node #0,2,3: 88:[77, 91] Operation: 65+26=91
Exploring Operation: 77+26=103, Resulting Numbers: [65, 103]
Generated Node #0,2,4: 88:[65, 103] Operation: 77+26=103
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[26, 12], Operations: ['78/3=26', '77-65=12']
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,88 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[77, 91], Operations: ['78/3=26', '65+26=91']
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 77+91=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Exploring Operation: 77*91=7007, Resulting Numbers: [7007]
7007,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[77, 39], Operations: ['78/3=26', '65-26=39']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 77*39=3003, Resulting Numbers: [3003]
3003,88 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[65, 51], Operations: ['78/3=26', '77-26=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,88 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 88:[65, 103], Operations: ['78/3=26', '77+26=103']
Exploring Operation: 65*103=6695, Resulting Numbers: [6695]
6695,88 unequal: No Solution
Exploring Operation: 65+103=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Exploring Operation: 103-65=38, Resulting Numbers: [38]
38,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[65, 78, 80], Operations: ['77+3=80']
Exploring Operation: 80-65=15, Resulting Numbers: [78, 15]
Generated Node #0,3,0: 88:[78, 15] Operation: 80-65=15
Exploring Operation: 78-65=13, Resulting Numbers: [80, 13]
Generated Node #0,3,1: 88:[80, 13] Operation: 78-65=13
Exploring Operation: 65+80=145, Resulting Numbers: [78, 145]
Generated Node #0,3,2: 88:[78, 145] Operation: 65+80=145
Exploring Operation: 80-78=2, Resulting Numbers: [65, 2]
Generated Node #0,3,3: 88:[65, 2] Operation: 80-78=2
Exploring Operation: 65+78=143, Resulting Numbers: [80, 143]
Generated Node #0,3,4: 88:[80, 143] Operation: 65+78=143
Moving to Node #0,3,1
Current State: 88:[80, 13], Operations: ['77+3=80', '78-65=13']
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[78, 15], Operations: ['77+3=80', '80-65=15']
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,88 unequal: No Solution
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[65, 2], Operations: ['77+3=80', '80-78=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 65*2=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[80, 143], Operations: ['77+3=80', '65+78=143']
Exploring Operation: 80+143=223, Resulting Numbers: [223]
223,88 unequal: No Solution
Exploring Operation: 143-80=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 80*143=11440, Resulting Numbers: [11440]
11440,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[78, 145], Operations: ['77+3=80', '65+80=145']
Exploring Operation: 78*145=11310, Resulting Numbers: [11310]
11310,88 unequal: No Solution
Exploring Operation: 145-78=67, Resulting Numbers: [67]
67,88 unequal: No Solution
Exploring Operation: 78+145=223, Resulting Numbers: [223]
223,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
73,
6,
93,
24
] | 96 | [
"93-73=20",
"6*20=120",
"120-24=96"
] | Current State: 96:[73, 6, 93, 24], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [6, 24, 20]
Generated Node #2: [6, 24, 20] from Operation: 93-73=20
Current State: 96:[6, 24, 20], Operations: ['93-73=20']
Exploring Operation: 6*20=120, Resulting Numbers: [24, 120]
Generated Node #3: [24, 120] from Operation: 6*20=120
Current State: 96:[24, 120], Operations: ['93-73=20', '6*20=120']
Exploring Operation: 120-24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[73, 6, 93, 24], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [6, 24, 20]
Generated Node #0,0: 96:[6, 24, 20] Operation: 93-73=20
Moving to Node #0,0
Current State: 96:[6, 24, 20], Operations: ['93-73=20']
Exploring Operation: 24-20=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 96:[6, 4] Operation: 24-20=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[6, 4], Operations: ['93-73=20', '24-20=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
89,
73,
51
] | 48 | [
"89-13=76",
"73+51=124",
"124-76=48"
] | Current State: 48:[13, 89, 73, 51], Operations: []
Exploring Operation: 89-13=76, Resulting Numbers: [73, 51, 76]
Generated Node #2: [73, 51, 76] from Operation: 89-13=76
Current State: 48:[73, 51, 76], Operations: ['89-13=76']
Exploring Operation: 73+51=124, Resulting Numbers: [76, 124]
Generated Node #3: [76, 124] from Operation: 73+51=124
Current State: 48:[76, 124], Operations: ['89-13=76', '73+51=124']
Exploring Operation: 124-76=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[13, 89, 73, 51], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [13, 51, 16]
Generated Node #0,0: 48:[13, 51, 16] Operation: 89-73=16
Exploring Operation: 89-51=38, Resulting Numbers: [13, 73, 38]
Generated Node #0,1: 48:[13, 73, 38] Operation: 89-51=38
Moving to Node #0,0
Current State: 48:[13, 51, 16], Operations: ['89-73=16']
Exploring Operation: 16-13=3, Resulting Numbers: [51, 3]
Generated Node #0,0,0: 48:[51, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [51, 29]
Generated Node #0,0,1: 48:[51, 29] Operation: 13+16=29
Moving to Node #0,1
Current State: 48:[13, 73, 38], Operations: ['89-51=38']
Exploring Operation: 73-13=60, Resulting Numbers: [38, 60]
Generated Node #0,1,0: 48:[38, 60] Operation: 73-13=60
Exploring Operation: 73-38=35, Resulting Numbers: [13, 35]
Generated Node #0,1,1: 48:[13, 35] Operation: 73-38=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[13, 35], Operations: ['89-51=38', '73-38=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[13, 89, 73, 51], Operations: []
Exploring Operation: 89-51=38, Resulting Numbers: [13, 73, 38]
Generated Node #0,1: 48:[13, 73, 38] Operation: 89-51=38
Moving to Node #0,1
Current State: 48:[13, 73, 38], Operations: ['89-51=38']
Exploring Operation: 73-38=35, Resulting Numbers: [13, 35]
Generated Node #0,1,1: 48:[13, 35] Operation: 73-38=35
Moving to Node #0,1,1
Current State: 48:[13, 35], Operations: ['89-51=38', '73-38=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
26,
54,
84,
36
] | 39 | [
"54-26=28",
"84/28=3",
"36+3=39"
] | Current State: 39:[26, 54, 84, 36], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [84, 36, 28]
Generated Node #2: [84, 36, 28] from Operation: 54-26=28
Current State: 39:[84, 36, 28], Operations: ['54-26=28']
Exploring Operation: 84/28=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 84/28=3
Current State: 39:[36, 3], Operations: ['54-26=28', '84/28=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 54, 84, 36], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [26, 54, 48]
Generated Node #0,0: 39:[26, 54, 48] Operation: 84-36=48
Exploring Operation: 84-26=58, Resulting Numbers: [54, 36, 58]
Generated Node #0,1: 39:[54, 36, 58] Operation: 84-26=58
Exploring Operation: 84-54=30, Resulting Numbers: [26, 36, 30]
Generated Node #0,2: 39:[26, 36, 30] Operation: 84-54=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[26, 36, 30], Operations: ['84-54=30']
Exploring Operation: 30-26=4, Resulting Numbers: [36, 4]
Generated Node #0,2,0: 39:[36, 4] Operation: 30-26=4
Exploring Operation: 36-30=6, Resulting Numbers: [26, 6]
Generated Node #0,2,1: 39:[26, 6] Operation: 36-30=6
Exploring Operation: 36-26=10, Resulting Numbers: [30, 10]
Generated Node #0,2,2: 39:[30, 10] Operation: 36-26=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[36, 4], Operations: ['84-54=30', '30-26=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[30, 10], Operations: ['84-54=30', '36-26=10']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 30+10=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[26, 6], Operations: ['84-54=30', '36-30=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[26, 54, 48], Operations: ['84-36=48']
Exploring Operation: 54-48=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 39:[26, 6] Operation: 54-48=6
Exploring Operation: 54-26=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 39:[48, 28] Operation: 54-26=28
Exploring Operation: 48-26=22, Resulting Numbers: [54, 22]
Generated Node #0,0,2: 39:[54, 22] Operation: 48-26=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[26, 6], Operations: ['84-36=48', '54-48=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,39 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[48, 28], Operations: ['84-36=48', '54-26=28']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[54, 22], Operations: ['84-36=48', '48-26=22']
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,39 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[54, 36, 58], Operations: ['84-26=58']
Exploring Operation: 58-54=4, Resulting Numbers: [36, 4]
Generated Node #0,1,0: 39:[36, 4] Operation: 58-54=4
Exploring Operation: 58-36=22, Resulting Numbers: [54, 22]
Generated Node #0,1,1: 39:[54, 22] Operation: 58-36=22
Exploring Operation: 54-36=18, Resulting Numbers: [58, 18]
Generated Node #0,1,2: 39:[58, 18] Operation: 54-36=18
Moving to Node #0,1,0
Current State: 39:[36, 4], Operations: ['84-26=58', '58-54=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[54, 22], Operations: ['84-26=58', '58-36=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,39 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[58, 18], Operations: ['84-26=58', '54-36=18']
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,39 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,39 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 |
[
3,
87,
45,
4
] | 56 | [
"87-45=42",
"42/3=14",
"4*14=56"
] | Current State: 56:[3, 87, 45, 4], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [3, 4, 42]
Generated Node #2: [3, 4, 42] from Operation: 87-45=42
Current State: 56:[3, 4, 42], Operations: ['87-45=42']
Exploring Operation: 42/3=14, Resulting Numbers: [4, 14]
Generated Node #3: [4, 14] from Operation: 42/3=14
Current State: 56:[4, 14], Operations: ['87-45=42', '42/3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[3, 87, 45, 4], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [3, 4, 42]
Generated Node #0,0: 56:[3, 4, 42] Operation: 87-45=42
Exploring Operation: 87/3=29, Resulting Numbers: [45, 4, 29]
Generated Node #0,1: 56:[45, 4, 29] Operation: 87/3=29
Exploring Operation: 45/3=15, Resulting Numbers: [87, 4, 15]
Generated Node #0,2: 56:[87, 4, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[45, 4, 29], Operations: ['87/3=29']
Exploring Operation: 45+4=49, Resulting Numbers: [29, 49]
Generated Node #0,1,0: 56:[29, 49] Operation: 45+4=49
Exploring Operation: 45-29=16, Resulting Numbers: [4, 16]
Generated Node #0,1,1: 56:[4, 16] Operation: 45-29=16
Exploring Operation: 45-4=41, Resulting Numbers: [29, 41]
Generated Node #0,1,2: 56:[29, 41] Operation: 45-4=41
Moving to Node #0,1,1
Current State: 56:[4, 16], Operations: ['87/3=29', '45-29=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[29, 49], Operations: ['87/3=29', '45+4=49']
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,56 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[29, 41], Operations: ['87/3=29', '45-4=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,56 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[3, 4, 42], Operations: ['87-45=42']
Exploring Operation: 42/3=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 56:[4, 14] Operation: 42/3=14
Exploring Operation: 42-3=39, Resulting Numbers: [4, 39]
Generated Node #0,0,1: 56:[4, 39] Operation: 42-3=39
Exploring Operation: 3+42=45, Resulting Numbers: [4, 45]
Generated Node #0,0,2: 56:[4, 45] Operation: 3+42=45
Moving to Node #0,0,0
Current State: 56:[4, 14], Operations: ['87-45=42', '42/3=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[3, 87, 45, 4], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [3, 4, 42]
Generated Node #0,0: 56:[3, 4, 42] Operation: 87-45=42
Moving to Node #0,0
Current State: 56:[3, 4, 42], Operations: ['87-45=42']
Exploring Operation: 42/3=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 56:[4, 14] Operation: 42/3=14
Moving to Node #0,0,0
Current State: 56:[4, 14], Operations: ['87-45=42', '42/3=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
74,
8,
79,
75
] | 87 | [
"75-74=1",
"8+79=87",
"1*87=87"
] | Current State: 87:[74, 8, 79, 75], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [8, 79, 1]
Generated Node #2: [8, 79, 1] from Operation: 75-74=1
Current State: 87:[8, 79, 1], Operations: ['75-74=1']
Exploring Operation: 8+79=87, Resulting Numbers: [1, 87]
Generated Node #3: [1, 87] from Operation: 8+79=87
Current State: 87:[1, 87], Operations: ['75-74=1', '8+79=87']
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[74, 8, 79, 75], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [8, 79, 1]
Generated Node #0,0: 87:[8, 79, 1] Operation: 75-74=1
Exploring Operation: 79-74=5, Resulting Numbers: [8, 75, 5]
Generated Node #0,1: 87:[8, 75, 5] Operation: 79-74=5
Exploring Operation: 79-75=4, Resulting Numbers: [74, 8, 4]
Generated Node #0,2: 87:[74, 8, 4] Operation: 79-75=4
Moving to Node #0,0
Current State: 87:[8, 79, 1], Operations: ['75-74=1']
Exploring Operation: 8+79=87, Resulting Numbers: [1, 87]
Generated Node #0,0,0: 87:[1, 87] Operation: 8+79=87
Exploring Operation: 79+1=80, Resulting Numbers: [8, 80]
Generated Node #0,0,1: 87:[8, 80] Operation: 79+1=80
Exploring Operation: 8-1=7, Resulting Numbers: [79, 7]
Generated Node #0,0,2: 87:[79, 7] Operation: 8-1=7
Moving to Node #0,1
Current State: 87:[8, 75, 5], Operations: ['79-74=5']
Exploring Operation: 8-5=3, Resulting Numbers: [75, 3]
Generated Node #0,1,0: 87:[75, 3] Operation: 8-5=3
Exploring Operation: 8+75=83, Resulting Numbers: [5, 83]
Generated Node #0,1,1: 87:[5, 83] Operation: 8+75=83
Exploring Operation: 75+5=80, Resulting Numbers: [8, 80]
Generated Node #0,1,2: 87:[8, 80] Operation: 75+5=80
Moving to Node #0,2
Current State: 87:[74, 8, 4], Operations: ['79-75=4']
Exploring Operation: 74+8=82, Resulting Numbers: [4, 82]
Generated Node #0,2,0: 87:[4, 82] Operation: 74+8=82
Exploring Operation: 74+4=78, Resulting Numbers: [8, 78]
Generated Node #0,2,1: 87:[8, 78] Operation: 74+4=78
Exploring Operation: 8-4=4, Resulting Numbers: [74, 4]
Generated Node #0,2,2: 87:[74, 4] Operation: 8-4=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[4, 82], Operations: ['79-75=4', '74+8=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,87 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[8, 78], Operations: ['79-75=4', '74+4=78']
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 8*78=624, Resulting Numbers: [624]
624,87 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[74, 4], Operations: ['79-75=4', '8-4=4']
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 87:[1, 87], Operations: ['75-74=1', '8+79=87']
Exploring Operation: 1+87=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[74, 8, 79, 75], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [8, 79, 1]
Generated Node #0,0: 87:[8, 79, 1] Operation: 75-74=1
Moving to Node #0,0
Current State: 87:[8, 79, 1], Operations: ['75-74=1']
Exploring Operation: 8+79=87, Resulting Numbers: [1, 87]
Generated Node #0,0,0: 87:[1, 87] Operation: 8+79=87
Moving to Node #0,0,0
Current State: 87:[1, 87], Operations: ['75-74=1', '8+79=87']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
1,
38,
5,
60
] | 94 | [
"1+38=39",
"60-5=55",
"39+55=94"
] | Current State: 94:[1, 38, 5, 60], Operations: []
Exploring Operation: 1+38=39, Resulting Numbers: [5, 60, 39]
Generated Node #2: [5, 60, 39] from Operation: 1+38=39
Current State: 94:[5, 60, 39], Operations: ['1+38=39']
Exploring Operation: 60-5=55, Resulting Numbers: [39, 55]
Generated Node #3: [39, 55] from Operation: 60-5=55
Current State: 94:[39, 55], Operations: ['1+38=39', '60-5=55']
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[1, 38, 5, 60], Operations: []
Exploring Operation: 60-5=55, Resulting Numbers: [1, 38, 55]
Generated Node #0,0: 94:[1, 38, 55] Operation: 60-5=55
Exploring Operation: 38+60=98, Resulting Numbers: [1, 5, 98]
Generated Node #0,1: 94:[1, 5, 98] Operation: 38+60=98
Exploring Operation: 60/5=12, Resulting Numbers: [1, 38, 12]
Generated Node #0,2: 94:[1, 38, 12] Operation: 60/5=12
Exploring Operation: 38+5=43, Resulting Numbers: [1, 60, 43]
Generated Node #0,3: 94:[1, 60, 43] Operation: 38+5=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[1, 5, 98], Operations: ['38+60=98']
Exploring Operation: 1*5=5, Resulting Numbers: [98, 5]
Generated Node #0,1,0: 94:[98, 5] Operation: 1*5=5
Exploring Operation: 98-1=97, Resulting Numbers: [5, 97]
Generated Node #0,1,1: 94:[5, 97] Operation: 98-1=97
Exploring Operation: 98-5=93, Resulting Numbers: [1, 93]
Generated Node #0,1,2: 94:[1, 93] Operation: 98-5=93
Exploring Operation: 5-1=4, Resulting Numbers: [98, 4]
Generated Node #0,1,3: 94:[98, 4] Operation: 5-1=4
Moving to Node #0,1,2
Current State: 94:[1, 93], Operations: ['38+60=98', '98-5=93']
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,94 unequal: No Solution
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[1, 38, 5, 60], Operations: []
Exploring Operation: 38+60=98, Resulting Numbers: [1, 5, 98]
Generated Node #0,1: 94:[1, 5, 98] Operation: 38+60=98
Moving to Node #0,1
Current State: 94:[1, 5, 98], Operations: ['38+60=98']
Exploring Operation: 98-5=93, Resulting Numbers: [1, 93]
Generated Node #0,1,2: 94:[1, 93] Operation: 98-5=93
Moving to Node #0,1,2
Current State: 94:[1, 93], Operations: ['38+60=98', '98-5=93']
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
4,
16,
80,
2
] | 84 | [
"80-4=76",
"16/2=8",
"76+8=84"
] | Current State: 84:[4, 16, 80, 2], Operations: []
Exploring Operation: 80-4=76, Resulting Numbers: [16, 2, 76]
Generated Node #2: [16, 2, 76] from Operation: 80-4=76
Current State: 84:[16, 2, 76], Operations: ['80-4=76']
Exploring Operation: 16/2=8, Resulting Numbers: [76, 8]
Generated Node #3: [76, 8] from Operation: 16/2=8
Current State: 84:[76, 8], Operations: ['80-4=76', '16/2=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[4, 16, 80, 2], Operations: []
Exploring Operation: 4+80=84, Resulting Numbers: [16, 2, 84]
Generated Node #0,0: 84:[16, 2, 84] Operation: 4+80=84
Exploring Operation: 80/4=20, Resulting Numbers: [16, 2, 20]
Generated Node #0,1: 84:[16, 2, 20] Operation: 80/4=20
Exploring Operation: 80/16=5, Resulting Numbers: [4, 2, 5]
Generated Node #0,2: 84:[4, 2, 5] Operation: 80/16=5
Exploring Operation: 16-4=12, Resulting Numbers: [80, 2, 12]
Generated Node #0,3: 84:[80, 2, 12] Operation: 16-4=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[4, 2, 5], Operations: ['80/16=5']
Exploring Operation: 4+2=6, Resulting Numbers: [5, 6]
Generated Node #0,2,0: 84:[5, 6] Operation: 4+2=6
Exploring Operation: 5-2=3, Resulting Numbers: [4, 3]
Generated Node #0,2,1: 84:[4, 3] Operation: 5-2=3
Exploring Operation: 4-2=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 84:[5, 2] Operation: 4-2=2
Exploring Operation: 2+5=7, Resulting Numbers: [4, 7]
Generated Node #0,2,3: 84:[4, 7] Operation: 2+5=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[4, 3], Operations: ['80/16=5', '5-2=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No 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: 84:[4, 7], Operations: ['80/16=5', '2+5=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,84 unequal: No Solution
No 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: 84:[5, 6], Operations: ['80/16=5', '4+2=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No 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: 84:[5, 2], Operations: ['80/16=5', '4-2=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,84 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: 84:[16, 2, 84], Operations: ['4+80=84']
Exploring Operation: 16-2=14, Resulting Numbers: [84, 14]
Generated Node #0,0,0: 84:[84, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [84, 8]
Generated Node #0,0,1: 84:[84, 8] Operation: 16/2=8
Exploring Operation: 84/2=42, Resulting Numbers: [16, 42]
Generated Node #0,0,2: 84:[16, 42] Operation: 84/2=42
Exploring Operation: 16+2=18, Resulting Numbers: [84, 18]
Generated Node #0,0,3: 84:[84, 18] Operation: 16+2=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[84, 14], Operations: ['4+80=84', '16-2=14']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,84 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,84 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,84 unequal: No Solution
No 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: 84:[84, 8], Operations: ['4+80=84', '16/2=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,84 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,84 unequal: No Solution
No 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: 84:[16, 42], Operations: ['4+80=84', '84/2=42']
Exploring Operation: 16+42=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 16*42=672, Resulting Numbers: [672]
672,84 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,84 unequal: No Solution
No 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: 84:[84, 18], Operations: ['4+80=84', '16+2=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 84*18=1512, Resulting Numbers: [1512]
1512,84 unequal: No Solution
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,84 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: 84:[16, 2, 20], Operations: ['80/4=20']
Exploring Operation: 20-16=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 84:[2, 4] Operation: 20-16=4
Exploring Operation: 16/2=8, Resulting Numbers: [20, 8]
Generated Node #0,1,1: 84:[20, 8] Operation: 16/2=8
Exploring Operation: 2+20=22, Resulting Numbers: [16, 22]
Generated Node #0,1,2: 84:[16, 22] Operation: 2+20=22
Exploring Operation: 16-2=14, Resulting Numbers: [20, 14]
Generated Node #0,1,3: 84:[20, 14] Operation: 16-2=14
Moving to Node #0,1,0
Current State: 84:[2, 4], Operations: ['80/4=20', '20-16=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[20, 14], Operations: ['80/4=20', '16-2=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,84 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[20, 8], Operations: ['80/4=20', '16/2=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[16, 22], Operations: ['80/4=20', '2+20=22']
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,84 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[80, 2, 12], Operations: ['16-4=12']
Exploring Operation: 12/2=6, Resulting Numbers: [80, 6]
Generated Node #0,3,0: 84:[80, 6] Operation: 12/2=6
Exploring Operation: 80/2=40, Resulting Numbers: [12, 40]
Generated Node #0,3,1: 84:[12, 40] Operation: 80/2=40
Exploring Operation: 80+2=82, Resulting Numbers: [12, 82]
Generated Node #0,3,2: 84:[12, 82] Operation: 80+2=82
Exploring Operation: 2+12=14, Resulting Numbers: [80, 14]
Generated Node #0,3,3: 84:[80, 14] Operation: 2+12=14
Moving to Node #0,3,1
Current State: 84:[12, 40], Operations: ['16-4=12', '80/2=40']
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,84 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[12, 82], Operations: ['16-4=12', '80+2=82']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[80, 14], Operations: ['16-4=12', '2+12=14']
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,84 unequal: No Solution
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[80, 6], Operations: ['16-4=12', '12/2=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,84 unequal: No Solution
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,84 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
23,
79,
24,
69
] | 100 | [
"69/23=3",
"79+24=103",
"103-3=100"
] | Current State: 100:[23, 79, 24, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [79, 24, 3]
Generated Node #2: [79, 24, 3] from Operation: 69/23=3
Current State: 100:[79, 24, 3], Operations: ['69/23=3']
Exploring Operation: 79+24=103, Resulting Numbers: [3, 103]
Generated Node #3: [3, 103] from Operation: 79+24=103
Current State: 100:[3, 103], Operations: ['69/23=3', '79+24=103']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[23, 79, 24, 69], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [23, 24, 10]
Generated Node #0,0: 100:[23, 24, 10] Operation: 79-69=10
Exploring Operation: 79+24=103, Resulting Numbers: [23, 69, 103]
Generated Node #0,1: 100:[23, 69, 103] Operation: 79+24=103
Exploring Operation: 79-23=56, Resulting Numbers: [24, 69, 56]
Generated Node #0,2: 100:[24, 69, 56] Operation: 79-23=56
Exploring Operation: 69/23=3, Resulting Numbers: [79, 24, 3]
Generated Node #0,3: 100:[79, 24, 3] Operation: 69/23=3
Exploring Operation: 23+79=102, Resulting Numbers: [24, 69, 102]
Generated Node #0,4: 100:[24, 69, 102] Operation: 23+79=102
Moving to Node #0,0
Current State: 100:[23, 24, 10], Operations: ['79-69=10']
Exploring Operation: 24-10=14, Resulting Numbers: [23, 14]
Generated Node #0,0,0: 100:[23, 14] Operation: 24-10=14
Exploring Operation: 23+24=47, Resulting Numbers: [10, 47]
Generated Node #0,0,1: 100:[10, 47] Operation: 23+24=47
Exploring Operation: 23-10=13, Resulting Numbers: [24, 13]
Generated Node #0,0,2: 100:[24, 13] Operation: 23-10=13
Exploring Operation: 23+10=33, Resulting Numbers: [24, 33]
Generated Node #0,0,3: 100:[24, 33] Operation: 23+10=33
Exploring Operation: 24-23=1, Resulting Numbers: [10, 1]
Generated Node #0,0,4: 100:[10, 1] Operation: 24-23=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 100:[10, 1], Operations: ['79-69=10', '24-23=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[10, 47], Operations: ['79-69=10', '23+24=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[24, 13], Operations: ['79-69=10', '23-10=13']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[23, 14], Operations: ['79-69=10', '24-10=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[24, 33], Operations: ['79-69=10', '23+10=33']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 100:[24, 69, 102], Operations: ['23+79=102']
Exploring Operation: 102-24=78, Resulting Numbers: [69, 78]
Generated Node #0,4,0: 100:[69, 78] Operation: 102-24=78
Exploring Operation: 102-69=33, Resulting Numbers: [24, 33]
Generated Node #0,4,1: 100:[24, 33] Operation: 102-69=33
Exploring Operation: 69-24=45, Resulting Numbers: [102, 45]
Generated Node #0,4,2: 100:[102, 45] Operation: 69-24=45
Exploring Operation: 24+102=126, Resulting Numbers: [69, 126]
Generated Node #0,4,3: 100:[69, 126] Operation: 24+102=126
Exploring Operation: 24+69=93, Resulting Numbers: [102, 93]
Generated Node #0,4,4: 100:[102, 93] Operation: 24+69=93
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 100:[102, 45], Operations: ['23+79=102', '69-24=45']
Exploring Operation: 102+45=147, Resulting Numbers: [147]
147,100 unequal: No Solution
Exploring Operation: 102*45=4590, Resulting Numbers: [4590]
4590,100 unequal: No Solution
Exploring Operation: 102-45=57, Resulting Numbers: [57]
57,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 100:[24, 33], Operations: ['23+79=102', '102-69=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 24*33=792, Resulting Numbers: [792]
792,100 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 100:[102, 93], Operations: ['23+79=102', '24+69=93']
Exploring Operation: 102-93=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 102*93=9486, Resulting Numbers: [9486]
9486,100 unequal: No Solution
Exploring Operation: 102+93=195, Resulting Numbers: [195]
195,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 100:[69, 78], Operations: ['23+79=102', '102-24=78']
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 69*78=5382, Resulting Numbers: [5382]
5382,100 unequal: No Solution
Exploring Operation: 69+78=147, Resulting Numbers: [147]
147,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 100:[69, 126], Operations: ['23+79=102', '24+102=126']
Exploring Operation: 69*126=8694, Resulting Numbers: [8694]
8694,100 unequal: No Solution
Exploring Operation: 126-69=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 69+126=195, Resulting Numbers: [195]
195,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 100:[79, 24, 3], Operations: ['69/23=3']
Exploring Operation: 24+3=27, Resulting Numbers: [79, 27]
Generated Node #0,3,0: 100:[79, 27] Operation: 24+3=27
Exploring Operation: 79-24=55, Resulting Numbers: [3, 55]
Generated Node #0,3,1: 100:[3, 55] Operation: 79-24=55
Exploring Operation: 79+24=103, Resulting Numbers: [3, 103]
Generated Node #0,3,2: 100:[3, 103] Operation: 79+24=103
Exploring Operation: 24-3=21, Resulting Numbers: [79, 21]
Generated Node #0,3,3: 100:[79, 21] Operation: 24-3=21
Exploring Operation: 79+3=82, Resulting Numbers: [24, 82]
Generated Node #0,3,4: 100:[24, 82] Operation: 79+3=82
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[3, 103], Operations: ['69/23=3', '79+24=103']
Exploring Operation: 3*103=309, Resulting Numbers: [309]
309,100 unequal: No Solution
Exploring Operation: 3+103=106, Resulting Numbers: [106]
106,100 unequal: No Solution
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[23, 79, 24, 69], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [79, 24, 3]
Generated Node #0,3: 100:[79, 24, 3] Operation: 69/23=3
Moving to Node #0,3
Current State: 100:[79, 24, 3], Operations: ['69/23=3']
Exploring Operation: 79+24=103, Resulting Numbers: [3, 103]
Generated Node #0,3,2: 100:[3, 103] Operation: 79+24=103
Moving to Node #0,3,2
Current State: 100:[3, 103], Operations: ['69/23=3', '79+24=103']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
96,
44,
58,
34
] | 32 | [
"96*34=3264",
"44+58=102",
"3264/102=32"
] | Current State: 32:[96, 44, 58, 34], Operations: []
Exploring Operation: 96*34=3264, Resulting Numbers: [44, 58, 3264]
Generated Node #2: [44, 58, 3264] from Operation: 96*34=3264
Current State: 32:[44, 58, 3264], Operations: ['96*34=3264']
Exploring Operation: 44+58=102, Resulting Numbers: [3264, 102]
Generated Node #3: [3264, 102] from Operation: 44+58=102
Current State: 32:[3264, 102], Operations: ['96*34=3264', '44+58=102']
Exploring Operation: 3264/102=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[96, 44, 58, 34], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [44, 34, 38]
Generated Node #0,0: 32:[44, 34, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[44, 34, 38], Operations: ['96-58=38']
Exploring Operation: 44-38=6, Resulting Numbers: [34, 6]
Generated Node #0,0,0: 32:[34, 6] Operation: 44-38=6
Moving to Node #0,0,0
Current State: 32:[34, 6], Operations: ['96-58=38', '44-38=6']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,32 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 |
[
49,
66,
66,
64
] | 49 | [
"66-66=0",
"64*0=0",
"49+0=49"
] | Current State: 49:[49, 66, 66, 64], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [49, 64, 0]
Generated Node #2: [49, 64, 0] from Operation: 66-66=0
Current State: 49:[49, 64, 0], Operations: ['66-66=0']
Exploring Operation: 64*0=0, Resulting Numbers: [49, 0]
Generated Node #3: [49, 0] from Operation: 64*0=0
Current State: 49:[49, 0], Operations: ['66-66=0', '64*0=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[49, 66, 66, 64], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [49, 64, 0]
Generated Node #0,0: 49:[49, 64, 0] Operation: 66-66=0
Exploring Operation: 66/66=1, Resulting Numbers: [49, 64, 1]
Generated Node #0,1: 49:[49, 64, 1] Operation: 66/66=1
Exploring Operation: 66-64=2, Resulting Numbers: [49, 66, 2]
Generated Node #0,2: 49:[49, 66, 2] Operation: 66-64=2
Exploring Operation: 66-64=2, Resulting Numbers: [49, 66, 2]
Generated Node #0,3: 49:[49, 66, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[49, 64, 1], Operations: ['66/66=1']
Exploring Operation: 64-49=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 49:[1, 15] Operation: 64-49=15
Exploring Operation: 49*1=49, Resulting Numbers: [64, 49]
Generated Node #0,1,1: 49:[64, 49] Operation: 49*1=49
Exploring Operation: 64-1=63, Resulting Numbers: [49, 63]
Generated Node #0,1,2: 49:[49, 63] Operation: 64-1=63
Exploring Operation: 49/1=49, Resulting Numbers: [64, 49]
Generated Node #0,1,3: 49:[64, 49] Operation: 49/1=49
Moving to Node #0,1,0
Current State: 49:[1, 15], Operations: ['66/66=1', '64-49=15']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[49, 63], Operations: ['66/66=1', '64-1=63']
Exploring Operation: 49*63=3087, Resulting Numbers: [3087]
3087,49 unequal: No Solution
Exploring Operation: 49+63=112, Resulting Numbers: [112]
112,49 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[64, 49], Operations: ['66/66=1', '49/1=49']
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,49 unequal: No Solution
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[64, 49], Operations: ['66/66=1', '49*1=49']
Exploring Operation: 64+49=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 64*49=3136, Resulting Numbers: [3136]
3136,49 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,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
Current State: 49:[49, 64, 0], Operations: ['66-66=0']
Exploring Operation: 49+0=49, Resulting Numbers: [64, 49]
Generated Node #0,0,0: 49:[64, 49] Operation: 49+0=49
Exploring Operation: 64-49=15, Resulting Numbers: [0, 15]
Generated Node #0,0,1: 49:[0, 15] Operation: 64-49=15
Exploring Operation: 64*0=0, Resulting Numbers: [49, 0]
Generated Node #0,0,2: 49:[49, 0] Operation: 64*0=0
Exploring Operation: 49-0=49, Resulting Numbers: [64, 49]
Generated Node #0,0,3: 49:[64, 49] Operation: 49-0=49
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[49, 0], Operations: ['66-66=0', '64*0=0']
Exploring Operation: 49*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 49-0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[49, 66, 66, 64], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [49, 64, 0]
Generated Node #0,0: 49:[49, 64, 0] Operation: 66-66=0
Moving to Node #0,0
Current State: 49:[49, 64, 0], Operations: ['66-66=0']
Exploring Operation: 64*0=0, Resulting Numbers: [49, 0]
Generated Node #0,0,2: 49:[49, 0] Operation: 64*0=0
Moving to Node #0,0,2
Current State: 49:[49, 0], Operations: ['66-66=0', '64*0=0']
Exploring Operation: 49-0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
13,
41,
75,
25
] | 50 | [
"13*75=975",
"41*25=1025",
"1025-975=50"
] | Current State: 50:[13, 41, 75, 25], Operations: []
Exploring Operation: 13*75=975, Resulting Numbers: [41, 25, 975]
Generated Node #2: [41, 25, 975] from Operation: 13*75=975
Current State: 50:[41, 25, 975], Operations: ['13*75=975']
Exploring Operation: 41*25=1025, Resulting Numbers: [975, 1025]
Generated Node #3: [975, 1025] from Operation: 41*25=1025
Current State: 50:[975, 1025], Operations: ['13*75=975', '41*25=1025']
Exploring Operation: 1025-975=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[13, 41, 75, 25], Operations: []
Exploring Operation: 41-13=28, Resulting Numbers: [75, 25, 28]
Generated Node #0,0: 50:[75, 25, 28] Operation: 41-13=28
Exploring Operation: 75-41=34, Resulting Numbers: [13, 25, 34]
Generated Node #0,1: 50:[13, 25, 34] Operation: 75-41=34
Exploring Operation: 75-13=62, Resulting Numbers: [41, 25, 62]
Generated Node #0,2: 50:[41, 25, 62] Operation: 75-13=62
Exploring Operation: 75-25=50, Resulting Numbers: [13, 41, 50]
Generated Node #0,3: 50:[13, 41, 50] Operation: 75-25=50
Exploring Operation: 75/25=3, Resulting Numbers: [13, 41, 3]
Generated Node #0,4: 50:[13, 41, 3] Operation: 75/25=3
Moving to Node #0,1
Current State: 50:[13, 25, 34], Operations: ['75-41=34']
Exploring Operation: 25+34=59, Resulting Numbers: [13, 59]
Generated Node #0,1,0: 50:[13, 59] Operation: 25+34=59
Exploring Operation: 25-13=12, Resulting Numbers: [34, 12]
Generated Node #0,1,1: 50:[34, 12] Operation: 25-13=12
Exploring Operation: 34-25=9, Resulting Numbers: [13, 9]
Generated Node #0,1,2: 50:[13, 9] Operation: 34-25=9
Exploring Operation: 13+34=47, Resulting Numbers: [25, 47]
Generated Node #0,1,3: 50:[25, 47] Operation: 13+34=47
Exploring Operation: 34-13=21, Resulting Numbers: [25, 21]
Generated Node #0,1,4: 50:[25, 21] Operation: 34-13=21
Moving to Node #0,3
Current State: 50:[13, 41, 50], Operations: ['75-25=50']
Exploring Operation: 50-41=9, Resulting Numbers: [13, 9]
Generated Node #0,3,0: 50:[13, 9] Operation: 50-41=9
Exploring Operation: 50-13=37, Resulting Numbers: [41, 37]
Generated Node #0,3,1: 50:[41, 37] Operation: 50-13=37
Exploring Operation: 13+50=63, Resulting Numbers: [41, 63]
Generated Node #0,3,2: 50:[41, 63] Operation: 13+50=63
Exploring Operation: 13+41=54, Resulting Numbers: [50, 54]
Generated Node #0,3,3: 50:[50, 54] Operation: 13+41=54
Exploring Operation: 41-13=28, Resulting Numbers: [50, 28]
Generated Node #0,3,4: 50:[50, 28] Operation: 41-13=28
Moving to Node #0,4
Current State: 50:[13, 41, 3], Operations: ['75/25=3']
Exploring Operation: 41+3=44, Resulting Numbers: [13, 44]
Generated Node #0,4,0: 50:[13, 44] Operation: 41+3=44
Exploring Operation: 41-13=28, Resulting Numbers: [3, 28]
Generated Node #0,4,1: 50:[3, 28] Operation: 41-13=28
Exploring Operation: 13+3=16, Resulting Numbers: [41, 16]
Generated Node #0,4,2: 50:[41, 16] Operation: 13+3=16
Exploring Operation: 13-3=10, Resulting Numbers: [41, 10]
Generated Node #0,4,3: 50:[41, 10] Operation: 13-3=10
Exploring Operation: 13+41=54, Resulting Numbers: [3, 54]
Generated Node #0,4,4: 50:[3, 54] Operation: 13+41=54
Moving to Node #0,2
Current State: 50:[41, 25, 62], Operations: ['75-13=62']
Exploring Operation: 41-25=16, Resulting Numbers: [62, 16]
Generated Node #0,2,0: 50:[62, 16] Operation: 41-25=16
Exploring Operation: 62-41=21, Resulting Numbers: [25, 21]
Generated Node #0,2,1: 50:[25, 21] Operation: 62-41=21
Exploring Operation: 62-25=37, Resulting Numbers: [41, 37]
Generated Node #0,2,2: 50:[41, 37] Operation: 62-25=37
Exploring Operation: 41+25=66, Resulting Numbers: [62, 66]
Generated Node #0,2,3: 50:[62, 66] Operation: 41+25=66
Exploring Operation: 25+62=87, Resulting Numbers: [41, 87]
Generated Node #0,2,4: 50:[41, 87] Operation: 25+62=87
Moving to Node #0,0
Current State: 50:[75, 25, 28], Operations: ['41-13=28']
Exploring Operation: 75-25=50, Resulting Numbers: [28, 50]
Generated Node #0,0,0: 50:[28, 50] Operation: 75-25=50
Exploring Operation: 75-28=47, Resulting Numbers: [25, 47]
Generated Node #0,0,1: 50:[25, 47] Operation: 75-28=47
Exploring Operation: 28-25=3, Resulting Numbers: [75, 3]
Generated Node #0,0,2: 50:[75, 3] Operation: 28-25=3
Exploring Operation: 25+28=53, Resulting Numbers: [75, 53]
Generated Node #0,0,3: 50:[75, 53] Operation: 25+28=53
Exploring Operation: 75/25=3, Resulting Numbers: [28, 3]
Generated Node #0,0,4: 50:[28, 3] Operation: 75/25=3
Moving to Node #0,1,3
Current State: 50:[25, 47], Operations: ['75-41=34', '13+34=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,50 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[50, 28], Operations: ['75-25=50', '41-13=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[28, 50], Operations: ['41-13=28', '75-25=50']
Exploring Operation: 28+50=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 28*50=1400, Resulting Numbers: [1400]
1400,50 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[25, 47], Operations: ['41-13=28', '75-28=47']
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,50 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[13, 9], Operations: ['75-25=50', '50-41=9']
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,50 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,1,4
Current State: 50:[25, 21], Operations: ['75-41=34', '34-13=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,50 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[13, 9], Operations: ['75-41=34', '34-25=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[28, 3], Operations: ['41-13=28', '75/25=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[3, 28], Operations: ['75/25=3', '41-13=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[50, 54], Operations: ['75-25=50', '13+41=54']
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,50 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[25, 21], Operations: ['75-13=62', '62-41=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,50 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[3, 54], Operations: ['75/25=3', '13+41=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,50 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[41, 10], Operations: ['75/25=3', '13-3=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[13, 44], Operations: ['75/25=3', '41+3=44']
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,50 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[34, 12], Operations: ['75-41=34', '25-13=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,50 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[13, 59], Operations: ['75-41=34', '25+34=59']
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,50 unequal: No Solution
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[41, 16], Operations: ['75/25=3', '13+3=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 41*16=656, Resulting Numbers: [656]
656,50 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[62, 16], Operations: ['75-13=62', '41-25=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,50 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[41, 37], Operations: ['75-25=50', '50-13=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[41, 37], Operations: ['75-13=62', '62-25=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[41, 63], Operations: ['75-25=50', '13+50=63']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,50 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[75, 3], Operations: ['41-13=28', '28-25=3']
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,50 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[62, 66], Operations: ['75-13=62', '41+25=66']
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 62+66=128, Resulting Numbers: [128]
128,50 unequal: No Solution
Exploring Operation: 62*66=4092, Resulting Numbers: [4092]
4092,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[75, 53], Operations: ['41-13=28', '25+28=53']
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,50 unequal: No Solution
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,50 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[41, 87], Operations: ['75-13=62', '25+62=87']
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 41*87=3567, Resulting Numbers: [3567]
3567,50 unequal: No Solution
Exploring Operation: 41+87=128, Resulting Numbers: [128]
128,50 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
16,
60,
2,
16
] | 60 | [
"16-16=0",
"2*0=0",
"60+0=60"
] | Current State: 60:[16, 60, 2, 16], Operations: []
Exploring Operation: 16-16=0, Resulting Numbers: [60, 2, 0]
Generated Node #2: [60, 2, 0] from Operation: 16-16=0
Current State: 60:[60, 2, 0], Operations: ['16-16=0']
Exploring Operation: 2*0=0, Resulting Numbers: [60, 0]
Generated Node #3: [60, 0] from Operation: 2*0=0
Current State: 60:[60, 0], Operations: ['16-16=0', '2*0=0']
Exploring Operation: 60+0=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[16, 60, 2, 16], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [60, 2, 32]
Generated Node #0,0: 60:[60, 2, 32] Operation: 16+16=32
Exploring Operation: 16-16=0, Resulting Numbers: [60, 2, 0]
Generated Node #0,1: 60:[60, 2, 0] Operation: 16-16=0
Exploring Operation: 16-2=14, Resulting Numbers: [60, 16, 14]
Generated Node #0,2: 60:[60, 16, 14] Operation: 16-2=14
Exploring Operation: 16/16=1, Resulting Numbers: [60, 2, 1]
Generated Node #0,3: 60:[60, 2, 1] Operation: 16/16=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[60, 2, 1], Operations: ['16/16=1']
Exploring Operation: 60/1=60, Resulting Numbers: [2, 60]
Generated Node #0,3,0: 60:[2, 60] Operation: 60/1=60
Exploring Operation: 2*1=2, Resulting Numbers: [60, 2]
Generated Node #0,3,1: 60:[60, 2] Operation: 2*1=2
Exploring Operation: 2+1=3, Resulting Numbers: [60, 3]
Generated Node #0,3,2: 60:[60, 3] Operation: 2+1=3
Exploring Operation: 60*1=60, Resulting Numbers: [2, 60]
Generated Node #0,3,3: 60:[2, 60] Operation: 60*1=60
Moving to Node #0,3,0
Current State: 60:[2, 60], Operations: ['16/16=1', '60/1=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[60, 3], Operations: ['16/16=1', '2+1=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[60, 2], Operations: ['16/16=1', '2*1=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[2, 60], Operations: ['16/16=1', '60*1=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[60, 2, 32], Operations: ['16+16=32']
Exploring Operation: 60-32=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 60:[2, 28] Operation: 60-32=28
Exploring Operation: 32/2=16, Resulting Numbers: [60, 16]
Generated Node #0,0,1: 60:[60, 16] Operation: 32/2=16
Exploring Operation: 32-2=30, Resulting Numbers: [60, 30]
Generated Node #0,0,2: 60:[60, 30] Operation: 32-2=30
Exploring Operation: 60/2=30, Resulting Numbers: [32, 30]
Generated Node #0,0,3: 60:[32, 30] Operation: 60/2=30
Moving to Node #0,0,2
Current State: 60:[60, 30], Operations: ['16+16=32', '32-2=30']
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[60, 16], Operations: ['16+16=32', '32/2=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,60 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,60 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[32, 30], Operations: ['16+16=32', '60/2=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,60 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[2, 28], Operations: ['16+16=32', '60-32=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[60, 2, 0], Operations: ['16-16=0']
Exploring Operation: 2+0=2, Resulting Numbers: [60, 2]
Generated Node #0,1,0: 60:[60, 2] Operation: 2+0=2
Exploring Operation: 60-0=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 60:[2, 60] Operation: 60-0=60
Exploring Operation: 2-0=2, Resulting Numbers: [60, 2]
Generated Node #0,1,2: 60:[60, 2] Operation: 2-0=2
Exploring Operation: 60+0=60, Resulting Numbers: [2, 60]
Generated Node #0,1,3: 60:[2, 60] Operation: 60+0=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[60, 2], Operations: ['16-16=0', '2+0=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No 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: 60:[2, 60], Operations: ['16-16=0', '60-0=60']
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No 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: 60:[60, 2], Operations: ['16-16=0', '2-0=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No 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: 60:[2, 60], Operations: ['16-16=0', '60+0=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,60 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[60, 16, 14], Operations: ['16-2=14']
Exploring Operation: 60-16=44, Resulting Numbers: [14, 44]
Generated Node #0,2,0: 60:[14, 44] Operation: 60-16=44
Exploring Operation: 16+14=30, Resulting Numbers: [60, 30]
Generated Node #0,2,1: 60:[60, 30] Operation: 16+14=30
Exploring Operation: 60+14=74, Resulting Numbers: [16, 74]
Generated Node #0,2,2: 60:[16, 74] Operation: 60+14=74
Exploring Operation: 16-14=2, Resulting Numbers: [60, 2]
Generated Node #0,2,3: 60:[60, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[60, 30], Operations: ['16-2=14', '16+14=30']
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,60 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No 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: 60:[60, 2], Operations: ['16-2=14', '16-14=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,60 unequal: No Solution
No 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: 60:[14, 44], Operations: ['16-2=14', '60-16=44']
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,60 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No 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: 60:[16, 74], Operations: ['16-2=14', '60+14=74']
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
61,
42,
14,
38
] | 53 | [
"42/14=3",
"38*3=114",
"114-61=53"
] | Current State: 53:[61, 42, 14, 38], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [61, 38, 3]
Generated Node #2: [61, 38, 3] from Operation: 42/14=3
Current State: 53:[61, 38, 3], Operations: ['42/14=3']
Exploring Operation: 38*3=114, Resulting Numbers: [61, 114]
Generated Node #3: [61, 114] from Operation: 38*3=114
Current State: 53:[61, 114], Operations: ['42/14=3', '38*3=114']
Exploring Operation: 114-61=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[61, 42, 14, 38], Operations: []
Exploring Operation: 42+14=56, Resulting Numbers: [61, 38, 56]
Generated Node #0,0: 53:[61, 38, 56] Operation: 42+14=56
Exploring Operation: 14+38=52, Resulting Numbers: [61, 42, 52]
Generated Node #0,1: 53:[61, 42, 52] Operation: 14+38=52
Exploring Operation: 61-14=47, Resulting Numbers: [42, 38, 47]
Generated Node #0,2: 53:[42, 38, 47] Operation: 61-14=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[61, 42, 52], Operations: ['14+38=52']
Exploring Operation: 61-42=19, Resulting Numbers: [52, 19]
Generated Node #0,1,0: 53:[52, 19] Operation: 61-42=19
Exploring Operation: 61+42=103, Resulting Numbers: [52, 103]
Generated Node #0,1,1: 53:[52, 103] Operation: 61+42=103
Exploring Operation: 42+52=94, Resulting Numbers: [61, 94]
Generated Node #0,1,2: 53:[61, 94] Operation: 42+52=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[52, 19], Operations: ['14+38=52', '61-42=19']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[61, 94], Operations: ['14+38=52', '42+52=94']
Exploring Operation: 61*94=5734, Resulting Numbers: [5734]
5734,53 unequal: No Solution
Exploring Operation: 94-61=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 61+94=155, Resulting Numbers: [155]
155,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[52, 103], Operations: ['14+38=52', '61+42=103']
Exploring Operation: 103-52=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 52+103=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 52*103=5356, Resulting Numbers: [5356]
5356,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[61, 38, 56], Operations: ['42+14=56']
Exploring Operation: 61+38=99, Resulting Numbers: [56, 99]
Generated Node #0,0,0: 53:[56, 99] Operation: 61+38=99
Exploring Operation: 61-38=23, Resulting Numbers: [56, 23]
Generated Node #0,0,1: 53:[56, 23] Operation: 61-38=23
Exploring Operation: 56-38=18, Resulting Numbers: [61, 18]
Generated Node #0,0,2: 53:[61, 18] Operation: 56-38=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[56, 23], Operations: ['42+14=56', '61-38=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[61, 18], Operations: ['42+14=56', '56-38=18']
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,53 unequal: No Solution
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 99], Operations: ['42+14=56', '61+38=99']
Exploring Operation: 99-56=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 56*99=5544, Resulting Numbers: [5544]
5544,53 unequal: No Solution
Exploring Operation: 56+99=155, Resulting Numbers: [155]
155,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[42, 38, 47], Operations: ['61-14=47']
Exploring Operation: 42+47=89, Resulting Numbers: [38, 89]
Generated Node #0,2,0: 53:[38, 89] Operation: 42+47=89
Exploring Operation: 38+47=85, Resulting Numbers: [42, 85]
Generated Node #0,2,1: 53:[42, 85] Operation: 38+47=85
Exploring Operation: 42+38=80, Resulting Numbers: [47, 80]
Generated Node #0,2,2: 53:[47, 80] Operation: 42+38=80
Moving to Node #0,2,2
Current State: 53:[47, 80], Operations: ['61-14=47', '42+38=80']
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[42, 85], Operations: ['61-14=47', '38+47=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 42*85=3570, Resulting Numbers: [3570]
3570,53 unequal: No Solution
Exploring Operation: 42+85=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[38, 89], Operations: ['61-14=47', '42+47=89']
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
55,
80,
66
] | 73 | [
"32+55=87",
"80-66=14",
"87-14=73"
] | Current State: 73:[32, 55, 80, 66], Operations: []
Exploring Operation: 32+55=87, Resulting Numbers: [80, 66, 87]
Generated Node #2: [80, 66, 87] from Operation: 32+55=87
Current State: 73:[80, 66, 87], Operations: ['32+55=87']
Exploring Operation: 80-66=14, Resulting Numbers: [87, 14]
Generated Node #3: [87, 14] from Operation: 80-66=14
Current State: 73:[87, 14], Operations: ['32+55=87', '80-66=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[32, 55, 80, 66], Operations: []
Exploring Operation: 32+55=87, Resulting Numbers: [80, 66, 87]
Generated Node #0,0: 73:[80, 66, 87] Operation: 32+55=87
Exploring Operation: 32+66=98, Resulting Numbers: [55, 80, 98]
Generated Node #0,1: 73:[55, 80, 98] Operation: 32+66=98
Exploring Operation: 80-32=48, Resulting Numbers: [55, 66, 48]
Generated Node #0,2: 73:[55, 66, 48] Operation: 80-32=48
Moving to Node #0,0
Current State: 73:[80, 66, 87], Operations: ['32+55=87']
Exploring Operation: 87-66=21, Resulting Numbers: [80, 21]
Generated Node #0,0,0: 73:[80, 21] Operation: 87-66=21
Exploring Operation: 87-80=7, Resulting Numbers: [66, 7]
Generated Node #0,0,1: 73:[66, 7] Operation: 87-80=7
Exploring Operation: 80-66=14, Resulting Numbers: [87, 14]
Generated Node #0,0,2: 73:[87, 14] Operation: 80-66=14
Moving to Node #0,1
Current State: 73:[55, 80, 98], Operations: ['32+66=98']
Exploring Operation: 98-80=18, Resulting Numbers: [55, 18]
Generated Node #0,1,0: 73:[55, 18] Operation: 98-80=18
Exploring Operation: 98-55=43, Resulting Numbers: [80, 43]
Generated Node #0,1,1: 73:[80, 43] Operation: 98-55=43
Exploring Operation: 80-55=25, Resulting Numbers: [98, 25]
Generated Node #0,1,2: 73:[98, 25] Operation: 80-55=25
Moving to Node #0,2
Current State: 73:[55, 66, 48], Operations: ['80-32=48']
Exploring Operation: 55+48=103, Resulting Numbers: [66, 103]
Generated Node #0,2,0: 73:[66, 103] Operation: 55+48=103
Exploring Operation: 55+66=121, Resulting Numbers: [48, 121]
Generated Node #0,2,1: 73:[48, 121] Operation: 55+66=121
Exploring Operation: 66+48=114, Resulting Numbers: [55, 114]
Generated Node #0,2,2: 73:[55, 114] Operation: 66+48=114
Moving to Node #0,1,1
Current State: 73:[80, 43], Operations: ['32+66=98', '98-55=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[66, 103], Operations: ['80-32=48', '55+48=103']
Exploring Operation: 66+103=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Exploring Operation: 103-66=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 66*103=6798, Resulting Numbers: [6798]
6798,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[80, 21], Operations: ['32+55=87', '87-66=21']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,73 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[55, 114], Operations: ['80-32=48', '66+48=114']
Exploring Operation: 114-55=59, Resulting Numbers: [59]
59,73 unequal: No Solution
Exploring Operation: 55+114=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Exploring Operation: 55*114=6270, Resulting Numbers: [6270]
6270,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[87, 14], Operations: ['32+55=87', '80-66=14']
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,73 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[32, 55, 80, 66], Operations: []
Exploring Operation: 32+55=87, Resulting Numbers: [80, 66, 87]
Generated Node #0,0: 73:[80, 66, 87] Operation: 32+55=87
Moving to Node #0,0
Current State: 73:[80, 66, 87], Operations: ['32+55=87']
Exploring Operation: 80-66=14, Resulting Numbers: [87, 14]
Generated Node #0,0,2: 73:[87, 14] Operation: 80-66=14
Moving to Node #0,0,2
Current State: 73:[87, 14], Operations: ['32+55=87', '80-66=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
13,
11,
60,
47
] | 37 | [
"13+11=24",
"60-47=13",
"24+13=37"
] | Current State: 37:[13, 11, 60, 47], Operations: []
Exploring Operation: 13+11=24, Resulting Numbers: [60, 47, 24]
Generated Node #2: [60, 47, 24] from Operation: 13+11=24
Current State: 37:[60, 47, 24], Operations: ['13+11=24']
Exploring Operation: 60-47=13, Resulting Numbers: [24, 13]
Generated Node #3: [24, 13] from Operation: 60-47=13
Current State: 37:[24, 13], Operations: ['13+11=24', '60-47=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[13, 11, 60, 47], Operations: []
Exploring Operation: 47-11=36, Resulting Numbers: [13, 60, 36]
Generated Node #0,0: 37:[13, 60, 36] Operation: 47-11=36
Exploring Operation: 60-11=49, Resulting Numbers: [13, 47, 49]
Generated Node #0,1: 37:[13, 47, 49] Operation: 60-11=49
Exploring Operation: 60-13=47, Resulting Numbers: [11, 47, 47]
Generated Node #0,2: 37:[11, 47, 47] Operation: 60-13=47
Exploring Operation: 13+11=24, Resulting Numbers: [60, 47, 24]
Generated Node #0,3: 37:[60, 47, 24] Operation: 13+11=24
Moving to Node #0,1
Current State: 37:[13, 47, 49], Operations: ['60-11=49']
Exploring Operation: 49-13=36, Resulting Numbers: [47, 36]
Generated Node #0,1,0: 37:[47, 36] Operation: 49-13=36
Exploring Operation: 13+49=62, Resulting Numbers: [47, 62]
Generated Node #0,1,1: 37:[47, 62] Operation: 13+49=62
Exploring Operation: 47-13=34, Resulting Numbers: [49, 34]
Generated Node #0,1,2: 37:[49, 34] Operation: 47-13=34
Exploring Operation: 13+47=60, Resulting Numbers: [49, 60]
Generated Node #0,1,3: 37:[49, 60] Operation: 13+47=60
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[47, 36], Operations: ['60-11=49', '49-13=36']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,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,1,2
Current State: 37:[49, 34], Operations: ['60-11=49', '47-13=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,37 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,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,1,1
Current State: 37:[47, 62], Operations: ['60-11=49', '13+49=62']
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,37 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,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,1,3
Current State: 37:[49, 60], Operations: ['60-11=49', '13+47=60']
Exploring Operation: 49+60=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 49*60=2940, Resulting Numbers: [2940]
2940,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:[60, 47, 24], Operations: ['13+11=24']
Exploring Operation: 47-24=23, Resulting Numbers: [60, 23]
Generated Node #0,3,0: 37:[60, 23] Operation: 47-24=23
Exploring Operation: 60-47=13, Resulting Numbers: [24, 13]
Generated Node #0,3,1: 37:[24, 13] Operation: 60-47=13
Exploring Operation: 60+24=84, Resulting Numbers: [47, 84]
Generated Node #0,3,2: 37:[47, 84] Operation: 60+24=84
Exploring Operation: 60-24=36, Resulting Numbers: [47, 36]
Generated Node #0,3,3: 37:[47, 36] Operation: 60-24=36
Moving to Node #0,2
Current State: 37:[11, 47, 47], Operations: ['60-13=47']
Exploring Operation: 47-11=36, Resulting Numbers: [47, 36]
Generated Node #0,2,0: 37:[47, 36] Operation: 47-11=36
Exploring Operation: 11+47=58, Resulting Numbers: [47, 58]
Generated Node #0,2,1: 37:[47, 58] Operation: 11+47=58
Exploring Operation: 47-11=36, Resulting Numbers: [47, 36]
Generated Node #0,2,2: 37:[47, 36] Operation: 47-11=36
Exploring Operation: 11+47=58, Resulting Numbers: [47, 58]
Generated Node #0,2,3: 37:[47, 58] Operation: 11+47=58
Moving to Node #0,0
Current State: 37:[13, 60, 36], Operations: ['47-11=36']
Exploring Operation: 13+60=73, Resulting Numbers: [36, 73]
Generated Node #0,0,0: 37:[36, 73] Operation: 13+60=73
Exploring Operation: 13+36=49, Resulting Numbers: [60, 49]
Generated Node #0,0,1: 37:[60, 49] Operation: 13+36=49
Exploring Operation: 36-13=23, Resulting Numbers: [60, 23]
Generated Node #0,0,2: 37:[60, 23] Operation: 36-13=23
Exploring Operation: 60-13=47, Resulting Numbers: [36, 47]
Generated Node #0,0,3: 37:[36, 47] Operation: 60-13=47
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[36, 47], Operations: ['47-11=36', '60-13=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,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:[60, 49], Operations: ['47-11=36', '13+36=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,37 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,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,0
Current State: 37:[36, 73], Operations: ['47-11=36', '13+60=73']
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,37 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[13, 11, 60, 47], Operations: []
Exploring Operation: 47-11=36, Resulting Numbers: [13, 60, 36]
Generated Node #0,0: 37:[13, 60, 36] Operation: 47-11=36
Moving to Node #0,0
Current State: 37:[13, 60, 36], Operations: ['47-11=36']
Exploring Operation: 13+60=73, Resulting Numbers: [36, 73]
Generated Node #0,0,0: 37:[36, 73] Operation: 13+60=73
Moving to Node #0,0,0
Current State: 37:[36, 73], Operations: ['47-11=36', '13+60=73']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_4 | mult_heuristic |
[
10,
11,
36,
7
] | 76 | [
"11-7=4",
"10*4=40",
"36+40=76"
] | Current State: 76:[10, 11, 36, 7], Operations: []
Exploring Operation: 11-7=4, Resulting Numbers: [10, 36, 4]
Generated Node #2: [10, 36, 4] from Operation: 11-7=4
Current State: 76:[10, 36, 4], Operations: ['11-7=4']
Exploring Operation: 10*4=40, Resulting Numbers: [36, 40]
Generated Node #3: [36, 40] from Operation: 10*4=40
Current State: 76:[36, 40], Operations: ['11-7=4', '10*4=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[10, 11, 36, 7], Operations: []
Exploring Operation: 11-10=1, Resulting Numbers: [36, 7, 1]
Generated Node #0,0: 76:[36, 7, 1] Operation: 11-10=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[36, 7, 1], Operations: ['11-10=1']
Exploring Operation: 36+1=37, Resulting Numbers: [7, 37]
Generated Node #0,0,0: 76:[7, 37] Operation: 36+1=37
Moving to Node #0,0,0
Current State: 76:[7, 37], Operations: ['11-10=1', '36+1=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
16,
40,
64
] | 88 | [
"18-16=2",
"64*2=128",
"128-40=88"
] | Current State: 88:[18, 16, 40, 64], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [40, 64, 2]
Generated Node #2: [40, 64, 2] from Operation: 18-16=2
Current State: 88:[40, 64, 2], Operations: ['18-16=2']
Exploring Operation: 64*2=128, Resulting Numbers: [40, 128]
Generated Node #3: [40, 128] from Operation: 64*2=128
Current State: 88:[40, 128], Operations: ['18-16=2', '64*2=128']
Exploring Operation: 128-40=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[18, 16, 40, 64], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [18, 40, 4]
Generated Node #0,0: 88:[18, 40, 4] Operation: 64/16=4
Exploring Operation: 64-40=24, Resulting Numbers: [18, 16, 24]
Generated Node #0,1: 88:[18, 16, 24] Operation: 64-40=24
Exploring Operation: 64-18=46, Resulting Numbers: [16, 40, 46]
Generated Node #0,2: 88:[16, 40, 46] Operation: 64-18=46
Moving to Node #0,0
Current State: 88:[18, 40, 4], Operations: ['64/16=4']
Exploring Operation: 40-18=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 88:[4, 22] Operation: 40-18=22
Exploring Operation: 40+4=44, Resulting Numbers: [18, 44]
Generated Node #0,0,1: 88:[18, 44] Operation: 40+4=44
Exploring Operation: 18+4=22, Resulting Numbers: [40, 22]
Generated Node #0,0,2: 88:[40, 22] Operation: 18+4=22
Moving to Node #0,1
Current State: 88:[18, 16, 24], Operations: ['64-40=24']
Exploring Operation: 18-16=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 88:[24, 2] Operation: 18-16=2
Exploring Operation: 24-16=8, Resulting Numbers: [18, 8]
Generated Node #0,1,1: 88:[18, 8] Operation: 24-16=8
Exploring Operation: 18+24=42, Resulting Numbers: [16, 42]
Generated Node #0,1,2: 88:[16, 42] Operation: 18+24=42
Moving to Node #0,2
Current State: 88:[16, 40, 46], Operations: ['64-18=46']
Exploring Operation: 40+46=86, Resulting Numbers: [16, 86]
Generated Node #0,2,0: 88:[16, 86] Operation: 40+46=86
Exploring Operation: 40-16=24, Resulting Numbers: [46, 24]
Generated Node #0,2,1: 88:[46, 24] Operation: 40-16=24
Exploring Operation: 46-40=6, Resulting Numbers: [16, 6]
Generated Node #0,2,2: 88:[16, 6] Operation: 46-40=6
Moving to Node #0,0,0
Current State: 88:[4, 22], Operations: ['64/16=4', '40-18=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[18, 16, 40, 64], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [18, 40, 4]
Generated Node #0,0: 88:[18, 40, 4] Operation: 64/16=4
Moving to Node #0,0
Current State: 88:[18, 40, 4], Operations: ['64/16=4']
Exploring Operation: 40-18=22, Resulting Numbers: [4, 22]
Generated Node #0,0,0: 88:[4, 22] Operation: 40-18=22
Moving to Node #0,0,0
Current State: 88:[4, 22], Operations: ['64/16=4', '40-18=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
25,
39,
73,
89
] | 98 | [
"25+39=64",
"73+89=162",
"162-64=98"
] | Current State: 98:[25, 39, 73, 89], Operations: []
Exploring Operation: 25+39=64, Resulting Numbers: [73, 89, 64]
Generated Node #2: [73, 89, 64] from Operation: 25+39=64
Current State: 98:[73, 89, 64], Operations: ['25+39=64']
Exploring Operation: 73+89=162, Resulting Numbers: [64, 162]
Generated Node #3: [64, 162] from Operation: 73+89=162
Current State: 98:[64, 162], Operations: ['25+39=64', '73+89=162']
Exploring Operation: 162-64=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[25, 39, 73, 89], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [39, 89, 48]
Generated Node #0,0: 98:[39, 89, 48] Operation: 73-25=48
Exploring Operation: 25+73=98, Resulting Numbers: [39, 89, 98]
Generated Node #0,1: 98:[39, 89, 98] Operation: 25+73=98
Moving to Node #0,1
Current State: 98:[39, 89, 98], Operations: ['25+73=98']
Exploring Operation: 98-89=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 98:[39, 9] Operation: 98-89=9
Exploring Operation: 89-39=50, Resulting Numbers: [98, 50]
Generated Node #0,1,1: 98:[98, 50] Operation: 89-39=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[98, 50], Operations: ['25+73=98', '89-39=50']
Exploring Operation: 98+50=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[39, 9], Operations: ['25+73=98', '98-89=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,98 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: 98:[39, 89, 48], Operations: ['73-25=48']
Exploring Operation: 48-39=9, Resulting Numbers: [89, 9]
Generated Node #0,0,0: 98:[89, 9] Operation: 48-39=9
Exploring Operation: 89-39=50, Resulting Numbers: [48, 50]
Generated Node #0,0,1: 98:[48, 50] Operation: 89-39=50
Moving to Node #0,0,1
Current State: 98:[48, 50], Operations: ['73-25=48', '89-39=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[25, 39, 73, 89], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [39, 89, 48]
Generated Node #0,0: 98:[39, 89, 48] Operation: 73-25=48
Moving to Node #0,0
Current State: 98:[39, 89, 48], Operations: ['73-25=48']
Exploring Operation: 89-39=50, Resulting Numbers: [48, 50]
Generated Node #0,0,1: 98:[48, 50] Operation: 89-39=50
Moving to Node #0,0,1
Current State: 98:[48, 50], Operations: ['73-25=48', '89-39=50']
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
37,
55,
7,
6
] | 60 | [
"55-37=18",
"7*6=42",
"18+42=60"
] | Current State: 60:[37, 55, 7, 6], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [7, 6, 18]
Generated Node #2: [7, 6, 18] from Operation: 55-37=18
Current State: 60:[7, 6, 18], Operations: ['55-37=18']
Exploring Operation: 7*6=42, Resulting Numbers: [18, 42]
Generated Node #3: [18, 42] from Operation: 7*6=42
Current State: 60:[18, 42], Operations: ['55-37=18', '7*6=42']
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[37, 55, 7, 6], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [7, 6, 18]
Generated Node #0,0: 60:[7, 6, 18] Operation: 55-37=18
Moving to Node #0,0
Current State: 60:[7, 6, 18], Operations: ['55-37=18']
Exploring Operation: 18-7=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 60:[6, 11] Operation: 18-7=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[6, 11], Operations: ['55-37=18', '18-7=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
92,
52,
8
] | 34 | [
"92-90=2",
"52/2=26",
"8+26=34"
] | Current State: 34:[90, 92, 52, 8], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [52, 8, 2]
Generated Node #2: [52, 8, 2] from Operation: 92-90=2
Current State: 34:[52, 8, 2], Operations: ['92-90=2']
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #3: [8, 26] from Operation: 52/2=26
Current State: 34:[8, 26], Operations: ['92-90=2', '52/2=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[90, 92, 52, 8], Operations: []
Exploring Operation: 90-52=38, Resulting Numbers: [92, 8, 38]
Generated Node #0,0: 34:[92, 8, 38] Operation: 90-52=38
Exploring Operation: 90-8=82, Resulting Numbers: [92, 52, 82]
Generated Node #0,1: 34:[92, 52, 82] Operation: 90-8=82
Exploring Operation: 92-90=2, Resulting Numbers: [52, 8, 2]
Generated Node #0,2: 34:[52, 8, 2] Operation: 92-90=2
Exploring Operation: 92-8=84, Resulting Numbers: [90, 52, 84]
Generated Node #0,3: 34:[90, 52, 84] Operation: 92-8=84
Exploring Operation: 92-52=40, Resulting Numbers: [90, 8, 40]
Generated Node #0,4: 34:[90, 8, 40] Operation: 92-52=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[52, 8, 2], Operations: ['92-90=2']
Exploring Operation: 8/2=4, Resulting Numbers: [52, 4]
Generated Node #0,2,0: 34:[52, 4] Operation: 8/2=4
Exploring Operation: 52-8=44, Resulting Numbers: [2, 44]
Generated Node #0,2,1: 34:[2, 44] Operation: 52-8=44
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #0,2,2: 34:[8, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [8, 50]
Generated Node #0,2,3: 34:[8, 50] Operation: 52-2=50
Exploring Operation: 8*2=16, Resulting Numbers: [52, 16]
Generated Node #0,2,4: 34:[52, 16] Operation: 8*2=16
Moving to Node #0,2,1
Current State: 34:[2, 44], Operations: ['92-90=2', '52-8=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,34 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[8, 26], Operations: ['92-90=2', '52/2=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,34 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[90, 92, 52, 8], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [52, 8, 2]
Generated Node #0,2: 34:[52, 8, 2] Operation: 92-90=2
Moving to Node #0,2
Current State: 34:[52, 8, 2], Operations: ['92-90=2']
Exploring Operation: 52/2=26, Resulting Numbers: [8, 26]
Generated Node #0,2,2: 34:[8, 26] Operation: 52/2=26
Moving to Node #0,2,2
Current State: 34:[8, 26], Operations: ['92-90=2', '52/2=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
99,
42,
23,
31
] | 87 | [
"99+42=141",
"23+31=54",
"141-54=87"
] | Current State: 87:[99, 42, 23, 31], Operations: []
Exploring Operation: 99+42=141, Resulting Numbers: [23, 31, 141]
Generated Node #2: [23, 31, 141] from Operation: 99+42=141
Current State: 87:[23, 31, 141], Operations: ['99+42=141']
Exploring Operation: 23+31=54, Resulting Numbers: [141, 54]
Generated Node #3: [141, 54] from Operation: 23+31=54
Current State: 87:[141, 54], Operations: ['99+42=141', '23+31=54']
Exploring Operation: 141-54=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[99, 42, 23, 31], Operations: []
Exploring Operation: 99-23=76, Resulting Numbers: [42, 31, 76]
Generated Node #0,0: 87:[42, 31, 76] Operation: 99-23=76
Exploring Operation: 42-31=11, Resulting Numbers: [99, 23, 11]
Generated Node #0,1: 87:[99, 23, 11] Operation: 42-31=11
Exploring Operation: 42-23=19, Resulting Numbers: [99, 31, 19]
Generated Node #0,2: 87:[99, 31, 19] Operation: 42-23=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[99, 31, 19], Operations: ['42-23=19']
Exploring Operation: 99-31=68, Resulting Numbers: [19, 68]
Generated Node #0,2,0: 87:[19, 68] Operation: 99-31=68
Exploring Operation: 31-19=12, Resulting Numbers: [99, 12]
Generated Node #0,2,1: 87:[99, 12] Operation: 31-19=12
Exploring Operation: 99-19=80, Resulting Numbers: [31, 80]
Generated Node #0,2,2: 87:[31, 80] Operation: 99-19=80
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[31, 80], Operations: ['42-23=19', '99-19=80']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,87 unequal: No Solution
Exploring Operation: 31+80=111, Resulting Numbers: [111]
111,87 unequal: No Solution
Exploring Operation: 31*80=2480, Resulting Numbers: [2480]
2480,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 87:[99, 12], Operations: ['42-23=19', '31-19=12']
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[99, 42, 23, 31], Operations: []
Exploring Operation: 42-23=19, Resulting Numbers: [99, 31, 19]
Generated Node #0,2: 87:[99, 31, 19] Operation: 42-23=19
Moving to Node #0,2
Current State: 87:[99, 31, 19], Operations: ['42-23=19']
Exploring Operation: 31-19=12, Resulting Numbers: [99, 12]
Generated Node #0,2,1: 87:[99, 12] Operation: 31-19=12
Moving to Node #0,2,1
Current State: 87:[99, 12], Operations: ['42-23=19', '31-19=12']
Exploring Operation: 99-12=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
33,
78,
14,
12
] | 99 | [
"33*78=2574",
"14+12=26",
"2574/26=99"
] | Current State: 99:[33, 78, 14, 12], Operations: []
Exploring Operation: 33*78=2574, Resulting Numbers: [14, 12, 2574]
Generated Node #2: [14, 12, 2574] from Operation: 33*78=2574
Current State: 99:[14, 12, 2574], Operations: ['33*78=2574']
Exploring Operation: 14+12=26, Resulting Numbers: [2574, 26]
Generated Node #3: [2574, 26] from Operation: 14+12=26
Current State: 99:[2574, 26], Operations: ['33*78=2574', '14+12=26']
Exploring Operation: 2574/26=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 78, 14, 12], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [14, 12, 45]
Generated Node #0,0: 99:[14, 12, 45] Operation: 78-33=45
Exploring Operation: 14-12=2, Resulting Numbers: [33, 78, 2]
Generated Node #0,1: 99:[33, 78, 2] Operation: 14-12=2
Exploring Operation: 78+14=92, Resulting Numbers: [33, 12, 92]
Generated Node #0,2: 99:[33, 12, 92] Operation: 78+14=92
Exploring Operation: 78+12=90, Resulting Numbers: [33, 14, 90]
Generated Node #0,3: 99:[33, 14, 90] Operation: 78+12=90
Exploring Operation: 33+78=111, Resulting Numbers: [14, 12, 111]
Generated Node #0,4: 99:[14, 12, 111] Operation: 33+78=111
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[33, 12, 92], Operations: ['78+14=92']
Exploring Operation: 33+12=45, Resulting Numbers: [92, 45]
Generated Node #0,2,0: 99:[92, 45] Operation: 33+12=45
Exploring Operation: 92-12=80, Resulting Numbers: [33, 80]
Generated Node #0,2,1: 99:[33, 80] Operation: 92-12=80
Exploring Operation: 33+92=125, Resulting Numbers: [12, 125]
Generated Node #0,2,2: 99:[12, 125] Operation: 33+92=125
Exploring Operation: 12+92=104, Resulting Numbers: [33, 104]
Generated Node #0,2,3: 99:[33, 104] Operation: 12+92=104
Exploring Operation: 33-12=21, Resulting Numbers: [92, 21]
Generated Node #0,2,4: 99:[92, 21] Operation: 33-12=21
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 99:[33, 104], Operations: ['78+14=92', '12+92=104']
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 33+104=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 33*104=3432, Resulting Numbers: [3432]
3432,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 99:[92, 21], Operations: ['78+14=92', '33-12=21']
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,99 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[92, 45], Operations: ['78+14=92', '33+12=45']
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[33, 80], Operations: ['78+14=92', '92-12=80']
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,99 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[12, 125], Operations: ['78+14=92', '33+92=125']
Exploring Operation: 12+125=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 12*125=1500, Resulting Numbers: [1500]
1500,99 unequal: No Solution
Exploring Operation: 125-12=113, Resulting Numbers: [113]
113,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[33, 14, 90], Operations: ['78+12=90']
Exploring Operation: 33+14=47, Resulting Numbers: [90, 47]
Generated Node #0,3,0: 99:[90, 47] Operation: 33+14=47
Exploring Operation: 90-14=76, Resulting Numbers: [33, 76]
Generated Node #0,3,1: 99:[33, 76] Operation: 90-14=76
Exploring Operation: 33-14=19, Resulting Numbers: [90, 19]
Generated Node #0,3,2: 99:[90, 19] Operation: 33-14=19
Exploring Operation: 33+90=123, Resulting Numbers: [14, 123]
Generated Node #0,3,3: 99:[14, 123] Operation: 33+90=123
Exploring Operation: 14+90=104, Resulting Numbers: [33, 104]
Generated Node #0,3,4: 99:[33, 104] Operation: 14+90=104
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 99:[33, 104], Operations: ['78+12=90', '14+90=104']
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 33*104=3432, Resulting Numbers: [3432]
3432,99 unequal: No Solution
Exploring Operation: 33+104=137, Resulting Numbers: [137]
137,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[90, 19], Operations: ['78+12=90', '33-14=19']
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,99 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[90, 47], Operations: ['78+12=90', '33+14=47']
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,99 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[33, 76], Operations: ['78+12=90', '90-14=76']
Exploring Operation: 33*76=2508, Resulting Numbers: [2508]
2508,99 unequal: No Solution
Exploring Operation: 33+76=109, Resulting Numbers: [109]
109,99 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[14, 123], Operations: ['78+12=90', '33+90=123']
Exploring Operation: 14+123=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 123-14=109, Resulting Numbers: [109]
109,99 unequal: No Solution
Exploring Operation: 14*123=1722, Resulting Numbers: [1722]
1722,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[14, 12, 45], Operations: ['78-33=45']
Exploring Operation: 45-14=31, Resulting Numbers: [12, 31]
Generated Node #0,0,0: 99:[12, 31] Operation: 45-14=31
Exploring Operation: 14+45=59, Resulting Numbers: [12, 59]
Generated Node #0,0,1: 99:[12, 59] Operation: 14+45=59
Exploring Operation: 14-12=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 99:[45, 2] Operation: 14-12=2
Exploring Operation: 14+12=26, Resulting Numbers: [45, 26]
Generated Node #0,0,3: 99:[45, 26] Operation: 14+12=26
Exploring Operation: 45-12=33, Resulting Numbers: [14, 33]
Generated Node #0,0,4: 99:[14, 33] Operation: 45-12=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[12, 31], Operations: ['78-33=45', '45-14=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,99 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 99:[14, 33], Operations: ['78-33=45', '45-12=33']
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[45, 2], Operations: ['78-33=45', '14-12=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 99:[45, 26], Operations: ['78-33=45', '14+12=26']
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,99 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[12, 59], Operations: ['78-33=45', '14+45=59']
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 12+59=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 12*59=708, Resulting Numbers: [708]
708,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[14, 12, 111], Operations: ['33+78=111']
Exploring Operation: 14+111=125, Resulting Numbers: [12, 125]
Generated Node #0,4,0: 99:[12, 125] Operation: 14+111=125
Exploring Operation: 111-12=99, Resulting Numbers: [14, 99]
Generated Node #0,4,1: 99:[14, 99] Operation: 111-12=99
Exploring Operation: 14+12=26, Resulting Numbers: [111, 26]
Generated Node #0,4,2: 99:[111, 26] Operation: 14+12=26
Exploring Operation: 14-12=2, Resulting Numbers: [111, 2]
Generated Node #0,4,3: 99:[111, 2] Operation: 14-12=2
Exploring Operation: 111-14=97, Resulting Numbers: [12, 97]
Generated Node #0,4,4: 99:[12, 97] Operation: 111-14=97
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 99:[14, 99], Operations: ['33+78=111', '111-12=99']
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 14*99=1386, Resulting Numbers: [1386]
1386,99 unequal: No Solution
Exploring Operation: 14+99=113, Resulting Numbers: [113]
113,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 99:[12, 97], Operations: ['33+78=111', '111-14=97']
Exploring Operation: 12*97=1164, Resulting Numbers: [1164]
1164,99 unequal: No Solution
Exploring Operation: 12+97=109, Resulting Numbers: [109]
109,99 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 99:[111, 2], Operations: ['33+78=111', '14-12=2']
Exploring Operation: 111+2=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 111*2=222, Resulting Numbers: [222]
222,99 unequal: No Solution
Exploring Operation: 111-2=109, Resulting Numbers: [109]
109,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 99:[111, 26], Operations: ['33+78=111', '14+12=26']
Exploring Operation: 111+26=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 111-26=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 111*26=2886, Resulting Numbers: [2886]
2886,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 99:[12, 125], Operations: ['33+78=111', '14+111=125']
Exploring Operation: 12+125=137, Resulting Numbers: [137]
137,99 unequal: No Solution
Exploring Operation: 12*125=1500, Resulting Numbers: [1500]
1500,99 unequal: No Solution
Exploring Operation: 125-12=113, Resulting Numbers: [113]
113,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[33, 78, 2], Operations: ['14-12=2']
Exploring Operation: 33+2=35, Resulting Numbers: [78, 35]
Generated Node #0,1,0: 99:[78, 35] Operation: 33+2=35
Exploring Operation: 78-33=45, Resulting Numbers: [2, 45]
Generated Node #0,1,1: 99:[2, 45] Operation: 78-33=45
Exploring Operation: 78/2=39, Resulting Numbers: [33, 39]
Generated Node #0,1,2: 99:[33, 39] Operation: 78/2=39
Exploring Operation: 33+78=111, Resulting Numbers: [2, 111]
Generated Node #0,1,3: 99:[2, 111] Operation: 33+78=111
Exploring Operation: 78+2=80, Resulting Numbers: [33, 80]
Generated Node #0,1,4: 99:[33, 80] Operation: 78+2=80
Moving to Node #0,1,2
Current State: 99:[33, 39], Operations: ['14-12=2', '78/2=39']
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,99 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[2, 111], Operations: ['14-12=2', '33+78=111']
Exploring Operation: 2+111=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 111-2=109, Resulting Numbers: [109]
109,99 unequal: No Solution
Exploring Operation: 2*111=222, Resulting Numbers: [222]
222,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[2, 45], Operations: ['14-12=2', '78-33=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[33, 80], Operations: ['14-12=2', '78+2=80']
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,99 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,99 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[78, 35], Operations: ['14-12=2', '33+2=35']
Exploring Operation: 78+35=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 78*35=2730, Resulting Numbers: [2730]
2730,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
98,
3,
51,
68
] | 94 | [
"51/3=17",
"68/17=4",
"98-4=94"
] | Current State: 94:[98, 3, 51, 68], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [98, 68, 17]
Generated Node #2: [98, 68, 17] from Operation: 51/3=17
Current State: 94:[98, 68, 17], Operations: ['51/3=17']
Exploring Operation: 68/17=4, Resulting Numbers: [98, 4]
Generated Node #3: [98, 4] from Operation: 68/17=4
Current State: 94:[98, 4], Operations: ['51/3=17', '68/17=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[98, 3, 51, 68], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [98, 3, 17]
Generated Node #0,0: 94:[98, 3, 17] Operation: 68-51=17
Exploring Operation: 98-68=30, Resulting Numbers: [3, 51, 30]
Generated Node #0,1: 94:[3, 51, 30] Operation: 98-68=30
Exploring Operation: 98-51=47, Resulting Numbers: [3, 68, 47]
Generated Node #0,2: 94:[3, 68, 47] Operation: 98-51=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[98, 3, 17], Operations: ['68-51=17']
Exploring Operation: 3*17=51, Resulting Numbers: [98, 51]
Generated Node #0,0,0: 94:[98, 51] Operation: 3*17=51
Exploring Operation: 98-17=81, Resulting Numbers: [3, 81]
Generated Node #0,0,1: 94:[3, 81] Operation: 98-17=81
Exploring Operation: 98-3=95, Resulting Numbers: [17, 95]
Generated Node #0,0,2: 94:[17, 95] Operation: 98-3=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[98, 51], Operations: ['68-51=17', '3*17=51']
Exploring Operation: 98*51=4998, Resulting Numbers: [4998]
4998,94 unequal: No Solution
Exploring Operation: 98-51=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Exploring Operation: 98+51=149, Resulting Numbers: [149]
149,94 unequal: No Solution
No 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: 94:[3, 81], Operations: ['68-51=17', '98-17=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,94 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,94 unequal: No Solution
No 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: 94:[17, 95], Operations: ['68-51=17', '98-3=95']
Exploring Operation: 17+95=112, Resulting Numbers: [112]
112,94 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,94 unequal: No Solution
Exploring Operation: 17*95=1615, Resulting Numbers: [1615]
1615,94 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: 94:[3, 51, 30], Operations: ['98-68=30']
Exploring Operation: 3*30=90, Resulting Numbers: [51, 90]
Generated Node #0,1,0: 94:[51, 90] Operation: 3*30=90
Exploring Operation: 30/3=10, Resulting Numbers: [51, 10]
Generated Node #0,1,1: 94:[51, 10] Operation: 30/3=10
Exploring Operation: 51+30=81, Resulting Numbers: [3, 81]
Generated Node #0,1,2: 94:[3, 81] Operation: 51+30=81
Moving to Node #0,1,0
Current State: 94:[51, 90], Operations: ['98-68=30', '3*30=90']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 51+90=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Exploring Operation: 51*90=4590, Resulting Numbers: [4590]
4590,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[51, 10], Operations: ['98-68=30', '30/3=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,94 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[3, 81], Operations: ['98-68=30', '51+30=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,94 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,94 unequal: No Solution
No 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: 94:[3, 68, 47], Operations: ['98-51=47']
Exploring Operation: 68-3=65, Resulting Numbers: [47, 65]
Generated Node #0,2,0: 94:[47, 65] Operation: 68-3=65
Exploring Operation: 68+47=115, Resulting Numbers: [3, 115]
Generated Node #0,2,1: 94:[3, 115] Operation: 68+47=115
Exploring Operation: 68-47=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 94:[3, 21] Operation: 68-47=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[47, 65], Operations: ['98-51=47', '68-3=65']
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,94 unequal: No Solution
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,94 unequal: No Solution
No 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: 94:[3, 21], Operations: ['98-51=47', '68-47=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,94 unequal: No Solution
No 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: 94:[3, 115], Operations: ['98-51=47', '68+47=115']
Exploring Operation: 3+115=118, Resulting Numbers: [118]
118,94 unequal: No Solution
Exploring Operation: 3*115=345, Resulting Numbers: [345]
345,94 unequal: No Solution
Exploring Operation: 115-3=112, Resulting Numbers: [112]
112,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
55,
27,
26
] | 25 | [
"55-53=2",
"26*2=52",
"52-27=25"
] | Current State: 25:[53, 55, 27, 26], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [27, 26, 2]
Generated Node #2: [27, 26, 2] from Operation: 55-53=2
Current State: 25:[27, 26, 2], Operations: ['55-53=2']
Exploring Operation: 26*2=52, Resulting Numbers: [27, 52]
Generated Node #3: [27, 52] from Operation: 26*2=52
Current State: 25:[27, 52], Operations: ['55-53=2', '26*2=52']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[53, 55, 27, 26], Operations: []
Exploring Operation: 55-27=28, Resulting Numbers: [53, 26, 28]
Generated Node #0,0: 25:[53, 26, 28] Operation: 55-27=28
Exploring Operation: 55-26=29, Resulting Numbers: [53, 27, 29]
Generated Node #0,1: 25:[53, 27, 29] Operation: 55-26=29
Exploring Operation: 53-27=26, Resulting Numbers: [55, 26, 26]
Generated Node #0,2: 25:[55, 26, 26] Operation: 53-27=26
Exploring Operation: 53-26=27, Resulting Numbers: [55, 27, 27]
Generated Node #0,3: 25:[55, 27, 27] Operation: 53-26=27
Exploring Operation: 55-53=2, Resulting Numbers: [27, 26, 2]
Generated Node #0,4: 25:[27, 26, 2] Operation: 55-53=2
Moving to Node #0,4
Current State: 25:[27, 26, 2], Operations: ['55-53=2']
Exploring Operation: 27+2=29, Resulting Numbers: [26, 29]
Generated Node #0,4,0: 25:[26, 29] Operation: 27+2=29
Exploring Operation: 26-2=24, Resulting Numbers: [27, 24]
Generated Node #0,4,1: 25:[27, 24] Operation: 26-2=24
Exploring Operation: 27-26=1, Resulting Numbers: [2, 1]
Generated Node #0,4,2: 25:[2, 1] Operation: 27-26=1
Exploring Operation: 27-2=25, Resulting Numbers: [26, 25]
Generated Node #0,4,3: 25:[26, 25] Operation: 27-2=25
Exploring Operation: 26+2=28, Resulting Numbers: [27, 28]
Generated Node #0,4,4: 25:[27, 28] Operation: 26+2=28
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 25:[26, 25], Operations: ['55-53=2', '27-2=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,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:[27, 24], Operations: ['55-53=2', '26-2=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,25 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,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:[26, 29], Operations: ['55-53=2', '27+2=29']
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,25 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,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:[27, 28], Operations: ['55-53=2', '26+2=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,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,2
Current State: 25:[2, 1], Operations: ['55-53=2', '27-26=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,25 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: 25:[55, 26, 26], Operations: ['53-27=26']
Exploring Operation: 26/26=1, Resulting Numbers: [55, 1]
Generated Node #0,2,0: 25:[55, 1] Operation: 26/26=1
Exploring Operation: 55+26=81, Resulting Numbers: [26, 81]
Generated Node #0,2,1: 25:[26, 81] Operation: 55+26=81
Exploring Operation: 55-26=29, Resulting Numbers: [26, 29]
Generated Node #0,2,2: 25:[26, 29] Operation: 55-26=29
Exploring Operation: 55-26=29, Resulting Numbers: [26, 29]
Generated Node #0,2,3: 25:[26, 29] Operation: 55-26=29
Exploring Operation: 26-26=0, Resulting Numbers: [55, 0]
Generated Node #0,2,4: 25:[55, 0] Operation: 26-26=0
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[26, 29], Operations: ['53-27=26', '55-26=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,25 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,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,2,3
Current State: 25:[26, 29], Operations: ['53-27=26', '55-26=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,25 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,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,2,0
Current State: 25:[55, 1], Operations: ['53-27=26', '26/26=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,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,2,4
Current State: 25:[55, 0], Operations: ['53-27=26', '26-26=0']
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,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,2,1
Current State: 25:[26, 81], Operations: ['53-27=26', '55+26=81']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 26*81=2106, Resulting Numbers: [2106]
2106,25 unequal: No Solution
Exploring Operation: 26+81=107, Resulting Numbers: [107]
107,25 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: 25:[53, 26, 28], Operations: ['55-27=28']
Exploring Operation: 53-28=25, Resulting Numbers: [26, 25]
Generated Node #0,0,0: 25:[26, 25] Operation: 53-28=25
Exploring Operation: 28-26=2, Resulting Numbers: [53, 2]
Generated Node #0,0,1: 25:[53, 2] Operation: 28-26=2
Exploring Operation: 53+28=81, Resulting Numbers: [26, 81]
Generated Node #0,0,2: 25:[26, 81] Operation: 53+28=81
Exploring Operation: 53+26=79, Resulting Numbers: [28, 79]
Generated Node #0,0,3: 25:[28, 79] Operation: 53+26=79
Exploring Operation: 53-26=27, Resulting Numbers: [28, 27]
Generated Node #0,0,4: 25:[28, 27] Operation: 53-26=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[26, 25], Operations: ['55-27=28', '53-28=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,25 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,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,0,4
Current State: 25:[28, 27], Operations: ['55-27=28', '53-26=27']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,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,0,1
Current State: 25:[53, 2], Operations: ['55-27=28', '28-26=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,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,0,2
Current State: 25:[26, 81], Operations: ['55-27=28', '53+28=81']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 26*81=2106, Resulting Numbers: [2106]
2106,25 unequal: No Solution
Exploring Operation: 26+81=107, Resulting Numbers: [107]
107,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,0,3
Current State: 25:[28, 79], Operations: ['55-27=28', '53+26=79']
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,25 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,25 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,25 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: 25:[53, 27, 29], Operations: ['55-26=29']
Exploring Operation: 53+29=82, Resulting Numbers: [27, 82]
Generated Node #0,1,0: 25:[27, 82] Operation: 53+29=82
Exploring Operation: 53-27=26, Resulting Numbers: [29, 26]
Generated Node #0,1,1: 25:[29, 26] Operation: 53-27=26
Exploring Operation: 29-27=2, Resulting Numbers: [53, 2]
Generated Node #0,1,2: 25:[53, 2] Operation: 29-27=2
Exploring Operation: 53+27=80, Resulting Numbers: [29, 80]
Generated Node #0,1,3: 25:[29, 80] Operation: 53+27=80
Exploring Operation: 53-29=24, Resulting Numbers: [27, 24]
Generated Node #0,1,4: 25:[27, 24] Operation: 53-29=24
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[27, 24], Operations: ['55-26=29', '53-29=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,25 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,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,1,1
Current State: 25:[29, 26], Operations: ['55-26=29', '53-27=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,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,1,2
Current State: 25:[53, 2], Operations: ['55-26=29', '29-27=2']
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,25 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,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,1,0
Current State: 25:[27, 82], Operations: ['55-26=29', '53+29=82']
Exploring Operation: 27+82=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 27*82=2214, Resulting Numbers: [2214]
2214,25 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,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,1,3
Current State: 25:[29, 80], Operations: ['55-26=29', '53+27=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,25 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: 25:[55, 27, 27], Operations: ['53-26=27']
Exploring Operation: 55-27=28, Resulting Numbers: [27, 28]
Generated Node #0,3,0: 25:[27, 28] Operation: 55-27=28
Exploring Operation: 27/27=1, Resulting Numbers: [55, 1]
Generated Node #0,3,1: 25:[55, 1] Operation: 27/27=1
Exploring Operation: 27-27=0, Resulting Numbers: [55, 0]
Generated Node #0,3,2: 25:[55, 0] Operation: 27-27=0
Exploring Operation: 55-27=28, Resulting Numbers: [27, 28]
Generated Node #0,3,3: 25:[27, 28] Operation: 55-27=28
Exploring Operation: 55+27=82, Resulting Numbers: [27, 82]
Generated Node #0,3,4: 25:[27, 82] Operation: 55+27=82
Moving to Node #0,3,0
Current State: 25:[27, 28], Operations: ['53-26=27', '55-27=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[27, 28], Operations: ['53-26=27', '55-27=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,25 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[55, 1], Operations: ['53-26=27', '27/27=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[55, 0], Operations: ['53-26=27', '27-27=0']
Exploring Operation: 55-0=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55+0=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[27, 82], Operations: ['53-26=27', '55+27=82']
Exploring Operation: 27+82=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 27*82=2214, Resulting Numbers: [2214]
2214,25 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
85,
73,
88
] | 44 | [
"6*88=528",
"85-73=12",
"528/12=44"
] | Current State: 44:[6, 85, 73, 88], Operations: []
Exploring Operation: 6*88=528, Resulting Numbers: [85, 73, 528]
Generated Node #2: [85, 73, 528] from Operation: 6*88=528
Current State: 44:[85, 73, 528], Operations: ['6*88=528']
Exploring Operation: 85-73=12, Resulting Numbers: [528, 12]
Generated Node #3: [528, 12] from Operation: 85-73=12
Current State: 44:[528, 12], Operations: ['6*88=528', '85-73=12']
Exploring Operation: 528/12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[6, 85, 73, 88], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [6, 73, 3]
Generated Node #0,0: 44:[6, 73, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 44:[6, 73, 3], Operations: ['88-85=3']
Exploring Operation: 73-6=67, Resulting Numbers: [3, 67]
Generated Node #0,0,0: 44:[3, 67] Operation: 73-6=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[3, 67], Operations: ['88-85=3', '73-6=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,44 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 |
[
76,
61,
97,
61
] | 21 | [
"76+61=137",
"97+61=158",
"158-137=21"
] | Current State: 21:[76, 61, 97, 61], Operations: []
Exploring Operation: 76+61=137, Resulting Numbers: [97, 137]
Generated Node #2: [97, 137] from Operation: 76+61=137
Current State: 21:[97, 137], Operations: ['76+61=137']
Exploring Operation: 97+61=158, Resulting Numbers: [137, 158]
Generated Node #3: [137, 158] from Operation: 97+61=158
Current State: 21:[137, 158], Operations: ['76+61=137', '97+61=158']
Exploring Operation: 158-137=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[76, 61, 97, 61], Operations: []
Exploring Operation: 97-76=21, Resulting Numbers: [61, 61, 21]
Generated Node #0,0: 21:[61, 61, 21] Operation: 97-76=21
Exploring Operation: 76-61=15, Resulting Numbers: [97, 61, 15]
Generated Node #0,1: 21:[97, 61, 15] Operation: 76-61=15
Exploring Operation: 97-61=36, Resulting Numbers: [76, 61, 36]
Generated Node #0,2: 21:[76, 61, 36] Operation: 97-61=36
Exploring Operation: 97-61=36, Resulting Numbers: [76, 61, 36]
Generated Node #0,3: 21:[76, 61, 36] Operation: 97-61=36
Moving to Node #0,0
Current State: 21:[61, 61, 21], Operations: ['97-76=21']
Exploring Operation: 61/61=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 21:[21, 1] Operation: 61/61=1
Exploring Operation: 61-21=40, Resulting Numbers: [61, 40]
Generated Node #0,0,1: 21:[61, 40] Operation: 61-21=40
Exploring Operation: 61-21=40, Resulting Numbers: [61, 40]
Generated Node #0,0,2: 21:[61, 40] Operation: 61-21=40
Exploring Operation: 61-61=0, Resulting Numbers: [21, 0]
Generated Node #0,0,3: 21:[21, 0] Operation: 61-61=0
Moving to Node #0,3
Current State: 21:[76, 61, 36], Operations: ['97-61=36']
Exploring Operation: 76-61=15, Resulting Numbers: [36, 15]
Generated Node #0,3,0: 21:[36, 15] Operation: 76-61=15
Exploring Operation: 76-36=40, Resulting Numbers: [61, 40]
Generated Node #0,3,1: 21:[61, 40] Operation: 76-36=40
Exploring Operation: 76+61=137, Resulting Numbers: [36, 137]
Generated Node #0,3,2: 21:[36, 137] Operation: 76+61=137
Exploring Operation: 61-36=25, Resulting Numbers: [76, 25]
Generated Node #0,3,3: 21:[76, 25] Operation: 61-36=25
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[36, 15], Operations: ['97-61=36', '76-61=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,21 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[76, 61, 97, 61], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [76, 61, 36]
Generated Node #0,3: 21:[76, 61, 36] Operation: 97-61=36
Moving to Node #0,3
Current State: 21:[76, 61, 36], Operations: ['97-61=36']
Exploring Operation: 76-61=15, Resulting Numbers: [36, 15]
Generated Node #0,3,0: 21:[36, 15] Operation: 76-61=15
Moving to Node #0,3,0
Current State: 21:[36, 15], Operations: ['97-61=36', '76-61=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
2,
17,
25,
87
] | 60 | [
"87-17=70",
"70/2=35",
"25+35=60"
] | Current State: 60:[2, 17, 25, 87], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [2, 25, 70]
Generated Node #2: [2, 25, 70] from Operation: 87-17=70
Current State: 60:[2, 25, 70], Operations: ['87-17=70']
Exploring Operation: 70/2=35, Resulting Numbers: [25, 35]
Generated Node #3: [25, 35] from Operation: 70/2=35
Current State: 60:[25, 35], Operations: ['87-17=70', '70/2=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[2, 17, 25, 87], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [2, 25, 70]
Generated Node #0,0: 60:[2, 25, 70] Operation: 87-17=70
Exploring Operation: 17-2=15, Resulting Numbers: [25, 87, 15]
Generated Node #0,1: 60:[25, 87, 15] Operation: 17-2=15
Exploring Operation: 25-17=8, Resulting Numbers: [2, 87, 8]
Generated Node #0,2: 60:[2, 87, 8] Operation: 25-17=8
Exploring Operation: 87-25=62, Resulting Numbers: [2, 17, 62]
Generated Node #0,3: 60:[2, 17, 62] Operation: 87-25=62
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[2, 17, 62], Operations: ['87-25=62']
Exploring Operation: 2+17=19, Resulting Numbers: [62, 19]
Generated Node #0,3,0: 60:[62, 19] Operation: 2+17=19
Exploring Operation: 62/2=31, Resulting Numbers: [17, 31]
Generated Node #0,3,1: 60:[17, 31] Operation: 62/2=31
Exploring Operation: 17-2=15, Resulting Numbers: [62, 15]
Generated Node #0,3,2: 60:[62, 15] Operation: 17-2=15
Exploring Operation: 62-2=60, Resulting Numbers: [17, 60]
Generated Node #0,3,3: 60:[17, 60] Operation: 62-2=60
Moving to Node #0,3,2
Current State: 60:[62, 15], Operations: ['87-25=62', '17-2=15']
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,60 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[17, 60], Operations: ['87-25=62', '62-2=60']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 17+60=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 17*60=1020, Resulting Numbers: [1020]
1020,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[17, 31], Operations: ['87-25=62', '62/2=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,60 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,60 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[62, 19], Operations: ['87-25=62', '2+17=19']
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,60 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 25, 70], Operations: ['87-17=70']
Exploring Operation: 2+25=27, Resulting Numbers: [70, 27]
Generated Node #0,0,0: 60:[70, 27] Operation: 2+25=27
Exploring Operation: 70/2=35, Resulting Numbers: [25, 35]
Generated Node #0,0,1: 60:[25, 35] Operation: 70/2=35
Exploring Operation: 25-2=23, Resulting Numbers: [70, 23]
Generated Node #0,0,2: 60:[70, 23] Operation: 25-2=23
Exploring Operation: 70-2=68, Resulting Numbers: [25, 68]
Generated Node #0,0,3: 60:[25, 68] Operation: 70-2=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[25, 35], Operations: ['87-17=70', '70/2=35']
Exploring Operation: 25*35=875, Resulting Numbers: [875]
875,60 unequal: No Solution
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[2, 17, 25, 87], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [2, 25, 70]
Generated Node #0,0: 60:[2, 25, 70] Operation: 87-17=70
Moving to Node #0,0
Current State: 60:[2, 25, 70], Operations: ['87-17=70']
Exploring Operation: 70/2=35, Resulting Numbers: [25, 35]
Generated Node #0,0,1: 60:[25, 35] Operation: 70/2=35
Moving to Node #0,0,1
Current State: 60:[25, 35], Operations: ['87-17=70', '70/2=35']
Exploring Operation: 25+35=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
6,
88,
80,
45
] | 47 | [
"88-6=82",
"80-45=35",
"82-35=47"
] | Current State: 47:[6, 88, 80, 45], Operations: []
Exploring Operation: 88-6=82, Resulting Numbers: [80, 45, 82]
Generated Node #2: [80, 45, 82] from Operation: 88-6=82
Current State: 47:[80, 45, 82], Operations: ['88-6=82']
Exploring Operation: 80-45=35, Resulting Numbers: [82, 35]
Generated Node #3: [82, 35] from Operation: 80-45=35
Current State: 47:[82, 35], Operations: ['88-6=82', '80-45=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[6, 88, 80, 45], Operations: []
Exploring Operation: 88-6=82, Resulting Numbers: [80, 45, 82]
Generated Node #0,0: 47:[80, 45, 82] Operation: 88-6=82
Exploring Operation: 6+45=51, Resulting Numbers: [88, 80, 51]
Generated Node #0,1: 47:[88, 80, 51] Operation: 6+45=51
Exploring Operation: 80-6=74, Resulting Numbers: [88, 45, 74]
Generated Node #0,2: 47:[88, 45, 74] Operation: 80-6=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[80, 45, 82], Operations: ['88-6=82']
Exploring Operation: 80-45=35, Resulting Numbers: [82, 35]
Generated Node #0,0,0: 47:[82, 35] Operation: 80-45=35
Exploring Operation: 82-45=37, Resulting Numbers: [80, 37]
Generated Node #0,0,1: 47:[80, 37] Operation: 82-45=37
Exploring Operation: 82-80=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 47:[45, 2] Operation: 82-80=2
Moving to Node #0,0,1
Current State: 47:[80, 37], Operations: ['88-6=82', '82-45=37']
Exploring Operation: 80-37=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 80+37=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Exploring Operation: 80*37=2960, Resulting Numbers: [2960]
2960,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[82, 35], Operations: ['88-6=82', '80-45=35']
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,47 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[6, 88, 80, 45], Operations: []
Exploring Operation: 88-6=82, Resulting Numbers: [80, 45, 82]
Generated Node #0,0: 47:[80, 45, 82] Operation: 88-6=82
Moving to Node #0,0
Current State: 47:[80, 45, 82], Operations: ['88-6=82']
Exploring Operation: 80-45=35, Resulting Numbers: [82, 35]
Generated Node #0,0,0: 47:[82, 35] Operation: 80-45=35
Moving to Node #0,0,0
Current State: 47:[82, 35], Operations: ['88-6=82', '80-45=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
2,
37,
84,
72
] | 43 | [
"84-72=12",
"12/2=6",
"37+6=43"
] | Current State: 43:[2, 37, 84, 72], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [2, 37, 12]
Generated Node #2: [2, 37, 12] from Operation: 84-72=12
Current State: 43:[2, 37, 12], Operations: ['84-72=12']
Exploring Operation: 12/2=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 12/2=6
Current State: 43:[37, 6], Operations: ['84-72=12', '12/2=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 37, 84, 72], Operations: []
Exploring Operation: 84-2=82, Resulting Numbers: [37, 72, 82]
Generated Node #0,0: 43:[37, 72, 82] Operation: 84-2=82
Exploring Operation: 84/2=42, Resulting Numbers: [37, 72, 42]
Generated Node #0,1: 43:[37, 72, 42] Operation: 84/2=42
Exploring Operation: 2+37=39, Resulting Numbers: [84, 72, 39]
Generated Node #0,2: 43:[84, 72, 39] Operation: 2+37=39
Exploring Operation: 72/2=36, Resulting Numbers: [37, 84, 36]
Generated Node #0,3: 43:[37, 84, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[37, 72, 42], Operations: ['84/2=42']
Exploring Operation: 37+72=109, Resulting Numbers: [42, 109]
Generated Node #0,1,0: 43:[42, 109] Operation: 37+72=109
Exploring Operation: 37+42=79, Resulting Numbers: [72, 79]
Generated Node #0,1,1: 43:[72, 79] Operation: 37+42=79
Exploring Operation: 72-37=35, Resulting Numbers: [42, 35]
Generated Node #0,1,2: 43:[42, 35] Operation: 72-37=35
Exploring Operation: 72-42=30, Resulting Numbers: [37, 30]
Generated Node #0,1,3: 43:[37, 30] Operation: 72-42=30
Moving to Node #0,1,2
Current State: 43:[42, 35], Operations: ['84/2=42', '72-37=35']
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,43 unequal: No Solution
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[37, 30], Operations: ['84/2=42', '72-42=30']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,43 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[72, 79], Operations: ['84/2=42', '37+42=79']
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,43 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,43 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[42, 109], Operations: ['84/2=42', '37+72=109']
Exploring Operation: 42+109=151, Resulting Numbers: [151]
151,43 unequal: No Solution
Exploring Operation: 109-42=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 42*109=4578, Resulting Numbers: [4578]
4578,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,3
Current State: 43:[37, 84, 36], Operations: ['72/2=36']
Exploring Operation: 37+36=73, Resulting Numbers: [84, 73]
Generated Node #0,3,0: 43:[84, 73] Operation: 37+36=73
Exploring Operation: 84-36=48, Resulting Numbers: [37, 48]
Generated Node #0,3,1: 43:[37, 48] Operation: 84-36=48
Exploring Operation: 37-36=1, Resulting Numbers: [84, 1]
Generated Node #0,3,2: 43:[84, 1] Operation: 37-36=1
Exploring Operation: 84-37=47, Resulting Numbers: [36, 47]
Generated Node #0,3,3: 43:[36, 47] Operation: 84-37=47
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[37, 48], Operations: ['72/2=36', '84-36=48']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,43 unequal: No Solution
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,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:[36, 47], Operations: ['72/2=36', '84-37=47']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,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,0
Current State: 43:[84, 73], Operations: ['72/2=36', '37+36=73']
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,43 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,43 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,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:[84, 1], Operations: ['72/2=36', '37-36=1']
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,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,0
Current State: 43:[37, 72, 82], Operations: ['84-2=82']
Exploring Operation: 37+72=109, Resulting Numbers: [82, 109]
Generated Node #0,0,0: 43:[82, 109] Operation: 37+72=109
Exploring Operation: 72-37=35, Resulting Numbers: [82, 35]
Generated Node #0,0,1: 43:[82, 35] Operation: 72-37=35
Exploring Operation: 82-72=10, Resulting Numbers: [37, 10]
Generated Node #0,0,2: 43:[37, 10] Operation: 82-72=10
Exploring Operation: 82-37=45, Resulting Numbers: [72, 45]
Generated Node #0,0,3: 43:[72, 45] Operation: 82-37=45
Moving to Node #0,0,3
Current State: 43:[72, 45], Operations: ['84-2=82', '82-37=45']
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[37, 10], Operations: ['84-2=82', '82-72=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,43 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[82, 35], Operations: ['84-2=82', '72-37=35']
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,43 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[82, 109], Operations: ['84-2=82', '37+72=109']
Exploring Operation: 82*109=8938, Resulting Numbers: [8938]
8938,43 unequal: No Solution
Exploring Operation: 82+109=191, Resulting Numbers: [191]
191,43 unequal: No Solution
Exploring Operation: 109-82=27, Resulting Numbers: [27]
27,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:[84, 72, 39], Operations: ['2+37=39']
Exploring Operation: 84+39=123, Resulting Numbers: [72, 123]
Generated Node #0,2,0: 43:[72, 123] Operation: 84+39=123
Exploring Operation: 72-39=33, Resulting Numbers: [84, 33]
Generated Node #0,2,1: 43:[84, 33] Operation: 72-39=33
Exploring Operation: 84-39=45, Resulting Numbers: [72, 45]
Generated Node #0,2,2: 43:[72, 45] Operation: 84-39=45
Exploring Operation: 84-72=12, Resulting Numbers: [39, 12]
Generated Node #0,2,3: 43:[39, 12] Operation: 84-72=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[72, 45], Operations: ['2+37=39', '84-39=45']
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,43 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,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:[39, 12], Operations: ['2+37=39', '84-72=12']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,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,1
Current State: 43:[84, 33], Operations: ['2+37=39', '72-39=33']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,43 unequal: No Solution
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,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:[72, 123], Operations: ['2+37=39', '84+39=123']
Exploring Operation: 72+123=195, Resulting Numbers: [195]
195,43 unequal: No Solution
Exploring Operation: 123-72=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 72*123=8856, Resulting Numbers: [8856]
8856,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 |
[
79,
80,
57,
4
] | 13 | [
"80-57=23",
"4*23=92",
"92-79=13"
] | Current State: 13:[79, 80, 57, 4], Operations: []
Exploring Operation: 80-57=23, Resulting Numbers: [79, 4, 23]
Generated Node #2: [79, 4, 23] from Operation: 80-57=23
Current State: 13:[79, 4, 23], Operations: ['80-57=23']
Exploring Operation: 4*23=92, Resulting Numbers: [79, 92]
Generated Node #3: [79, 92] from Operation: 4*23=92
Current State: 13:[79, 92], Operations: ['80-57=23', '4*23=92']
Exploring Operation: 92-79=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[79, 80, 57, 4], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [57, 4, 1]
Generated Node #0,0: 13:[57, 4, 1] Operation: 80-79=1
Exploring Operation: 80-57=23, Resulting Numbers: [79, 4, 23]
Generated Node #0,1: 13:[79, 4, 23] Operation: 80-57=23
Exploring Operation: 79-57=22, Resulting Numbers: [80, 4, 22]
Generated Node #0,2: 13:[80, 4, 22] Operation: 79-57=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[57, 4, 1], Operations: ['80-79=1']
Exploring Operation: 4+1=5, Resulting Numbers: [57, 5]
Generated Node #0,0,0: 13:[57, 5] Operation: 4+1=5
Exploring Operation: 57-4=53, Resulting Numbers: [1, 53]
Generated Node #0,0,1: 13:[1, 53] Operation: 57-4=53
Exploring Operation: 57-1=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 13:[4, 56] Operation: 57-1=56
Moving to Node #0,0,0
Current State: 13:[57, 5], Operations: ['80-79=1', '4+1=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,13 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[1, 53], Operations: ['80-79=1', '57-4=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[4, 56], Operations: ['80-79=1', '57-1=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No solution 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: 13:[79, 4, 23], Operations: ['80-57=23']
Exploring Operation: 79-23=56, Resulting Numbers: [4, 56]
Generated Node #0,1,0: 13:[4, 56] Operation: 79-23=56
Exploring Operation: 79-4=75, Resulting Numbers: [23, 75]
Generated Node #0,1,1: 13:[23, 75] Operation: 79-4=75
Exploring Operation: 23-4=19, Resulting Numbers: [79, 19]
Generated Node #0,1,2: 13:[79, 19] Operation: 23-4=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[4, 56], Operations: ['80-57=23', '79-23=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,13 unequal: No Solution
No 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: 13:[23, 75], Operations: ['80-57=23', '79-4=75']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,13 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,13 unequal: No Solution
No 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: 13:[79, 19], Operations: ['80-57=23', '23-4=19']
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,13 unequal: No Solution
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,13 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[80, 4, 22], Operations: ['79-57=22']
Exploring Operation: 80/4=20, Resulting Numbers: [22, 20]
Generated Node #0,2,0: 13:[22, 20] Operation: 80/4=20
Exploring Operation: 80-4=76, Resulting Numbers: [22, 76]
Generated Node #0,2,1: 13:[22, 76] Operation: 80-4=76
Exploring Operation: 80-22=58, Resulting Numbers: [4, 58]
Generated Node #0,2,2: 13:[4, 58] Operation: 80-22=58
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[22, 20], Operations: ['79-57=22', '80/4=20']
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,13 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No 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: 13:[4, 58], Operations: ['79-57=22', '80-22=58']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,13 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,13 unequal: No Solution
No 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: 13:[22, 76], Operations: ['79-57=22', '80-4=76']
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,13 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
92,
45,
56,
63
] | 18 | [
"92+45=137",
"56+63=119",
"137-119=18"
] | Current State: 18:[92, 45, 56, 63], Operations: []
Exploring Operation: 92+45=137, Resulting Numbers: [56, 63, 137]
Generated Node #2: [56, 63, 137] from Operation: 92+45=137
Current State: 18:[56, 63, 137], Operations: ['92+45=137']
Exploring Operation: 56+63=119, Resulting Numbers: [137, 119]
Generated Node #3: [137, 119] from Operation: 56+63=119
Current State: 18:[137, 119], Operations: ['92+45=137', '56+63=119']
Exploring Operation: 137-119=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[92, 45, 56, 63], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [45, 63, 36]
Generated Node #0,0: 18:[45, 63, 36] Operation: 92-56=36
Exploring Operation: 92-63=29, Resulting Numbers: [45, 56, 29]
Generated Node #0,1: 18:[45, 56, 29] Operation: 92-63=29
Exploring Operation: 92-45=47, Resulting Numbers: [56, 63, 47]
Generated Node #0,2: 18:[56, 63, 47] Operation: 92-45=47
Exploring Operation: 63-56=7, Resulting Numbers: [92, 45, 7]
Generated Node #0,3: 18:[92, 45, 7] Operation: 63-56=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[45, 56, 29], Operations: ['92-63=29']
Exploring Operation: 56-29=27, Resulting Numbers: [45, 27]
Generated Node #0,1,0: 18:[45, 27] Operation: 56-29=27
Exploring Operation: 45+56=101, Resulting Numbers: [29, 101]
Generated Node #0,1,1: 18:[29, 101] Operation: 45+56=101
Exploring Operation: 45-29=16, Resulting Numbers: [56, 16]
Generated Node #0,1,2: 18:[56, 16] Operation: 45-29=16
Exploring Operation: 56-45=11, Resulting Numbers: [29, 11]
Generated Node #0,1,3: 18:[29, 11] Operation: 56-45=11
Moving to Node #0,1,3
Current State: 18:[29, 11], Operations: ['92-63=29', '56-45=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[92, 45, 56, 63], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [45, 56, 29]
Generated Node #0,1: 18:[45, 56, 29] Operation: 92-63=29
Moving to Node #0,1
Current State: 18:[45, 56, 29], Operations: ['92-63=29']
Exploring Operation: 56-45=11, Resulting Numbers: [29, 11]
Generated Node #0,1,3: 18:[29, 11] Operation: 56-45=11
Moving to Node #0,1,3
Current State: 18:[29, 11], Operations: ['92-63=29', '56-45=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
83,
64,
1,
69
] | 49 | [
"83-64=19",
"69-1=68",
"68-19=49"
] | Current State: 49:[83, 64, 1, 69], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [1, 69, 19]
Generated Node #2: [1, 69, 19] from Operation: 83-64=19
Current State: 49:[1, 69, 19], Operations: ['83-64=19']
Exploring Operation: 69-1=68, Resulting Numbers: [19, 68]
Generated Node #3: [19, 68] from Operation: 69-1=68
Current State: 49:[19, 68], Operations: ['83-64=19', '69-1=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 64, 1, 69], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [64, 1, 14]
Generated Node #0,0: 49:[64, 1, 14] Operation: 83-69=14
Moving to Node #0,0
Current State: 49:[64, 1, 14], Operations: ['83-69=14']
Exploring Operation: 64-14=50, Resulting Numbers: [1, 50]
Generated Node #0,0,0: 49:[1, 50] Operation: 64-14=50
Moving to Node #0,0,0
Current State: 49:[1, 50], Operations: ['83-69=14', '64-14=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[83, 64, 1, 69], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [64, 1, 14]
Generated Node #0,0: 49:[64, 1, 14] Operation: 83-69=14
Moving to Node #0,0
Current State: 49:[64, 1, 14], Operations: ['83-69=14']
Exploring Operation: 64-14=50, Resulting Numbers: [1, 50]
Generated Node #0,0,0: 49:[1, 50] Operation: 64-14=50
Moving to Node #0,0,0
Current State: 49:[1, 50], Operations: ['83-69=14', '64-14=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
89,
37,
71,
40
] | 92 | [
"71+40=111",
"111/37=3",
"89+3=92"
] | Current State: 92:[89, 37, 71, 40], Operations: []
Exploring Operation: 71+40=111, Resulting Numbers: [89, 37, 111]
Generated Node #2: [89, 37, 111] from Operation: 71+40=111
Current State: 92:[89, 37, 111], Operations: ['71+40=111']
Exploring Operation: 111/37=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 111/37=3
Current State: 92:[89, 3], Operations: ['71+40=111', '111/37=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[89, 37, 71, 40], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [37, 40, 18]
Generated Node #0,0: 92:[37, 40, 18] Operation: 89-71=18
Exploring Operation: 71-37=34, Resulting Numbers: [89, 40, 34]
Generated Node #0,1: 92:[89, 40, 34] Operation: 71-37=34
Moving to Node #0,0
Current State: 92:[37, 40, 18], Operations: ['89-71=18']
Exploring Operation: 37-18=19, Resulting Numbers: [40, 19]
Generated Node #0,0,0: 92:[40, 19] Operation: 37-18=19
Exploring Operation: 40-37=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 92:[18, 3] Operation: 40-37=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[18, 3], Operations: ['89-71=18', '40-37=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,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,0,0
Current State: 92:[40, 19], Operations: ['89-71=18', '37-18=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 92:[89, 40, 34], Operations: ['71-37=34']
Exploring Operation: 89-40=49, Resulting Numbers: [34, 49]
Generated Node #0,1,0: 92:[34, 49] Operation: 89-40=49
Exploring Operation: 40-34=6, Resulting Numbers: [89, 6]
Generated Node #0,1,1: 92:[89, 6] Operation: 40-34=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[89, 6], Operations: ['71-37=34', '40-34=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,92 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,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,1,0
Current State: 92:[34, 49], Operations: ['71-37=34', '89-40=49']
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
35,
11,
90
] | 55 | [
"12-11=1",
"90-35=55",
"1*55=55"
] | Current State: 55:[12, 35, 11, 90], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [35, 90, 1]
Generated Node #2: [35, 90, 1] from Operation: 12-11=1
Current State: 55:[35, 90, 1], Operations: ['12-11=1']
Exploring Operation: 90-35=55, Resulting Numbers: [1, 55]
Generated Node #3: [1, 55] from Operation: 90-35=55
Current State: 55:[1, 55], Operations: ['12-11=1', '90-35=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[12, 35, 11, 90], Operations: []
Exploring Operation: 90-35=55, Resulting Numbers: [12, 11, 55]
Generated Node #0,0: 55:[12, 11, 55] Operation: 90-35=55
Exploring Operation: 12+35=47, Resulting Numbers: [11, 90, 47]
Generated Node #0,1: 55:[11, 90, 47] Operation: 12+35=47
Exploring Operation: 35+11=46, Resulting Numbers: [12, 90, 46]
Generated Node #0,2: 55:[12, 90, 46] Operation: 35+11=46
Exploring Operation: 90-12=78, Resulting Numbers: [35, 11, 78]
Generated Node #0,3: 55:[35, 11, 78] Operation: 90-12=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[12, 11, 55], Operations: ['90-35=55']
Exploring Operation: 12+55=67, Resulting Numbers: [11, 67]
Generated Node #0,0,0: 55:[11, 67] Operation: 12+55=67
Exploring Operation: 12+11=23, Resulting Numbers: [55, 23]
Generated Node #0,0,1: 55:[55, 23] Operation: 12+11=23
Exploring Operation: 55/11=5, Resulting Numbers: [12, 5]
Generated Node #0,0,2: 55:[12, 5] Operation: 55/11=5
Exploring Operation: 12-11=1, Resulting Numbers: [55, 1]
Generated Node #0,0,3: 55:[55, 1] Operation: 12-11=1
Moving to Node #0,0,2
Current State: 55:[12, 5], Operations: ['90-35=55', '55/11=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[55, 1], Operations: ['90-35=55', '12-11=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[12, 35, 11, 90], Operations: []
Exploring Operation: 90-35=55, Resulting Numbers: [12, 11, 55]
Generated Node #0,0: 55:[12, 11, 55] Operation: 90-35=55
Moving to Node #0,0
Current State: 55:[12, 11, 55], Operations: ['90-35=55']
Exploring Operation: 12-11=1, Resulting Numbers: [55, 1]
Generated Node #0,0,3: 55:[55, 1] Operation: 12-11=1
Moving to Node #0,0,3
Current State: 55:[55, 1], Operations: ['90-35=55', '12-11=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
19,
41,
26,
57
] | 61 | [
"41-19=22",
"26+57=83",
"83-22=61"
] | Current State: 61:[19, 41, 26, 57], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [26, 57, 22]
Generated Node #2: [26, 57, 22] from Operation: 41-19=22
Current State: 61:[26, 57, 22], Operations: ['41-19=22']
Exploring Operation: 26+57=83, Resulting Numbers: [22, 83]
Generated Node #3: [22, 83] from Operation: 26+57=83
Current State: 61:[22, 83], Operations: ['41-19=22', '26+57=83']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[19, 41, 26, 57], Operations: []
Exploring Operation: 19+41=60, Resulting Numbers: [26, 57, 60]
Generated Node #0,0: 61:[26, 57, 60] Operation: 19+41=60
Exploring Operation: 19+26=45, Resulting Numbers: [41, 57, 45]
Generated Node #0,1: 61:[41, 57, 45] Operation: 19+26=45
Exploring Operation: 41+26=67, Resulting Numbers: [19, 57, 67]
Generated Node #0,2: 61:[19, 57, 67] Operation: 41+26=67
Exploring Operation: 19+57=76, Resulting Numbers: [41, 26, 76]
Generated Node #0,3: 61:[41, 26, 76] Operation: 19+57=76
Moving to Node #0,0
Current State: 61:[26, 57, 60], Operations: ['19+41=60']
Exploring Operation: 60-26=34, Resulting Numbers: [57, 34]
Generated Node #0,0,0: 61:[57, 34] Operation: 60-26=34
Exploring Operation: 57-26=31, Resulting Numbers: [60, 31]
Generated Node #0,0,1: 61:[60, 31] Operation: 57-26=31
Exploring Operation: 26+60=86, Resulting Numbers: [57, 86]
Generated Node #0,0,2: 61:[57, 86] Operation: 26+60=86
Exploring Operation: 26+57=83, Resulting Numbers: [60, 83]
Generated Node #0,0,3: 61:[60, 83] Operation: 26+57=83
Moving to Node #0,1
Current State: 61:[41, 57, 45], Operations: ['19+26=45']
Exploring Operation: 41+57=98, Resulting Numbers: [45, 98]
Generated Node #0,1,0: 61:[45, 98] Operation: 41+57=98
Exploring Operation: 57-41=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 61:[45, 16] Operation: 57-41=16
Exploring Operation: 45-41=4, Resulting Numbers: [57, 4]
Generated Node #0,1,2: 61:[57, 4] Operation: 45-41=4
Exploring Operation: 41+45=86, Resulting Numbers: [57, 86]
Generated Node #0,1,3: 61:[57, 86] Operation: 41+45=86
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[57, 86], Operations: ['19+26=45', '41+45=86']
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 57*86=4902, Resulting Numbers: [4902]
4902,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:[45, 98], Operations: ['19+26=45', '41+57=98']
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,61 unequal: No Solution
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,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:[45, 16], Operations: ['19+26=45', '57-41=16']
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,61 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[19, 41, 26, 57], Operations: []
Exploring Operation: 19+26=45, Resulting Numbers: [41, 57, 45]
Generated Node #0,1: 61:[41, 57, 45] Operation: 19+26=45
Moving to Node #0,1
Current State: 61:[41, 57, 45], Operations: ['19+26=45']
Exploring Operation: 57-41=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 61:[45, 16] Operation: 57-41=16
Moving to Node #0,1,1
Current State: 61:[45, 16], Operations: ['19+26=45', '57-41=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
77,
14,
91,
35
] | 36 | [
"77+14=91",
"91/91=1",
"35+1=36"
] | Current State: 36:[77, 14, 91, 35], Operations: []
Exploring Operation: 77+14=91, Resulting Numbers: [91, 35, 91]
Generated Node #2: [91, 35, 91] from Operation: 77+14=91
Current State: 36:[91, 35, 91], Operations: ['77+14=91']
Exploring Operation: 91/91=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 91/91=1
Current State: 36:[35, 1], Operations: ['77+14=91', '91/91=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[77, 14, 91, 35], Operations: []
Exploring Operation: 91-35=56, Resulting Numbers: [77, 14, 56]
Generated Node #0,0: 36:[77, 14, 56] Operation: 91-35=56
Exploring Operation: 77-35=42, Resulting Numbers: [14, 91, 42]
Generated Node #0,1: 36:[14, 91, 42] Operation: 77-35=42
Exploring Operation: 77-14=63, Resulting Numbers: [91, 35, 63]
Generated Node #0,2: 36:[91, 35, 63] Operation: 77-14=63
Exploring Operation: 91-77=14, Resulting Numbers: [14, 35, 14]
Generated Node #0,3: 36:[14, 35, 14] Operation: 91-77=14
Exploring Operation: 91-14=77, Resulting Numbers: [77, 35, 77]
Generated Node #0,4: 36:[77, 35, 77] Operation: 91-14=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[14, 35, 14], Operations: ['91-77=14']
Exploring Operation: 14+14=28, Resulting Numbers: [35, 28]
Generated Node #0,3,0: 36:[35, 28] Operation: 14+14=28
Exploring Operation: 14-14=0, Resulting Numbers: [35, 0]
Generated Node #0,3,1: 36:[35, 0] Operation: 14-14=0
Exploring Operation: 35-14=21, Resulting Numbers: [14, 21]
Generated Node #0,3,2: 36:[14, 21] Operation: 35-14=21
Exploring Operation: 35-14=21, Resulting Numbers: [14, 21]
Generated Node #0,3,3: 36:[14, 21] Operation: 35-14=21
Exploring Operation: 14/14=1, Resulting Numbers: [35, 1]
Generated Node #0,3,4: 36:[35, 1] Operation: 14/14=1
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 36:[35, 1], Operations: ['91-77=14', '14/14=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[77, 14, 91, 35], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [14, 35, 14]
Generated Node #0,3: 36:[14, 35, 14] Operation: 91-77=14
Moving to Node #0,3
Current State: 36:[14, 35, 14], Operations: ['91-77=14']
Exploring Operation: 14/14=1, Resulting Numbers: [35, 1]
Generated Node #0,3,4: 36:[35, 1] Operation: 14/14=1
Moving to Node #0,3,4
Current State: 36:[35, 1], Operations: ['91-77=14', '14/14=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
8,
40,
32,
48
] | 38 | [
"8*40=320",
"320/32=10",
"48-10=38"
] | Current State: 38:[8, 40, 32, 48], Operations: []
Exploring Operation: 8*40=320, Resulting Numbers: [32, 48, 320]
Generated Node #2: [32, 48, 320] from Operation: 8*40=320
Current State: 38:[32, 48, 320], Operations: ['8*40=320']
Exploring Operation: 320/32=10, Resulting Numbers: [48, 10]
Generated Node #3: [48, 10] from Operation: 320/32=10
Current State: 38:[48, 10], Operations: ['8*40=320', '320/32=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[8, 40, 32, 48], Operations: []
Exploring Operation: 48-8=40, Resulting Numbers: [40, 32, 40]
Generated Node #0,0: 38:[40, 32, 40] Operation: 48-8=40
Exploring Operation: 48-32=16, Resulting Numbers: [8, 40, 16]
Generated Node #0,1: 38:[8, 40, 16] Operation: 48-32=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[40, 32, 40], Operations: ['48-8=40']
Exploring Operation: 40/40=1, Resulting Numbers: [32, 1]
Generated Node #0,0,0: 38:[32, 1] Operation: 40/40=1
Exploring Operation: 40-32=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 38:[40, 8] Operation: 40-32=8
Moving to Node #0,0,0
Current State: 38:[32, 1], Operations: ['48-8=40', '40/40=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[40, 8], Operations: ['48-8=40', '40-32=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[8, 40, 16], Operations: ['48-32=16']
Exploring Operation: 16/8=2, Resulting Numbers: [40, 2]
Generated Node #0,1,0: 38:[40, 2] Operation: 16/8=2
Exploring Operation: 40/8=5, Resulting Numbers: [16, 5]
Generated Node #0,1,1: 38:[16, 5] Operation: 40/8=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[40, 2], Operations: ['48-32=16', '16/8=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[8, 40, 32, 48], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [8, 40, 16]
Generated Node #0,1: 38:[8, 40, 16] Operation: 48-32=16
Moving to Node #0,1
Current State: 38:[8, 40, 16], Operations: ['48-32=16']
Exploring Operation: 16/8=2, Resulting Numbers: [40, 2]
Generated Node #0,1,0: 38:[40, 2] Operation: 16/8=2
Moving to Node #0,1,0
Current State: 38:[40, 2], Operations: ['48-32=16', '16/8=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
40,
5,
77,
17
] | 32 | [
"40+77=117",
"5*17=85",
"117-85=32"
] | Current State: 32:[40, 5, 77, 17], Operations: []
Exploring Operation: 40+77=117, Resulting Numbers: [5, 17, 117]
Generated Node #2: [5, 17, 117] from Operation: 40+77=117
Current State: 32:[5, 17, 117], Operations: ['40+77=117']
Exploring Operation: 5*17=85, Resulting Numbers: [117, 85]
Generated Node #3: [117, 85] from Operation: 5*17=85
Current State: 32:[117, 85], Operations: ['40+77=117', '5*17=85']
Exploring Operation: 117-85=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[40, 5, 77, 17], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [5, 17, 37]
Generated Node #0,0: 32:[5, 17, 37] Operation: 77-40=37
Exploring Operation: 40-5=35, Resulting Numbers: [77, 17, 35]
Generated Node #0,1: 32:[77, 17, 35] Operation: 40-5=35
Exploring Operation: 77-17=60, Resulting Numbers: [40, 5, 60]
Generated Node #0,2: 32:[40, 5, 60] Operation: 77-17=60
Exploring Operation: 40/5=8, Resulting Numbers: [77, 17, 8]
Generated Node #0,3: 32:[77, 17, 8] Operation: 40/5=8
Exploring Operation: 77-5=72, Resulting Numbers: [40, 17, 72]
Generated Node #0,4: 32:[40, 17, 72] Operation: 77-5=72
Moving to Node #0,0
Current State: 32:[5, 17, 37], Operations: ['77-40=37']
Exploring Operation: 37-17=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 32:[5, 20] Operation: 37-17=20
Exploring Operation: 37-5=32, Resulting Numbers: [17, 32]
Generated Node #0,0,1: 32:[17, 32] Operation: 37-5=32
Exploring Operation: 5+37=42, Resulting Numbers: [17, 42]
Generated Node #0,0,2: 32:[17, 42] Operation: 5+37=42
Exploring Operation: 5+17=22, Resulting Numbers: [37, 22]
Generated Node #0,0,3: 32:[37, 22] Operation: 5+17=22
Exploring Operation: 17-5=12, Resulting Numbers: [37, 12]
Generated Node #0,0,4: 32:[37, 12] Operation: 17-5=12
Moving to Node #0,2
Current State: 32:[40, 5, 60], Operations: ['77-17=60']
Exploring Operation: 60-40=20, Resulting Numbers: [5, 20]
Generated Node #0,2,0: 32:[5, 20] Operation: 60-40=20
Exploring Operation: 60/5=12, Resulting Numbers: [40, 12]
Generated Node #0,2,1: 32:[40, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [40, 55]
Generated Node #0,2,2: 32:[40, 55] Operation: 60-5=55
Exploring Operation: 40-5=35, Resulting Numbers: [60, 35]
Generated Node #0,2,3: 32:[60, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [60, 8]
Generated Node #0,2,4: 32:[60, 8] Operation: 40/5=8
Moving to Node #0,3
Current State: 32:[77, 17, 8], Operations: ['40/5=8']
Exploring Operation: 77+8=85, Resulting Numbers: [17, 85]
Generated Node #0,3,0: 32:[17, 85] Operation: 77+8=85
Exploring Operation: 17-8=9, Resulting Numbers: [77, 9]
Generated Node #0,3,1: 32:[77, 9] Operation: 17-8=9
Exploring Operation: 17+8=25, Resulting Numbers: [77, 25]
Generated Node #0,3,2: 32:[77, 25] Operation: 17+8=25
Exploring Operation: 77-8=69, Resulting Numbers: [17, 69]
Generated Node #0,3,3: 32:[17, 69] Operation: 77-8=69
Exploring Operation: 77-17=60, Resulting Numbers: [8, 60]
Generated Node #0,3,4: 32:[8, 60] Operation: 77-17=60
Moving to Node #0,1
Current State: 32:[77, 17, 35], Operations: ['40-5=35']
Exploring Operation: 35-17=18, Resulting Numbers: [77, 18]
Generated Node #0,1,0: 32:[77, 18] Operation: 35-17=18
Exploring Operation: 77-17=60, Resulting Numbers: [35, 60]
Generated Node #0,1,1: 32:[35, 60] Operation: 77-17=60
Exploring Operation: 77-35=42, Resulting Numbers: [17, 42]
Generated Node #0,1,2: 32:[17, 42] Operation: 77-35=42
Exploring Operation: 17+35=52, Resulting Numbers: [77, 52]
Generated Node #0,1,3: 32:[77, 52] Operation: 17+35=52
Exploring Operation: 77+17=94, Resulting Numbers: [35, 94]
Generated Node #0,1,4: 32:[35, 94] Operation: 77+17=94
Moving to Node #0,4
Current State: 32:[40, 17, 72], Operations: ['77-5=72']
Exploring Operation: 72-40=32, Resulting Numbers: [17, 32]
Generated Node #0,4,0: 32:[17, 32] Operation: 72-40=32
Exploring Operation: 17+72=89, Resulting Numbers: [40, 89]
Generated Node #0,4,1: 32:[40, 89] Operation: 17+72=89
Exploring Operation: 72-17=55, Resulting Numbers: [40, 55]
Generated Node #0,4,2: 32:[40, 55] Operation: 72-17=55
Exploring Operation: 40-17=23, Resulting Numbers: [72, 23]
Generated Node #0,4,3: 32:[72, 23] Operation: 40-17=23
Exploring Operation: 40+17=57, Resulting Numbers: [72, 57]
Generated Node #0,4,4: 32:[72, 57] Operation: 40+17=57
Moving to Node #0,0,1
Current State: 32:[17, 32], Operations: ['77-40=37', '37-5=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[17, 32], Operations: ['77-5=72', '72-40=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,32 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[5, 20], Operations: ['77-17=60', '60-40=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,32 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[5, 20], Operations: ['77-40=37', '37-17=20']
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,32 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[37, 12], Operations: ['77-40=37', '17-5=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,32 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[37, 22], Operations: ['77-40=37', '5+17=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,32 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[17, 42], Operations: ['77-40=37', '5+37=42']
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,32 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[17, 42], Operations: ['40-5=35', '77-35=42']
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[40, 12], Operations: ['77-17=60', '60/5=12']
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[8, 60], Operations: ['40/5=8', '77-17=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[60, 8], Operations: ['77-17=60', '40/5=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,32 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[40, 55], Operations: ['77-5=72', '72-17=55']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[60, 35], Operations: ['77-17=60', '40-5=35']
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Exploring Operation: 60*35=2100, Resulting Numbers: [2100]
2100,32 unequal: No Solution
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[40, 55], Operations: ['77-17=60', '60-5=55']
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,32 unequal: No Solution
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[35, 60], Operations: ['40-5=35', '77-17=60']
Exploring Operation: 35*60=2100, Resulting Numbers: [2100]
2100,32 unequal: No Solution
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[17, 69], Operations: ['40/5=8', '77-8=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[77, 9], Operations: ['40/5=8', '17-8=9']
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,32 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,32 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[72, 23], Operations: ['77-5=72', '40-17=23']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,32 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[77, 18], Operations: ['40-5=35', '35-17=18']
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,32 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,32 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[77, 25], Operations: ['40/5=8', '17+8=25']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 77*25=1925, Resulting Numbers: [1925]
1925,32 unequal: No Solution
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[17, 85], Operations: ['40/5=8', '77+8=85']
Exploring Operation: 17*85=1445, Resulting Numbers: [1445]
1445,32 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 17+85=102, Resulting Numbers: [102]
102,32 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[72, 57], Operations: ['77-5=72', '40+17=57']
Exploring Operation: 72*57=4104, Resulting Numbers: [4104]
4104,32 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 72+57=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[77, 52], Operations: ['40-5=35', '17+35=52']
Exploring Operation: 77+52=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 77*52=4004, Resulting Numbers: [4004]
4004,32 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[35, 94], Operations: ['40-5=35', '77+17=94']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[40, 89], Operations: ['77-5=72', '17+72=89']
Exploring Operation: 40+89=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 40*89=3560, Resulting Numbers: [3560]
3560,32 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
41,
6,
1
] | 77 | [
"5+1=6",
"6*6=36",
"41+36=77"
] | Current State: 77:[5, 41, 6, 1], Operations: []
Exploring Operation: 5+1=6, Resulting Numbers: [41, 6, 6]
Generated Node #2: [41, 6, 6] from Operation: 5+1=6
Current State: 77:[41, 6, 6], Operations: ['5+1=6']
Exploring Operation: 6*6=36, Resulting Numbers: [41, 36]
Generated Node #3: [41, 36] from Operation: 6*6=36
Current State: 77:[41, 36], Operations: ['5+1=6', '6*6=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[5, 41, 6, 1], Operations: []
Exploring Operation: 41-5=36, Resulting Numbers: [6, 1, 36]
Generated Node #0,0: 77:[6, 1, 36] Operation: 41-5=36
Moving to Node #0,0
Current State: 77:[6, 1, 36], Operations: ['41-5=36']
Exploring Operation: 36/6=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 77:[1, 6] Operation: 36/6=6
Moving to Node #0,0,0
Current State: 77:[1, 6], Operations: ['41-5=36', '36/6=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,77 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
60,
2,
22
] | 60 | [
"20+60=80",
"22-2=20",
"80-20=60"
] | Current State: 60:[20, 60, 2, 22], Operations: []
Exploring Operation: 20+60=80, Resulting Numbers: [2, 22, 80]
Generated Node #2: [2, 22, 80] from Operation: 20+60=80
Current State: 60:[2, 22, 80], Operations: ['20+60=80']
Exploring Operation: 22-2=20, Resulting Numbers: [80, 20]
Generated Node #3: [80, 20] from Operation: 22-2=20
Current State: 60:[80, 20], Operations: ['20+60=80', '22-2=20']
Exploring Operation: 80-20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[20, 60, 2, 22], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [60, 2, 2]
Generated Node #0,0: 60:[60, 2, 2] Operation: 22-20=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[60, 2, 2], Operations: ['22-20=2']
Exploring Operation: 60/2=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 60:[2, 30] Operation: 60/2=30
Moving to Node #0,0,0
Current State: 60:[2, 30], Operations: ['22-20=2', '60/2=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[20, 60, 2, 22], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [60, 2, 2]
Generated Node #0,0: 60:[60, 2, 2] Operation: 22-20=2
Moving to Node #0,0
Current State: 60:[60, 2, 2], Operations: ['22-20=2']
Exploring Operation: 60/2=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 60:[2, 30] Operation: 60/2=30
Moving to Node #0,0,0
Current State: 60:[2, 30], Operations: ['22-20=2', '60/2=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
18,
17,
18,
69
] | 52 | [
"18+17=35",
"18+69=87",
"87-35=52"
] | Current State: 52:[18, 17, 18, 69], Operations: []
Exploring Operation: 18+17=35, Resulting Numbers: [69, 35]
Generated Node #2: [69, 35] from Operation: 18+17=35
Current State: 52:[69, 35], Operations: ['18+17=35']
Exploring Operation: 18+69=87, Resulting Numbers: [35, 87]
Generated Node #3: [35, 87] from Operation: 18+69=87
Current State: 52:[35, 87], Operations: ['18+17=35', '18+69=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[18, 17, 18, 69], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [18, 18, 52]
Generated Node #0,0: 52:[18, 18, 52] Operation: 69-17=52
Exploring Operation: 18/18=1, Resulting Numbers: [17, 69, 1]
Generated Node #0,1: 52:[17, 69, 1] Operation: 18/18=1
Exploring Operation: 69-18=51, Resulting Numbers: [17, 18, 51]
Generated Node #0,2: 52:[17, 18, 51] Operation: 69-18=51
Exploring Operation: 18-17=1, Resulting Numbers: [18, 69, 1]
Generated Node #0,3: 52:[18, 69, 1] Operation: 18-17=1
Exploring Operation: 69-18=51, Resulting Numbers: [18, 17, 51]
Generated Node #0,4: 52:[18, 17, 51] Operation: 69-18=51
Moving to Node #0,0
Current State: 52:[18, 18, 52], Operations: ['69-17=52']
Exploring Operation: 52-18=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 52:[18, 34] Operation: 52-18=34
Exploring Operation: 18-18=0, Resulting Numbers: [52, 0]
Generated Node #0,0,1: 52:[52, 0] Operation: 18-18=0
Exploring Operation: 52-18=34, Resulting Numbers: [18, 34]
Generated Node #0,0,2: 52:[18, 34] Operation: 52-18=34
Exploring Operation: 18+18=36, Resulting Numbers: [52, 36]
Generated Node #0,0,3: 52:[52, 36] Operation: 18+18=36
Exploring Operation: 18/18=1, Resulting Numbers: [52, 1]
Generated Node #0,0,4: 52:[52, 1] Operation: 18/18=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 52:[52, 1], Operations: ['69-17=52', '18/18=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[18, 17, 18, 69], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [18, 18, 52]
Generated Node #0,0: 52:[18, 18, 52] Operation: 69-17=52
Moving to Node #0,0
Current State: 52:[18, 18, 52], Operations: ['69-17=52']
Exploring Operation: 18/18=1, Resulting Numbers: [52, 1]
Generated Node #0,0,4: 52:[52, 1] Operation: 18/18=1
Moving to Node #0,0,4
Current State: 52:[52, 1], Operations: ['69-17=52', '18/18=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
89,
14,
23,
47
] | 26 | [
"89-47=42",
"42/14=3",
"23+3=26"
] | Current State: 26:[89, 14, 23, 47], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [14, 23, 42]
Generated Node #2: [14, 23, 42] from Operation: 89-47=42
Current State: 26:[14, 23, 42], Operations: ['89-47=42']
Exploring Operation: 42/14=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 42/14=3
Current State: 26:[23, 3], Operations: ['89-47=42', '42/14=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[89, 14, 23, 47], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [14, 23, 42]
Generated Node #0,0: 26:[14, 23, 42] Operation: 89-47=42
Moving to Node #0,0
Current State: 26:[14, 23, 42], Operations: ['89-47=42']
Exploring Operation: 42/14=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 26:[23, 3] Operation: 42/14=3
Moving to Node #0,0,0
Current State: 26:[23, 3], Operations: ['89-47=42', '42/14=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[89, 14, 23, 47], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [14, 23, 42]
Generated Node #0,0: 26:[14, 23, 42] Operation: 89-47=42
Moving to Node #0,0
Current State: 26:[14, 23, 42], Operations: ['89-47=42']
Exploring Operation: 42/14=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 26:[23, 3] Operation: 42/14=3
Moving to Node #0,0,0
Current State: 26:[23, 3], Operations: ['89-47=42', '42/14=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
43,
23,
69,
47
] | 42 | [
"43-23=20",
"69-47=22",
"20+22=42"
] | Current State: 42:[43, 23, 69, 47], Operations: []
Exploring Operation: 43-23=20, Resulting Numbers: [69, 47, 20]
Generated Node #2: [69, 47, 20] from Operation: 43-23=20
Current State: 42:[69, 47, 20], Operations: ['43-23=20']
Exploring Operation: 69-47=22, Resulting Numbers: [20, 22]
Generated Node #3: [20, 22] from Operation: 69-47=22
Current State: 42:[20, 22], Operations: ['43-23=20', '69-47=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 23, 69, 47], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [43, 23, 22]
Generated Node #0,0: 42:[43, 23, 22] Operation: 69-47=22
Exploring Operation: 69/23=3, Resulting Numbers: [43, 47, 3]
Generated Node #0,1: 42:[43, 47, 3] Operation: 69/23=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[43, 23, 22], Operations: ['69-47=22']
Exploring Operation: 43-23=20, Resulting Numbers: [22, 20]
Generated Node #0,0,0: 42:[22, 20] Operation: 43-23=20
Exploring Operation: 43-22=21, Resulting Numbers: [23, 21]
Generated Node #0,0,1: 42:[23, 21] Operation: 43-22=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[22, 20], Operations: ['69-47=22', '43-23=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[43, 23, 69, 47], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [43, 23, 22]
Generated Node #0,0: 42:[43, 23, 22] Operation: 69-47=22
Moving to Node #0,0
Current State: 42:[43, 23, 22], Operations: ['69-47=22']
Exploring Operation: 43-23=20, Resulting Numbers: [22, 20]
Generated Node #0,0,0: 42:[22, 20] Operation: 43-23=20
Moving to Node #0,0,0
Current State: 42:[22, 20], Operations: ['69-47=22', '43-23=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
67,
93,
34,
32
] | 24 | [
"93-67=26",
"34-32=2",
"26-2=24"
] | Current State: 24:[67, 93, 34, 32], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [34, 32, 26]
Generated Node #2: [34, 32, 26] from Operation: 93-67=26
Current State: 24:[34, 32, 26], Operations: ['93-67=26']
Exploring Operation: 34-32=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 34-32=2
Current State: 24:[26, 2], Operations: ['93-67=26', '34-32=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[67, 93, 34, 32], Operations: []
Exploring Operation: 67-34=33, Resulting Numbers: [93, 32, 33]
Generated Node #0,0: 24:[93, 32, 33] Operation: 67-34=33
Exploring Operation: 67-32=35, Resulting Numbers: [93, 34, 35]
Generated Node #0,1: 24:[93, 34, 35] Operation: 67-32=35
Exploring Operation: 93-34=59, Resulting Numbers: [67, 32, 59]
Generated Node #0,2: 24:[67, 32, 59] Operation: 93-34=59
Exploring Operation: 93-32=61, Resulting Numbers: [67, 34, 61]
Generated Node #0,3: 24:[67, 34, 61] Operation: 93-32=61
Exploring Operation: 93-67=26, Resulting Numbers: [34, 32, 26]
Generated Node #0,4: 24:[34, 32, 26] Operation: 93-67=26
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[34, 32, 26], Operations: ['93-67=26']
Exploring Operation: 34+26=60, Resulting Numbers: [32, 60]
Generated Node #0,4,0: 24:[32, 60] Operation: 34+26=60
Exploring Operation: 34+32=66, Resulting Numbers: [26, 66]
Generated Node #0,4,1: 24:[26, 66] Operation: 34+32=66
Exploring Operation: 34-32=2, Resulting Numbers: [26, 2]
Generated Node #0,4,2: 24:[26, 2] Operation: 34-32=2
Exploring Operation: 34-26=8, Resulting Numbers: [32, 8]
Generated Node #0,4,3: 24:[32, 8] Operation: 34-26=8
Exploring Operation: 32-26=6, Resulting Numbers: [34, 6]
Generated Node #0,4,4: 24:[34, 6] Operation: 32-26=6
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 24:[26, 2], Operations: ['93-67=26', '34-32=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[67, 93, 34, 32], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [34, 32, 26]
Generated Node #0,4: 24:[34, 32, 26] Operation: 93-67=26
Moving to Node #0,4
Current State: 24:[34, 32, 26], Operations: ['93-67=26']
Exploring Operation: 34-32=2, Resulting Numbers: [26, 2]
Generated Node #0,4,2: 24:[26, 2] Operation: 34-32=2
Moving to Node #0,4,2
Current State: 24:[26, 2], Operations: ['93-67=26', '34-32=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
8,
2,
31,
23
] | 44 | [
"8+2=10",
"31+23=54",
"54-10=44"
] | Current State: 44:[8, 2, 31, 23], Operations: []
Exploring Operation: 8+2=10, Resulting Numbers: [31, 23, 10]
Generated Node #2: [31, 23, 10] from Operation: 8+2=10
Current State: 44:[31, 23, 10], Operations: ['8+2=10']
Exploring Operation: 31+23=54, Resulting Numbers: [10, 54]
Generated Node #3: [10, 54] from Operation: 31+23=54
Current State: 44:[10, 54], Operations: ['8+2=10', '31+23=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[8, 2, 31, 23], Operations: []
Exploring Operation: 8+2=10, Resulting Numbers: [31, 23, 10]
Generated Node #0,0: 44:[31, 23, 10] Operation: 8+2=10
Exploring Operation: 31-23=8, Resulting Numbers: [8, 2, 8]
Generated Node #0,1: 44:[8, 2, 8] Operation: 31-23=8
Exploring Operation: 8+31=39, Resulting Numbers: [2, 23, 39]
Generated Node #0,2: 44:[2, 23, 39] Operation: 8+31=39
Exploring Operation: 31-8=23, Resulting Numbers: [2, 23, 23]
Generated Node #0,3: 44:[2, 23, 23] Operation: 31-8=23
Exploring Operation: 8/2=4, Resulting Numbers: [31, 23, 4]
Generated Node #0,4: 44:[31, 23, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[2, 23, 23], Operations: ['31-8=23']
Exploring Operation: 23-23=0, Resulting Numbers: [2, 0]
Generated Node #0,3,0: 44:[2, 0] Operation: 23-23=0
Exploring Operation: 23/23=1, Resulting Numbers: [2, 1]
Generated Node #0,3,1: 44:[2, 1] Operation: 23/23=1
Exploring Operation: 23-2=21, Resulting Numbers: [23, 21]
Generated Node #0,3,2: 44:[23, 21] Operation: 23-2=21
Exploring Operation: 23+23=46, Resulting Numbers: [2, 46]
Generated Node #0,3,3: 44:[2, 46] Operation: 23+23=46
Exploring Operation: 23-2=21, Resulting Numbers: [23, 21]
Generated Node #0,3,4: 44:[23, 21] Operation: 23-2=21
Moving to Node #0,3,1
Current State: 44:[2, 1], Operations: ['31-8=23', '23/23=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[23, 21], Operations: ['31-8=23', '23-2=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,44 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[8, 2, 31, 23], Operations: []
Exploring Operation: 31-8=23, Resulting Numbers: [2, 23, 23]
Generated Node #0,3: 44:[2, 23, 23] Operation: 31-8=23
Moving to Node #0,3
Current State: 44:[2, 23, 23], Operations: ['31-8=23']
Exploring Operation: 23-2=21, Resulting Numbers: [23, 21]
Generated Node #0,3,2: 44:[23, 21] Operation: 23-2=21
Moving to Node #0,3,2
Current State: 44:[23, 21], Operations: ['31-8=23', '23-2=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
47,
4,
19,
89
] | 80 | [
"47*4=188",
"19+89=108",
"188-108=80"
] | Current State: 80:[47, 4, 19, 89], Operations: []
Exploring Operation: 47*4=188, Resulting Numbers: [19, 89, 188]
Generated Node #2: [19, 89, 188] from Operation: 47*4=188
Current State: 80:[19, 89, 188], Operations: ['47*4=188']
Exploring Operation: 19+89=108, Resulting Numbers: [188, 108]
Generated Node #3: [188, 108] from Operation: 19+89=108
Current State: 80:[188, 108], Operations: ['47*4=188', '19+89=108']
Exploring Operation: 188-108=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[47, 4, 19, 89], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [4, 19, 42]
Generated Node #0,0: 80:[4, 19, 42] Operation: 89-47=42
Exploring Operation: 47-4=43, Resulting Numbers: [19, 89, 43]
Generated Node #0,1: 80:[19, 89, 43] Operation: 47-4=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[4, 19, 42], Operations: ['89-47=42']
Exploring Operation: 19-4=15, Resulting Numbers: [42, 15]
Generated Node #0,0,0: 80:[42, 15] Operation: 19-4=15
Exploring Operation: 42-4=38, Resulting Numbers: [19, 38]
Generated Node #0,0,1: 80:[19, 38] Operation: 42-4=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[42, 15], Operations: ['89-47=42', '19-4=15']
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No 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: 80:[19, 38], Operations: ['89-47=42', '42-4=38']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[19, 89, 43], Operations: ['47-4=43']
Exploring Operation: 89-43=46, Resulting Numbers: [19, 46]
Generated Node #0,1,0: 80:[19, 46] Operation: 89-43=46
Exploring Operation: 89-19=70, Resulting Numbers: [43, 70]
Generated Node #0,1,1: 80:[43, 70] Operation: 89-19=70
Moving to Node #0,1,0
Current State: 80:[19, 46], Operations: ['47-4=43', '89-43=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[43, 70], Operations: ['47-4=43', '89-19=70']
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,80 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,80 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 |
[
89,
64,
8,
1
] | 81 | [
"89*1=89",
"64/8=8",
"89-8=81"
] | Current State: 81:[89, 64, 8, 1], Operations: []
Exploring Operation: 89*1=89, Resulting Numbers: [64, 8, 89]
Generated Node #2: [64, 8, 89] from Operation: 89*1=89
Current State: 81:[64, 8, 89], Operations: ['89*1=89']
Exploring Operation: 64/8=8, Resulting Numbers: [89, 8]
Generated Node #3: [89, 8] from Operation: 64/8=8
Current State: 81:[89, 8], Operations: ['89*1=89', '64/8=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[89, 64, 8, 1], Operations: []
Exploring Operation: 89-64=25, Resulting Numbers: [8, 1, 25]
Generated Node #0,0: 81:[8, 1, 25] Operation: 89-64=25
Moving to Node #0,0
Current State: 81:[8, 1, 25], Operations: ['89-64=25']
Exploring Operation: 8+1=9, Resulting Numbers: [25, 9]
Generated Node #0,0,0: 81:[25, 9] Operation: 8+1=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[25, 9], Operations: ['89-64=25', '8+1=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,81 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 |
[
84,
72,
12,
90
] | 91 | [
"84-72=12",
"12/12=1",
"90+1=91"
] | Current State: 91:[84, 72, 12, 90], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [12, 90, 12]
Generated Node #2: [12, 90, 12] from Operation: 84-72=12
Current State: 91:[12, 90, 12], Operations: ['84-72=12']
Exploring Operation: 12/12=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 12/12=1
Current State: 91:[90, 1], Operations: ['84-72=12', '12/12=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[84, 72, 12, 90], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [84, 90, 6]
Generated Node #0,0: 91:[84, 90, 6] Operation: 72/12=6
Exploring Operation: 84/12=7, Resulting Numbers: [72, 90, 7]
Generated Node #0,1: 91:[72, 90, 7] Operation: 84/12=7
Exploring Operation: 72+12=84, Resulting Numbers: [84, 90, 84]
Generated Node #0,2: 91:[84, 90, 84] Operation: 72+12=84
Exploring Operation: 84-72=12, Resulting Numbers: [12, 90, 12]
Generated Node #0,3: 91:[12, 90, 12] Operation: 84-72=12
Exploring Operation: 90-72=18, Resulting Numbers: [84, 12, 18]
Generated Node #0,4: 91:[84, 12, 18] Operation: 90-72=18
Moving to Node #0,3
Current State: 91:[12, 90, 12], Operations: ['84-72=12']
Exploring Operation: 12+12=24, Resulting Numbers: [90, 24]
Generated Node #0,3,0: 91:[90, 24] Operation: 12+12=24
Exploring Operation: 12-12=0, Resulting Numbers: [90, 0]
Generated Node #0,3,1: 91:[90, 0] Operation: 12-12=0
Exploring Operation: 12+90=102, Resulting Numbers: [12, 102]
Generated Node #0,3,2: 91:[12, 102] Operation: 12+90=102
Exploring Operation: 12/12=1, Resulting Numbers: [90, 1]
Generated Node #0,3,3: 91:[90, 1] Operation: 12/12=1
Exploring Operation: 90+12=102, Resulting Numbers: [12, 102]
Generated Node #0,3,4: 91:[12, 102] Operation: 90+12=102
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[90, 1], Operations: ['84-72=12', '12/12=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[84, 72, 12, 90], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [12, 90, 12]
Generated Node #0,3: 91:[12, 90, 12] Operation: 84-72=12
Moving to Node #0,3
Current State: 91:[12, 90, 12], Operations: ['84-72=12']
Exploring Operation: 12/12=1, Resulting Numbers: [90, 1]
Generated Node #0,3,3: 91:[90, 1] Operation: 12/12=1
Moving to Node #0,3,3
Current State: 91:[90, 1], Operations: ['84-72=12', '12/12=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
75,
9,
71,
53
] | 73 | [
"71-53=18",
"18/9=2",
"75-2=73"
] | Current State: 73:[75, 9, 71, 53], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [75, 9, 18]
Generated Node #2: [75, 9, 18] from Operation: 71-53=18
Current State: 73:[75, 9, 18], Operations: ['71-53=18']
Exploring Operation: 18/9=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 18/9=2
Current State: 73:[75, 2], Operations: ['71-53=18', '18/9=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[75, 9, 71, 53], Operations: []
Exploring Operation: 9+53=62, Resulting Numbers: [75, 71, 62]
Generated Node #0,0: 73:[75, 71, 62] Operation: 9+53=62
Exploring Operation: 75-9=66, Resulting Numbers: [71, 53, 66]
Generated Node #0,1: 73:[71, 53, 66] Operation: 75-9=66
Exploring Operation: 9+71=80, Resulting Numbers: [75, 53, 80]
Generated Node #0,2: 73:[75, 53, 80] Operation: 9+71=80
Exploring Operation: 75+9=84, Resulting Numbers: [71, 53, 84]
Generated Node #0,3: 73:[71, 53, 84] Operation: 75+9=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[75, 71, 62], Operations: ['9+53=62']
Exploring Operation: 71+62=133, Resulting Numbers: [75, 133]
Generated Node #0,0,0: 73:[75, 133] Operation: 71+62=133
Exploring Operation: 75+62=137, Resulting Numbers: [71, 137]
Generated Node #0,0,1: 73:[71, 137] Operation: 75+62=137
Exploring Operation: 75-62=13, Resulting Numbers: [71, 13]
Generated Node #0,0,2: 73:[71, 13] Operation: 75-62=13
Exploring Operation: 71-62=9, Resulting Numbers: [75, 9]
Generated Node #0,0,3: 73:[75, 9] Operation: 71-62=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[75, 133], Operations: ['9+53=62', '71+62=133']
Exploring Operation: 75*133=9975, Resulting Numbers: [9975]
9975,73 unequal: No Solution
Exploring Operation: 133-75=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 75+133=208, Resulting Numbers: [208]
208,73 unequal: No Solution
No 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: 73:[71, 13], Operations: ['9+53=62', '75-62=13']
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,73 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,73 unequal: No Solution
No 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: 73:[71, 137], Operations: ['9+53=62', '75+62=137']
Exploring Operation: 71*137=9727, Resulting Numbers: [9727]
9727,73 unequal: No Solution
Exploring Operation: 137-71=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 71+137=208, Resulting Numbers: [208]
208,73 unequal: No Solution
No 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: 73:[75, 9], Operations: ['9+53=62', '71-62=9']
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,73 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,73 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: 73:[71, 53, 66], Operations: ['75-9=66']
Exploring Operation: 53+66=119, Resulting Numbers: [71, 119]
Generated Node #0,1,0: 73:[71, 119] Operation: 53+66=119
Exploring Operation: 66-53=13, Resulting Numbers: [71, 13]
Generated Node #0,1,1: 73:[71, 13] Operation: 66-53=13
Exploring Operation: 71+53=124, Resulting Numbers: [66, 124]
Generated Node #0,1,2: 73:[66, 124] Operation: 71+53=124
Exploring Operation: 71-53=18, Resulting Numbers: [66, 18]
Generated Node #0,1,3: 73:[66, 18] Operation: 71-53=18
Moving to Node #0,1,0
Current State: 73:[71, 119], Operations: ['75-9=66', '53+66=119']
Exploring Operation: 71*119=8449, Resulting Numbers: [8449]
8449,73 unequal: No Solution
Exploring Operation: 119-71=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 71+119=190, Resulting Numbers: [190]
190,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[66, 124], Operations: ['75-9=66', '71+53=124']
Exploring Operation: 66+124=190, Resulting Numbers: [190]
190,73 unequal: No Solution
Exploring Operation: 124-66=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 66*124=8184, Resulting Numbers: [8184]
8184,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[66, 18], Operations: ['75-9=66', '71-53=18']
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[71, 13], Operations: ['75-9=66', '66-53=13']
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,73 unequal: No Solution
No 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: 73:[75, 53, 80], Operations: ['9+71=80']
Exploring Operation: 75+53=128, Resulting Numbers: [80, 128]
Generated Node #0,2,0: 73:[80, 128] Operation: 75+53=128
Exploring Operation: 75-53=22, Resulting Numbers: [80, 22]
Generated Node #0,2,1: 73:[80, 22] Operation: 75-53=22
Exploring Operation: 53+80=133, Resulting Numbers: [75, 133]
Generated Node #0,2,2: 73:[75, 133] Operation: 53+80=133
Exploring Operation: 80-53=27, Resulting Numbers: [75, 27]
Generated Node #0,2,3: 73:[75, 27] Operation: 80-53=27
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[75, 27], Operations: ['9+71=80', '80-53=27']
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,73 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,73 unequal: No Solution
No 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: 73:[80, 22], Operations: ['9+71=80', '75-53=22']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,73 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,73 unequal: No Solution
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,73 unequal: No Solution
No 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: 73:[80, 128], Operations: ['9+71=80', '75+53=128']
Exploring Operation: 80+128=208, Resulting Numbers: [208]
208,73 unequal: No Solution
Exploring Operation: 80*128=10240, Resulting Numbers: [10240]
10240,73 unequal: No Solution
Exploring Operation: 128-80=48, Resulting Numbers: [48]
48,73 unequal: No Solution
No 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: 73:[75, 133], Operations: ['9+71=80', '53+80=133']
Exploring Operation: 75+133=208, Resulting Numbers: [208]
208,73 unequal: No Solution
Exploring Operation: 75*133=9975, Resulting Numbers: [9975]
9975,73 unequal: No Solution
Exploring Operation: 133-75=58, Resulting Numbers: [58]
58,73 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: 73:[71, 53, 84], Operations: ['75+9=84']
Exploring Operation: 71+53=124, Resulting Numbers: [84, 124]
Generated Node #0,3,0: 73:[84, 124] Operation: 71+53=124
Exploring Operation: 53+84=137, Resulting Numbers: [71, 137]
Generated Node #0,3,1: 73:[71, 137] Operation: 53+84=137
Exploring Operation: 84-53=31, Resulting Numbers: [71, 31]
Generated Node #0,3,2: 73:[71, 31] Operation: 84-53=31
Exploring Operation: 71-53=18, Resulting Numbers: [84, 18]
Generated Node #0,3,3: 73:[84, 18] Operation: 71-53=18
Moving to Node #0,3,2
Current State: 73:[71, 31], Operations: ['75+9=84', '84-53=31']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,73 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[84, 124], Operations: ['75+9=84', '71+53=124']
Exploring Operation: 84*124=10416, Resulting Numbers: [10416]
10416,73 unequal: No Solution
Exploring Operation: 84+124=208, Resulting Numbers: [208]
208,73 unequal: No Solution
Exploring Operation: 124-84=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[84, 18], Operations: ['75+9=84', '71-53=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 84*18=1512, Resulting Numbers: [1512]
1512,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[71, 137], Operations: ['75+9=84', '53+84=137']
Exploring Operation: 71+137=208, Resulting Numbers: [208]
208,73 unequal: No Solution
Exploring Operation: 137-71=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 71*137=9727, Resulting Numbers: [9727]
9727,73 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 |
[
32,
17,
7,
6
] | 63 | [
"32-17=15",
"15-6=9",
"7*9=63"
] | Current State: 63:[32, 17, 7, 6], Operations: []
Exploring Operation: 32-17=15, Resulting Numbers: [7, 6, 15]
Generated Node #2: [7, 6, 15] from Operation: 32-17=15
Current State: 63:[7, 6, 15], Operations: ['32-17=15']
Exploring Operation: 15-6=9, Resulting Numbers: [7, 9]
Generated Node #3: [7, 9] from Operation: 15-6=9
Current State: 63:[7, 9], Operations: ['32-17=15', '15-6=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[32, 17, 7, 6], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [17, 6, 25]
Generated Node #0,0: 63:[17, 6, 25] Operation: 32-7=25
Exploring Operation: 32-17=15, Resulting Numbers: [7, 6, 15]
Generated Node #0,1: 63:[7, 6, 15] Operation: 32-17=15
Exploring Operation: 32-6=26, Resulting Numbers: [17, 7, 26]
Generated Node #0,2: 63:[17, 7, 26] Operation: 32-6=26
Moving to Node #0,1
Current State: 63:[7, 6, 15], Operations: ['32-17=15']
Exploring Operation: 6+15=21, Resulting Numbers: [7, 21]
Generated Node #0,1,0: 63:[7, 21] Operation: 6+15=21
Exploring Operation: 15-6=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 63:[7, 9] Operation: 15-6=9
Exploring Operation: 7+15=22, Resulting Numbers: [6, 22]
Generated Node #0,1,2: 63:[6, 22] Operation: 7+15=22
Moving to Node #0,0
Current State: 63:[17, 6, 25], Operations: ['32-7=25']
Exploring Operation: 25-17=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 63:[6, 8] Operation: 25-17=8
Exploring Operation: 17+6=23, Resulting Numbers: [25, 23]
Generated Node #0,0,1: 63:[25, 23] Operation: 17+6=23
Exploring Operation: 17-6=11, Resulting Numbers: [25, 11]
Generated Node #0,0,2: 63:[25, 11] Operation: 17-6=11
Moving to Node #0,2
Current State: 63:[17, 7, 26], Operations: ['32-6=26']
Exploring Operation: 26-17=9, Resulting Numbers: [7, 9]
Generated Node #0,2,0: 63:[7, 9] Operation: 26-17=9
Exploring Operation: 17-7=10, Resulting Numbers: [26, 10]
Generated Node #0,2,1: 63:[26, 10] Operation: 17-7=10
Exploring Operation: 26-7=19, Resulting Numbers: [17, 19]
Generated Node #0,2,2: 63:[17, 19] Operation: 26-7=19
Moving to Node #0,1,0
Current State: 63:[7, 21], Operations: ['32-17=15', '6+15=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[7, 9], Operations: ['32-6=26', '26-17=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[32, 17, 7, 6], Operations: []
Exploring Operation: 32-6=26, Resulting Numbers: [17, 7, 26]
Generated Node #0,2: 63:[17, 7, 26] Operation: 32-6=26
Moving to Node #0,2
Current State: 63:[17, 7, 26], Operations: ['32-6=26']
Exploring Operation: 26-17=9, Resulting Numbers: [7, 9]
Generated Node #0,2,0: 63:[7, 9] Operation: 26-17=9
Moving to Node #0,2,0
Current State: 63:[7, 9], Operations: ['32-6=26', '26-17=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.982639 | hs_3 | mult_heuristic |
[
5,
2,
21,
7
] | 27 | [
"5+7=12",
"12/2=6",
"21+6=27"
] | Current State: 27:[5, 2, 21, 7], Operations: []
Exploring Operation: 5+7=12, Resulting Numbers: [2, 21, 12]
Generated Node #2: [2, 21, 12] from Operation: 5+7=12
Current State: 27:[2, 21, 12], Operations: ['5+7=12']
Exploring Operation: 12/2=6, Resulting Numbers: [21, 6]
Generated Node #3: [21, 6] from Operation: 12/2=6
Current State: 27:[21, 6], Operations: ['5+7=12', '12/2=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 2, 21, 7], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [5, 2, 3]
Generated Node #0,0: 27:[5, 2, 3] Operation: 21/7=3
Exploring Operation: 21+7=28, Resulting Numbers: [5, 2, 28]
Generated Node #0,1: 27:[5, 2, 28] Operation: 21+7=28
Exploring Operation: 5+21=26, Resulting Numbers: [2, 7, 26]
Generated Node #0,2: 27:[2, 7, 26] Operation: 5+21=26
Moving to Node #0,0
Current State: 27:[5, 2, 3], Operations: ['21/7=3']
Exploring Operation: 5+2=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 27:[3, 7] Operation: 5+2=7
Exploring Operation: 5*2=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 27:[3, 10] Operation: 5*2=10
Exploring Operation: 5-2=3, Resulting Numbers: [3, 3]
Generated Node #0,0,2: 27:[3, 3] Operation: 5-2=3
Moving to Node #0,1
Current State: 27:[5, 2, 28], Operations: ['21+7=28']
Exploring Operation: 5+2=7, Resulting Numbers: [28, 7]
Generated Node #0,1,0: 27:[28, 7] Operation: 5+2=7
Exploring Operation: 5-2=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 27:[28, 3] Operation: 5-2=3
Exploring Operation: 5*2=10, Resulting Numbers: [28, 10]
Generated Node #0,1,2: 27:[28, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[28, 3], Operations: ['21+7=28', '5-2=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[28, 10], Operations: ['21+7=28', '5*2=10']
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[28, 7], Operations: ['21+7=28', '5+2=7']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,27 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: 27:[2, 7, 26], Operations: ['5+21=26']
Exploring Operation: 2+26=28, Resulting Numbers: [7, 28]
Generated Node #0,2,0: 27:[7, 28] Operation: 2+26=28
Exploring Operation: 2+7=9, Resulting Numbers: [26, 9]
Generated Node #0,2,1: 27:[26, 9] Operation: 2+7=9
Exploring Operation: 7-2=5, Resulting Numbers: [26, 5]
Generated Node #0,2,2: 27:[26, 5] Operation: 7-2=5
Moving to Node #0,0,2
Current State: 27:[3, 3], Operations: ['21/7=3', '5-2=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[3, 10], Operations: ['21/7=3', '5*2=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[26, 9], Operations: ['5+21=26', '2+7=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,27 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[3, 7], Operations: ['21/7=3', '5+2=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[26, 5], Operations: ['5+21=26', '7-2=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,27 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[7, 28], Operations: ['5+21=26', '2+26=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,27 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
64,
72,
43,
11
] | 48 | [
"43+11=54",
"64*54=3456",
"3456/72=48"
] | Current State: 48:[64, 72, 43, 11], Operations: []
Exploring Operation: 43+11=54, Resulting Numbers: [64, 72, 54]
Generated Node #2: [64, 72, 54] from Operation: 43+11=54
Current State: 48:[64, 72, 54], Operations: ['43+11=54']
Exploring Operation: 64*54=3456, Resulting Numbers: [72, 3456]
Generated Node #3: [72, 3456] from Operation: 64*54=3456
Current State: 48:[72, 3456], Operations: ['43+11=54', '64*54=3456']
Exploring Operation: 3456/72=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[64, 72, 43, 11], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [72, 11, 21]
Generated Node #0,0: 48:[72, 11, 21] Operation: 64-43=21
Exploring Operation: 72-64=8, Resulting Numbers: [43, 11, 8]
Generated Node #0,1: 48:[43, 11, 8] Operation: 72-64=8
Exploring Operation: 72-43=29, Resulting Numbers: [64, 11, 29]
Generated Node #0,2: 48:[64, 11, 29] Operation: 72-43=29
Exploring Operation: 64-11=53, Resulting Numbers: [72, 43, 53]
Generated Node #0,3: 48:[72, 43, 53] Operation: 64-11=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[43, 11, 8], Operations: ['72-64=8']
Exploring Operation: 43-11=32, Resulting Numbers: [8, 32]
Generated Node #0,1,0: 48:[8, 32] Operation: 43-11=32
Exploring Operation: 43+11=54, Resulting Numbers: [8, 54]
Generated Node #0,1,1: 48:[8, 54] Operation: 43+11=54
Exploring Operation: 11-8=3, Resulting Numbers: [43, 3]
Generated Node #0,1,2: 48:[43, 3] Operation: 11-8=3
Exploring Operation: 43+8=51, Resulting Numbers: [11, 51]
Generated Node #0,1,3: 48:[11, 51] Operation: 43+8=51
Moving to Node #0,1,3
Current State: 48:[11, 51], Operations: ['72-64=8', '43+8=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,48 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[43, 3], Operations: ['72-64=8', '11-8=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,48 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[8, 54], Operations: ['72-64=8', '43+11=54']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 8*54=432, Resulting Numbers: [432]
432,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[8, 32], Operations: ['72-64=8', '43-11=32']
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,48 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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,2
Current State: 48:[64, 11, 29], Operations: ['72-43=29']
Exploring Operation: 11+29=40, Resulting Numbers: [64, 40]
Generated Node #0,2,0: 48:[64, 40] Operation: 11+29=40
Exploring Operation: 64-29=35, Resulting Numbers: [11, 35]
Generated Node #0,2,1: 48:[11, 35] Operation: 64-29=35
Exploring Operation: 29-11=18, Resulting Numbers: [64, 18]
Generated Node #0,2,2: 48:[64, 18] Operation: 29-11=18
Exploring Operation: 64-11=53, Resulting Numbers: [29, 53]
Generated Node #0,2,3: 48:[29, 53] Operation: 64-11=53
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 48:[29, 53], Operations: ['72-43=29', '64-11=53']
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,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,2,1
Current State: 48:[11, 35], Operations: ['72-43=29', '64-29=35']
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,48 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,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,2,2
Current State: 48:[64, 18], Operations: ['72-43=29', '29-11=18']
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
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,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,2,0
Current State: 48:[64, 40], Operations: ['72-43=29', '11+29=40']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,48 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,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,0
Current State: 48:[72, 11, 21], Operations: ['64-43=21']
Exploring Operation: 11+21=32, Resulting Numbers: [72, 32]
Generated Node #0,0,0: 48:[72, 32] Operation: 11+21=32
Exploring Operation: 72-11=61, Resulting Numbers: [21, 61]
Generated Node #0,0,1: 48:[21, 61] Operation: 72-11=61
Exploring Operation: 72-21=51, Resulting Numbers: [11, 51]
Generated Node #0,0,2: 48:[11, 51] Operation: 72-21=51
Exploring Operation: 21-11=10, Resulting Numbers: [72, 10]
Generated Node #0,0,3: 48:[72, 10] Operation: 21-11=10
Moving to Node #0,0,2
Current State: 48:[11, 51], Operations: ['64-43=21', '72-21=51']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 11*51=561, Resulting Numbers: [561]
561,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[21, 61], Operations: ['64-43=21', '72-11=61']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,48 unequal: No Solution
Moving to Node #0,0,3
Current State: 48:[72, 10], Operations: ['64-43=21', '21-11=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[72, 32], Operations: ['64-43=21', '11+21=32']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 72*32=2304, Resulting Numbers: [2304]
2304,48 unequal: No Solution
Exploring Operation: 72+32=104, Resulting Numbers: [104]
104,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,3
Current State: 48:[72, 43, 53], Operations: ['64-11=53']
Exploring Operation: 53-43=10, Resulting Numbers: [72, 10]
Generated Node #0,3,0: 48:[72, 10] Operation: 53-43=10
Exploring Operation: 72-53=19, Resulting Numbers: [43, 19]
Generated Node #0,3,1: 48:[43, 19] Operation: 72-53=19
Exploring Operation: 72+43=115, Resulting Numbers: [53, 115]
Generated Node #0,3,2: 48:[53, 115] Operation: 72+43=115
Exploring Operation: 72-43=29, Resulting Numbers: [53, 29]
Generated Node #0,3,3: 48:[53, 29] Operation: 72-43=29
Moving to Node #0,3,1
Current State: 48:[43, 19], Operations: ['64-11=53', '72-53=19']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[53, 29], Operations: ['64-11=53', '72-43=29']
Exploring Operation: 53+29=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 53*29=1537, Resulting Numbers: [1537]
1537,48 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[72, 10], Operations: ['64-11=53', '53-43=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,48 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[53, 115], Operations: ['64-11=53', '72+43=115']
Exploring Operation: 115-53=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 53+115=168, Resulting Numbers: [168]
168,48 unequal: No Solution
Exploring Operation: 53*115=6095, Resulting Numbers: [6095]
6095,48 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 |
[
57,
64,
69,
67
] | 71 | [
"69-67=2",
"64*2=128",
"128-57=71"
] | Current State: 71:[57, 64, 69, 67], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [57, 64, 2]
Generated Node #2: [57, 64, 2] from Operation: 69-67=2
Current State: 71:[57, 64, 2], Operations: ['69-67=2']
Exploring Operation: 64*2=128, Resulting Numbers: [57, 128]
Generated Node #3: [57, 128] from Operation: 64*2=128
Current State: 71:[57, 128], Operations: ['69-67=2', '64*2=128']
Exploring Operation: 128-57=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[57, 64, 69, 67], Operations: []
Exploring Operation: 57+69=126, Resulting Numbers: [64, 67, 126]
Generated Node #0,0: 71:[64, 67, 126] Operation: 57+69=126
Exploring Operation: 57+67=124, Resulting Numbers: [64, 69, 124]
Generated Node #0,1: 71:[64, 69, 124] Operation: 57+67=124
Exploring Operation: 57+64=121, Resulting Numbers: [69, 67, 121]
Generated Node #0,2: 71:[69, 67, 121] Operation: 57+64=121
Moving to Node #0,2
Current State: 71:[69, 67, 121], Operations: ['57+64=121']
Exploring Operation: 121-67=54, Resulting Numbers: [69, 54]
Generated Node #0,2,0: 71:[69, 54] Operation: 121-67=54
Exploring Operation: 121-69=52, Resulting Numbers: [67, 52]
Generated Node #0,2,1: 71:[67, 52] Operation: 121-69=52
Exploring Operation: 69+67=136, Resulting Numbers: [121, 136]
Generated Node #0,2,2: 71:[121, 136] Operation: 69+67=136
Moving to Node #0,1
Current State: 71:[64, 69, 124], Operations: ['57+67=124']
Exploring Operation: 124-64=60, Resulting Numbers: [69, 60]
Generated Node #0,1,0: 71:[69, 60] Operation: 124-64=60
Exploring Operation: 64+69=133, Resulting Numbers: [124, 133]
Generated Node #0,1,1: 71:[124, 133] Operation: 64+69=133
Exploring Operation: 124-69=55, Resulting Numbers: [64, 55]
Generated Node #0,1,2: 71:[64, 55] Operation: 124-69=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[69, 60], Operations: ['57+67=124', '124-64=60']
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,71 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[64, 55], Operations: ['57+67=124', '124-69=55']
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[124, 133], Operations: ['57+67=124', '64+69=133']
Exploring Operation: 124*133=16492, Resulting Numbers: [16492]
16492,71 unequal: No Solution
Exploring Operation: 124+133=257, Resulting Numbers: [257]
257,71 unequal: No Solution
Exploring Operation: 133-124=9, Resulting Numbers: [9]
9,71 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: 71:[64, 67, 126], Operations: ['57+69=126']
Exploring Operation: 126-64=62, Resulting Numbers: [67, 62]
Generated Node #0,0,0: 71:[67, 62] Operation: 126-64=62
Exploring Operation: 64+67=131, Resulting Numbers: [126, 131]
Generated Node #0,0,1: 71:[126, 131] Operation: 64+67=131
Exploring Operation: 126-67=59, Resulting Numbers: [64, 59]
Generated Node #0,0,2: 71:[64, 59] Operation: 126-67=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[67, 62], Operations: ['57+69=126', '126-64=62']
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,71 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[64, 59], Operations: ['57+69=126', '126-67=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,71 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[126, 131], Operations: ['57+69=126', '64+67=131']
Exploring Operation: 126+131=257, Resulting Numbers: [257]
257,71 unequal: No Solution
Exploring Operation: 131-126=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 126*131=16506, Resulting Numbers: [16506]
16506,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 71:[69, 54], Operations: ['57+64=121', '121-67=54']
Exploring Operation: 69+54=123, Resulting Numbers: [123]
123,71 unequal: No Solution
Exploring Operation: 69*54=3726, Resulting Numbers: [3726]
3726,71 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[67, 52], Operations: ['57+64=121', '121-69=52']
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[121, 136], Operations: ['57+64=121', '69+67=136']
Exploring Operation: 121*136=16456, Resulting Numbers: [16456]
16456,71 unequal: No Solution
Exploring Operation: 136-121=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 121+136=257, Resulting Numbers: [257]
257,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
96,
72,
57,
59
] | 48 | [
"96-72=24",
"59-57=2",
"24*2=48"
] | Current State: 48:[96, 72, 57, 59], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [57, 59, 24]
Generated Node #2: [57, 59, 24] from Operation: 96-72=24
Current State: 48:[57, 59, 24], Operations: ['96-72=24']
Exploring Operation: 59-57=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 59-57=2
Current State: 48:[24, 2], Operations: ['96-72=24', '59-57=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[96, 72, 57, 59], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [96, 57, 13]
Generated Node #0,0: 48:[96, 57, 13] Operation: 72-59=13
Exploring Operation: 96-72=24, Resulting Numbers: [57, 59, 24]
Generated Node #0,1: 48:[57, 59, 24] Operation: 96-72=24
Exploring Operation: 96-57=39, Resulting Numbers: [72, 59, 39]
Generated Node #0,2: 48:[72, 59, 39] Operation: 96-57=39
Exploring Operation: 72-57=15, Resulting Numbers: [96, 59, 15]
Generated Node #0,3: 48:[96, 59, 15] Operation: 72-57=15
Exploring Operation: 96-59=37, Resulting Numbers: [72, 57, 37]
Generated Node #0,4: 48:[72, 57, 37] Operation: 96-59=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[57, 59, 24], Operations: ['96-72=24']
Exploring Operation: 59-57=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 48:[24, 2] Operation: 59-57=2
Exploring Operation: 57-24=33, Resulting Numbers: [59, 33]
Generated Node #0,1,1: 48:[59, 33] Operation: 57-24=33
Exploring Operation: 59-24=35, Resulting Numbers: [57, 35]
Generated Node #0,1,2: 48:[57, 35] Operation: 59-24=35
Exploring Operation: 57+24=81, Resulting Numbers: [59, 81]
Generated Node #0,1,3: 48:[59, 81] Operation: 57+24=81
Exploring Operation: 59+24=83, Resulting Numbers: [57, 83]
Generated Node #0,1,4: 48:[57, 83] Operation: 59+24=83
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 48:[24, 2], Operations: ['96-72=24', '59-57=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[96, 72, 57, 59], Operations: []
Exploring Operation: 96-72=24, Resulting Numbers: [57, 59, 24]
Generated Node #0,1: 48:[57, 59, 24] Operation: 96-72=24
Moving to Node #0,1
Current State: 48:[57, 59, 24], Operations: ['96-72=24']
Exploring Operation: 59-57=2, Resulting Numbers: [24, 2]
Generated Node #0,1,0: 48:[24, 2] Operation: 59-57=2
Moving to Node #0,1,0
Current State: 48:[24, 2], Operations: ['96-72=24', '59-57=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
11,
63,
52,
45
] | 81 | [
"11+63=74",
"52-45=7",
"74+7=81"
] | Current State: 81:[11, 63, 52, 45], Operations: []
Exploring Operation: 11+63=74, Resulting Numbers: [52, 45, 74]
Generated Node #2: [52, 45, 74] from Operation: 11+63=74
Current State: 81:[52, 45, 74], Operations: ['11+63=74']
Exploring Operation: 52-45=7, Resulting Numbers: [74, 7]
Generated Node #3: [74, 7] from Operation: 52-45=7
Current State: 81:[74, 7], Operations: ['11+63=74', '52-45=7']
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[11, 63, 52, 45], Operations: []
Exploring Operation: 11+63=74, Resulting Numbers: [52, 45, 74]
Generated Node #0,0: 81:[52, 45, 74] Operation: 11+63=74
Exploring Operation: 52+45=97, Resulting Numbers: [11, 63, 97]
Generated Node #0,1: 81:[11, 63, 97] Operation: 52+45=97
Exploring Operation: 63-45=18, Resulting Numbers: [11, 52, 18]
Generated Node #0,2: 81:[11, 52, 18] Operation: 63-45=18
Exploring Operation: 52-45=7, Resulting Numbers: [11, 63, 7]
Generated Node #0,3: 81:[11, 63, 7] Operation: 52-45=7
Exploring Operation: 63-52=11, Resulting Numbers: [11, 45, 11]
Generated Node #0,4: 81:[11, 45, 11] Operation: 63-52=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[11, 63, 7], Operations: ['52-45=7']
Exploring Operation: 63+7=70, Resulting Numbers: [11, 70]
Generated Node #0,3,0: 81:[11, 70] Operation: 63+7=70
Exploring Operation: 11-7=4, Resulting Numbers: [63, 4]
Generated Node #0,3,1: 81:[63, 4] Operation: 11-7=4
Exploring Operation: 63/7=9, Resulting Numbers: [11, 9]
Generated Node #0,3,2: 81:[11, 9] Operation: 63/7=9
Exploring Operation: 11+63=74, Resulting Numbers: [7, 74]
Generated Node #0,3,3: 81:[7, 74] Operation: 11+63=74
Exploring Operation: 11*7=77, Resulting Numbers: [63, 77]
Generated Node #0,3,4: 81:[63, 77] Operation: 11*7=77
Moving to Node #0,3,2
Current State: 81:[11, 9], Operations: ['52-45=7', '63/7=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[7, 74], Operations: ['52-45=7', '11+63=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,81 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[11, 63, 52, 45], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [11, 63, 7]
Generated Node #0,3: 81:[11, 63, 7] Operation: 52-45=7
Moving to Node #0,3
Current State: 81:[11, 63, 7], Operations: ['52-45=7']
Exploring Operation: 11+63=74, Resulting Numbers: [7, 74]
Generated Node #0,3,3: 81:[7, 74] Operation: 11+63=74
Moving to Node #0,3,3
Current State: 81:[7, 74], Operations: ['52-45=7', '11+63=74']
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
72,
87,
57,
57
] | 45 | [
"72+87=159",
"57+57=114",
"159-114=45"
] | Current State: 45:[72, 87, 57, 57], Operations: []
Exploring Operation: 72+87=159, Resulting Numbers: [57, 57, 159]
Generated Node #2: [57, 57, 159] from Operation: 72+87=159
Current State: 45:[57, 57, 159], Operations: ['72+87=159']
Exploring Operation: 57+57=114, Resulting Numbers: [159, 114]
Generated Node #3: [159, 114] from Operation: 57+57=114
Current State: 45:[159, 114], Operations: ['72+87=159', '57+57=114']
Exploring Operation: 159-114=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[72, 87, 57, 57], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [57, 57, 15]
Generated Node #0,0: 45:[57, 57, 15] Operation: 87-72=15
Exploring Operation: 72-57=15, Resulting Numbers: [87, 57, 15]
Generated Node #0,1: 45:[87, 57, 15] Operation: 72-57=15
Moving to Node #0,0
Current State: 45:[57, 57, 15], Operations: ['87-72=15']
Exploring Operation: 57-57=0, Resulting Numbers: [15, 0]
Generated Node #0,0,0: 45:[15, 0] Operation: 57-57=0
Exploring Operation: 57/57=1, Resulting Numbers: [15, 1]
Generated Node #0,0,1: 45:[15, 1] Operation: 57/57=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[15, 1], Operations: ['87-72=15', '57/57=1']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution 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: 45:[15, 0], Operations: ['87-72=15', '57-57=0']
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 15-0=15, Resulting Numbers: [15]
15,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:[87, 57, 15], Operations: ['72-57=15']
Exploring Operation: 87-15=72, Resulting Numbers: [57, 72]
Generated Node #0,1,0: 45:[57, 72] Operation: 87-15=72
Exploring Operation: 87-57=30, Resulting Numbers: [15, 30]
Generated Node #0,1,1: 45:[15, 30] Operation: 87-57=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[15, 30], Operations: ['72-57=15', '87-57=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[72, 87, 57, 57], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [87, 57, 15]
Generated Node #0,1: 45:[87, 57, 15] Operation: 72-57=15
Moving to Node #0,1
Current State: 45:[87, 57, 15], Operations: ['72-57=15']
Exploring Operation: 87-57=30, Resulting Numbers: [15, 30]
Generated Node #0,1,1: 45:[15, 30] Operation: 87-57=30
Moving to Node #0,1,1
Current State: 45:[15, 30], Operations: ['72-57=15', '87-57=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
76,
12,
90,
94
] | 68 | [
"76-12=64",
"94-90=4",
"64+4=68"
] | Current State: 68:[76, 12, 90, 94], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [90, 94, 64]
Generated Node #2: [90, 94, 64] from Operation: 76-12=64
Current State: 68:[90, 94, 64], Operations: ['76-12=64']
Exploring Operation: 94-90=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 94-90=4
Current State: 68:[64, 4], Operations: ['76-12=64', '94-90=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[76, 12, 90, 94], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [76, 12, 4]
Generated Node #0,0: 68:[76, 12, 4] Operation: 94-90=4
Exploring Operation: 94-76=18, Resulting Numbers: [12, 90, 18]
Generated Node #0,1: 68:[12, 90, 18] Operation: 94-76=18
Exploring Operation: 90-76=14, Resulting Numbers: [12, 94, 14]
Generated Node #0,2: 68:[12, 94, 14] Operation: 90-76=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[76, 12, 4], Operations: ['94-90=4']
Exploring Operation: 76-4=72, Resulting Numbers: [12, 72]
Generated Node #0,0,0: 68:[12, 72] Operation: 76-4=72
Exploring Operation: 76-12=64, Resulting Numbers: [4, 64]
Generated Node #0,0,1: 68:[4, 64] Operation: 76-12=64
Exploring Operation: 76/4=19, Resulting Numbers: [12, 19]
Generated Node #0,0,2: 68:[12, 19] Operation: 76/4=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[4, 64], Operations: ['94-90=4', '76-12=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[76, 12, 90, 94], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [76, 12, 4]
Generated Node #0,0: 68:[76, 12, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 68:[76, 12, 4], Operations: ['94-90=4']
Exploring Operation: 76-12=64, Resulting Numbers: [4, 64]
Generated Node #0,0,1: 68:[4, 64] Operation: 76-12=64
Moving to Node #0,0,1
Current State: 68:[4, 64], Operations: ['94-90=4', '76-12=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
38,
12,
89,
95
] | 36 | [
"95-89=6",
"12/6=2",
"38-2=36"
] | Current State: 36:[38, 12, 89, 95], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [38, 12, 6]
Generated Node #2: [38, 12, 6] from Operation: 95-89=6
Current State: 36:[38, 12, 6], Operations: ['95-89=6']
Exploring Operation: 12/6=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 12/6=2
Current State: 36:[38, 2], Operations: ['95-89=6', '12/6=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[38, 12, 89, 95], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [38, 12, 6]
Generated Node #0,0: 36:[38, 12, 6] Operation: 95-89=6
Exploring Operation: 89-38=51, Resulting Numbers: [12, 95, 51]
Generated Node #0,1: 36:[12, 95, 51] Operation: 89-38=51
Exploring Operation: 95-38=57, Resulting Numbers: [12, 89, 57]
Generated Node #0,2: 36:[12, 89, 57] Operation: 95-38=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[38, 12, 6], Operations: ['95-89=6']
Exploring Operation: 12+6=18, Resulting Numbers: [38, 18]
Generated Node #0,0,0: 36:[38, 18] Operation: 12+6=18
Exploring Operation: 12/6=2, Resulting Numbers: [38, 2]
Generated Node #0,0,1: 36:[38, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [38, 6]
Generated Node #0,0,2: 36:[38, 6] Operation: 12-6=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[38, 18], Operations: ['95-89=6', '12+6=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,36 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,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,0,1
Current State: 36:[38, 2], Operations: ['95-89=6', '12/6=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[38, 12, 89, 95], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [38, 12, 6]
Generated Node #0,0: 36:[38, 12, 6] Operation: 95-89=6
Moving to Node #0,0
Current State: 36:[38, 12, 6], Operations: ['95-89=6']
Exploring Operation: 12/6=2, Resulting Numbers: [38, 2]
Generated Node #0,0,1: 36:[38, 2] Operation: 12/6=2
Moving to Node #0,0,1
Current State: 36:[38, 2], Operations: ['95-89=6', '12/6=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
90,
68,
94,
15
] | 27 | [
"90/15=6",
"68+94=162",
"162/6=27"
] | Current State: 27:[90, 68, 94, 15], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [68, 94, 6]
Generated Node #2: [68, 94, 6] from Operation: 90/15=6
Current State: 27:[68, 94, 6], Operations: ['90/15=6']
Exploring Operation: 68+94=162, Resulting Numbers: [6, 162]
Generated Node #3: [6, 162] from Operation: 68+94=162
Current State: 27:[6, 162], Operations: ['90/15=6', '68+94=162']
Exploring Operation: 162/6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[90, 68, 94, 15], Operations: []
Exploring Operation: 94-68=26, Resulting Numbers: [90, 15, 26]
Generated Node #0,0: 27:[90, 15, 26] Operation: 94-68=26
Exploring Operation: 94-90=4, Resulting Numbers: [68, 15, 4]
Generated Node #0,1: 27:[68, 15, 4] Operation: 94-90=4
Exploring Operation: 90-68=22, Resulting Numbers: [94, 15, 22]
Generated Node #0,2: 27:[94, 15, 22] Operation: 90-68=22
Exploring Operation: 90/15=6, Resulting Numbers: [68, 94, 6]
Generated Node #0,3: 27:[68, 94, 6] Operation: 90/15=6
Moving to Node #0,1
Current State: 27:[68, 15, 4], Operations: ['94-90=4']
Exploring Operation: 68-4=64, Resulting Numbers: [15, 64]
Generated Node #0,1,0: 27:[15, 64] Operation: 68-4=64
Exploring Operation: 68-15=53, Resulting Numbers: [4, 53]
Generated Node #0,1,1: 27:[4, 53] Operation: 68-15=53
Exploring Operation: 68/4=17, Resulting Numbers: [15, 17]
Generated Node #0,1,2: 27:[15, 17] Operation: 68/4=17
Exploring Operation: 15-4=11, Resulting Numbers: [68, 11]
Generated Node #0,1,3: 27:[68, 11] Operation: 15-4=11
Moving to Node #0,0
Current State: 27:[90, 15, 26], Operations: ['94-68=26']
Exploring Operation: 90/15=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 27:[26, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [26, 75]
Generated Node #0,0,1: 27:[26, 75] Operation: 90-15=75
Exploring Operation: 90-26=64, Resulting Numbers: [15, 64]
Generated Node #0,0,2: 27:[15, 64] Operation: 90-26=64
Exploring Operation: 26-15=11, Resulting Numbers: [90, 11]
Generated Node #0,0,3: 27:[90, 11] Operation: 26-15=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[26, 6], Operations: ['94-68=26', '90/15=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[15, 64], Operations: ['94-68=26', '90-26=64']
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,27 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[26, 75], Operations: ['94-68=26', '90-15=75']
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,27 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 27:[90, 11], Operations: ['94-68=26', '26-15=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,27 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,27 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: 27:[94, 15, 22], Operations: ['90-68=22']
Exploring Operation: 94-22=72, Resulting Numbers: [15, 72]
Generated Node #0,2,0: 27:[15, 72] Operation: 94-22=72
Exploring Operation: 22-15=7, Resulting Numbers: [94, 7]
Generated Node #0,2,1: 27:[94, 7] Operation: 22-15=7
Exploring Operation: 15+22=37, Resulting Numbers: [94, 37]
Generated Node #0,2,2: 27:[94, 37] Operation: 15+22=37
Exploring Operation: 94-15=79, Resulting Numbers: [22, 79]
Generated Node #0,2,3: 27:[22, 79] Operation: 94-15=79
Moving to Node #0,3
Current State: 27:[68, 94, 6], Operations: ['90/15=6']
Exploring Operation: 68+6=74, Resulting Numbers: [94, 74]
Generated Node #0,3,0: 27:[94, 74] Operation: 68+6=74
Exploring Operation: 68-6=62, Resulting Numbers: [94, 62]
Generated Node #0,3,1: 27:[94, 62] Operation: 68-6=62
Exploring Operation: 94-6=88, Resulting Numbers: [68, 88]
Generated Node #0,3,2: 27:[68, 88] Operation: 94-6=88
Exploring Operation: 94-68=26, Resulting Numbers: [6, 26]
Generated Node #0,3,3: 27:[6, 26] Operation: 94-68=26
Moving to Node #0,3,3
Current State: 27:[6, 26], Operations: ['90/15=6', '94-68=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[15, 17], Operations: ['94-90=4', '68/4=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,27 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[4, 53], Operations: ['94-90=4', '68-15=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,27 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[15, 64], Operations: ['94-90=4', '68-4=64']
Exploring Operation: 15*64=960, Resulting Numbers: [960]
960,27 unequal: No Solution
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 15+64=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[68, 11], Operations: ['94-90=4', '15-4=11']
Exploring Operation: 68+11=79, Resulting Numbers: [79]
79,27 unequal: No Solution
Exploring Operation: 68*11=748, Resulting Numbers: [748]
748,27 unequal: No Solution
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[15, 72], Operations: ['90-68=22', '94-22=72']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 15*72=1080, Resulting Numbers: [1080]
1080,27 unequal: No Solution
Exploring Operation: 15+72=87, Resulting Numbers: [87]
87,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[22, 79], Operations: ['90-68=22', '94-15=79']
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,27 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[94, 7], Operations: ['90-68=22', '22-15=7']
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,27 unequal: No Solution
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,27 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[94, 37], Operations: ['90-68=22', '15+22=37']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,27 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[94, 62], Operations: ['90/15=6', '68-6=62']
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,27 unequal: No Solution
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[68, 88], Operations: ['90/15=6', '94-6=88']
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 68+88=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Exploring Operation: 68*88=5984, Resulting Numbers: [5984]
5984,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[94, 74], Operations: ['90/15=6', '68+6=74']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 94*74=6956, Resulting Numbers: [6956]
6956,27 unequal: No Solution
Exploring Operation: 94+74=168, Resulting Numbers: [168]
168,27 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
90,
73,
29,
25
] | 21 | [
"90-73=17",
"29-25=4",
"17+4=21"
] | Current State: 21:[90, 73, 29, 25], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [29, 25, 17]
Generated Node #2: [29, 25, 17] from Operation: 90-73=17
Current State: 21:[29, 25, 17], Operations: ['90-73=17']
Exploring Operation: 29-25=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 29-25=4
Current State: 21:[17, 4], Operations: ['90-73=17', '29-25=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[90, 73, 29, 25], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [29, 25, 17]
Generated Node #0,0: 21:[29, 25, 17] Operation: 90-73=17
Exploring Operation: 90-25=65, Resulting Numbers: [73, 29, 65]
Generated Node #0,1: 21:[73, 29, 65] Operation: 90-25=65
Exploring Operation: 73-29=44, Resulting Numbers: [90, 25, 44]
Generated Node #0,2: 21:[90, 25, 44] Operation: 73-29=44
Exploring Operation: 90-29=61, Resulting Numbers: [73, 25, 61]
Generated Node #0,3: 21:[73, 25, 61] Operation: 90-29=61
Moving to Node #0,0
Current State: 21:[29, 25, 17], Operations: ['90-73=17']
Exploring Operation: 29-25=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 21:[17, 4] Operation: 29-25=4
Exploring Operation: 29+17=46, Resulting Numbers: [25, 46]
Generated Node #0,0,1: 21:[25, 46] Operation: 29+17=46
Exploring Operation: 29-17=12, Resulting Numbers: [25, 12]
Generated Node #0,0,2: 21:[25, 12] Operation: 29-17=12
Exploring Operation: 25-17=8, Resulting Numbers: [29, 8]
Generated Node #0,0,3: 21:[29, 8] Operation: 25-17=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[17, 4], Operations: ['90-73=17', '29-25=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[90, 73, 29, 25], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [29, 25, 17]
Generated Node #0,0: 21:[29, 25, 17] Operation: 90-73=17
Moving to Node #0,0
Current State: 21:[29, 25, 17], Operations: ['90-73=17']
Exploring Operation: 29-25=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 21:[17, 4] Operation: 29-25=4
Moving to Node #0,0,0
Current State: 21:[17, 4], Operations: ['90-73=17', '29-25=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
90,
21,
56,
84
] | 39 | [
"90*56=5040",
"5040/84=60",
"60-21=39"
] | Current State: 39:[90, 21, 56, 84], Operations: []
Exploring Operation: 90*56=5040, Resulting Numbers: [21, 84, 5040]
Generated Node #2: [21, 84, 5040] from Operation: 90*56=5040
Current State: 39:[21, 84, 5040], Operations: ['90*56=5040']
Exploring Operation: 5040/84=60, Resulting Numbers: [21, 60]
Generated Node #3: [21, 60] from Operation: 5040/84=60
Current State: 39:[21, 60], Operations: ['90*56=5040', '5040/84=60']
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[90, 21, 56, 84], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [90, 56, 4]
Generated Node #0,0: 39:[90, 56, 4] Operation: 84/21=4
Exploring Operation: 90-84=6, Resulting Numbers: [21, 56, 6]
Generated Node #0,1: 39:[21, 56, 6] Operation: 90-84=6
Exploring Operation: 90-56=34, Resulting Numbers: [21, 84, 34]
Generated Node #0,2: 39:[21, 84, 34] Operation: 90-56=34
Moving to Node #0,1
Current State: 39:[21, 56, 6], Operations: ['90-84=6']
Exploring Operation: 56-6=50, Resulting Numbers: [21, 50]
Generated Node #0,1,0: 39:[21, 50] Operation: 56-6=50
Exploring Operation: 56-21=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 39:[6, 35] Operation: 56-21=35
Exploring Operation: 21-6=15, Resulting Numbers: [56, 15]
Generated Node #0,1,2: 39:[56, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[6, 35], Operations: ['90-84=6', '56-21=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,39 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[21, 50], Operations: ['90-84=6', '56-6=50']
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,39 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[56, 15], Operations: ['90-84=6', '21-6=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,39 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: 39:[21, 84, 34], Operations: ['90-56=34']
Exploring Operation: 84-34=50, Resulting Numbers: [21, 50]
Generated Node #0,2,0: 39:[21, 50] Operation: 84-34=50
Exploring Operation: 84/21=4, Resulting Numbers: [34, 4]
Generated Node #0,2,1: 39:[34, 4] Operation: 84/21=4
Exploring Operation: 84-21=63, Resulting Numbers: [34, 63]
Generated Node #0,2,2: 39:[34, 63] Operation: 84-21=63
Moving to Node #0,0
Current State: 39:[90, 56, 4], Operations: ['84/21=4']
Exploring Operation: 90-56=34, Resulting Numbers: [4, 34]
Generated Node #0,0,0: 39:[4, 34] Operation: 90-56=34
Exploring Operation: 56/4=14, Resulting Numbers: [90, 14]
Generated Node #0,0,1: 39:[90, 14] Operation: 56/4=14
Exploring Operation: 90-4=86, Resulting Numbers: [56, 86]
Generated Node #0,0,2: 39:[56, 86] Operation: 90-4=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[4, 34], Operations: ['84/21=4', '90-56=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[90, 14], Operations: ['84/21=4', '56/4=14']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,39 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,39 unequal: No Solution
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[56, 86], Operations: ['84/21=4', '90-4=86']
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,39 unequal: No Solution
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,39 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 39:[34, 4], Operations: ['90-56=34', '84/21=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[21, 50], Operations: ['90-56=34', '84-34=50']
Exploring Operation: 21*50=1050, Resulting Numbers: [1050]
1050,39 unequal: No Solution
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 21+50=71, Resulting Numbers: [71]
71,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[34, 63], Operations: ['90-56=34', '84-21=63']
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,39 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,39 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
9,
60,
68,
13
] | 51 | [
"68+13=81",
"81/9=9",
"60-9=51"
] | Current State: 51:[9, 60, 68, 13], Operations: []
Exploring Operation: 68+13=81, Resulting Numbers: [9, 60, 81]
Generated Node #2: [9, 60, 81] from Operation: 68+13=81
Current State: 51:[9, 60, 81], Operations: ['68+13=81']
Exploring Operation: 81/9=9, Resulting Numbers: [60, 9]
Generated Node #3: [60, 9] from Operation: 81/9=9
Current State: 51:[60, 9], Operations: ['68+13=81', '81/9=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 60, 68, 13], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [9, 13, 8]
Generated Node #0,0: 51:[9, 13, 8] Operation: 68-60=8
Moving to Node #0,0
Current State: 51:[9, 13, 8], Operations: ['68-60=8']
Exploring Operation: 9+8=17, Resulting Numbers: [13, 17]
Generated Node #0,0,0: 51:[13, 17] Operation: 9+8=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[13, 17], Operations: ['68-60=8', '9+8=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,51 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.