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 |
|---|---|---|---|---|---|---|---|---|
[
7,
10,
41,
28
] | 10 | [
"10-7=3",
"41-28=13",
"13-3=10"
] | Current State: 10:[7, 10, 41, 28], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [41, 28, 3]
Generated Node #2: [41, 28, 3] from Operation: 10-7=3
Current State: 10:[41, 28, 3], Operations: ['10-7=3']
Exploring Operation: 41-28=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 41-28=13
Current State: 10:[3, 13], Operations: ['10-7=3', '41-28=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[7, 10, 41, 28], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [10, 41, 4]
Generated Node #0,0: 10:[10, 41, 4] Operation: 28/7=4
Exploring Operation: 41-10=31, Resulting Numbers: [7, 28, 31]
Generated Node #0,1: 10:[7, 28, 31] Operation: 41-10=31
Exploring Operation: 41-28=13, Resulting Numbers: [7, 10, 13]
Generated Node #0,2: 10:[7, 10, 13] Operation: 41-28=13
Exploring Operation: 28-10=18, Resulting Numbers: [7, 41, 18]
Generated Node #0,3: 10:[7, 41, 18] Operation: 28-10=18
Moving to Node #0,2
Current State: 10:[7, 10, 13], Operations: ['41-28=13']
Exploring Operation: 7+10=17, Resulting Numbers: [13, 17]
Generated Node #0,2,0: 10:[13, 17] Operation: 7+10=17
Exploring Operation: 13-7=6, Resulting Numbers: [10, 6]
Generated Node #0,2,1: 10:[10, 6] Operation: 13-7=6
Exploring Operation: 10-7=3, Resulting Numbers: [13, 3]
Generated Node #0,2,2: 10:[13, 3] Operation: 10-7=3
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 10:[7, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[10, 6], Operations: ['41-28=13', '13-7=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[7, 3], Operations: ['41-28=13', '13-10=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[7, 10, 41, 28], Operations: []
Exploring Operation: 41-28=13, Resulting Numbers: [7, 10, 13]
Generated Node #0,2: 10:[7, 10, 13] Operation: 41-28=13
Moving to Node #0,2
Current State: 10:[7, 10, 13], Operations: ['41-28=13']
Exploring Operation: 13-10=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 10:[7, 3] Operation: 13-10=3
Moving to Node #0,2,3
Current State: 10:[7, 3], Operations: ['41-28=13', '13-10=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
35,
68,
20,
78
] | 65 | [
"68-35=33",
"20+78=98",
"98-33=65"
] | Current State: 65:[35, 68, 20, 78], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [20, 78, 33]
Generated Node #2: [20, 78, 33] from Operation: 68-35=33
Current State: 65:[20, 78, 33], Operations: ['68-35=33']
Exploring Operation: 20+78=98, Resulting Numbers: [33, 98]
Generated Node #3: [33, 98] from Operation: 20+78=98
Current State: 65:[33, 98], Operations: ['68-35=33', '20+78=98']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[35, 68, 20, 78], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [68, 78, 15]
Generated Node #0,0: 65:[68, 78, 15] Operation: 35-20=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[68, 78, 15], Operations: ['35-20=15']
Exploring Operation: 78-68=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 65:[15, 10] Operation: 78-68=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[15, 10], Operations: ['35-20=15', '78-68=10']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
77,
37,
61,
34
] | 87 | [
"77+37=114",
"61-34=27",
"114-27=87"
] | Current State: 87:[77, 37, 61, 34], Operations: []
Exploring Operation: 77+37=114, Resulting Numbers: [61, 34, 114]
Generated Node #2: [61, 34, 114] from Operation: 77+37=114
Current State: 87:[61, 34, 114], Operations: ['77+37=114']
Exploring Operation: 61-34=27, Resulting Numbers: [114, 27]
Generated Node #3: [114, 27] from Operation: 61-34=27
Current State: 87:[114, 27], Operations: ['77+37=114', '61-34=27']
Exploring Operation: 114-27=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[77, 37, 61, 34], Operations: []
Exploring Operation: 61-37=24, Resulting Numbers: [77, 34, 24]
Generated Node #0,0: 87:[77, 34, 24] Operation: 61-37=24
Exploring Operation: 61-34=27, Resulting Numbers: [77, 37, 27]
Generated Node #0,1: 87:[77, 37, 27] Operation: 61-34=27
Exploring Operation: 77-61=16, Resulting Numbers: [37, 34, 16]
Generated Node #0,2: 87:[37, 34, 16] Operation: 77-61=16
Moving to Node #0,0
Current State: 87:[77, 34, 24], Operations: ['61-37=24']
Exploring Operation: 77+24=101, Resulting Numbers: [34, 101]
Generated Node #0,0,0: 87:[34, 101] Operation: 77+24=101
Exploring Operation: 34-24=10, Resulting Numbers: [77, 10]
Generated Node #0,0,1: 87:[77, 10] Operation: 34-24=10
Exploring Operation: 77-34=43, Resulting Numbers: [24, 43]
Generated Node #0,0,2: 87:[24, 43] Operation: 77-34=43
Moving to Node #0,1
Current State: 87:[77, 37, 27], Operations: ['61-34=27']
Exploring Operation: 77-37=40, Resulting Numbers: [27, 40]
Generated Node #0,1,0: 87:[27, 40] Operation: 77-37=40
Exploring Operation: 37-27=10, Resulting Numbers: [77, 10]
Generated Node #0,1,1: 87:[77, 10] Operation: 37-27=10
Exploring Operation: 77+27=104, Resulting Numbers: [37, 104]
Generated Node #0,1,2: 87:[37, 104] Operation: 77+27=104
Moving to Node #0,2
Current State: 87:[37, 34, 16], Operations: ['77-61=16']
Exploring Operation: 37-34=3, Resulting Numbers: [16, 3]
Generated Node #0,2,0: 87:[16, 3] Operation: 37-34=3
Exploring Operation: 37-16=21, Resulting Numbers: [34, 21]
Generated Node #0,2,1: 87:[34, 21] Operation: 37-16=21
Exploring Operation: 34-16=18, Resulting Numbers: [37, 18]
Generated Node #0,2,2: 87:[37, 18] Operation: 34-16=18
Moving to Node #0,1,0
Current State: 87:[27, 40], Operations: ['61-34=27', '77-37=40']
Exploring Operation: 27*40=1080, Resulting Numbers: [1080]
1080,87 unequal: No Solution
Exploring Operation: 27+40=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[16, 3], Operations: ['77-61=16', '37-34=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,87 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[34, 21], Operations: ['77-61=16', '37-16=21']
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,87 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[77, 10], Operations: ['61-34=27', '37-27=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[77, 37, 61, 34], Operations: []
Exploring Operation: 61-34=27, Resulting Numbers: [77, 37, 27]
Generated Node #0,1: 87:[77, 37, 27] Operation: 61-34=27
Moving to Node #0,1
Current State: 87:[77, 37, 27], Operations: ['61-34=27']
Exploring Operation: 37-27=10, Resulting Numbers: [77, 10]
Generated Node #0,1,1: 87:[77, 10] Operation: 37-27=10
Moving to Node #0,1,1
Current State: 87:[77, 10], Operations: ['61-34=27', '37-27=10']
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
10,
3,
7,
57
] | 16 | [
"10*7=70",
"57-3=54",
"70-54=16"
] | Current State: 16:[10, 3, 7, 57], Operations: []
Exploring Operation: 10*7=70, Resulting Numbers: [3, 57, 70]
Generated Node #2: [3, 57, 70] from Operation: 10*7=70
Current State: 16:[3, 57, 70], Operations: ['10*7=70']
Exploring Operation: 57-3=54, Resulting Numbers: [70, 54]
Generated Node #3: [70, 54] from Operation: 57-3=54
Current State: 16:[70, 54], Operations: ['10*7=70', '57-3=54']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[10, 3, 7, 57], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [10, 7, 19]
Generated Node #0,0: 16:[10, 7, 19] Operation: 57/3=19
Exploring Operation: 57-10=47, Resulting Numbers: [3, 7, 47]
Generated Node #0,1: 16:[3, 7, 47] Operation: 57-10=47
Exploring Operation: 57-7=50, Resulting Numbers: [10, 3, 50]
Generated Node #0,2: 16:[10, 3, 50] Operation: 57-7=50
Moving to Node #0,0
Current State: 16:[10, 7, 19], Operations: ['57/3=19']
Exploring Operation: 19-10=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 16:[7, 9] Operation: 19-10=9
Exploring Operation: 10+7=17, Resulting Numbers: [19, 17]
Generated Node #0,0,1: 16:[19, 17] Operation: 10+7=17
Exploring Operation: 10-7=3, Resulting Numbers: [19, 3]
Generated Node #0,0,2: 16:[19, 3] Operation: 10-7=3
Moving to Node #0,1
Current State: 16:[3, 7, 47], Operations: ['57-10=47']
Exploring Operation: 47-7=40, Resulting Numbers: [3, 40]
Generated Node #0,1,0: 16:[3, 40] Operation: 47-7=40
Exploring Operation: 47-3=44, Resulting Numbers: [7, 44]
Generated Node #0,1,1: 16:[7, 44] Operation: 47-3=44
Exploring Operation: 7-3=4, Resulting Numbers: [47, 4]
Generated Node #0,1,2: 16:[47, 4] Operation: 7-3=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[3, 40], Operations: ['57-10=47', '47-7=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[7, 44], Operations: ['57-10=47', '47-3=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,16 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[47, 4], Operations: ['57-10=47', '7-3=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,16 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: 16:[10, 3, 50], Operations: ['57-7=50']
Exploring Operation: 50-10=40, Resulting Numbers: [3, 40]
Generated Node #0,2,0: 16:[3, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [3, 5]
Generated Node #0,2,1: 16:[3, 5] Operation: 50/10=5
Exploring Operation: 50-3=47, Resulting Numbers: [10, 47]
Generated Node #0,2,2: 16:[10, 47] Operation: 50-3=47
Moving to Node #0,0,0
Current State: 16:[7, 9], Operations: ['57/3=19', '19-10=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,16 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[10, 3, 7, 57], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [10, 7, 19]
Generated Node #0,0: 16:[10, 7, 19] Operation: 57/3=19
Moving to Node #0,0
Current State: 16:[10, 7, 19], Operations: ['57/3=19']
Exploring Operation: 19-10=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 16:[7, 9] Operation: 19-10=9
Moving to Node #0,0,0
Current State: 16:[7, 9], Operations: ['57/3=19', '19-10=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
17,
25,
81,
5
] | 27 | [
"25-17=8",
"8-5=3",
"81/3=27"
] | Current State: 27:[17, 25, 81, 5], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [81, 5, 8]
Generated Node #2: [81, 5, 8] from Operation: 25-17=8
Current State: 27:[81, 5, 8], Operations: ['25-17=8']
Exploring Operation: 8-5=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 8-5=3
Current State: 27:[81, 3], Operations: ['25-17=8', '8-5=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 25, 81, 5], Operations: []
Exploring Operation: 17-5=12, Resulting Numbers: [25, 81, 12]
Generated Node #0,0: 27:[25, 81, 12] Operation: 17-5=12
Exploring Operation: 81-25=56, Resulting Numbers: [17, 5, 56]
Generated Node #0,1: 27:[17, 5, 56] Operation: 81-25=56
Exploring Operation: 81-17=64, Resulting Numbers: [25, 5, 64]
Generated Node #0,2: 27:[25, 5, 64] Operation: 81-17=64
Exploring Operation: 25-17=8, Resulting Numbers: [81, 5, 8]
Generated Node #0,3: 27:[81, 5, 8] Operation: 25-17=8
Moving to Node #0,1
Current State: 27:[17, 5, 56], Operations: ['81-25=56']
Exploring Operation: 17-5=12, Resulting Numbers: [56, 12]
Generated Node #0,1,0: 27:[56, 12] Operation: 17-5=12
Exploring Operation: 17+5=22, Resulting Numbers: [56, 22]
Generated Node #0,1,1: 27:[56, 22] Operation: 17+5=22
Exploring Operation: 56-5=51, Resulting Numbers: [17, 51]
Generated Node #0,1,2: 27:[17, 51] Operation: 56-5=51
Exploring Operation: 56-17=39, Resulting Numbers: [5, 39]
Generated Node #0,1,3: 27:[5, 39] Operation: 56-17=39
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[5, 39], Operations: ['81-25=56', '56-17=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,27 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,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:[56, 12], Operations: ['81-25=56', '17-5=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,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:[17, 51], Operations: ['81-25=56', '56-5=51']
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,27 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[56, 22], Operations: ['81-25=56', '17+5=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,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:[25, 5, 64], Operations: ['81-17=64']
Exploring Operation: 64-5=59, Resulting Numbers: [25, 59]
Generated Node #0,2,0: 27:[25, 59] Operation: 64-5=59
Exploring Operation: 25/5=5, Resulting Numbers: [64, 5]
Generated Node #0,2,1: 27:[64, 5] Operation: 25/5=5
Exploring Operation: 64-25=39, Resulting Numbers: [5, 39]
Generated Node #0,2,2: 27:[5, 39] Operation: 64-25=39
Exploring Operation: 25+5=30, Resulting Numbers: [64, 30]
Generated Node #0,2,3: 27:[64, 30] Operation: 25+5=30
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[5, 39], Operations: ['81-17=64', '64-25=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,27 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,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,2,0
Current State: 27:[25, 59], Operations: ['81-17=64', '64-5=59']
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,27 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[64, 5], Operations: ['81-17=64', '25/5=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,27 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,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,2,3
Current State: 27:[64, 30], Operations: ['81-17=64', '25+5=30']
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,27 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,27 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: 27:[81, 5, 8], Operations: ['25-17=8']
Exploring Operation: 5+8=13, Resulting Numbers: [81, 13]
Generated Node #0,3,0: 27:[81, 13] Operation: 5+8=13
Exploring Operation: 81-8=73, Resulting Numbers: [5, 73]
Generated Node #0,3,1: 27:[5, 73] Operation: 81-8=73
Exploring Operation: 81-5=76, Resulting Numbers: [8, 76]
Generated Node #0,3,2: 27:[8, 76] Operation: 81-5=76
Exploring Operation: 8-5=3, Resulting Numbers: [81, 3]
Generated Node #0,3,3: 27:[81, 3] Operation: 8-5=3
Moving to Node #0,0
Current State: 27:[25, 81, 12], Operations: ['17-5=12']
Exploring Operation: 81-12=69, Resulting Numbers: [25, 69]
Generated Node #0,0,0: 27:[25, 69] Operation: 81-12=69
Exploring Operation: 81-25=56, Resulting Numbers: [12, 56]
Generated Node #0,0,1: 27:[12, 56] Operation: 81-25=56
Exploring Operation: 25-12=13, Resulting Numbers: [81, 13]
Generated Node #0,0,2: 27:[81, 13] Operation: 25-12=13
Exploring Operation: 25+12=37, Resulting Numbers: [81, 37]
Generated Node #0,0,3: 27:[81, 37] Operation: 25+12=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[12, 56], Operations: ['17-5=12', '81-25=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,27 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[25, 69], Operations: ['17-5=12', '81-12=69']
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,27 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,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:[81, 13], Operations: ['17-5=12', '25-12=13']
Exploring Operation: 81*13=1053, Resulting Numbers: [1053]
1053,27 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 81+13=94, Resulting Numbers: [94]
94,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:[81, 37], Operations: ['17-5=12', '25+12=37']
Exploring Operation: 81*37=2997, Resulting Numbers: [2997]
2997,27 unequal: No Solution
Exploring Operation: 81+37=118, Resulting Numbers: [118]
118,27 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 27:[5, 73], Operations: ['25-17=8', '81-8=73']
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,27 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[8, 76], Operations: ['25-17=8', '81-5=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 8*76=608, Resulting Numbers: [608]
608,27 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[81, 3], Operations: ['25-17=8', '8-5=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[17, 25, 81, 5], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [81, 5, 8]
Generated Node #0,3: 27:[81, 5, 8] Operation: 25-17=8
Moving to Node #0,3
Current State: 27:[81, 5, 8], Operations: ['25-17=8']
Exploring Operation: 8-5=3, Resulting Numbers: [81, 3]
Generated Node #0,3,3: 27:[81, 3] Operation: 8-5=3
Moving to Node #0,3,3
Current State: 27:[81, 3], Operations: ['25-17=8', '8-5=3']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.939236 | hs_4 | sum_heuristic |
[
52,
2,
30,
20
] | 81 | [
"52+2=54",
"30*54=1620",
"1620/20=81"
] | Current State: 81:[52, 2, 30, 20], Operations: []
Exploring Operation: 52+2=54, Resulting Numbers: [30, 20, 54]
Generated Node #2: [30, 20, 54] from Operation: 52+2=54
Current State: 81:[30, 20, 54], Operations: ['52+2=54']
Exploring Operation: 30*54=1620, Resulting Numbers: [20, 1620]
Generated Node #3: [20, 1620] from Operation: 30*54=1620
Current State: 81:[20, 1620], Operations: ['52+2=54', '30*54=1620']
Exploring Operation: 1620/20=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[52, 2, 30, 20], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [2, 30, 32]
Generated Node #0,0: 81:[2, 30, 32] Operation: 52-20=32
Exploring Operation: 52+30=82, Resulting Numbers: [2, 20, 82]
Generated Node #0,1: 81:[2, 20, 82] Operation: 52+30=82
Moving to Node #0,0
Current State: 81:[2, 30, 32], Operations: ['52-20=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 81:[2, 2] Operation: 32-30=2
Exploring Operation: 30-2=28, Resulting Numbers: [32, 28]
Generated Node #0,0,1: 81:[32, 28] Operation: 30-2=28
Moving to Node #0,1
Current State: 81:[2, 20, 82], Operations: ['52+30=82']
Exploring Operation: 20/2=10, Resulting Numbers: [82, 10]
Generated Node #0,1,0: 81:[82, 10] Operation: 20/2=10
Exploring Operation: 2+20=22, Resulting Numbers: [82, 22]
Generated Node #0,1,1: 81:[82, 22] Operation: 2+20=22
Moving to Node #0,0,0
Current State: 81:[2, 2], Operations: ['52-20=32', '32-30=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[82, 10], Operations: ['52+30=82', '20/2=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,81 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[32, 28], Operations: ['52-20=32', '30-2=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[82, 22], Operations: ['52+30=82', '2+20=22']
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,81 unequal: No Solution
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
40,
23,
55
] | 24 | [
"40/5=8",
"55-23=32",
"32-8=24"
] | Current State: 24:[5, 40, 23, 55], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [23, 55, 8]
Generated Node #2: [23, 55, 8] from Operation: 40/5=8
Current State: 24:[23, 55, 8], Operations: ['40/5=8']
Exploring Operation: 55-23=32, Resulting Numbers: [8, 32]
Generated Node #3: [8, 32] from Operation: 55-23=32
Current State: 24:[8, 32], Operations: ['40/5=8', '55-23=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[5, 40, 23, 55], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [5, 23, 15]
Generated Node #0,0: 24:[5, 23, 15] Operation: 55-40=15
Exploring Operation: 55/5=11, Resulting Numbers: [40, 23, 11]
Generated Node #0,1: 24:[40, 23, 11] Operation: 55/5=11
Exploring Operation: 40/5=8, Resulting Numbers: [23, 55, 8]
Generated Node #0,2: 24:[23, 55, 8] Operation: 40/5=8
Exploring Operation: 55-23=32, Resulting Numbers: [5, 40, 32]
Generated Node #0,3: 24:[5, 40, 32] Operation: 55-23=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[5, 23, 15], Operations: ['55-40=15']
Exploring Operation: 5+15=20, Resulting Numbers: [23, 20]
Generated Node #0,0,0: 24:[23, 20] Operation: 5+15=20
Exploring Operation: 15/5=3, Resulting Numbers: [23, 3]
Generated Node #0,0,1: 24:[23, 3] Operation: 15/5=3
Exploring Operation: 23-15=8, Resulting Numbers: [5, 8]
Generated Node #0,0,2: 24:[5, 8] Operation: 23-15=8
Exploring Operation: 15-5=10, Resulting Numbers: [23, 10]
Generated Node #0,0,3: 24:[23, 10] Operation: 15-5=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[23, 3], Operations: ['55-40=15', '15/5=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,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,0,2
Current State: 24:[5, 8], Operations: ['55-40=15', '23-15=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,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,0,3
Current State: 24:[23, 10], Operations: ['55-40=15', '15-5=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,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,0,0
Current State: 24:[23, 20], Operations: ['55-40=15', '5+15=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[40, 23, 11], Operations: ['55/5=11']
Exploring Operation: 23+11=34, Resulting Numbers: [40, 34]
Generated Node #0,1,0: 24:[40, 34] Operation: 23+11=34
Exploring Operation: 40-23=17, Resulting Numbers: [11, 17]
Generated Node #0,1,1: 24:[11, 17] Operation: 40-23=17
Exploring Operation: 23-11=12, Resulting Numbers: [40, 12]
Generated Node #0,1,2: 24:[40, 12] Operation: 23-11=12
Exploring Operation: 40-11=29, Resulting Numbers: [23, 29]
Generated Node #0,1,3: 24:[23, 29] Operation: 40-11=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[11, 17], Operations: ['55/5=11', '40-23=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,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,3
Current State: 24:[23, 29], Operations: ['55/5=11', '40-11=29']
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,24 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,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,2
Current State: 24:[40, 12], Operations: ['55/5=11', '23-11=12']
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,24 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,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:[40, 34], Operations: ['55/5=11', '23+11=34']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,24 unequal: No Solution
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[5, 40, 32], Operations: ['55-23=32']
Exploring Operation: 32-5=27, Resulting Numbers: [40, 27]
Generated Node #0,3,0: 24:[40, 27] Operation: 32-5=27
Exploring Operation: 40/5=8, Resulting Numbers: [32, 8]
Generated Node #0,3,1: 24:[32, 8] Operation: 40/5=8
Exploring Operation: 40-5=35, Resulting Numbers: [32, 35]
Generated Node #0,3,2: 24:[32, 35] Operation: 40-5=35
Exploring Operation: 40-32=8, Resulting Numbers: [5, 8]
Generated Node #0,3,3: 24:[5, 8] Operation: 40-32=8
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 24:[5, 8], Operations: ['55-23=32', '40-32=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,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,3,1
Current State: 24:[32, 8], Operations: ['55-23=32', '40/5=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,24 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[5, 40, 23, 55], Operations: []
Exploring Operation: 55-23=32, Resulting Numbers: [5, 40, 32]
Generated Node #0,3: 24:[5, 40, 32] Operation: 55-23=32
Moving to Node #0,3
Current State: 24:[5, 40, 32], Operations: ['55-23=32']
Exploring Operation: 40/5=8, Resulting Numbers: [32, 8]
Generated Node #0,3,1: 24:[32, 8] Operation: 40/5=8
Moving to Node #0,3,1
Current State: 24:[32, 8], Operations: ['55-23=32', '40/5=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
86,
11,
48,
14
] | 71 | [
"86*11=946",
"48+946=994",
"994/14=71"
] | Current State: 71:[86, 11, 48, 14], Operations: []
Exploring Operation: 86*11=946, Resulting Numbers: [48, 14, 946]
Generated Node #2: [48, 14, 946] from Operation: 86*11=946
Current State: 71:[48, 14, 946], Operations: ['86*11=946']
Exploring Operation: 48+946=994, Resulting Numbers: [14, 994]
Generated Node #3: [14, 994] from Operation: 48+946=994
Current State: 71:[14, 994], Operations: ['86*11=946', '48+946=994']
Exploring Operation: 994/14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[86, 11, 48, 14], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [11, 48, 72]
Generated Node #0,0: 71:[11, 48, 72] Operation: 86-14=72
Exploring Operation: 86-11=75, Resulting Numbers: [48, 14, 75]
Generated Node #0,1: 71:[48, 14, 75] Operation: 86-11=75
Moving to Node #0,0
Current State: 71:[11, 48, 72], Operations: ['86-14=72']
Exploring Operation: 72-11=61, Resulting Numbers: [48, 61]
Generated Node #0,0,0: 71:[48, 61] Operation: 72-11=61
Exploring Operation: 11+48=59, Resulting Numbers: [72, 59]
Generated Node #0,0,1: 71:[72, 59] Operation: 11+48=59
Moving to Node #0,1
Current State: 71:[48, 14, 75], Operations: ['86-11=75']
Exploring Operation: 75-14=61, Resulting Numbers: [48, 61]
Generated Node #0,1,0: 71:[48, 61] Operation: 75-14=61
Exploring Operation: 48+14=62, Resulting Numbers: [75, 62]
Generated Node #0,1,1: 71:[75, 62] Operation: 48+14=62
Moving to Node #0,0,1
Current State: 71:[72, 59], Operations: ['86-14=72', '11+48=59']
Exploring Operation: 72+59=131, Resulting Numbers: [131]
131,71 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[75, 62], Operations: ['86-11=75', '48+14=62']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 75+62=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[48, 61], Operations: ['86-14=72', '72-11=61']
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[48, 61], Operations: ['86-11=75', '75-14=61']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,71 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
88,
94,
39
] | 61 | [
"98-94=4",
"88/4=22",
"39+22=61"
] | Current State: 61:[98, 88, 94, 39], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [88, 39, 4]
Generated Node #2: [88, 39, 4] from Operation: 98-94=4
Current State: 61:[88, 39, 4], Operations: ['98-94=4']
Exploring Operation: 88/4=22, Resulting Numbers: [39, 22]
Generated Node #3: [39, 22] from Operation: 88/4=22
Current State: 61:[39, 22], Operations: ['98-94=4', '88/4=22']
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[98, 88, 94, 39], Operations: []
Exploring Operation: 98-39=59, Resulting Numbers: [88, 94, 59]
Generated Node #0,0: 61:[88, 94, 59] Operation: 98-39=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[88, 94, 59], Operations: ['98-39=59']
Exploring Operation: 94-59=35, Resulting Numbers: [88, 35]
Generated Node #0,0,0: 61:[88, 35] Operation: 94-59=35
Moving to Node #0,0,0
Current State: 61:[88, 35], Operations: ['98-39=59', '94-59=35']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,61 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 |
[
98,
66,
46,
10
] | 24 | [
"98-66=32",
"46+10=56",
"56-32=24"
] | Current State: 24:[98, 66, 46, 10], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [46, 10, 32]
Generated Node #2: [46, 10, 32] from Operation: 98-66=32
Current State: 24:[46, 10, 32], Operations: ['98-66=32']
Exploring Operation: 46+10=56, Resulting Numbers: [32, 56]
Generated Node #3: [32, 56] from Operation: 46+10=56
Current State: 24:[32, 56], Operations: ['98-66=32', '46+10=56']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[98, 66, 46, 10], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [46, 10, 32]
Generated Node #0,0: 24:[46, 10, 32] Operation: 98-66=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[46, 10, 32], Operations: ['98-66=32']
Exploring Operation: 46-32=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 24:[10, 14] Operation: 46-32=14
Moving to Node #0,0,0
Current State: 24:[10, 14], Operations: ['98-66=32', '46-32=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[98, 66, 46, 10], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [46, 10, 32]
Generated Node #0,0: 24:[46, 10, 32] Operation: 98-66=32
Moving to Node #0,0
Current State: 24:[46, 10, 32], Operations: ['98-66=32']
Exploring Operation: 46-32=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 24:[10, 14] Operation: 46-32=14
Moving to Node #0,0,0
Current State: 24:[10, 14], Operations: ['98-66=32', '46-32=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
48,
51,
99,
25
] | 54 | [
"51+99=150",
"150/25=6",
"48+6=54"
] | Current State: 54:[48, 51, 99, 25], Operations: []
Exploring Operation: 51+99=150, Resulting Numbers: [48, 25, 150]
Generated Node #2: [48, 25, 150] from Operation: 51+99=150
Current State: 54:[48, 25, 150], Operations: ['51+99=150']
Exploring Operation: 150/25=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 150/25=6
Current State: 54:[48, 6], Operations: ['51+99=150', '150/25=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[48, 51, 99, 25], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [48, 25, 48]
Generated Node #0,0: 54:[48, 25, 48] Operation: 99-51=48
Exploring Operation: 99-48=51, Resulting Numbers: [51, 25, 51]
Generated Node #0,1: 54:[51, 25, 51] Operation: 99-48=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[51, 25, 51], Operations: ['99-48=51']
Exploring Operation: 51/51=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 54:[25, 1] Operation: 51/51=1
Exploring Operation: 51-25=26, Resulting Numbers: [51, 26]
Generated Node #0,1,1: 54:[51, 26] Operation: 51-25=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[25, 1], Operations: ['99-48=51', '51/51=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,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,1
Current State: 54:[51, 26], Operations: ['99-48=51', '51-25=26']
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,54 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,54 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: 54:[48, 25, 48], Operations: ['99-51=48']
Exploring Operation: 48-48=0, Resulting Numbers: [25, 0]
Generated Node #0,0,0: 54:[25, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 54:[25, 1] Operation: 48/48=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[25, 1], Operations: ['99-51=48', '48/48=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,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,0,0
Current State: 54:[25, 0], Operations: ['99-51=48', '48-48=0']
Exploring Operation: 25*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 25+0=25, Resulting Numbers: [25]
25,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
99,
11,
7,
70
] | 54 | [
"99/11=9",
"70-7=63",
"63-9=54"
] | Current State: 54:[99, 11, 7, 70], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [7, 70, 9]
Generated Node #2: [7, 70, 9] from Operation: 99/11=9
Current State: 54:[7, 70, 9], Operations: ['99/11=9']
Exploring Operation: 70-7=63, Resulting Numbers: [9, 63]
Generated Node #3: [9, 63] from Operation: 70-7=63
Current State: 54:[9, 63], Operations: ['99/11=9', '70-7=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[99, 11, 7, 70], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [7, 70, 9]
Generated Node #0,0: 54:[7, 70, 9] Operation: 99/11=9
Exploring Operation: 99-70=29, Resulting Numbers: [11, 7, 29]
Generated Node #0,1: 54:[11, 7, 29] Operation: 99-70=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[11, 7, 29], Operations: ['99-70=29']
Exploring Operation: 11+7=18, Resulting Numbers: [29, 18]
Generated Node #0,1,0: 54:[29, 18] Operation: 11+7=18
Exploring Operation: 29-11=18, Resulting Numbers: [7, 18]
Generated Node #0,1,1: 54:[7, 18] Operation: 29-11=18
Moving to Node #0,1,1
Current State: 54:[7, 18], Operations: ['99-70=29', '29-11=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[29, 18], Operations: ['99-70=29', '11+7=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,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
Current State: 54:[7, 70, 9], Operations: ['99/11=9']
Exploring Operation: 70/7=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 54:[9, 10] Operation: 70/7=10
Exploring Operation: 70-9=61, Resulting Numbers: [7, 61]
Generated Node #0,0,1: 54:[7, 61] Operation: 70-9=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[9, 10], Operations: ['99/11=9', '70/7=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,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,0,1
Current State: 54:[7, 61], Operations: ['99/11=9', '70-9=61']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[99, 11, 7, 70], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [7, 70, 9]
Generated Node #0,0: 54:[7, 70, 9] Operation: 99/11=9
Moving to Node #0,0
Current State: 54:[7, 70, 9], Operations: ['99/11=9']
Exploring Operation: 70-9=61, Resulting Numbers: [7, 61]
Generated Node #0,0,1: 54:[7, 61] Operation: 70-9=61
Moving to Node #0,0,1
Current State: 54:[7, 61], Operations: ['99/11=9', '70-9=61']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
16,
12,
66,
99
] | 66 | [
"16*99=1584",
"1584/12=132",
"132-66=66"
] | Current State: 66:[16, 12, 66, 99], Operations: []
Exploring Operation: 16*99=1584, Resulting Numbers: [12, 66, 1584]
Generated Node #2: [12, 66, 1584] from Operation: 16*99=1584
Current State: 66:[12, 66, 1584], Operations: ['16*99=1584']
Exploring Operation: 1584/12=132, Resulting Numbers: [66, 132]
Generated Node #3: [66, 132] from Operation: 1584/12=132
Current State: 66:[66, 132], Operations: ['16*99=1584', '1584/12=132']
Exploring Operation: 132-66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[16, 12, 66, 99], Operations: []
Exploring Operation: 99-66=33, Resulting Numbers: [16, 12, 33]
Generated Node #0,0: 66:[16, 12, 33] Operation: 99-66=33
Moving to Node #0,0
Current State: 66:[16, 12, 33], Operations: ['99-66=33']
Exploring Operation: 16-12=4, Resulting Numbers: [33, 4]
Generated Node #0,0,0: 66:[33, 4] Operation: 16-12=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[33, 4], Operations: ['99-66=33', '16-12=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,66 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 |
[
22,
17,
1,
13
] | 66 | [
"22-17=5",
"13*5=65",
"1+65=66"
] | Current State: 66:[22, 17, 1, 13], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [1, 13, 5]
Generated Node #2: [1, 13, 5] from Operation: 22-17=5
Current State: 66:[1, 13, 5], Operations: ['22-17=5']
Exploring Operation: 13*5=65, Resulting Numbers: [1, 65]
Generated Node #3: [1, 65] from Operation: 13*5=65
Current State: 66:[1, 65], Operations: ['22-17=5', '13*5=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[22, 17, 1, 13], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [1, 13, 5]
Generated Node #0,0: 66:[1, 13, 5] Operation: 22-17=5
Exploring Operation: 17-13=4, Resulting Numbers: [22, 1, 4]
Generated Node #0,1: 66:[22, 1, 4] Operation: 17-13=4
Moving to Node #0,1
Current State: 66:[22, 1, 4], Operations: ['17-13=4']
Exploring Operation: 22*1=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 66:[4, 22] Operation: 22*1=22
Exploring Operation: 4-1=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 66:[22, 3] Operation: 4-1=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[22, 3], Operations: ['17-13=4', '4-1=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,66 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[22, 17, 1, 13], Operations: []
Exploring Operation: 17-13=4, Resulting Numbers: [22, 1, 4]
Generated Node #0,1: 66:[22, 1, 4] Operation: 17-13=4
Moving to Node #0,1
Current State: 66:[22, 1, 4], Operations: ['17-13=4']
Exploring Operation: 4-1=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 66:[22, 3] Operation: 4-1=3
Moving to Node #0,1,1
Current State: 66:[22, 3], Operations: ['17-13=4', '4-1=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
6,
35,
59,
99
] | 56 | [
"6+99=105",
"105/35=3",
"59-3=56"
] | Current State: 56:[6, 35, 59, 99], Operations: []
Exploring Operation: 6+99=105, Resulting Numbers: [35, 59, 105]
Generated Node #2: [35, 59, 105] from Operation: 6+99=105
Current State: 56:[35, 59, 105], Operations: ['6+99=105']
Exploring Operation: 105/35=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 105/35=3
Current State: 56:[59, 3], Operations: ['6+99=105', '105/35=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[6, 35, 59, 99], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [59, 99, 29]
Generated Node #0,0: 56:[59, 99, 29] Operation: 35-6=29
Exploring Operation: 99-59=40, Resulting Numbers: [6, 35, 40]
Generated Node #0,1: 56:[6, 35, 40] Operation: 99-59=40
Exploring Operation: 99-6=93, Resulting Numbers: [35, 59, 93]
Generated Node #0,2: 56:[35, 59, 93] Operation: 99-6=93
Exploring Operation: 99-35=64, Resulting Numbers: [6, 59, 64]
Generated Node #0,3: 56:[6, 59, 64] Operation: 99-35=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[6, 59, 64], Operations: ['99-35=64']
Exploring Operation: 6+59=65, Resulting Numbers: [64, 65]
Generated Node #0,3,0: 56:[64, 65] Operation: 6+59=65
Exploring Operation: 64-59=5, Resulting Numbers: [6, 5]
Generated Node #0,3,1: 56:[6, 5] Operation: 64-59=5
Exploring Operation: 59-6=53, Resulting Numbers: [64, 53]
Generated Node #0,3,2: 56:[64, 53] Operation: 59-6=53
Exploring Operation: 64-6=58, Resulting Numbers: [59, 58]
Generated Node #0,3,3: 56:[59, 58] Operation: 64-6=58
Moving to Node #0,3,1
Current State: 56:[6, 5], Operations: ['99-35=64', '64-59=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[59, 58], Operations: ['99-35=64', '64-6=58']
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,56 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[64, 53], Operations: ['99-35=64', '59-6=53']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,56 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[64, 65], Operations: ['99-35=64', '6+59=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,56 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,56 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[6, 35, 40], Operations: ['99-59=40']
Exploring Operation: 40-35=5, Resulting Numbers: [6, 5]
Generated Node #0,1,0: 56:[6, 5] Operation: 40-35=5
Exploring Operation: 35-6=29, Resulting Numbers: [40, 29]
Generated Node #0,1,1: 56:[40, 29] Operation: 35-6=29
Exploring Operation: 6+40=46, Resulting Numbers: [35, 46]
Generated Node #0,1,2: 56:[35, 46] Operation: 6+40=46
Exploring Operation: 40-6=34, Resulting Numbers: [35, 34]
Generated Node #0,1,3: 56:[35, 34] Operation: 40-6=34
Moving to Node #0,1,0
Current State: 56:[6, 5], Operations: ['99-59=40', '40-35=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[35, 34], Operations: ['99-59=40', '40-6=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,56 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[40, 29], Operations: ['99-59=40', '35-6=29']
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[35, 46], Operations: ['99-59=40', '6+40=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,56 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,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:[59, 99, 29], Operations: ['35-6=29']
Exploring Operation: 59-29=30, Resulting Numbers: [99, 30]
Generated Node #0,0,0: 56:[99, 30] Operation: 59-29=30
Exploring Operation: 99-29=70, Resulting Numbers: [59, 70]
Generated Node #0,0,1: 56:[59, 70] Operation: 99-29=70
Exploring Operation: 59+29=88, Resulting Numbers: [99, 88]
Generated Node #0,0,2: 56:[99, 88] Operation: 59+29=88
Exploring Operation: 99-59=40, Resulting Numbers: [29, 40]
Generated Node #0,0,3: 56:[29, 40] Operation: 99-59=40
Moving to Node #0,0,3
Current State: 56:[29, 40], Operations: ['35-6=29', '99-59=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,56 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[59, 70], Operations: ['35-6=29', '99-29=70']
Exploring Operation: 59*70=4130, Resulting Numbers: [4130]
4130,56 unequal: No Solution
Exploring Operation: 59+70=129, Resulting Numbers: [129]
129,56 unequal: No Solution
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[99, 30], Operations: ['35-6=29', '59-29=30']
Exploring Operation: 99+30=129, Resulting Numbers: [129]
129,56 unequal: No Solution
Exploring Operation: 99*30=2970, Resulting Numbers: [2970]
2970,56 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[99, 88], Operations: ['35-6=29', '59+29=88']
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,56 unequal: No Solution
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,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,2
Current State: 56:[35, 59, 93], Operations: ['99-6=93']
Exploring Operation: 93-35=58, Resulting Numbers: [59, 58]
Generated Node #0,2,0: 56:[59, 58] Operation: 93-35=58
Exploring Operation: 93-59=34, Resulting Numbers: [35, 34]
Generated Node #0,2,1: 56:[35, 34] Operation: 93-59=34
Exploring Operation: 59-35=24, Resulting Numbers: [93, 24]
Generated Node #0,2,2: 56:[93, 24] Operation: 59-35=24
Exploring Operation: 35+59=94, Resulting Numbers: [93, 94]
Generated Node #0,2,3: 56:[93, 94] Operation: 35+59=94
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[59, 58], Operations: ['99-6=93', '93-35=58']
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,56 unequal: No Solution
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[35, 34], Operations: ['99-6=93', '93-59=34']
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,56 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[93, 24], Operations: ['99-6=93', '59-35=24']
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,56 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,56 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 56:[93, 94], Operations: ['99-6=93', '35+59=94']
Exploring Operation: 93*94=8742, Resulting Numbers: [8742]
8742,56 unequal: No Solution
Exploring Operation: 93+94=187, Resulting Numbers: [187]
187,56 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
12,
37,
91,
36
] | 57 | [
"36/12=3",
"91-37=54",
"3+54=57"
] | Current State: 57:[12, 37, 91, 36], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [37, 91, 3]
Generated Node #2: [37, 91, 3] from Operation: 36/12=3
Current State: 57:[37, 91, 3], Operations: ['36/12=3']
Exploring Operation: 91-37=54, Resulting Numbers: [3, 54]
Generated Node #3: [3, 54] from Operation: 91-37=54
Current State: 57:[3, 54], Operations: ['36/12=3', '91-37=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[12, 37, 91, 36], Operations: []
Exploring Operation: 37-36=1, Resulting Numbers: [12, 91, 1]
Generated Node #0,0: 57:[12, 91, 1] Operation: 37-36=1
Exploring Operation: 91-37=54, Resulting Numbers: [12, 36, 54]
Generated Node #0,1: 57:[12, 36, 54] Operation: 91-37=54
Exploring Operation: 91-36=55, Resulting Numbers: [12, 37, 55]
Generated Node #0,2: 57:[12, 37, 55] Operation: 91-36=55
Exploring Operation: 36/12=3, Resulting Numbers: [37, 91, 3]
Generated Node #0,3: 57:[37, 91, 3] Operation: 36/12=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[12, 36, 54], Operations: ['91-37=54']
Exploring Operation: 36-12=24, Resulting Numbers: [54, 24]
Generated Node #0,1,0: 57:[54, 24] Operation: 36-12=24
Exploring Operation: 54-36=18, Resulting Numbers: [12, 18]
Generated Node #0,1,1: 57:[12, 18] Operation: 54-36=18
Exploring Operation: 12+36=48, Resulting Numbers: [54, 48]
Generated Node #0,1,2: 57:[54, 48] Operation: 12+36=48
Exploring Operation: 36/12=3, Resulting Numbers: [54, 3]
Generated Node #0,1,3: 57:[54, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[54, 3], Operations: ['91-37=54', '36/12=3']
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,57 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,57 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[12, 37, 91, 36], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [12, 36, 54]
Generated Node #0,1: 57:[12, 36, 54] Operation: 91-37=54
Moving to Node #0,1
Current State: 57:[12, 36, 54], Operations: ['91-37=54']
Exploring Operation: 36/12=3, Resulting Numbers: [54, 3]
Generated Node #0,1,3: 57:[54, 3] Operation: 36/12=3
Moving to Node #0,1,3
Current State: 57:[54, 3], Operations: ['91-37=54', '36/12=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
2,
2,
59,
64
] | 52 | [
"2*59=118",
"2+64=66",
"118-66=52"
] | Current State: 52:[2, 2, 59, 64], Operations: []
Exploring Operation: 2*59=118, Resulting Numbers: [64, 118]
Generated Node #2: [64, 118] from Operation: 2*59=118
Current State: 52:[64, 118], Operations: ['2*59=118']
Exploring Operation: 2+64=66, Resulting Numbers: [118, 66]
Generated Node #3: [118, 66] from Operation: 2+64=66
Current State: 52:[118, 66], Operations: ['2*59=118', '2+64=66']
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 2, 59, 64], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [2, 2, 5]
Generated Node #0,0: 52:[2, 2, 5] Operation: 64-59=5
Exploring Operation: 64/2=32, Resulting Numbers: [2, 59, 32]
Generated Node #0,1: 52:[2, 59, 32] Operation: 64/2=32
Moving to Node #0,0
Current State: 52:[2, 2, 5], Operations: ['64-59=5']
Exploring Operation: 2*2=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 52:[5, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 52:[5, 4] Operation: 2+2=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 4], Operations: ['64-59=5', '2*2=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,52 unequal: No Solution
No solution 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: 52:[5, 4], Operations: ['64-59=5', '2+2=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,52 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: 52:[2, 59, 32], Operations: ['64/2=32']
Exploring Operation: 32/2=16, Resulting Numbers: [59, 16]
Generated Node #0,1,0: 52:[59, 16] Operation: 32/2=16
Exploring Operation: 59-32=27, Resulting Numbers: [2, 27]
Generated Node #0,1,1: 52:[2, 27] Operation: 59-32=27
Moving to Node #0,1,1
Current State: 52:[2, 27], Operations: ['64/2=32', '59-32=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[59, 16], Operations: ['64/2=32', '32/2=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
12,
28,
3,
2
] | 45 | [
"12+28=40",
"3+2=5",
"40+5=45"
] | Current State: 45:[12, 28, 3, 2], Operations: []
Exploring Operation: 12+28=40, Resulting Numbers: [3, 2, 40]
Generated Node #2: [3, 2, 40] from Operation: 12+28=40
Current State: 45:[3, 2, 40], Operations: ['12+28=40']
Exploring Operation: 3+2=5, Resulting Numbers: [40, 5]
Generated Node #3: [40, 5] from Operation: 3+2=5
Current State: 45:[40, 5], Operations: ['12+28=40', '3+2=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[12, 28, 3, 2], Operations: []
Exploring Operation: 28-12=16, Resulting Numbers: [3, 2, 16]
Generated Node #0,0: 45:[3, 2, 16] Operation: 28-12=16
Exploring Operation: 28/2=14, Resulting Numbers: [12, 3, 14]
Generated Node #0,1: 45:[12, 3, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[3, 2, 16], Operations: ['28-12=16']
Exploring Operation: 3+2=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 45:[16, 5] Operation: 3+2=5
Exploring Operation: 16-2=14, Resulting Numbers: [3, 14]
Generated Node #0,0,1: 45:[3, 14] Operation: 16-2=14
Moving to Node #0,0,0
Current State: 45:[16, 5], Operations: ['28-12=16', '3+2=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[3, 14], Operations: ['28-12=16', '16-2=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[12, 3, 14], Operations: ['28/2=14']
Exploring Operation: 12+3=15, Resulting Numbers: [14, 15]
Generated Node #0,1,0: 45:[14, 15] Operation: 12+3=15
Exploring Operation: 12-3=9, Resulting Numbers: [14, 9]
Generated Node #0,1,1: 45:[14, 9] Operation: 12-3=9
Moving to Node #0,1,0
Current State: 45:[14, 15], Operations: ['28/2=14', '12+3=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,45 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[14, 9], Operations: ['28/2=14', '12-3=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
36,
38,
12
] | 34 | [
"38-36=2",
"92/2=46",
"46-12=34"
] | Current State: 34:[92, 36, 38, 12], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [92, 12, 2]
Generated Node #2: [92, 12, 2] from Operation: 38-36=2
Current State: 34:[92, 12, 2], Operations: ['38-36=2']
Exploring Operation: 92/2=46, Resulting Numbers: [12, 46]
Generated Node #3: [12, 46] from Operation: 92/2=46
Current State: 34:[12, 46], Operations: ['38-36=2', '92/2=46']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[92, 36, 38, 12], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [36, 12, 54]
Generated Node #0,0: 34:[36, 12, 54] Operation: 92-38=54
Moving to Node #0,0
Current State: 34:[36, 12, 54], Operations: ['92-38=54']
Exploring Operation: 54-36=18, Resulting Numbers: [12, 18]
Generated Node #0,0,0: 34:[12, 18] Operation: 54-36=18
Moving to Node #0,0,0
Current State: 34:[12, 18], Operations: ['92-38=54', '54-36=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,34 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
52,
79,
47,
87
] | 13 | [
"79-52=27",
"87-47=40",
"40-27=13"
] | Current State: 13:[52, 79, 47, 87], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [47, 87, 27]
Generated Node #2: [47, 87, 27] from Operation: 79-52=27
Current State: 13:[47, 87, 27], Operations: ['79-52=27']
Exploring Operation: 87-47=40, Resulting Numbers: [27, 40]
Generated Node #3: [27, 40] from Operation: 87-47=40
Current State: 13:[27, 40], Operations: ['79-52=27', '87-47=40']
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[52, 79, 47, 87], Operations: []
Exploring Operation: 79-52=27, Resulting Numbers: [47, 87, 27]
Generated Node #0,0: 13:[47, 87, 27] Operation: 79-52=27
Exploring Operation: 87-79=8, Resulting Numbers: [52, 47, 8]
Generated Node #0,1: 13:[52, 47, 8] Operation: 87-79=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[52, 47, 8], Operations: ['87-79=8']
Exploring Operation: 52-47=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 13:[8, 5] Operation: 52-47=5
Exploring Operation: 52-8=44, Resulting Numbers: [47, 44]
Generated Node #0,1,1: 13:[47, 44] Operation: 52-8=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[8, 5], Operations: ['87-79=8', '52-47=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[52, 79, 47, 87], Operations: []
Exploring Operation: 87-79=8, Resulting Numbers: [52, 47, 8]
Generated Node #0,1: 13:[52, 47, 8] Operation: 87-79=8
Moving to Node #0,1
Current State: 13:[52, 47, 8], Operations: ['87-79=8']
Exploring Operation: 52-47=5, Resulting Numbers: [8, 5]
Generated Node #0,1,0: 13:[8, 5] Operation: 52-47=5
Moving to Node #0,1,0
Current State: 13:[8, 5], Operations: ['87-79=8', '52-47=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
20,
18,
35,
46
] | 16 | [
"46-18=28",
"20*28=560",
"560/35=16"
] | Current State: 16:[20, 18, 35, 46], Operations: []
Exploring Operation: 46-18=28, Resulting Numbers: [20, 35, 28]
Generated Node #2: [20, 35, 28] from Operation: 46-18=28
Current State: 16:[20, 35, 28], Operations: ['46-18=28']
Exploring Operation: 20*28=560, Resulting Numbers: [35, 560]
Generated Node #3: [35, 560] from Operation: 20*28=560
Current State: 16:[35, 560], Operations: ['46-18=28', '20*28=560']
Exploring Operation: 560/35=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[20, 18, 35, 46], Operations: []
Exploring Operation: 46-35=11, Resulting Numbers: [20, 18, 11]
Generated Node #0,0: 16:[20, 18, 11] Operation: 46-35=11
Exploring Operation: 46-20=26, Resulting Numbers: [18, 35, 26]
Generated Node #0,1: 16:[18, 35, 26] Operation: 46-20=26
Moving to Node #0,0
Current State: 16:[20, 18, 11], Operations: ['46-35=11']
Exploring Operation: 20-18=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 16:[11, 2] Operation: 20-18=2
Exploring Operation: 20-11=9, Resulting Numbers: [18, 9]
Generated Node #0,0,1: 16:[18, 9] Operation: 20-11=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[11, 2], Operations: ['46-35=11', '20-18=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[18, 9], Operations: ['46-35=11', '20-11=9']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[18, 35, 26], Operations: ['46-20=26']
Exploring Operation: 35-26=9, Resulting Numbers: [18, 9]
Generated Node #0,1,0: 16:[18, 9] Operation: 35-26=9
Exploring Operation: 35-18=17, Resulting Numbers: [26, 17]
Generated Node #0,1,1: 16:[26, 17] Operation: 35-18=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[18, 9], Operations: ['46-20=26', '35-26=9']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[26, 17], Operations: ['46-20=26', '35-18=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
86,
35,
65,
39
] | 17 | [
"86+35=121",
"65+39=104",
"121-104=17"
] | Current State: 17:[86, 35, 65, 39], Operations: []
Exploring Operation: 86+35=121, Resulting Numbers: [65, 39, 121]
Generated Node #2: [65, 39, 121] from Operation: 86+35=121
Current State: 17:[65, 39, 121], Operations: ['86+35=121']
Exploring Operation: 65+39=104, Resulting Numbers: [121, 104]
Generated Node #3: [121, 104] from Operation: 65+39=104
Current State: 17:[121, 104], Operations: ['86+35=121', '65+39=104']
Exploring Operation: 121-104=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[86, 35, 65, 39], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [35, 39, 21]
Generated Node #0,0: 17:[35, 39, 21] Operation: 86-65=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[35, 39, 21], Operations: ['86-65=21']
Exploring Operation: 39-35=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 17:[21, 4] Operation: 39-35=4
Moving to Node #0,0,0
Current State: 17:[21, 4], Operations: ['86-65=21', '39-35=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[86, 35, 65, 39], Operations: []
Exploring Operation: 86-65=21, Resulting Numbers: [35, 39, 21]
Generated Node #0,0: 17:[35, 39, 21] Operation: 86-65=21
Moving to Node #0,0
Current State: 17:[35, 39, 21], Operations: ['86-65=21']
Exploring Operation: 39-35=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 17:[21, 4] Operation: 39-35=4
Moving to Node #0,0,0
Current State: 17:[21, 4], Operations: ['86-65=21', '39-35=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
38,
24,
73
] | 79 | [
"42-38=4",
"24/4=6",
"73+6=79"
] | Current State: 79:[42, 38, 24, 73], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [24, 73, 4]
Generated Node #2: [24, 73, 4] from Operation: 42-38=4
Current State: 79:[24, 73, 4], Operations: ['42-38=4']
Exploring Operation: 24/4=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 24/4=6
Current State: 79:[73, 6], Operations: ['42-38=4', '24/4=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[42, 38, 24, 73], Operations: []
Exploring Operation: 42+38=80, Resulting Numbers: [24, 73, 80]
Generated Node #0,0: 79:[24, 73, 80] Operation: 42+38=80
Exploring Operation: 38+24=62, Resulting Numbers: [42, 73, 62]
Generated Node #0,1: 79:[42, 73, 62] Operation: 38+24=62
Exploring Operation: 42+24=66, Resulting Numbers: [38, 73, 66]
Generated Node #0,2: 79:[38, 73, 66] Operation: 42+24=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[42, 73, 62], Operations: ['38+24=62']
Exploring Operation: 73-42=31, Resulting Numbers: [62, 31]
Generated Node #0,1,0: 79:[62, 31] Operation: 73-42=31
Exploring Operation: 42+62=104, Resulting Numbers: [73, 104]
Generated Node #0,1,1: 79:[73, 104] Operation: 42+62=104
Exploring Operation: 42+73=115, Resulting Numbers: [62, 115]
Generated Node #0,1,2: 79:[62, 115] Operation: 42+73=115
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[73, 104], Operations: ['38+24=62', '42+62=104']
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,79 unequal: No Solution
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[62, 115], Operations: ['38+24=62', '42+73=115']
Exploring Operation: 62*115=7130, Resulting Numbers: [7130]
7130,79 unequal: No Solution
Exploring Operation: 115-62=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 62+115=177, Resulting Numbers: [177]
177,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[62, 31], Operations: ['38+24=62', '73-42=31']
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[38, 73, 66], Operations: ['42+24=66']
Exploring Operation: 73-38=35, Resulting Numbers: [66, 35]
Generated Node #0,2,0: 79:[66, 35] Operation: 73-38=35
Exploring Operation: 38+73=111, Resulting Numbers: [66, 111]
Generated Node #0,2,1: 79:[66, 111] Operation: 38+73=111
Exploring Operation: 38+66=104, Resulting Numbers: [73, 104]
Generated Node #0,2,2: 79:[73, 104] Operation: 38+66=104
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[73, 104], Operations: ['42+24=66', '38+66=104']
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,79 unequal: No Solution
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[66, 111], Operations: ['42+24=66', '38+73=111']
Exploring Operation: 66+111=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 66*111=7326, Resulting Numbers: [7326]
7326,79 unequal: No Solution
Exploring Operation: 111-66=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[66, 35], Operations: ['42+24=66', '73-38=35']
Exploring Operation: 66+35=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 66*35=2310, Resulting Numbers: [2310]
2310,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[24, 73, 80], Operations: ['42+38=80']
Exploring Operation: 80-24=56, Resulting Numbers: [73, 56]
Generated Node #0,0,0: 79:[73, 56] Operation: 80-24=56
Exploring Operation: 73-24=49, Resulting Numbers: [80, 49]
Generated Node #0,0,1: 79:[80, 49] Operation: 73-24=49
Exploring Operation: 24+73=97, Resulting Numbers: [80, 97]
Generated Node #0,0,2: 79:[80, 97] Operation: 24+73=97
Moving to Node #0,0,2
Current State: 79:[80, 97], Operations: ['42+38=80', '24+73=97']
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 80*97=7760, Resulting Numbers: [7760]
7760,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[73, 56], Operations: ['42+38=80', '80-24=56']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[80, 49], Operations: ['42+38=80', '73-24=49']
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,79 unequal: No Solution
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,79 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,79 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 |
[
49,
34,
25,
61
] | 51 | [
"49-34=15",
"61-25=36",
"15+36=51"
] | Current State: 51:[49, 34, 25, 61], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [25, 61, 15]
Generated Node #2: [25, 61, 15] from Operation: 49-34=15
Current State: 51:[25, 61, 15], Operations: ['49-34=15']
Exploring Operation: 61-25=36, Resulting Numbers: [15, 36]
Generated Node #3: [15, 36] from Operation: 61-25=36
Current State: 51:[15, 36], Operations: ['49-34=15', '61-25=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[49, 34, 25, 61], Operations: []
Exploring Operation: 34-25=9, Resulting Numbers: [49, 61, 9]
Generated Node #0,0: 51:[49, 61, 9] Operation: 34-25=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[49, 61, 9], Operations: ['34-25=9']
Exploring Operation: 61-9=52, Resulting Numbers: [49, 52]
Generated Node #0,0,0: 51:[49, 52] Operation: 61-9=52
Moving to Node #0,0,0
Current State: 51:[49, 52], Operations: ['34-25=9', '61-9=52']
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,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 | sum_heuristic |
[
84,
14,
84,
17
] | 32 | [
"84/84=1",
"14+17=31",
"1+31=32"
] | Current State: 32:[84, 14, 84, 17], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [14, 17, 1]
Generated Node #2: [14, 17, 1] from Operation: 84/84=1
Current State: 32:[14, 17, 1], Operations: ['84/84=1']
Exploring Operation: 14+17=31, Resulting Numbers: [1, 31]
Generated Node #3: [1, 31] from Operation: 14+17=31
Current State: 32:[1, 31], Operations: ['84/84=1', '14+17=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[84, 14, 84, 17], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [14, 17, 1]
Generated Node #0,0: 32:[14, 17, 1] Operation: 84/84=1
Moving to Node #0,0
Current State: 32:[14, 17, 1], Operations: ['84/84=1']
Exploring Operation: 14+17=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 32:[1, 31] Operation: 14+17=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[1, 31], Operations: ['84/84=1', '14+17=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[84, 14, 84, 17], Operations: []
Exploring Operation: 84/84=1, Resulting Numbers: [14, 17, 1]
Generated Node #0,0: 32:[14, 17, 1] Operation: 84/84=1
Moving to Node #0,0
Current State: 32:[14, 17, 1], Operations: ['84/84=1']
Exploring Operation: 14+17=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 32:[1, 31] Operation: 14+17=31
Moving to Node #0,0,0
Current State: 32:[1, 31], Operations: ['84/84=1', '14+17=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
28,
21,
39,
65
] | 42 | [
"28+39=67",
"67-65=2",
"21*2=42"
] | Current State: 42:[28, 21, 39, 65], Operations: []
Exploring Operation: 28+39=67, Resulting Numbers: [21, 65, 67]
Generated Node #2: [21, 65, 67] from Operation: 28+39=67
Current State: 42:[21, 65, 67], Operations: ['28+39=67']
Exploring Operation: 67-65=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 67-65=2
Current State: 42:[21, 2], Operations: ['28+39=67', '67-65=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[28, 21, 39, 65], Operations: []
Exploring Operation: 65-28=37, Resulting Numbers: [21, 39, 37]
Generated Node #0,0: 42:[21, 39, 37] Operation: 65-28=37
Exploring Operation: 65-21=44, Resulting Numbers: [28, 39, 44]
Generated Node #0,1: 42:[28, 39, 44] Operation: 65-21=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[21, 39, 37], Operations: ['65-28=37']
Exploring Operation: 39-37=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 42:[21, 2] Operation: 39-37=2
Exploring Operation: 37-21=16, Resulting Numbers: [39, 16]
Generated Node #0,0,1: 42:[39, 16] Operation: 37-21=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[21, 2], Operations: ['65-28=37', '39-37=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[28, 21, 39, 65], Operations: []
Exploring Operation: 65-28=37, Resulting Numbers: [21, 39, 37]
Generated Node #0,0: 42:[21, 39, 37] Operation: 65-28=37
Moving to Node #0,0
Current State: 42:[21, 39, 37], Operations: ['65-28=37']
Exploring Operation: 39-37=2, Resulting Numbers: [21, 2]
Generated Node #0,0,0: 42:[21, 2] Operation: 39-37=2
Moving to Node #0,0,0
Current State: 42:[21, 2], Operations: ['65-28=37', '39-37=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
67,
58,
5,
80
] | 41 | [
"67+58=125",
"80+125=205",
"205/5=41"
] | Current State: 41:[67, 58, 5, 80], Operations: []
Exploring Operation: 67+58=125, Resulting Numbers: [5, 80, 125]
Generated Node #2: [5, 80, 125] from Operation: 67+58=125
Current State: 41:[5, 80, 125], Operations: ['67+58=125']
Exploring Operation: 80+125=205, Resulting Numbers: [5, 205]
Generated Node #3: [5, 205] from Operation: 80+125=205
Current State: 41:[5, 205], Operations: ['67+58=125', '80+125=205']
Exploring Operation: 205/5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[67, 58, 5, 80], Operations: []
Exploring Operation: 58-5=53, Resulting Numbers: [67, 80, 53]
Generated Node #0,0: 41:[67, 80, 53] Operation: 58-5=53
Exploring Operation: 80-5=75, Resulting Numbers: [67, 58, 75]
Generated Node #0,1: 41:[67, 58, 75] Operation: 80-5=75
Exploring Operation: 67-5=62, Resulting Numbers: [58, 80, 62]
Generated Node #0,2: 41:[58, 80, 62] Operation: 67-5=62
Exploring Operation: 80/5=16, Resulting Numbers: [67, 58, 16]
Generated Node #0,3: 41:[67, 58, 16] Operation: 80/5=16
Moving to Node #0,3
Current State: 41:[67, 58, 16], Operations: ['80/5=16']
Exploring Operation: 67+16=83, Resulting Numbers: [58, 83]
Generated Node #0,3,0: 41:[58, 83] Operation: 67+16=83
Exploring Operation: 67-58=9, Resulting Numbers: [16, 9]
Generated Node #0,3,1: 41:[16, 9] Operation: 67-58=9
Exploring Operation: 67-16=51, Resulting Numbers: [58, 51]
Generated Node #0,3,2: 41:[58, 51] Operation: 67-16=51
Exploring Operation: 58-16=42, Resulting Numbers: [67, 42]
Generated Node #0,3,3: 41:[67, 42] Operation: 58-16=42
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[58, 51], Operations: ['80/5=16', '67-16=51']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,41 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[67, 42], Operations: ['80/5=16', '58-16=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,41 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[16, 9], Operations: ['80/5=16', '67-58=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,41 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[58, 83], Operations: ['80/5=16', '67+16=83']
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,41 unequal: No Solution
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,41 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: 41:[67, 58, 75], Operations: ['80-5=75']
Exploring Operation: 75-67=8, Resulting Numbers: [58, 8]
Generated Node #0,1,0: 41:[58, 8] Operation: 75-67=8
Exploring Operation: 75-58=17, Resulting Numbers: [67, 17]
Generated Node #0,1,1: 41:[67, 17] Operation: 75-58=17
Exploring Operation: 67-58=9, Resulting Numbers: [75, 9]
Generated Node #0,1,2: 41:[75, 9] Operation: 67-58=9
Exploring Operation: 67+58=125, Resulting Numbers: [75, 125]
Generated Node #0,1,3: 41:[75, 125] Operation: 67+58=125
Moving to Node #0,0
Current State: 41:[67, 80, 53], Operations: ['58-5=53']
Exploring Operation: 67-53=14, Resulting Numbers: [80, 14]
Generated Node #0,0,0: 41:[80, 14] Operation: 67-53=14
Exploring Operation: 80-67=13, Resulting Numbers: [53, 13]
Generated Node #0,0,1: 41:[53, 13] Operation: 80-67=13
Exploring Operation: 80-53=27, Resulting Numbers: [67, 27]
Generated Node #0,0,2: 41:[67, 27] Operation: 80-53=27
Exploring Operation: 67+80=147, Resulting Numbers: [53, 147]
Generated Node #0,0,3: 41:[53, 147] Operation: 67+80=147
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[53, 13], Operations: ['58-5=53', '80-67=13']
Exploring Operation: 53+13=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 53*13=689, Resulting Numbers: [689]
689,41 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[67, 27], Operations: ['58-5=53', '80-53=27']
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[80, 14], Operations: ['58-5=53', '67-53=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 80*14=1120, Resulting Numbers: [1120]
1120,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[53, 147], Operations: ['58-5=53', '67+80=147']
Exploring Operation: 53+147=200, Resulting Numbers: [200]
200,41 unequal: No Solution
Exploring Operation: 53*147=7791, Resulting Numbers: [7791]
7791,41 unequal: No Solution
Exploring Operation: 147-53=94, Resulting Numbers: [94]
94,41 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: 41:[58, 80, 62], Operations: ['67-5=62']
Exploring Operation: 80-58=22, Resulting Numbers: [62, 22]
Generated Node #0,2,0: 41:[62, 22] Operation: 80-58=22
Exploring Operation: 62-58=4, Resulting Numbers: [80, 4]
Generated Node #0,2,1: 41:[80, 4] Operation: 62-58=4
Exploring Operation: 80-62=18, Resulting Numbers: [58, 18]
Generated Node #0,2,2: 41:[58, 18] Operation: 80-62=18
Exploring Operation: 58+80=138, Resulting Numbers: [62, 138]
Generated Node #0,2,3: 41:[62, 138] Operation: 58+80=138
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[62, 22], Operations: ['67-5=62', '80-58=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,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,2,2
Current State: 41:[58, 18], Operations: ['67-5=62', '80-62=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,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,2,1
Current State: 41:[80, 4], Operations: ['67-5=62', '62-58=4']
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,41 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,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,2,3
Current State: 41:[62, 138], Operations: ['67-5=62', '58+80=138']
Exploring Operation: 62+138=200, Resulting Numbers: [200]
200,41 unequal: No Solution
Exploring Operation: 138-62=76, Resulting Numbers: [76]
76,41 unequal: No Solution
Exploring Operation: 62*138=8556, Resulting Numbers: [8556]
8556,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 41:[58, 8], Operations: ['80-5=75', '75-67=8']
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,41 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[67, 17], Operations: ['80-5=75', '75-58=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,41 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[75, 9], Operations: ['80-5=75', '67-58=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,41 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[75, 125], Operations: ['80-5=75', '67+58=125']
Exploring Operation: 125-75=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 75+125=200, Resulting Numbers: [200]
200,41 unequal: No Solution
Exploring Operation: 75*125=9375, Resulting Numbers: [9375]
9375,41 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
92,
27,
48
] | 77 | [
"48/4=12",
"92-27=65",
"12+65=77"
] | Current State: 77:[4, 92, 27, 48], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [92, 27, 12]
Generated Node #2: [92, 27, 12] from Operation: 48/4=12
Current State: 77:[92, 27, 12], Operations: ['48/4=12']
Exploring Operation: 92-27=65, Resulting Numbers: [12, 65]
Generated Node #3: [12, 65] from Operation: 92-27=65
Current State: 77:[12, 65], Operations: ['48/4=12', '92-27=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 92, 27, 48], Operations: []
Exploring Operation: 27+48=75, Resulting Numbers: [4, 92, 75]
Generated Node #0,0: 77:[4, 92, 75] Operation: 27+48=75
Exploring Operation: 48/4=12, Resulting Numbers: [92, 27, 12]
Generated Node #0,1: 77:[92, 27, 12] Operation: 48/4=12
Exploring Operation: 48-27=21, Resulting Numbers: [4, 92, 21]
Generated Node #0,2: 77:[4, 92, 21] Operation: 48-27=21
Moving to Node #0,0
Current State: 77:[4, 92, 75], Operations: ['27+48=75']
Exploring Operation: 92-4=88, Resulting Numbers: [75, 88]
Generated Node #0,0,0: 77:[75, 88] Operation: 92-4=88
Exploring Operation: 92-75=17, Resulting Numbers: [4, 17]
Generated Node #0,0,1: 77:[4, 17] Operation: 92-75=17
Exploring Operation: 92/4=23, Resulting Numbers: [75, 23]
Generated Node #0,0,2: 77:[75, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[4, 17], Operations: ['27+48=75', '92-75=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[75, 88], Operations: ['27+48=75', '92-4=88']
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 75*88=6600, Resulting Numbers: [6600]
6600,77 unequal: No Solution
Exploring Operation: 75+88=163, Resulting Numbers: [163]
163,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[75, 23], Operations: ['27+48=75', '92/4=23']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,77 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,77 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: 77:[4, 92, 21], Operations: ['48-27=21']
Exploring Operation: 21-4=17, Resulting Numbers: [92, 17]
Generated Node #0,2,0: 77:[92, 17] Operation: 21-4=17
Exploring Operation: 92-4=88, Resulting Numbers: [21, 88]
Generated Node #0,2,1: 77:[21, 88] Operation: 92-4=88
Exploring Operation: 92-21=71, Resulting Numbers: [4, 71]
Generated Node #0,2,2: 77:[4, 71] Operation: 92-21=71
Moving to Node #0,1
Current State: 77:[92, 27, 12], Operations: ['48/4=12']
Exploring Operation: 92-27=65, Resulting Numbers: [12, 65]
Generated Node #0,1,0: 77:[12, 65] Operation: 92-27=65
Exploring Operation: 27-12=15, Resulting Numbers: [92, 15]
Generated Node #0,1,1: 77:[92, 15] Operation: 27-12=15
Exploring Operation: 92-12=80, Resulting Numbers: [27, 80]
Generated Node #0,1,2: 77:[27, 80] Operation: 92-12=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[12, 65], Operations: ['48/4=12', '92-27=65']
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,77 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[4, 92, 27, 48], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [92, 27, 12]
Generated Node #0,1: 77:[92, 27, 12] Operation: 48/4=12
Moving to Node #0,1
Current State: 77:[92, 27, 12], Operations: ['48/4=12']
Exploring Operation: 92-27=65, Resulting Numbers: [12, 65]
Generated Node #0,1,0: 77:[12, 65] Operation: 92-27=65
Moving to Node #0,1,0
Current State: 77:[12, 65], Operations: ['48/4=12', '92-27=65']
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
38,
8,
63,
1
] | 46 | [
"63+1=64",
"64/8=8",
"38+8=46"
] | Current State: 46:[38, 8, 63, 1], Operations: []
Exploring Operation: 63+1=64, Resulting Numbers: [38, 8, 64]
Generated Node #2: [38, 8, 64] from Operation: 63+1=64
Current State: 46:[38, 8, 64], Operations: ['63+1=64']
Exploring Operation: 64/8=8, Resulting Numbers: [38, 8]
Generated Node #3: [38, 8] from Operation: 64/8=8
Current State: 46:[38, 8], Operations: ['63+1=64', '64/8=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[38, 8, 63, 1], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [8, 1, 25]
Generated Node #0,0: 46:[8, 1, 25] Operation: 63-38=25
Exploring Operation: 38-8=30, Resulting Numbers: [63, 1, 30]
Generated Node #0,1: 46:[63, 1, 30] Operation: 38-8=30
Exploring Operation: 63-8=55, Resulting Numbers: [38, 1, 55]
Generated Node #0,2: 46:[38, 1, 55] Operation: 63-8=55
Exploring Operation: 38+8=46, Resulting Numbers: [63, 1, 46]
Generated Node #0,3: 46:[63, 1, 46] Operation: 38+8=46
Moving to Node #0,0
Current State: 46:[8, 1, 25], Operations: ['63-38=25']
Exploring Operation: 25-8=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 46:[1, 17] Operation: 25-8=17
Exploring Operation: 8-1=7, Resulting Numbers: [25, 7]
Generated Node #0,0,1: 46:[25, 7] Operation: 8-1=7
Exploring Operation: 8*1=8, Resulting Numbers: [25, 8]
Generated Node #0,0,2: 46:[25, 8] Operation: 8*1=8
Exploring Operation: 25-1=24, Resulting Numbers: [8, 24]
Generated Node #0,0,3: 46:[8, 24] Operation: 25-1=24
Moving to Node #0,3
Current State: 46:[63, 1, 46], Operations: ['38+8=46']
Exploring Operation: 63-1=62, Resulting Numbers: [46, 62]
Generated Node #0,3,0: 46:[46, 62] Operation: 63-1=62
Exploring Operation: 63*1=63, Resulting Numbers: [46, 63]
Generated Node #0,3,1: 46:[46, 63] Operation: 63*1=63
Exploring Operation: 63-46=17, Resulting Numbers: [1, 17]
Generated Node #0,3,2: 46:[1, 17] Operation: 63-46=17
Exploring Operation: 63/1=63, Resulting Numbers: [46, 63]
Generated Node #0,3,3: 46:[46, 63] Operation: 63/1=63
Moving to Node #0,2
Current State: 46:[38, 1, 55], Operations: ['63-8=55']
Exploring Operation: 38*1=38, Resulting Numbers: [55, 38]
Generated Node #0,2,0: 46:[55, 38] Operation: 38*1=38
Exploring Operation: 55-38=17, Resulting Numbers: [1, 17]
Generated Node #0,2,1: 46:[1, 17] Operation: 55-38=17
Exploring Operation: 38+1=39, Resulting Numbers: [55, 39]
Generated Node #0,2,2: 46:[55, 39] Operation: 38+1=39
Exploring Operation: 55-1=54, Resulting Numbers: [38, 54]
Generated Node #0,2,3: 46:[38, 54] Operation: 55-1=54
Moving to Node #0,1
Current State: 46:[63, 1, 30], Operations: ['38-8=30']
Exploring Operation: 63*1=63, Resulting Numbers: [30, 63]
Generated Node #0,1,0: 46:[30, 63] Operation: 63*1=63
Exploring Operation: 30-1=29, Resulting Numbers: [63, 29]
Generated Node #0,1,1: 46:[63, 29] Operation: 30-1=29
Exploring Operation: 63-30=33, Resulting Numbers: [1, 33]
Generated Node #0,1,2: 46:[1, 33] Operation: 63-30=33
Exploring Operation: 63-1=62, Resulting Numbers: [30, 62]
Generated Node #0,1,3: 46:[30, 62] Operation: 63-1=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[1, 33], Operations: ['38-8=30', '63-30=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[63, 29], Operations: ['38-8=30', '30-1=29']
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,46 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[30, 62], Operations: ['38-8=30', '63-1=62']
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,46 unequal: No Solution
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,46 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[30, 63], Operations: ['38-8=30', '63*1=63']
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,46 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,46 unequal: No Solution
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,46 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: 46:[1, 17], Operations: ['63-38=25', '25-8=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[8, 24], Operations: ['63-38=25', '25-1=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,46 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[25, 7], Operations: ['63-38=25', '8-1=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,46 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[1, 17], Operations: ['38+8=46', '63-46=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[1, 17], Operations: ['63-8=55', '55-38=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[25, 8], Operations: ['63-38=25', '8*1=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[46, 62], Operations: ['38+8=46', '63-1=62']
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,46 unequal: No Solution
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[55, 39], Operations: ['63-8=55', '38+1=39']
Exploring Operation: 55*39=2145, Resulting Numbers: [2145]
2145,46 unequal: No Solution
Exploring Operation: 55+39=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[38, 54], Operations: ['63-8=55', '55-1=54']
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,46 unequal: No Solution
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[55, 38], Operations: ['63-8=55', '38*1=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,46 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,46 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[46, 63], Operations: ['38+8=46', '63*1=63']
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,46 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[46, 63], Operations: ['38+8=46', '63/1=63']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,46 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,46 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
36,
13,
59
] | 69 | [
"13+59=72",
"72/36=2",
"67+2=69"
] | Current State: 69:[67, 36, 13, 59], Operations: []
Exploring Operation: 13+59=72, Resulting Numbers: [67, 36, 72]
Generated Node #2: [67, 36, 72] from Operation: 13+59=72
Current State: 69:[67, 36, 72], Operations: ['13+59=72']
Exploring Operation: 72/36=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 72/36=2
Current State: 69:[67, 2], Operations: ['13+59=72', '72/36=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[67, 36, 13, 59], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [67, 13, 23]
Generated Node #0,0: 69:[67, 13, 23] Operation: 59-36=23
Exploring Operation: 67-59=8, Resulting Numbers: [36, 13, 8]
Generated Node #0,1: 69:[36, 13, 8] Operation: 67-59=8
Exploring Operation: 13+59=72, Resulting Numbers: [67, 36, 72]
Generated Node #0,2: 69:[67, 36, 72] Operation: 13+59=72
Exploring Operation: 36-13=23, Resulting Numbers: [67, 59, 23]
Generated Node #0,3: 69:[67, 59, 23] Operation: 36-13=23
Exploring Operation: 67-36=31, Resulting Numbers: [13, 59, 31]
Generated Node #0,4: 69:[13, 59, 31] Operation: 67-36=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[67, 13, 23], Operations: ['59-36=23']
Exploring Operation: 67-13=54, Resulting Numbers: [23, 54]
Generated Node #0,0,0: 69:[23, 54] Operation: 67-13=54
Exploring Operation: 23-13=10, Resulting Numbers: [67, 10]
Generated Node #0,0,1: 69:[67, 10] Operation: 23-13=10
Exploring Operation: 67+13=80, Resulting Numbers: [23, 80]
Generated Node #0,0,2: 69:[23, 80] Operation: 67+13=80
Exploring Operation: 13+23=36, Resulting Numbers: [67, 36]
Generated Node #0,0,3: 69:[67, 36] Operation: 13+23=36
Exploring Operation: 67+23=90, Resulting Numbers: [13, 90]
Generated Node #0,0,4: 69:[13, 90] Operation: 67+23=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[67, 10], Operations: ['59-36=23', '23-13=10']
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,69 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[23, 80], Operations: ['59-36=23', '67+13=80']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[23, 54], Operations: ['59-36=23', '67-13=54']
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,69 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[67, 36], Operations: ['59-36=23', '13+23=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,69 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 69:[13, 90], Operations: ['59-36=23', '67+23=90']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 13*90=1170, Resulting Numbers: [1170]
1170,69 unequal: No Solution
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[67, 59, 23], Operations: ['36-13=23']
Exploring Operation: 67+23=90, Resulting Numbers: [59, 90]
Generated Node #0,3,0: 69:[59, 90] Operation: 67+23=90
Exploring Operation: 67-23=44, Resulting Numbers: [59, 44]
Generated Node #0,3,1: 69:[59, 44] Operation: 67-23=44
Exploring Operation: 59-23=36, Resulting Numbers: [67, 36]
Generated Node #0,3,2: 69:[67, 36] Operation: 59-23=36
Exploring Operation: 59+23=82, Resulting Numbers: [67, 82]
Generated Node #0,3,3: 69:[67, 82] Operation: 59+23=82
Exploring Operation: 67-59=8, Resulting Numbers: [23, 8]
Generated Node #0,3,4: 69:[23, 8] Operation: 67-59=8
Moving to Node #0,3,4
Current State: 69:[23, 8], Operations: ['36-13=23', '67-59=8']
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,69 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[67, 82], Operations: ['36-13=23', '59+23=82']
Exploring Operation: 82-67=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 67+82=149, Resulting Numbers: [149]
149,69 unequal: No Solution
Exploring Operation: 67*82=5494, Resulting Numbers: [5494]
5494,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[67, 36], Operations: ['36-13=23', '59-23=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,69 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[59, 90], Operations: ['36-13=23', '67+23=90']
Exploring Operation: 59*90=5310, Resulting Numbers: [5310]
5310,69 unequal: No Solution
Exploring Operation: 59+90=149, Resulting Numbers: [149]
149,69 unequal: No Solution
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[59, 44], Operations: ['36-13=23', '67-23=44']
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,69 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[67, 36, 72], Operations: ['13+59=72']
Exploring Operation: 72-67=5, Resulting Numbers: [36, 5]
Generated Node #0,2,0: 69:[36, 5] Operation: 72-67=5
Exploring Operation: 72/36=2, Resulting Numbers: [67, 2]
Generated Node #0,2,1: 69:[67, 2] Operation: 72/36=2
Exploring Operation: 67+36=103, Resulting Numbers: [72, 103]
Generated Node #0,2,2: 69:[72, 103] Operation: 67+36=103
Exploring Operation: 72-36=36, Resulting Numbers: [67, 36]
Generated Node #0,2,3: 69:[67, 36] Operation: 72-36=36
Exploring Operation: 67-36=31, Resulting Numbers: [72, 31]
Generated Node #0,2,4: 69:[72, 31] Operation: 67-36=31
Moving to Node #0,2,1
Current State: 69:[67, 2], Operations: ['13+59=72', '72/36=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[67, 36, 13, 59], Operations: []
Exploring Operation: 13+59=72, Resulting Numbers: [67, 36, 72]
Generated Node #0,2: 69:[67, 36, 72] Operation: 13+59=72
Moving to Node #0,2
Current State: 69:[67, 36, 72], Operations: ['13+59=72']
Exploring Operation: 72/36=2, Resulting Numbers: [67, 2]
Generated Node #0,2,1: 69:[67, 2] Operation: 72/36=2
Moving to Node #0,2,1
Current State: 69:[67, 2], Operations: ['13+59=72', '72/36=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | mult_heuristic |
[
37,
15,
73,
1
] | 51 | [
"37-15=22",
"73*1=73",
"73-22=51"
] | Current State: 51:[37, 15, 73, 1], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [73, 1, 22]
Generated Node #2: [73, 1, 22] from Operation: 37-15=22
Current State: 51:[73, 1, 22], Operations: ['37-15=22']
Exploring Operation: 73*1=73, Resulting Numbers: [22, 73]
Generated Node #3: [22, 73] from Operation: 73*1=73
Current State: 51:[22, 73], Operations: ['37-15=22', '73*1=73']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[37, 15, 73, 1], Operations: []
Exploring Operation: 73-15=58, Resulting Numbers: [37, 1, 58]
Generated Node #0,0: 51:[37, 1, 58] Operation: 73-15=58
Exploring Operation: 37+15=52, Resulting Numbers: [73, 1, 52]
Generated Node #0,1: 51:[73, 1, 52] Operation: 37+15=52
Exploring Operation: 73-37=36, Resulting Numbers: [15, 1, 36]
Generated Node #0,2: 51:[15, 1, 36] Operation: 73-37=36
Moving to Node #0,2
Current State: 51:[15, 1, 36], Operations: ['73-37=36']
Exploring Operation: 15+36=51, Resulting Numbers: [1, 51]
Generated Node #0,2,0: 51:[1, 51] Operation: 15+36=51
Exploring Operation: 36-15=21, Resulting Numbers: [1, 21]
Generated Node #0,2,1: 51:[1, 21] Operation: 36-15=21
Exploring Operation: 15+1=16, Resulting Numbers: [36, 16]
Generated Node #0,2,2: 51:[36, 16] Operation: 15+1=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[1, 51], Operations: ['73-37=36', '15+36=51']
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[37, 15, 73, 1], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [15, 1, 36]
Generated Node #0,2: 51:[15, 1, 36] Operation: 73-37=36
Moving to Node #0,2
Current State: 51:[15, 1, 36], Operations: ['73-37=36']
Exploring Operation: 15+36=51, Resulting Numbers: [1, 51]
Generated Node #0,2,0: 51:[1, 51] Operation: 15+36=51
Moving to Node #0,2,0
Current State: 51:[1, 51], Operations: ['73-37=36', '15+36=51']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
25,
19,
77,
23
] | 98 | [
"25+19=44",
"77-23=54",
"44+54=98"
] | Current State: 98:[25, 19, 77, 23], Operations: []
Exploring Operation: 25+19=44, Resulting Numbers: [77, 23, 44]
Generated Node #2: [77, 23, 44] from Operation: 25+19=44
Current State: 98:[77, 23, 44], Operations: ['25+19=44']
Exploring Operation: 77-23=54, Resulting Numbers: [44, 54]
Generated Node #3: [44, 54] from Operation: 77-23=54
Current State: 98:[44, 54], Operations: ['25+19=44', '77-23=54']
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[25, 19, 77, 23], Operations: []
Exploring Operation: 25+77=102, Resulting Numbers: [19, 23, 102]
Generated Node #0,0: 98:[19, 23, 102] Operation: 25+77=102
Exploring Operation: 77+23=100, Resulting Numbers: [25, 19, 100]
Generated Node #0,1: 98:[25, 19, 100] Operation: 77+23=100
Exploring Operation: 77-25=52, Resulting Numbers: [19, 23, 52]
Generated Node #0,2: 98:[19, 23, 52] Operation: 77-25=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[19, 23, 52], Operations: ['77-25=52']
Exploring Operation: 23-19=4, Resulting Numbers: [52, 4]
Generated Node #0,2,0: 98:[52, 4] Operation: 23-19=4
Exploring Operation: 19+23=42, Resulting Numbers: [52, 42]
Generated Node #0,2,1: 98:[52, 42] Operation: 19+23=42
Exploring Operation: 52-23=29, Resulting Numbers: [19, 29]
Generated Node #0,2,2: 98:[19, 29] Operation: 52-23=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[52, 4], Operations: ['77-25=52', '23-19=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[52, 42], Operations: ['77-25=52', '19+23=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 98:[19, 29], Operations: ['77-25=52', '52-23=29']
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,98 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[19, 23, 102], Operations: ['25+77=102']
Exploring Operation: 102-19=83, Resulting Numbers: [23, 83]
Generated Node #0,0,0: 98:[23, 83] Operation: 102-19=83
Exploring Operation: 23-19=4, Resulting Numbers: [102, 4]
Generated Node #0,0,1: 98:[102, 4] Operation: 23-19=4
Exploring Operation: 19+23=42, Resulting Numbers: [102, 42]
Generated Node #0,0,2: 98:[102, 42] Operation: 19+23=42
Moving to Node #0,0,1
Current State: 98:[102, 4], Operations: ['25+77=102', '23-19=4']
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[25, 19, 77, 23], Operations: []
Exploring Operation: 25+77=102, Resulting Numbers: [19, 23, 102]
Generated Node #0,0: 98:[19, 23, 102] Operation: 25+77=102
Moving to Node #0,0
Current State: 98:[19, 23, 102], Operations: ['25+77=102']
Exploring Operation: 23-19=4, Resulting Numbers: [102, 4]
Generated Node #0,0,1: 98:[102, 4] Operation: 23-19=4
Moving to Node #0,0,1
Current State: 98:[102, 4], Operations: ['25+77=102', '23-19=4']
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
64,
16,
40,
28
] | 66 | [
"16+40=56",
"56/28=2",
"64+2=66"
] | Current State: 66:[64, 16, 40, 28], Operations: []
Exploring Operation: 16+40=56, Resulting Numbers: [64, 28, 56]
Generated Node #2: [64, 28, 56] from Operation: 16+40=56
Current State: 66:[64, 28, 56], Operations: ['16+40=56']
Exploring Operation: 56/28=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 56/28=2
Current State: 66:[64, 2], Operations: ['16+40=56', '56/28=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[64, 16, 40, 28], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [64, 28, 24]
Generated Node #0,0: 66:[64, 28, 24] Operation: 40-16=24
Exploring Operation: 40-28=12, Resulting Numbers: [64, 16, 12]
Generated Node #0,1: 66:[64, 16, 12] Operation: 40-28=12
Moving to Node #0,1
Current State: 66:[64, 16, 12], Operations: ['40-28=12']
Exploring Operation: 64/16=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 66:[12, 4] Operation: 64/16=4
Exploring Operation: 16-12=4, Resulting Numbers: [64, 4]
Generated Node #0,1,1: 66:[64, 4] Operation: 16-12=4
Moving to Node #0,0
Current State: 66:[64, 28, 24], Operations: ['40-16=24']
Exploring Operation: 64-28=36, Resulting Numbers: [24, 36]
Generated Node #0,0,0: 66:[24, 36] Operation: 64-28=36
Exploring Operation: 28-24=4, Resulting Numbers: [64, 4]
Generated Node #0,0,1: 66:[64, 4] Operation: 28-24=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[64, 4], Operations: ['40-16=24', '28-24=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[24, 36], Operations: ['40-16=24', '64-28=36']
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 66:[12, 4], Operations: ['40-28=12', '64/16=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[64, 4], Operations: ['40-28=12', '16-12=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,66 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
81,
99,
12,
43
] | 13 | [
"99-81=18",
"43-12=31",
"31-18=13"
] | Current State: 13:[81, 99, 12, 43], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [12, 43, 18]
Generated Node #2: [12, 43, 18] from Operation: 99-81=18
Current State: 13:[12, 43, 18], Operations: ['99-81=18']
Exploring Operation: 43-12=31, Resulting Numbers: [18, 31]
Generated Node #3: [18, 31] from Operation: 43-12=31
Current State: 13:[18, 31], Operations: ['99-81=18', '43-12=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[81, 99, 12, 43], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [12, 43, 18]
Generated Node #0,0: 13:[12, 43, 18] Operation: 99-81=18
Exploring Operation: 99-43=56, Resulting Numbers: [81, 12, 56]
Generated Node #0,1: 13:[81, 12, 56] Operation: 99-43=56
Exploring Operation: 81-43=38, Resulting Numbers: [99, 12, 38]
Generated Node #0,2: 13:[99, 12, 38] Operation: 81-43=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[12, 43, 18], Operations: ['99-81=18']
Exploring Operation: 43-12=31, Resulting Numbers: [18, 31]
Generated Node #0,0,0: 13:[18, 31] Operation: 43-12=31
Exploring Operation: 18-12=6, Resulting Numbers: [43, 6]
Generated Node #0,0,1: 13:[43, 6] Operation: 18-12=6
Exploring Operation: 43-18=25, Resulting Numbers: [12, 25]
Generated Node #0,0,2: 13:[12, 25] Operation: 43-18=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[12, 25], Operations: ['99-81=18', '43-18=25']
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,13 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[81, 99, 12, 43], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [12, 43, 18]
Generated Node #0,0: 13:[12, 43, 18] Operation: 99-81=18
Moving to Node #0,0
Current State: 13:[12, 43, 18], Operations: ['99-81=18']
Exploring Operation: 43-18=25, Resulting Numbers: [12, 25]
Generated Node #0,0,2: 13:[12, 25] Operation: 43-18=25
Moving to Node #0,0,2
Current State: 13:[12, 25], Operations: ['99-81=18', '43-18=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
50,
91,
32,
34
] | 43 | [
"91-50=41",
"34-32=2",
"41+2=43"
] | Current State: 43:[50, 91, 32, 34], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [32, 34, 41]
Generated Node #2: [32, 34, 41] from Operation: 91-50=41
Current State: 43:[32, 34, 41], Operations: ['91-50=41']
Exploring Operation: 34-32=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 34-32=2
Current State: 43:[41, 2], Operations: ['91-50=41', '34-32=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[50, 91, 32, 34], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [32, 34, 41]
Generated Node #0,0: 43:[32, 34, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 43:[32, 34, 41], Operations: ['91-50=41']
Exploring Operation: 32+34=66, Resulting Numbers: [41, 66]
Generated Node #0,0,0: 43:[41, 66] Operation: 32+34=66
Moving to Node #0,0,0
Current State: 43:[41, 66], Operations: ['91-50=41', '32+34=66']
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,43 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
1,
6,
47
] | 13 | [
"6-1=5",
"47+5=52",
"52/4=13"
] | Current State: 13:[4, 1, 6, 47], Operations: []
Exploring Operation: 6-1=5, Resulting Numbers: [4, 47, 5]
Generated Node #2: [4, 47, 5] from Operation: 6-1=5
Current State: 13:[4, 47, 5], Operations: ['6-1=5']
Exploring Operation: 47+5=52, Resulting Numbers: [4, 52]
Generated Node #3: [4, 52] from Operation: 47+5=52
Current State: 13:[4, 52], Operations: ['6-1=5', '47+5=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[4, 1, 6, 47], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [1, 6, 43]
Generated Node #0,0: 13:[1, 6, 43] Operation: 47-4=43
Exploring Operation: 4+1=5, Resulting Numbers: [6, 47, 5]
Generated Node #0,1: 13:[6, 47, 5] Operation: 4+1=5
Exploring Operation: 1+6=7, Resulting Numbers: [4, 47, 7]
Generated Node #0,2: 13:[4, 47, 7] Operation: 1+6=7
Exploring Operation: 4+6=10, Resulting Numbers: [1, 47, 10]
Generated Node #0,3: 13:[1, 47, 10] Operation: 4+6=10
Exploring Operation: 47-1=46, Resulting Numbers: [4, 6, 46]
Generated Node #0,4: 13:[4, 6, 46] Operation: 47-1=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[1, 6, 43], Operations: ['47-4=43']
Exploring Operation: 6/1=6, Resulting Numbers: [43, 6]
Generated Node #0,0,0: 13:[43, 6] Operation: 6/1=6
Exploring Operation: 43-6=37, Resulting Numbers: [1, 37]
Generated Node #0,0,1: 13:[1, 37] Operation: 43-6=37
Exploring Operation: 1+6=7, Resulting Numbers: [43, 7]
Generated Node #0,0,2: 13:[43, 7] Operation: 1+6=7
Exploring Operation: 43-1=42, Resulting Numbers: [6, 42]
Generated Node #0,0,3: 13:[6, 42] Operation: 43-1=42
Exploring Operation: 1*6=6, Resulting Numbers: [43, 6]
Generated Node #0,0,4: 13:[43, 6] Operation: 1*6=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[1, 37], Operations: ['47-4=43', '43-6=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,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,0,2
Current State: 13:[43, 7], Operations: ['47-4=43', '1+6=7']
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,13 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,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,0,3
Current State: 13:[6, 42], Operations: ['47-4=43', '43-1=42']
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,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,0,0
Current State: 13:[43, 6], Operations: ['47-4=43', '6/1=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,13 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,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,0,4
Current State: 13:[43, 6], Operations: ['47-4=43', '1*6=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,13 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,13 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,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,1
Current State: 13:[6, 47, 5], Operations: ['4+1=5']
Exploring Operation: 47-5=42, Resulting Numbers: [6, 42]
Generated Node #0,1,0: 13:[6, 42] Operation: 47-5=42
Exploring Operation: 6+5=11, Resulting Numbers: [47, 11]
Generated Node #0,1,1: 13:[47, 11] Operation: 6+5=11
Exploring Operation: 47+5=52, Resulting Numbers: [6, 52]
Generated Node #0,1,2: 13:[6, 52] Operation: 47+5=52
Exploring Operation: 6-5=1, Resulting Numbers: [47, 1]
Generated Node #0,1,3: 13:[47, 1] Operation: 6-5=1
Exploring Operation: 47-6=41, Resulting Numbers: [5, 41]
Generated Node #0,1,4: 13:[5, 41] Operation: 47-6=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[6, 42], Operations: ['4+1=5', '47-5=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,13 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,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:[47, 11], Operations: ['4+1=5', '6+5=11']
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,13 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,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,4
Current State: 13:[5, 41], Operations: ['4+1=5', '47-6=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,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:[6, 52], Operations: ['4+1=5', '47+5=52']
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,13 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,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,3
Current State: 13:[47, 1], Operations: ['4+1=5', '6-5=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,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:[4, 47, 7], Operations: ['1+6=7']
Exploring Operation: 47-7=40, Resulting Numbers: [4, 40]
Generated Node #0,2,0: 13:[4, 40] Operation: 47-7=40
Exploring Operation: 47-4=43, Resulting Numbers: [7, 43]
Generated Node #0,2,1: 13:[7, 43] Operation: 47-4=43
Exploring Operation: 4+47=51, Resulting Numbers: [7, 51]
Generated Node #0,2,2: 13:[7, 51] Operation: 4+47=51
Exploring Operation: 4+7=11, Resulting Numbers: [47, 11]
Generated Node #0,2,3: 13:[47, 11] Operation: 4+7=11
Exploring Operation: 7-4=3, Resulting Numbers: [47, 3]
Generated Node #0,2,4: 13:[47, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[4, 40], Operations: ['1+6=7', '47-7=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,13 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,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:[7, 43], Operations: ['1+6=7', '47-4=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,13 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,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,3
Current State: 13:[47, 11], Operations: ['1+6=7', '4+7=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,13 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,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:[7, 51], Operations: ['1+6=7', '4+47=51']
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,13 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,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,4
Current State: 13:[47, 3], Operations: ['1+6=7', '7-4=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,13 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,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,3
Current State: 13:[1, 47, 10], Operations: ['4+6=10']
Exploring Operation: 1*47=47, Resulting Numbers: [10, 47]
Generated Node #0,3,0: 13:[10, 47] Operation: 1*47=47
Exploring Operation: 47-1=46, Resulting Numbers: [10, 46]
Generated Node #0,3,1: 13:[10, 46] Operation: 47-1=46
Exploring Operation: 47/1=47, Resulting Numbers: [10, 47]
Generated Node #0,3,2: 13:[10, 47] Operation: 47/1=47
Exploring Operation: 47-10=37, Resulting Numbers: [1, 37]
Generated Node #0,3,3: 13:[1, 37] Operation: 47-10=37
Exploring Operation: 1+10=11, Resulting Numbers: [47, 11]
Generated Node #0,3,4: 13:[47, 11] Operation: 1+10=11
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[10, 46], Operations: ['4+6=10', '47-1=46']
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,13 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,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,3,3
Current State: 13:[1, 37], Operations: ['4+6=10', '47-10=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,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,3,4
Current State: 13:[47, 11], Operations: ['4+6=10', '1+10=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,13 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,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,3,0
Current State: 13:[10, 47], Operations: ['4+6=10', '1*47=47']
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,13 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,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,3,2
Current State: 13:[10, 47], Operations: ['4+6=10', '47/1=47']
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,13 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,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,4
Current State: 13:[4, 6, 46], Operations: ['47-1=46']
Exploring Operation: 6-4=2, Resulting Numbers: [46, 2]
Generated Node #0,4,0: 13:[46, 2] Operation: 6-4=2
Exploring Operation: 4+6=10, Resulting Numbers: [46, 10]
Generated Node #0,4,1: 13:[46, 10] Operation: 4+6=10
Exploring Operation: 46-6=40, Resulting Numbers: [4, 40]
Generated Node #0,4,2: 13:[4, 40] Operation: 46-6=40
Exploring Operation: 46-4=42, Resulting Numbers: [6, 42]
Generated Node #0,4,3: 13:[6, 42] Operation: 46-4=42
Exploring Operation: 4*6=24, Resulting Numbers: [46, 24]
Generated Node #0,4,4: 13:[46, 24] Operation: 4*6=24
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 13:[46, 10], Operations: ['47-1=46', '4+6=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,13 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,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,4,2
Current State: 13:[4, 40], Operations: ['47-1=46', '46-6=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,13 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,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,4,3
Current State: 13:[6, 42], Operations: ['47-1=46', '46-4=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,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,4,0
Current State: 13:[46, 2], Operations: ['47-1=46', '6-4=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,13 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,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,4,4
Current State: 13:[46, 24], Operations: ['47-1=46', '4*6=24']
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,13 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,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_5 | mult_heuristic |
[
60,
45,
18,
77
] | 45 | [
"60+18=78",
"78-77=1",
"45*1=45"
] | Current State: 45:[60, 45, 18, 77], Operations: []
Exploring Operation: 60+18=78, Resulting Numbers: [45, 77, 78]
Generated Node #2: [45, 77, 78] from Operation: 60+18=78
Current State: 45:[45, 77, 78], Operations: ['60+18=78']
Exploring Operation: 78-77=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 78-77=1
Current State: 45:[45, 1], Operations: ['60+18=78', '78-77=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[60, 45, 18, 77], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [60, 45, 59]
Generated Node #0,0: 45:[60, 45, 59] Operation: 77-18=59
Exploring Operation: 77-60=17, Resulting Numbers: [45, 18, 17]
Generated Node #0,1: 45:[45, 18, 17] Operation: 77-60=17
Moving to Node #0,1
Current State: 45:[45, 18, 17], Operations: ['77-60=17']
Exploring Operation: 18+17=35, Resulting Numbers: [45, 35]
Generated Node #0,1,0: 45:[45, 35] Operation: 18+17=35
Exploring Operation: 18-17=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 45:[45, 1] Operation: 18-17=1
Moving to Node #0,0
Current State: 45:[60, 45, 59], Operations: ['77-18=59']
Exploring Operation: 60-59=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 45:[45, 1] Operation: 60-59=1
Exploring Operation: 60-45=15, Resulting Numbers: [59, 15]
Generated Node #0,0,1: 45:[59, 15] Operation: 60-45=15
Moving to Node #0,1,1
Current State: 45:[45, 1], Operations: ['77-60=17', '18-17=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[60, 45, 18, 77], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [45, 18, 17]
Generated Node #0,1: 45:[45, 18, 17] Operation: 77-60=17
Moving to Node #0,1
Current State: 45:[45, 18, 17], Operations: ['77-60=17']
Exploring Operation: 18-17=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 45:[45, 1] Operation: 18-17=1
Moving to Node #0,1,1
Current State: 45:[45, 1], Operations: ['77-60=17', '18-17=1']
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
2,
15,
88,
10
] | 18 | [
"2+88=90",
"15-10=5",
"90/5=18"
] | Current State: 18:[2, 15, 88, 10], Operations: []
Exploring Operation: 2+88=90, Resulting Numbers: [15, 10, 90]
Generated Node #2: [15, 10, 90] from Operation: 2+88=90
Current State: 18:[15, 10, 90], Operations: ['2+88=90']
Exploring Operation: 15-10=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 15-10=5
Current State: 18:[90, 5], Operations: ['2+88=90', '15-10=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[2, 15, 88, 10], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [15, 10, 44]
Generated Node #0,0: 18:[15, 10, 44] Operation: 88/2=44
Exploring Operation: 15-10=5, Resulting Numbers: [2, 88, 5]
Generated Node #0,1: 18:[2, 88, 5] Operation: 15-10=5
Exploring Operation: 88-15=73, Resulting Numbers: [2, 10, 73]
Generated Node #0,2: 18:[2, 10, 73] Operation: 88-15=73
Exploring Operation: 2+15=17, Resulting Numbers: [88, 10, 17]
Generated Node #0,3: 18:[88, 10, 17] Operation: 2+15=17
Exploring Operation: 88-10=78, Resulting Numbers: [2, 15, 78]
Generated Node #0,4: 18:[2, 15, 78] Operation: 88-10=78
Moving to Node #0,0
Current State: 18:[15, 10, 44], Operations: ['88/2=44']
Exploring Operation: 15-10=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 18:[44, 5] Operation: 15-10=5
Exploring Operation: 44-10=34, Resulting Numbers: [15, 34]
Generated Node #0,0,1: 18:[15, 34] Operation: 44-10=34
Exploring Operation: 44-15=29, Resulting Numbers: [10, 29]
Generated Node #0,0,2: 18:[10, 29] Operation: 44-15=29
Exploring Operation: 15+10=25, Resulting Numbers: [44, 25]
Generated Node #0,0,3: 18:[44, 25] Operation: 15+10=25
Exploring Operation: 10+44=54, Resulting Numbers: [15, 54]
Generated Node #0,0,4: 18:[15, 54] Operation: 10+44=54
Moving to Node #0,2
Current State: 18:[2, 10, 73], Operations: ['88-15=73']
Exploring Operation: 73-10=63, Resulting Numbers: [2, 63]
Generated Node #0,2,0: 18:[2, 63] Operation: 73-10=63
Exploring Operation: 10/2=5, Resulting Numbers: [73, 5]
Generated Node #0,2,1: 18:[73, 5] Operation: 10/2=5
Exploring Operation: 73-2=71, Resulting Numbers: [10, 71]
Generated Node #0,2,2: 18:[10, 71] Operation: 73-2=71
Exploring Operation: 10-2=8, Resulting Numbers: [73, 8]
Generated Node #0,2,3: 18:[73, 8] Operation: 10-2=8
Exploring Operation: 2*10=20, Resulting Numbers: [73, 20]
Generated Node #0,2,4: 18:[73, 20] Operation: 2*10=20
Moving to Node #0,4
Current State: 18:[2, 15, 78], Operations: ['88-10=78']
Exploring Operation: 78/2=39, Resulting Numbers: [15, 39]
Generated Node #0,4,0: 18:[15, 39] Operation: 78/2=39
Exploring Operation: 15-2=13, Resulting Numbers: [78, 13]
Generated Node #0,4,1: 18:[78, 13] Operation: 15-2=13
Exploring Operation: 2+15=17, Resulting Numbers: [78, 17]
Generated Node #0,4,2: 18:[78, 17] Operation: 2+15=17
Exploring Operation: 78-2=76, Resulting Numbers: [15, 76]
Generated Node #0,4,3: 18:[15, 76] Operation: 78-2=76
Exploring Operation: 78-15=63, Resulting Numbers: [2, 63]
Generated Node #0,4,4: 18:[2, 63] Operation: 78-15=63
Moving to Node #0,1
Current State: 18:[2, 88, 5], Operations: ['15-10=5']
Exploring Operation: 88/2=44, Resulting Numbers: [5, 44]
Generated Node #0,1,0: 18:[5, 44] Operation: 88/2=44
Exploring Operation: 5-2=3, Resulting Numbers: [88, 3]
Generated Node #0,1,1: 18:[88, 3] Operation: 5-2=3
Exploring Operation: 88-5=83, Resulting Numbers: [2, 83]
Generated Node #0,1,2: 18:[2, 83] Operation: 88-5=83
Exploring Operation: 88-2=86, Resulting Numbers: [5, 86]
Generated Node #0,1,3: 18:[5, 86] Operation: 88-2=86
Exploring Operation: 2+5=7, Resulting Numbers: [88, 7]
Generated Node #0,1,4: 18:[88, 7] Operation: 2+5=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[5, 44], Operations: ['15-10=5', '88/2=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,18 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[2, 83], Operations: ['15-10=5', '88-5=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,18 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[5, 86], Operations: ['15-10=5', '88-2=86']
Exploring Operation: 5*86=430, Resulting Numbers: [430]
430,18 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 5+86=91, Resulting Numbers: [91]
91,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[88, 3], Operations: ['15-10=5', '5-2=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[88, 7], Operations: ['15-10=5', '2+5=7']
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,18 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,18 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: 18:[88, 10, 17], Operations: ['2+15=17']
Exploring Operation: 88-10=78, Resulting Numbers: [17, 78]
Generated Node #0,3,0: 18:[17, 78] Operation: 88-10=78
Exploring Operation: 88+10=98, Resulting Numbers: [17, 98]
Generated Node #0,3,1: 18:[17, 98] Operation: 88+10=98
Exploring Operation: 10+17=27, Resulting Numbers: [88, 27]
Generated Node #0,3,2: 18:[88, 27] Operation: 10+17=27
Exploring Operation: 17-10=7, Resulting Numbers: [88, 7]
Generated Node #0,3,3: 18:[88, 7] Operation: 17-10=7
Exploring Operation: 88-17=71, Resulting Numbers: [10, 71]
Generated Node #0,3,4: 18:[10, 71] Operation: 88-17=71
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[10, 71], Operations: ['2+15=17', '88-17=71']
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,18 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[17, 78], Operations: ['2+15=17', '88-10=78']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 17*78=1326, Resulting Numbers: [1326]
1326,18 unequal: No Solution
Exploring Operation: 17+78=95, Resulting Numbers: [95]
95,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[88, 7], Operations: ['2+15=17', '17-10=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,18 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[88, 27], Operations: ['2+15=17', '10+17=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,18 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,18 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[17, 98], Operations: ['2+15=17', '88+10=98']
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 17+98=115, Resulting Numbers: [115]
115,18 unequal: No Solution
Exploring Operation: 17*98=1666, Resulting Numbers: [1666]
1666,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 18:[10, 29], Operations: ['88/2=44', '44-15=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[15, 34], Operations: ['88/2=44', '44-10=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,18 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[15, 39], Operations: ['88-10=78', '78/2=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,18 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,18 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[44, 5], Operations: ['88/2=44', '15-10=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,18 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[44, 25], Operations: ['88/2=44', '15+10=25']
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,18 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Moving to Node #0,0,4
Current State: 18:[15, 54], Operations: ['88/2=44', '10+44=54']
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,18 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[2, 63], Operations: ['88-15=73', '73-10=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[2, 63], Operations: ['88-10=78', '78-15=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[10, 71], Operations: ['88-15=73', '73-2=71']
Exploring Operation: 10*71=710, Resulting Numbers: [710]
710,18 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[73, 8], Operations: ['88-15=73', '10-2=8']
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,18 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[73, 5], Operations: ['88-15=73', '10/2=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,18 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[73, 20], Operations: ['88-15=73', '2*10=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,18 unequal: No Solution
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[15, 76], Operations: ['88-10=78', '78-2=76']
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,18 unequal: No Solution
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[78, 17], Operations: ['88-10=78', '2+15=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,18 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[78, 13], Operations: ['88-10=78', '15-2=13']
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,18 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
71,
66,
42,
7
] | 21 | [
"71-66=5",
"7-5=2",
"42/2=21"
] | Current State: 21:[71, 66, 42, 7], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [42, 7, 5]
Generated Node #2: [42, 7, 5] from Operation: 71-66=5
Current State: 21:[42, 7, 5], Operations: ['71-66=5']
Exploring Operation: 7-5=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 7-5=2
Current State: 21:[42, 2], Operations: ['71-66=5', '7-5=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[71, 66, 42, 7], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [42, 7, 5]
Generated Node #0,0: 21:[42, 7, 5] Operation: 71-66=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[42, 7, 5], Operations: ['71-66=5']
Exploring Operation: 42/7=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 21:[5, 6] Operation: 42/7=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[5, 6], Operations: ['71-66=5', '42/7=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
36,
78,
80
] | 81 | [
"80-78=2",
"36/2=18",
"63+18=81"
] | Current State: 81:[63, 36, 78, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [63, 36, 2]
Generated Node #2: [63, 36, 2] from Operation: 80-78=2
Current State: 81:[63, 36, 2], Operations: ['80-78=2']
Exploring Operation: 36/2=18, Resulting Numbers: [63, 18]
Generated Node #3: [63, 18] from Operation: 36/2=18
Current State: 81:[63, 18], Operations: ['80-78=2', '36/2=18']
Exploring Operation: 63+18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[63, 36, 78, 80], Operations: []
Exploring Operation: 80-78=2, Resulting Numbers: [63, 36, 2]
Generated Node #0,0: 81:[63, 36, 2] Operation: 80-78=2
Exploring Operation: 78-63=15, Resulting Numbers: [36, 80, 15]
Generated Node #0,1: 81:[36, 80, 15] Operation: 78-63=15
Exploring Operation: 63-36=27, Resulting Numbers: [78, 80, 27]
Generated Node #0,2: 81:[78, 80, 27] Operation: 63-36=27
Exploring Operation: 63+36=99, Resulting Numbers: [78, 80, 99]
Generated Node #0,3: 81:[78, 80, 99] Operation: 63+36=99
Exploring Operation: 80-63=17, Resulting Numbers: [36, 78, 17]
Generated Node #0,4: 81:[36, 78, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[78, 80, 27], Operations: ['63-36=27']
Exploring Operation: 80-78=2, Resulting Numbers: [27, 2]
Generated Node #0,2,0: 81:[27, 2] Operation: 80-78=2
Exploring Operation: 80+27=107, Resulting Numbers: [78, 107]
Generated Node #0,2,1: 81:[78, 107] Operation: 80+27=107
Exploring Operation: 80-27=53, Resulting Numbers: [78, 53]
Generated Node #0,2,2: 81:[78, 53] Operation: 80-27=53
Exploring Operation: 78-27=51, Resulting Numbers: [80, 51]
Generated Node #0,2,3: 81:[80, 51] Operation: 78-27=51
Exploring Operation: 78+27=105, Resulting Numbers: [80, 105]
Generated Node #0,2,4: 81:[80, 105] Operation: 78+27=105
Moving to Node #0,2,0
Current State: 81:[27, 2], Operations: ['63-36=27', '80-78=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[80, 105], Operations: ['63-36=27', '78+27=105']
Exploring Operation: 105-80=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 80+105=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 80*105=8400, Resulting Numbers: [8400]
8400,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[80, 51], Operations: ['63-36=27', '78-27=51']
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,81 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[78, 107], Operations: ['63-36=27', '80+27=107']
Exploring Operation: 78+107=185, Resulting Numbers: [185]
185,81 unequal: No Solution
Exploring Operation: 78*107=8346, Resulting Numbers: [8346]
8346,81 unequal: No Solution
Exploring Operation: 107-78=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[78, 53], Operations: ['63-36=27', '80-27=53']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 78+53=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 78*53=4134, Resulting Numbers: [4134]
4134,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[36, 80, 15], Operations: ['78-63=15']
Exploring Operation: 80+15=95, Resulting Numbers: [36, 95]
Generated Node #0,1,0: 81:[36, 95] Operation: 80+15=95
Exploring Operation: 80-15=65, Resulting Numbers: [36, 65]
Generated Node #0,1,1: 81:[36, 65] Operation: 80-15=65
Exploring Operation: 36+15=51, Resulting Numbers: [80, 51]
Generated Node #0,1,2: 81:[80, 51] Operation: 36+15=51
Exploring Operation: 80-36=44, Resulting Numbers: [15, 44]
Generated Node #0,1,3: 81:[15, 44] Operation: 80-36=44
Exploring Operation: 36-15=21, Resulting Numbers: [80, 21]
Generated Node #0,1,4: 81:[80, 21] Operation: 36-15=21
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 81:[80, 21], Operations: ['78-63=15', '36-15=21']
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,81 unequal: No Solution
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[36, 95], Operations: ['78-63=15', '80+15=95']
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,81 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[15, 44], Operations: ['78-63=15', '80-36=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,81 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[36, 65], Operations: ['78-63=15', '80-15=65']
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,81 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[80, 51], Operations: ['78-63=15', '36+15=51']
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,81 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[36, 78, 17], Operations: ['80-63=17']
Exploring Operation: 78-36=42, Resulting Numbers: [17, 42]
Generated Node #0,4,0: 81:[17, 42] Operation: 78-36=42
Exploring Operation: 78+17=95, Resulting Numbers: [36, 95]
Generated Node #0,4,1: 81:[36, 95] Operation: 78+17=95
Exploring Operation: 78-17=61, Resulting Numbers: [36, 61]
Generated Node #0,4,2: 81:[36, 61] Operation: 78-17=61
Exploring Operation: 36-17=19, Resulting Numbers: [78, 19]
Generated Node #0,4,3: 81:[78, 19] Operation: 36-17=19
Exploring Operation: 36+17=53, Resulting Numbers: [78, 53]
Generated Node #0,4,4: 81:[78, 53] Operation: 36+17=53
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 81:[78, 19], Operations: ['80-63=17', '36-17=19']
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,81 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 81:[17, 42], Operations: ['80-63=17', '78-36=42']
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,81 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 81:[36, 95], Operations: ['80-63=17', '78+17=95']
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,81 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 81:[36, 61], Operations: ['80-63=17', '78-17=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 36*61=2196, Resulting Numbers: [2196]
2196,81 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 81:[78, 53], Operations: ['80-63=17', '36+17=53']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 78+53=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 78*53=4134, Resulting Numbers: [4134]
4134,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[78, 80, 99], Operations: ['63+36=99']
Exploring Operation: 99-78=21, Resulting Numbers: [80, 21]
Generated Node #0,3,0: 81:[80, 21] Operation: 99-78=21
Exploring Operation: 78+80=158, Resulting Numbers: [99, 158]
Generated Node #0,3,1: 81:[99, 158] Operation: 78+80=158
Exploring Operation: 80-78=2, Resulting Numbers: [99, 2]
Generated Node #0,3,2: 81:[99, 2] Operation: 80-78=2
Exploring Operation: 99-80=19, Resulting Numbers: [78, 19]
Generated Node #0,3,3: 81:[78, 19] Operation: 99-80=19
Exploring Operation: 78+99=177, Resulting Numbers: [80, 177]
Generated Node #0,3,4: 81:[80, 177] Operation: 78+99=177
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[80, 21], Operations: ['63+36=99', '99-78=21']
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 81:[78, 19], Operations: ['63+36=99', '99-80=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[99, 2], Operations: ['63+36=99', '80-78=2']
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,81 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[99, 158], Operations: ['63+36=99', '78+80=158']
Exploring Operation: 158-99=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 99+158=257, Resulting Numbers: [257]
257,81 unequal: No Solution
Exploring Operation: 99*158=15642, Resulting Numbers: [15642]
15642,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 81:[80, 177], Operations: ['63+36=99', '78+99=177']
Exploring Operation: 80*177=14160, Resulting Numbers: [14160]
14160,81 unequal: No Solution
Exploring Operation: 80+177=257, Resulting Numbers: [257]
257,81 unequal: No Solution
Exploring Operation: 177-80=97, Resulting Numbers: [97]
97,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[63, 36, 2], Operations: ['80-78=2']
Exploring Operation: 36-2=34, Resulting Numbers: [63, 34]
Generated Node #0,0,0: 81:[63, 34] Operation: 36-2=34
Exploring Operation: 36*2=72, Resulting Numbers: [63, 72]
Generated Node #0,0,1: 81:[63, 72] Operation: 36*2=72
Exploring Operation: 63+36=99, Resulting Numbers: [2, 99]
Generated Node #0,0,2: 81:[2, 99] Operation: 63+36=99
Exploring Operation: 63-36=27, Resulting Numbers: [2, 27]
Generated Node #0,0,3: 81:[2, 27] Operation: 63-36=27
Exploring Operation: 63+2=65, Resulting Numbers: [36, 65]
Generated Node #0,0,4: 81:[36, 65] Operation: 63+2=65
Moving to Node #0,0,3
Current State: 81:[2, 27], Operations: ['80-78=2', '63-36=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[2, 99], Operations: ['80-78=2', '63+36=99']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[63, 34], Operations: ['80-78=2', '36-2=34']
Exploring Operation: 63+34=97, Resulting Numbers: [97]
97,81 unequal: No Solution
Exploring Operation: 63*34=2142, Resulting Numbers: [2142]
2142,81 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Moving to Node #0,0,4
Current State: 81:[36, 65], Operations: ['80-78=2', '63+2=65']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,81 unequal: No Solution
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[63, 72], Operations: ['80-78=2', '36*2=72']
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,81 unequal: No Solution
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,81 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,81 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 |
[
30,
46,
22,
32
] | 42 | [
"30-22=8",
"32/8=4",
"46-4=42"
] | Current State: 42:[30, 46, 22, 32], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [46, 32, 8]
Generated Node #2: [46, 32, 8] from Operation: 30-22=8
Current State: 42:[46, 32, 8], Operations: ['30-22=8']
Exploring Operation: 32/8=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 32/8=4
Current State: 42:[46, 4], Operations: ['30-22=8', '32/8=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[30, 46, 22, 32], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [46, 22, 2]
Generated Node #0,0: 42:[46, 22, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[46, 22, 2], Operations: ['32-30=2']
Exploring Operation: 46-22=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 42:[2, 24] Operation: 46-22=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[2, 24], Operations: ['32-30=2', '46-22=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,42 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 |
[
17,
59,
20,
7
] | 55 | [
"59-17=42",
"20-7=13",
"42+13=55"
] | Current State: 55:[17, 59, 20, 7], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [20, 7, 42]
Generated Node #2: [20, 7, 42] from Operation: 59-17=42
Current State: 55:[20, 7, 42], Operations: ['59-17=42']
Exploring Operation: 20-7=13, Resulting Numbers: [42, 13]
Generated Node #3: [42, 13] from Operation: 20-7=13
Current State: 55:[42, 13], Operations: ['59-17=42', '20-7=13']
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[17, 59, 20, 7], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [59, 7, 3]
Generated Node #0,0: 55:[59, 7, 3] Operation: 20-17=3
Exploring Operation: 17-7=10, Resulting Numbers: [59, 20, 10]
Generated Node #0,1: 55:[59, 20, 10] Operation: 17-7=10
Exploring Operation: 20-7=13, Resulting Numbers: [17, 59, 13]
Generated Node #0,2: 55:[17, 59, 13] Operation: 20-7=13
Moving to Node #0,0
Current State: 55:[59, 7, 3], Operations: ['20-17=3']
Exploring Operation: 7+3=10, Resulting Numbers: [59, 10]
Generated Node #0,0,0: 55:[59, 10] Operation: 7+3=10
Exploring Operation: 59-3=56, Resulting Numbers: [7, 56]
Generated Node #0,0,1: 55:[7, 56] Operation: 59-3=56
Exploring Operation: 59-7=52, Resulting Numbers: [3, 52]
Generated Node #0,0,2: 55:[3, 52] Operation: 59-7=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[7, 56], Operations: ['20-17=3', '59-3=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[59, 10], Operations: ['20-17=3', '7+3=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,55 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[3, 52], Operations: ['20-17=3', '59-7=52']
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,55 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[17, 59, 20, 7], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [59, 7, 3]
Generated Node #0,0: 55:[59, 7, 3] Operation: 20-17=3
Moving to Node #0,0
Current State: 55:[59, 7, 3], Operations: ['20-17=3']
Exploring Operation: 59-7=52, Resulting Numbers: [3, 52]
Generated Node #0,0,2: 55:[3, 52] Operation: 59-7=52
Moving to Node #0,0,2
Current State: 55:[3, 52], Operations: ['20-17=3', '59-7=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
11,
32,
3,
90
] | 82 | [
"11*32=352",
"3*90=270",
"352-270=82"
] | Current State: 82:[11, 32, 3, 90], Operations: []
Exploring Operation: 11*32=352, Resulting Numbers: [3, 90, 352]
Generated Node #2: [3, 90, 352] from Operation: 11*32=352
Current State: 82:[3, 90, 352], Operations: ['11*32=352']
Exploring Operation: 3*90=270, Resulting Numbers: [352, 270]
Generated Node #3: [352, 270] from Operation: 3*90=270
Current State: 82:[352, 270], Operations: ['11*32=352', '3*90=270']
Exploring Operation: 352-270=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[11, 32, 3, 90], Operations: []
Exploring Operation: 11+32=43, Resulting Numbers: [3, 90, 43]
Generated Node #0,0: 82:[3, 90, 43] Operation: 11+32=43
Exploring Operation: 11-3=8, Resulting Numbers: [32, 90, 8]
Generated Node #0,1: 82:[32, 90, 8] Operation: 11-3=8
Exploring Operation: 90-11=79, Resulting Numbers: [32, 3, 79]
Generated Node #0,2: 82:[32, 3, 79] Operation: 90-11=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[3, 90, 43], Operations: ['11+32=43']
Exploring Operation: 90-43=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 82:[3, 47] Operation: 90-43=47
Exploring Operation: 43-3=40, Resulting Numbers: [90, 40]
Generated Node #0,0,1: 82:[90, 40] Operation: 43-3=40
Exploring Operation: 90-3=87, Resulting Numbers: [43, 87]
Generated Node #0,0,2: 82:[43, 87] Operation: 90-3=87
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[3, 47], Operations: ['11+32=43', '90-43=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[43, 87], Operations: ['11+32=43', '90-3=87']
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,82 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[90, 40], Operations: ['11+32=43', '43-3=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[32, 3, 79], Operations: ['90-11=79']
Exploring Operation: 32+3=35, Resulting Numbers: [79, 35]
Generated Node #0,2,0: 82:[79, 35] Operation: 32+3=35
Exploring Operation: 79-32=47, Resulting Numbers: [3, 47]
Generated Node #0,2,1: 82:[3, 47] Operation: 79-32=47
Exploring Operation: 3+79=82, Resulting Numbers: [32, 82]
Generated Node #0,2,2: 82:[32, 82] Operation: 3+79=82
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[3, 47], Operations: ['90-11=79', '79-32=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,82 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[79, 35], Operations: ['90-11=79', '32+3=35']
Exploring Operation: 79+35=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 79*35=2765, Resulting Numbers: [2765]
2765,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[32, 82], Operations: ['90-11=79', '3+79=82']
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[32, 90, 8], Operations: ['11-3=8']
Exploring Operation: 32/8=4, Resulting Numbers: [90, 4]
Generated Node #0,1,0: 82:[90, 4] Operation: 32/8=4
Exploring Operation: 90-8=82, Resulting Numbers: [32, 82]
Generated Node #0,1,1: 82:[32, 82] Operation: 90-8=82
Exploring Operation: 32+8=40, Resulting Numbers: [90, 40]
Generated Node #0,1,2: 82:[90, 40] Operation: 32+8=40
Moving to Node #0,1,1
Current State: 82:[32, 82], Operations: ['11-3=8', '90-8=82']
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,82 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[90, 40], Operations: ['11-3=8', '32+8=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[90, 4], Operations: ['11-3=8', '32/8=4']
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,82 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,82 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
15,
17,
3,
1
] | 68 | [
"15/3=5",
"5-1=4",
"17*4=68"
] | Current State: 68:[15, 17, 3, 1], Operations: []
Exploring Operation: 15/3=5, Resulting Numbers: [17, 1, 5]
Generated Node #2: [17, 1, 5] from Operation: 15/3=5
Current State: 68:[17, 1, 5], Operations: ['15/3=5']
Exploring Operation: 5-1=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 5-1=4
Current State: 68:[17, 4], Operations: ['15/3=5', '5-1=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[15, 17, 3, 1], Operations: []
Exploring Operation: 17-15=2, Resulting Numbers: [3, 1, 2]
Generated Node #0,0: 68:[3, 1, 2] Operation: 17-15=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[3, 1, 2], Operations: ['17-15=2']
Exploring Operation: 3+1=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 68:[2, 4] Operation: 3+1=4
Moving to Node #0,0,0
Current State: 68:[2, 4], Operations: ['17-15=2', '3+1=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
4,
62,
16
] | 91 | [
"25+62=87",
"16/4=4",
"87+4=91"
] | Current State: 91:[25, 4, 62, 16], Operations: []
Exploring Operation: 25+62=87, Resulting Numbers: [4, 16, 87]
Generated Node #2: [4, 16, 87] from Operation: 25+62=87
Current State: 91:[4, 16, 87], Operations: ['25+62=87']
Exploring Operation: 16/4=4, Resulting Numbers: [87, 4]
Generated Node #3: [87, 4] from Operation: 16/4=4
Current State: 91:[87, 4], Operations: ['25+62=87', '16/4=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[25, 4, 62, 16], Operations: []
Exploring Operation: 25+62=87, Resulting Numbers: [4, 16, 87]
Generated Node #0,0: 91:[4, 16, 87] Operation: 25+62=87
Exploring Operation: 62+16=78, Resulting Numbers: [25, 4, 78]
Generated Node #0,1: 91:[25, 4, 78] Operation: 62+16=78
Exploring Operation: 25-16=9, Resulting Numbers: [4, 62, 9]
Generated Node #0,2: 91:[4, 62, 9] Operation: 25-16=9
Exploring Operation: 62-25=37, Resulting Numbers: [4, 16, 37]
Generated Node #0,3: 91:[4, 16, 37] Operation: 62-25=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[4, 16, 87], Operations: ['25+62=87']
Exploring Operation: 4+16=20, Resulting Numbers: [87, 20]
Generated Node #0,0,0: 91:[87, 20] Operation: 4+16=20
Exploring Operation: 16/4=4, Resulting Numbers: [87, 4]
Generated Node #0,0,1: 91:[87, 4] Operation: 16/4=4
Exploring Operation: 4+87=91, Resulting Numbers: [16, 91]
Generated Node #0,0,2: 91:[16, 91] Operation: 4+87=91
Exploring Operation: 16-4=12, Resulting Numbers: [87, 12]
Generated Node #0,0,3: 91:[87, 12] Operation: 16-4=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 91:[16, 91], Operations: ['25+62=87', '4+87=91']
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,91 unequal: No Solution
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 91:[87, 12], Operations: ['25+62=87', '16-4=12']
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 87*12=1044, Resulting Numbers: [1044]
1044,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[87, 4], Operations: ['25+62=87', '16/4=4']
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,91 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[25, 4, 62, 16], Operations: []
Exploring Operation: 25+62=87, Resulting Numbers: [4, 16, 87]
Generated Node #0,0: 91:[4, 16, 87] Operation: 25+62=87
Moving to Node #0,0
Current State: 91:[4, 16, 87], Operations: ['25+62=87']
Exploring Operation: 16/4=4, Resulting Numbers: [87, 4]
Generated Node #0,0,1: 91:[87, 4] Operation: 16/4=4
Moving to Node #0,0,1
Current State: 91:[87, 4], Operations: ['25+62=87', '16/4=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
83,
36,
57,
14
] | 26 | [
"83+57=140",
"140/14=10",
"36-10=26"
] | Current State: 26:[83, 36, 57, 14], Operations: []
Exploring Operation: 83+57=140, Resulting Numbers: [36, 14, 140]
Generated Node #2: [36, 14, 140] from Operation: 83+57=140
Current State: 26:[36, 14, 140], Operations: ['83+57=140']
Exploring Operation: 140/14=10, Resulting Numbers: [36, 10]
Generated Node #3: [36, 10] from Operation: 140/14=10
Current State: 26:[36, 10], Operations: ['83+57=140', '140/14=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[83, 36, 57, 14], Operations: []
Exploring Operation: 57-36=21, Resulting Numbers: [83, 14, 21]
Generated Node #0,0: 26:[83, 14, 21] Operation: 57-36=21
Exploring Operation: 83-14=69, Resulting Numbers: [36, 57, 69]
Generated Node #0,1: 26:[36, 57, 69] Operation: 83-14=69
Exploring Operation: 57-14=43, Resulting Numbers: [83, 36, 43]
Generated Node #0,2: 26:[83, 36, 43] Operation: 57-14=43
Exploring Operation: 83-57=26, Resulting Numbers: [36, 14, 26]
Generated Node #0,3: 26:[36, 14, 26] Operation: 83-57=26
Exploring Operation: 83-36=47, Resulting Numbers: [57, 14, 47]
Generated Node #0,4: 26:[57, 14, 47] Operation: 83-36=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[36, 14, 26], Operations: ['83-57=26']
Exploring Operation: 26-14=12, Resulting Numbers: [36, 12]
Generated Node #0,3,0: 26:[36, 12] Operation: 26-14=12
Exploring Operation: 36-14=22, Resulting Numbers: [26, 22]
Generated Node #0,3,1: 26:[26, 22] Operation: 36-14=22
Exploring Operation: 36+14=50, Resulting Numbers: [26, 50]
Generated Node #0,3,2: 26:[26, 50] Operation: 36+14=50
Exploring Operation: 14+26=40, Resulting Numbers: [36, 40]
Generated Node #0,3,3: 26:[36, 40] Operation: 14+26=40
Exploring Operation: 36-26=10, Resulting Numbers: [14, 10]
Generated Node #0,3,4: 26:[14, 10] Operation: 36-26=10
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[26, 22], Operations: ['83-57=26', '36-14=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 26:[14, 10], Operations: ['83-57=26', '36-26=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,26 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No 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: 26:[36, 12], Operations: ['83-57=26', '26-14=12']
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,26 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No 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: 26:[26, 50], Operations: ['83-57=26', '36+14=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,26 unequal: No Solution
No 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: 26:[36, 40], Operations: ['83-57=26', '14+26=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,26 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,26 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: 26:[57, 14, 47], Operations: ['83-36=47']
Exploring Operation: 57-47=10, Resulting Numbers: [14, 10]
Generated Node #0,4,0: 26:[14, 10] Operation: 57-47=10
Exploring Operation: 47-14=33, Resulting Numbers: [57, 33]
Generated Node #0,4,1: 26:[57, 33] Operation: 47-14=33
Exploring Operation: 57-14=43, Resulting Numbers: [47, 43]
Generated Node #0,4,2: 26:[47, 43] Operation: 57-14=43
Exploring Operation: 14+47=61, Resulting Numbers: [57, 61]
Generated Node #0,4,3: 26:[57, 61] Operation: 14+47=61
Exploring Operation: 57+14=71, Resulting Numbers: [47, 71]
Generated Node #0,4,4: 26:[47, 71] Operation: 57+14=71
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[14, 10], Operations: ['83-36=47', '57-47=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,26 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 26:[57, 33], Operations: ['83-36=47', '47-14=33']
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,26 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,26 unequal: No Solution
No 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: 26:[47, 43], Operations: ['83-36=47', '57-14=43']
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,26 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,26 unequal: No Solution
No 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: 26:[57, 61], Operations: ['83-36=47', '14+47=61']
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,26 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,26 unequal: No Solution
No 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: 26:[47, 71], Operations: ['83-36=47', '57+14=71']
Exploring Operation: 47+71=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 47*71=3337, Resulting Numbers: [3337]
3337,26 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,26 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: 26:[83, 14, 21], Operations: ['57-36=21']
Exploring Operation: 21-14=7, Resulting Numbers: [83, 7]
Generated Node #0,0,0: 26:[83, 7] Operation: 21-14=7
Exploring Operation: 83-21=62, Resulting Numbers: [14, 62]
Generated Node #0,0,1: 26:[14, 62] Operation: 83-21=62
Exploring Operation: 83+14=97, Resulting Numbers: [21, 97]
Generated Node #0,0,2: 26:[21, 97] Operation: 83+14=97
Exploring Operation: 83-14=69, Resulting Numbers: [21, 69]
Generated Node #0,0,3: 26:[21, 69] Operation: 83-14=69
Exploring Operation: 14+21=35, Resulting Numbers: [83, 35]
Generated Node #0,0,4: 26:[83, 35] Operation: 14+21=35
Moving to Node #0,0,1
Current State: 26:[14, 62], Operations: ['57-36=21', '83-21=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 14*62=868, Resulting Numbers: [868]
868,26 unequal: No Solution
Exploring Operation: 14+62=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[21, 69], Operations: ['57-36=21', '83-14=69']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 21*69=1449, Resulting Numbers: [1449]
1449,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[83, 7], Operations: ['57-36=21', '21-14=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,26 unequal: No Solution
Moving to Node #0,0,4
Current State: 26:[83, 35], Operations: ['57-36=21', '14+21=35']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,26 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[21, 97], Operations: ['57-36=21', '83+14=97']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 21+97=118, Resulting Numbers: [118]
118,26 unequal: No Solution
Exploring Operation: 21*97=2037, Resulting Numbers: [2037]
2037,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[36, 57, 69], Operations: ['83-14=69']
Exploring Operation: 69-36=33, Resulting Numbers: [57, 33]
Generated Node #0,1,0: 26:[57, 33] Operation: 69-36=33
Exploring Operation: 36+69=105, Resulting Numbers: [57, 105]
Generated Node #0,1,1: 26:[57, 105] Operation: 36+69=105
Exploring Operation: 57-36=21, Resulting Numbers: [69, 21]
Generated Node #0,1,2: 26:[69, 21] Operation: 57-36=21
Exploring Operation: 36+57=93, Resulting Numbers: [69, 93]
Generated Node #0,1,3: 26:[69, 93] Operation: 36+57=93
Exploring Operation: 69-57=12, Resulting Numbers: [36, 12]
Generated Node #0,1,4: 26:[36, 12] Operation: 69-57=12
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 26:[36, 12], Operations: ['83-14=69', '69-57=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,26 unequal: No Solution
No 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: 26:[57, 33], Operations: ['83-14=69', '69-36=33']
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 57*33=1881, Resulting Numbers: [1881]
1881,26 unequal: No Solution
Exploring Operation: 57+33=90, Resulting Numbers: [90]
90,26 unequal: No Solution
No 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: 26:[69, 21], Operations: ['83-14=69', '57-36=21']
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,26 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,26 unequal: No Solution
No 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: 26:[57, 105], Operations: ['83-14=69', '36+69=105']
Exploring Operation: 57*105=5985, Resulting Numbers: [5985]
5985,26 unequal: No Solution
Exploring Operation: 57+105=162, Resulting Numbers: [162]
162,26 unequal: No Solution
Exploring Operation: 105-57=48, Resulting Numbers: [48]
48,26 unequal: No Solution
No 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: 26:[69, 93], Operations: ['83-14=69', '36+57=93']
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 69+93=162, Resulting Numbers: [162]
162,26 unequal: No Solution
Exploring Operation: 69*93=6417, Resulting Numbers: [6417]
6417,26 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: 26:[83, 36, 43], Operations: ['57-14=43']
Exploring Operation: 83-36=47, Resulting Numbers: [43, 47]
Generated Node #0,2,0: 26:[43, 47] Operation: 83-36=47
Exploring Operation: 83-43=40, Resulting Numbers: [36, 40]
Generated Node #0,2,1: 26:[36, 40] Operation: 83-43=40
Exploring Operation: 83+36=119, Resulting Numbers: [43, 119]
Generated Node #0,2,2: 26:[43, 119] Operation: 83+36=119
Exploring Operation: 83+43=126, Resulting Numbers: [36, 126]
Generated Node #0,2,3: 26:[36, 126] Operation: 83+43=126
Exploring Operation: 43-36=7, Resulting Numbers: [83, 7]
Generated Node #0,2,4: 26:[83, 7] Operation: 43-36=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[36, 40], Operations: ['57-14=43', '83-43=40']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,26 unequal: No Solution
No 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: 26:[43, 47], Operations: ['57-14=43', '83-36=47']
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,26 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No 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: 26:[83, 7], Operations: ['57-14=43', '43-36=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,26 unequal: No Solution
No 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: 26:[43, 119], Operations: ['57-14=43', '83+36=119']
Exploring Operation: 119-43=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 43+119=162, Resulting Numbers: [162]
162,26 unequal: No Solution
Exploring Operation: 43*119=5117, Resulting Numbers: [5117]
5117,26 unequal: No Solution
No 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: 26:[36, 126], Operations: ['57-14=43', '83+43=126']
Exploring Operation: 126-36=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 36*126=4536, Resulting Numbers: [4536]
4536,26 unequal: No Solution
Exploring Operation: 36+126=162, Resulting Numbers: [162]
162,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
96,
24,
59
] | 87 | [
"7*96=672",
"672/24=28",
"59+28=87"
] | Current State: 87:[7, 96, 24, 59], Operations: []
Exploring Operation: 7*96=672, Resulting Numbers: [24, 59, 672]
Generated Node #2: [24, 59, 672] from Operation: 7*96=672
Current State: 87:[24, 59, 672], Operations: ['7*96=672']
Exploring Operation: 672/24=28, Resulting Numbers: [59, 28]
Generated Node #3: [59, 28] from Operation: 672/24=28
Current State: 87:[59, 28], Operations: ['7*96=672', '672/24=28']
Exploring Operation: 59+28=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[7, 96, 24, 59], Operations: []
Exploring Operation: 96-59=37, Resulting Numbers: [7, 24, 37]
Generated Node #0,0: 87:[7, 24, 37] Operation: 96-59=37
Moving to Node #0,0
Current State: 87:[7, 24, 37], Operations: ['96-59=37']
Exploring Operation: 37-7=30, Resulting Numbers: [24, 30]
Generated Node #0,0,0: 87:[24, 30] Operation: 37-7=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[24, 30], Operations: ['96-59=37', '37-7=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,87 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 |
[
31,
23,
41,
36
] | 62 | [
"31*36=1116",
"41-23=18",
"1116/18=62"
] | Current State: 62:[31, 23, 41, 36], Operations: []
Exploring Operation: 31*36=1116, Resulting Numbers: [23, 41, 1116]
Generated Node #2: [23, 41, 1116] from Operation: 31*36=1116
Current State: 62:[23, 41, 1116], Operations: ['31*36=1116']
Exploring Operation: 41-23=18, Resulting Numbers: [1116, 18]
Generated Node #3: [1116, 18] from Operation: 41-23=18
Current State: 62:[1116, 18], Operations: ['31*36=1116', '41-23=18']
Exploring Operation: 1116/18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[31, 23, 41, 36], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [31, 23, 5]
Generated Node #0,0: 62:[31, 23, 5] Operation: 41-36=5
Exploring Operation: 23+41=64, Resulting Numbers: [31, 36, 64]
Generated Node #0,1: 62:[31, 36, 64] Operation: 23+41=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[31, 36, 64], Operations: ['23+41=64']
Exploring Operation: 36-31=5, Resulting Numbers: [64, 5]
Generated Node #0,1,0: 62:[64, 5] Operation: 36-31=5
Exploring Operation: 64-36=28, Resulting Numbers: [31, 28]
Generated Node #0,1,1: 62:[31, 28] Operation: 64-36=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[31, 28], Operations: ['23+41=64', '64-36=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[64, 5], Operations: ['23+41=64', '36-31=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[31, 23, 5], Operations: ['41-36=5']
Exploring Operation: 31-23=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 62:[5, 8] Operation: 31-23=8
Exploring Operation: 23+5=28, Resulting Numbers: [31, 28]
Generated Node #0,0,1: 62:[31, 28] Operation: 23+5=28
Moving to Node #0,0,1
Current State: 62:[31, 28], Operations: ['41-36=5', '23+5=28']
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[5, 8], Operations: ['41-36=5', '31-23=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,62 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 |
[
2,
74,
75,
95
] | 41 | [
"2*95=190",
"74+75=149",
"190-149=41"
] | Current State: 41:[2, 74, 75, 95], Operations: []
Exploring Operation: 2*95=190, Resulting Numbers: [74, 75, 190]
Generated Node #2: [74, 75, 190] from Operation: 2*95=190
Current State: 41:[74, 75, 190], Operations: ['2*95=190']
Exploring Operation: 74+75=149, Resulting Numbers: [190, 149]
Generated Node #3: [190, 149] from Operation: 74+75=149
Current State: 41:[190, 149], Operations: ['2*95=190', '74+75=149']
Exploring Operation: 190-149=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 74, 75, 95], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [75, 95, 37]
Generated Node #0,0: 41:[75, 95, 37] Operation: 74/2=37
Exploring Operation: 95-75=20, Resulting Numbers: [2, 74, 20]
Generated Node #0,1: 41:[2, 74, 20] Operation: 95-75=20
Exploring Operation: 95-74=21, Resulting Numbers: [2, 75, 21]
Generated Node #0,2: 41:[2, 75, 21] Operation: 95-74=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[75, 95, 37], Operations: ['74/2=37']
Exploring Operation: 95-37=58, Resulting Numbers: [75, 58]
Generated Node #0,0,0: 41:[75, 58] Operation: 95-37=58
Exploring Operation: 95-75=20, Resulting Numbers: [37, 20]
Generated Node #0,0,1: 41:[37, 20] Operation: 95-75=20
Exploring Operation: 75-37=38, Resulting Numbers: [95, 38]
Generated Node #0,0,2: 41:[95, 38] Operation: 75-37=38
Moving to Node #0,0,1
Current State: 41:[37, 20], Operations: ['74/2=37', '95-75=20']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,41 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[75, 58], Operations: ['74/2=37', '95-37=58']
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,41 unequal: No Solution
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,41 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[95, 38], Operations: ['74/2=37', '75-37=38']
Exploring Operation: 95+38=133, Resulting Numbers: [133]
133,41 unequal: No Solution
Exploring Operation: 95-38=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 95*38=3610, Resulting Numbers: [3610]
3610,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
Current State: 41:[2, 74, 20], Operations: ['95-75=20']
Exploring Operation: 74-2=72, Resulting Numbers: [20, 72]
Generated Node #0,1,0: 41:[20, 72] Operation: 74-2=72
Exploring Operation: 74/2=37, Resulting Numbers: [20, 37]
Generated Node #0,1,1: 41:[20, 37] Operation: 74/2=37
Exploring Operation: 2*20=40, Resulting Numbers: [74, 40]
Generated Node #0,1,2: 41:[74, 40] Operation: 2*20=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[20, 37], Operations: ['95-75=20', '74/2=37']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[74, 40], Operations: ['95-75=20', '2*20=40']
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,41 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[20, 72], Operations: ['95-75=20', '74-2=72']
Exploring Operation: 20+72=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 20*72=1440, Resulting Numbers: [1440]
1440,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[2, 75, 21], Operations: ['95-74=21']
Exploring Operation: 2*21=42, Resulting Numbers: [75, 42]
Generated Node #0,2,0: 41:[75, 42] Operation: 2*21=42
Exploring Operation: 2+21=23, Resulting Numbers: [75, 23]
Generated Node #0,2,1: 41:[75, 23] Operation: 2+21=23
Exploring Operation: 75-2=73, Resulting Numbers: [21, 73]
Generated Node #0,2,2: 41:[21, 73] Operation: 75-2=73
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 41:[75, 42], Operations: ['95-74=21', '2*21=42']
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,41 unequal: No Solution
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,41 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 41:[75, 23], Operations: ['95-74=21', '2+21=23']
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,41 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 41:[21, 73], Operations: ['95-74=21', '75-2=73']
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,41 unequal: No Solution
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,41 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
92,
4,
60,
2
] | 68 | [
"92-60=32",
"2*32=64",
"4+64=68"
] | Current State: 68:[92, 4, 60, 2], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [4, 2, 32]
Generated Node #2: [4, 2, 32] from Operation: 92-60=32
Current State: 68:[4, 2, 32], Operations: ['92-60=32']
Exploring Operation: 2*32=64, Resulting Numbers: [4, 64]
Generated Node #3: [4, 64] from Operation: 2*32=64
Current State: 68:[4, 64], Operations: ['92-60=32', '2*32=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[92, 4, 60, 2], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [4, 2, 32]
Generated Node #0,0: 68:[4, 2, 32] Operation: 92-60=32
Exploring Operation: 92/4=23, Resulting Numbers: [60, 2, 23]
Generated Node #0,1: 68:[60, 2, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[4, 2, 32], Operations: ['92-60=32']
Exploring Operation: 2+32=34, Resulting Numbers: [4, 34]
Generated Node #0,0,0: 68:[4, 34] Operation: 2+32=34
Exploring Operation: 32/2=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 68:[4, 16] Operation: 32/2=16
Moving to Node #0,0,0
Current State: 68:[4, 34], Operations: ['92-60=32', '2+32=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[4, 16], Operations: ['92-60=32', '32/2=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution 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: 68:[60, 2, 23], Operations: ['92/4=23']
Exploring Operation: 60/2=30, Resulting Numbers: [23, 30]
Generated Node #0,1,0: 68:[23, 30] Operation: 60/2=30
Exploring Operation: 60-23=37, Resulting Numbers: [2, 37]
Generated Node #0,1,1: 68:[2, 37] Operation: 60-23=37
Moving to Node #0,1,1
Current State: 68:[2, 37], Operations: ['92/4=23', '60-23=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[23, 30], Operations: ['92/4=23', '60/2=30']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,68 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 |
[
7,
88,
99,
85
] | 40 | [
"88-85=3",
"99/3=33",
"7+33=40"
] | Current State: 40:[7, 88, 99, 85], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [7, 99, 3]
Generated Node #2: [7, 99, 3] from Operation: 88-85=3
Current State: 40:[7, 99, 3], Operations: ['88-85=3']
Exploring Operation: 99/3=33, Resulting Numbers: [7, 33]
Generated Node #3: [7, 33] from Operation: 99/3=33
Current State: 40:[7, 33], Operations: ['88-85=3', '99/3=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[7, 88, 99, 85], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [7, 85, 11]
Generated Node #0,0: 40:[7, 85, 11] Operation: 99-88=11
Moving to Node #0,0
Current State: 40:[7, 85, 11], Operations: ['99-88=11']
Exploring Operation: 85-11=74, Resulting Numbers: [7, 74]
Generated Node #0,0,0: 40:[7, 74] Operation: 85-11=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[7, 74], Operations: ['99-88=11', '85-11=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,40 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 |
[
42,
79,
39,
39
] | 41 | [
"79-42=37",
"39+39=78",
"78-37=41"
] | Current State: 41:[42, 79, 39, 39], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [39, 39, 37]
Generated Node #2: [39, 39, 37] from Operation: 79-42=37
Current State: 41:[39, 39, 37], Operations: ['79-42=37']
Exploring Operation: 39+39=78, Resulting Numbers: [37, 78]
Generated Node #3: [37, 78] from Operation: 39+39=78
Current State: 41:[37, 78], Operations: ['79-42=37', '39+39=78']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[42, 79, 39, 39], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [42, 39, 40]
Generated Node #0,0: 41:[42, 39, 40] Operation: 79-39=40
Exploring Operation: 79-39=40, Resulting Numbers: [42, 39, 40]
Generated Node #0,1: 41:[42, 39, 40] Operation: 79-39=40
Exploring Operation: 79-42=37, Resulting Numbers: [39, 39, 37]
Generated Node #0,2: 41:[39, 39, 37] Operation: 79-42=37
Moving to Node #0,0
Current State: 41:[42, 39, 40], Operations: ['79-39=40']
Exploring Operation: 39+40=79, Resulting Numbers: [42, 79]
Generated Node #0,0,0: 41:[42, 79] Operation: 39+40=79
Exploring Operation: 42-39=3, Resulting Numbers: [40, 3]
Generated Node #0,0,1: 41:[40, 3] Operation: 42-39=3
Exploring Operation: 42+39=81, Resulting Numbers: [40, 81]
Generated Node #0,0,2: 41:[40, 81] Operation: 42+39=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[42, 79], Operations: ['79-39=40', '39+40=79']
Exploring Operation: 42+79=121, Resulting Numbers: [121]
121,41 unequal: No Solution
Exploring Operation: 42*79=3318, Resulting Numbers: [3318]
3318,41 unequal: No Solution
Exploring Operation: 79-42=37, Resulting Numbers: [37]
37,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[40, 3], Operations: ['79-39=40', '42-39=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,41 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[40, 81], Operations: ['79-39=40', '42+39=81']
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,41 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,41 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[42, 79, 39, 39], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [42, 39, 40]
Generated Node #0,0: 41:[42, 39, 40] Operation: 79-39=40
Moving to Node #0,0
Current State: 41:[42, 39, 40], Operations: ['79-39=40']
Exploring Operation: 42+39=81, Resulting Numbers: [40, 81]
Generated Node #0,0,2: 41:[40, 81] Operation: 42+39=81
Moving to Node #0,0,2
Current State: 41:[40, 81], Operations: ['79-39=40', '42+39=81']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
84,
17,
53,
79
] | 65 | [
"84-17=67",
"53+79=132",
"132-67=65"
] | Current State: 65:[84, 17, 53, 79], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [53, 79, 67]
Generated Node #2: [53, 79, 67] from Operation: 84-17=67
Current State: 65:[53, 79, 67], Operations: ['84-17=67']
Exploring Operation: 53+79=132, Resulting Numbers: [67, 132]
Generated Node #3: [67, 132] from Operation: 53+79=132
Current State: 65:[67, 132], Operations: ['84-17=67', '53+79=132']
Exploring Operation: 132-67=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[84, 17, 53, 79], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [17, 53, 5]
Generated Node #0,0: 65:[17, 53, 5] Operation: 84-79=5
Exploring Operation: 84-53=31, Resulting Numbers: [17, 79, 31]
Generated Node #0,1: 65:[17, 79, 31] Operation: 84-53=31
Exploring Operation: 79-17=62, Resulting Numbers: [84, 53, 62]
Generated Node #0,2: 65:[84, 53, 62] Operation: 79-17=62
Exploring Operation: 84-17=67, Resulting Numbers: [53, 79, 67]
Generated Node #0,3: 65:[53, 79, 67] Operation: 84-17=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[17, 53, 5], Operations: ['84-79=5']
Exploring Operation: 17-5=12, Resulting Numbers: [53, 12]
Generated Node #0,0,0: 65:[53, 12] Operation: 17-5=12
Exploring Operation: 53+5=58, Resulting Numbers: [17, 58]
Generated Node #0,0,1: 65:[17, 58] Operation: 53+5=58
Exploring Operation: 17+53=70, Resulting Numbers: [5, 70]
Generated Node #0,0,2: 65:[5, 70] Operation: 17+53=70
Exploring Operation: 17+5=22, Resulting Numbers: [53, 22]
Generated Node #0,0,3: 65:[53, 22] Operation: 17+5=22
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[5, 70], Operations: ['84-79=5', '17+53=70']
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,65 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[84, 17, 53, 79], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [17, 53, 5]
Generated Node #0,0: 65:[17, 53, 5] Operation: 84-79=5
Moving to Node #0,0
Current State: 65:[17, 53, 5], Operations: ['84-79=5']
Exploring Operation: 17+53=70, Resulting Numbers: [5, 70]
Generated Node #0,0,2: 65:[5, 70] Operation: 17+53=70
Moving to Node #0,0,2
Current State: 65:[5, 70], Operations: ['84-79=5', '17+53=70']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
34,
85,
32,
55
] | 28 | [
"85-34=51",
"55-32=23",
"51-23=28"
] | Current State: 28:[34, 85, 32, 55], Operations: []
Exploring Operation: 85-34=51, Resulting Numbers: [32, 55, 51]
Generated Node #2: [32, 55, 51] from Operation: 85-34=51
Current State: 28:[32, 55, 51], Operations: ['85-34=51']
Exploring Operation: 55-32=23, Resulting Numbers: [51, 23]
Generated Node #3: [51, 23] from Operation: 55-32=23
Current State: 28:[51, 23], Operations: ['85-34=51', '55-32=23']
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[34, 85, 32, 55], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [85, 32, 21]
Generated Node #0,0: 28:[85, 32, 21] Operation: 55-34=21
Exploring Operation: 85-32=53, Resulting Numbers: [34, 55, 53]
Generated Node #0,1: 28:[34, 55, 53] Operation: 85-32=53
Exploring Operation: 85-34=51, Resulting Numbers: [32, 55, 51]
Generated Node #0,2: 28:[32, 55, 51] Operation: 85-34=51
Exploring Operation: 85-55=30, Resulting Numbers: [34, 32, 30]
Generated Node #0,3: 28:[34, 32, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[34, 32, 30], Operations: ['85-55=30']
Exploring Operation: 34+32=66, Resulting Numbers: [30, 66]
Generated Node #0,3,0: 28:[30, 66] Operation: 34+32=66
Exploring Operation: 34-30=4, Resulting Numbers: [32, 4]
Generated Node #0,3,1: 28:[32, 4] Operation: 34-30=4
Exploring Operation: 32-30=2, Resulting Numbers: [34, 2]
Generated Node #0,3,2: 28:[34, 2] Operation: 32-30=2
Exploring Operation: 34-32=2, Resulting Numbers: [30, 2]
Generated Node #0,3,3: 28:[30, 2] Operation: 34-32=2
Moving to Node #0,3,3
Current State: 28:[30, 2], Operations: ['85-55=30', '34-32=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[34, 85, 32, 55], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [34, 32, 30]
Generated Node #0,3: 28:[34, 32, 30] Operation: 85-55=30
Moving to Node #0,3
Current State: 28:[34, 32, 30], Operations: ['85-55=30']
Exploring Operation: 34-32=2, Resulting Numbers: [30, 2]
Generated Node #0,3,3: 28:[30, 2] Operation: 34-32=2
Moving to Node #0,3,3
Current State: 28:[30, 2], Operations: ['85-55=30', '34-32=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
58,
58,
13,
4
] | 51 | [
"58/58=1",
"13*4=52",
"52-1=51"
] | Current State: 51:[58, 58, 13, 4], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [13, 4, 1]
Generated Node #2: [13, 4, 1] from Operation: 58/58=1
Current State: 51:[13, 4, 1], Operations: ['58/58=1']
Exploring Operation: 13*4=52, Resulting Numbers: [1, 52]
Generated Node #3: [1, 52] from Operation: 13*4=52
Current State: 51:[1, 52], Operations: ['58/58=1', '13*4=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[58, 58, 13, 4], Operations: []
Exploring Operation: 58-13=45, Resulting Numbers: [58, 4, 45]
Generated Node #0,0: 51:[58, 4, 45] Operation: 58-13=45
Exploring Operation: 58-58=0, Resulting Numbers: [13, 4, 0]
Generated Node #0,1: 51:[13, 4, 0] Operation: 58-58=0
Exploring Operation: 58/58=1, Resulting Numbers: [13, 4, 1]
Generated Node #0,2: 51:[13, 4, 1] Operation: 58/58=1
Exploring Operation: 58-4=54, Resulting Numbers: [58, 13, 54]
Generated Node #0,3: 51:[58, 13, 54] Operation: 58-4=54
Exploring Operation: 58-13=45, Resulting Numbers: [58, 4, 45]
Generated Node #0,4: 51:[58, 4, 45] Operation: 58-13=45
Moving to Node #0,2
Current State: 51:[13, 4, 1], Operations: ['58/58=1']
Exploring Operation: 13+4=17, Resulting Numbers: [1, 17]
Generated Node #0,2,0: 51:[1, 17] Operation: 13+4=17
Exploring Operation: 4-1=3, Resulting Numbers: [13, 3]
Generated Node #0,2,1: 51:[13, 3] Operation: 4-1=3
Exploring Operation: 13*4=52, Resulting Numbers: [1, 52]
Generated Node #0,2,2: 51:[1, 52] Operation: 13*4=52
Exploring Operation: 13+1=14, Resulting Numbers: [4, 14]
Generated Node #0,2,3: 51:[4, 14] Operation: 13+1=14
Exploring Operation: 13*1=13, Resulting Numbers: [4, 13]
Generated Node #0,2,4: 51:[4, 13] Operation: 13*1=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[1, 17], Operations: ['58/58=1', '13+4=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[1, 52], Operations: ['58/58=1', '13*4=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[58, 58, 13, 4], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [13, 4, 1]
Generated Node #0,2: 51:[13, 4, 1] Operation: 58/58=1
Moving to Node #0,2
Current State: 51:[13, 4, 1], Operations: ['58/58=1']
Exploring Operation: 13*4=52, Resulting Numbers: [1, 52]
Generated Node #0,2,2: 51:[1, 52] Operation: 13*4=52
Moving to Node #0,2,2
Current State: 51:[1, 52], Operations: ['58/58=1', '13*4=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
7,
84,
18,
76
] | 38 | [
"84-76=8",
"7*8=56",
"56-18=38"
] | Current State: 38:[7, 84, 18, 76], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [7, 18, 8]
Generated Node #2: [7, 18, 8] from Operation: 84-76=8
Current State: 38:[7, 18, 8], Operations: ['84-76=8']
Exploring Operation: 7*8=56, Resulting Numbers: [18, 56]
Generated Node #3: [18, 56] from Operation: 7*8=56
Current State: 38:[18, 56], Operations: ['84-76=8', '7*8=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[7, 84, 18, 76], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [7, 18, 8]
Generated Node #0,0: 38:[7, 18, 8] Operation: 84-76=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[7, 18, 8], Operations: ['84-76=8']
Exploring Operation: 8-7=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 38:[18, 1] Operation: 8-7=1
Moving to Node #0,0,0
Current State: 38:[18, 1], Operations: ['84-76=8', '8-7=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
69,
22,
18
] | 41 | [
"69/69=1",
"22+18=40",
"1+40=41"
] | Current State: 41:[69, 69, 22, 18], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [22, 18, 1]
Generated Node #2: [22, 18, 1] from Operation: 69/69=1
Current State: 41:[22, 18, 1], Operations: ['69/69=1']
Exploring Operation: 22+18=40, Resulting Numbers: [1, 40]
Generated Node #3: [1, 40] from Operation: 22+18=40
Current State: 41:[1, 40], Operations: ['69/69=1', '22+18=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[69, 69, 22, 18], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [69, 18, 47]
Generated Node #0,0: 41:[69, 18, 47] Operation: 69-22=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[69, 18, 47], Operations: ['69-22=47']
Exploring Operation: 69-18=51, Resulting Numbers: [47, 51]
Generated Node #0,0,0: 41:[47, 51] Operation: 69-18=51
Moving to Node #0,0,0
Current State: 41:[47, 51], Operations: ['69-22=47', '69-18=51']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,41 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 |
[
60,
49,
22,
6
] | 23 | [
"60+49=109",
"22*6=132",
"132-109=23"
] | Current State: 23:[60, 49, 22, 6], Operations: []
Exploring Operation: 60+49=109, Resulting Numbers: [22, 6, 109]
Generated Node #2: [22, 6, 109] from Operation: 60+49=109
Current State: 23:[22, 6, 109], Operations: ['60+49=109']
Exploring Operation: 22*6=132, Resulting Numbers: [109, 132]
Generated Node #3: [109, 132] from Operation: 22*6=132
Current State: 23:[109, 132], Operations: ['60+49=109', '22*6=132']
Exploring Operation: 132-109=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[60, 49, 22, 6], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [22, 6, 11]
Generated Node #0,0: 23:[22, 6, 11] Operation: 60-49=11
Exploring Operation: 60-22=38, Resulting Numbers: [49, 6, 38]
Generated Node #0,1: 23:[49, 6, 38] Operation: 60-22=38
Exploring Operation: 60/6=10, Resulting Numbers: [49, 22, 10]
Generated Node #0,2: 23:[49, 22, 10] Operation: 60/6=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[22, 6, 11], Operations: ['60-49=11']
Exploring Operation: 6+11=17, Resulting Numbers: [22, 17]
Generated Node #0,0,0: 23:[22, 17] Operation: 6+11=17
Exploring Operation: 22-6=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 23:[11, 16] Operation: 22-6=16
Exploring Operation: 22+6=28, Resulting Numbers: [11, 28]
Generated Node #0,0,2: 23:[11, 28] Operation: 22+6=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[22, 17], Operations: ['60-49=11', '6+11=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,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,0,2
Current State: 23:[11, 28], Operations: ['60-49=11', '22+6=28']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 11+28=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 11*28=308, Resulting Numbers: [308]
308,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,0,1
Current State: 23:[11, 16], Operations: ['60-49=11', '22-6=16']
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,23 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[49, 22, 10], Operations: ['60/6=10']
Exploring Operation: 49-10=39, Resulting Numbers: [22, 39]
Generated Node #0,2,0: 23:[22, 39] Operation: 49-10=39
Exploring Operation: 22+10=32, Resulting Numbers: [49, 32]
Generated Node #0,2,1: 23:[49, 32] Operation: 22+10=32
Exploring Operation: 49-22=27, Resulting Numbers: [10, 27]
Generated Node #0,2,2: 23:[10, 27] Operation: 49-22=27
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[22, 39], Operations: ['60/6=10', '49-10=39']
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,23 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,23 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[10, 27], Operations: ['60/6=10', '49-22=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,23 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[49, 32], Operations: ['60/6=10', '22+10=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,23 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[49, 6, 38], Operations: ['60-22=38']
Exploring Operation: 49-6=43, Resulting Numbers: [38, 43]
Generated Node #0,1,0: 23:[38, 43] Operation: 49-6=43
Exploring Operation: 49-38=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 23:[6, 11] Operation: 49-38=11
Exploring Operation: 38-6=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 23:[49, 32] Operation: 38-6=32
Moving to Node #0,1,1
Current State: 23:[6, 11], Operations: ['60-22=38', '49-38=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[38, 43], Operations: ['60-22=38', '49-6=43']
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,23 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,23 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[49, 32], Operations: ['60-22=38', '38-6=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,23 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,23 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 |
[
74,
8,
93,
91
] | 58 | [
"93-91=2",
"8*2=16",
"74-16=58"
] | Current State: 58:[74, 8, 93, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [74, 8, 2]
Generated Node #2: [74, 8, 2] from Operation: 93-91=2
Current State: 58:[74, 8, 2], Operations: ['93-91=2']
Exploring Operation: 8*2=16, Resulting Numbers: [74, 16]
Generated Node #3: [74, 16] from Operation: 8*2=16
Current State: 58:[74, 16], Operations: ['93-91=2', '8*2=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[74, 8, 93, 91], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [74, 8, 2]
Generated Node #0,0: 58:[74, 8, 2] Operation: 93-91=2
Moving to Node #0,0
Current State: 58:[74, 8, 2], Operations: ['93-91=2']
Exploring Operation: 74-8=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 58:[2, 66] Operation: 74-8=66
Moving to Node #0,0,0
Current State: 58:[2, 66], Operations: ['93-91=2', '74-8=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,58 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
8,
58,
42,
4
] | 48 | [
"8*4=32",
"58-42=16",
"32+16=48"
] | Current State: 48:[8, 58, 42, 4], Operations: []
Exploring Operation: 8*4=32, Resulting Numbers: [58, 42, 32]
Generated Node #2: [58, 42, 32] from Operation: 8*4=32
Current State: 48:[58, 42, 32], Operations: ['8*4=32']
Exploring Operation: 58-42=16, Resulting Numbers: [32, 16]
Generated Node #3: [32, 16] from Operation: 58-42=16
Current State: 48:[32, 16], Operations: ['8*4=32', '58-42=16']
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[8, 58, 42, 4], Operations: []
Exploring Operation: 8+42=50, Resulting Numbers: [58, 4, 50]
Generated Node #0,0: 48:[58, 4, 50] Operation: 8+42=50
Exploring Operation: 58-42=16, Resulting Numbers: [8, 4, 16]
Generated Node #0,1: 48:[8, 4, 16] Operation: 58-42=16
Exploring Operation: 58-8=50, Resulting Numbers: [42, 4, 50]
Generated Node #0,2: 48:[42, 4, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[8, 4, 16], Operations: ['58-42=16']
Exploring Operation: 8/4=2, Resulting Numbers: [16, 2]
Generated Node #0,1,0: 48:[16, 2] Operation: 8/4=2
Exploring Operation: 8+4=12, Resulting Numbers: [16, 12]
Generated Node #0,1,1: 48:[16, 12] Operation: 8+4=12
Exploring Operation: 8-4=4, Resulting Numbers: [16, 4]
Generated Node #0,1,2: 48:[16, 4] Operation: 8-4=4
Moving to Node #0,1,0
Current State: 48:[16, 2], Operations: ['58-42=16', '8/4=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[16, 12], Operations: ['58-42=16', '8+4=12']
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,48 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[16, 4], Operations: ['58-42=16', '8-4=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,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:[42, 4, 50], Operations: ['58-8=50']
Exploring Operation: 50-42=8, Resulting Numbers: [4, 8]
Generated Node #0,2,0: 48:[4, 8] Operation: 50-42=8
Exploring Operation: 50-4=46, Resulting Numbers: [42, 46]
Generated Node #0,2,1: 48:[42, 46] Operation: 50-4=46
Exploring Operation: 42+4=46, Resulting Numbers: [50, 46]
Generated Node #0,2,2: 48:[50, 46] Operation: 42+4=46
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[4, 8], Operations: ['58-8=50', '50-42=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,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:[50, 46], Operations: ['58-8=50', '42+4=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,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:[42, 46], Operations: ['58-8=50', '50-4=46']
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,48 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,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:[58, 4, 50], Operations: ['8+42=50']
Exploring Operation: 58-4=54, Resulting Numbers: [50, 54]
Generated Node #0,0,0: 48:[50, 54] Operation: 58-4=54
Exploring Operation: 50-4=46, Resulting Numbers: [58, 46]
Generated Node #0,0,1: 48:[58, 46] Operation: 50-4=46
Exploring Operation: 58-50=8, Resulting Numbers: [4, 8]
Generated Node #0,0,2: 48:[4, 8] Operation: 58-50=8
Moving to Node #0,0,2
Current State: 48:[4, 8], Operations: ['8+42=50', '58-50=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[50, 54], Operations: ['8+42=50', '58-4=54']
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,48 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,48 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[58, 46], Operations: ['8+42=50', '50-4=46']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,48 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
20,
84,
5,
70
] | 94 | [
"70-20=50",
"50/5=10",
"84+10=94"
] | Current State: 94:[20, 84, 5, 70], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [84, 5, 50]
Generated Node #2: [84, 5, 50] from Operation: 70-20=50
Current State: 94:[84, 5, 50], Operations: ['70-20=50']
Exploring Operation: 50/5=10, Resulting Numbers: [84, 10]
Generated Node #3: [84, 10] from Operation: 50/5=10
Current State: 94:[84, 10], Operations: ['70-20=50', '50/5=10']
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[20, 84, 5, 70], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [84, 5, 50]
Generated Node #0,0: 94:[84, 5, 50] Operation: 70-20=50
Exploring Operation: 84-70=14, Resulting Numbers: [20, 5, 14]
Generated Node #0,1: 94:[20, 5, 14] Operation: 84-70=14
Exploring Operation: 20+70=90, Resulting Numbers: [84, 5, 90]
Generated Node #0,2: 94:[84, 5, 90] Operation: 20+70=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[84, 5, 50], Operations: ['70-20=50']
Exploring Operation: 84+5=89, Resulting Numbers: [50, 89]
Generated Node #0,0,0: 94:[50, 89] Operation: 84+5=89
Exploring Operation: 50-5=45, Resulting Numbers: [84, 45]
Generated Node #0,0,1: 94:[84, 45] Operation: 50-5=45
Exploring Operation: 84-50=34, Resulting Numbers: [5, 34]
Generated Node #0,0,2: 94:[5, 34] Operation: 84-50=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[50, 89], Operations: ['70-20=50', '84+5=89']
Exploring Operation: 50+89=139, Resulting Numbers: [139]
139,94 unequal: No Solution
Exploring Operation: 50*89=4450, Resulting Numbers: [4450]
4450,94 unequal: No Solution
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,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:[84, 45], Operations: ['70-20=50', '50-5=45']
Exploring Operation: 84*45=3780, Resulting Numbers: [3780]
3780,94 unequal: No Solution
Exploring Operation: 84+45=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,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:[5, 34], Operations: ['70-20=50', '84-50=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,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,2
Current State: 94:[84, 5, 90], Operations: ['20+70=90']
Exploring Operation: 90-84=6, Resulting Numbers: [5, 6]
Generated Node #0,2,0: 94:[5, 6] Operation: 90-84=6
Exploring Operation: 5+90=95, Resulting Numbers: [84, 95]
Generated Node #0,2,1: 94:[84, 95] Operation: 5+90=95
Exploring Operation: 84+5=89, Resulting Numbers: [90, 89]
Generated Node #0,2,2: 94:[90, 89] Operation: 84+5=89
Moving to Node #0,2,0
Current State: 94:[5, 6], Operations: ['20+70=90', '90-84=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[90, 89], Operations: ['20+70=90', '84+5=89']
Exploring Operation: 90+89=179, Resulting Numbers: [179]
179,94 unequal: No Solution
Exploring Operation: 90*89=8010, Resulting Numbers: [8010]
8010,94 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[84, 95], Operations: ['20+70=90', '5+90=95']
Exploring Operation: 84+95=179, Resulting Numbers: [179]
179,94 unequal: No Solution
Exploring Operation: 84*95=7980, Resulting Numbers: [7980]
7980,94 unequal: No Solution
Exploring Operation: 95-84=11, Resulting Numbers: [11]
11,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
Current State: 94:[20, 5, 14], Operations: ['84-70=14']
Exploring Operation: 20/5=4, Resulting Numbers: [14, 4]
Generated Node #0,1,0: 94:[14, 4] Operation: 20/5=4
Exploring Operation: 20-14=6, Resulting Numbers: [5, 6]
Generated Node #0,1,1: 94:[5, 6] Operation: 20-14=6
Exploring Operation: 20+14=34, Resulting Numbers: [5, 34]
Generated Node #0,1,2: 94:[5, 34] Operation: 20+14=34
Moving to Node #0,1,1
Current State: 94:[5, 6], Operations: ['84-70=14', '20-14=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[14, 4], Operations: ['84-70=14', '20/5=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[5, 34], Operations: ['84-70=14', '20+14=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,94 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,94 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 |
[
30,
82,
78,
44
] | 18 | [
"82-30=52",
"78-44=34",
"52-34=18"
] | Current State: 18:[30, 82, 78, 44], Operations: []
Exploring Operation: 82-30=52, Resulting Numbers: [78, 44, 52]
Generated Node #2: [78, 44, 52] from Operation: 82-30=52
Current State: 18:[78, 44, 52], Operations: ['82-30=52']
Exploring Operation: 78-44=34, Resulting Numbers: [52, 34]
Generated Node #3: [52, 34] from Operation: 78-44=34
Current State: 18:[52, 34], Operations: ['82-30=52', '78-44=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[30, 82, 78, 44], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [30, 44, 4]
Generated Node #0,0: 18:[30, 44, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 18:[30, 44, 4], Operations: ['82-78=4']
Exploring Operation: 44-30=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 18:[4, 14] Operation: 44-30=14
Moving to Node #0,0,0
Current State: 18:[4, 14], Operations: ['82-78=4', '44-30=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[30, 82, 78, 44], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [30, 44, 4]
Generated Node #0,0: 18:[30, 44, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 18:[30, 44, 4], Operations: ['82-78=4']
Exploring Operation: 44-30=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 18:[4, 14] Operation: 44-30=14
Moving to Node #0,0,0
Current State: 18:[4, 14], Operations: ['82-78=4', '44-30=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
24,
2,
7,
76
] | 86 | [
"24+76=100",
"2*7=14",
"100-14=86"
] | Current State: 86:[24, 2, 7, 76], Operations: []
Exploring Operation: 24+76=100, Resulting Numbers: [2, 7, 100]
Generated Node #2: [2, 7, 100] from Operation: 24+76=100
Current State: 86:[2, 7, 100], Operations: ['24+76=100']
Exploring Operation: 2*7=14, Resulting Numbers: [100, 14]
Generated Node #3: [100, 14] from Operation: 2*7=14
Current State: 86:[100, 14], Operations: ['24+76=100', '2*7=14']
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[24, 2, 7, 76], Operations: []
Exploring Operation: 24+76=100, Resulting Numbers: [2, 7, 100]
Generated Node #0,0: 86:[2, 7, 100] Operation: 24+76=100
Exploring Operation: 76-24=52, Resulting Numbers: [2, 7, 52]
Generated Node #0,1: 86:[2, 7, 52] Operation: 76-24=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[2, 7, 52], Operations: ['76-24=52']
Exploring Operation: 7-2=5, Resulting Numbers: [52, 5]
Generated Node #0,1,0: 86:[52, 5] Operation: 7-2=5
Exploring Operation: 52-7=45, Resulting Numbers: [2, 45]
Generated Node #0,1,1: 86:[2, 45] Operation: 52-7=45
Moving to Node #0,1,1
Current State: 86:[2, 45], Operations: ['76-24=52', '52-7=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[52, 5], Operations: ['76-24=52', '7-2=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,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
Current State: 86:[2, 7, 100], Operations: ['24+76=100']
Exploring Operation: 100/2=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 86:[7, 50] Operation: 100/2=50
Exploring Operation: 100-7=93, Resulting Numbers: [2, 93]
Generated Node #0,0,1: 86:[2, 93] Operation: 100-7=93
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[2, 93], Operations: ['24+76=100', '100-7=93']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[7, 50], Operations: ['24+76=100', '100/2=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
54,
44,
69
] | 91 | [
"69-54=15",
"9*15=135",
"135-44=91"
] | Current State: 91:[9, 54, 44, 69], Operations: []
Exploring Operation: 69-54=15, Resulting Numbers: [9, 44, 15]
Generated Node #2: [9, 44, 15] from Operation: 69-54=15
Current State: 91:[9, 44, 15], Operations: ['69-54=15']
Exploring Operation: 9*15=135, Resulting Numbers: [44, 135]
Generated Node #3: [44, 135] from Operation: 9*15=135
Current State: 91:[44, 135], Operations: ['69-54=15', '9*15=135']
Exploring Operation: 135-44=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[9, 54, 44, 69], Operations: []
Exploring Operation: 54+44=98, Resulting Numbers: [9, 69, 98]
Generated Node #0,0: 91:[9, 69, 98] Operation: 54+44=98
Exploring Operation: 69-44=25, Resulting Numbers: [9, 54, 25]
Generated Node #0,1: 91:[9, 54, 25] Operation: 69-44=25
Exploring Operation: 69-54=15, Resulting Numbers: [9, 44, 15]
Generated Node #0,2: 91:[9, 44, 15] Operation: 69-54=15
Exploring Operation: 54-44=10, Resulting Numbers: [9, 69, 10]
Generated Node #0,3: 91:[9, 69, 10] Operation: 54-44=10
Exploring Operation: 54/9=6, Resulting Numbers: [44, 69, 6]
Generated Node #0,4: 91:[44, 69, 6] Operation: 54/9=6
Moving to Node #0,3
Current State: 91:[9, 69, 10], Operations: ['54-44=10']
Exploring Operation: 10-9=1, Resulting Numbers: [69, 1]
Generated Node #0,3,0: 91:[69, 1] Operation: 10-9=1
Exploring Operation: 9*10=90, Resulting Numbers: [69, 90]
Generated Node #0,3,1: 91:[69, 90] Operation: 9*10=90
Exploring Operation: 9+69=78, Resulting Numbers: [10, 78]
Generated Node #0,3,2: 91:[10, 78] Operation: 9+69=78
Exploring Operation: 9+10=19, Resulting Numbers: [69, 19]
Generated Node #0,3,3: 91:[69, 19] Operation: 9+10=19
Exploring Operation: 69+10=79, Resulting Numbers: [9, 79]
Generated Node #0,3,4: 91:[9, 79] Operation: 69+10=79
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 91:[9, 79], Operations: ['54-44=10', '69+10=79']
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,91 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,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:[10, 78], Operations: ['54-44=10', '9+69=78']
Exploring Operation: 10*78=780, Resulting Numbers: [780]
780,91 unequal: No Solution
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,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:[69, 90], Operations: ['54-44=10', '9*10=90']
Exploring Operation: 69*90=6210, Resulting Numbers: [6210]
6210,91 unequal: No Solution
Exploring Operation: 69+90=159, Resulting Numbers: [159]
159,91 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,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:[69, 1], Operations: ['54-44=10', '10-9=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,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,3
Current State: 91:[69, 19], Operations: ['54-44=10', '9+10=19']
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,91 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: 91:[9, 69, 98], Operations: ['54+44=98']
Exploring Operation: 9+98=107, Resulting Numbers: [69, 107]
Generated Node #0,0,0: 91:[69, 107] Operation: 9+98=107
Exploring Operation: 9+69=78, Resulting Numbers: [98, 78]
Generated Node #0,0,1: 91:[98, 78] Operation: 9+69=78
Exploring Operation: 98-69=29, Resulting Numbers: [9, 29]
Generated Node #0,0,2: 91:[9, 29] Operation: 98-69=29
Exploring Operation: 69-9=60, Resulting Numbers: [98, 60]
Generated Node #0,0,3: 91:[98, 60] Operation: 69-9=60
Exploring Operation: 98-9=89, Resulting Numbers: [69, 89]
Generated Node #0,0,4: 91:[69, 89] Operation: 98-9=89
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[9, 29], Operations: ['54+44=98', '98-69=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,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:[98, 78], Operations: ['54+44=98', '9+69=78']
Exploring Operation: 98*78=7644, Resulting Numbers: [7644]
7644,91 unequal: No Solution
Exploring Operation: 98-78=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 98+78=176, Resulting Numbers: [176]
176,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,4
Current State: 91:[69, 89], Operations: ['54+44=98', '98-9=89']
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 69+89=158, Resulting Numbers: [158]
158,91 unequal: No Solution
Exploring Operation: 69*89=6141, Resulting Numbers: [6141]
6141,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:[69, 107], Operations: ['54+44=98', '9+98=107']
Exploring Operation: 69+107=176, Resulting Numbers: [176]
176,91 unequal: No Solution
Exploring Operation: 69*107=7383, Resulting Numbers: [7383]
7383,91 unequal: No Solution
Exploring Operation: 107-69=38, Resulting Numbers: [38]
38,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:[98, 60], Operations: ['54+44=98', '69-9=60']
Exploring Operation: 98+60=158, Resulting Numbers: [158]
158,91 unequal: No Solution
Exploring Operation: 98-60=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 98*60=5880, Resulting Numbers: [5880]
5880,91 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: 91:[9, 44, 15], Operations: ['69-54=15']
Exploring Operation: 44-15=29, Resulting Numbers: [9, 29]
Generated Node #0,2,0: 91:[9, 29] Operation: 44-15=29
Exploring Operation: 15-9=6, Resulting Numbers: [44, 6]
Generated Node #0,2,1: 91:[44, 6] Operation: 15-9=6
Exploring Operation: 44+15=59, Resulting Numbers: [9, 59]
Generated Node #0,2,2: 91:[9, 59] Operation: 44+15=59
Exploring Operation: 44-9=35, Resulting Numbers: [15, 35]
Generated Node #0,2,3: 91:[15, 35] Operation: 44-9=35
Exploring Operation: 9+44=53, Resulting Numbers: [15, 53]
Generated Node #0,2,4: 91:[15, 53] Operation: 9+44=53
Moving to Node #0,1
Current State: 91:[9, 54, 25], Operations: ['69-44=25']
Exploring Operation: 9+54=63, Resulting Numbers: [25, 63]
Generated Node #0,1,0: 91:[25, 63] Operation: 9+54=63
Exploring Operation: 25-9=16, Resulting Numbers: [54, 16]
Generated Node #0,1,1: 91:[54, 16] Operation: 25-9=16
Exploring Operation: 54/9=6, Resulting Numbers: [25, 6]
Generated Node #0,1,2: 91:[25, 6] Operation: 54/9=6
Exploring Operation: 54-25=29, Resulting Numbers: [9, 29]
Generated Node #0,1,3: 91:[9, 29] Operation: 54-25=29
Exploring Operation: 54+25=79, Resulting Numbers: [9, 79]
Generated Node #0,1,4: 91:[9, 79] Operation: 54+25=79
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[25, 6], Operations: ['69-44=25', '54/9=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[9, 79], Operations: ['69-44=25', '54+25=79']
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,91 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[9, 29], Operations: ['69-44=25', '54-25=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,91 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[25, 63], Operations: ['69-44=25', '9+54=63']
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,91 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[54, 16], Operations: ['69-44=25', '25-9=16']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,91 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: 91:[44, 69, 6], Operations: ['54/9=6']
Exploring Operation: 69-44=25, Resulting Numbers: [6, 25]
Generated Node #0,4,0: 91:[6, 25] Operation: 69-44=25
Exploring Operation: 44-6=38, Resulting Numbers: [69, 38]
Generated Node #0,4,1: 91:[69, 38] Operation: 44-6=38
Exploring Operation: 44+6=50, Resulting Numbers: [69, 50]
Generated Node #0,4,2: 91:[69, 50] Operation: 44+6=50
Exploring Operation: 69+6=75, Resulting Numbers: [44, 75]
Generated Node #0,4,3: 91:[44, 75] Operation: 69+6=75
Exploring Operation: 44+69=113, Resulting Numbers: [6, 113]
Generated Node #0,4,4: 91:[6, 113] Operation: 44+69=113
Moving to Node #0,4,0
Current State: 91:[6, 25], Operations: ['54/9=6', '69-44=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,91 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[9, 29], Operations: ['69-54=15', '44-15=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,91 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[6, 113], Operations: ['54/9=6', '44+69=113']
Exploring Operation: 113-6=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 6+113=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 6*113=678, Resulting Numbers: [678]
678,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[15, 35], Operations: ['69-54=15', '44-9=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,91 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[44, 6], Operations: ['69-54=15', '15-9=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,91 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[9, 59], Operations: ['69-54=15', '44+15=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,91 unequal: No Solution
Moving to Node #0,2,4
Current State: 91:[15, 53], Operations: ['69-54=15', '9+44=53']
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[44, 75], Operations: ['54/9=6', '69+6=75']
Exploring Operation: 44+75=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 44*75=3300, Resulting Numbers: [3300]
3300,91 unequal: No Solution
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[69, 38], Operations: ['54/9=6', '44-6=38']
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,91 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[69, 50], Operations: ['54/9=6', '44+6=50']
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,91 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
94,
72,
58,
48
] | 83 | [
"94*72=6768",
"6768/48=141",
"141-58=83"
] | Current State: 83:[94, 72, 58, 48], Operations: []
Exploring Operation: 94*72=6768, Resulting Numbers: [58, 48, 6768]
Generated Node #2: [58, 48, 6768] from Operation: 94*72=6768
Current State: 83:[58, 48, 6768], Operations: ['94*72=6768']
Exploring Operation: 6768/48=141, Resulting Numbers: [58, 141]
Generated Node #3: [58, 141] from Operation: 6768/48=141
Current State: 83:[58, 141], Operations: ['94*72=6768', '6768/48=141']
Exploring Operation: 141-58=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[94, 72, 58, 48], Operations: []
Exploring Operation: 72+48=120, Resulting Numbers: [94, 58, 120]
Generated Node #0,0: 83:[94, 58, 120] Operation: 72+48=120
Exploring Operation: 94-48=46, Resulting Numbers: [72, 58, 46]
Generated Node #0,1: 83:[72, 58, 46] Operation: 94-48=46
Exploring Operation: 58+48=106, Resulting Numbers: [94, 72, 106]
Generated Node #0,2: 83:[94, 72, 106] Operation: 58+48=106
Exploring Operation: 94-58=36, Resulting Numbers: [72, 48, 36]
Generated Node #0,3: 83:[72, 48, 36] Operation: 94-58=36
Moving to Node #0,2
Current State: 83:[94, 72, 106], Operations: ['58+48=106']
Exploring Operation: 106-94=12, Resulting Numbers: [72, 12]
Generated Node #0,2,0: 83:[72, 12] Operation: 106-94=12
Exploring Operation: 106-72=34, Resulting Numbers: [94, 34]
Generated Node #0,2,1: 83:[94, 34] Operation: 106-72=34
Exploring Operation: 94-72=22, Resulting Numbers: [106, 22]
Generated Node #0,2,2: 83:[106, 22] Operation: 94-72=22
Exploring Operation: 94+72=166, Resulting Numbers: [106, 166]
Generated Node #0,2,3: 83:[106, 166] Operation: 94+72=166
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[94, 34], Operations: ['58+48=106', '106-72=34']
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,83 unequal: No Solution
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[72, 12], Operations: ['58+48=106', '106-94=12']
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,83 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[106, 22], Operations: ['58+48=106', '94-72=22']
Exploring Operation: 106-22=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 106+22=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 106*22=2332, Resulting Numbers: [2332]
2332,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[106, 166], Operations: ['58+48=106', '94+72=166']
Exploring Operation: 106*166=17596, Resulting Numbers: [17596]
17596,83 unequal: No Solution
Exploring Operation: 106+166=272, Resulting Numbers: [272]
272,83 unequal: No Solution
Exploring Operation: 166-106=60, Resulting Numbers: [60]
60,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[72, 58, 46], Operations: ['94-48=46']
Exploring Operation: 72-46=26, Resulting Numbers: [58, 26]
Generated Node #0,1,0: 83:[58, 26] Operation: 72-46=26
Exploring Operation: 58+46=104, Resulting Numbers: [72, 104]
Generated Node #0,1,1: 83:[72, 104] Operation: 58+46=104
Exploring Operation: 72+46=118, Resulting Numbers: [58, 118]
Generated Node #0,1,2: 83:[58, 118] Operation: 72+46=118
Exploring Operation: 58-46=12, Resulting Numbers: [72, 12]
Generated Node #0,1,3: 83:[72, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[72, 104], Operations: ['94-48=46', '58+46=104']
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,83 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[58, 118], Operations: ['94-48=46', '72+46=118']
Exploring Operation: 58+118=176, Resulting Numbers: [176]
176,83 unequal: No Solution
Exploring Operation: 118-58=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 58*118=6844, Resulting Numbers: [6844]
6844,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[58, 26], Operations: ['94-48=46', '72-46=26']
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,83 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[72, 12], Operations: ['94-48=46', '58-46=12']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,83 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,83 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 83:[94, 58, 120], Operations: ['72+48=120']
Exploring Operation: 120-94=26, Resulting Numbers: [58, 26]
Generated Node #0,0,0: 83:[58, 26] Operation: 120-94=26
Exploring Operation: 94+58=152, Resulting Numbers: [120, 152]
Generated Node #0,0,1: 83:[120, 152] Operation: 94+58=152
Exploring Operation: 94-58=36, Resulting Numbers: [120, 36]
Generated Node #0,0,2: 83:[120, 36] Operation: 94-58=36
Exploring Operation: 120-58=62, Resulting Numbers: [94, 62]
Generated Node #0,0,3: 83:[94, 62] Operation: 120-58=62
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[94, 62], Operations: ['72+48=120', '120-58=62']
Exploring Operation: 94-62=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 94*62=5828, Resulting Numbers: [5828]
5828,83 unequal: No Solution
Exploring Operation: 94+62=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[58, 26], Operations: ['72+48=120', '120-94=26']
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[120, 36], Operations: ['72+48=120', '94-58=36']
Exploring Operation: 120*36=4320, Resulting Numbers: [4320]
4320,83 unequal: No Solution
Exploring Operation: 120+36=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Exploring Operation: 120-36=84, Resulting Numbers: [84]
84,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[120, 152], Operations: ['72+48=120', '94+58=152']
Exploring Operation: 152-120=32, Resulting Numbers: [32]
32,83 unequal: No Solution
Exploring Operation: 120+152=272, Resulting Numbers: [272]
272,83 unequal: No Solution
Exploring Operation: 120*152=18240, Resulting Numbers: [18240]
18240,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 83:[72, 48, 36], Operations: ['94-58=36']
Exploring Operation: 48-36=12, Resulting Numbers: [72, 12]
Generated Node #0,3,0: 83:[72, 12] Operation: 48-36=12
Exploring Operation: 72+36=108, Resulting Numbers: [48, 108]
Generated Node #0,3,1: 83:[48, 108] Operation: 72+36=108
Exploring Operation: 72-36=36, Resulting Numbers: [48, 36]
Generated Node #0,3,2: 83:[48, 36] Operation: 72-36=36
Exploring Operation: 48+36=84, Resulting Numbers: [72, 84]
Generated Node #0,3,3: 83:[72, 84] Operation: 48+36=84
Moving to Node #0,3,3
Current State: 83:[72, 84], Operations: ['94-58=36', '48+36=84']
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 72*84=6048, Resulting Numbers: [6048]
6048,83 unequal: No Solution
Exploring Operation: 72+84=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[48, 108], Operations: ['94-58=36', '72+36=108']
Exploring Operation: 48*108=5184, Resulting Numbers: [5184]
5184,83 unequal: No Solution
Exploring Operation: 108-48=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 48+108=156, Resulting Numbers: [156]
156,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[48, 36], Operations: ['94-58=36', '72-36=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,83 unequal: No Solution
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,83 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[72, 12], Operations: ['94-58=36', '48-36=12']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,83 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,83 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
91,
52,
31,
47
] | 23 | [
"91-52=39",
"47-31=16",
"39-16=23"
] | Current State: 23:[91, 52, 31, 47], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [31, 47, 39]
Generated Node #2: [31, 47, 39] from Operation: 91-52=39
Current State: 23:[31, 47, 39], Operations: ['91-52=39']
Exploring Operation: 47-31=16, Resulting Numbers: [39, 16]
Generated Node #3: [39, 16] from Operation: 47-31=16
Current State: 23:[39, 16], Operations: ['91-52=39', '47-31=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[91, 52, 31, 47], Operations: []
Exploring Operation: 91-47=44, Resulting Numbers: [52, 31, 44]
Generated Node #0,0: 23:[52, 31, 44] Operation: 91-47=44
Exploring Operation: 91-52=39, Resulting Numbers: [31, 47, 39]
Generated Node #0,1: 23:[31, 47, 39] Operation: 91-52=39
Exploring Operation: 91-31=60, Resulting Numbers: [52, 47, 60]
Generated Node #0,2: 23:[52, 47, 60] Operation: 91-31=60
Moving to Node #0,1
Current State: 23:[31, 47, 39], Operations: ['91-52=39']
Exploring Operation: 39-31=8, Resulting Numbers: [47, 8]
Generated Node #0,1,0: 23:[47, 8] Operation: 39-31=8
Exploring Operation: 47-31=16, Resulting Numbers: [39, 16]
Generated Node #0,1,1: 23:[39, 16] Operation: 47-31=16
Exploring Operation: 47-39=8, Resulting Numbers: [31, 8]
Generated Node #0,1,2: 23:[31, 8] Operation: 47-39=8
Moving to Node #0,0
Current State: 23:[52, 31, 44], Operations: ['91-47=44']
Exploring Operation: 44-31=13, Resulting Numbers: [52, 13]
Generated Node #0,0,0: 23:[52, 13] Operation: 44-31=13
Exploring Operation: 52-44=8, Resulting Numbers: [31, 8]
Generated Node #0,0,1: 23:[31, 8] Operation: 52-44=8
Exploring Operation: 52-31=21, Resulting Numbers: [44, 21]
Generated Node #0,0,2: 23:[44, 21] Operation: 52-31=21
Moving to Node #0,2
Current State: 23:[52, 47, 60], Operations: ['91-31=60']
Exploring Operation: 60-52=8, Resulting Numbers: [47, 8]
Generated Node #0,2,0: 23:[47, 8] Operation: 60-52=8
Exploring Operation: 60-47=13, Resulting Numbers: [52, 13]
Generated Node #0,2,1: 23:[52, 13] Operation: 60-47=13
Exploring Operation: 52-47=5, Resulting Numbers: [60, 5]
Generated Node #0,2,2: 23:[60, 5] Operation: 52-47=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[47, 8], Operations: ['91-31=60', '60-52=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[52, 13], Operations: ['91-31=60', '60-47=13']
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[60, 5], Operations: ['91-31=60', '52-47=5']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,23 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: 23:[39, 16], Operations: ['91-52=39', '47-31=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,23 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[91, 52, 31, 47], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [31, 47, 39]
Generated Node #0,1: 23:[31, 47, 39] Operation: 91-52=39
Moving to Node #0,1
Current State: 23:[31, 47, 39], Operations: ['91-52=39']
Exploring Operation: 47-31=16, Resulting Numbers: [39, 16]
Generated Node #0,1,1: 23:[39, 16] Operation: 47-31=16
Moving to Node #0,1,1
Current State: 23:[39, 16], Operations: ['91-52=39', '47-31=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
52,
22,
4,
99
] | 64 | [
"52/4=13",
"99-22=77",
"77-13=64"
] | Current State: 64:[52, 22, 4, 99], Operations: []
Exploring Operation: 52/4=13, Resulting Numbers: [22, 99, 13]
Generated Node #2: [22, 99, 13] from Operation: 52/4=13
Current State: 64:[22, 99, 13], Operations: ['52/4=13']
Exploring Operation: 99-22=77, Resulting Numbers: [13, 77]
Generated Node #3: [13, 77] from Operation: 99-22=77
Current State: 64:[13, 77], Operations: ['52/4=13', '99-22=77']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[52, 22, 4, 99], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [22, 4, 47]
Generated Node #0,0: 64:[22, 4, 47] Operation: 99-52=47
Exploring Operation: 99-22=77, Resulting Numbers: [52, 4, 77]
Generated Node #0,1: 64:[52, 4, 77] Operation: 99-22=77
Exploring Operation: 52-22=30, Resulting Numbers: [4, 99, 30]
Generated Node #0,2: 64:[4, 99, 30] Operation: 52-22=30
Exploring Operation: 52/4=13, Resulting Numbers: [22, 99, 13]
Generated Node #0,3: 64:[22, 99, 13] Operation: 52/4=13
Moving to Node #0,0
Current State: 64:[22, 4, 47], Operations: ['99-52=47']
Exploring Operation: 47-4=43, Resulting Numbers: [22, 43]
Generated Node #0,0,0: 64:[22, 43] Operation: 47-4=43
Exploring Operation: 22-4=18, Resulting Numbers: [47, 18]
Generated Node #0,0,1: 64:[47, 18] Operation: 22-4=18
Exploring Operation: 47-22=25, Resulting Numbers: [4, 25]
Generated Node #0,0,2: 64:[4, 25] Operation: 47-22=25
Exploring Operation: 22+47=69, Resulting Numbers: [4, 69]
Generated Node #0,0,3: 64:[4, 69] Operation: 22+47=69
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[4, 69], Operations: ['99-52=47', '22+47=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,64 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[4, 25], Operations: ['99-52=47', '47-22=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,64 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[22, 43], Operations: ['99-52=47', '47-4=43']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 22+43=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 22*43=946, Resulting Numbers: [946]
946,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[47, 18], Operations: ['99-52=47', '22-4=18']
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,64 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: 64:[52, 4, 77], Operations: ['99-22=77']
Exploring Operation: 52/4=13, Resulting Numbers: [77, 13]
Generated Node #0,1,0: 64:[77, 13] Operation: 52/4=13
Exploring Operation: 77-52=25, Resulting Numbers: [4, 25]
Generated Node #0,1,1: 64:[4, 25] Operation: 77-52=25
Exploring Operation: 52+4=56, Resulting Numbers: [77, 56]
Generated Node #0,1,2: 64:[77, 56] Operation: 52+4=56
Exploring Operation: 77-4=73, Resulting Numbers: [52, 73]
Generated Node #0,1,3: 64:[52, 73] Operation: 77-4=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[4, 25], Operations: ['99-22=77', '77-52=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[77, 13], Operations: ['99-22=77', '52/4=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,64 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[52, 22, 4, 99], Operations: []
Exploring Operation: 99-22=77, Resulting Numbers: [52, 4, 77]
Generated Node #0,1: 64:[52, 4, 77] Operation: 99-22=77
Moving to Node #0,1
Current State: 64:[52, 4, 77], Operations: ['99-22=77']
Exploring Operation: 52/4=13, Resulting Numbers: [77, 13]
Generated Node #0,1,0: 64:[77, 13] Operation: 52/4=13
Moving to Node #0,1,0
Current State: 64:[77, 13], Operations: ['99-22=77', '52/4=13']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
15,
11,
90,
15
] | 16 | [
"90-15=75",
"75/15=5",
"11+5=16"
] | Current State: 16:[15, 11, 90, 15], Operations: []
Exploring Operation: 90-15=75, Resulting Numbers: [11, 75]
Generated Node #2: [11, 75] from Operation: 90-15=75
Current State: 16:[11, 75], Operations: ['90-15=75']
Exploring Operation: 75/15=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 75/15=5
Current State: 16:[11, 5], Operations: ['90-15=75', '75/15=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[15, 11, 90, 15], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [15, 11, 6]
Generated Node #0,0: 16:[15, 11, 6] Operation: 90/15=6
Exploring Operation: 90/15=6, Resulting Numbers: [11, 15, 6]
Generated Node #0,1: 16:[11, 15, 6] Operation: 90/15=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[15, 11, 6], Operations: ['90/15=6']
Exploring Operation: 11+6=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 16:[15, 17] Operation: 11+6=17
Exploring Operation: 15-11=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 16:[6, 4] Operation: 15-11=4
Moving to Node #0,0,0
Current State: 16:[15, 17], Operations: ['90/15=6', '11+6=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[6, 4], Operations: ['90/15=6', '15-11=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[11, 15, 6], Operations: ['90/15=6']
Exploring Operation: 15-11=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 16:[6, 4] Operation: 15-11=4
Exploring Operation: 11+6=17, Resulting Numbers: [15, 17]
Generated Node #0,1,1: 16:[15, 17] Operation: 11+6=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[6, 4], Operations: ['90/15=6', '15-11=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[15, 17], Operations: ['90/15=6', '11+6=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,16 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,16 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 |
[
91,
28,
14,
53
] | 19 | [
"91-53=38",
"28/14=2",
"38/2=19"
] | Current State: 19:[91, 28, 14, 53], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [28, 14, 38]
Generated Node #2: [28, 14, 38] from Operation: 91-53=38
Current State: 19:[28, 14, 38], Operations: ['91-53=38']
Exploring Operation: 28/14=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 28/14=2
Current State: 19:[38, 2], Operations: ['91-53=38', '28/14=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[91, 28, 14, 53], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [14, 53, 63]
Generated Node #0,0: 19:[14, 53, 63] Operation: 91-28=63
Exploring Operation: 91-53=38, Resulting Numbers: [28, 14, 38]
Generated Node #0,1: 19:[28, 14, 38] Operation: 91-53=38
Exploring Operation: 53-14=39, Resulting Numbers: [91, 28, 39]
Generated Node #0,2: 19:[91, 28, 39] Operation: 53-14=39
Exploring Operation: 91-14=77, Resulting Numbers: [28, 53, 77]
Generated Node #0,3: 19:[28, 53, 77] Operation: 91-14=77
Exploring Operation: 53-28=25, Resulting Numbers: [91, 14, 25]
Generated Node #0,4: 19:[91, 14, 25] Operation: 53-28=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[28, 14, 38], Operations: ['91-53=38']
Exploring Operation: 28+14=42, Resulting Numbers: [38, 42]
Generated Node #0,1,0: 19:[38, 42] Operation: 28+14=42
Exploring Operation: 28/14=2, Resulting Numbers: [38, 2]
Generated Node #0,1,1: 19:[38, 2] Operation: 28/14=2
Exploring Operation: 38-28=10, Resulting Numbers: [14, 10]
Generated Node #0,1,2: 19:[14, 10] Operation: 38-28=10
Exploring Operation: 38-14=24, Resulting Numbers: [28, 24]
Generated Node #0,1,3: 19:[28, 24] Operation: 38-14=24
Exploring Operation: 28-14=14, Resulting Numbers: [38, 14]
Generated Node #0,1,4: 19:[38, 14] Operation: 28-14=14
Moving to Node #0,1,2
Current State: 19:[14, 10], Operations: ['91-53=38', '38-28=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[28, 24], Operations: ['91-53=38', '38-14=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,19 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[38, 14], Operations: ['91-53=38', '28-14=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,19 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[38, 2], Operations: ['91-53=38', '28/14=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[91, 28, 14, 53], Operations: []
Exploring Operation: 91-53=38, Resulting Numbers: [28, 14, 38]
Generated Node #0,1: 19:[28, 14, 38] Operation: 91-53=38
Moving to Node #0,1
Current State: 19:[28, 14, 38], Operations: ['91-53=38']
Exploring Operation: 28/14=2, Resulting Numbers: [38, 2]
Generated Node #0,1,1: 19:[38, 2] Operation: 28/14=2
Moving to Node #0,1,1
Current State: 19:[38, 2], Operations: ['91-53=38', '28/14=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
78,
13,
55,
92
] | 17 | [
"78-55=23",
"92/23=4",
"13+4=17"
] | Current State: 17:[78, 13, 55, 92], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [13, 92, 23]
Generated Node #2: [13, 92, 23] from Operation: 78-55=23
Current State: 17:[13, 92, 23], Operations: ['78-55=23']
Exploring Operation: 92/23=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 92/23=4
Current State: 17:[13, 4], Operations: ['78-55=23', '92/23=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[78, 13, 55, 92], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [78, 13, 37]
Generated Node #0,0: 17:[78, 13, 37] Operation: 92-55=37
Exploring Operation: 92-78=14, Resulting Numbers: [13, 55, 14]
Generated Node #0,1: 17:[13, 55, 14] Operation: 92-78=14
Exploring Operation: 78-55=23, Resulting Numbers: [13, 92, 23]
Generated Node #0,2: 17:[13, 92, 23] Operation: 78-55=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[13, 55, 14], Operations: ['92-78=14']
Exploring Operation: 13+14=27, Resulting Numbers: [55, 27]
Generated Node #0,1,0: 17:[55, 27] Operation: 13+14=27
Exploring Operation: 55-14=41, Resulting Numbers: [13, 41]
Generated Node #0,1,1: 17:[13, 41] Operation: 55-14=41
Exploring Operation: 55-13=42, Resulting Numbers: [14, 42]
Generated Node #0,1,2: 17:[14, 42] Operation: 55-13=42
Moving to Node #0,1,1
Current State: 17:[13, 41], Operations: ['92-78=14', '55-14=41']
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,17 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[14, 42], Operations: ['92-78=14', '55-13=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[55, 27], Operations: ['92-78=14', '13+14=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[78, 13, 37], Operations: ['92-55=37']
Exploring Operation: 78-37=41, Resulting Numbers: [13, 41]
Generated Node #0,0,0: 17:[13, 41] Operation: 78-37=41
Exploring Operation: 78-13=65, Resulting Numbers: [37, 65]
Generated Node #0,0,1: 17:[37, 65] Operation: 78-13=65
Exploring Operation: 78/13=6, Resulting Numbers: [37, 6]
Generated Node #0,0,2: 17:[37, 6] Operation: 78/13=6
Moving to Node #0,0,0
Current State: 17:[13, 41], Operations: ['92-55=37', '78-37=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,17 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[37, 6], Operations: ['92-55=37', '78/13=6']
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,17 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[37, 65], Operations: ['92-55=37', '78-13=65']
Exploring Operation: 37+65=102, Resulting Numbers: [102]
102,17 unequal: No Solution
Exploring Operation: 37*65=2405, Resulting Numbers: [2405]
2405,17 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[13, 92, 23], Operations: ['78-55=23']
Exploring Operation: 92/23=4, Resulting Numbers: [13, 4]
Generated Node #0,2,0: 17:[13, 4] Operation: 92/23=4
Exploring Operation: 92-23=69, Resulting Numbers: [13, 69]
Generated Node #0,2,1: 17:[13, 69] Operation: 92-23=69
Exploring Operation: 92-13=79, Resulting Numbers: [23, 79]
Generated Node #0,2,2: 17:[23, 79] Operation: 92-13=79
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[13, 4], Operations: ['78-55=23', '92/23=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[78, 13, 55, 92], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [13, 92, 23]
Generated Node #0,2: 17:[13, 92, 23] Operation: 78-55=23
Moving to Node #0,2
Current State: 17:[13, 92, 23], Operations: ['78-55=23']
Exploring Operation: 92/23=4, Resulting Numbers: [13, 4]
Generated Node #0,2,0: 17:[13, 4] Operation: 92/23=4
Moving to Node #0,2,0
Current State: 17:[13, 4], Operations: ['78-55=23', '92/23=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
79,
44,
17,
80
] | 61 | [
"80-79=1",
"44+17=61",
"1*61=61"
] | Current State: 61:[79, 44, 17, 80], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [44, 17, 1]
Generated Node #2: [44, 17, 1] from Operation: 80-79=1
Current State: 61:[44, 17, 1], Operations: ['80-79=1']
Exploring Operation: 44+17=61, Resulting Numbers: [1, 61]
Generated Node #3: [1, 61] from Operation: 44+17=61
Current State: 61:[1, 61], Operations: ['80-79=1', '44+17=61']
Exploring Operation: 1*61=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[79, 44, 17, 80], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [79, 44, 63]
Generated Node #0,0: 61:[79, 44, 63] Operation: 80-17=63
Exploring Operation: 79-17=62, Resulting Numbers: [44, 80, 62]
Generated Node #0,1: 61:[44, 80, 62] Operation: 79-17=62
Exploring Operation: 79+17=96, Resulting Numbers: [44, 80, 96]
Generated Node #0,2: 61:[44, 80, 96] Operation: 79+17=96
Exploring Operation: 44+17=61, Resulting Numbers: [79, 80, 61]
Generated Node #0,3: 61:[79, 80, 61] Operation: 44+17=61
Moving to Node #0,0
Current State: 61:[79, 44, 63], Operations: ['80-17=63']
Exploring Operation: 63-44=19, Resulting Numbers: [79, 19]
Generated Node #0,0,0: 61:[79, 19] Operation: 63-44=19
Exploring Operation: 79-44=35, Resulting Numbers: [63, 35]
Generated Node #0,0,1: 61:[63, 35] Operation: 79-44=35
Exploring Operation: 79+44=123, Resulting Numbers: [63, 123]
Generated Node #0,0,2: 61:[63, 123] Operation: 79+44=123
Exploring Operation: 79-63=16, Resulting Numbers: [44, 16]
Generated Node #0,0,3: 61:[44, 16] Operation: 79-63=16
Moving to Node #0,3
Current State: 61:[79, 80, 61], Operations: ['44+17=61']
Exploring Operation: 79+80=159, Resulting Numbers: [61, 159]
Generated Node #0,3,0: 61:[61, 159] Operation: 79+80=159
Exploring Operation: 80-61=19, Resulting Numbers: [79, 19]
Generated Node #0,3,1: 61:[79, 19] Operation: 80-61=19
Exploring Operation: 79-61=18, Resulting Numbers: [80, 18]
Generated Node #0,3,2: 61:[80, 18] Operation: 79-61=18
Exploring Operation: 80-79=1, Resulting Numbers: [61, 1]
Generated Node #0,3,3: 61:[61, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[79, 19], Operations: ['44+17=61', '80-61=19']
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,61 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[61, 1], Operations: ['44+17=61', '80-79=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[79, 44, 17, 80], Operations: []
Exploring Operation: 44+17=61, Resulting Numbers: [79, 80, 61]
Generated Node #0,3: 61:[79, 80, 61] Operation: 44+17=61
Moving to Node #0,3
Current State: 61:[79, 80, 61], Operations: ['44+17=61']
Exploring Operation: 80-79=1, Resulting Numbers: [61, 1]
Generated Node #0,3,3: 61:[61, 1] Operation: 80-79=1
Moving to Node #0,3,3
Current State: 61:[61, 1], Operations: ['44+17=61', '80-79=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
25,
48,
12,
49
] | 10 | [
"49-25=24",
"48/24=2",
"12-2=10"
] | Current State: 10:[25, 48, 12, 49], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [48, 12, 24]
Generated Node #2: [48, 12, 24] from Operation: 49-25=24
Current State: 10:[48, 12, 24], Operations: ['49-25=24']
Exploring Operation: 48/24=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 48/24=2
Current State: 10:[12, 2], Operations: ['49-25=24', '48/24=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[25, 48, 12, 49], Operations: []
Exploring Operation: 49-48=1, Resulting Numbers: [25, 12, 1]
Generated Node #0,0: 10:[25, 12, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[25, 12, 1], Operations: ['49-48=1']
Exploring Operation: 25-12=13, Resulting Numbers: [1, 13]
Generated Node #0,0,0: 10:[1, 13] Operation: 25-12=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[1, 13], Operations: ['49-48=1', '25-12=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
47,
72,
47
] | 52 | [
"72-47=25",
"25/5=5",
"47+5=52"
] | Current State: 52:[5, 47, 72, 47], Operations: []
Exploring Operation: 72-47=25, Resulting Numbers: [5, 25]
Generated Node #2: [5, 25] from Operation: 72-47=25
Current State: 52:[5, 25], Operations: ['72-47=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,52 equal: Goal Reached
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[5, 47, 72, 47], Operations: []
Exploring Operation: 47-47=0, Resulting Numbers: [5, 72, 0]
Generated Node #0,0: 52:[5, 72, 0] Operation: 47-47=0
Exploring Operation: 72-47=25, Resulting Numbers: [5, 47, 25]
Generated Node #0,1: 52:[5, 47, 25] Operation: 72-47=25
Exploring Operation: 47/47=1, Resulting Numbers: [5, 72, 1]
Generated Node #0,2: 52:[5, 72, 1] Operation: 47/47=1
Exploring Operation: 72-47=25, Resulting Numbers: [5, 47, 25]
Generated Node #0,3: 52:[5, 47, 25] Operation: 72-47=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[5, 47, 25], Operations: ['72-47=25']
Exploring Operation: 5+47=52, Resulting Numbers: [25, 52]
Generated Node #0,1,0: 52:[25, 52] Operation: 5+47=52
Exploring Operation: 5+25=30, Resulting Numbers: [47, 30]
Generated Node #0,1,1: 52:[47, 30] Operation: 5+25=30
Exploring Operation: 25/5=5, Resulting Numbers: [47, 5]
Generated Node #0,1,2: 52:[47, 5] Operation: 25/5=5
Exploring Operation: 47-25=22, Resulting Numbers: [5, 22]
Generated Node #0,1,3: 52:[5, 22] Operation: 47-25=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[25, 52], Operations: ['72-47=25', '5+47=52']
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[5, 22], Operations: ['72-47=25', '47-25=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[47, 5], Operations: ['72-47=25', '25/5=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,52 unequal: No Solution
Exploring Operation: 47*5=235, Resulting Numbers: [235]
235,52 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[5, 47, 72, 47], Operations: []
Exploring Operation: 72-47=25, Resulting Numbers: [5, 47, 25]
Generated Node #0,1: 52:[5, 47, 25] Operation: 72-47=25
Moving to Node #0,1
Current State: 52:[5, 47, 25], Operations: ['72-47=25']
Exploring Operation: 25/5=5, Resulting Numbers: [47, 5]
Generated Node #0,1,2: 52:[47, 5] Operation: 25/5=5
Moving to Node #0,1,2
Current State: 52:[47, 5], Operations: ['72-47=25', '25/5=5']
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
87,
88,
92,
85
] | 96 | [
"87-85=2",
"92*2=184",
"184-88=96"
] | Current State: 96:[87, 88, 92, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [88, 92, 2]
Generated Node #2: [88, 92, 2] from Operation: 87-85=2
Current State: 96:[88, 92, 2], Operations: ['87-85=2']
Exploring Operation: 92*2=184, Resulting Numbers: [88, 184]
Generated Node #3: [88, 184] from Operation: 92*2=184
Current State: 96:[88, 184], Operations: ['87-85=2', '92*2=184']
Exploring Operation: 184-88=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[87, 88, 92, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [88, 92, 2]
Generated Node #0,0: 96:[88, 92, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[88, 92, 2], Operations: ['87-85=2']
Exploring Operation: 92-88=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 96:[2, 4] Operation: 92-88=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[2, 4], Operations: ['87-85=2', '92-88=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
81,
86,
20
] | 25 | [
"1*81=81",
"86+20=106",
"106-81=25"
] | Current State: 25:[1, 81, 86, 20], Operations: []
Exploring Operation: 1*81=81, Resulting Numbers: [86, 20, 81]
Generated Node #2: [86, 20, 81] from Operation: 1*81=81
Current State: 25:[86, 20, 81], Operations: ['1*81=81']
Exploring Operation: 86+20=106, Resulting Numbers: [81, 106]
Generated Node #3: [81, 106] from Operation: 86+20=106
Current State: 25:[81, 106], Operations: ['1*81=81', '86+20=106']
Exploring Operation: 106-81=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[1, 81, 86, 20], Operations: []
Exploring Operation: 81-20=61, Resulting Numbers: [1, 86, 61]
Generated Node #0,0: 25:[1, 86, 61] Operation: 81-20=61
Exploring Operation: 86-20=66, Resulting Numbers: [1, 81, 66]
Generated Node #0,1: 25:[1, 81, 66] Operation: 86-20=66
Exploring Operation: 86-81=5, Resulting Numbers: [1, 20, 5]
Generated Node #0,2: 25:[1, 20, 5] Operation: 86-81=5
Moving to Node #0,2
Current State: 25:[1, 20, 5], Operations: ['86-81=5']
Exploring Operation: 20+5=25, Resulting Numbers: [1, 25]
Generated Node #0,2,0: 25:[1, 25] Operation: 20+5=25
Exploring Operation: 1*20=20, Resulting Numbers: [5, 20]
Generated Node #0,2,1: 25:[5, 20] Operation: 1*20=20
Exploring Operation: 1+20=21, Resulting Numbers: [5, 21]
Generated Node #0,2,2: 25:[5, 21] Operation: 1+20=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[1, 25], Operations: ['86-81=5', '20+5=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[1, 81, 86, 20], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [1, 20, 5]
Generated Node #0,2: 25:[1, 20, 5] Operation: 86-81=5
Moving to Node #0,2
Current State: 25:[1, 20, 5], Operations: ['86-81=5']
Exploring Operation: 20+5=25, Resulting Numbers: [1, 25]
Generated Node #0,2,0: 25:[1, 25] Operation: 20+5=25
Moving to Node #0,2,0
Current State: 25:[1, 25], Operations: ['86-81=5', '20+5=25']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
90,
70,
18,
42
] | 72 | [
"90*42=3780",
"3780/70=54",
"18+54=72"
] | Current State: 72:[90, 70, 18, 42], Operations: []
Exploring Operation: 90*42=3780, Resulting Numbers: [70, 18, 3780]
Generated Node #2: [70, 18, 3780] from Operation: 90*42=3780
Current State: 72:[70, 18, 3780], Operations: ['90*42=3780']
Exploring Operation: 3780/70=54, Resulting Numbers: [18, 54]
Generated Node #3: [18, 54] from Operation: 3780/70=54
Current State: 72:[18, 54], Operations: ['90*42=3780', '3780/70=54']
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[90, 70, 18, 42], Operations: []
Exploring Operation: 90-42=48, Resulting Numbers: [70, 18, 48]
Generated Node #0,0: 72:[70, 18, 48] Operation: 90-42=48
Exploring Operation: 42-18=24, Resulting Numbers: [90, 70, 24]
Generated Node #0,1: 72:[90, 70, 24] Operation: 42-18=24
Exploring Operation: 90/18=5, Resulting Numbers: [70, 42, 5]
Generated Node #0,2: 72:[70, 42, 5] Operation: 90/18=5
Exploring Operation: 90-18=72, Resulting Numbers: [70, 42, 72]
Generated Node #0,3: 72:[70, 42, 72] Operation: 90-18=72
Exploring Operation: 90-70=20, Resulting Numbers: [18, 42, 20]
Generated Node #0,4: 72:[18, 42, 20] Operation: 90-70=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[70, 42, 72], Operations: ['90-18=72']
Exploring Operation: 70-42=28, Resulting Numbers: [72, 28]
Generated Node #0,3,0: 72:[72, 28] Operation: 70-42=28
Exploring Operation: 72-42=30, Resulting Numbers: [70, 30]
Generated Node #0,3,1: 72:[70, 30] Operation: 72-42=30
Exploring Operation: 70+42=112, Resulting Numbers: [72, 112]
Generated Node #0,3,2: 72:[72, 112] Operation: 70+42=112
Exploring Operation: 42+72=114, Resulting Numbers: [70, 114]
Generated Node #0,3,3: 72:[70, 114] Operation: 42+72=114
Exploring Operation: 72-70=2, Resulting Numbers: [42, 2]
Generated Node #0,3,4: 72:[42, 2] Operation: 72-70=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 72:[72, 28], Operations: ['90-18=72', '70-42=28']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 72*28=2016, Resulting Numbers: [2016]
2016,72 unequal: No Solution
Exploring Operation: 72+28=100, Resulting Numbers: [100]
100,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 72:[42, 2], Operations: ['90-18=72', '72-70=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,72 unequal: No Solution
No 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: 72:[70, 30], Operations: ['90-18=72', '72-42=30']
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,72 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,72 unequal: No Solution
No 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: 72:[72, 112], Operations: ['90-18=72', '70+42=112']
Exploring Operation: 72*112=8064, Resulting Numbers: [8064]
8064,72 unequal: No Solution
Exploring Operation: 72+112=184, Resulting Numbers: [184]
184,72 unequal: No Solution
Exploring Operation: 112-72=40, Resulting Numbers: [40]
40,72 unequal: No Solution
No 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: 72:[70, 114], Operations: ['90-18=72', '42+72=114']
Exploring Operation: 70*114=7980, Resulting Numbers: [7980]
7980,72 unequal: No Solution
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 70+114=184, Resulting Numbers: [184]
184,72 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: 72:[18, 42, 20], Operations: ['90-70=20']
Exploring Operation: 42-18=24, Resulting Numbers: [20, 24]
Generated Node #0,4,0: 72:[20, 24] Operation: 42-18=24
Exploring Operation: 42-20=22, Resulting Numbers: [18, 22]
Generated Node #0,4,1: 72:[18, 22] Operation: 42-20=22
Exploring Operation: 20-18=2, Resulting Numbers: [42, 2]
Generated Node #0,4,2: 72:[42, 2] Operation: 20-18=2
Exploring Operation: 42+20=62, Resulting Numbers: [18, 62]
Generated Node #0,4,3: 72:[18, 62] Operation: 42+20=62
Exploring Operation: 18+20=38, Resulting Numbers: [42, 38]
Generated Node #0,4,4: 72:[42, 38] Operation: 18+20=38
Moving to Node #0,4,0
Current State: 72:[20, 24], Operations: ['90-70=20', '42-18=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,72 unequal: No Solution
Moving to Node #0,4,1
Current State: 72:[18, 22], Operations: ['90-70=20', '42-20=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,72 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[42, 2], Operations: ['90-70=20', '20-18=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[42, 38], Operations: ['90-70=20', '18+20=38']
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,72 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[18, 62], Operations: ['90-70=20', '42+20=62']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,72 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[70, 42, 5], Operations: ['90/18=5']
Exploring Operation: 70-42=28, Resulting Numbers: [5, 28]
Generated Node #0,2,0: 72:[5, 28] Operation: 70-42=28
Exploring Operation: 70-5=65, Resulting Numbers: [42, 65]
Generated Node #0,2,1: 72:[42, 65] Operation: 70-5=65
Exploring Operation: 70+5=75, Resulting Numbers: [42, 75]
Generated Node #0,2,2: 72:[42, 75] Operation: 70+5=75
Exploring Operation: 42-5=37, Resulting Numbers: [70, 37]
Generated Node #0,2,3: 72:[70, 37] Operation: 42-5=37
Exploring Operation: 70/5=14, Resulting Numbers: [42, 14]
Generated Node #0,2,4: 72:[42, 14] Operation: 70/5=14
Moving to Node #0,2,3
Current State: 72:[70, 37], Operations: ['90/18=5', '42-5=37']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,72 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[5, 28], Operations: ['90/18=5', '70-42=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[42, 14], Operations: ['90/18=5', '70/5=14']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[42, 75], Operations: ['90/18=5', '70+5=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,72 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,72 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[42, 65], Operations: ['90/18=5', '70-5=65']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,72 unequal: No Solution
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,72 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[70, 18, 48], Operations: ['90-42=48']
Exploring Operation: 70-48=22, Resulting Numbers: [18, 22]
Generated Node #0,0,0: 72:[18, 22] Operation: 70-48=22
Exploring Operation: 70-18=52, Resulting Numbers: [48, 52]
Generated Node #0,0,1: 72:[48, 52] Operation: 70-18=52
Exploring Operation: 48-18=30, Resulting Numbers: [70, 30]
Generated Node #0,0,2: 72:[70, 30] Operation: 48-18=30
Exploring Operation: 70+18=88, Resulting Numbers: [48, 88]
Generated Node #0,0,3: 72:[48, 88] Operation: 70+18=88
Exploring Operation: 18+48=66, Resulting Numbers: [70, 66]
Generated Node #0,0,4: 72:[70, 66] Operation: 18+48=66
Moving to Node #0,0,0
Current State: 72:[18, 22], Operations: ['90-42=48', '70-48=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,72 unequal: No Solution
Moving to Node #0,0,4
Current State: 72:[70, 66], Operations: ['90-42=48', '18+48=66']
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,72 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[70, 30], Operations: ['90-42=48', '48-18=30']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,72 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[48, 52], Operations: ['90-42=48', '70-18=52']
Exploring Operation: 48+52=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 48*52=2496, Resulting Numbers: [2496]
2496,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[48, 88], Operations: ['90-42=48', '70+18=88']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,72 unequal: No Solution
Exploring Operation: 48+88=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 48*88=4224, Resulting Numbers: [4224]
4224,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[90, 70, 24], Operations: ['42-18=24']
Exploring Operation: 90-24=66, Resulting Numbers: [70, 66]
Generated Node #0,1,0: 72:[70, 66] Operation: 90-24=66
Exploring Operation: 70-24=46, Resulting Numbers: [90, 46]
Generated Node #0,1,1: 72:[90, 46] Operation: 70-24=46
Exploring Operation: 70+24=94, Resulting Numbers: [90, 94]
Generated Node #0,1,2: 72:[90, 94] Operation: 70+24=94
Exploring Operation: 90+24=114, Resulting Numbers: [70, 114]
Generated Node #0,1,3: 72:[70, 114] Operation: 90+24=114
Exploring Operation: 90-70=20, Resulting Numbers: [24, 20]
Generated Node #0,1,4: 72:[24, 20] Operation: 90-70=20
Moving to Node #0,1,4
Current State: 72:[24, 20], Operations: ['42-18=24', '90-70=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,72 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[70, 66], Operations: ['42-18=24', '90-24=66']
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,72 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[90, 46], Operations: ['42-18=24', '70-24=46']
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,72 unequal: No Solution
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[90, 94], Operations: ['42-18=24', '70+24=94']
Exploring Operation: 90+94=184, Resulting Numbers: [184]
184,72 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 90*94=8460, Resulting Numbers: [8460]
8460,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[70, 114], Operations: ['42-18=24', '90+24=114']
Exploring Operation: 70*114=7980, Resulting Numbers: [7980]
7980,72 unequal: No Solution
Exploring Operation: 70+114=184, Resulting Numbers: [184]
184,72 unequal: No Solution
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,72 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 |
[
6,
8,
42,
10
] | 15 | [
"10-8=2",
"42/2=21",
"21-6=15"
] | Current State: 15:[6, 8, 42, 10], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [6, 42, 2]
Generated Node #2: [6, 42, 2] from Operation: 10-8=2
Current State: 15:[6, 42, 2], Operations: ['10-8=2']
Exploring Operation: 42/2=21, Resulting Numbers: [6, 21]
Generated Node #3: [6, 21] from Operation: 42/2=21
Current State: 15:[6, 21], Operations: ['10-8=2', '42/2=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[6, 8, 42, 10], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [8, 10, 7]
Generated Node #0,0: 15:[8, 10, 7] Operation: 42/6=7
Exploring Operation: 42-10=32, Resulting Numbers: [6, 8, 32]
Generated Node #0,1: 15:[6, 8, 32] Operation: 42-10=32
Moving to Node #0,0
Current State: 15:[8, 10, 7], Operations: ['42/6=7']
Exploring Operation: 10-7=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 15:[8, 3] Operation: 10-7=3
Exploring Operation: 10-8=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 15:[7, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[8, 3], Operations: ['42/6=7', '10-7=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,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,1
Current State: 15:[7, 2], Operations: ['42/6=7', '10-8=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,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:[6, 8, 32], Operations: ['42-10=32']
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 15:[6, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [6, 24]
Generated Node #0,1,1: 15:[6, 24] Operation: 32-8=24
Moving to Node #0,1,0
Current State: 15:[6, 4], Operations: ['42-10=32', '32/8=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[6, 24], Operations: ['42-10=32', '32-8=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
4,
66,
73
] | 72 | [
"71-4=67",
"66+73=139",
"139-67=72"
] | Current State: 72:[71, 4, 66, 73], Operations: []
Exploring Operation: 71-4=67, Resulting Numbers: [66, 73, 67]
Generated Node #2: [66, 73, 67] from Operation: 71-4=67
Current State: 72:[66, 73, 67], Operations: ['71-4=67']
Exploring Operation: 66+73=139, Resulting Numbers: [67, 139]
Generated Node #3: [67, 139] from Operation: 66+73=139
Current State: 72:[67, 139], Operations: ['71-4=67', '66+73=139']
Exploring Operation: 139-67=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[71, 4, 66, 73], Operations: []
Exploring Operation: 71+4=75, Resulting Numbers: [66, 73, 75]
Generated Node #0,0: 72:[66, 73, 75] Operation: 71+4=75
Exploring Operation: 71-66=5, Resulting Numbers: [4, 73, 5]
Generated Node #0,1: 72:[4, 73, 5] Operation: 71-66=5
Exploring Operation: 4+66=70, Resulting Numbers: [71, 73, 70]
Generated Node #0,2: 72:[71, 73, 70] Operation: 4+66=70
Exploring Operation: 73-66=7, Resulting Numbers: [71, 4, 7]
Generated Node #0,3: 72:[71, 4, 7] Operation: 73-66=7
Exploring Operation: 73-71=2, Resulting Numbers: [4, 66, 2]
Generated Node #0,4: 72:[4, 66, 2] Operation: 73-71=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[4, 73, 5], Operations: ['71-66=5']
Exploring Operation: 5-4=1, Resulting Numbers: [73, 1]
Generated Node #0,1,0: 72:[73, 1] Operation: 5-4=1
Exploring Operation: 73-4=69, Resulting Numbers: [5, 69]
Generated Node #0,1,1: 72:[5, 69] Operation: 73-4=69
Exploring Operation: 4*5=20, Resulting Numbers: [73, 20]
Generated Node #0,1,2: 72:[73, 20] Operation: 4*5=20
Exploring Operation: 4+5=9, Resulting Numbers: [73, 9]
Generated Node #0,1,3: 72:[73, 9] Operation: 4+5=9
Exploring Operation: 73-5=68, Resulting Numbers: [4, 68]
Generated Node #0,1,4: 72:[4, 68] Operation: 73-5=68
Moving to Node #0,1,3
Current State: 72:[73, 9], Operations: ['71-66=5', '4+5=9']
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[73, 1], Operations: ['71-66=5', '5-4=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[71, 4, 66, 73], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [4, 73, 5]
Generated Node #0,1: 72:[4, 73, 5] Operation: 71-66=5
Moving to Node #0,1
Current State: 72:[4, 73, 5], Operations: ['71-66=5']
Exploring Operation: 5-4=1, Resulting Numbers: [73, 1]
Generated Node #0,1,0: 72:[73, 1] Operation: 5-4=1
Moving to Node #0,1,0
Current State: 72:[73, 1], Operations: ['71-66=5', '5-4=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
6,
40,
74,
72
] | 86 | [
"74-72=2",
"40*2=80",
"6+80=86"
] | Current State: 86:[6, 40, 74, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [6, 40, 2]
Generated Node #2: [6, 40, 2] from Operation: 74-72=2
Current State: 86:[6, 40, 2], Operations: ['74-72=2']
Exploring Operation: 40*2=80, Resulting Numbers: [6, 80]
Generated Node #3: [6, 80] from Operation: 40*2=80
Current State: 86:[6, 80], Operations: ['74-72=2', '40*2=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[6, 40, 74, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [6, 40, 2]
Generated Node #0,0: 86:[6, 40, 2] Operation: 74-72=2
Exploring Operation: 6+74=80, Resulting Numbers: [40, 72, 80]
Generated Node #0,1: 86:[40, 72, 80] Operation: 6+74=80
Exploring Operation: 6+72=78, Resulting Numbers: [40, 74, 78]
Generated Node #0,2: 86:[40, 74, 78] Operation: 6+72=78
Moving to Node #0,0
Current State: 86:[6, 40, 2], Operations: ['74-72=2']
Exploring Operation: 6-2=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 86:[40, 4] Operation: 6-2=4
Exploring Operation: 6+40=46, Resulting Numbers: [2, 46]
Generated Node #0,0,1: 86:[2, 46] Operation: 6+40=46
Exploring Operation: 6/2=3, Resulting Numbers: [40, 3]
Generated Node #0,0,2: 86:[40, 3] Operation: 6/2=3
Moving to Node #0,1
Current State: 86:[40, 72, 80], Operations: ['6+74=80']
Exploring Operation: 80-72=8, Resulting Numbers: [40, 8]
Generated Node #0,1,0: 86:[40, 8] Operation: 80-72=8
Exploring Operation: 80/40=2, Resulting Numbers: [72, 2]
Generated Node #0,1,1: 86:[72, 2] Operation: 80/40=2
Exploring Operation: 72-40=32, Resulting Numbers: [80, 32]
Generated Node #0,1,2: 86:[80, 32] Operation: 72-40=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[40, 8], Operations: ['6+74=80', '80-72=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,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:[72, 2], Operations: ['6+74=80', '80/40=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,86 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,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:[80, 32], Operations: ['6+74=80', '72-40=32']
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,86 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: 86:[40, 74, 78], Operations: ['6+72=78']
Exploring Operation: 74-40=34, Resulting Numbers: [78, 34]
Generated Node #0,2,0: 86:[78, 34] Operation: 74-40=34
Exploring Operation: 78-40=38, Resulting Numbers: [74, 38]
Generated Node #0,2,1: 86:[74, 38] Operation: 78-40=38
Exploring Operation: 78-74=4, Resulting Numbers: [40, 4]
Generated Node #0,2,2: 86:[40, 4] Operation: 78-74=4
Moving to Node #0,0,1
Current State: 86:[2, 46], Operations: ['74-72=2', '6+40=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,86 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[40, 3], Operations: ['74-72=2', '6/2=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,86 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[40, 4], Operations: ['74-72=2', '6-2=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[40, 4], Operations: ['6+72=78', '78-74=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[74, 38], Operations: ['6+72=78', '78-40=38']
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,86 unequal: No Solution
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[78, 34], Operations: ['6+72=78', '74-40=34']
Exploring Operation: 78+34=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 78*34=2652, Resulting Numbers: [2652]
2652,86 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
87,
40,
84
] | 98 | [
"84-40=44",
"44/4=11",
"87+11=98"
] | Current State: 98:[4, 87, 40, 84], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [4, 87, 44]
Generated Node #2: [4, 87, 44] from Operation: 84-40=44
Current State: 98:[4, 87, 44], Operations: ['84-40=44']
Exploring Operation: 44/4=11, Resulting Numbers: [87, 11]
Generated Node #3: [87, 11] from Operation: 44/4=11
Current State: 98:[87, 11], Operations: ['84-40=44', '44/4=11']
Exploring Operation: 87+11=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[4, 87, 40, 84], Operations: []
Exploring Operation: 87-40=47, Resulting Numbers: [4, 84, 47]
Generated Node #0,0: 98:[4, 84, 47] Operation: 87-40=47
Exploring Operation: 87-84=3, Resulting Numbers: [4, 40, 3]
Generated Node #0,1: 98:[4, 40, 3] Operation: 87-84=3
Moving to Node #0,1
Current State: 98:[4, 40, 3], Operations: ['87-84=3']
Exploring Operation: 4+40=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 98:[3, 44] Operation: 4+40=44
Exploring Operation: 40/4=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 98:[3, 10] Operation: 40/4=10
Moving to Node #0,0
Current State: 98:[4, 84, 47], Operations: ['87-40=47']
Exploring Operation: 4+84=88, Resulting Numbers: [47, 88]
Generated Node #0,0,0: 98:[47, 88] Operation: 4+84=88
Exploring Operation: 84/4=21, Resulting Numbers: [47, 21]
Generated Node #0,0,1: 98:[47, 21] Operation: 84/4=21
Moving to Node #0,1,1
Current State: 98:[3, 10], Operations: ['87-84=3', '40/4=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[3, 44], Operations: ['87-84=3', '4+40=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[47, 21], Operations: ['87-40=47', '84/4=21']
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[47, 88], Operations: ['87-40=47', '4+84=88']
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
41,
33,
6
] | 90 | [
"6-3=3",
"41*3=123",
"123-33=90"
] | Current State: 90:[3, 41, 33, 6], Operations: []
Exploring Operation: 6-3=3, Resulting Numbers: [41, 33, 3]
Generated Node #2: [41, 33, 3] from Operation: 6-3=3
Current State: 90:[41, 33, 3], Operations: ['6-3=3']
Exploring Operation: 41*3=123, Resulting Numbers: [33, 123]
Generated Node #3: [33, 123] from Operation: 41*3=123
Current State: 90:[33, 123], Operations: ['6-3=3', '41*3=123']
Exploring Operation: 123-33=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 41, 33, 6], Operations: []
Exploring Operation: 41+6=47, Resulting Numbers: [3, 33, 47]
Generated Node #0,0: 90:[3, 33, 47] Operation: 41+6=47
Exploring Operation: 33-3=30, Resulting Numbers: [41, 6, 30]
Generated Node #0,1: 90:[41, 6, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [41, 6, 11]
Generated Node #0,2: 90:[41, 6, 11] Operation: 33/3=11
Exploring Operation: 41-33=8, Resulting Numbers: [3, 6, 8]
Generated Node #0,3: 90:[3, 6, 8] Operation: 41-33=8
Exploring Operation: 3+41=44, Resulting Numbers: [33, 6, 44]
Generated Node #0,4: 90:[33, 6, 44] Operation: 3+41=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[3, 6, 8], Operations: ['41-33=8']
Exploring Operation: 6-3=3, Resulting Numbers: [8, 3]
Generated Node #0,3,0: 90:[8, 3] Operation: 6-3=3
Exploring Operation: 3+6=9, Resulting Numbers: [8, 9]
Generated Node #0,3,1: 90:[8, 9] Operation: 3+6=9
Exploring Operation: 8-3=5, Resulting Numbers: [6, 5]
Generated Node #0,3,2: 90:[6, 5] Operation: 8-3=5
Exploring Operation: 8-6=2, Resulting Numbers: [3, 2]
Generated Node #0,3,3: 90:[3, 2] Operation: 8-6=2
Exploring Operation: 3*6=18, Resulting Numbers: [8, 18]
Generated Node #0,3,4: 90:[8, 18] Operation: 3*6=18
Moving to Node #0,3,2
Current State: 90:[6, 5], Operations: ['41-33=8', '8-3=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[3, 2], Operations: ['41-33=8', '8-6=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[8, 3], Operations: ['41-33=8', '6-3=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[8, 9], Operations: ['41-33=8', '3+6=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[8, 18], Operations: ['41-33=8', '3*6=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[41, 6, 30], Operations: ['33-3=30']
Exploring Operation: 6+30=36, Resulting Numbers: [41, 36]
Generated Node #0,1,0: 90:[41, 36] Operation: 6+30=36
Exploring Operation: 30/6=5, Resulting Numbers: [41, 5]
Generated Node #0,1,1: 90:[41, 5] Operation: 30/6=5
Exploring Operation: 41-6=35, Resulting Numbers: [30, 35]
Generated Node #0,1,2: 90:[30, 35] Operation: 41-6=35
Exploring Operation: 41-30=11, Resulting Numbers: [6, 11]
Generated Node #0,1,3: 90:[6, 11] Operation: 41-30=11
Exploring Operation: 41+6=47, Resulting Numbers: [30, 47]
Generated Node #0,1,4: 90:[30, 47] Operation: 41+6=47
Moving to Node #0,1,3
Current State: 90:[6, 11], Operations: ['33-3=30', '41-30=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[30, 47], Operations: ['33-3=30', '41+6=47']
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,90 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[41, 5], Operations: ['33-3=30', '30/6=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,90 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,90 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[30, 35], Operations: ['33-3=30', '41-6=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,90 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[41, 36], Operations: ['33-3=30', '6+30=36']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,90 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[33, 6, 44], Operations: ['3+41=44']
Exploring Operation: 33-6=27, Resulting Numbers: [44, 27]
Generated Node #0,4,0: 90:[44, 27] Operation: 33-6=27
Exploring Operation: 44-6=38, Resulting Numbers: [33, 38]
Generated Node #0,4,1: 90:[33, 38] Operation: 44-6=38
Exploring Operation: 33+6=39, Resulting Numbers: [44, 39]
Generated Node #0,4,2: 90:[44, 39] Operation: 33+6=39
Exploring Operation: 6+44=50, Resulting Numbers: [33, 50]
Generated Node #0,4,3: 90:[33, 50] Operation: 6+44=50
Exploring Operation: 44-33=11, Resulting Numbers: [6, 11]
Generated Node #0,4,4: 90:[6, 11] Operation: 44-33=11
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[6, 11], Operations: ['3+41=44', '44-33=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,90 unequal: No Solution
No 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: 90:[44, 27], Operations: ['3+41=44', '33-6=27']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,90 unequal: No Solution
No 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: 90:[44, 39], Operations: ['3+41=44', '33+6=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,90 unequal: No Solution
No 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: 90:[33, 50], Operations: ['3+41=44', '6+44=50']
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,90 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[33, 38], Operations: ['3+41=44', '44-6=38']
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,90 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,90 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: 90:[3, 33, 47], Operations: ['41+6=47']
Exploring Operation: 33/3=11, Resulting Numbers: [47, 11]
Generated Node #0,0,0: 90:[47, 11] Operation: 33/3=11
Exploring Operation: 3+33=36, Resulting Numbers: [47, 36]
Generated Node #0,0,1: 90:[47, 36] Operation: 3+33=36
Exploring Operation: 47-3=44, Resulting Numbers: [33, 44]
Generated Node #0,0,2: 90:[33, 44] Operation: 47-3=44
Exploring Operation: 47-33=14, Resulting Numbers: [3, 14]
Generated Node #0,0,3: 90:[3, 14] Operation: 47-33=14
Exploring Operation: 33-3=30, Resulting Numbers: [47, 30]
Generated Node #0,0,4: 90:[47, 30] Operation: 33-3=30
Moving to Node #0,0,3
Current State: 90:[3, 14], Operations: ['41+6=47', '47-33=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[47, 30], Operations: ['41+6=47', '33-3=30']
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,90 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[47, 11], Operations: ['41+6=47', '33/3=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[33, 44], Operations: ['41+6=47', '47-3=44']
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,90 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,90 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[47, 36], Operations: ['41+6=47', '3+33=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,90 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[41, 6, 11], Operations: ['33/3=11']
Exploring Operation: 11-6=5, Resulting Numbers: [41, 5]
Generated Node #0,2,0: 90:[41, 5] Operation: 11-6=5
Exploring Operation: 41+6=47, Resulting Numbers: [11, 47]
Generated Node #0,2,1: 90:[11, 47] Operation: 41+6=47
Exploring Operation: 41-6=35, Resulting Numbers: [11, 35]
Generated Node #0,2,2: 90:[11, 35] Operation: 41-6=35
Exploring Operation: 41-11=30, Resulting Numbers: [6, 30]
Generated Node #0,2,3: 90:[6, 30] Operation: 41-11=30
Exploring Operation: 6+11=17, Resulting Numbers: [41, 17]
Generated Node #0,2,4: 90:[41, 17] Operation: 6+11=17
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[6, 30], Operations: ['33/3=11', '41-11=30']
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,90 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,90 unequal: No Solution
No 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: 90:[11, 47], Operations: ['33/3=11', '41+6=47']
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,90 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,90 unequal: No Solution
No 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: 90:[41, 5], Operations: ['33/3=11', '11-6=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,90 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,90 unequal: No Solution
No 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: 90:[41, 17], Operations: ['33/3=11', '6+11=17']
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,90 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,90 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,90 unequal: No Solution
No 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: 90:[11, 35], Operations: ['33/3=11', '41-6=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,90 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
96,
90,
2,
1
] | 62 | [
"96+90=186",
"2+1=3",
"186/3=62"
] | Current State: 62:[96, 90, 2, 1], Operations: []
Exploring Operation: 96+90=186, Resulting Numbers: [2, 1, 186]
Generated Node #2: [2, 1, 186] from Operation: 96+90=186
Current State: 62:[2, 1, 186], Operations: ['96+90=186']
Exploring Operation: 2+1=3, Resulting Numbers: [186, 3]
Generated Node #3: [186, 3] from Operation: 2+1=3
Current State: 62:[186, 3], Operations: ['96+90=186', '2+1=3']
Exploring Operation: 186/3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[96, 90, 2, 1], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [90, 1, 48]
Generated Node #0,0: 62:[90, 1, 48] Operation: 96/2=48
Exploring Operation: 90/2=45, Resulting Numbers: [96, 1, 45]
Generated Node #0,1: 62:[96, 1, 45] Operation: 90/2=45
Exploring Operation: 96-2=94, Resulting Numbers: [90, 1, 94]
Generated Node #0,2: 62:[90, 1, 94] Operation: 96-2=94
Exploring Operation: 96-90=6, Resulting Numbers: [2, 1, 6]
Generated Node #0,3: 62:[2, 1, 6] Operation: 96-90=6
Moving to Node #0,3
Current State: 62:[2, 1, 6], Operations: ['96-90=6']
Exploring Operation: 6-1=5, Resulting Numbers: [2, 5]
Generated Node #0,3,0: 62:[2, 5] Operation: 6-1=5
Exploring Operation: 6/2=3, Resulting Numbers: [1, 3]
Generated Node #0,3,1: 62:[1, 3] Operation: 6/2=3
Exploring Operation: 2*1=2, Resulting Numbers: [6, 2]
Generated Node #0,3,2: 62:[6, 2] Operation: 2*1=2
Exploring Operation: 6-2=4, Resulting Numbers: [1, 4]
Generated Node #0,3,3: 62:[1, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[1, 3], Operations: ['96-90=6', '6/2=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[2, 5], Operations: ['96-90=6', '6-1=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[1, 4], Operations: ['96-90=6', '6-2=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[6, 2], Operations: ['96-90=6', '2*1=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 62:[90, 1, 48], Operations: ['96/2=48']
Exploring Operation: 90*1=90, Resulting Numbers: [48, 90]
Generated Node #0,0,0: 62:[48, 90] Operation: 90*1=90
Exploring Operation: 1+48=49, Resulting Numbers: [90, 49]
Generated Node #0,0,1: 62:[90, 49] Operation: 1+48=49
Exploring Operation: 90-48=42, Resulting Numbers: [1, 42]
Generated Node #0,0,2: 62:[1, 42] Operation: 90-48=42
Exploring Operation: 90-1=89, Resulting Numbers: [48, 89]
Generated Node #0,0,3: 62:[48, 89] Operation: 90-1=89
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[1, 42], Operations: ['96/2=48', '90-48=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[90, 49], Operations: ['96/2=48', '1+48=49']
Exploring Operation: 90-49=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 90+49=139, Resulting Numbers: [139]
139,62 unequal: No Solution
Exploring Operation: 90*49=4410, Resulting Numbers: [4410]
4410,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[48, 89], Operations: ['96/2=48', '90-1=89']
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 48*89=4272, Resulting Numbers: [4272]
4272,62 unequal: No Solution
Exploring Operation: 48+89=137, Resulting Numbers: [137]
137,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[48, 90], Operations: ['96/2=48', '90*1=90']
Exploring Operation: 48*90=4320, Resulting Numbers: [4320]
4320,62 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[96, 1, 45], Operations: ['90/2=45']
Exploring Operation: 45-1=44, Resulting Numbers: [96, 44]
Generated Node #0,1,0: 62:[96, 44] Operation: 45-1=44
Exploring Operation: 96*1=96, Resulting Numbers: [45, 96]
Generated Node #0,1,1: 62:[45, 96] Operation: 96*1=96
Exploring Operation: 96-45=51, Resulting Numbers: [1, 51]
Generated Node #0,1,2: 62:[1, 51] Operation: 96-45=51
Exploring Operation: 96-1=95, Resulting Numbers: [45, 95]
Generated Node #0,1,3: 62:[45, 95] Operation: 96-1=95
Moving to Node #0,2
Current State: 62:[90, 1, 94], Operations: ['96-2=94']
Exploring Operation: 90*1=90, Resulting Numbers: [94, 90]
Generated Node #0,2,0: 62:[94, 90] Operation: 90*1=90
Exploring Operation: 90-1=89, Resulting Numbers: [94, 89]
Generated Node #0,2,1: 62:[94, 89] Operation: 90-1=89
Exploring Operation: 94-90=4, Resulting Numbers: [1, 4]
Generated Node #0,2,2: 62:[1, 4] Operation: 94-90=4
Exploring Operation: 94-1=93, Resulting Numbers: [90, 93]
Generated Node #0,2,3: 62:[90, 93] Operation: 94-1=93
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[1, 4], Operations: ['96-2=94', '94-90=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[94, 89], Operations: ['96-2=94', '90-1=89']
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 94*89=8366, Resulting Numbers: [8366]
8366,62 unequal: No Solution
Exploring Operation: 94+89=183, Resulting Numbers: [183]
183,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[90, 93], Operations: ['96-2=94', '94-1=93']
Exploring Operation: 90*93=8370, Resulting Numbers: [8370]
8370,62 unequal: No Solution
Exploring Operation: 90+93=183, Resulting Numbers: [183]
183,62 unequal: No Solution
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[94, 90], Operations: ['96-2=94', '90*1=90']
Exploring Operation: 94*90=8460, Resulting Numbers: [8460]
8460,62 unequal: No Solution
Exploring Operation: 94+90=184, Resulting Numbers: [184]
184,62 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 62:[1, 51], Operations: ['90/2=45', '96-45=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[45, 95], Operations: ['90/2=45', '96-1=95']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 45+95=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Exploring Operation: 45*95=4275, Resulting Numbers: [4275]
4275,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[96, 44], Operations: ['90/2=45', '45-1=44']
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,62 unequal: No Solution
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[45, 96], Operations: ['90/2=45', '96*1=96']
Exploring Operation: 45+96=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 45*96=4320, Resulting Numbers: [4320]
4320,62 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
31,
49,
40,
66
] | 44 | [
"49-31=18",
"66-40=26",
"18+26=44"
] | Current State: 44:[31, 49, 40, 66], Operations: []
Exploring Operation: 49-31=18, Resulting Numbers: [40, 66, 18]
Generated Node #2: [40, 66, 18] from Operation: 49-31=18
Current State: 44:[40, 66, 18], Operations: ['49-31=18']
Exploring Operation: 66-40=26, Resulting Numbers: [18, 26]
Generated Node #3: [18, 26] from Operation: 66-40=26
Current State: 44:[18, 26], Operations: ['49-31=18', '66-40=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[31, 49, 40, 66], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [49, 66, 9]
Generated Node #0,0: 44:[49, 66, 9] Operation: 40-31=9
Exploring Operation: 66-49=17, Resulting Numbers: [31, 40, 17]
Generated Node #0,1: 44:[31, 40, 17] Operation: 66-49=17
Exploring Operation: 66-40=26, Resulting Numbers: [31, 49, 26]
Generated Node #0,2: 44:[31, 49, 26] Operation: 66-40=26
Exploring Operation: 66-31=35, Resulting Numbers: [49, 40, 35]
Generated Node #0,3: 44:[49, 40, 35] Operation: 66-31=35
Moving to Node #0,1
Current State: 44:[31, 40, 17], Operations: ['66-49=17']
Exploring Operation: 40-17=23, Resulting Numbers: [31, 23]
Generated Node #0,1,0: 44:[31, 23] Operation: 40-17=23
Exploring Operation: 40-31=9, Resulting Numbers: [17, 9]
Generated Node #0,1,1: 44:[17, 9] Operation: 40-31=9
Exploring Operation: 31+17=48, Resulting Numbers: [40, 48]
Generated Node #0,1,2: 44:[40, 48] Operation: 31+17=48
Exploring Operation: 31-17=14, Resulting Numbers: [40, 14]
Generated Node #0,1,3: 44:[40, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[17, 9], Operations: ['66-49=17', '40-31=9']
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 44:[40, 14], Operations: ['66-49=17', '31-17=14']
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,44 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 44:[40, 48], Operations: ['66-49=17', '31+17=48']
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,44 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[31, 23], Operations: ['66-49=17', '40-17=23']
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,44 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,44 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: 44:[49, 40, 35], Operations: ['66-31=35']
Exploring Operation: 40-35=5, Resulting Numbers: [49, 5]
Generated Node #0,3,0: 44:[49, 5] Operation: 40-35=5
Exploring Operation: 40+35=75, Resulting Numbers: [49, 75]
Generated Node #0,3,1: 44:[49, 75] Operation: 40+35=75
Exploring Operation: 49-40=9, Resulting Numbers: [35, 9]
Generated Node #0,3,2: 44:[35, 9] Operation: 49-40=9
Exploring Operation: 49-35=14, Resulting Numbers: [40, 14]
Generated Node #0,3,3: 44:[40, 14] Operation: 49-35=14
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[49, 5], Operations: ['66-31=35', '40-35=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[31, 49, 40, 66], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [49, 40, 35]
Generated Node #0,3: 44:[49, 40, 35] Operation: 66-31=35
Moving to Node #0,3
Current State: 44:[49, 40, 35], Operations: ['66-31=35']
Exploring Operation: 40-35=5, Resulting Numbers: [49, 5]
Generated Node #0,3,0: 44:[49, 5] Operation: 40-35=5
Moving to Node #0,3,0
Current State: 44:[49, 5], Operations: ['66-31=35', '40-35=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
18,
15,
53,
25
] | 84 | [
"18-15=3",
"53-25=28",
"3*28=84"
] | Current State: 84:[18, 15, 53, 25], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [53, 25, 3]
Generated Node #2: [53, 25, 3] from Operation: 18-15=3
Current State: 84:[53, 25, 3], Operations: ['18-15=3']
Exploring Operation: 53-25=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 53-25=28
Current State: 84:[3, 28], Operations: ['18-15=3', '53-25=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[18, 15, 53, 25], Operations: []
Exploring Operation: 53-25=28, Resulting Numbers: [18, 15, 28]
Generated Node #0,0: 84:[18, 15, 28] Operation: 53-25=28
Exploring Operation: 53-15=38, Resulting Numbers: [18, 25, 38]
Generated Node #0,1: 84:[18, 25, 38] Operation: 53-15=38
Exploring Operation: 53+25=78, Resulting Numbers: [18, 15, 78]
Generated Node #0,2: 84:[18, 15, 78] Operation: 53+25=78
Moving to Node #0,0
Current State: 84:[18, 15, 28], Operations: ['53-25=28']
Exploring Operation: 28-18=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 84:[15, 10] Operation: 28-18=10
Exploring Operation: 15+28=43, Resulting Numbers: [18, 43]
Generated Node #0,0,1: 84:[18, 43] Operation: 15+28=43
Exploring Operation: 18-15=3, Resulting Numbers: [28, 3]
Generated Node #0,0,2: 84:[28, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[28, 3], Operations: ['53-25=28', '18-15=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[18, 15, 53, 25], Operations: []
Exploring Operation: 53-25=28, Resulting Numbers: [18, 15, 28]
Generated Node #0,0: 84:[18, 15, 28] Operation: 53-25=28
Moving to Node #0,0
Current State: 84:[18, 15, 28], Operations: ['53-25=28']
Exploring Operation: 18-15=3, Resulting Numbers: [28, 3]
Generated Node #0,0,2: 84:[28, 3] Operation: 18-15=3
Moving to Node #0,0,2
Current State: 84:[28, 3], Operations: ['53-25=28', '18-15=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
64,
82,
23,
48
] | 46 | [
"64-23=41",
"82/41=2",
"48-2=46"
] | Current State: 46:[64, 82, 23, 48], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [82, 48, 41]
Generated Node #2: [82, 48, 41] from Operation: 64-23=41
Current State: 46:[82, 48, 41], Operations: ['64-23=41']
Exploring Operation: 82/41=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 82/41=2
Current State: 46:[48, 2], Operations: ['64-23=41', '82/41=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[64, 82, 23, 48], Operations: []
Exploring Operation: 82-23=59, Resulting Numbers: [64, 48, 59]
Generated Node #0,0: 46:[64, 48, 59] Operation: 82-23=59
Exploring Operation: 82-48=34, Resulting Numbers: [64, 23, 34]
Generated Node #0,1: 46:[64, 23, 34] Operation: 82-48=34
Exploring Operation: 82-64=18, Resulting Numbers: [23, 48, 18]
Generated Node #0,2: 46:[23, 48, 18] Operation: 82-64=18
Moving to Node #0,2
Current State: 46:[23, 48, 18], Operations: ['82-64=18']
Exploring Operation: 23-18=5, Resulting Numbers: [48, 5]
Generated Node #0,2,0: 46:[48, 5] Operation: 23-18=5
Exploring Operation: 48-23=25, Resulting Numbers: [18, 25]
Generated Node #0,2,1: 46:[18, 25] Operation: 48-23=25
Exploring Operation: 23+18=41, Resulting Numbers: [48, 41]
Generated Node #0,2,2: 46:[48, 41] Operation: 23+18=41
Moving to Node #0,1
Current State: 46:[64, 23, 34], Operations: ['82-48=34']
Exploring Operation: 64-34=30, Resulting Numbers: [23, 30]
Generated Node #0,1,0: 46:[23, 30] Operation: 64-34=30
Exploring Operation: 34-23=11, Resulting Numbers: [64, 11]
Generated Node #0,1,1: 46:[64, 11] Operation: 34-23=11
Exploring Operation: 64-23=41, Resulting Numbers: [34, 41]
Generated Node #0,1,2: 46:[34, 41] Operation: 64-23=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[23, 30], Operations: ['82-48=34', '64-34=30']
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[34, 41], Operations: ['82-48=34', '64-23=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,46 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[64, 11], Operations: ['82-48=34', '34-23=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,46 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: 46:[64, 48, 59], Operations: ['82-23=59']
Exploring Operation: 64-59=5, Resulting Numbers: [48, 5]
Generated Node #0,0,0: 46:[48, 5] Operation: 64-59=5
Exploring Operation: 64-48=16, Resulting Numbers: [59, 16]
Generated Node #0,0,1: 46:[59, 16] Operation: 64-48=16
Exploring Operation: 59-48=11, Resulting Numbers: [64, 11]
Generated Node #0,0,2: 46:[64, 11] Operation: 59-48=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[48, 5], Operations: ['82-23=59', '64-59=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,46 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[59, 16], Operations: ['82-23=59', '64-48=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,46 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,46 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[64, 11], Operations: ['82-23=59', '59-48=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,46 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,46 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: 46:[48, 5], Operations: ['82-64=18', '23-18=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,46 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[18, 25], Operations: ['82-64=18', '48-23=25']
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 18*25=450, Resulting Numbers: [450]
450,46 unequal: No Solution
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[48, 41], Operations: ['82-64=18', '23+18=41']
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,46 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,46 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
47,
4,
49,
26
] | 44 | [
"49-47=2",
"26-4=22",
"2*22=44"
] | Current State: 44:[47, 4, 49, 26], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [4, 26, 2]
Generated Node #2: [4, 26, 2] from Operation: 49-47=2
Current State: 44:[4, 26, 2], Operations: ['49-47=2']
Exploring Operation: 26-4=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 26-4=22
Current State: 44:[2, 22], Operations: ['49-47=2', '26-4=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[47, 4, 49, 26], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [4, 26, 2]
Generated Node #0,0: 44:[4, 26, 2] Operation: 49-47=2
Exploring Operation: 26-4=22, Resulting Numbers: [47, 49, 22]
Generated Node #0,1: 44:[47, 49, 22] Operation: 26-4=22
Exploring Operation: 47-26=21, Resulting Numbers: [4, 49, 21]
Generated Node #0,2: 44:[4, 49, 21] Operation: 47-26=21
Exploring Operation: 49-26=23, Resulting Numbers: [47, 4, 23]
Generated Node #0,3: 44:[47, 4, 23] Operation: 49-26=23
Exploring Operation: 49-4=45, Resulting Numbers: [47, 26, 45]
Generated Node #0,4: 44:[47, 26, 45] Operation: 49-4=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[4, 26, 2], Operations: ['49-47=2']
Exploring Operation: 4-2=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 44:[26, 2] Operation: 4-2=2
Exploring Operation: 26/2=13, Resulting Numbers: [4, 13]
Generated Node #0,0,1: 44:[4, 13] Operation: 26/2=13
Exploring Operation: 26-4=22, Resulting Numbers: [2, 22]
Generated Node #0,0,2: 44:[2, 22] Operation: 26-4=22
Exploring Operation: 26-2=24, Resulting Numbers: [4, 24]
Generated Node #0,0,3: 44:[4, 24] Operation: 26-2=24
Exploring Operation: 4/2=2, Resulting Numbers: [26, 2]
Generated Node #0,0,4: 44:[26, 2] Operation: 4/2=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[2, 22], Operations: ['49-47=2', '26-4=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[47, 4, 49, 26], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [4, 26, 2]
Generated Node #0,0: 44:[4, 26, 2] Operation: 49-47=2
Moving to Node #0,0
Current State: 44:[4, 26, 2], Operations: ['49-47=2']
Exploring Operation: 26-4=22, Resulting Numbers: [2, 22]
Generated Node #0,0,2: 44:[2, 22] Operation: 26-4=22
Moving to Node #0,0,2
Current State: 44:[2, 22], Operations: ['49-47=2', '26-4=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
58,
29,
42,
92
] | 48 | [
"58/29=2",
"92-42=50",
"50-2=48"
] | Current State: 48:[58, 29, 42, 92], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [42, 92, 2]
Generated Node #2: [42, 92, 2] from Operation: 58/29=2
Current State: 48:[42, 92, 2], Operations: ['58/29=2']
Exploring Operation: 92-42=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 92-42=50
Current State: 48:[2, 50], Operations: ['58/29=2', '92-42=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[58, 29, 42, 92], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [42, 92, 2]
Generated Node #0,0: 48:[42, 92, 2] Operation: 58/29=2
Exploring Operation: 92-29=63, Resulting Numbers: [58, 42, 63]
Generated Node #0,1: 48:[58, 42, 63] Operation: 92-29=63
Exploring Operation: 92-58=34, Resulting Numbers: [29, 42, 34]
Generated Node #0,2: 48:[29, 42, 34] Operation: 92-58=34
Exploring Operation: 58-42=16, Resulting Numbers: [29, 92, 16]
Generated Node #0,3: 48:[29, 92, 16] Operation: 58-42=16
Exploring Operation: 92-42=50, Resulting Numbers: [58, 29, 50]
Generated Node #0,4: 48:[58, 29, 50] Operation: 92-42=50
Moving to Node #0,4
Current State: 48:[58, 29, 50], Operations: ['92-42=50']
Exploring Operation: 58-29=29, Resulting Numbers: [50, 29]
Generated Node #0,4,0: 48:[50, 29] Operation: 58-29=29
Exploring Operation: 50-29=21, Resulting Numbers: [58, 21]
Generated Node #0,4,1: 48:[58, 21] Operation: 50-29=21
Exploring Operation: 58+29=87, Resulting Numbers: [50, 87]
Generated Node #0,4,2: 48:[50, 87] Operation: 58+29=87
Exploring Operation: 58/29=2, Resulting Numbers: [50, 2]
Generated Node #0,4,3: 48:[50, 2] Operation: 58/29=2
Exploring Operation: 58-50=8, Resulting Numbers: [29, 8]
Generated Node #0,4,4: 48:[29, 8] Operation: 58-50=8
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[50, 2], Operations: ['92-42=50', '58/29=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[58, 29, 42, 92], Operations: []
Exploring Operation: 92-42=50, Resulting Numbers: [58, 29, 50]
Generated Node #0,4: 48:[58, 29, 50] Operation: 92-42=50
Moving to Node #0,4
Current State: 48:[58, 29, 50], Operations: ['92-42=50']
Exploring Operation: 58/29=2, Resulting Numbers: [50, 2]
Generated Node #0,4,3: 48:[50, 2] Operation: 58/29=2
Moving to Node #0,4,3
Current State: 48:[50, 2], Operations: ['92-42=50', '58/29=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
62,
87,
44,
10
] | 59 | [
"87-62=25",
"44-10=34",
"25+34=59"
] | Current State: 59:[62, 87, 44, 10], Operations: []
Exploring Operation: 87-62=25, Resulting Numbers: [44, 10, 25]
Generated Node #2: [44, 10, 25] from Operation: 87-62=25
Current State: 59:[44, 10, 25], Operations: ['87-62=25']
Exploring Operation: 44-10=34, Resulting Numbers: [25, 34]
Generated Node #3: [25, 34] from Operation: 44-10=34
Current State: 59:[25, 34], Operations: ['87-62=25', '44-10=34']
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 87, 44, 10], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [87, 44, 52]
Generated Node #0,0: 59:[87, 44, 52] Operation: 62-10=52
Exploring Operation: 87-10=77, Resulting Numbers: [62, 44, 77]
Generated Node #0,1: 59:[62, 44, 77] Operation: 87-10=77
Exploring Operation: 44+10=54, Resulting Numbers: [62, 87, 54]
Generated Node #0,2: 59:[62, 87, 54] Operation: 44+10=54
Moving to Node #0,1
Current State: 59:[62, 44, 77], Operations: ['87-10=77']
Exploring Operation: 77-62=15, Resulting Numbers: [44, 15]
Generated Node #0,1,0: 59:[44, 15] Operation: 77-62=15
Exploring Operation: 77-44=33, Resulting Numbers: [62, 33]
Generated Node #0,1,1: 59:[62, 33] Operation: 77-44=33
Exploring Operation: 62-44=18, Resulting Numbers: [77, 18]
Generated Node #0,1,2: 59:[77, 18] Operation: 62-44=18
Moving to Node #0,2
Current State: 59:[62, 87, 54], Operations: ['44+10=54']
Exploring Operation: 62-54=8, Resulting Numbers: [87, 8]
Generated Node #0,2,0: 59:[87, 8] Operation: 62-54=8
Exploring Operation: 87-62=25, Resulting Numbers: [54, 25]
Generated Node #0,2,1: 59:[54, 25] Operation: 87-62=25
Exploring Operation: 87-54=33, Resulting Numbers: [62, 33]
Generated Node #0,2,2: 59:[62, 33] Operation: 87-54=33
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[62, 33], Operations: ['44+10=54', '87-54=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,59 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[54, 25], Operations: ['44+10=54', '87-62=25']
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,59 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[87, 8], Operations: ['44+10=54', '62-54=8']
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,59 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,59 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: 59:[87, 44, 52], Operations: ['62-10=52']
Exploring Operation: 87-52=35, Resulting Numbers: [44, 35]
Generated Node #0,0,0: 59:[44, 35] Operation: 87-52=35
Exploring Operation: 44+52=96, Resulting Numbers: [87, 96]
Generated Node #0,0,1: 59:[87, 96] Operation: 44+52=96
Exploring Operation: 87-44=43, Resulting Numbers: [52, 43]
Generated Node #0,0,2: 59:[52, 43] Operation: 87-44=43
Moving to Node #0,0,2
Current State: 59:[52, 43], Operations: ['62-10=52', '87-44=43']
Exploring Operation: 52*43=2236, Resulting Numbers: [2236]
2236,59 unequal: No Solution
Exploring Operation: 52+43=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[62, 33], Operations: ['87-10=77', '77-44=33']
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,59 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,59 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[44, 35], Operations: ['62-10=52', '87-52=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[77, 18], Operations: ['87-10=77', '62-44=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[62, 87, 44, 10], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [62, 44, 77]
Generated Node #0,1: 59:[62, 44, 77] Operation: 87-10=77
Moving to Node #0,1
Current State: 59:[62, 44, 77], Operations: ['87-10=77']
Exploring Operation: 62-44=18, Resulting Numbers: [77, 18]
Generated Node #0,1,2: 59:[77, 18] Operation: 62-44=18
Moving to Node #0,1,2
Current State: 59:[77, 18], Operations: ['87-10=77', '62-44=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
46,
86,
68,
74
] | 46 | [
"86-46=40",
"74-68=6",
"40+6=46"
] | Current State: 46:[46, 86, 68, 74], Operations: []
Exploring Operation: 86-46=40, Resulting Numbers: [68, 74, 40]
Generated Node #2: [68, 74, 40] from Operation: 86-46=40
Current State: 46:[68, 74, 40], Operations: ['86-46=40']
Exploring Operation: 74-68=6, Resulting Numbers: [40, 6]
Generated Node #3: [40, 6] from Operation: 74-68=6
Current State: 46:[40, 6], Operations: ['86-46=40', '74-68=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[46, 86, 68, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [46, 68, 12]
Generated Node #0,0: 46:[46, 68, 12] Operation: 86-74=12
Exploring Operation: 86-68=18, Resulting Numbers: [46, 74, 18]
Generated Node #0,1: 46:[46, 74, 18] Operation: 86-68=18
Moving to Node #0,0
Current State: 46:[46, 68, 12], Operations: ['86-74=12']
Exploring Operation: 68-46=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 46:[12, 22] Operation: 68-46=22
Exploring Operation: 68-12=56, Resulting Numbers: [46, 56]
Generated Node #0,0,1: 46:[46, 56] Operation: 68-12=56
Moving to Node #0,1
Current State: 46:[46, 74, 18], Operations: ['86-68=18']
Exploring Operation: 74-18=56, Resulting Numbers: [46, 56]
Generated Node #0,1,0: 46:[46, 56] Operation: 74-18=56
Exploring Operation: 74-46=28, Resulting Numbers: [18, 28]
Generated Node #0,1,1: 46:[18, 28] Operation: 74-46=28
Moving to Node #0,0,1
Current State: 46:[46, 56], Operations: ['86-74=12', '68-12=56']
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,46 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[46, 56], Operations: ['86-68=18', '74-18=56']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[18, 28], Operations: ['86-68=18', '74-46=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[46, 86, 68, 74], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [46, 74, 18]
Generated Node #0,1: 46:[46, 74, 18] Operation: 86-68=18
Moving to Node #0,1
Current State: 46:[46, 74, 18], Operations: ['86-68=18']
Exploring Operation: 74-46=28, Resulting Numbers: [18, 28]
Generated Node #0,1,1: 46:[18, 28] Operation: 74-46=28
Moving to Node #0,1,1
Current State: 46:[18, 28], Operations: ['86-68=18', '74-46=28']
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
75,
41,
61,
89
] | 62 | [
"75-41=34",
"89-61=28",
"34+28=62"
] | Current State: 62:[75, 41, 61, 89], Operations: []
Exploring Operation: 75-41=34, Resulting Numbers: [61, 89, 34]
Generated Node #2: [61, 89, 34] from Operation: 75-41=34
Current State: 62:[61, 89, 34], Operations: ['75-41=34']
Exploring Operation: 89-61=28, Resulting Numbers: [34, 28]
Generated Node #3: [34, 28] from Operation: 89-61=28
Current State: 62:[34, 28], Operations: ['75-41=34', '89-61=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 41, 61, 89], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [41, 61, 14]
Generated Node #0,0: 62:[41, 61, 14] Operation: 89-75=14
Moving to Node #0,0
Current State: 62:[41, 61, 14], Operations: ['89-75=14']
Exploring Operation: 41-14=27, Resulting Numbers: [61, 27]
Generated Node #0,0,0: 62:[61, 27] Operation: 41-14=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[61, 27], Operations: ['89-75=14', '41-14=27']
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,62 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 |
[
89,
31,
9,
28
] | 86 | [
"31-28=3",
"9/3=3",
"89-3=86"
] | Current State: 86:[89, 31, 9, 28], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [89, 9, 3]
Generated Node #2: [89, 9, 3] from Operation: 31-28=3
Current State: 86:[89, 9, 3], Operations: ['31-28=3']
Exploring Operation: 9/3=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 9/3=3
Current State: 86:[89, 3], Operations: ['31-28=3', '9/3=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[89, 31, 9, 28], Operations: []
Exploring Operation: 31+9=40, Resulting Numbers: [89, 28, 40]
Generated Node #0,0: 86:[89, 28, 40] Operation: 31+9=40
Exploring Operation: 31-28=3, Resulting Numbers: [89, 9, 3]
Generated Node #0,1: 86:[89, 9, 3] Operation: 31-28=3
Exploring Operation: 9+28=37, Resulting Numbers: [89, 31, 37]
Generated Node #0,2: 86:[89, 31, 37] Operation: 9+28=37
Exploring Operation: 28-9=19, Resulting Numbers: [89, 31, 19]
Generated Node #0,3: 86:[89, 31, 19] Operation: 28-9=19
Exploring Operation: 31+28=59, Resulting Numbers: [89, 9, 59]
Generated Node #0,4: 86:[89, 9, 59] Operation: 31+28=59
Moving to Node #0,1
Current State: 86:[89, 9, 3], Operations: ['31-28=3']
Exploring Operation: 9-3=6, Resulting Numbers: [89, 6]
Generated Node #0,1,0: 86:[89, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [89, 3]
Generated Node #0,1,1: 86:[89, 3] Operation: 9/3=3
Exploring Operation: 89-9=80, Resulting Numbers: [3, 80]
Generated Node #0,1,2: 86:[3, 80] Operation: 89-9=80
Exploring Operation: 89-3=86, Resulting Numbers: [9, 86]
Generated Node #0,1,3: 86:[9, 86] Operation: 89-3=86
Exploring Operation: 89+9=98, Resulting Numbers: [3, 98]
Generated Node #0,1,4: 86:[3, 98] Operation: 89+9=98
Moving to Node #0,2
Current State: 86:[89, 31, 37], Operations: ['9+28=37']
Exploring Operation: 31+37=68, Resulting Numbers: [89, 68]
Generated Node #0,2,0: 86:[89, 68] Operation: 31+37=68
Exploring Operation: 89+31=120, Resulting Numbers: [37, 120]
Generated Node #0,2,1: 86:[37, 120] Operation: 89+31=120
Exploring Operation: 37-31=6, Resulting Numbers: [89, 6]
Generated Node #0,2,2: 86:[89, 6] Operation: 37-31=6
Exploring Operation: 89-37=52, Resulting Numbers: [31, 52]
Generated Node #0,2,3: 86:[31, 52] Operation: 89-37=52
Exploring Operation: 89-31=58, Resulting Numbers: [37, 58]
Generated Node #0,2,4: 86:[37, 58] Operation: 89-31=58
Moving to Node #0,0
Current State: 86:[89, 28, 40], Operations: ['31+9=40']
Exploring Operation: 89+28=117, Resulting Numbers: [40, 117]
Generated Node #0,0,0: 86:[40, 117] Operation: 89+28=117
Exploring Operation: 40-28=12, Resulting Numbers: [89, 12]
Generated Node #0,0,1: 86:[89, 12] Operation: 40-28=12
Exploring Operation: 89-28=61, Resulting Numbers: [40, 61]
Generated Node #0,0,2: 86:[40, 61] Operation: 89-28=61
Exploring Operation: 28+40=68, Resulting Numbers: [89, 68]
Generated Node #0,0,3: 86:[89, 68] Operation: 28+40=68
Exploring Operation: 89-40=49, Resulting Numbers: [28, 49]
Generated Node #0,0,4: 86:[28, 49] Operation: 89-40=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[89, 12], Operations: ['31+9=40', '40-28=12']
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,86 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,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, 61], Operations: ['31+9=40', '89-28=61']
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,86 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[89, 68], Operations: ['31+9=40', '28+40=68']
Exploring Operation: 89+68=157, Resulting Numbers: [157]
157,86 unequal: No Solution
Exploring Operation: 89-68=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 89*68=6052, Resulting Numbers: [6052]
6052,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,4
Current State: 86:[28, 49], Operations: ['31+9=40', '89-40=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,86 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,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:[40, 117], Operations: ['31+9=40', '89+28=117']
Exploring Operation: 40+117=157, Resulting Numbers: [157]
157,86 unequal: No Solution
Exploring Operation: 40*117=4680, Resulting Numbers: [4680]
4680,86 unequal: No Solution
Exploring Operation: 117-40=77, Resulting Numbers: [77]
77,86 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: 86:[89, 9, 59], Operations: ['31+28=59']
Exploring Operation: 59-9=50, Resulting Numbers: [89, 50]
Generated Node #0,4,0: 86:[89, 50] Operation: 59-9=50
Exploring Operation: 89-9=80, Resulting Numbers: [59, 80]
Generated Node #0,4,1: 86:[59, 80] Operation: 89-9=80
Exploring Operation: 89+9=98, Resulting Numbers: [59, 98]
Generated Node #0,4,2: 86:[59, 98] Operation: 89+9=98
Exploring Operation: 89-59=30, Resulting Numbers: [9, 30]
Generated Node #0,4,3: 86:[9, 30] Operation: 89-59=30
Exploring Operation: 9+59=68, Resulting Numbers: [89, 68]
Generated Node #0,4,4: 86:[89, 68] Operation: 9+59=68
Moving to Node #0,3
Current State: 86:[89, 31, 19], Operations: ['28-9=19']
Exploring Operation: 31+19=50, Resulting Numbers: [89, 50]
Generated Node #0,3,0: 86:[89, 50] Operation: 31+19=50
Exploring Operation: 31-19=12, Resulting Numbers: [89, 12]
Generated Node #0,3,1: 86:[89, 12] Operation: 31-19=12
Exploring Operation: 89-19=70, Resulting Numbers: [31, 70]
Generated Node #0,3,2: 86:[31, 70] Operation: 89-19=70
Exploring Operation: 89-31=58, Resulting Numbers: [19, 58]
Generated Node #0,3,3: 86:[19, 58] Operation: 89-31=58
Exploring Operation: 89+19=108, Resulting Numbers: [31, 108]
Generated Node #0,3,4: 86:[31, 108] Operation: 89+19=108
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[89, 50], Operations: ['28-9=19', '31+19=50']
Exploring Operation: 89*50=4450, Resulting Numbers: [4450]
4450,86 unequal: No Solution
Exploring Operation: 89+50=139, Resulting Numbers: [139]
139,86 unequal: No Solution
Exploring Operation: 89-50=39, Resulting Numbers: [39]
39,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,3,1
Current State: 86:[89, 12], Operations: ['28-9=19', '31-19=12']
Exploring Operation: 89*12=1068, Resulting Numbers: [1068]
1068,86 unequal: No Solution
Exploring Operation: 89+12=101, Resulting Numbers: [101]
101,86 unequal: No Solution
Exploring Operation: 89-12=77, Resulting Numbers: [77]
77,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,3,2
Current State: 86:[31, 70], Operations: ['28-9=19', '89-19=70']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 31*70=2170, Resulting Numbers: [2170]
2170,86 unequal: No Solution
Exploring Operation: 31+70=101, Resulting Numbers: [101]
101,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,3,3
Current State: 86:[19, 58], Operations: ['28-9=19', '89-31=58']
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,86 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,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,3,4
Current State: 86:[31, 108], Operations: ['28-9=19', '89+19=108']
Exploring Operation: 108-31=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 31*108=3348, Resulting Numbers: [3348]
3348,86 unequal: No Solution
Exploring Operation: 31+108=139, Resulting Numbers: [139]
139,86 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: 86:[89, 3], Operations: ['31-28=3', '9/3=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[89, 31, 9, 28], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [89, 9, 3]
Generated Node #0,1: 86:[89, 9, 3] Operation: 31-28=3
Moving to Node #0,1
Current State: 86:[89, 9, 3], Operations: ['31-28=3']
Exploring Operation: 9/3=3, Resulting Numbers: [89, 3]
Generated Node #0,1,1: 86:[89, 3] Operation: 9/3=3
Moving to Node #0,1,1
Current State: 86:[89, 3], Operations: ['31-28=3', '9/3=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.943576 | hs_5 | sum_heuristic |
[
29,
66,
47,
9
] | 19 | [
"66-29=37",
"47+9=56",
"56-37=19"
] | Current State: 19:[29, 66, 47, 9], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [47, 9, 37]
Generated Node #2: [47, 9, 37] from Operation: 66-29=37
Current State: 19:[47, 9, 37], Operations: ['66-29=37']
Exploring Operation: 47+9=56, Resulting Numbers: [37, 56]
Generated Node #3: [37, 56] from Operation: 47+9=56
Current State: 19:[37, 56], Operations: ['66-29=37', '47+9=56']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[29, 66, 47, 9], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [29, 9, 19]
Generated Node #0,0: 19:[29, 9, 19] Operation: 66-47=19
Exploring Operation: 66-29=37, Resulting Numbers: [47, 9, 37]
Generated Node #0,1: 19:[47, 9, 37] Operation: 66-29=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[29, 9, 19], Operations: ['66-47=19']
Exploring Operation: 29-9=20, Resulting Numbers: [19, 20]
Generated Node #0,0,0: 19:[19, 20] Operation: 29-9=20
Exploring Operation: 29+9=38, Resulting Numbers: [19, 38]
Generated Node #0,0,1: 19:[19, 38] Operation: 29+9=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[19, 20], Operations: ['66-47=19', '29-9=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[19, 38], Operations: ['66-47=19', '29+9=38']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[29, 66, 47, 9], Operations: []
Exploring Operation: 66-47=19, Resulting Numbers: [29, 9, 19]
Generated Node #0,0: 19:[29, 9, 19] Operation: 66-47=19
Moving to Node #0,0
Current State: 19:[29, 9, 19], Operations: ['66-47=19']
Exploring Operation: 29+9=38, Resulting Numbers: [19, 38]
Generated Node #0,0,1: 19:[19, 38] Operation: 29+9=38
Moving to Node #0,0,1
Current State: 19:[19, 38], Operations: ['66-47=19', '29+9=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
18,
65,
24,
63
] | 21 | [
"18+24=42",
"65-63=2",
"42/2=21"
] | Current State: 21:[18, 65, 24, 63], Operations: []
Exploring Operation: 18+24=42, Resulting Numbers: [65, 63, 42]
Generated Node #2: [65, 63, 42] from Operation: 18+24=42
Current State: 21:[65, 63, 42], Operations: ['18+24=42']
Exploring Operation: 65-63=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 65-63=2
Current State: 21:[42, 2], Operations: ['18+24=42', '65-63=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[18, 65, 24, 63], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [18, 24, 2]
Generated Node #0,0: 21:[18, 24, 2] Operation: 65-63=2
Exploring Operation: 65-24=41, Resulting Numbers: [18, 63, 41]
Generated Node #0,1: 21:[18, 63, 41] Operation: 65-24=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[18, 24, 2], Operations: ['65-63=2']
Exploring Operation: 18+2=20, Resulting Numbers: [24, 20]
Generated Node #0,0,0: 21:[24, 20] Operation: 18+2=20
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 21:[2, 6] Operation: 24-18=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[2, 6], Operations: ['65-63=2', '24-18=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[24, 20], Operations: ['65-63=2', '18+2=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[18, 63, 41], Operations: ['65-24=41']
Exploring Operation: 63-41=22, Resulting Numbers: [18, 22]
Generated Node #0,1,0: 21:[18, 22] Operation: 63-41=22
Exploring Operation: 63-18=45, Resulting Numbers: [41, 45]
Generated Node #0,1,1: 21:[41, 45] Operation: 63-18=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[18, 22], Operations: ['65-24=41', '63-41=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[41, 45], Operations: ['65-24=41', '63-18=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,21 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
39,
30,
6,
23
] | 40 | [
"39+30=69",
"6+23=29",
"69-29=40"
] | Current State: 40:[39, 30, 6, 23], Operations: []
Exploring Operation: 39+30=69, Resulting Numbers: [6, 23, 69]
Generated Node #2: [6, 23, 69] from Operation: 39+30=69
Current State: 40:[6, 23, 69], Operations: ['39+30=69']
Exploring Operation: 6+23=29, Resulting Numbers: [69, 29]
Generated Node #3: [69, 29] from Operation: 6+23=29
Current State: 40:[69, 29], Operations: ['39+30=69', '6+23=29']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[39, 30, 6, 23], Operations: []
Exploring Operation: 30-6=24, Resulting Numbers: [39, 23, 24]
Generated Node #0,0: 40:[39, 23, 24] Operation: 30-6=24
Exploring Operation: 30-23=7, Resulting Numbers: [39, 6, 7]
Generated Node #0,1: 40:[39, 6, 7] Operation: 30-23=7
Exploring Operation: 30/6=5, Resulting Numbers: [39, 23, 5]
Generated Node #0,2: 40:[39, 23, 5] Operation: 30/6=5
Exploring Operation: 39-30=9, Resulting Numbers: [6, 23, 9]
Generated Node #0,3: 40:[6, 23, 9] Operation: 39-30=9
Exploring Operation: 30+6=36, Resulting Numbers: [39, 23, 36]
Generated Node #0,4: 40:[39, 23, 36] Operation: 30+6=36
Moving to Node #0,1
Current State: 40:[39, 6, 7], Operations: ['30-23=7']
Exploring Operation: 7-6=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 40:[39, 1] Operation: 7-6=1
Exploring Operation: 6+7=13, Resulting Numbers: [39, 13]
Generated Node #0,1,1: 40:[39, 13] Operation: 6+7=13
Exploring Operation: 6*7=42, Resulting Numbers: [39, 42]
Generated Node #0,1,2: 40:[39, 42] Operation: 6*7=42
Exploring Operation: 39+6=45, Resulting Numbers: [7, 45]
Generated Node #0,1,3: 40:[7, 45] Operation: 39+6=45
Exploring Operation: 39+7=46, Resulting Numbers: [6, 46]
Generated Node #0,1,4: 40:[6, 46] Operation: 39+7=46
Moving to Node #0,2
Current State: 40:[39, 23, 5], Operations: ['30/6=5']
Exploring Operation: 23+5=28, Resulting Numbers: [39, 28]
Generated Node #0,2,0: 40:[39, 28] Operation: 23+5=28
Exploring Operation: 39+5=44, Resulting Numbers: [23, 44]
Generated Node #0,2,1: 40:[23, 44] Operation: 39+5=44
Exploring Operation: 23-5=18, Resulting Numbers: [39, 18]
Generated Node #0,2,2: 40:[39, 18] Operation: 23-5=18
Exploring Operation: 39-23=16, Resulting Numbers: [5, 16]
Generated Node #0,2,3: 40:[5, 16] Operation: 39-23=16
Exploring Operation: 39-5=34, Resulting Numbers: [23, 34]
Generated Node #0,2,4: 40:[23, 34] Operation: 39-5=34
Moving to Node #0,3
Current State: 40:[6, 23, 9], Operations: ['39-30=9']
Exploring Operation: 23-6=17, Resulting Numbers: [9, 17]
Generated Node #0,3,0: 40:[9, 17] Operation: 23-6=17
Exploring Operation: 6+9=15, Resulting Numbers: [23, 15]
Generated Node #0,3,1: 40:[23, 15] Operation: 6+9=15
Exploring Operation: 23+9=32, Resulting Numbers: [6, 32]
Generated Node #0,3,2: 40:[6, 32] Operation: 23+9=32
Exploring Operation: 23-9=14, Resulting Numbers: [6, 14]
Generated Node #0,3,3: 40:[6, 14] Operation: 23-9=14
Exploring Operation: 9-6=3, Resulting Numbers: [23, 3]
Generated Node #0,3,4: 40:[23, 3] Operation: 9-6=3
Moving to Node #0,0
Current State: 40:[39, 23, 24], Operations: ['30-6=24']
Exploring Operation: 24-23=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 40:[39, 1] Operation: 24-23=1
Exploring Operation: 39-23=16, Resulting Numbers: [24, 16]
Generated Node #0,0,1: 40:[24, 16] Operation: 39-23=16
Exploring Operation: 23+24=47, Resulting Numbers: [39, 47]
Generated Node #0,0,2: 40:[39, 47] Operation: 23+24=47
Exploring Operation: 39+23=62, Resulting Numbers: [24, 62]
Generated Node #0,0,3: 40:[24, 62] Operation: 39+23=62
Exploring Operation: 39-24=15, Resulting Numbers: [23, 15]
Generated Node #0,0,4: 40:[23, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[39, 1], Operations: ['30-6=24', '24-23=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[39, 30, 6, 23], Operations: []
Exploring Operation: 30-6=24, Resulting Numbers: [39, 23, 24]
Generated Node #0,0: 40:[39, 23, 24] Operation: 30-6=24
Moving to Node #0,0
Current State: 40:[39, 23, 24], Operations: ['30-6=24']
Exploring Operation: 24-23=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 40:[39, 1] Operation: 24-23=1
Moving to Node #0,0,0
Current State: 40:[39, 1], Operations: ['30-6=24', '24-23=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
61,
63,
42,
31
] | 51 | [
"61+63=124",
"42+31=73",
"124-73=51"
] | Current State: 51:[61, 63, 42, 31], Operations: []
Exploring Operation: 61+63=124, Resulting Numbers: [42, 31, 124]
Generated Node #2: [42, 31, 124] from Operation: 61+63=124
Current State: 51:[42, 31, 124], Operations: ['61+63=124']
Exploring Operation: 42+31=73, Resulting Numbers: [124, 73]
Generated Node #3: [124, 73] from Operation: 42+31=73
Current State: 51:[124, 73], Operations: ['61+63=124', '42+31=73']
Exploring Operation: 124-73=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[61, 63, 42, 31], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [42, 31, 2]
Generated Node #0,0: 51:[42, 31, 2] Operation: 63-61=2
Exploring Operation: 61-42=19, Resulting Numbers: [63, 31, 19]
Generated Node #0,1: 51:[63, 31, 19] Operation: 61-42=19
Exploring Operation: 63-42=21, Resulting Numbers: [61, 31, 21]
Generated Node #0,2: 51:[61, 31, 21] Operation: 63-42=21
Moving to Node #0,0
Current State: 51:[42, 31, 2], Operations: ['63-61=2']
Exploring Operation: 42/2=21, Resulting Numbers: [31, 21]
Generated Node #0,0,0: 51:[31, 21] Operation: 42/2=21
Exploring Operation: 42-31=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 51:[2, 11] Operation: 42-31=11
Exploring Operation: 31*2=62, Resulting Numbers: [42, 62]
Generated Node #0,0,2: 51:[42, 62] Operation: 31*2=62
Moving to Node #0,1
Current State: 51:[63, 31, 19], Operations: ['61-42=19']
Exploring Operation: 63-31=32, Resulting Numbers: [19, 32]
Generated Node #0,1,0: 51:[19, 32] Operation: 63-31=32
Exploring Operation: 31-19=12, Resulting Numbers: [63, 12]
Generated Node #0,1,1: 51:[63, 12] Operation: 31-19=12
Exploring Operation: 31+19=50, Resulting Numbers: [63, 50]
Generated Node #0,1,2: 51:[63, 50] Operation: 31+19=50
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[63, 50], Operations: ['61-42=19', '31+19=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,51 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[19, 32], Operations: ['61-42=19', '63-31=32']
Exploring Operation: 19*32=608, Resulting Numbers: [608]
608,51 unequal: No Solution
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[61, 63, 42, 31], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [63, 31, 19]
Generated Node #0,1: 51:[63, 31, 19] Operation: 61-42=19
Moving to Node #0,1
Current State: 51:[63, 31, 19], Operations: ['61-42=19']
Exploring Operation: 63-31=32, Resulting Numbers: [19, 32]
Generated Node #0,1,0: 51:[19, 32] Operation: 63-31=32
Moving to Node #0,1,0
Current State: 51:[19, 32], Operations: ['61-42=19', '63-31=32']
Exploring Operation: 19+32=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
90,
75,
54,
35
] | 34 | [
"90-75=15",
"54-35=19",
"15+19=34"
] | Current State: 34:[90, 75, 54, 35], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [54, 35, 15]
Generated Node #2: [54, 35, 15] from Operation: 90-75=15
Current State: 34:[54, 35, 15], Operations: ['90-75=15']
Exploring Operation: 54-35=19, Resulting Numbers: [15, 19]
Generated Node #3: [15, 19] from Operation: 54-35=19
Current State: 34:[15, 19], Operations: ['90-75=15', '54-35=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[90, 75, 54, 35], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [54, 35, 15]
Generated Node #0,0: 34:[54, 35, 15] Operation: 90-75=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[54, 35, 15], Operations: ['90-75=15']
Exploring Operation: 54-35=19, Resulting Numbers: [15, 19]
Generated Node #0,0,0: 34:[15, 19] Operation: 54-35=19
Moving to Node #0,0,0
Current State: 34:[15, 19], Operations: ['90-75=15', '54-35=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[90, 75, 54, 35], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [54, 35, 15]
Generated Node #0,0: 34:[54, 35, 15] Operation: 90-75=15
Moving to Node #0,0
Current State: 34:[54, 35, 15], Operations: ['90-75=15']
Exploring Operation: 54-35=19, Resulting Numbers: [15, 19]
Generated Node #0,0,0: 34:[15, 19] Operation: 54-35=19
Moving to Node #0,0,0
Current State: 34:[15, 19], Operations: ['90-75=15', '54-35=19']
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
87,
55,
51,
7
] | 90 | [
"87-55=32",
"51+7=58",
"32+58=90"
] | Current State: 90:[87, 55, 51, 7], Operations: []
Exploring Operation: 87-55=32, Resulting Numbers: [51, 7, 32]
Generated Node #2: [51, 7, 32] from Operation: 87-55=32
Current State: 90:[51, 7, 32], Operations: ['87-55=32']
Exploring Operation: 51+7=58, Resulting Numbers: [32, 58]
Generated Node #3: [32, 58] from Operation: 51+7=58
Current State: 90:[32, 58], Operations: ['87-55=32', '51+7=58']
Exploring Operation: 32+58=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[87, 55, 51, 7], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [87, 7, 4]
Generated Node #0,0: 90:[87, 7, 4] Operation: 55-51=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[87, 7, 4], Operations: ['55-51=4']
Exploring Operation: 87+4=91, Resulting Numbers: [7, 91]
Generated Node #0,0,0: 90:[7, 91] Operation: 87+4=91
Moving to Node #0,0,0
Current State: 90:[7, 91], Operations: ['55-51=4', '87+4=91']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
81,
13,
7
] | 30 | [
"91-81=10",
"13+7=20",
"10+20=30"
] | Current State: 30:[91, 81, 13, 7], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [13, 7, 10]
Generated Node #2: [13, 7, 10] from Operation: 91-81=10
Current State: 30:[13, 7, 10], Operations: ['91-81=10']
Exploring Operation: 13+7=20, Resulting Numbers: [10, 20]
Generated Node #3: [10, 20] from Operation: 13+7=20
Current State: 30:[10, 20], Operations: ['91-81=10', '13+7=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[91, 81, 13, 7], Operations: []
Exploring Operation: 91-81=10, Resulting Numbers: [13, 7, 10]
Generated Node #0,0: 30:[13, 7, 10] Operation: 91-81=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[13, 7, 10], Operations: ['91-81=10']
Exploring Operation: 13-7=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 30:[10, 6] Operation: 13-7=6
Moving to Node #0,0,0
Current State: 30:[10, 6], Operations: ['91-81=10', '13-7=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,30 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 |
[
57,
14,
75,
18
] | 33 | [
"57+75=132",
"18-14=4",
"132/4=33"
] | Current State: 33:[57, 14, 75, 18], Operations: []
Exploring Operation: 57+75=132, Resulting Numbers: [14, 18, 132]
Generated Node #2: [14, 18, 132] from Operation: 57+75=132
Current State: 33:[14, 18, 132], Operations: ['57+75=132']
Exploring Operation: 18-14=4, Resulting Numbers: [132, 4]
Generated Node #3: [132, 4] from Operation: 18-14=4
Current State: 33:[132, 4], Operations: ['57+75=132', '18-14=4']
Exploring Operation: 132/4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[57, 14, 75, 18], Operations: []
Exploring Operation: 57-18=39, Resulting Numbers: [14, 75, 39]
Generated Node #0,0: 33:[14, 75, 39] Operation: 57-18=39
Exploring Operation: 75-57=18, Resulting Numbers: [14, 18, 18]
Generated Node #0,1: 33:[14, 18, 18] Operation: 75-57=18
Moving to Node #0,1
Current State: 33:[14, 18, 18], Operations: ['75-57=18']
Exploring Operation: 18+18=36, Resulting Numbers: [14, 36]
Generated Node #0,1,0: 33:[14, 36] Operation: 18+18=36
Exploring Operation: 18/18=1, Resulting Numbers: [14, 1]
Generated Node #0,1,1: 33:[14, 1] Operation: 18/18=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[14, 1], Operations: ['75-57=18', '18/18=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[14, 36], Operations: ['75-57=18', '18+18=36']
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 33:[14, 75, 39], Operations: ['57-18=39']
Exploring Operation: 75-39=36, Resulting Numbers: [14, 36]
Generated Node #0,0,0: 33:[14, 36] Operation: 75-39=36
Exploring Operation: 75-14=61, Resulting Numbers: [39, 61]
Generated Node #0,0,1: 33:[39, 61] Operation: 75-14=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[14, 36], Operations: ['57-18=39', '75-39=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[39, 61], Operations: ['57-18=39', '75-14=61']
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,33 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,33 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 |
[
84,
10,
15,
26
] | 46 | [
"15-10=5",
"26*5=130",
"130-84=46"
] | Current State: 46:[84, 10, 15, 26], Operations: []
Exploring Operation: 15-10=5, Resulting Numbers: [84, 26, 5]
Generated Node #2: [84, 26, 5] from Operation: 15-10=5
Current State: 46:[84, 26, 5], Operations: ['15-10=5']
Exploring Operation: 26*5=130, Resulting Numbers: [84, 130]
Generated Node #3: [84, 130] from Operation: 26*5=130
Current State: 46:[84, 130], Operations: ['15-10=5', '26*5=130']
Exploring Operation: 130-84=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[84, 10, 15, 26], Operations: []
Exploring Operation: 84-15=69, Resulting Numbers: [10, 26, 69]
Generated Node #0,0: 46:[10, 26, 69] Operation: 84-15=69
Exploring Operation: 84-26=58, Resulting Numbers: [10, 15, 58]
Generated Node #0,1: 46:[10, 15, 58] Operation: 84-26=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[10, 15, 58], Operations: ['84-26=58']
Exploring Operation: 58-15=43, Resulting Numbers: [10, 43]
Generated Node #0,1,0: 46:[10, 43] Operation: 58-15=43
Exploring Operation: 58-10=48, Resulting Numbers: [15, 48]
Generated Node #0,1,1: 46:[15, 48] Operation: 58-10=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[15, 48], Operations: ['84-26=58', '58-10=48']
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[10, 43], Operations: ['84-26=58', '58-15=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[10, 26, 69], Operations: ['84-15=69']
Exploring Operation: 69-26=43, Resulting Numbers: [10, 43]
Generated Node #0,0,0: 46:[10, 43] Operation: 69-26=43
Exploring Operation: 69-10=59, Resulting Numbers: [26, 59]
Generated Node #0,0,1: 46:[26, 59] Operation: 69-10=59
Moving to Node #0,0,0
Current State: 46:[10, 43], Operations: ['84-15=69', '69-26=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[26, 59], Operations: ['84-15=69', '69-10=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,46 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.