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 |
|---|---|---|---|---|---|---|---|---|
[
33,
21,
9,
92
] | 86 | [
"33+21=54",
"54/9=6",
"92-6=86"
] | Current State: 86:[33, 21, 9, 92], Operations: []
Exploring Operation: 33+21=54, Resulting Numbers: [9, 92, 54]
Generated Node #2: [9, 92, 54] from Operation: 33+21=54
Current State: 86:[9, 92, 54], Operations: ['33+21=54']
Exploring Operation: 54/9=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 54/9=6
Current State: 86:[92, 6], Operations: ['33+21=54', '54/9=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[33, 21, 9, 92], Operations: []
Exploring Operation: 33+9=42, Resulting Numbers: [21, 92, 42]
Generated Node #0,0: 86:[21, 92, 42] Operation: 33+9=42
Exploring Operation: 33+21=54, Resulting Numbers: [9, 92, 54]
Generated Node #0,1: 86:[9, 92, 54] Operation: 33+21=54
Exploring Operation: 33-21=12, Resulting Numbers: [9, 92, 12]
Generated Node #0,2: 86:[9, 92, 12] Operation: 33-21=12
Exploring Operation: 21-9=12, Resulting Numbers: [33, 92, 12]
Generated Node #0,3: 86:[33, 92, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[9, 92, 12], Operations: ['33-21=12']
Exploring Operation: 12-9=3, Resulting Numbers: [92, 3]
Generated Node #0,2,0: 86:[92, 3] Operation: 12-9=3
Exploring Operation: 9+92=101, Resulting Numbers: [12, 101]
Generated Node #0,2,1: 86:[12, 101] Operation: 9+92=101
Exploring Operation: 92-12=80, Resulting Numbers: [9, 80]
Generated Node #0,2,2: 86:[9, 80] Operation: 92-12=80
Exploring Operation: 92-9=83, Resulting Numbers: [12, 83]
Generated Node #0,2,3: 86:[12, 83] Operation: 92-9=83
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[92, 3], Operations: ['33-21=12', '12-9=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,86 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,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,2,2
Current State: 86:[9, 80], Operations: ['33-21=12', '92-12=80']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 9*80=720, Resulting Numbers: [720]
720,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,2,3
Current State: 86:[12, 83], Operations: ['33-21=12', '92-9=83']
Exploring Operation: 12*83=996, Resulting Numbers: [996]
996,86 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 12+83=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,2,1
Current State: 86:[12, 101], Operations: ['33-21=12', '9+92=101']
Exploring Operation: 12*101=1212, Resulting Numbers: [1212]
1212,86 unequal: No Solution
Exploring Operation: 101-12=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 12+101=113, Resulting Numbers: [113]
113,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[9, 92, 54], Operations: ['33+21=54']
Exploring Operation: 92-54=38, Resulting Numbers: [9, 38]
Generated Node #0,1,0: 86:[9, 38] Operation: 92-54=38
Exploring Operation: 54-9=45, Resulting Numbers: [92, 45]
Generated Node #0,1,1: 86:[92, 45] Operation: 54-9=45
Exploring Operation: 92-9=83, Resulting Numbers: [54, 83]
Generated Node #0,1,2: 86:[54, 83] Operation: 92-9=83
Exploring Operation: 54/9=6, Resulting Numbers: [92, 6]
Generated Node #0,1,3: 86:[92, 6] Operation: 54/9=6
Moving to Node #0,1,1
Current State: 86:[92, 45], Operations: ['33+21=54', '54-9=45']
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,86 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[92, 6], Operations: ['33+21=54', '54/9=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[33, 21, 9, 92], Operations: []
Exploring Operation: 33+21=54, Resulting Numbers: [9, 92, 54]
Generated Node #0,1: 86:[9, 92, 54] Operation: 33+21=54
Moving to Node #0,1
Current State: 86:[9, 92, 54], Operations: ['33+21=54']
Exploring Operation: 54/9=6, Resulting Numbers: [92, 6]
Generated Node #0,1,3: 86:[92, 6] Operation: 54/9=6
Moving to Node #0,1,3
Current State: 86:[92, 6], Operations: ['33+21=54', '54/9=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
39,
23,
41,
51
] | 35 | [
"41+51=92",
"92/23=4",
"39-4=35"
] | Current State: 35:[39, 23, 41, 51], Operations: []
Exploring Operation: 41+51=92, Resulting Numbers: [39, 23, 92]
Generated Node #2: [39, 23, 92] from Operation: 41+51=92
Current State: 35:[39, 23, 92], Operations: ['41+51=92']
Exploring Operation: 92/23=4, Resulting Numbers: [39, 4]
Generated Node #3: [39, 4] from Operation: 92/23=4
Current State: 35:[39, 4], Operations: ['41+51=92', '92/23=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[39, 23, 41, 51], Operations: []
Exploring Operation: 51-39=12, Resulting Numbers: [23, 41, 12]
Generated Node #0,0: 35:[23, 41, 12] Operation: 51-39=12
Exploring Operation: 51-41=10, Resulting Numbers: [39, 23, 10]
Generated Node #0,1: 35:[39, 23, 10] Operation: 51-41=10
Exploring Operation: 51-23=28, Resulting Numbers: [39, 41, 28]
Generated Node #0,2: 35:[39, 41, 28] Operation: 51-23=28
Moving to Node #0,2
Current State: 35:[39, 41, 28], Operations: ['51-23=28']
Exploring Operation: 41-39=2, Resulting Numbers: [28, 2]
Generated Node #0,2,0: 35:[28, 2] Operation: 41-39=2
Exploring Operation: 41-28=13, Resulting Numbers: [39, 13]
Generated Node #0,2,1: 35:[39, 13] Operation: 41-28=13
Exploring Operation: 39-28=11, Resulting Numbers: [41, 11]
Generated Node #0,2,2: 35:[41, 11] Operation: 39-28=11
Moving to Node #0,1
Current State: 35:[39, 23, 10], Operations: ['51-41=10']
Exploring Operation: 39-23=16, Resulting Numbers: [10, 16]
Generated Node #0,1,0: 35:[10, 16] Operation: 39-23=16
Exploring Operation: 23+10=33, Resulting Numbers: [39, 33]
Generated Node #0,1,1: 35:[39, 33] Operation: 23+10=33
Exploring Operation: 23-10=13, Resulting Numbers: [39, 13]
Generated Node #0,1,2: 35:[39, 13] Operation: 23-10=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[39, 33], Operations: ['51-41=10', '23+10=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[39, 13], Operations: ['51-41=10', '23-10=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[10, 16], Operations: ['51-41=10', '39-23=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[23, 41, 12], Operations: ['51-39=12']
Exploring Operation: 23+12=35, Resulting Numbers: [41, 35]
Generated Node #0,0,0: 35:[41, 35] Operation: 23+12=35
Exploring Operation: 23-12=11, Resulting Numbers: [41, 11]
Generated Node #0,0,1: 35:[41, 11] Operation: 23-12=11
Exploring Operation: 41-23=18, Resulting Numbers: [12, 18]
Generated Node #0,0,2: 35:[12, 18] Operation: 41-23=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[41, 35], Operations: ['51-39=12', '23+12=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,35 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[41, 11], Operations: ['51-39=12', '23-12=11']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[12, 18], Operations: ['51-39=12', '41-23=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,35 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,35 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: 35:[28, 2], Operations: ['51-23=28', '41-39=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,35 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[39, 13], Operations: ['51-23=28', '41-28=13']
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,35 unequal: No Solution
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[41, 11], Operations: ['51-23=28', '39-28=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,35 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
5,
7,
16,
70
] | 43 | [
"7-5=2",
"16+70=86",
"86/2=43"
] | Current State: 43:[5, 7, 16, 70], Operations: []
Exploring Operation: 7-5=2, Resulting Numbers: [16, 70, 2]
Generated Node #2: [16, 70, 2] from Operation: 7-5=2
Current State: 43:[16, 70, 2], Operations: ['7-5=2']
Exploring Operation: 16+70=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 16+70=86
Current State: 43:[2, 86], Operations: ['7-5=2', '16+70=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[5, 7, 16, 70], Operations: []
Exploring Operation: 5*7=35, Resulting Numbers: [16, 70, 35]
Generated Node #0,0: 43:[16, 70, 35] Operation: 5*7=35
Moving to Node #0,0
Current State: 43:[16, 70, 35], Operations: ['5*7=35']
Exploring Operation: 70-16=54, Resulting Numbers: [35, 54]
Generated Node #0,0,0: 43:[35, 54] Operation: 70-16=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[35, 54], Operations: ['5*7=35', '70-16=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,43 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 |
[
14,
80,
92,
39
] | 13 | [
"80-14=66",
"92-39=53",
"66-53=13"
] | Current State: 13:[14, 80, 92, 39], Operations: []
Exploring Operation: 80-14=66, Resulting Numbers: [92, 39, 66]
Generated Node #2: [92, 39, 66] from Operation: 80-14=66
Current State: 13:[92, 39, 66], Operations: ['80-14=66']
Exploring Operation: 92-39=53, Resulting Numbers: [66, 53]
Generated Node #3: [66, 53] from Operation: 92-39=53
Current State: 13:[66, 53], Operations: ['80-14=66', '92-39=53']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[14, 80, 92, 39], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [14, 39, 12]
Generated Node #0,0: 13:[14, 39, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[14, 39, 12], Operations: ['92-80=12']
Exploring Operation: 39-14=25, Resulting Numbers: [12, 25]
Generated Node #0,0,0: 13:[12, 25] Operation: 39-14=25
Moving to Node #0,0,0
Current State: 13:[12, 25], Operations: ['92-80=12', '39-14=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[14, 80, 92, 39], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [14, 39, 12]
Generated Node #0,0: 13:[14, 39, 12] Operation: 92-80=12
Moving to Node #0,0
Current State: 13:[14, 39, 12], Operations: ['92-80=12']
Exploring Operation: 39-14=25, Resulting Numbers: [12, 25]
Generated Node #0,0,0: 13:[12, 25] Operation: 39-14=25
Moving to Node #0,0,0
Current State: 13:[12, 25], Operations: ['92-80=12', '39-14=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
62,
55,
75,
64
] | 57 | [
"75-64=11",
"55/11=5",
"62-5=57"
] | Current State: 57:[62, 55, 75, 64], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [62, 55, 11]
Generated Node #2: [62, 55, 11] from Operation: 75-64=11
Current State: 57:[62, 55, 11], Operations: ['75-64=11']
Exploring Operation: 55/11=5, Resulting Numbers: [62, 5]
Generated Node #3: [62, 5] from Operation: 55/11=5
Current State: 57:[62, 5], Operations: ['75-64=11', '55/11=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[62, 55, 75, 64], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [62, 55, 11]
Generated Node #0,0: 57:[62, 55, 11] Operation: 75-64=11
Exploring Operation: 75-62=13, Resulting Numbers: [55, 64, 13]
Generated Node #0,1: 57:[55, 64, 13] Operation: 75-62=13
Exploring Operation: 75-55=20, Resulting Numbers: [62, 64, 20]
Generated Node #0,2: 57:[62, 64, 20] Operation: 75-55=20
Moving to Node #0,2
Current State: 57:[62, 64, 20], Operations: ['75-55=20']
Exploring Operation: 64-62=2, Resulting Numbers: [20, 2]
Generated Node #0,2,0: 57:[20, 2] Operation: 64-62=2
Exploring Operation: 64-20=44, Resulting Numbers: [62, 44]
Generated Node #0,2,1: 57:[62, 44] Operation: 64-20=44
Exploring Operation: 62-20=42, Resulting Numbers: [64, 42]
Generated Node #0,2,2: 57:[64, 42] Operation: 62-20=42
Moving to Node #0,0
Current State: 57:[62, 55, 11], Operations: ['75-64=11']
Exploring Operation: 55/11=5, Resulting Numbers: [62, 5]
Generated Node #0,0,0: 57:[62, 5] Operation: 55/11=5
Exploring Operation: 62-11=51, Resulting Numbers: [55, 51]
Generated Node #0,0,1: 57:[55, 51] Operation: 62-11=51
Exploring Operation: 62-55=7, Resulting Numbers: [11, 7]
Generated Node #0,0,2: 57:[11, 7] Operation: 62-55=7
Moving to Node #0,1
Current State: 57:[55, 64, 13], Operations: ['75-62=13']
Exploring Operation: 55+13=68, Resulting Numbers: [64, 68]
Generated Node #0,1,0: 57:[64, 68] Operation: 55+13=68
Exploring Operation: 64-55=9, Resulting Numbers: [13, 9]
Generated Node #0,1,1: 57:[13, 9] Operation: 64-55=9
Exploring Operation: 64-13=51, Resulting Numbers: [55, 51]
Generated Node #0,1,2: 57:[55, 51] Operation: 64-13=51
Moving to Node #0,2,0
Current State: 57:[20, 2], Operations: ['75-55=20', '64-62=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[62, 5], Operations: ['75-64=11', '55/11=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[62, 55, 75, 64], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [62, 55, 11]
Generated Node #0,0: 57:[62, 55, 11] Operation: 75-64=11
Moving to Node #0,0
Current State: 57:[62, 55, 11], Operations: ['75-64=11']
Exploring Operation: 55/11=5, Resulting Numbers: [62, 5]
Generated Node #0,0,0: 57:[62, 5] Operation: 55/11=5
Moving to Node #0,0,0
Current State: 57:[62, 5], Operations: ['75-64=11', '55/11=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.982639 | hs_3 | sum_heuristic |
[
18,
43,
73,
3
] | 45 | [
"43-18=25",
"73-3=70",
"70-25=45"
] | Current State: 45:[18, 43, 73, 3], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [73, 3, 25]
Generated Node #2: [73, 3, 25] from Operation: 43-18=25
Current State: 45:[73, 3, 25], Operations: ['43-18=25']
Exploring Operation: 73-3=70, Resulting Numbers: [25, 70]
Generated Node #3: [25, 70] from Operation: 73-3=70
Current State: 45:[25, 70], Operations: ['43-18=25', '73-3=70']
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[18, 43, 73, 3], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [18, 3, 30]
Generated Node #0,0: 45:[18, 3, 30] Operation: 73-43=30
Exploring Operation: 73-18=55, Resulting Numbers: [43, 3, 55]
Generated Node #0,1: 45:[43, 3, 55] Operation: 73-18=55
Exploring Operation: 18-3=15, Resulting Numbers: [43, 73, 15]
Generated Node #0,2: 45:[43, 73, 15] Operation: 18-3=15
Moving to Node #0,1
Current State: 45:[43, 3, 55], Operations: ['73-18=55']
Exploring Operation: 55-43=12, Resulting Numbers: [3, 12]
Generated Node #0,1,0: 45:[3, 12] Operation: 55-43=12
Exploring Operation: 43+3=46, Resulting Numbers: [55, 46]
Generated Node #0,1,1: 45:[55, 46] Operation: 43+3=46
Exploring Operation: 55-3=52, Resulting Numbers: [43, 52]
Generated Node #0,1,2: 45:[43, 52] Operation: 55-3=52
Moving to Node #0,0
Current State: 45:[18, 3, 30], Operations: ['73-43=30']
Exploring Operation: 18+30=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 45:[3, 48] Operation: 18+30=48
Exploring Operation: 30-18=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 45:[3, 12] Operation: 30-18=12
Exploring Operation: 30/3=10, Resulting Numbers: [18, 10]
Generated Node #0,0,2: 45:[18, 10] Operation: 30/3=10
Moving to Node #0,2
Current State: 45:[43, 73, 15], Operations: ['18-3=15']
Exploring Operation: 43+15=58, Resulting Numbers: [73, 58]
Generated Node #0,2,0: 45:[73, 58] Operation: 43+15=58
Exploring Operation: 73-43=30, Resulting Numbers: [15, 30]
Generated Node #0,2,1: 45:[15, 30] Operation: 73-43=30
Exploring Operation: 73-15=58, Resulting Numbers: [43, 58]
Generated Node #0,2,2: 45:[43, 58] Operation: 73-15=58
Moving to Node #0,1,0
Current State: 45:[3, 12], Operations: ['73-18=55', '55-43=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[3, 48], Operations: ['73-43=30', '18+30=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[18, 43, 73, 3], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [18, 3, 30]
Generated Node #0,0: 45:[18, 3, 30] Operation: 73-43=30
Moving to Node #0,0
Current State: 45:[18, 3, 30], Operations: ['73-43=30']
Exploring Operation: 18+30=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 45:[3, 48] Operation: 18+30=48
Moving to Node #0,0,0
Current State: 45:[3, 48], Operations: ['73-43=30', '18+30=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.982639 | hs_3 | mult_heuristic |
[
22,
59,
12,
57
] | 36 | [
"22+59=81",
"57-12=45",
"81-45=36"
] | Current State: 36:[22, 59, 12, 57], Operations: []
Exploring Operation: 22+59=81, Resulting Numbers: [12, 57, 81]
Generated Node #2: [12, 57, 81] from Operation: 22+59=81
Current State: 36:[12, 57, 81], Operations: ['22+59=81']
Exploring Operation: 57-12=45, Resulting Numbers: [81, 45]
Generated Node #3: [81, 45] from Operation: 57-12=45
Current State: 36:[81, 45], Operations: ['22+59=81', '57-12=45']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[22, 59, 12, 57], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [12, 57, 37]
Generated Node #0,0: 36:[12, 57, 37] Operation: 59-22=37
Exploring Operation: 57-12=45, Resulting Numbers: [22, 59, 45]
Generated Node #0,1: 36:[22, 59, 45] Operation: 57-12=45
Exploring Operation: 57-22=35, Resulting Numbers: [59, 12, 35]
Generated Node #0,2: 36:[59, 12, 35] Operation: 57-22=35
Exploring Operation: 59-57=2, Resulting Numbers: [22, 12, 2]
Generated Node #0,3: 36:[22, 12, 2] Operation: 59-57=2
Exploring Operation: 59-12=47, Resulting Numbers: [22, 57, 47]
Generated Node #0,4: 36:[22, 57, 47] Operation: 59-12=47
Moving to Node #0,3
Current State: 36:[22, 12, 2], Operations: ['59-57=2']
Exploring Operation: 22+12=34, Resulting Numbers: [2, 34]
Generated Node #0,3,0: 36:[2, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [2, 10]
Generated Node #0,3,1: 36:[2, 10] Operation: 22-12=10
Exploring Operation: 22-2=20, Resulting Numbers: [12, 20]
Generated Node #0,3,2: 36:[12, 20] Operation: 22-2=20
Exploring Operation: 12/2=6, Resulting Numbers: [22, 6]
Generated Node #0,3,3: 36:[22, 6] Operation: 12/2=6
Exploring Operation: 22/2=11, Resulting Numbers: [12, 11]
Generated Node #0,3,4: 36:[12, 11] Operation: 22/2=11
Moving to Node #0,0
Current State: 36:[12, 57, 37], Operations: ['59-22=37']
Exploring Operation: 37-12=25, Resulting Numbers: [57, 25]
Generated Node #0,0,0: 36:[57, 25] Operation: 37-12=25
Exploring Operation: 57-12=45, Resulting Numbers: [37, 45]
Generated Node #0,0,1: 36:[37, 45] Operation: 57-12=45
Exploring Operation: 12+37=49, Resulting Numbers: [57, 49]
Generated Node #0,0,2: 36:[57, 49] Operation: 12+37=49
Exploring Operation: 57-37=20, Resulting Numbers: [12, 20]
Generated Node #0,0,3: 36:[12, 20] Operation: 57-37=20
Exploring Operation: 12+57=69, Resulting Numbers: [37, 69]
Generated Node #0,0,4: 36:[37, 69] Operation: 12+57=69
Moving to Node #0,2
Current State: 36:[59, 12, 35], Operations: ['57-22=35']
Exploring Operation: 59-35=24, Resulting Numbers: [12, 24]
Generated Node #0,2,0: 36:[12, 24] Operation: 59-35=24
Exploring Operation: 59+12=71, Resulting Numbers: [35, 71]
Generated Node #0,2,1: 36:[35, 71] Operation: 59+12=71
Exploring Operation: 59-12=47, Resulting Numbers: [35, 47]
Generated Node #0,2,2: 36:[35, 47] Operation: 59-12=47
Exploring Operation: 35-12=23, Resulting Numbers: [59, 23]
Generated Node #0,2,3: 36:[59, 23] Operation: 35-12=23
Exploring Operation: 12+35=47, Resulting Numbers: [59, 47]
Generated Node #0,2,4: 36:[59, 47] Operation: 12+35=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[12, 24], Operations: ['57-22=35', '59-35=24']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[22, 59, 12, 57], Operations: []
Exploring Operation: 57-22=35, Resulting Numbers: [59, 12, 35]
Generated Node #0,2: 36:[59, 12, 35] Operation: 57-22=35
Moving to Node #0,2
Current State: 36:[59, 12, 35], Operations: ['57-22=35']
Exploring Operation: 59-35=24, Resulting Numbers: [12, 24]
Generated Node #0,2,0: 36:[12, 24] Operation: 59-35=24
Moving to Node #0,2,0
Current State: 36:[12, 24], Operations: ['57-22=35', '59-35=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
22,
72,
13,
46
] | 38 | [
"22-13=9",
"72/9=8",
"46-8=38"
] | Current State: 38:[22, 72, 13, 46], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [72, 46, 9]
Generated Node #2: [72, 46, 9] from Operation: 22-13=9
Current State: 38:[72, 46, 9], Operations: ['22-13=9']
Exploring Operation: 72/9=8, Resulting Numbers: [46, 8]
Generated Node #3: [46, 8] from Operation: 72/9=8
Current State: 38:[46, 8], Operations: ['22-13=9', '72/9=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[22, 72, 13, 46], Operations: []
Exploring Operation: 72-22=50, Resulting Numbers: [13, 46, 50]
Generated Node #0,0: 38:[13, 46, 50] Operation: 72-22=50
Exploring Operation: 72-13=59, Resulting Numbers: [22, 46, 59]
Generated Node #0,1: 38:[22, 46, 59] Operation: 72-13=59
Exploring Operation: 72-46=26, Resulting Numbers: [22, 13, 26]
Generated Node #0,2: 38:[22, 13, 26] Operation: 72-46=26
Exploring Operation: 46-13=33, Resulting Numbers: [22, 72, 33]
Generated Node #0,3: 38:[22, 72, 33] Operation: 46-13=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[22, 13, 26], Operations: ['72-46=26']
Exploring Operation: 13+26=39, Resulting Numbers: [22, 39]
Generated Node #0,2,0: 38:[22, 39] Operation: 13+26=39
Exploring Operation: 26-13=13, Resulting Numbers: [22, 13]
Generated Node #0,2,1: 38:[22, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [22, 2]
Generated Node #0,2,2: 38:[22, 2] Operation: 26/13=2
Exploring Operation: 26-22=4, Resulting Numbers: [13, 4]
Generated Node #0,2,3: 38:[13, 4] Operation: 26-22=4
Moving to Node #0,2,2
Current State: 38:[22, 2], Operations: ['72-46=26', '26/13=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[22, 39], Operations: ['72-46=26', '13+26=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[13, 4], Operations: ['72-46=26', '26-22=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[22, 13], Operations: ['72-46=26', '26-13=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,38 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[13, 46, 50], Operations: ['72-22=50']
Exploring Operation: 50-46=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 38:[13, 4] Operation: 50-46=4
Exploring Operation: 13+46=59, Resulting Numbers: [50, 59]
Generated Node #0,0,1: 38:[50, 59] Operation: 13+46=59
Exploring Operation: 50-13=37, Resulting Numbers: [46, 37]
Generated Node #0,0,2: 38:[46, 37] Operation: 50-13=37
Exploring Operation: 46-13=33, Resulting Numbers: [50, 33]
Generated Node #0,0,3: 38:[50, 33] Operation: 46-13=33
Moving to Node #0,0,0
Current State: 38:[13, 4], Operations: ['72-22=50', '50-46=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[46, 37], Operations: ['72-22=50', '50-13=37']
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,38 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[50, 33], Operations: ['72-22=50', '46-13=33']
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,38 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[50, 59], Operations: ['72-22=50', '13+46=59']
Exploring Operation: 50*59=2950, Resulting Numbers: [2950]
2950,38 unequal: No Solution
Exploring Operation: 59-50=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 50+59=109, Resulting Numbers: [109]
109,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[22, 46, 59], Operations: ['72-13=59']
Exploring Operation: 22+46=68, Resulting Numbers: [59, 68]
Generated Node #0,1,0: 38:[59, 68] Operation: 22+46=68
Exploring Operation: 46-22=24, Resulting Numbers: [59, 24]
Generated Node #0,1,1: 38:[59, 24] Operation: 46-22=24
Exploring Operation: 59-46=13, Resulting Numbers: [22, 13]
Generated Node #0,1,2: 38:[22, 13] Operation: 59-46=13
Exploring Operation: 59-22=37, Resulting Numbers: [46, 37]
Generated Node #0,1,3: 38:[46, 37] Operation: 59-22=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[22, 13], Operations: ['72-13=59', '59-46=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,38 unequal: No Solution
No 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: 38:[46, 37], Operations: ['72-13=59', '59-22=37']
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,38 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No 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: 38:[59, 24], Operations: ['72-13=59', '46-22=24']
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,38 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No 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: 38:[59, 68], Operations: ['72-13=59', '22+46=68']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 59*68=4012, Resulting Numbers: [4012]
4012,38 unequal: No Solution
Exploring Operation: 59+68=127, Resulting Numbers: [127]
127,38 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: 38:[22, 72, 33], Operations: ['46-13=33']
Exploring Operation: 72-33=39, Resulting Numbers: [22, 39]
Generated Node #0,3,0: 38:[22, 39] Operation: 72-33=39
Exploring Operation: 72-22=50, Resulting Numbers: [33, 50]
Generated Node #0,3,1: 38:[33, 50] Operation: 72-22=50
Exploring Operation: 33-22=11, Resulting Numbers: [72, 11]
Generated Node #0,3,2: 38:[72, 11] Operation: 33-22=11
Exploring Operation: 22+33=55, Resulting Numbers: [72, 55]
Generated Node #0,3,3: 38:[72, 55] Operation: 22+33=55
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 38:[22, 39], Operations: ['46-13=33', '72-33=39']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,38 unequal: No Solution
No 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: 38:[33, 50], Operations: ['46-13=33', '72-22=50']
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,38 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,38 unequal: No Solution
No 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: 38:[72, 11], Operations: ['46-13=33', '33-22=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,38 unequal: No Solution
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,38 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,38 unequal: No Solution
No 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: 38:[72, 55], Operations: ['46-13=33', '22+33=55']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,38 unequal: No Solution
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
4,
14,
6
] | 13 | [
"20/4=5",
"14-6=8",
"5+8=13"
] | Current State: 13:[20, 4, 14, 6], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [14, 6, 5]
Generated Node #2: [14, 6, 5] from Operation: 20/4=5
Current State: 13:[14, 6, 5], Operations: ['20/4=5']
Exploring Operation: 14-6=8, Resulting Numbers: [5, 8]
Generated Node #3: [5, 8] from Operation: 14-6=8
Current State: 13:[5, 8], Operations: ['20/4=5', '14-6=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[20, 4, 14, 6], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [14, 6, 5]
Generated Node #0,0: 13:[14, 6, 5] Operation: 20/4=5
Exploring Operation: 4+6=10, Resulting Numbers: [20, 14, 10]
Generated Node #0,1: 13:[20, 14, 10] Operation: 4+6=10
Exploring Operation: 14-4=10, Resulting Numbers: [20, 6, 10]
Generated Node #0,2: 13:[20, 6, 10] Operation: 14-4=10
Exploring Operation: 20-4=16, Resulting Numbers: [14, 6, 16]
Generated Node #0,3: 13:[14, 6, 16] Operation: 20-4=16
Exploring Operation: 20-6=14, Resulting Numbers: [4, 14, 14]
Generated Node #0,4: 13:[4, 14, 14] Operation: 20-6=14
Moving to Node #0,1
Current State: 13:[20, 14, 10], Operations: ['4+6=10']
Exploring Operation: 20-10=10, Resulting Numbers: [14, 10]
Generated Node #0,1,0: 13:[14, 10] Operation: 20-10=10
Exploring Operation: 20-14=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 13:[10, 6] Operation: 20-14=6
Exploring Operation: 20+10=30, Resulting Numbers: [14, 30]
Generated Node #0,1,2: 13:[14, 30] Operation: 20+10=30
Exploring Operation: 14-10=4, Resulting Numbers: [20, 4]
Generated Node #0,1,3: 13:[20, 4] Operation: 14-10=4
Exploring Operation: 20/10=2, Resulting Numbers: [14, 2]
Generated Node #0,1,4: 13:[14, 2] Operation: 20/10=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[14, 10], Operations: ['4+6=10', '20-10=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[10, 6], Operations: ['4+6=10', '20-14=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[14, 2], Operations: ['4+6=10', '20/10=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[20, 4], Operations: ['4+6=10', '14-10=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[14, 30], Operations: ['4+6=10', '20+10=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,13 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: 13:[4, 14, 14], Operations: ['20-6=14']
Exploring Operation: 4+14=18, Resulting Numbers: [14, 18]
Generated Node #0,4,0: 13:[14, 18] Operation: 4+14=18
Exploring Operation: 4+14=18, Resulting Numbers: [14, 18]
Generated Node #0,4,1: 13:[14, 18] Operation: 4+14=18
Exploring Operation: 14-4=10, Resulting Numbers: [14, 10]
Generated Node #0,4,2: 13:[14, 10] Operation: 14-4=10
Exploring Operation: 14/14=1, Resulting Numbers: [4, 1]
Generated Node #0,4,3: 13:[4, 1] Operation: 14/14=1
Exploring Operation: 14-4=10, Resulting Numbers: [14, 10]
Generated Node #0,4,4: 13:[14, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 13:[14, 10], Operations: ['20-6=14', '14-4=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 13:[14, 10], Operations: ['20-6=14', '14-4=10']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 13:[14, 18], Operations: ['20-6=14', '4+14=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 13:[14, 18], Operations: ['20-6=14', '4+14=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,13 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 13:[4, 1], Operations: ['20-6=14', '14/14=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,13 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: 13:[14, 6, 16], Operations: ['20-4=16']
Exploring Operation: 6+16=22, Resulting Numbers: [14, 22]
Generated Node #0,3,0: 13:[14, 22] Operation: 6+16=22
Exploring Operation: 14-6=8, Resulting Numbers: [16, 8]
Generated Node #0,3,1: 13:[16, 8] Operation: 14-6=8
Exploring Operation: 16-14=2, Resulting Numbers: [6, 2]
Generated Node #0,3,2: 13:[6, 2] Operation: 16-14=2
Exploring Operation: 16-6=10, Resulting Numbers: [14, 10]
Generated Node #0,3,3: 13:[14, 10] Operation: 16-6=10
Exploring Operation: 14+6=20, Resulting Numbers: [16, 20]
Generated Node #0,3,4: 13:[16, 20] Operation: 14+6=20
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[14, 10], Operations: ['20-4=16', '16-6=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[16, 8], Operations: ['20-4=16', '14-6=8']
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,13 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[14, 22], Operations: ['20-4=16', '6+16=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,13 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 13:[16, 20], Operations: ['20-4=16', '14+6=20']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[6, 2], Operations: ['20-4=16', '16-14=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,13 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: 13:[14, 6, 5], Operations: ['20/4=5']
Exploring Operation: 14-6=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 13:[5, 8] Operation: 14-6=8
Exploring Operation: 14-5=9, Resulting Numbers: [6, 9]
Generated Node #0,0,1: 13:[6, 9] Operation: 14-5=9
Exploring Operation: 6+5=11, Resulting Numbers: [14, 11]
Generated Node #0,0,2: 13:[14, 11] Operation: 6+5=11
Exploring Operation: 14+5=19, Resulting Numbers: [6, 19]
Generated Node #0,0,3: 13:[6, 19] Operation: 14+5=19
Exploring Operation: 6-5=1, Resulting Numbers: [14, 1]
Generated Node #0,0,4: 13:[14, 1] Operation: 6-5=1
Moving to Node #0,2
Current State: 13:[20, 6, 10], Operations: ['14-4=10']
Exploring Operation: 20-6=14, Resulting Numbers: [10, 14]
Generated Node #0,2,0: 13:[10, 14] Operation: 20-6=14
Exploring Operation: 20+6=26, Resulting Numbers: [10, 26]
Generated Node #0,2,1: 13:[10, 26] Operation: 20+6=26
Exploring Operation: 20-10=10, Resulting Numbers: [6, 10]
Generated Node #0,2,2: 13:[6, 10] Operation: 20-10=10
Exploring Operation: 10-6=4, Resulting Numbers: [20, 4]
Generated Node #0,2,3: 13:[20, 4] Operation: 10-6=4
Exploring Operation: 6+10=16, Resulting Numbers: [20, 16]
Generated Node #0,2,4: 13:[20, 16] Operation: 6+10=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[10, 14], Operations: ['14-4=10', '20-6=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[6, 10], Operations: ['14-4=10', '20-10=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[20, 16], Operations: ['14-4=10', '6+10=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,13 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[10, 26], Operations: ['14-4=10', '20+6=26']
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,13 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[20, 4], Operations: ['14-4=10', '10-6=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,13 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: 13:[14, 11], Operations: ['20/4=5', '6+5=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,13 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[6, 9], Operations: ['20/4=5', '14-5=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[5, 8], Operations: ['20/4=5', '14-6=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[20, 4, 14, 6], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [14, 6, 5]
Generated Node #0,0: 13:[14, 6, 5] Operation: 20/4=5
Moving to Node #0,0
Current State: 13:[14, 6, 5], Operations: ['20/4=5']
Exploring Operation: 14-6=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 13:[5, 8] Operation: 14-6=8
Moving to Node #0,0,0
Current State: 13:[5, 8], Operations: ['20/4=5', '14-6=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.90625 | hs_5 | sum_heuristic |
[
2,
14,
71,
44
] | 100 | [
"14+44=58",
"58/2=29",
"71+29=100"
] | Current State: 100:[2, 14, 71, 44], Operations: []
Exploring Operation: 14+44=58, Resulting Numbers: [2, 71, 58]
Generated Node #2: [2, 71, 58] from Operation: 14+44=58
Current State: 100:[2, 71, 58], Operations: ['14+44=58']
Exploring Operation: 58/2=29, Resulting Numbers: [71, 29]
Generated Node #3: [71, 29] from Operation: 58/2=29
Current State: 100:[71, 29], Operations: ['14+44=58', '58/2=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[2, 14, 71, 44], Operations: []
Exploring Operation: 14+71=85, Resulting Numbers: [2, 44, 85]
Generated Node #0,0: 100:[2, 44, 85] Operation: 14+71=85
Exploring Operation: 71-44=27, Resulting Numbers: [2, 14, 27]
Generated Node #0,1: 100:[2, 14, 27] Operation: 71-44=27
Exploring Operation: 71-14=57, Resulting Numbers: [2, 44, 57]
Generated Node #0,2: 100:[2, 44, 57] Operation: 71-14=57
Exploring Operation: 44-14=30, Resulting Numbers: [2, 71, 30]
Generated Node #0,3: 100:[2, 71, 30] Operation: 44-14=30
Exploring Operation: 71+44=115, Resulting Numbers: [2, 14, 115]
Generated Node #0,4: 100:[2, 14, 115] Operation: 71+44=115
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[2, 14, 27], Operations: ['71-44=27']
Exploring Operation: 27-2=25, Resulting Numbers: [14, 25]
Generated Node #0,1,0: 100:[14, 25] Operation: 27-2=25
Exploring Operation: 2*14=28, Resulting Numbers: [27, 28]
Generated Node #0,1,1: 100:[27, 28] Operation: 2*14=28
Exploring Operation: 14/2=7, Resulting Numbers: [27, 7]
Generated Node #0,1,2: 100:[27, 7] Operation: 14/2=7
Exploring Operation: 27-14=13, Resulting Numbers: [2, 13]
Generated Node #0,1,3: 100:[2, 13] Operation: 27-14=13
Exploring Operation: 14-2=12, Resulting Numbers: [27, 12]
Generated Node #0,1,4: 100:[27, 12] Operation: 14-2=12
Moving to Node #0,1,3
Current State: 100:[2, 13], Operations: ['71-44=27', '27-14=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[27, 7], Operations: ['71-44=27', '14/2=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,100 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[14, 25], Operations: ['71-44=27', '27-2=25']
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,100 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[27, 12], Operations: ['71-44=27', '14-2=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,100 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[27, 28], Operations: ['71-44=27', '2*14=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,100 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[2, 44, 57], Operations: ['71-14=57']
Exploring Operation: 44+57=101, Resulting Numbers: [2, 101]
Generated Node #0,2,0: 100:[2, 101] Operation: 44+57=101
Exploring Operation: 44/2=22, Resulting Numbers: [57, 22]
Generated Node #0,2,1: 100:[57, 22] Operation: 44/2=22
Exploring Operation: 2+44=46, Resulting Numbers: [57, 46]
Generated Node #0,2,2: 100:[57, 46] Operation: 2+44=46
Exploring Operation: 57-2=55, Resulting Numbers: [44, 55]
Generated Node #0,2,3: 100:[44, 55] Operation: 57-2=55
Exploring Operation: 57-44=13, Resulting Numbers: [2, 13]
Generated Node #0,2,4: 100:[2, 13] Operation: 57-44=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[2, 101], Operations: ['71-14=57', '44+57=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,100 unequal: No Solution
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
No 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: 100:[2, 13], Operations: ['71-14=57', '57-44=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No 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: 100:[57, 22], Operations: ['71-14=57', '44/2=22']
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,100 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,100 unequal: No Solution
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,100 unequal: No Solution
No 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: 100:[57, 46], Operations: ['71-14=57', '2+44=46']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,100 unequal: No Solution
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,100 unequal: No Solution
No 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: 100:[44, 55], Operations: ['71-14=57', '57-2=55']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,100 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 100:[2, 14, 115], Operations: ['71+44=115']
Exploring Operation: 2*14=28, Resulting Numbers: [115, 28]
Generated Node #0,4,0: 100:[115, 28] Operation: 2*14=28
Exploring Operation: 115-2=113, Resulting Numbers: [14, 113]
Generated Node #0,4,1: 100:[14, 113] Operation: 115-2=113
Exploring Operation: 115-14=101, Resulting Numbers: [2, 101]
Generated Node #0,4,2: 100:[2, 101] Operation: 115-14=101
Exploring Operation: 14/2=7, Resulting Numbers: [115, 7]
Generated Node #0,4,3: 100:[115, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [115, 12]
Generated Node #0,4,4: 100:[115, 12] Operation: 14-2=12
Moving to Node #0,4,2
Current State: 100:[2, 101], Operations: ['71+44=115', '115-14=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[115, 7], Operations: ['71+44=115', '14/2=7']
Exploring Operation: 115+7=122, Resulting Numbers: [122]
122,100 unequal: No Solution
Exploring Operation: 115-7=108, Resulting Numbers: [108]
108,100 unequal: No Solution
Exploring Operation: 115*7=805, Resulting Numbers: [805]
805,100 unequal: No Solution
Moving to Node #0,4,1
Current State: 100:[14, 113], Operations: ['71+44=115', '115-2=113']
Exploring Operation: 14*113=1582, Resulting Numbers: [1582]
1582,100 unequal: No Solution
Exploring Operation: 113-14=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 14+113=127, Resulting Numbers: [127]
127,100 unequal: No Solution
Moving to Node #0,4,4
Current State: 100:[115, 12], Operations: ['71+44=115', '14-2=12']
Exploring Operation: 115+12=127, Resulting Numbers: [127]
127,100 unequal: No Solution
Exploring Operation: 115*12=1380, Resulting Numbers: [1380]
1380,100 unequal: No Solution
Exploring Operation: 115-12=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Moving to Node #0,4,0
Current State: 100:[115, 28], Operations: ['71+44=115', '2*14=28']
Exploring Operation: 115-28=87, Resulting Numbers: [87]
87,100 unequal: No Solution
Exploring Operation: 115*28=3220, Resulting Numbers: [3220]
3220,100 unequal: No Solution
Exploring Operation: 115+28=143, Resulting Numbers: [143]
143,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[2, 44, 85], Operations: ['14+71=85']
Exploring Operation: 85-44=41, Resulting Numbers: [2, 41]
Generated Node #0,0,0: 100:[2, 41] Operation: 85-44=41
Exploring Operation: 2+44=46, Resulting Numbers: [85, 46]
Generated Node #0,0,1: 100:[85, 46] Operation: 2+44=46
Exploring Operation: 2+85=87, Resulting Numbers: [44, 87]
Generated Node #0,0,2: 100:[44, 87] Operation: 2+85=87
Exploring Operation: 44-2=42, Resulting Numbers: [85, 42]
Generated Node #0,0,3: 100:[85, 42] Operation: 44-2=42
Exploring Operation: 44/2=22, Resulting Numbers: [85, 22]
Generated Node #0,0,4: 100:[85, 22] Operation: 44/2=22
Moving to Node #0,0,0
Current State: 100:[2, 41], Operations: ['14+71=85', '85-44=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[85, 22], Operations: ['14+71=85', '44/2=22']
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[85, 46], Operations: ['14+71=85', '2+44=46']
Exploring Operation: 85*46=3910, Resulting Numbers: [3910]
3910,100 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 85+46=131, Resulting Numbers: [131]
131,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[44, 87], Operations: ['14+71=85', '2+85=87']
Exploring Operation: 44*87=3828, Resulting Numbers: [3828]
3828,100 unequal: No Solution
Exploring Operation: 44+87=131, Resulting Numbers: [131]
131,100 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[85, 42], Operations: ['14+71=85', '44-2=42']
Exploring Operation: 85*42=3570, Resulting Numbers: [3570]
3570,100 unequal: No Solution
Exploring Operation: 85+42=127, Resulting Numbers: [127]
127,100 unequal: No Solution
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[2, 71, 30], Operations: ['44-14=30']
Exploring Operation: 71+30=101, Resulting Numbers: [2, 101]
Generated Node #0,3,0: 100:[2, 101] Operation: 71+30=101
Exploring Operation: 30-2=28, Resulting Numbers: [71, 28]
Generated Node #0,3,1: 100:[71, 28] Operation: 30-2=28
Exploring Operation: 30/2=15, Resulting Numbers: [71, 15]
Generated Node #0,3,2: 100:[71, 15] Operation: 30/2=15
Exploring Operation: 71-2=69, Resulting Numbers: [30, 69]
Generated Node #0,3,3: 100:[30, 69] Operation: 71-2=69
Exploring Operation: 71-30=41, Resulting Numbers: [2, 41]
Generated Node #0,3,4: 100:[2, 41] Operation: 71-30=41
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[2, 101], Operations: ['44-14=30', '71+30=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,100 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,100 unequal: No Solution
No 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: 100:[2, 41], Operations: ['44-14=30', '71-30=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No 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: 100:[71, 28], Operations: ['44-14=30', '30-2=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,100 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,100 unequal: No Solution
No 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: 100:[30, 69], Operations: ['44-14=30', '71-2=69']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,100 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,100 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,100 unequal: No Solution
No 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: 100:[71, 15], Operations: ['44-14=30', '30/2=15']
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 71*15=1065, Resulting Numbers: [1065]
1065,100 unequal: No Solution
Exploring Operation: 71-15=56, Resulting Numbers: [56]
56,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
25,
64,
12,
11
] | 15 | [
"64+11=75",
"75/25=3",
"12+3=15"
] | Current State: 15:[25, 64, 12, 11], Operations: []
Exploring Operation: 64+11=75, Resulting Numbers: [25, 12, 75]
Generated Node #2: [25, 12, 75] from Operation: 64+11=75
Current State: 15:[25, 12, 75], Operations: ['64+11=75']
Exploring Operation: 75/25=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 75/25=3
Current State: 15:[12, 3], Operations: ['64+11=75', '75/25=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[25, 64, 12, 11], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [25, 11, 52]
Generated Node #0,0: 15:[25, 11, 52] Operation: 64-12=52
Exploring Operation: 64-25=39, Resulting Numbers: [12, 11, 39]
Generated Node #0,1: 15:[12, 11, 39] Operation: 64-25=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[12, 11, 39], Operations: ['64-25=39']
Exploring Operation: 39-11=28, Resulting Numbers: [12, 28]
Generated Node #0,1,0: 15:[12, 28] Operation: 39-11=28
Exploring Operation: 39-12=27, Resulting Numbers: [11, 27]
Generated Node #0,1,1: 15:[11, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[12, 28], Operations: ['64-25=39', '39-11=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No 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: 15:[11, 27], Operations: ['64-25=39', '39-12=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,15 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: 15:[25, 11, 52], Operations: ['64-12=52']
Exploring Operation: 52-25=27, Resulting Numbers: [11, 27]
Generated Node #0,0,0: 15:[11, 27] Operation: 52-25=27
Exploring Operation: 52-11=41, Resulting Numbers: [25, 41]
Generated Node #0,0,1: 15:[25, 41] Operation: 52-11=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[11, 27], Operations: ['64-12=52', '52-25=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 11+27=38, Resulting Numbers: [38]
38,15 unequal: No Solution
No 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: 15:[25, 41], Operations: ['64-12=52', '52-11=41']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,15 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 |
[
71,
43,
12,
34
] | 72 | [
"71-43=28",
"34-28=6",
"12*6=72"
] | Current State: 72:[71, 43, 12, 34], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [12, 34, 28]
Generated Node #2: [12, 34, 28] from Operation: 71-43=28
Current State: 72:[12, 34, 28], Operations: ['71-43=28']
Exploring Operation: 34-28=6, Resulting Numbers: [12, 6]
Generated Node #3: [12, 6] from Operation: 34-28=6
Current State: 72:[12, 6], Operations: ['71-43=28', '34-28=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[71, 43, 12, 34], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [12, 34, 28]
Generated Node #0,0: 72:[12, 34, 28] Operation: 71-43=28
Exploring Operation: 43-34=9, Resulting Numbers: [71, 12, 9]
Generated Node #0,1: 72:[71, 12, 9] Operation: 43-34=9
Moving to Node #0,1
Current State: 72:[71, 12, 9], Operations: ['43-34=9']
Exploring Operation: 12-9=3, Resulting Numbers: [71, 3]
Generated Node #0,1,0: 72:[71, 3] Operation: 12-9=3
Exploring Operation: 12+9=21, Resulting Numbers: [71, 21]
Generated Node #0,1,1: 72:[71, 21] Operation: 12+9=21
Moving to Node #0,0
Current State: 72:[12, 34, 28], Operations: ['71-43=28']
Exploring Operation: 34-28=6, Resulting Numbers: [12, 6]
Generated Node #0,0,0: 72:[12, 6] Operation: 34-28=6
Exploring Operation: 28-12=16, Resulting Numbers: [34, 16]
Generated Node #0,0,1: 72:[34, 16] Operation: 28-12=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[12, 6], Operations: ['71-43=28', '34-28=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[71, 43, 12, 34], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [12, 34, 28]
Generated Node #0,0: 72:[12, 34, 28] Operation: 71-43=28
Moving to Node #0,0
Current State: 72:[12, 34, 28], Operations: ['71-43=28']
Exploring Operation: 34-28=6, Resulting Numbers: [12, 6]
Generated Node #0,0,0: 72:[12, 6] Operation: 34-28=6
Moving to Node #0,0,0
Current State: 72:[12, 6], Operations: ['71-43=28', '34-28=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
13,
51,
82,
40
] | 75 | [
"51+40=91",
"91/13=7",
"82-7=75"
] | Current State: 75:[13, 51, 82, 40], Operations: []
Exploring Operation: 51+40=91, Resulting Numbers: [13, 82, 91]
Generated Node #2: [13, 82, 91] from Operation: 51+40=91
Current State: 75:[13, 82, 91], Operations: ['51+40=91']
Exploring Operation: 91/13=7, Resulting Numbers: [82, 7]
Generated Node #3: [82, 7] from Operation: 91/13=7
Current State: 75:[82, 7], Operations: ['51+40=91', '91/13=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[13, 51, 82, 40], Operations: []
Exploring Operation: 51-40=11, Resulting Numbers: [13, 82, 11]
Generated Node #0,0: 75:[13, 82, 11] Operation: 51-40=11
Exploring Operation: 82-51=31, Resulting Numbers: [13, 40, 31]
Generated Node #0,1: 75:[13, 40, 31] Operation: 82-51=31
Exploring Operation: 13+51=64, Resulting Numbers: [82, 40, 64]
Generated Node #0,2: 75:[82, 40, 64] Operation: 13+51=64
Exploring Operation: 51+40=91, Resulting Numbers: [13, 82, 91]
Generated Node #0,3: 75:[13, 82, 91] Operation: 51+40=91
Moving to Node #0,0
Current State: 75:[13, 82, 11], Operations: ['51-40=11']
Exploring Operation: 82-11=71, Resulting Numbers: [13, 71]
Generated Node #0,0,0: 75:[13, 71] Operation: 82-11=71
Exploring Operation: 13-11=2, Resulting Numbers: [82, 2]
Generated Node #0,0,1: 75:[82, 2] Operation: 13-11=2
Exploring Operation: 13+11=24, Resulting Numbers: [82, 24]
Generated Node #0,0,2: 75:[82, 24] Operation: 13+11=24
Exploring Operation: 82-13=69, Resulting Numbers: [11, 69]
Generated Node #0,0,3: 75:[11, 69] Operation: 82-13=69
Moving to Node #0,1
Current State: 75:[13, 40, 31], Operations: ['82-51=31']
Exploring Operation: 31-13=18, Resulting Numbers: [40, 18]
Generated Node #0,1,0: 75:[40, 18] Operation: 31-13=18
Exploring Operation: 40+31=71, Resulting Numbers: [13, 71]
Generated Node #0,1,1: 75:[13, 71] Operation: 40+31=71
Exploring Operation: 40-31=9, Resulting Numbers: [13, 9]
Generated Node #0,1,2: 75:[13, 9] Operation: 40-31=9
Exploring Operation: 40-13=27, Resulting Numbers: [31, 27]
Generated Node #0,1,3: 75:[31, 27] Operation: 40-13=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[13, 71], Operations: ['82-51=31', '40+31=71']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,75 unequal: No Solution
No 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: 75:[13, 9], Operations: ['82-51=31', '40-31=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,75 unequal: No Solution
No 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: 75:[31, 27], Operations: ['82-51=31', '40-13=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,75 unequal: No Solution
No 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: 75:[40, 18], Operations: ['82-51=31', '31-13=18']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 40+18=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 40*18=720, Resulting Numbers: [720]
720,75 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: 75:[13, 82, 91], Operations: ['51+40=91']
Exploring Operation: 91-82=9, Resulting Numbers: [13, 9]
Generated Node #0,3,0: 75:[13, 9] Operation: 91-82=9
Exploring Operation: 91-13=78, Resulting Numbers: [82, 78]
Generated Node #0,3,1: 75:[82, 78] Operation: 91-13=78
Exploring Operation: 82-13=69, Resulting Numbers: [91, 69]
Generated Node #0,3,2: 75:[91, 69] Operation: 82-13=69
Exploring Operation: 91/13=7, Resulting Numbers: [82, 7]
Generated Node #0,3,3: 75:[82, 7] Operation: 91/13=7
Moving to Node #0,2
Current State: 75:[82, 40, 64], Operations: ['13+51=64']
Exploring Operation: 82-40=42, Resulting Numbers: [64, 42]
Generated Node #0,2,0: 75:[64, 42] Operation: 82-40=42
Exploring Operation: 82-64=18, Resulting Numbers: [40, 18]
Generated Node #0,2,1: 75:[40, 18] Operation: 82-64=18
Exploring Operation: 64-40=24, Resulting Numbers: [82, 24]
Generated Node #0,2,2: 75:[82, 24] Operation: 64-40=24
Exploring Operation: 40+64=104, Resulting Numbers: [82, 104]
Generated Node #0,2,3: 75:[82, 104] Operation: 40+64=104
Moving to Node #0,0,0
Current State: 75:[13, 71], Operations: ['51-40=11', '82-11=71']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[13, 9], Operations: ['51+40=91', '91-82=9']
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,75 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[82, 24], Operations: ['51-40=11', '13+11=24']
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,75 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[82, 2], Operations: ['51-40=11', '13-11=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,75 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[82, 24], Operations: ['13+51=64', '64-40=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[82, 7], Operations: ['51+40=91', '91/13=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[13, 51, 82, 40], Operations: []
Exploring Operation: 51+40=91, Resulting Numbers: [13, 82, 91]
Generated Node #0,3: 75:[13, 82, 91] Operation: 51+40=91
Moving to Node #0,3
Current State: 75:[13, 82, 91], Operations: ['51+40=91']
Exploring Operation: 91/13=7, Resulting Numbers: [82, 7]
Generated Node #0,3,3: 75:[82, 7] Operation: 91/13=7
Moving to Node #0,3,3
Current State: 75:[82, 7], Operations: ['51+40=91', '91/13=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
19,
31,
41,
83
] | 47 | [
"31+83=114",
"114/19=6",
"41+6=47"
] | Current State: 47:[19, 31, 41, 83], Operations: []
Exploring Operation: 31+83=114, Resulting Numbers: [19, 41, 114]
Generated Node #2: [19, 41, 114] from Operation: 31+83=114
Current State: 47:[19, 41, 114], Operations: ['31+83=114']
Exploring Operation: 114/19=6, Resulting Numbers: [41, 6]
Generated Node #3: [41, 6] from Operation: 114/19=6
Current State: 47:[41, 6], Operations: ['31+83=114', '114/19=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[19, 31, 41, 83], Operations: []
Exploring Operation: 83-31=52, Resulting Numbers: [19, 41, 52]
Generated Node #0,0: 47:[19, 41, 52] Operation: 83-31=52
Exploring Operation: 83-19=64, Resulting Numbers: [31, 41, 64]
Generated Node #0,1: 47:[31, 41, 64] Operation: 83-19=64
Moving to Node #0,0
Current State: 47:[19, 41, 52], Operations: ['83-31=52']
Exploring Operation: 19+41=60, Resulting Numbers: [52, 60]
Generated Node #0,0,0: 47:[52, 60] Operation: 19+41=60
Exploring Operation: 52-19=33, Resulting Numbers: [41, 33]
Generated Node #0,0,1: 47:[41, 33] Operation: 52-19=33
Moving to Node #0,1
Current State: 47:[31, 41, 64], Operations: ['83-19=64']
Exploring Operation: 64-31=33, Resulting Numbers: [41, 33]
Generated Node #0,1,0: 47:[41, 33] Operation: 64-31=33
Exploring Operation: 64-41=23, Resulting Numbers: [31, 23]
Generated Node #0,1,1: 47:[31, 23] Operation: 64-41=23
Moving to Node #0,0,0
Current State: 47:[52, 60], Operations: ['83-31=52', '19+41=60']
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,47 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[41, 33], Operations: ['83-19=64', '64-31=33']
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[41, 33], Operations: ['83-31=52', '52-19=33']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[31, 23], Operations: ['83-19=64', '64-41=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,47 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
57,
84,
19
] | 76 | [
"84-77=7",
"19*7=133",
"133-57=76"
] | Current State: 76:[77, 57, 84, 19], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [57, 19, 7]
Generated Node #2: [57, 19, 7] from Operation: 84-77=7
Current State: 76:[57, 19, 7], Operations: ['84-77=7']
Exploring Operation: 19*7=133, Resulting Numbers: [57, 133]
Generated Node #3: [57, 133] from Operation: 19*7=133
Current State: 76:[57, 133], Operations: ['84-77=7', '19*7=133']
Exploring Operation: 133-57=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[77, 57, 84, 19], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [77, 84, 3]
Generated Node #0,0: 76:[77, 84, 3] Operation: 57/19=3
Exploring Operation: 84-57=27, Resulting Numbers: [77, 19, 27]
Generated Node #0,1: 76:[77, 19, 27] Operation: 84-57=27
Exploring Operation: 77-57=20, Resulting Numbers: [84, 19, 20]
Generated Node #0,2: 76:[84, 19, 20] Operation: 77-57=20
Exploring Operation: 57-19=38, Resulting Numbers: [77, 84, 38]
Generated Node #0,3: 76:[77, 84, 38] Operation: 57-19=38
Exploring Operation: 57+19=76, Resulting Numbers: [77, 84, 76]
Generated Node #0,4: 76:[77, 84, 76] Operation: 57+19=76
Moving to Node #0,1
Current State: 76:[77, 19, 27], Operations: ['84-57=27']
Exploring Operation: 77-27=50, Resulting Numbers: [19, 50]
Generated Node #0,1,0: 76:[19, 50] Operation: 77-27=50
Exploring Operation: 19+27=46, Resulting Numbers: [77, 46]
Generated Node #0,1,1: 76:[77, 46] Operation: 19+27=46
Exploring Operation: 77+19=96, Resulting Numbers: [27, 96]
Generated Node #0,1,2: 76:[27, 96] Operation: 77+19=96
Exploring Operation: 77-19=58, Resulting Numbers: [27, 58]
Generated Node #0,1,3: 76:[27, 58] Operation: 77-19=58
Exploring Operation: 27-19=8, Resulting Numbers: [77, 8]
Generated Node #0,1,4: 76:[77, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 76:[77, 8], Operations: ['84-57=27', '27-19=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,76 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[77, 46], Operations: ['84-57=27', '19+27=46']
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,76 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[19, 50], Operations: ['84-57=27', '77-27=50']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[27, 58], Operations: ['84-57=27', '77-19=58']
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 27*58=1566, Resulting Numbers: [1566]
1566,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[27, 96], Operations: ['84-57=27', '77+19=96']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 27+96=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 27*96=2592, Resulting Numbers: [2592]
2592,76 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: 76:[77, 84, 38], Operations: ['57-19=38']
Exploring Operation: 84-38=46, Resulting Numbers: [77, 46]
Generated Node #0,3,0: 76:[77, 46] Operation: 84-38=46
Exploring Operation: 77+38=115, Resulting Numbers: [84, 115]
Generated Node #0,3,1: 76:[84, 115] Operation: 77+38=115
Exploring Operation: 84-77=7, Resulting Numbers: [38, 7]
Generated Node #0,3,2: 76:[38, 7] Operation: 84-77=7
Exploring Operation: 84+38=122, Resulting Numbers: [77, 122]
Generated Node #0,3,3: 76:[77, 122] Operation: 84+38=122
Exploring Operation: 77-38=39, Resulting Numbers: [84, 39]
Generated Node #0,3,4: 76:[84, 39] Operation: 77-38=39
Moving to Node #0,2
Current State: 76:[84, 19, 20], Operations: ['77-57=20']
Exploring Operation: 19+20=39, Resulting Numbers: [84, 39]
Generated Node #0,2,0: 76:[84, 39] Operation: 19+20=39
Exploring Operation: 84+19=103, Resulting Numbers: [20, 103]
Generated Node #0,2,1: 76:[20, 103] Operation: 84+19=103
Exploring Operation: 84-20=64, Resulting Numbers: [19, 64]
Generated Node #0,2,2: 76:[19, 64] Operation: 84-20=64
Exploring Operation: 84-19=65, Resulting Numbers: [20, 65]
Generated Node #0,2,3: 76:[20, 65] Operation: 84-19=65
Exploring Operation: 20-19=1, Resulting Numbers: [84, 1]
Generated Node #0,2,4: 76:[84, 1] Operation: 20-19=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[84, 39], Operations: ['77-57=20', '19+20=39']
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[84, 1], Operations: ['77-57=20', '20-19=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[19, 64], Operations: ['77-57=20', '84-20=64']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[20, 65], Operations: ['77-57=20', '84-19=65']
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,76 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[20, 103], Operations: ['77-57=20', '84+19=103']
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 20+103=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 20*103=2060, Resulting Numbers: [2060]
2060,76 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: 76:[77, 84, 76], Operations: ['57+19=76']
Exploring Operation: 77-76=1, Resulting Numbers: [84, 1]
Generated Node #0,4,0: 76:[84, 1] Operation: 77-76=1
Exploring Operation: 77+76=153, Resulting Numbers: [84, 153]
Generated Node #0,4,1: 76:[84, 153] Operation: 77+76=153
Exploring Operation: 84-77=7, Resulting Numbers: [76, 7]
Generated Node #0,4,2: 76:[76, 7] Operation: 84-77=7
Exploring Operation: 84-76=8, Resulting Numbers: [77, 8]
Generated Node #0,4,3: 76:[77, 8] Operation: 84-76=8
Exploring Operation: 77+84=161, Resulting Numbers: [76, 161]
Generated Node #0,4,4: 76:[76, 161] Operation: 77+84=161
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[76, 7], Operations: ['57+19=76', '84-77=7']
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,76 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[77, 8], Operations: ['57+19=76', '84-76=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,76 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[84, 1], Operations: ['57+19=76', '77-76=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,76 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[84, 153], Operations: ['57+19=76', '77+76=153']
Exploring Operation: 84+153=237, Resulting Numbers: [237]
237,76 unequal: No Solution
Exploring Operation: 84*153=12852, Resulting Numbers: [12852]
12852,76 unequal: No Solution
Exploring Operation: 153-84=69, Resulting Numbers: [69]
69,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[76, 161], Operations: ['57+19=76', '77+84=161']
Exploring Operation: 161-76=85, Resulting Numbers: [85]
85,76 unequal: No Solution
Exploring Operation: 76+161=237, Resulting Numbers: [237]
237,76 unequal: No Solution
Exploring Operation: 76*161=12236, Resulting Numbers: [12236]
12236,76 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: 76:[77, 84, 3], Operations: ['57/19=3']
Exploring Operation: 84-77=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 76:[3, 7] Operation: 84-77=7
Exploring Operation: 77-3=74, Resulting Numbers: [84, 74]
Generated Node #0,0,1: 76:[84, 74] Operation: 77-3=74
Exploring Operation: 77+3=80, Resulting Numbers: [84, 80]
Generated Node #0,0,2: 76:[84, 80] Operation: 77+3=80
Exploring Operation: 84-3=81, Resulting Numbers: [77, 81]
Generated Node #0,0,3: 76:[77, 81] Operation: 84-3=81
Exploring Operation: 84/3=28, Resulting Numbers: [77, 28]
Generated Node #0,0,4: 76:[77, 28] Operation: 84/3=28
Moving to Node #0,3,2
Current State: 76:[38, 7], Operations: ['57-19=38', '84-77=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[3, 7], Operations: ['57/19=3', '84-77=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[77, 81], Operations: ['57/19=3', '84-3=81']
Exploring Operation: 77+81=158, Resulting Numbers: [158]
158,76 unequal: No Solution
Exploring Operation: 81-77=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 77*81=6237, Resulting Numbers: [6237]
6237,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[84, 39], Operations: ['57-19=38', '77-38=39']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[77, 46], Operations: ['57-19=38', '84-38=46']
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,76 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[77, 28], Operations: ['57/19=3', '84/3=28']
Exploring Operation: 77*28=2156, Resulting Numbers: [2156]
2156,76 unequal: No Solution
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,76 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[84, 74], Operations: ['57/19=3', '77-3=74']
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,76 unequal: No Solution
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[84, 80], Operations: ['57/19=3', '77+3=80']
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,76 unequal: No Solution
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[77, 122], Operations: ['57-19=38', '84+38=122']
Exploring Operation: 77+122=199, Resulting Numbers: [199]
199,76 unequal: No Solution
Exploring Operation: 77*122=9394, Resulting Numbers: [9394]
9394,76 unequal: No Solution
Exploring Operation: 122-77=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[84, 115], Operations: ['57-19=38', '77+38=115']
Exploring Operation: 84+115=199, Resulting Numbers: [199]
199,76 unequal: No Solution
Exploring Operation: 115-84=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 84*115=9660, Resulting Numbers: [9660]
9660,76 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
88,
70,
2
] | 19 | [
"90+88=178",
"178/2=89",
"89-70=19"
] | Current State: 19:[90, 88, 70, 2], Operations: []
Exploring Operation: 90+88=178, Resulting Numbers: [70, 2, 178]
Generated Node #2: [70, 2, 178] from Operation: 90+88=178
Current State: 19:[70, 2, 178], Operations: ['90+88=178']
Exploring Operation: 178/2=89, Resulting Numbers: [70, 89]
Generated Node #3: [70, 89] from Operation: 178/2=89
Current State: 19:[70, 89], Operations: ['90+88=178', '178/2=89']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[90, 88, 70, 2], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [70, 2, 2]
Generated Node #0,0: 19:[70, 2, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[70, 2, 2], Operations: ['90-88=2']
Exploring Operation: 70/2=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 19:[2, 35] Operation: 70/2=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[2, 35], Operations: ['90-88=2', '70/2=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
77,
14,
80,
67
] | 25 | [
"80-77=3",
"14*3=42",
"67-42=25"
] | Current State: 25:[77, 14, 80, 67], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [14, 67, 3]
Generated Node #2: [14, 67, 3] from Operation: 80-77=3
Current State: 25:[14, 67, 3], Operations: ['80-77=3']
Exploring Operation: 14*3=42, Resulting Numbers: [67, 42]
Generated Node #3: [67, 42] from Operation: 14*3=42
Current State: 25:[67, 42], Operations: ['80-77=3', '14*3=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[77, 14, 80, 67], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [14, 67, 3]
Generated Node #0,0: 25:[14, 67, 3] Operation: 80-77=3
Exploring Operation: 77-67=10, Resulting Numbers: [14, 80, 10]
Generated Node #0,1: 25:[14, 80, 10] Operation: 77-67=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[14, 67, 3], Operations: ['80-77=3']
Exploring Operation: 67-14=53, Resulting Numbers: [3, 53]
Generated Node #0,0,0: 25:[3, 53] Operation: 67-14=53
Exploring Operation: 14-3=11, Resulting Numbers: [67, 11]
Generated Node #0,0,1: 25:[67, 11] Operation: 14-3=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[3, 53], Operations: ['80-77=3', '67-14=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[67, 11], Operations: ['80-77=3', '14-3=11']
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[14, 80, 10], Operations: ['77-67=10']
Exploring Operation: 80/10=8, Resulting Numbers: [14, 8]
Generated Node #0,1,0: 25:[14, 8] Operation: 80/10=8
Exploring Operation: 80-14=66, Resulting Numbers: [10, 66]
Generated Node #0,1,1: 25:[10, 66] Operation: 80-14=66
Moving to Node #0,1,0
Current State: 25:[14, 8], Operations: ['77-67=10', '80/10=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[10, 66], Operations: ['77-67=10', '80-14=66']
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
36,
28,
79
] | 20 | [
"77*36=2772",
"2772/28=99",
"99-79=20"
] | Current State: 20:[77, 36, 28, 79], Operations: []
Exploring Operation: 77*36=2772, Resulting Numbers: [28, 79, 2772]
Generated Node #2: [28, 79, 2772] from Operation: 77*36=2772
Current State: 20:[28, 79, 2772], Operations: ['77*36=2772']
Exploring Operation: 2772/28=99, Resulting Numbers: [79, 99]
Generated Node #3: [79, 99] from Operation: 2772/28=99
Current State: 20:[79, 99], Operations: ['77*36=2772', '2772/28=99']
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[77, 36, 28, 79], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [28, 79, 41]
Generated Node #0,0: 20:[28, 79, 41] Operation: 77-36=41
Exploring Operation: 79-77=2, Resulting Numbers: [36, 28, 2]
Generated Node #0,1: 20:[36, 28, 2] Operation: 79-77=2
Exploring Operation: 77-28=49, Resulting Numbers: [36, 79, 49]
Generated Node #0,2: 20:[36, 79, 49] Operation: 77-28=49
Exploring Operation: 79-36=43, Resulting Numbers: [77, 28, 43]
Generated Node #0,3: 20:[77, 28, 43] Operation: 79-36=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[36, 28, 2], Operations: ['79-77=2']
Exploring Operation: 28/2=14, Resulting Numbers: [36, 14]
Generated Node #0,1,0: 20:[36, 14] Operation: 28/2=14
Exploring Operation: 36-28=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 20:[2, 8] Operation: 36-28=8
Exploring Operation: 36/2=18, Resulting Numbers: [28, 18]
Generated Node #0,1,2: 20:[28, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [28, 34]
Generated Node #0,1,3: 20:[28, 34] Operation: 36-2=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[2, 8], Operations: ['79-77=2', '36-28=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[28, 18], Operations: ['79-77=2', '36/2=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,20 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[36, 14], Operations: ['79-77=2', '28/2=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,20 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[28, 34], Operations: ['79-77=2', '36-2=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[28, 79, 41], Operations: ['77-36=41']
Exploring Operation: 41-28=13, Resulting Numbers: [79, 13]
Generated Node #0,0,0: 20:[79, 13] Operation: 41-28=13
Exploring Operation: 28+79=107, Resulting Numbers: [41, 107]
Generated Node #0,0,1: 20:[41, 107] Operation: 28+79=107
Exploring Operation: 79-41=38, Resulting Numbers: [28, 38]
Generated Node #0,0,2: 20:[28, 38] Operation: 79-41=38
Exploring Operation: 79-28=51, Resulting Numbers: [41, 51]
Generated Node #0,0,3: 20:[41, 51] Operation: 79-28=51
Moving to Node #0,0,2
Current State: 20:[28, 38], Operations: ['77-36=41', '79-41=38']
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,20 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[41, 51], Operations: ['77-36=41', '79-28=51']
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 41*51=2091, Resulting Numbers: [2091]
2091,20 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[79, 13], Operations: ['77-36=41', '41-28=13']
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[41, 107], Operations: ['77-36=41', '28+79=107']
Exploring Operation: 41+107=148, Resulting Numbers: [148]
148,20 unequal: No Solution
Exploring Operation: 107-41=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 41*107=4387, Resulting Numbers: [4387]
4387,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[77, 28, 43], Operations: ['79-36=43']
Exploring Operation: 43-28=15, Resulting Numbers: [77, 15]
Generated Node #0,3,0: 20:[77, 15] Operation: 43-28=15
Exploring Operation: 77+28=105, Resulting Numbers: [43, 105]
Generated Node #0,3,1: 20:[43, 105] Operation: 77+28=105
Exploring Operation: 77-28=49, Resulting Numbers: [43, 49]
Generated Node #0,3,2: 20:[43, 49] Operation: 77-28=49
Exploring Operation: 77-43=34, Resulting Numbers: [28, 34]
Generated Node #0,3,3: 20:[28, 34] Operation: 77-43=34
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 20:[28, 34], Operations: ['79-36=43', '77-43=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[43, 49], Operations: ['79-36=43', '77-28=49']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 20:[77, 15], Operations: ['79-36=43', '43-28=15']
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 20:[43, 105], Operations: ['79-36=43', '77+28=105']
Exploring Operation: 43*105=4515, Resulting Numbers: [4515]
4515,20 unequal: No Solution
Exploring Operation: 105-43=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 43+105=148, Resulting Numbers: [148]
148,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[36, 79, 49], Operations: ['77-28=49']
Exploring Operation: 49-36=13, Resulting Numbers: [79, 13]
Generated Node #0,2,0: 20:[79, 13] Operation: 49-36=13
Exploring Operation: 36+79=115, Resulting Numbers: [49, 115]
Generated Node #0,2,1: 20:[49, 115] Operation: 36+79=115
Exploring Operation: 79-36=43, Resulting Numbers: [49, 43]
Generated Node #0,2,2: 20:[49, 43] Operation: 79-36=43
Exploring Operation: 79-49=30, Resulting Numbers: [36, 30]
Generated Node #0,2,3: 20:[36, 30] Operation: 79-49=30
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[36, 30], Operations: ['77-28=49', '79-49=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,20 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[49, 43], Operations: ['77-28=49', '79-36=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[79, 13], Operations: ['77-28=49', '49-36=13']
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,20 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,20 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[49, 115], Operations: ['77-28=49', '36+79=115']
Exploring Operation: 49+115=164, Resulting Numbers: [164]
164,20 unequal: No Solution
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 49*115=5635, Resulting Numbers: [5635]
5635,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
35,
17,
2,
37
] | 38 | [
"35-17=18",
"37-18=19",
"2*19=38"
] | Current State: 38:[35, 17, 2, 37], Operations: []
Exploring Operation: 35-17=18, Resulting Numbers: [2, 37, 18]
Generated Node #2: [2, 37, 18] from Operation: 35-17=18
Current State: 38:[2, 37, 18], Operations: ['35-17=18']
Exploring Operation: 37-18=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 37-18=19
Current State: 38:[2, 19], Operations: ['35-17=18', '37-18=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[35, 17, 2, 37], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [17, 2, 2]
Generated Node #0,0: 38:[17, 2, 2] Operation: 37-35=2
Exploring Operation: 35-17=18, Resulting Numbers: [2, 37, 18]
Generated Node #0,1: 38:[2, 37, 18] Operation: 35-17=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[17, 2, 2], Operations: ['37-35=2']
Exploring Operation: 17+2=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 38:[2, 19] Operation: 17+2=19
Exploring Operation: 17+2=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 38:[2, 19] Operation: 17+2=19
Moving to Node #0,0,0
Current State: 38:[2, 19], Operations: ['37-35=2', '17+2=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[35, 17, 2, 37], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [17, 2, 2]
Generated Node #0,0: 38:[17, 2, 2] Operation: 37-35=2
Moving to Node #0,0
Current State: 38:[17, 2, 2], Operations: ['37-35=2']
Exploring Operation: 17+2=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 38:[2, 19] Operation: 17+2=19
Moving to Node #0,0,0
Current State: 38:[2, 19], Operations: ['37-35=2', '17+2=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
99,
43,
1,
5
] | 50 | [
"99-43=56",
"1+5=6",
"56-6=50"
] | Current State: 50:[99, 43, 1, 5], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [1, 5, 56]
Generated Node #2: [1, 5, 56] from Operation: 99-43=56
Current State: 50:[1, 5, 56], Operations: ['99-43=56']
Exploring Operation: 1+5=6, Resulting Numbers: [56, 6]
Generated Node #3: [56, 6] from Operation: 1+5=6
Current State: 50:[56, 6], Operations: ['99-43=56', '1+5=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[99, 43, 1, 5], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [1, 5, 56]
Generated Node #0,0: 50:[1, 5, 56] Operation: 99-43=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[1, 5, 56], Operations: ['99-43=56']
Exploring Operation: 56-5=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 50:[1, 51] Operation: 56-5=51
Moving to Node #0,0,0
Current State: 50:[1, 51], Operations: ['99-43=56', '56-5=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[99, 43, 1, 5], Operations: []
Exploring Operation: 99-43=56, Resulting Numbers: [1, 5, 56]
Generated Node #0,0: 50:[1, 5, 56] Operation: 99-43=56
Moving to Node #0,0
Current State: 50:[1, 5, 56], Operations: ['99-43=56']
Exploring Operation: 56-5=51, Resulting Numbers: [1, 51]
Generated Node #0,0,0: 50:[1, 51] Operation: 56-5=51
Moving to Node #0,0,0
Current State: 50:[1, 51], Operations: ['99-43=56', '56-5=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
69,
30,
41,
36
] | 94 | [
"69+30=99",
"41-36=5",
"99-5=94"
] | Current State: 94:[69, 30, 41, 36], Operations: []
Exploring Operation: 69+30=99, Resulting Numbers: [41, 36, 99]
Generated Node #2: [41, 36, 99] from Operation: 69+30=99
Current State: 94:[41, 36, 99], Operations: ['69+30=99']
Exploring Operation: 41-36=5, Resulting Numbers: [99, 5]
Generated Node #3: [99, 5] from Operation: 41-36=5
Current State: 94:[99, 5], Operations: ['69+30=99', '41-36=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[69, 30, 41, 36], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [41, 36, 39]
Generated Node #0,0: 94:[41, 36, 39] Operation: 69-30=39
Exploring Operation: 69+30=99, Resulting Numbers: [41, 36, 99]
Generated Node #0,1: 94:[41, 36, 99] Operation: 69+30=99
Exploring Operation: 36-30=6, Resulting Numbers: [69, 41, 6]
Generated Node #0,2: 94:[69, 41, 6] Operation: 36-30=6
Exploring Operation: 69+36=105, Resulting Numbers: [30, 41, 105]
Generated Node #0,3: 94:[30, 41, 105] Operation: 69+36=105
Moving to Node #0,1
Current State: 94:[41, 36, 99], Operations: ['69+30=99']
Exploring Operation: 41-36=5, Resulting Numbers: [99, 5]
Generated Node #0,1,0: 94:[99, 5] Operation: 41-36=5
Exploring Operation: 41+36=77, Resulting Numbers: [99, 77]
Generated Node #0,1,1: 94:[99, 77] Operation: 41+36=77
Exploring Operation: 99-41=58, Resulting Numbers: [36, 58]
Generated Node #0,1,2: 94:[36, 58] Operation: 99-41=58
Exploring Operation: 99-36=63, Resulting Numbers: [41, 63]
Generated Node #0,1,3: 94:[41, 63] Operation: 99-36=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[99, 5], Operations: ['69+30=99', '41-36=5']
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,94 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[69, 30, 41, 36], Operations: []
Exploring Operation: 69+30=99, Resulting Numbers: [41, 36, 99]
Generated Node #0,1: 94:[41, 36, 99] Operation: 69+30=99
Moving to Node #0,1
Current State: 94:[41, 36, 99], Operations: ['69+30=99']
Exploring Operation: 41-36=5, Resulting Numbers: [99, 5]
Generated Node #0,1,0: 94:[99, 5] Operation: 41-36=5
Moving to Node #0,1,0
Current State: 94:[99, 5], Operations: ['69+30=99', '41-36=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
26,
48,
69,
72
] | 25 | [
"48-26=22",
"72-69=3",
"22+3=25"
] | Current State: 25:[26, 48, 69, 72], Operations: []
Exploring Operation: 48-26=22, Resulting Numbers: [69, 72, 22]
Generated Node #2: [69, 72, 22] from Operation: 48-26=22
Current State: 25:[69, 72, 22], Operations: ['48-26=22']
Exploring Operation: 72-69=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 72-69=3
Current State: 25:[22, 3], Operations: ['48-26=22', '72-69=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[26, 48, 69, 72], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [26, 69, 24]
Generated Node #0,0: 25:[26, 69, 24] Operation: 72-48=24
Exploring Operation: 72-69=3, Resulting Numbers: [26, 48, 3]
Generated Node #0,1: 25:[26, 48, 3] Operation: 72-69=3
Moving to Node #0,1
Current State: 25:[26, 48, 3], Operations: ['72-69=3']
Exploring Operation: 48/3=16, Resulting Numbers: [26, 16]
Generated Node #0,1,0: 25:[26, 16] Operation: 48/3=16
Exploring Operation: 48-26=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 25:[3, 22] Operation: 48-26=22
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[3, 22], Operations: ['72-69=3', '48-26=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[26, 48, 69, 72], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [26, 48, 3]
Generated Node #0,1: 25:[26, 48, 3] Operation: 72-69=3
Moving to Node #0,1
Current State: 25:[26, 48, 3], Operations: ['72-69=3']
Exploring Operation: 48-26=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 25:[3, 22] Operation: 48-26=22
Moving to Node #0,1,1
Current State: 25:[3, 22], Operations: ['72-69=3', '48-26=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
43,
47,
10,
53
] | 48 | [
"43+10=53",
"53/53=1",
"47+1=48"
] | Current State: 48:[43, 47, 10, 53], Operations: []
Exploring Operation: 43+10=53, Resulting Numbers: [47, 53, 53]
Generated Node #2: [47, 53, 53] from Operation: 43+10=53
Current State: 48:[47, 53, 53], Operations: ['43+10=53']
Exploring Operation: 53/53=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 53/53=1
Current State: 48:[47, 1], Operations: ['43+10=53', '53/53=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[43, 47, 10, 53], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [47, 10, 10]
Generated Node #0,0: 48:[47, 10, 10] Operation: 53-43=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[47, 10, 10], Operations: ['53-43=10']
Exploring Operation: 10/10=1, Resulting Numbers: [47, 1]
Generated Node #0,0,0: 48:[47, 1] Operation: 10/10=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[47, 1], Operations: ['53-43=10', '10/10=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[43, 47, 10, 53], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [47, 10, 10]
Generated Node #0,0: 48:[47, 10, 10] Operation: 53-43=10
Moving to Node #0,0
Current State: 48:[47, 10, 10], Operations: ['53-43=10']
Exploring Operation: 10/10=1, Resulting Numbers: [47, 1]
Generated Node #0,0,0: 48:[47, 1] Operation: 10/10=1
Moving to Node #0,0,0
Current State: 48:[47, 1], Operations: ['53-43=10', '10/10=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
92,
6,
60
] | 88 | [
"92-58=34",
"60-6=54",
"34+54=88"
] | Current State: 88:[58, 92, 6, 60], Operations: []
Exploring Operation: 92-58=34, Resulting Numbers: [6, 60, 34]
Generated Node #2: [6, 60, 34] from Operation: 92-58=34
Current State: 88:[6, 60, 34], Operations: ['92-58=34']
Exploring Operation: 60-6=54, Resulting Numbers: [34, 54]
Generated Node #3: [34, 54] from Operation: 60-6=54
Current State: 88:[34, 54], Operations: ['92-58=34', '60-6=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[58, 92, 6, 60], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [92, 6, 2]
Generated Node #0,0: 88:[92, 6, 2] Operation: 60-58=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[92, 6, 2], Operations: ['60-58=2']
Exploring Operation: 92-6=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 88:[2, 86] Operation: 92-6=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[2, 86], Operations: ['60-58=2', '92-6=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[58, 92, 6, 60], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [92, 6, 2]
Generated Node #0,0: 88:[92, 6, 2] Operation: 60-58=2
Moving to Node #0,0
Current State: 88:[92, 6, 2], Operations: ['60-58=2']
Exploring Operation: 92-6=86, Resulting Numbers: [2, 86]
Generated Node #0,0,0: 88:[2, 86] Operation: 92-6=86
Moving to Node #0,0,0
Current State: 88:[2, 86], Operations: ['60-58=2', '92-6=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
62,
77,
65,
51
] | 94 | [
"65-62=3",
"51/3=17",
"77+17=94"
] | Current State: 94:[62, 77, 65, 51], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [77, 51, 3]
Generated Node #2: [77, 51, 3] from Operation: 65-62=3
Current State: 94:[77, 51, 3], Operations: ['65-62=3']
Exploring Operation: 51/3=17, Resulting Numbers: [77, 17]
Generated Node #3: [77, 17] from Operation: 51/3=17
Current State: 94:[77, 17], Operations: ['65-62=3', '51/3=17']
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[62, 77, 65, 51], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [77, 51, 3]
Generated Node #0,0: 94:[77, 51, 3] Operation: 65-62=3
Exploring Operation: 77-65=12, Resulting Numbers: [62, 51, 12]
Generated Node #0,1: 94:[62, 51, 12] Operation: 77-65=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[77, 51, 3], Operations: ['65-62=3']
Exploring Operation: 51-3=48, Resulting Numbers: [77, 48]
Generated Node #0,0,0: 94:[77, 48] Operation: 51-3=48
Exploring Operation: 77+3=80, Resulting Numbers: [51, 80]
Generated Node #0,0,1: 94:[51, 80] Operation: 77+3=80
Moving to Node #0,0,0
Current State: 94:[77, 48], Operations: ['65-62=3', '51-3=48']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[51, 80], Operations: ['65-62=3', '77+3=80']
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,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:[62, 51, 12], Operations: ['77-65=12']
Exploring Operation: 62-51=11, Resulting Numbers: [12, 11]
Generated Node #0,1,0: 94:[12, 11] Operation: 62-51=11
Exploring Operation: 62-12=50, Resulting Numbers: [51, 50]
Generated Node #0,1,1: 94:[51, 50] Operation: 62-12=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[51, 50], Operations: ['77-65=12', '62-12=50']
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,94 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,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,1,0
Current State: 94:[12, 11], Operations: ['77-65=12', '62-51=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
68,
51,
89
] | 54 | [
"89-17=72",
"51*72=3672",
"3672/68=54"
] | Current State: 54:[17, 68, 51, 89], Operations: []
Exploring Operation: 89-17=72, Resulting Numbers: [68, 51, 72]
Generated Node #2: [68, 51, 72] from Operation: 89-17=72
Current State: 54:[68, 51, 72], Operations: ['89-17=72']
Exploring Operation: 51*72=3672, Resulting Numbers: [68, 3672]
Generated Node #3: [68, 3672] from Operation: 51*72=3672
Current State: 54:[68, 3672], Operations: ['89-17=72', '51*72=3672']
Exploring Operation: 3672/68=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[17, 68, 51, 89], Operations: []
Exploring Operation: 89-68=21, Resulting Numbers: [17, 51, 21]
Generated Node #0,0: 54:[17, 51, 21] Operation: 89-68=21
Exploring Operation: 89-17=72, Resulting Numbers: [68, 51, 72]
Generated Node #0,1: 54:[68, 51, 72] Operation: 89-17=72
Exploring Operation: 89-51=38, Resulting Numbers: [17, 68, 38]
Generated Node #0,2: 54:[17, 68, 38] Operation: 89-51=38
Exploring Operation: 68-51=17, Resulting Numbers: [17, 89, 17]
Generated Node #0,3: 54:[17, 89, 17] Operation: 68-51=17
Moving to Node #0,0
Current State: 54:[17, 51, 21], Operations: ['89-68=21']
Exploring Operation: 21-17=4, Resulting Numbers: [51, 4]
Generated Node #0,0,0: 54:[51, 4] Operation: 21-17=4
Exploring Operation: 51/17=3, Resulting Numbers: [21, 3]
Generated Node #0,0,1: 54:[21, 3] Operation: 51/17=3
Exploring Operation: 51-21=30, Resulting Numbers: [17, 30]
Generated Node #0,0,2: 54:[17, 30] Operation: 51-21=30
Exploring Operation: 51-17=34, Resulting Numbers: [21, 34]
Generated Node #0,0,3: 54:[21, 34] Operation: 51-17=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[21, 3], Operations: ['89-68=21', '51/17=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[51, 4], Operations: ['89-68=21', '21-17=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[17, 30], Operations: ['89-68=21', '51-21=30']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,54 unequal: No Solution
Exploring Operation: 17+30=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,3
Current State: 54:[21, 34], Operations: ['89-68=21', '51-17=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,54 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,54 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: 54:[17, 68, 38], Operations: ['89-51=38']
Exploring Operation: 17+38=55, Resulting Numbers: [68, 55]
Generated Node #0,2,0: 54:[68, 55] Operation: 17+38=55
Exploring Operation: 68-17=51, Resulting Numbers: [38, 51]
Generated Node #0,2,1: 54:[38, 51] Operation: 68-17=51
Exploring Operation: 68-38=30, Resulting Numbers: [17, 30]
Generated Node #0,2,2: 54:[17, 30] Operation: 68-38=30
Exploring Operation: 68/17=4, Resulting Numbers: [38, 4]
Generated Node #0,2,3: 54:[38, 4] Operation: 68/17=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[17, 30], Operations: ['89-51=38', '68-38=30']
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,54 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,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,2,3
Current State: 54:[38, 4], Operations: ['89-51=38', '68/17=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,54 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,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,2,1
Current State: 54:[38, 51], Operations: ['89-51=38', '68-17=51']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,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,2,0
Current State: 54:[68, 55], Operations: ['89-51=38', '17+38=55']
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,54 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,54 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: 54:[68, 51, 72], Operations: ['89-17=72']
Exploring Operation: 68-51=17, Resulting Numbers: [72, 17]
Generated Node #0,1,0: 54:[72, 17] Operation: 68-51=17
Exploring Operation: 72-68=4, Resulting Numbers: [51, 4]
Generated Node #0,1,1: 54:[51, 4] Operation: 72-68=4
Exploring Operation: 72-51=21, Resulting Numbers: [68, 21]
Generated Node #0,1,2: 54:[68, 21] Operation: 72-51=21
Exploring Operation: 68+51=119, Resulting Numbers: [72, 119]
Generated Node #0,1,3: 54:[72, 119] Operation: 68+51=119
Moving to Node #0,3
Current State: 54:[17, 89, 17], Operations: ['68-51=17']
Exploring Operation: 89-17=72, Resulting Numbers: [17, 72]
Generated Node #0,3,0: 54:[17, 72] Operation: 89-17=72
Exploring Operation: 89-17=72, Resulting Numbers: [17, 72]
Generated Node #0,3,1: 54:[17, 72] Operation: 89-17=72
Exploring Operation: 17-17=0, Resulting Numbers: [89, 0]
Generated Node #0,3,2: 54:[89, 0] Operation: 17-17=0
Exploring Operation: 17/17=1, Resulting Numbers: [89, 1]
Generated Node #0,3,3: 54:[89, 1] Operation: 17/17=1
Moving to Node #0,1,1
Current State: 54:[51, 4], Operations: ['89-17=72', '72-68=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,54 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[68, 21], Operations: ['89-17=72', '72-51=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,54 unequal: No Solution
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[72, 17], Operations: ['89-17=72', '68-51=17']
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,54 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[17, 72], Operations: ['68-51=17', '89-17=72']
Exploring Operation: 17*72=1224, Resulting Numbers: [1224]
1224,54 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[17, 72], Operations: ['68-51=17', '89-17=72']
Exploring Operation: 17*72=1224, Resulting Numbers: [1224]
1224,54 unequal: No Solution
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[89, 1], Operations: ['68-51=17', '17/17=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,54 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[89, 0], Operations: ['68-51=17', '17-17=0']
Exploring Operation: 89+0=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 89-0=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 89*0=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[72, 119], Operations: ['89-17=72', '68+51=119']
Exploring Operation: 72+119=191, Resulting Numbers: [191]
191,54 unequal: No Solution
Exploring Operation: 72*119=8568, Resulting Numbers: [8568]
8568,54 unequal: No Solution
Exploring Operation: 119-72=47, Resulting Numbers: [47]
47,54 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
21,
11,
29
] | 76 | [
"55*21=1155",
"1155/11=105",
"105-29=76"
] | Current State: 76:[55, 21, 11, 29], Operations: []
Exploring Operation: 55*21=1155, Resulting Numbers: [11, 29, 1155]
Generated Node #2: [11, 29, 1155] from Operation: 55*21=1155
Current State: 76:[11, 29, 1155], Operations: ['55*21=1155']
Exploring Operation: 1155/11=105, Resulting Numbers: [29, 105]
Generated Node #3: [29, 105] from Operation: 1155/11=105
Current State: 76:[29, 105], Operations: ['55*21=1155', '1155/11=105']
Exploring Operation: 105-29=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[55, 21, 11, 29], Operations: []
Exploring Operation: 55-11=44, Resulting Numbers: [21, 29, 44]
Generated Node #0,0: 76:[21, 29, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [21, 29, 5]
Generated Node #0,1: 76:[21, 29, 5] Operation: 55/11=5
Exploring Operation: 55-29=26, Resulting Numbers: [21, 11, 26]
Generated Node #0,2: 76:[21, 11, 26] Operation: 55-29=26
Exploring Operation: 55+29=84, Resulting Numbers: [21, 11, 84]
Generated Node #0,3: 76:[21, 11, 84] Operation: 55+29=84
Exploring Operation: 55+21=76, Resulting Numbers: [11, 29, 76]
Generated Node #0,4: 76:[11, 29, 76] Operation: 55+21=76
Moving to Node #0,1
Current State: 76:[21, 29, 5], Operations: ['55/11=5']
Exploring Operation: 29-5=24, Resulting Numbers: [21, 24]
Generated Node #0,1,0: 76:[21, 24] Operation: 29-5=24
Exploring Operation: 29-21=8, Resulting Numbers: [5, 8]
Generated Node #0,1,1: 76:[5, 8] Operation: 29-21=8
Exploring Operation: 29+5=34, Resulting Numbers: [21, 34]
Generated Node #0,1,2: 76:[21, 34] Operation: 29+5=34
Exploring Operation: 21+29=50, Resulting Numbers: [5, 50]
Generated Node #0,1,3: 76:[5, 50] Operation: 21+29=50
Exploring Operation: 21-5=16, Resulting Numbers: [29, 16]
Generated Node #0,1,4: 76:[29, 16] Operation: 21-5=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[5, 8], Operations: ['55/11=5', '29-21=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[21, 34], Operations: ['55/11=5', '29+5=34']
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,76 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[21, 24], Operations: ['55/11=5', '29-5=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 21*24=504, Resulting Numbers: [504]
504,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 76:[29, 16], Operations: ['55/11=5', '21-5=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,76 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[5, 50], Operations: ['55/11=5', '21+29=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,76 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,76 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: 76:[11, 29, 76], Operations: ['55+21=76']
Exploring Operation: 11+29=40, Resulting Numbers: [76, 40]
Generated Node #0,4,0: 76:[76, 40] Operation: 11+29=40
Exploring Operation: 29-11=18, Resulting Numbers: [76, 18]
Generated Node #0,4,1: 76:[76, 18] Operation: 29-11=18
Exploring Operation: 76-29=47, Resulting Numbers: [11, 47]
Generated Node #0,4,2: 76:[11, 47] Operation: 76-29=47
Exploring Operation: 76-11=65, Resulting Numbers: [29, 65]
Generated Node #0,4,3: 76:[29, 65] Operation: 76-11=65
Exploring Operation: 11+76=87, Resulting Numbers: [29, 87]
Generated Node #0,4,4: 76:[29, 87] Operation: 11+76=87
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[76, 18], Operations: ['55+21=76', '29-11=18']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[76, 40], Operations: ['55+21=76', '11+29=40']
Exploring Operation: 76*40=3040, Resulting Numbers: [3040]
3040,76 unequal: No Solution
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 76+40=116, Resulting Numbers: [116]
116,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[11, 47], Operations: ['55+21=76', '76-29=47']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,76 unequal: No Solution
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[29, 65], Operations: ['55+21=76', '76-11=65']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,76 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[29, 87], Operations: ['55+21=76', '11+76=87']
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,76 unequal: No Solution
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,76 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: 76:[21, 11, 26], Operations: ['55-29=26']
Exploring Operation: 21+11=32, Resulting Numbers: [26, 32]
Generated Node #0,2,0: 76:[26, 32] Operation: 21+11=32
Exploring Operation: 26-11=15, Resulting Numbers: [21, 15]
Generated Node #0,2,1: 76:[21, 15] Operation: 26-11=15
Exploring Operation: 11+26=37, Resulting Numbers: [21, 37]
Generated Node #0,2,2: 76:[21, 37] Operation: 11+26=37
Exploring Operation: 26-21=5, Resulting Numbers: [11, 5]
Generated Node #0,2,3: 76:[11, 5] Operation: 26-21=5
Exploring Operation: 21-11=10, Resulting Numbers: [26, 10]
Generated Node #0,2,4: 76:[26, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[21, 37], Operations: ['55-29=26', '11+26=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[21, 15], Operations: ['55-29=26', '26-11=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,76 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[11, 5], Operations: ['55-29=26', '26-21=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,76 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[26, 32], Operations: ['55-29=26', '21+11=32']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,76 unequal: No Solution
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[26, 10], Operations: ['55-29=26', '21-11=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,76 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: 76:[21, 29, 44], Operations: ['55-11=44']
Exploring Operation: 29+44=73, Resulting Numbers: [21, 73]
Generated Node #0,0,0: 76:[21, 73] Operation: 29+44=73
Exploring Operation: 29-21=8, Resulting Numbers: [44, 8]
Generated Node #0,0,1: 76:[44, 8] Operation: 29-21=8
Exploring Operation: 44-21=23, Resulting Numbers: [29, 23]
Generated Node #0,0,2: 76:[29, 23] Operation: 44-21=23
Exploring Operation: 44-29=15, Resulting Numbers: [21, 15]
Generated Node #0,0,3: 76:[21, 15] Operation: 44-29=15
Exploring Operation: 21+29=50, Resulting Numbers: [44, 50]
Generated Node #0,0,4: 76:[44, 50] Operation: 21+29=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[21, 73], Operations: ['55-11=44', '29+44=73']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,76 unequal: No Solution
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[21, 15], Operations: ['55-11=44', '44-29=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[44, 8], Operations: ['55-11=44', '29-21=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,76 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[29, 23], Operations: ['55-11=44', '44-21=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,76 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[44, 50], Operations: ['55-11=44', '21+29=50']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,76 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: 76:[21, 11, 84], Operations: ['55+29=84']
Exploring Operation: 84-21=63, Resulting Numbers: [11, 63]
Generated Node #0,3,0: 76:[11, 63] Operation: 84-21=63
Exploring Operation: 84-11=73, Resulting Numbers: [21, 73]
Generated Node #0,3,1: 76:[21, 73] Operation: 84-11=73
Exploring Operation: 21+11=32, Resulting Numbers: [84, 32]
Generated Node #0,3,2: 76:[84, 32] Operation: 21+11=32
Exploring Operation: 84/21=4, Resulting Numbers: [11, 4]
Generated Node #0,3,3: 76:[11, 4] Operation: 84/21=4
Exploring Operation: 21-11=10, Resulting Numbers: [84, 10]
Generated Node #0,3,4: 76:[84, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[21, 73], Operations: ['55+29=84', '84-11=73']
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[11, 4], Operations: ['55+29=84', '84/21=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[84, 32], Operations: ['55+29=84', '21+11=32']
Exploring Operation: 84*32=2688, Resulting Numbers: [2688]
2688,76 unequal: No Solution
Exploring Operation: 84+32=116, Resulting Numbers: [116]
116,76 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 76:[84, 10], Operations: ['55+29=84', '21-11=10']
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,76 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[11, 63], Operations: ['55+29=84', '84-21=63']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,76 unequal: No Solution
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,76 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 |
[
34,
31,
90,
92
] | 96 | [
"34+90=124",
"124/31=4",
"92+4=96"
] | Current State: 96:[34, 31, 90, 92], Operations: []
Exploring Operation: 34+90=124, Resulting Numbers: [31, 92, 124]
Generated Node #2: [31, 92, 124] from Operation: 34+90=124
Current State: 96:[31, 92, 124], Operations: ['34+90=124']
Exploring Operation: 124/31=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 124/31=4
Current State: 96:[92, 4], Operations: ['34+90=124', '124/31=4']
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[34, 31, 90, 92], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [34, 31, 2]
Generated Node #0,0: 96:[34, 31, 2] Operation: 92-90=2
Exploring Operation: 92-34=58, Resulting Numbers: [31, 90, 58]
Generated Node #0,1: 96:[31, 90, 58] Operation: 92-34=58
Exploring Operation: 34-31=3, Resulting Numbers: [90, 92, 3]
Generated Node #0,2: 96:[90, 92, 3] Operation: 34-31=3
Exploring Operation: 90-34=56, Resulting Numbers: [31, 92, 56]
Generated Node #0,3: 96:[31, 92, 56] Operation: 90-34=56
Moving to Node #0,0
Current State: 96:[34, 31, 2], Operations: ['92-90=2']
Exploring Operation: 34-31=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 96:[2, 3] Operation: 34-31=3
Exploring Operation: 31+2=33, Resulting Numbers: [34, 33]
Generated Node #0,0,1: 96:[34, 33] Operation: 31+2=33
Exploring Operation: 34/2=17, Resulting Numbers: [31, 17]
Generated Node #0,0,2: 96:[31, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [31, 32]
Generated Node #0,0,3: 96:[31, 32] Operation: 34-2=32
Moving to Node #0,2
Current State: 96:[90, 92, 3], Operations: ['34-31=3']
Exploring Operation: 90+3=93, Resulting Numbers: [92, 93]
Generated Node #0,2,0: 96:[92, 93] Operation: 90+3=93
Exploring Operation: 92+3=95, Resulting Numbers: [90, 95]
Generated Node #0,2,1: 96:[90, 95] Operation: 92+3=95
Exploring Operation: 92-90=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 96:[3, 2] Operation: 92-90=2
Exploring Operation: 90/3=30, Resulting Numbers: [92, 30]
Generated Node #0,2,3: 96:[92, 30] Operation: 90/3=30
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[3, 2], Operations: ['34-31=3', '92-90=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 96:[92, 30], Operations: ['34-31=3', '90/3=30']
Exploring Operation: 92-30=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 92+30=122, Resulting Numbers: [122]
122,96 unequal: No Solution
Exploring Operation: 92*30=2760, Resulting Numbers: [2760]
2760,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[92, 93], Operations: ['34-31=3', '90+3=93']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,96 unequal: No Solution
Exploring Operation: 92*93=8556, Resulting Numbers: [8556]
8556,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[90, 95], Operations: ['34-31=3', '92+3=95']
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,96 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,96 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,96 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: 96:[31, 92, 56], Operations: ['90-34=56']
Exploring Operation: 31+56=87, Resulting Numbers: [92, 87]
Generated Node #0,3,0: 96:[92, 87] Operation: 31+56=87
Exploring Operation: 92-56=36, Resulting Numbers: [31, 36]
Generated Node #0,3,1: 96:[31, 36] Operation: 92-56=36
Exploring Operation: 92-31=61, Resulting Numbers: [56, 61]
Generated Node #0,3,2: 96:[56, 61] Operation: 92-31=61
Exploring Operation: 56-31=25, Resulting Numbers: [92, 25]
Generated Node #0,3,3: 96:[92, 25] Operation: 56-31=25
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 96:[31, 36], Operations: ['90-34=56', '92-56=36']
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,96 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 96:[92, 25], Operations: ['90-34=56', '56-31=25']
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,96 unequal: No Solution
Exploring Operation: 92+25=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 92*25=2300, Resulting Numbers: [2300]
2300,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 96:[92, 87], Operations: ['90-34=56', '31+56=87']
Exploring Operation: 92-87=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 92*87=8004, Resulting Numbers: [8004]
8004,96 unequal: No Solution
Exploring Operation: 92+87=179, Resulting Numbers: [179]
179,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[56, 61], Operations: ['90-34=56', '92-31=61']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 56+61=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 56*61=3416, Resulting Numbers: [3416]
3416,96 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: 96:[31, 90, 58], Operations: ['92-34=58']
Exploring Operation: 58-31=27, Resulting Numbers: [90, 27]
Generated Node #0,1,0: 96:[90, 27] Operation: 58-31=27
Exploring Operation: 90-31=59, Resulting Numbers: [58, 59]
Generated Node #0,1,1: 96:[58, 59] Operation: 90-31=59
Exploring Operation: 31+58=89, Resulting Numbers: [90, 89]
Generated Node #0,1,2: 96:[90, 89] Operation: 31+58=89
Exploring Operation: 90-58=32, Resulting Numbers: [31, 32]
Generated Node #0,1,3: 96:[31, 32] Operation: 90-58=32
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[31, 32], Operations: ['92-34=58', '90-58=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,96 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[90, 27], Operations: ['92-34=58', '58-31=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,96 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[90, 89], Operations: ['92-34=58', '31+58=89']
Exploring Operation: 90*89=8010, Resulting Numbers: [8010]
8010,96 unequal: No Solution
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 90+89=179, Resulting Numbers: [179]
179,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[58, 59], Operations: ['92-34=58', '90-31=59']
Exploring Operation: 58*59=3422, Resulting Numbers: [3422]
3422,96 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 58+59=117, Resulting Numbers: [117]
117,96 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: 96:[2, 3], Operations: ['92-90=2', '34-31=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[31, 32], Operations: ['92-90=2', '34-2=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,96 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[31, 17], Operations: ['92-90=2', '34/2=17']
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,96 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[34, 33], Operations: ['92-90=2', '31+2=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,96 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,96 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
78,
64,
28
] | 42 | [
"2*28=56",
"78-64=14",
"56-14=42"
] | Current State: 42:[2, 78, 64, 28], Operations: []
Exploring Operation: 2*28=56, Resulting Numbers: [78, 64, 56]
Generated Node #2: [78, 64, 56] from Operation: 2*28=56
Current State: 42:[78, 64, 56], Operations: ['2*28=56']
Exploring Operation: 78-64=14, Resulting Numbers: [56, 14]
Generated Node #3: [56, 14] from Operation: 78-64=14
Current State: 42:[56, 14], Operations: ['2*28=56', '78-64=14']
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[2, 78, 64, 28], Operations: []
Exploring Operation: 78-64=14, Resulting Numbers: [2, 28, 14]
Generated Node #0,0: 42:[2, 28, 14] Operation: 78-64=14
Exploring Operation: 78-28=50, Resulting Numbers: [2, 64, 50]
Generated Node #0,1: 42:[2, 64, 50] Operation: 78-28=50
Exploring Operation: 64-28=36, Resulting Numbers: [2, 78, 36]
Generated Node #0,2: 42:[2, 78, 36] Operation: 64-28=36
Exploring Operation: 78/2=39, Resulting Numbers: [64, 28, 39]
Generated Node #0,3: 42:[64, 28, 39] Operation: 78/2=39
Moving to Node #0,0
Current State: 42:[2, 28, 14], Operations: ['78-64=14']
Exploring Operation: 28-14=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 42:[2, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 42:[2, 2] Operation: 28/14=2
Exploring Operation: 28/2=14, Resulting Numbers: [14, 14]
Generated Node #0,0,2: 42:[14, 14] Operation: 28/2=14
Exploring Operation: 28+14=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 42:[2, 42] Operation: 28+14=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[2, 14], Operations: ['78-64=14', '28-14=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No 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: 42:[2, 2], Operations: ['78-64=14', '28/14=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
No 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: 42:[14, 14], Operations: ['78-64=14', '28/2=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 14*14=196, Resulting Numbers: [196]
196,42 unequal: No Solution
Exploring Operation: 14+14=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,42 unequal: No Solution
No 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: 42:[2, 42], Operations: ['78-64=14', '28+14=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,42 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: 42:[2, 64, 50], Operations: ['78-28=50']
Exploring Operation: 64-50=14, Resulting Numbers: [2, 14]
Generated Node #0,1,0: 42:[2, 14] Operation: 64-50=14
Exploring Operation: 64-2=62, Resulting Numbers: [50, 62]
Generated Node #0,1,1: 42:[50, 62] Operation: 64-2=62
Exploring Operation: 50/2=25, Resulting Numbers: [64, 25]
Generated Node #0,1,2: 42:[64, 25] Operation: 50/2=25
Exploring Operation: 64/2=32, Resulting Numbers: [50, 32]
Generated Node #0,1,3: 42:[50, 32] Operation: 64/2=32
Moving to Node #0,3
Current State: 42:[64, 28, 39], Operations: ['78/2=39']
Exploring Operation: 64-39=25, Resulting Numbers: [28, 25]
Generated Node #0,3,0: 42:[28, 25] Operation: 64-39=25
Exploring Operation: 64-28=36, Resulting Numbers: [39, 36]
Generated Node #0,3,1: 42:[39, 36] Operation: 64-28=36
Exploring Operation: 28+39=67, Resulting Numbers: [64, 67]
Generated Node #0,3,2: 42:[64, 67] Operation: 28+39=67
Exploring Operation: 39-28=11, Resulting Numbers: [64, 11]
Generated Node #0,3,3: 42:[64, 11] Operation: 39-28=11
Moving to Node #0,2
Current State: 42:[2, 78, 36], Operations: ['64-28=36']
Exploring Operation: 36/2=18, Resulting Numbers: [78, 18]
Generated Node #0,2,0: 42:[78, 18] Operation: 36/2=18
Exploring Operation: 78-36=42, Resulting Numbers: [2, 42]
Generated Node #0,2,1: 42:[2, 42] Operation: 78-36=42
Exploring Operation: 78-2=76, Resulting Numbers: [36, 76]
Generated Node #0,2,2: 42:[36, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [36, 39]
Generated Node #0,2,3: 42:[36, 39] Operation: 78/2=39
Moving to Node #0,1,0
Current State: 42:[2, 14], Operations: ['78-28=50', '64-50=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[2, 42], Operations: ['64-28=36', '78-36=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,42 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[36, 39], Operations: ['64-28=36', '78/2=39']
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,42 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[39, 36], Operations: ['78/2=39', '64-28=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,42 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[28, 25], Operations: ['78/2=39', '64-39=25']
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,42 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[50, 32], Operations: ['78-28=50', '64/2=32']
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,42 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[64, 11], Operations: ['78/2=39', '39-28=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,42 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[64, 25], Operations: ['78-28=50', '50/2=25']
Exploring Operation: 64*25=1600, Resulting Numbers: [1600]
1600,42 unequal: No Solution
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,42 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[50, 62], Operations: ['78-28=50', '64-2=62']
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,42 unequal: No Solution
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[78, 18], Operations: ['64-28=36', '36/2=18']
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[36, 76], Operations: ['64-28=36', '78-2=76']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,42 unequal: No Solution
Exploring Operation: 36*76=2736, Resulting Numbers: [2736]
2736,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[64, 67], Operations: ['78/2=39', '28+39=67']
Exploring Operation: 64*67=4288, Resulting Numbers: [4288]
4288,42 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 64+67=131, Resulting Numbers: [131]
131,42 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
93,
57,
15
] | 46 | [
"93+57=150",
"150/15=10",
"36+10=46"
] | Current State: 46:[36, 93, 57, 15], Operations: []
Exploring Operation: 93+57=150, Resulting Numbers: [36, 15, 150]
Generated Node #2: [36, 15, 150] from Operation: 93+57=150
Current State: 46:[36, 15, 150], Operations: ['93+57=150']
Exploring Operation: 150/15=10, Resulting Numbers: [36, 10]
Generated Node #3: [36, 10] from Operation: 150/15=10
Current State: 46:[36, 10], Operations: ['93+57=150', '150/15=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[36, 93, 57, 15], Operations: []
Exploring Operation: 93-36=57, Resulting Numbers: [57, 15, 57]
Generated Node #0,0: 46:[57, 15, 57] Operation: 93-36=57
Exploring Operation: 93-57=36, Resulting Numbers: [36, 15, 36]
Generated Node #0,1: 46:[36, 15, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[36, 15, 36], Operations: ['93-57=36']
Exploring Operation: 36/36=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 46:[15, 1] Operation: 36/36=1
Exploring Operation: 36-36=0, Resulting Numbers: [15, 0]
Generated Node #0,1,1: 46:[15, 0] Operation: 36-36=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[15, 1], Operations: ['93-57=36', '36/36=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,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,1
Current State: 46:[15, 0], Operations: ['93-57=36', '36-36=0']
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,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:[57, 15, 57], Operations: ['93-36=57']
Exploring Operation: 57/57=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 46:[15, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [15, 0]
Generated Node #0,0,1: 46:[15, 0] Operation: 57-57=0
Moving to Node #0,0,0
Current State: 46:[15, 1], Operations: ['93-36=57', '57/57=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[15, 0], Operations: ['93-36=57', '57-57=0']
Exploring Operation: 15*0=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 15+0=15, Resulting Numbers: [15]
15,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 | sum_heuristic |
[
3,
58,
32,
13
] | 43 | [
"58+32=90",
"90/3=30",
"13+30=43"
] | Current State: 43:[3, 58, 32, 13], Operations: []
Exploring Operation: 58+32=90, Resulting Numbers: [3, 13, 90]
Generated Node #2: [3, 13, 90] from Operation: 58+32=90
Current State: 43:[3, 13, 90], Operations: ['58+32=90']
Exploring Operation: 90/3=30, Resulting Numbers: [13, 30]
Generated Node #3: [13, 30] from Operation: 90/3=30
Current State: 43:[13, 30], Operations: ['58+32=90', '90/3=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 58, 32, 13], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [58, 32, 39]
Generated Node #0,0: 43:[58, 32, 39] Operation: 3*13=39
Exploring Operation: 58-3=55, Resulting Numbers: [32, 13, 55]
Generated Node #0,1: 43:[32, 13, 55] Operation: 58-3=55
Exploring Operation: 3+32=35, Resulting Numbers: [58, 13, 35]
Generated Node #0,2: 43:[58, 13, 35] Operation: 3+32=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[58, 32, 39], Operations: ['3*13=39']
Exploring Operation: 32+39=71, Resulting Numbers: [58, 71]
Generated Node #0,0,0: 43:[58, 71] Operation: 32+39=71
Exploring Operation: 58-32=26, Resulting Numbers: [39, 26]
Generated Node #0,0,1: 43:[39, 26] Operation: 58-32=26
Exploring Operation: 58-39=19, Resulting Numbers: [32, 19]
Generated Node #0,0,2: 43:[32, 19] Operation: 58-39=19
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[39, 26], Operations: ['3*13=39', '58-32=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,43 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,43 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[32, 19], Operations: ['3*13=39', '58-39=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,43 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[58, 71], Operations: ['3*13=39', '32+39=71']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 58*71=4118, Resulting Numbers: [4118]
4118,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[32, 13, 55], Operations: ['58-3=55']
Exploring Operation: 32-13=19, Resulting Numbers: [55, 19]
Generated Node #0,1,0: 43:[55, 19] Operation: 32-13=19
Exploring Operation: 55-13=42, Resulting Numbers: [32, 42]
Generated Node #0,1,1: 43:[32, 42] Operation: 55-13=42
Exploring Operation: 32+13=45, Resulting Numbers: [55, 45]
Generated Node #0,1,2: 43:[55, 45] Operation: 32+13=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[32, 42], Operations: ['58-3=55', '55-13=42']
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,43 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[55, 45], Operations: ['58-3=55', '32+13=45']
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,43 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[55, 19], Operations: ['58-3=55', '32-13=19']
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 55*19=1045, Resulting Numbers: [1045]
1045,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[58, 13, 35], Operations: ['3+32=35']
Exploring Operation: 58-13=45, Resulting Numbers: [35, 45]
Generated Node #0,2,0: 43:[35, 45] Operation: 58-13=45
Exploring Operation: 13+35=48, Resulting Numbers: [58, 48]
Generated Node #0,2,1: 43:[58, 48] Operation: 13+35=48
Exploring Operation: 58+13=71, Resulting Numbers: [35, 71]
Generated Node #0,2,2: 43:[35, 71] Operation: 58+13=71
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[35, 45], Operations: ['3+32=35', '58-13=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,43 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[58, 48], Operations: ['3+32=35', '13+35=48']
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,43 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[35, 71], Operations: ['3+32=35', '58+13=71']
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 35+71=106, Resulting Numbers: [106]
106,43 unequal: No Solution
Exploring Operation: 35*71=2485, Resulting Numbers: [2485]
2485,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
95,
63,
25,
71
] | 64 | [
"95-63=32",
"25+71=96",
"96-32=64"
] | Current State: 64:[95, 63, 25, 71], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [25, 71, 32]
Generated Node #2: [25, 71, 32] from Operation: 95-63=32
Current State: 64:[25, 71, 32], Operations: ['95-63=32']
Exploring Operation: 25+71=96, Resulting Numbers: [32, 96]
Generated Node #3: [32, 96] from Operation: 25+71=96
Current State: 64:[32, 96], Operations: ['95-63=32', '25+71=96']
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[95, 63, 25, 71], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [95, 25, 8]
Generated Node #0,0: 64:[95, 25, 8] Operation: 71-63=8
Exploring Operation: 95-63=32, Resulting Numbers: [25, 71, 32]
Generated Node #0,1: 64:[25, 71, 32] Operation: 95-63=32
Exploring Operation: 95-25=70, Resulting Numbers: [63, 71, 70]
Generated Node #0,2: 64:[63, 71, 70] Operation: 95-25=70
Exploring Operation: 95-71=24, Resulting Numbers: [63, 25, 24]
Generated Node #0,3: 64:[63, 25, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[25, 71, 32], Operations: ['95-63=32']
Exploring Operation: 25+32=57, Resulting Numbers: [71, 57]
Generated Node #0,1,0: 64:[71, 57] Operation: 25+32=57
Exploring Operation: 71-25=46, Resulting Numbers: [32, 46]
Generated Node #0,1,1: 64:[32, 46] Operation: 71-25=46
Exploring Operation: 71-32=39, Resulting Numbers: [25, 39]
Generated Node #0,1,2: 64:[25, 39] Operation: 71-32=39
Exploring Operation: 32-25=7, Resulting Numbers: [71, 7]
Generated Node #0,1,3: 64:[71, 7] Operation: 32-25=7
Moving to Node #0,1,3
Current State: 64:[71, 7], Operations: ['95-63=32', '32-25=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[95, 63, 25, 71], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [25, 71, 32]
Generated Node #0,1: 64:[25, 71, 32] Operation: 95-63=32
Moving to Node #0,1
Current State: 64:[25, 71, 32], Operations: ['95-63=32']
Exploring Operation: 32-25=7, Resulting Numbers: [71, 7]
Generated Node #0,1,3: 64:[71, 7] Operation: 32-25=7
Moving to Node #0,1,3
Current State: 64:[71, 7], Operations: ['95-63=32', '32-25=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
5,
12,
90,
1
] | 73 | [
"5+12=17",
"90*1=90",
"90-17=73"
] | Current State: 73:[5, 12, 90, 1], Operations: []
Exploring Operation: 5+12=17, Resulting Numbers: [90, 1, 17]
Generated Node #2: [90, 1, 17] from Operation: 5+12=17
Current State: 73:[90, 1, 17], Operations: ['5+12=17']
Exploring Operation: 90*1=90, Resulting Numbers: [17, 90]
Generated Node #3: [17, 90] from Operation: 90*1=90
Current State: 73:[17, 90], Operations: ['5+12=17', '90*1=90']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[5, 12, 90, 1], Operations: []
Exploring Operation: 5*12=60, Resulting Numbers: [90, 1, 60]
Generated Node #0,0: 73:[90, 1, 60] Operation: 5*12=60
Moving to Node #0,0
Current State: 73:[90, 1, 60], Operations: ['5*12=60']
Exploring Operation: 90-1=89, Resulting Numbers: [60, 89]
Generated Node #0,0,0: 73:[60, 89] Operation: 90-1=89
Moving to Node #0,0,0
Current State: 73:[60, 89], Operations: ['5*12=60', '90-1=89']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,73 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
19,
18,
4
] | 39 | [
"72-19=53",
"18-4=14",
"53-14=39"
] | Current State: 39:[72, 19, 18, 4], Operations: []
Exploring Operation: 72-19=53, Resulting Numbers: [18, 4, 53]
Generated Node #2: [18, 4, 53] from Operation: 72-19=53
Current State: 39:[18, 4, 53], Operations: ['72-19=53']
Exploring Operation: 18-4=14, Resulting Numbers: [53, 14]
Generated Node #3: [53, 14] from Operation: 18-4=14
Current State: 39:[53, 14], Operations: ['72-19=53', '18-4=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[72, 19, 18, 4], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [19, 4, 4]
Generated Node #0,0: 39:[19, 4, 4] Operation: 72/18=4
Exploring Operation: 72/4=18, Resulting Numbers: [19, 18, 18]
Generated Node #0,1: 39:[19, 18, 18] Operation: 72/4=18
Moving to Node #0,0
Current State: 39:[19, 4, 4], Operations: ['72/18=4']
Exploring Operation: 19-4=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 39:[4, 15] Operation: 19-4=15
Exploring Operation: 19-4=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 39:[4, 15] Operation: 19-4=15
Moving to Node #0,1
Current State: 39:[19, 18, 18], Operations: ['72/4=18']
Exploring Operation: 19+18=37, Resulting Numbers: [18, 37]
Generated Node #0,1,0: 39:[18, 37] Operation: 19+18=37
Exploring Operation: 19-18=1, Resulting Numbers: [18, 1]
Generated Node #0,1,1: 39:[18, 1] Operation: 19-18=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[18, 37], Operations: ['72/4=18', '19+18=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[18, 1], Operations: ['72/4=18', '19-18=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,39 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: 39:[4, 15], Operations: ['72/18=4', '19-4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[4, 15], Operations: ['72/18=4', '19-4=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,39 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
45,
58,
84,
39
] | 44 | [
"45-39=6",
"84/6=14",
"58-14=44"
] | Current State: 44:[45, 58, 84, 39], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [58, 84, 6]
Generated Node #2: [58, 84, 6] from Operation: 45-39=6
Current State: 44:[58, 84, 6], Operations: ['45-39=6']
Exploring Operation: 84/6=14, Resulting Numbers: [58, 14]
Generated Node #3: [58, 14] from Operation: 84/6=14
Current State: 44:[58, 14], Operations: ['45-39=6', '84/6=14']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[45, 58, 84, 39], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [45, 58, 45]
Generated Node #0,0: 44:[45, 58, 45] Operation: 84-39=45
Exploring Operation: 84-45=39, Resulting Numbers: [58, 39, 39]
Generated Node #0,1: 44:[58, 39, 39] Operation: 84-45=39
Exploring Operation: 84-58=26, Resulting Numbers: [45, 39, 26]
Generated Node #0,2: 44:[45, 39, 26] Operation: 84-58=26
Exploring Operation: 58-45=13, Resulting Numbers: [84, 39, 13]
Generated Node #0,3: 44:[84, 39, 13] Operation: 58-45=13
Exploring Operation: 58-39=19, Resulting Numbers: [45, 84, 19]
Generated Node #0,4: 44:[45, 84, 19] Operation: 58-39=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[45, 39, 26], Operations: ['84-58=26']
Exploring Operation: 45+26=71, Resulting Numbers: [39, 71]
Generated Node #0,2,0: 44:[39, 71] Operation: 45+26=71
Exploring Operation: 39-26=13, Resulting Numbers: [45, 13]
Generated Node #0,2,1: 44:[45, 13] Operation: 39-26=13
Exploring Operation: 39+26=65, Resulting Numbers: [45, 65]
Generated Node #0,2,2: 44:[45, 65] Operation: 39+26=65
Exploring Operation: 45-39=6, Resulting Numbers: [26, 6]
Generated Node #0,2,3: 44:[26, 6] Operation: 45-39=6
Exploring Operation: 45-26=19, Resulting Numbers: [39, 19]
Generated Node #0,2,4: 44:[39, 19] Operation: 45-26=19
Moving to Node #0,2,1
Current State: 44:[45, 13], Operations: ['84-58=26', '39-26=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[26, 6], Operations: ['84-58=26', '45-39=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,44 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[39, 19], Operations: ['84-58=26', '45-26=19']
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,44 unequal: No Solution
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[45, 65], Operations: ['84-58=26', '39+26=65']
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,44 unequal: No Solution
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[39, 71], Operations: ['84-58=26', '45+26=71']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,44 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[45, 58, 45], Operations: ['84-39=45']
Exploring Operation: 58-45=13, Resulting Numbers: [45, 13]
Generated Node #0,0,0: 44:[45, 13] Operation: 58-45=13
Exploring Operation: 45/45=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 44:[58, 1] Operation: 45/45=1
Exploring Operation: 58-45=13, Resulting Numbers: [45, 13]
Generated Node #0,0,2: 44:[45, 13] Operation: 58-45=13
Exploring Operation: 45+58=103, Resulting Numbers: [45, 103]
Generated Node #0,0,3: 44:[45, 103] Operation: 45+58=103
Exploring Operation: 45-45=0, Resulting Numbers: [58, 0]
Generated Node #0,0,4: 44:[58, 0] Operation: 45-45=0
Moving to Node #0,0,0
Current State: 44:[45, 13], Operations: ['84-39=45', '58-45=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,44 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[45, 13], Operations: ['84-39=45', '58-45=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,44 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[58, 1], Operations: ['84-39=45', '45/45=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[58, 0], Operations: ['84-39=45', '45-45=0']
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[45, 103], Operations: ['84-39=45', '45+58=103']
Exploring Operation: 103-45=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 45+103=148, Resulting Numbers: [148]
148,44 unequal: No Solution
Exploring Operation: 45*103=4635, Resulting Numbers: [4635]
4635,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[58, 39, 39], Operations: ['84-45=39']
Exploring Operation: 39/39=1, Resulting Numbers: [58, 1]
Generated Node #0,1,0: 44:[58, 1] Operation: 39/39=1
Exploring Operation: 58-39=19, Resulting Numbers: [39, 19]
Generated Node #0,1,1: 44:[39, 19] Operation: 58-39=19
Exploring Operation: 58-39=19, Resulting Numbers: [39, 19]
Generated Node #0,1,2: 44:[39, 19] Operation: 58-39=19
Exploring Operation: 39-39=0, Resulting Numbers: [58, 0]
Generated Node #0,1,3: 44:[58, 0] Operation: 39-39=0
Exploring Operation: 39+39=78, Resulting Numbers: [58, 78]
Generated Node #0,1,4: 44:[58, 78] Operation: 39+39=78
Moving to Node #0,1,1
Current State: 44:[39, 19], Operations: ['84-45=39', '58-39=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[39, 19], Operations: ['84-45=39', '58-39=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[58, 1], Operations: ['84-45=39', '39/39=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,44 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[58, 0], Operations: ['84-45=39', '39-39=0']
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[58, 78], Operations: ['84-45=39', '39+39=78']
Exploring Operation: 58*78=4524, Resulting Numbers: [4524]
4524,44 unequal: No Solution
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 58+78=136, Resulting Numbers: [136]
136,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[45, 84, 19], Operations: ['58-39=19']
Exploring Operation: 45-19=26, Resulting Numbers: [84, 26]
Generated Node #0,4,0: 44:[84, 26] Operation: 45-19=26
Exploring Operation: 84+19=103, Resulting Numbers: [45, 103]
Generated Node #0,4,1: 44:[45, 103] Operation: 84+19=103
Exploring Operation: 84-19=65, Resulting Numbers: [45, 65]
Generated Node #0,4,2: 44:[45, 65] Operation: 84-19=65
Exploring Operation: 84-45=39, Resulting Numbers: [19, 39]
Generated Node #0,4,3: 44:[19, 39] Operation: 84-45=39
Exploring Operation: 45+19=64, Resulting Numbers: [84, 64]
Generated Node #0,4,4: 44:[84, 64] Operation: 45+19=64
Moving to Node #0,4,3
Current State: 44:[19, 39], Operations: ['58-39=19', '84-45=39']
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,44 unequal: No Solution
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Moving to Node #0,4,2
Current State: 44:[45, 65], Operations: ['58-39=19', '84-19=65']
Exploring Operation: 45*65=2925, Resulting Numbers: [2925]
2925,44 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 45+65=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Moving to Node #0,4,0
Current State: 44:[84, 26], Operations: ['58-39=19', '45-19=26']
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,44 unequal: No Solution
Moving to Node #0,4,1
Current State: 44:[45, 103], Operations: ['58-39=19', '84+19=103']
Exploring Operation: 45+103=148, Resulting Numbers: [148]
148,44 unequal: No Solution
Exploring Operation: 45*103=4635, Resulting Numbers: [4635]
4635,44 unequal: No Solution
Exploring Operation: 103-45=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Moving to Node #0,4,4
Current State: 44:[84, 64], Operations: ['58-39=19', '45+19=64']
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,44 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,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,3
Current State: 44:[84, 39, 13], Operations: ['58-45=13']
Exploring Operation: 84-39=45, Resulting Numbers: [13, 45]
Generated Node #0,3,0: 44:[13, 45] Operation: 84-39=45
Exploring Operation: 84-13=71, Resulting Numbers: [39, 71]
Generated Node #0,3,1: 44:[39, 71] Operation: 84-13=71
Exploring Operation: 39/13=3, Resulting Numbers: [84, 3]
Generated Node #0,3,2: 44:[84, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [84, 26]
Generated Node #0,3,3: 44:[84, 26] Operation: 39-13=26
Exploring Operation: 39+13=52, Resulting Numbers: [84, 52]
Generated Node #0,3,4: 44:[84, 52] Operation: 39+13=52
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[13, 45], Operations: ['58-45=13', '84-39=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,44 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,44 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[39, 71], Operations: ['58-45=13', '84-13=71']
Exploring Operation: 71-39=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 39*71=2769, Resulting Numbers: [2769]
2769,44 unequal: No Solution
Exploring Operation: 39+71=110, Resulting Numbers: [110]
110,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[84, 3], Operations: ['58-45=13', '39/13=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,44 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,44 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[84, 26], Operations: ['58-45=13', '39-13=26']
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,44 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,44 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[84, 52], Operations: ['58-45=13', '39+13=52']
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 84+52=136, Resulting Numbers: [136]
136,44 unequal: No Solution
Exploring Operation: 84*52=4368, Resulting Numbers: [4368]
4368,44 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 |
[
18,
15,
28,
8
] | 72 | [
"18*28=504",
"15-8=7",
"504/7=72"
] | Current State: 72:[18, 15, 28, 8], Operations: []
Exploring Operation: 18*28=504, Resulting Numbers: [15, 8, 504]
Generated Node #2: [15, 8, 504] from Operation: 18*28=504
Current State: 72:[15, 8, 504], Operations: ['18*28=504']
Exploring Operation: 15-8=7, Resulting Numbers: [504, 7]
Generated Node #3: [504, 7] from Operation: 15-8=7
Current State: 72:[504, 7], Operations: ['18*28=504', '15-8=7']
Exploring Operation: 504/7=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[18, 15, 28, 8], Operations: []
Exploring Operation: 28-15=13, Resulting Numbers: [18, 8, 13]
Generated Node #0,0: 72:[18, 8, 13] Operation: 28-15=13
Moving to Node #0,0
Current State: 72:[18, 8, 13], Operations: ['28-15=13']
Exploring Operation: 18-13=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 72:[8, 5] Operation: 18-13=5
Moving to Node #0,0,0
Current State: 72:[8, 5], Operations: ['28-15=13', '18-13=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,72 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
21,
23,
9
] | 84 | [
"33+9=42",
"23-21=2",
"42*2=84"
] | Current State: 84:[33, 21, 23, 9], Operations: []
Exploring Operation: 33+9=42, Resulting Numbers: [21, 23, 42]
Generated Node #2: [21, 23, 42] from Operation: 33+9=42
Current State: 84:[21, 23, 42], Operations: ['33+9=42']
Exploring Operation: 23-21=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 23-21=2
Current State: 84:[42, 2], Operations: ['33+9=42', '23-21=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[33, 21, 23, 9], Operations: []
Exploring Operation: 33+9=42, Resulting Numbers: [21, 23, 42]
Generated Node #0,0: 84:[21, 23, 42] Operation: 33+9=42
Exploring Operation: 33-21=12, Resulting Numbers: [23, 9, 12]
Generated Node #0,1: 84:[23, 9, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[21, 23, 42], Operations: ['33+9=42']
Exploring Operation: 23-21=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 84:[42, 2] Operation: 23-21=2
Exploring Operation: 21+23=44, Resulting Numbers: [42, 44]
Generated Node #0,0,1: 84:[42, 44] Operation: 21+23=44
Moving to Node #0,0,0
Current State: 84:[42, 2], Operations: ['33+9=42', '23-21=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[33, 21, 23, 9], Operations: []
Exploring Operation: 33+9=42, Resulting Numbers: [21, 23, 42]
Generated Node #0,0: 84:[21, 23, 42] Operation: 33+9=42
Moving to Node #0,0
Current State: 84:[21, 23, 42], Operations: ['33+9=42']
Exploring Operation: 23-21=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 84:[42, 2] Operation: 23-21=2
Moving to Node #0,0,0
Current State: 84:[42, 2], Operations: ['33+9=42', '23-21=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
6,
61,
22,
17
] | 31 | [
"22-17=5",
"6*5=30",
"61-30=31"
] | Current State: 31:[6, 61, 22, 17], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [6, 61, 5]
Generated Node #2: [6, 61, 5] from Operation: 22-17=5
Current State: 31:[6, 61, 5], Operations: ['22-17=5']
Exploring Operation: 6*5=30, Resulting Numbers: [61, 30]
Generated Node #3: [61, 30] from Operation: 6*5=30
Current State: 31:[61, 30], Operations: ['22-17=5', '6*5=30']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[6, 61, 22, 17], Operations: []
Exploring Operation: 6+17=23, Resulting Numbers: [61, 22, 23]
Generated Node #0,0: 31:[61, 22, 23] Operation: 6+17=23
Exploring Operation: 6+22=28, Resulting Numbers: [61, 17, 28]
Generated Node #0,1: 31:[61, 17, 28] Operation: 6+22=28
Exploring Operation: 61-6=55, Resulting Numbers: [22, 17, 55]
Generated Node #0,2: 31:[22, 17, 55] Operation: 61-6=55
Exploring Operation: 61-17=44, Resulting Numbers: [6, 22, 44]
Generated Node #0,3: 31:[6, 22, 44] Operation: 61-17=44
Exploring Operation: 61-22=39, Resulting Numbers: [6, 17, 39]
Generated Node #0,4: 31:[6, 17, 39] Operation: 61-22=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[61, 22, 23], Operations: ['6+17=23']
Exploring Operation: 23-22=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 31:[61, 1] Operation: 23-22=1
Exploring Operation: 61+22=83, Resulting Numbers: [23, 83]
Generated Node #0,0,1: 31:[23, 83] Operation: 61+22=83
Exploring Operation: 22+23=45, Resulting Numbers: [61, 45]
Generated Node #0,0,2: 31:[61, 45] Operation: 22+23=45
Exploring Operation: 61-23=38, Resulting Numbers: [22, 38]
Generated Node #0,0,3: 31:[22, 38] Operation: 61-23=38
Exploring Operation: 61-22=39, Resulting Numbers: [23, 39]
Generated Node #0,0,4: 31:[23, 39] Operation: 61-22=39
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 31:[22, 38], Operations: ['6+17=23', '61-23=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 31:[23, 39], Operations: ['6+17=23', '61-22=39']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 23*39=897, Resulting Numbers: [897]
897,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[61, 45], Operations: ['6+17=23', '22+23=45']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,31 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[61, 1], Operations: ['6+17=23', '23-22=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[23, 83], Operations: ['6+17=23', '61+22=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,31 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[61, 17, 28], Operations: ['6+22=28']
Exploring Operation: 61+17=78, Resulting Numbers: [28, 78]
Generated Node #0,1,0: 31:[28, 78] Operation: 61+17=78
Exploring Operation: 61-28=33, Resulting Numbers: [17, 33]
Generated Node #0,1,1: 31:[17, 33] Operation: 61-28=33
Exploring Operation: 17+28=45, Resulting Numbers: [61, 45]
Generated Node #0,1,2: 31:[61, 45] Operation: 17+28=45
Exploring Operation: 61-17=44, Resulting Numbers: [28, 44]
Generated Node #0,1,3: 31:[28, 44] Operation: 61-17=44
Exploring Operation: 28-17=11, Resulting Numbers: [61, 11]
Generated Node #0,1,4: 31:[61, 11] Operation: 28-17=11
Moving to Node #0,1,1
Current State: 31:[17, 33], Operations: ['6+22=28', '61-28=33']
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,31 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[28, 44], Operations: ['6+22=28', '61-17=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,31 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[61, 45], Operations: ['6+22=28', '17+28=45']
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,31 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[28, 78], Operations: ['6+22=28', '61+17=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,31 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[61, 11], Operations: ['6+22=28', '28-17=11']
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[22, 17, 55], Operations: ['61-6=55']
Exploring Operation: 17+55=72, Resulting Numbers: [22, 72]
Generated Node #0,2,0: 31:[22, 72] Operation: 17+55=72
Exploring Operation: 55-17=38, Resulting Numbers: [22, 38]
Generated Node #0,2,1: 31:[22, 38] Operation: 55-17=38
Exploring Operation: 22+17=39, Resulting Numbers: [55, 39]
Generated Node #0,2,2: 31:[55, 39] Operation: 22+17=39
Exploring Operation: 22-17=5, Resulting Numbers: [55, 5]
Generated Node #0,2,3: 31:[55, 5] Operation: 22-17=5
Exploring Operation: 55-22=33, Resulting Numbers: [17, 33]
Generated Node #0,2,4: 31:[17, 33] Operation: 55-22=33
Moving to Node #0,2,1
Current State: 31:[22, 38], Operations: ['61-6=55', '55-17=38']
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,31 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[17, 33], Operations: ['61-6=55', '55-22=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[55, 39], Operations: ['61-6=55', '22+17=39']
Exploring Operation: 55+39=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 55*39=2145, Resulting Numbers: [2145]
2145,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[22, 72], Operations: ['61-6=55', '17+55=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,31 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[55, 5], Operations: ['61-6=55', '22-17=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,31 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[6, 22, 44], Operations: ['61-17=44']
Exploring Operation: 6+22=28, Resulting Numbers: [44, 28]
Generated Node #0,3,0: 31:[44, 28] Operation: 6+22=28
Exploring Operation: 6+44=50, Resulting Numbers: [22, 50]
Generated Node #0,3,1: 31:[22, 50] Operation: 6+44=50
Exploring Operation: 44-22=22, Resulting Numbers: [6, 22]
Generated Node #0,3,2: 31:[6, 22] Operation: 44-22=22
Exploring Operation: 22-6=16, Resulting Numbers: [44, 16]
Generated Node #0,3,3: 31:[44, 16] Operation: 22-6=16
Exploring Operation: 44-6=38, Resulting Numbers: [22, 38]
Generated Node #0,3,4: 31:[22, 38] Operation: 44-6=38
Moving to Node #0,3,0
Current State: 31:[44, 28], Operations: ['61-17=44', '6+22=28']
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 44+28=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Exploring Operation: 44*28=1232, Resulting Numbers: [1232]
1232,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[22, 38], Operations: ['61-17=44', '44-6=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,31 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Moving to Node #0,3,1
Current State: 31:[22, 50], Operations: ['61-17=44', '6+44=50']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,31 unequal: No Solution
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[44, 16], Operations: ['61-17=44', '22-6=16']
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,31 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[6, 22], Operations: ['61-17=44', '44-22=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[6, 17, 39], Operations: ['61-22=39']
Exploring Operation: 39-6=33, Resulting Numbers: [17, 33]
Generated Node #0,4,0: 31:[17, 33] Operation: 39-6=33
Exploring Operation: 39-17=22, Resulting Numbers: [6, 22]
Generated Node #0,4,1: 31:[6, 22] Operation: 39-17=22
Exploring Operation: 6+39=45, Resulting Numbers: [17, 45]
Generated Node #0,4,2: 31:[17, 45] Operation: 6+39=45
Exploring Operation: 17-6=11, Resulting Numbers: [39, 11]
Generated Node #0,4,3: 31:[39, 11] Operation: 17-6=11
Exploring Operation: 6+17=23, Resulting Numbers: [39, 23]
Generated Node #0,4,4: 31:[39, 23] Operation: 6+17=23
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 31:[17, 33], Operations: ['61-22=39', '39-6=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,31 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 31:[39, 23], Operations: ['61-22=39', '6+17=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 31:[17, 45], Operations: ['61-22=39', '6+39=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,31 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 31:[39, 11], Operations: ['61-22=39', '17-6=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 31:[6, 22], Operations: ['61-22=39', '39-17=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,31 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
40,
18,
56,
52
] | 34 | [
"56+52=108",
"108/18=6",
"40-6=34"
] | Current State: 34:[40, 18, 56, 52], Operations: []
Exploring Operation: 56+52=108, Resulting Numbers: [40, 18, 108]
Generated Node #2: [40, 18, 108] from Operation: 56+52=108
Current State: 34:[40, 18, 108], Operations: ['56+52=108']
Exploring Operation: 108/18=6, Resulting Numbers: [40, 6]
Generated Node #3: [40, 6] from Operation: 108/18=6
Current State: 34:[40, 6], Operations: ['56+52=108', '108/18=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[40, 18, 56, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [18, 56, 12]
Generated Node #0,0: 34:[18, 56, 12] Operation: 52-40=12
Exploring Operation: 56-40=16, Resulting Numbers: [18, 52, 16]
Generated Node #0,1: 34:[18, 52, 16] Operation: 56-40=16
Exploring Operation: 56-52=4, Resulting Numbers: [40, 18, 4]
Generated Node #0,2: 34:[40, 18, 4] Operation: 56-52=4
Exploring Operation: 52-18=34, Resulting Numbers: [40, 56, 34]
Generated Node #0,3: 34:[40, 56, 34] Operation: 52-18=34
Exploring Operation: 56-18=38, Resulting Numbers: [40, 52, 38]
Generated Node #0,4: 34:[40, 52, 38] Operation: 56-18=38
Moving to Node #0,2
Current State: 34:[40, 18, 4], Operations: ['56-52=4']
Exploring Operation: 40/4=10, Resulting Numbers: [18, 10]
Generated Node #0,2,0: 34:[18, 10] Operation: 40/4=10
Exploring Operation: 40+4=44, Resulting Numbers: [18, 44]
Generated Node #0,2,1: 34:[18, 44] Operation: 40+4=44
Exploring Operation: 40-18=22, Resulting Numbers: [4, 22]
Generated Node #0,2,2: 34:[4, 22] Operation: 40-18=22
Exploring Operation: 40-4=36, Resulting Numbers: [18, 36]
Generated Node #0,2,3: 34:[18, 36] Operation: 40-4=36
Exploring Operation: 18-4=14, Resulting Numbers: [40, 14]
Generated Node #0,2,4: 34:[40, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[18, 36], Operations: ['56-52=4', '40-4=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,34 unequal: No Solution
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[4, 22], Operations: ['56-52=4', '40-18=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[18, 10], Operations: ['56-52=4', '40/4=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,34 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[40, 14], Operations: ['56-52=4', '18-4=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,34 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[18, 44], Operations: ['56-52=4', '40+4=44']
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,34 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: 34:[18, 52, 16], Operations: ['56-40=16']
Exploring Operation: 52-18=34, Resulting Numbers: [16, 34]
Generated Node #0,1,0: 34:[16, 34] Operation: 52-18=34
Exploring Operation: 18-16=2, Resulting Numbers: [52, 2]
Generated Node #0,1,1: 34:[52, 2] Operation: 18-16=2
Exploring Operation: 52-16=36, Resulting Numbers: [18, 36]
Generated Node #0,1,2: 34:[18, 36] Operation: 52-16=36
Exploring Operation: 18+16=34, Resulting Numbers: [52, 34]
Generated Node #0,1,3: 34:[52, 34] Operation: 18+16=34
Exploring Operation: 52+16=68, Resulting Numbers: [18, 68]
Generated Node #0,1,4: 34:[18, 68] Operation: 52+16=68
Moving to Node #0,0
Current State: 34:[18, 56, 12], Operations: ['52-40=12']
Exploring Operation: 56+12=68, Resulting Numbers: [18, 68]
Generated Node #0,0,0: 34:[18, 68] Operation: 56+12=68
Exploring Operation: 18-12=6, Resulting Numbers: [56, 6]
Generated Node #0,0,1: 34:[56, 6] Operation: 18-12=6
Exploring Operation: 56-12=44, Resulting Numbers: [18, 44]
Generated Node #0,0,2: 34:[18, 44] Operation: 56-12=44
Exploring Operation: 18+12=30, Resulting Numbers: [56, 30]
Generated Node #0,0,3: 34:[56, 30] Operation: 18+12=30
Exploring Operation: 56-18=38, Resulting Numbers: [12, 38]
Generated Node #0,0,4: 34:[12, 38] Operation: 56-18=38
Moving to Node #0,3
Current State: 34:[40, 56, 34], Operations: ['52-18=34']
Exploring Operation: 40+34=74, Resulting Numbers: [56, 74]
Generated Node #0,3,0: 34:[56, 74] Operation: 40+34=74
Exploring Operation: 40+56=96, Resulting Numbers: [34, 96]
Generated Node #0,3,1: 34:[34, 96] Operation: 40+56=96
Exploring Operation: 56-34=22, Resulting Numbers: [40, 22]
Generated Node #0,3,2: 34:[40, 22] Operation: 56-34=22
Exploring Operation: 56-40=16, Resulting Numbers: [34, 16]
Generated Node #0,3,3: 34:[34, 16] Operation: 56-40=16
Exploring Operation: 40-34=6, Resulting Numbers: [56, 6]
Generated Node #0,3,4: 34:[56, 6] Operation: 40-34=6
Moving to Node #0,4
Current State: 34:[40, 52, 38], Operations: ['56-18=38']
Exploring Operation: 52-38=14, Resulting Numbers: [40, 14]
Generated Node #0,4,0: 34:[40, 14] Operation: 52-38=14
Exploring Operation: 40+38=78, Resulting Numbers: [52, 78]
Generated Node #0,4,1: 34:[52, 78] Operation: 40+38=78
Exploring Operation: 52-40=12, Resulting Numbers: [38, 12]
Generated Node #0,4,2: 34:[38, 12] Operation: 52-40=12
Exploring Operation: 40-38=2, Resulting Numbers: [52, 2]
Generated Node #0,4,3: 34:[52, 2] Operation: 40-38=2
Exploring Operation: 40+52=92, Resulting Numbers: [38, 92]
Generated Node #0,4,4: 34:[38, 92] Operation: 40+52=92
Moving to Node #0,1,0
Current State: 34:[16, 34], Operations: ['56-40=16', '52-18=34']
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[34, 16], Operations: ['52-18=34', '56-40=16']
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,34 unequal: No Solution
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[18, 36], Operations: ['56-40=16', '52-16=36']
Exploring Operation: 18+36=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 18*36=648, Resulting Numbers: [648]
648,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[12, 38], Operations: ['52-40=12', '56-18=38']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,34 unequal: No Solution
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[40, 14], Operations: ['56-18=38', '52-38=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,34 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[38, 12], Operations: ['56-18=38', '52-40=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,34 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[18, 44], Operations: ['52-40=12', '56-12=44']
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,34 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[40, 22], Operations: ['52-18=34', '56-34=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,34 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[52, 2], Operations: ['56-40=16', '18-16=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[52, 2], Operations: ['56-18=38', '40-38=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[52, 34], Operations: ['56-40=16', '18+16=34']
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 52*34=1768, Resulting Numbers: [1768]
1768,34 unequal: No Solution
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[56, 30], Operations: ['52-40=12', '18+12=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,34 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Moving to Node #0,3,4
Current State: 34:[56, 6], Operations: ['52-18=34', '40-34=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[56, 6], Operations: ['52-40=12', '18-12=6']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,34 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[18, 68], Operations: ['52-40=12', '56+12=68']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,34 unequal: No Solution
Moving to Node #0,1,4
Current State: 34:[18, 68], Operations: ['56-40=16', '52+16=68']
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,34 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[38, 92], Operations: ['56-18=38', '40+52=92']
Exploring Operation: 38+92=130, Resulting Numbers: [130]
130,34 unequal: No Solution
Exploring Operation: 38*92=3496, Resulting Numbers: [3496]
3496,34 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[56, 74], Operations: ['52-18=34', '40+34=74']
Exploring Operation: 56+74=130, Resulting Numbers: [130]
130,34 unequal: No Solution
Exploring Operation: 56*74=4144, Resulting Numbers: [4144]
4144,34 unequal: No Solution
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[34, 96], Operations: ['52-18=34', '40+56=96']
Exploring Operation: 34*96=3264, Resulting Numbers: [3264]
3264,34 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 34+96=130, Resulting Numbers: [130]
130,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[52, 78], Operations: ['56-18=38', '40+38=78']
Exploring Operation: 52+78=130, Resulting Numbers: [130]
130,34 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 52*78=4056, Resulting Numbers: [4056]
4056,34 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
85,
89,
81,
22
] | 55 | [
"89-85=4",
"81-22=59",
"59-4=55"
] | Current State: 55:[85, 89, 81, 22], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [81, 22, 4]
Generated Node #2: [81, 22, 4] from Operation: 89-85=4
Current State: 55:[81, 22, 4], Operations: ['89-85=4']
Exploring Operation: 81-22=59, Resulting Numbers: [4, 59]
Generated Node #3: [4, 59] from Operation: 81-22=59
Current State: 55:[4, 59], Operations: ['89-85=4', '81-22=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[85, 89, 81, 22], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [81, 22, 4]
Generated Node #0,0: 55:[81, 22, 4] Operation: 89-85=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[81, 22, 4], Operations: ['89-85=4']
Exploring Operation: 81-22=59, Resulting Numbers: [4, 59]
Generated Node #0,0,0: 55:[4, 59] Operation: 81-22=59
Moving to Node #0,0,0
Current State: 55:[4, 59], Operations: ['89-85=4', '81-22=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[85, 89, 81, 22], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [81, 22, 4]
Generated Node #0,0: 55:[81, 22, 4] Operation: 89-85=4
Moving to Node #0,0
Current State: 55:[81, 22, 4], Operations: ['89-85=4']
Exploring Operation: 81-22=59, Resulting Numbers: [4, 59]
Generated Node #0,0,0: 55:[4, 59] Operation: 81-22=59
Moving to Node #0,0,0
Current State: 55:[4, 59], Operations: ['89-85=4', '81-22=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
30,
51,
10,
72
] | 61 | [
"51-30=21",
"10+72=82",
"82-21=61"
] | Current State: 61:[30, 51, 10, 72], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [10, 72, 21]
Generated Node #2: [10, 72, 21] from Operation: 51-30=21
Current State: 61:[10, 72, 21], Operations: ['51-30=21']
Exploring Operation: 10+72=82, Resulting Numbers: [21, 82]
Generated Node #3: [21, 82] from Operation: 10+72=82
Current State: 61:[21, 82], Operations: ['51-30=21', '10+72=82']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[30, 51, 10, 72], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [30, 51, 62]
Generated Node #0,0: 61:[30, 51, 62] Operation: 72-10=62
Exploring Operation: 51+10=61, Resulting Numbers: [30, 72, 61]
Generated Node #0,1: 61:[30, 72, 61] Operation: 51+10=61
Exploring Operation: 51-10=41, Resulting Numbers: [30, 72, 41]
Generated Node #0,2: 61:[30, 72, 41] Operation: 51-10=41
Exploring Operation: 30-10=20, Resulting Numbers: [51, 72, 20]
Generated Node #0,3: 61:[51, 72, 20] Operation: 30-10=20
Exploring Operation: 30+10=40, Resulting Numbers: [51, 72, 40]
Generated Node #0,4: 61:[51, 72, 40] Operation: 30+10=40
Moving to Node #0,0
Current State: 61:[30, 51, 62], Operations: ['72-10=62']
Exploring Operation: 30+51=81, Resulting Numbers: [62, 81]
Generated Node #0,0,0: 61:[62, 81] Operation: 30+51=81
Exploring Operation: 62-51=11, Resulting Numbers: [30, 11]
Generated Node #0,0,1: 61:[30, 11] Operation: 62-51=11
Exploring Operation: 30+62=92, Resulting Numbers: [51, 92]
Generated Node #0,0,2: 61:[51, 92] Operation: 30+62=92
Exploring Operation: 62-30=32, Resulting Numbers: [51, 32]
Generated Node #0,0,3: 61:[51, 32] Operation: 62-30=32
Exploring Operation: 51-30=21, Resulting Numbers: [62, 21]
Generated Node #0,0,4: 61:[62, 21] Operation: 51-30=21
Moving to Node #0,4
Current State: 61:[51, 72, 40], Operations: ['30+10=40']
Exploring Operation: 51+40=91, Resulting Numbers: [72, 91]
Generated Node #0,4,0: 61:[72, 91] Operation: 51+40=91
Exploring Operation: 72-51=21, Resulting Numbers: [40, 21]
Generated Node #0,4,1: 61:[40, 21] Operation: 72-51=21
Exploring Operation: 51-40=11, Resulting Numbers: [72, 11]
Generated Node #0,4,2: 61:[72, 11] Operation: 51-40=11
Exploring Operation: 72+40=112, Resulting Numbers: [51, 112]
Generated Node #0,4,3: 61:[51, 112] Operation: 72+40=112
Exploring Operation: 72-40=32, Resulting Numbers: [51, 32]
Generated Node #0,4,4: 61:[51, 32] Operation: 72-40=32
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 61:[51, 32], Operations: ['30+10=40', '72-40=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,61 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,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,4,0
Current State: 61:[72, 91], Operations: ['30+10=40', '51+40=91']
Exploring Operation: 72*91=6552, Resulting Numbers: [6552]
6552,61 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 72+91=163, Resulting Numbers: [163]
163,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,4,1
Current State: 61:[40, 21], Operations: ['30+10=40', '72-51=21']
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,61 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[30, 51, 10, 72], Operations: []
Exploring Operation: 30+10=40, Resulting Numbers: [51, 72, 40]
Generated Node #0,4: 61:[51, 72, 40] Operation: 30+10=40
Moving to Node #0,4
Current State: 61:[51, 72, 40], Operations: ['30+10=40']
Exploring Operation: 72-51=21, Resulting Numbers: [40, 21]
Generated Node #0,4,1: 61:[40, 21] Operation: 72-51=21
Moving to Node #0,4,1
Current State: 61:[40, 21], Operations: ['30+10=40', '72-51=21']
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
13,
2,
9,
64
] | 47 | [
"13*2=26",
"9+64=73",
"73-26=47"
] | Current State: 47:[13, 2, 9, 64], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [9, 64, 26]
Generated Node #2: [9, 64, 26] from Operation: 13*2=26
Current State: 47:[9, 64, 26], Operations: ['13*2=26']
Exploring Operation: 9+64=73, Resulting Numbers: [26, 73]
Generated Node #3: [26, 73] from Operation: 9+64=73
Current State: 47:[26, 73], Operations: ['13*2=26', '9+64=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[13, 2, 9, 64], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [9, 64, 26]
Generated Node #0,0: 47:[9, 64, 26] Operation: 13*2=26
Exploring Operation: 2*9=18, Resulting Numbers: [13, 64, 18]
Generated Node #0,1: 47:[13, 64, 18] Operation: 2*9=18
Exploring Operation: 13+9=22, Resulting Numbers: [2, 64, 22]
Generated Node #0,2: 47:[2, 64, 22] Operation: 13+9=22
Exploring Operation: 13+2=15, Resulting Numbers: [9, 64, 15]
Generated Node #0,3: 47:[9, 64, 15] Operation: 13+2=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[9, 64, 26], Operations: ['13*2=26']
Exploring Operation: 9+26=35, Resulting Numbers: [64, 35]
Generated Node #0,0,0: 47:[64, 35] Operation: 9+26=35
Exploring Operation: 64-9=55, Resulting Numbers: [26, 55]
Generated Node #0,0,1: 47:[26, 55] Operation: 64-9=55
Exploring Operation: 9+64=73, Resulting Numbers: [26, 73]
Generated Node #0,0,2: 47:[26, 73] Operation: 9+64=73
Exploring Operation: 26-9=17, Resulting Numbers: [64, 17]
Generated Node #0,0,3: 47:[64, 17] Operation: 26-9=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[64, 35], Operations: ['13*2=26', '9+26=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,47 unequal: No Solution
Exploring Operation: 64*35=2240, Resulting Numbers: [2240]
2240,47 unequal: No Solution
No 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: 47:[26, 55], Operations: ['13*2=26', '64-9=55']
Exploring Operation: 26*55=1430, Resulting Numbers: [1430]
1430,47 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 26+55=81, Resulting Numbers: [81]
81,47 unequal: No Solution
No 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: 47:[26, 73], Operations: ['13*2=26', '9+64=73']
Exploring Operation: 26*73=1898, Resulting Numbers: [1898]
1898,47 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[13, 2, 9, 64], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [9, 64, 26]
Generated Node #0,0: 47:[9, 64, 26] Operation: 13*2=26
Moving to Node #0,0
Current State: 47:[9, 64, 26], Operations: ['13*2=26']
Exploring Operation: 9+64=73, Resulting Numbers: [26, 73]
Generated Node #0,0,2: 47:[26, 73] Operation: 9+64=73
Moving to Node #0,0,2
Current State: 47:[26, 73], Operations: ['13*2=26', '9+64=73']
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
87,
48,
24,
2
] | 83 | [
"87-2=85",
"48/24=2",
"85-2=83"
] | Current State: 83:[87, 48, 24, 2], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [48, 24, 85]
Generated Node #2: [48, 24, 85] from Operation: 87-2=85
Current State: 83:[48, 24, 85], Operations: ['87-2=85']
Exploring Operation: 48/24=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 48/24=2
Current State: 83:[85, 2], Operations: ['87-2=85', '48/24=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[87, 48, 24, 2], Operations: []
Exploring Operation: 48+24=72, Resulting Numbers: [87, 2, 72]
Generated Node #0,0: 83:[87, 2, 72] Operation: 48+24=72
Exploring Operation: 24*2=48, Resulting Numbers: [87, 48, 48]
Generated Node #0,1: 83:[87, 48, 48] Operation: 24*2=48
Exploring Operation: 48*2=96, Resulting Numbers: [87, 24, 96]
Generated Node #0,2: 83:[87, 24, 96] Operation: 48*2=96
Exploring Operation: 87-2=85, Resulting Numbers: [48, 24, 85]
Generated Node #0,3: 83:[48, 24, 85] Operation: 87-2=85
Exploring Operation: 48+2=50, Resulting Numbers: [87, 24, 50]
Generated Node #0,4: 83:[87, 24, 50] Operation: 48+2=50
Moving to Node #0,1
Current State: 83:[87, 48, 48], Operations: ['24*2=48']
Exploring Operation: 87-48=39, Resulting Numbers: [48, 39]
Generated Node #0,1,0: 83:[48, 39] Operation: 87-48=39
Exploring Operation: 48/48=1, Resulting Numbers: [87, 1]
Generated Node #0,1,1: 83:[87, 1] Operation: 48/48=1
Exploring Operation: 87+48=135, Resulting Numbers: [48, 135]
Generated Node #0,1,2: 83:[48, 135] Operation: 87+48=135
Exploring Operation: 87-48=39, Resulting Numbers: [48, 39]
Generated Node #0,1,3: 83:[48, 39] Operation: 87-48=39
Exploring Operation: 48+48=96, Resulting Numbers: [87, 96]
Generated Node #0,1,4: 83:[87, 96] Operation: 48+48=96
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[87, 96], Operations: ['24*2=48', '48+48=96']
Exploring Operation: 96-87=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 87+96=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 87*96=8352, Resulting Numbers: [8352]
8352,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:[48, 39], Operations: ['24*2=48', '87-48=39']
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,83 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,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:[48, 39], Operations: ['24*2=48', '87-48=39']
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,83 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,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,1
Current State: 83:[87, 1], Operations: ['24*2=48', '48/48=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,83 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,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:[48, 135], Operations: ['24*2=48', '87+48=135']
Exploring Operation: 48*135=6480, Resulting Numbers: [6480]
6480,83 unequal: No Solution
Exploring Operation: 48+135=183, Resulting Numbers: [183]
183,83 unequal: No Solution
Exploring Operation: 135-48=87, Resulting Numbers: [87]
87,83 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: 83:[87, 24, 96], Operations: ['48*2=96']
Exploring Operation: 96/24=4, Resulting Numbers: [87, 4]
Generated Node #0,2,0: 83:[87, 4] Operation: 96/24=4
Exploring Operation: 24+96=120, Resulting Numbers: [87, 120]
Generated Node #0,2,1: 83:[87, 120] Operation: 24+96=120
Exploring Operation: 96-24=72, Resulting Numbers: [87, 72]
Generated Node #0,2,2: 83:[87, 72] Operation: 96-24=72
Exploring Operation: 87+24=111, Resulting Numbers: [96, 111]
Generated Node #0,2,3: 83:[96, 111] Operation: 87+24=111
Exploring Operation: 87-24=63, Resulting Numbers: [96, 63]
Generated Node #0,2,4: 83:[96, 63] Operation: 87-24=63
Moving to Node #0,0
Current State: 83:[87, 2, 72], Operations: ['48+24=72']
Exploring Operation: 2+72=74, Resulting Numbers: [87, 74]
Generated Node #0,0,0: 83:[87, 74] Operation: 2+72=74
Exploring Operation: 87+2=89, Resulting Numbers: [72, 89]
Generated Node #0,0,1: 83:[72, 89] Operation: 87+2=89
Exploring Operation: 72/2=36, Resulting Numbers: [87, 36]
Generated Node #0,0,2: 83:[87, 36] Operation: 72/2=36
Exploring Operation: 87-2=85, Resulting Numbers: [72, 85]
Generated Node #0,0,3: 83:[72, 85] Operation: 87-2=85
Exploring Operation: 72-2=70, Resulting Numbers: [87, 70]
Generated Node #0,0,4: 83:[87, 70] Operation: 72-2=70
Moving to Node #0,3
Current State: 83:[48, 24, 85], Operations: ['87-2=85']
Exploring Operation: 48/24=2, Resulting Numbers: [85, 2]
Generated Node #0,3,0: 83:[85, 2] Operation: 48/24=2
Exploring Operation: 85-24=61, Resulting Numbers: [48, 61]
Generated Node #0,3,1: 83:[48, 61] Operation: 85-24=61
Exploring Operation: 48-24=24, Resulting Numbers: [85, 24]
Generated Node #0,3,2: 83:[85, 24] Operation: 48-24=24
Exploring Operation: 48+24=72, Resulting Numbers: [85, 72]
Generated Node #0,3,3: 83:[85, 72] Operation: 48+24=72
Exploring Operation: 24+85=109, Resulting Numbers: [48, 109]
Generated Node #0,3,4: 83:[48, 109] Operation: 24+85=109
Moving to Node #0,4
Current State: 83:[87, 24, 50], Operations: ['48+2=50']
Exploring Operation: 50-24=26, Resulting Numbers: [87, 26]
Generated Node #0,4,0: 83:[87, 26] Operation: 50-24=26
Exploring Operation: 87+24=111, Resulting Numbers: [50, 111]
Generated Node #0,4,1: 83:[50, 111] Operation: 87+24=111
Exploring Operation: 87-24=63, Resulting Numbers: [50, 63]
Generated Node #0,4,2: 83:[50, 63] Operation: 87-24=63
Exploring Operation: 24+50=74, Resulting Numbers: [87, 74]
Generated Node #0,4,3: 83:[87, 74] Operation: 24+50=74
Exploring Operation: 87-50=37, Resulting Numbers: [24, 37]
Generated Node #0,4,4: 83:[24, 37] Operation: 87-50=37
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[87, 74], Operations: ['48+2=50', '24+50=74']
Exploring Operation: 87+74=161, Resulting Numbers: [161]
161,83 unequal: No Solution
Exploring Operation: 87*74=6438, Resulting Numbers: [6438]
6438,83 unequal: No Solution
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,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,4,2
Current State: 83:[50, 63], Operations: ['48+2=50', '87-24=63']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,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,4,0
Current State: 83:[87, 26], Operations: ['48+2=50', '50-24=26']
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 87*26=2262, Resulting Numbers: [2262]
2262,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,4,1
Current State: 83:[50, 111], Operations: ['48+2=50', '87+24=111']
Exploring Operation: 50+111=161, Resulting Numbers: [161]
161,83 unequal: No Solution
Exploring Operation: 111-50=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 50*111=5550, Resulting Numbers: [5550]
5550,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,4,4
Current State: 83:[24, 37], Operations: ['48+2=50', '87-50=37']
Exploring Operation: 24+37=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 24*37=888, Resulting Numbers: [888]
888,83 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: 83:[87, 74], Operations: ['48+24=72', '2+72=74']
Exploring Operation: 87+74=161, Resulting Numbers: [161]
161,83 unequal: No Solution
Exploring Operation: 87*74=6438, Resulting Numbers: [6438]
6438,83 unequal: No Solution
Exploring Operation: 87-74=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[72, 85], Operations: ['48+24=72', '87-2=85']
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,83 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[85, 72], Operations: ['87-2=85', '48+24=72']
Exploring Operation: 85*72=6120, Resulting Numbers: [6120]
6120,83 unequal: No Solution
Exploring Operation: 85+72=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[87, 72], Operations: ['48*2=96', '96-24=72']
Exploring Operation: 87+72=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 87*72=6264, Resulting Numbers: [6264]
6264,83 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[72, 89], Operations: ['48+24=72', '87+2=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,83 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[87, 70], Operations: ['48+24=72', '72-2=70']
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,83 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[96, 63], Operations: ['48*2=96', '87-24=63']
Exploring Operation: 96+63=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 96*63=6048, Resulting Numbers: [6048]
6048,83 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[87, 120], Operations: ['48*2=96', '24+96=120']
Exploring Operation: 120-87=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 87+120=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 87*120=10440, Resulting Numbers: [10440]
10440,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[96, 111], Operations: ['48*2=96', '87+24=111']
Exploring Operation: 111-96=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 96*111=10656, Resulting Numbers: [10656]
10656,83 unequal: No Solution
Exploring Operation: 96+111=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[87, 36], Operations: ['48+24=72', '72/2=36']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,83 unequal: No Solution
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,83 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[48, 61], Operations: ['87-2=85', '85-24=61']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 48*61=2928, Resulting Numbers: [2928]
2928,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[85, 24], Operations: ['87-2=85', '48-24=24']
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,83 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[48, 109], Operations: ['87-2=85', '24+85=109']
Exploring Operation: 48+109=157, Resulting Numbers: [157]
157,83 unequal: No Solution
Exploring Operation: 48*109=5232, Resulting Numbers: [5232]
5232,83 unequal: No Solution
Exploring Operation: 109-48=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[85, 2], Operations: ['87-2=85', '48/24=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[87, 48, 24, 2], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [48, 24, 85]
Generated Node #0,3: 83:[48, 24, 85] Operation: 87-2=85
Moving to Node #0,3
Current State: 83:[48, 24, 85], Operations: ['87-2=85']
Exploring Operation: 48/24=2, Resulting Numbers: [85, 2]
Generated Node #0,3,0: 83:[85, 2] Operation: 48/24=2
Moving to Node #0,3,0
Current State: 83:[85, 2], Operations: ['87-2=85', '48/24=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.908854 | hs_5 | sum_heuristic |
[
53,
27,
16,
34
] | 76 | [
"53-27=26",
"16+34=50",
"26+50=76"
] | Current State: 76:[53, 27, 16, 34], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [16, 34, 26]
Generated Node #2: [16, 34, 26] from Operation: 53-27=26
Current State: 76:[16, 34, 26], Operations: ['53-27=26']
Exploring Operation: 16+34=50, Resulting Numbers: [26, 50]
Generated Node #3: [26, 50] from Operation: 16+34=50
Current State: 76:[26, 50], Operations: ['53-27=26', '16+34=50']
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[53, 27, 16, 34], Operations: []
Exploring Operation: 53-16=37, Resulting Numbers: [27, 34, 37]
Generated Node #0,0: 76:[27, 34, 37] Operation: 53-16=37
Exploring Operation: 53-34=19, Resulting Numbers: [27, 16, 19]
Generated Node #0,1: 76:[27, 16, 19] Operation: 53-34=19
Exploring Operation: 53+27=80, Resulting Numbers: [16, 34, 80]
Generated Node #0,2: 76:[16, 34, 80] Operation: 53+27=80
Exploring Operation: 53-27=26, Resulting Numbers: [16, 34, 26]
Generated Node #0,3: 76:[16, 34, 26] Operation: 53-27=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[27, 16, 19], Operations: ['53-34=19']
Exploring Operation: 27-19=8, Resulting Numbers: [16, 8]
Generated Node #0,1,0: 76:[16, 8] Operation: 27-19=8
Exploring Operation: 19-16=3, Resulting Numbers: [27, 3]
Generated Node #0,1,1: 76:[27, 3] Operation: 19-16=3
Exploring Operation: 27-16=11, Resulting Numbers: [19, 11]
Generated Node #0,1,2: 76:[19, 11] Operation: 27-16=11
Exploring Operation: 27+16=43, Resulting Numbers: [19, 43]
Generated Node #0,1,3: 76:[19, 43] Operation: 27+16=43
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[19, 43], Operations: ['53-34=19', '27+16=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[16, 8], Operations: ['53-34=19', '27-19=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[19, 11], Operations: ['53-34=19', '27-16=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,76 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[27, 3], Operations: ['53-34=19', '19-16=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[16, 34, 80], Operations: ['53+27=80']
Exploring Operation: 80-34=46, Resulting Numbers: [16, 46]
Generated Node #0,2,0: 76:[16, 46] Operation: 80-34=46
Exploring Operation: 16+34=50, Resulting Numbers: [80, 50]
Generated Node #0,2,1: 76:[80, 50] Operation: 16+34=50
Exploring Operation: 80/16=5, Resulting Numbers: [34, 5]
Generated Node #0,2,2: 76:[34, 5] Operation: 80/16=5
Exploring Operation: 34-16=18, Resulting Numbers: [80, 18]
Generated Node #0,2,3: 76:[80, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[34, 5], Operations: ['53+27=80', '80/16=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[80, 18], Operations: ['53+27=80', '34-16=18']
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,76 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[16, 46], Operations: ['53+27=80', '80-34=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,76 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[80, 50], Operations: ['53+27=80', '16+34=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,76 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,76 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[27, 34, 37], Operations: ['53-16=37']
Exploring Operation: 34-27=7, Resulting Numbers: [37, 7]
Generated Node #0,0,0: 76:[37, 7] Operation: 34-27=7
Exploring Operation: 34+37=71, Resulting Numbers: [27, 71]
Generated Node #0,0,1: 76:[27, 71] Operation: 34+37=71
Exploring Operation: 37-34=3, Resulting Numbers: [27, 3]
Generated Node #0,0,2: 76:[27, 3] Operation: 37-34=3
Exploring Operation: 37-27=10, Resulting Numbers: [34, 10]
Generated Node #0,0,3: 76:[34, 10] Operation: 37-27=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[37, 7], Operations: ['53-16=37', '34-27=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,76 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[27, 3], Operations: ['53-16=37', '37-34=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 76:[34, 10], Operations: ['53-16=37', '37-27=10']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,76 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[27, 71], Operations: ['53-16=37', '34+37=71']
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,76 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[16, 34, 26], Operations: ['53-27=26']
Exploring Operation: 34-26=8, Resulting Numbers: [16, 8]
Generated Node #0,3,0: 76:[16, 8] Operation: 34-26=8
Exploring Operation: 16+26=42, Resulting Numbers: [34, 42]
Generated Node #0,3,1: 76:[34, 42] Operation: 16+26=42
Exploring Operation: 26-16=10, Resulting Numbers: [34, 10]
Generated Node #0,3,2: 76:[34, 10] Operation: 26-16=10
Exploring Operation: 34-16=18, Resulting Numbers: [26, 18]
Generated Node #0,3,3: 76:[26, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[16, 8], Operations: ['53-27=26', '34-26=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[34, 42], Operations: ['53-27=26', '16+26=42']
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[53, 27, 16, 34], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [16, 34, 26]
Generated Node #0,3: 76:[16, 34, 26] Operation: 53-27=26
Moving to Node #0,3
Current State: 76:[16, 34, 26], Operations: ['53-27=26']
Exploring Operation: 16+26=42, Resulting Numbers: [34, 42]
Generated Node #0,3,1: 76:[34, 42] Operation: 16+26=42
Moving to Node #0,3,1
Current State: 76:[34, 42], Operations: ['53-27=26', '16+26=42']
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940972 | hs_4 | mult_heuristic |
[
51,
2,
22,
48
] | 17 | [
"51+2=53",
"22+48=70",
"70-53=17"
] | Current State: 17:[51, 2, 22, 48], Operations: []
Exploring Operation: 51+2=53, Resulting Numbers: [22, 48, 53]
Generated Node #2: [22, 48, 53] from Operation: 51+2=53
Current State: 17:[22, 48, 53], Operations: ['51+2=53']
Exploring Operation: 22+48=70, Resulting Numbers: [53, 70]
Generated Node #3: [53, 70] from Operation: 22+48=70
Current State: 17:[53, 70], Operations: ['51+2=53', '22+48=70']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[51, 2, 22, 48], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [51, 22, 24]
Generated Node #0,0: 17:[51, 22, 24] Operation: 48/2=24
Exploring Operation: 51-48=3, Resulting Numbers: [2, 22, 3]
Generated Node #0,1: 17:[2, 22, 3] Operation: 51-48=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[2, 22, 3], Operations: ['51-48=3']
Exploring Operation: 22-2=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 17:[3, 20] Operation: 22-2=20
Exploring Operation: 2*3=6, Resulting Numbers: [22, 6]
Generated Node #0,1,1: 17:[22, 6] Operation: 2*3=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[22, 6], Operations: ['51-48=3', '2*3=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No 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: 17:[3, 20], Operations: ['51-48=3', '22-2=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[51, 2, 22, 48], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [2, 22, 3]
Generated Node #0,1: 17:[2, 22, 3] Operation: 51-48=3
Moving to Node #0,1
Current State: 17:[2, 22, 3], Operations: ['51-48=3']
Exploring Operation: 22-2=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 17:[3, 20] Operation: 22-2=20
Moving to Node #0,1,0
Current State: 17:[3, 20], Operations: ['51-48=3', '22-2=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
89,
5,
40,
46
] | 14 | [
"89-5=84",
"46-40=6",
"84/6=14"
] | Current State: 14:[89, 5, 40, 46], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [40, 46, 84]
Generated Node #2: [40, 46, 84] from Operation: 89-5=84
Current State: 14:[40, 46, 84], Operations: ['89-5=84']
Exploring Operation: 46-40=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 46-40=6
Current State: 14:[84, 6], Operations: ['89-5=84', '46-40=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[89, 5, 40, 46], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [5, 40, 43]
Generated Node #0,0: 14:[5, 40, 43] Operation: 89-46=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[5, 40, 43], Operations: ['89-46=43']
Exploring Operation: 43-40=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 14:[5, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 14:[5, 3], Operations: ['89-46=43', '43-40=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,14 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 |
[
46,
54,
23,
40
] | 92 | [
"46/23=2",
"54+40=94",
"94-2=92"
] | Current State: 92:[46, 54, 23, 40], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [54, 40, 2]
Generated Node #2: [54, 40, 2] from Operation: 46/23=2
Current State: 92:[54, 40, 2], Operations: ['46/23=2']
Exploring Operation: 54+40=94, Resulting Numbers: [2, 94]
Generated Node #3: [2, 94] from Operation: 54+40=94
Current State: 92:[2, 94], Operations: ['46/23=2', '54+40=94']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[46, 54, 23, 40], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [23, 40, 8]
Generated Node #0,0: 92:[23, 40, 8] Operation: 54-46=8
Exploring Operation: 46-40=6, Resulting Numbers: [54, 23, 6]
Generated Node #0,1: 92:[54, 23, 6] Operation: 46-40=6
Exploring Operation: 54+40=94, Resulting Numbers: [46, 23, 94]
Generated Node #0,2: 92:[46, 23, 94] Operation: 54+40=94
Exploring Operation: 54-40=14, Resulting Numbers: [46, 23, 14]
Generated Node #0,3: 92:[46, 23, 14] Operation: 54-40=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[46, 23, 94], Operations: ['54+40=94']
Exploring Operation: 46/23=2, Resulting Numbers: [94, 2]
Generated Node #0,2,0: 92:[94, 2] Operation: 46/23=2
Exploring Operation: 94-23=71, Resulting Numbers: [46, 71]
Generated Node #0,2,1: 92:[46, 71] Operation: 94-23=71
Exploring Operation: 94-46=48, Resulting Numbers: [23, 48]
Generated Node #0,2,2: 92:[23, 48] Operation: 94-46=48
Exploring Operation: 46-23=23, Resulting Numbers: [94, 23]
Generated Node #0,2,3: 92:[94, 23] Operation: 46-23=23
Moving to Node #0,2,0
Current State: 92:[94, 2], Operations: ['54+40=94', '46/23=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,92 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,92 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[46, 54, 23, 40], Operations: []
Exploring Operation: 54+40=94, Resulting Numbers: [46, 23, 94]
Generated Node #0,2: 92:[46, 23, 94] Operation: 54+40=94
Moving to Node #0,2
Current State: 92:[46, 23, 94], Operations: ['54+40=94']
Exploring Operation: 46/23=2, Resulting Numbers: [94, 2]
Generated Node #0,2,0: 92:[94, 2] Operation: 46/23=2
Moving to Node #0,2,0
Current State: 92:[94, 2], Operations: ['54+40=94', '46/23=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
72,
4,
3,
60
] | 10 | [
"72/4=18",
"3*60=180",
"180/18=10"
] | Current State: 10:[72, 4, 3, 60], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [3, 60, 18]
Generated Node #2: [3, 60, 18] from Operation: 72/4=18
Current State: 10:[3, 60, 18], Operations: ['72/4=18']
Exploring Operation: 3*60=180, Resulting Numbers: [18, 180]
Generated Node #3: [18, 180] from Operation: 3*60=180
Current State: 10:[18, 180], Operations: ['72/4=18', '3*60=180']
Exploring Operation: 180/18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[72, 4, 3, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [72, 3, 15]
Generated Node #0,0: 10:[72, 3, 15] Operation: 60/4=15
Exploring Operation: 72-60=12, Resulting Numbers: [4, 3, 12]
Generated Node #0,1: 10:[4, 3, 12] Operation: 72-60=12
Exploring Operation: 72/4=18, Resulting Numbers: [3, 60, 18]
Generated Node #0,2: 10:[3, 60, 18] Operation: 72/4=18
Exploring Operation: 72/3=24, Resulting Numbers: [4, 60, 24]
Generated Node #0,3: 10:[4, 60, 24] Operation: 72/3=24
Moving to Node #0,1
Current State: 10:[4, 3, 12], Operations: ['72-60=12']
Exploring Operation: 12-3=9, Resulting Numbers: [4, 9]
Generated Node #0,1,0: 10:[4, 9] Operation: 12-3=9
Exploring Operation: 4-3=1, Resulting Numbers: [12, 1]
Generated Node #0,1,1: 10:[12, 1] Operation: 4-3=1
Exploring Operation: 12/4=3, Resulting Numbers: [3, 3]
Generated Node #0,1,2: 10:[3, 3] Operation: 12/4=3
Exploring Operation: 12/3=4, Resulting Numbers: [4, 4]
Generated Node #0,1,3: 10:[4, 4] Operation: 12/3=4
Moving to Node #0,2
Current State: 10:[3, 60, 18], Operations: ['72/4=18']
Exploring Operation: 60-18=42, Resulting Numbers: [3, 42]
Generated Node #0,2,0: 10:[3, 42] Operation: 60-18=42
Exploring Operation: 18/3=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 10:[60, 6] Operation: 18/3=6
Exploring Operation: 60/3=20, Resulting Numbers: [18, 20]
Generated Node #0,2,2: 10:[18, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [18, 57]
Generated Node #0,2,3: 10:[18, 57] Operation: 60-3=57
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[18, 20], Operations: ['72/4=18', '60/3=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,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,0
Current State: 10:[3, 42], Operations: ['72/4=18', '60-18=42']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 3*42=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,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,1
Current State: 10:[60, 6], Operations: ['72/4=18', '18/3=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[72, 4, 3, 60], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [3, 60, 18]
Generated Node #0,2: 10:[3, 60, 18] Operation: 72/4=18
Moving to Node #0,2
Current State: 10:[3, 60, 18], Operations: ['72/4=18']
Exploring Operation: 18/3=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 10:[60, 6] Operation: 18/3=6
Moving to Node #0,2,1
Current State: 10:[60, 6], Operations: ['72/4=18', '18/3=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
8,
12,
17,
51
] | 38 | [
"12-8=4",
"51-17=34",
"4+34=38"
] | Current State: 38:[8, 12, 17, 51], Operations: []
Exploring Operation: 12-8=4, Resulting Numbers: [17, 51, 4]
Generated Node #2: [17, 51, 4] from Operation: 12-8=4
Current State: 38:[17, 51, 4], Operations: ['12-8=4']
Exploring Operation: 51-17=34, Resulting Numbers: [4, 34]
Generated Node #3: [4, 34] from Operation: 51-17=34
Current State: 38:[4, 34], Operations: ['12-8=4', '51-17=34']
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[8, 12, 17, 51], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [8, 12, 3]
Generated Node #0,0: 38:[8, 12, 3] Operation: 51/17=3
Exploring Operation: 51-12=39, Resulting Numbers: [8, 17, 39]
Generated Node #0,1: 38:[8, 17, 39] Operation: 51-12=39
Exploring Operation: 51-8=43, Resulting Numbers: [12, 17, 43]
Generated Node #0,2: 38:[12, 17, 43] Operation: 51-8=43
Exploring Operation: 8+12=20, Resulting Numbers: [17, 51, 20]
Generated Node #0,3: 38:[17, 51, 20] Operation: 8+12=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[8, 17, 39], Operations: ['51-12=39']
Exploring Operation: 17-8=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 38:[39, 9] Operation: 17-8=9
Exploring Operation: 39-17=22, Resulting Numbers: [8, 22]
Generated Node #0,1,1: 38:[8, 22] Operation: 39-17=22
Exploring Operation: 8+17=25, Resulting Numbers: [39, 25]
Generated Node #0,1,2: 38:[39, 25] Operation: 8+17=25
Exploring Operation: 39-8=31, Resulting Numbers: [17, 31]
Generated Node #0,1,3: 38:[17, 31] Operation: 39-8=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[39, 25], Operations: ['51-12=39', '8+17=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,38 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,38 unequal: No Solution
No 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: 38:[39, 9], Operations: ['51-12=39', '17-8=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,38 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,38 unequal: No Solution
No 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: 38:[8, 22], Operations: ['51-12=39', '39-17=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,38 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,38 unequal: No Solution
No 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: 38:[17, 31], Operations: ['51-12=39', '39-8=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,38 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,38 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: 38:[8, 12, 3], Operations: ['51/17=3']
Exploring Operation: 12/3=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 38:[8, 4] Operation: 12/3=4
Exploring Operation: 8+12=20, Resulting Numbers: [3, 20]
Generated Node #0,0,1: 38:[3, 20] Operation: 8+12=20
Exploring Operation: 12-8=4, Resulting Numbers: [3, 4]
Generated Node #0,0,2: 38:[3, 4] Operation: 12-8=4
Exploring Operation: 12*3=36, Resulting Numbers: [8, 36]
Generated Node #0,0,3: 38:[8, 36] Operation: 12*3=36
Moving to Node #0,0,1
Current State: 38:[3, 20], Operations: ['51/17=3', '8+12=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,38 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[3, 4], Operations: ['51/17=3', '12-8=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[8, 36], Operations: ['51/17=3', '12*3=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,38 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[8, 4], Operations: ['51/17=3', '12/3=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[12, 17, 43], Operations: ['51-8=43']
Exploring Operation: 43-17=26, Resulting Numbers: [12, 26]
Generated Node #0,2,0: 38:[12, 26] Operation: 43-17=26
Exploring Operation: 12+17=29, Resulting Numbers: [43, 29]
Generated Node #0,2,1: 38:[43, 29] Operation: 12+17=29
Exploring Operation: 43-12=31, Resulting Numbers: [17, 31]
Generated Node #0,2,2: 38:[17, 31] Operation: 43-12=31
Exploring Operation: 17-12=5, Resulting Numbers: [43, 5]
Generated Node #0,2,3: 38:[43, 5] Operation: 17-12=5
Moving to Node #0,2,3
Current State: 38:[43, 5], Operations: ['51-8=43', '17-12=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[8, 12, 17, 51], Operations: []
Exploring Operation: 51-8=43, Resulting Numbers: [12, 17, 43]
Generated Node #0,2: 38:[12, 17, 43] Operation: 51-8=43
Moving to Node #0,2
Current State: 38:[12, 17, 43], Operations: ['51-8=43']
Exploring Operation: 17-12=5, Resulting Numbers: [43, 5]
Generated Node #0,2,3: 38:[43, 5] Operation: 17-12=5
Moving to Node #0,2,3
Current State: 38:[43, 5], Operations: ['51-8=43', '17-12=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
50,
59,
3,
43
] | 49 | [
"59-50=9",
"43-3=40",
"9+40=49"
] | Current State: 49:[50, 59, 3, 43], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [3, 43, 9]
Generated Node #2: [3, 43, 9] from Operation: 59-50=9
Current State: 49:[3, 43, 9], Operations: ['59-50=9']
Exploring Operation: 43-3=40, Resulting Numbers: [9, 40]
Generated Node #3: [9, 40] from Operation: 43-3=40
Current State: 49:[9, 40], Operations: ['59-50=9', '43-3=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[50, 59, 3, 43], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [3, 43, 9]
Generated Node #0,0: 49:[3, 43, 9] Operation: 59-50=9
Moving to Node #0,0
Current State: 49:[3, 43, 9], Operations: ['59-50=9']
Exploring Operation: 3+43=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 49:[9, 46] Operation: 3+43=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[9, 46], Operations: ['59-50=9', '3+43=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
8,
77,
3
] | 20 | [
"68-8=60",
"77+3=80",
"80-60=20"
] | Current State: 20:[68, 8, 77, 3], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [77, 3, 60]
Generated Node #2: [77, 3, 60] from Operation: 68-8=60
Current State: 20:[77, 3, 60], Operations: ['68-8=60']
Exploring Operation: 77+3=80, Resulting Numbers: [60, 80]
Generated Node #3: [60, 80] from Operation: 77+3=80
Current State: 20:[60, 80], Operations: ['68-8=60', '77+3=80']
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[68, 8, 77, 3], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [8, 3, 9]
Generated Node #0,0: 20:[8, 3, 9] Operation: 77-68=9
Exploring Operation: 68-3=65, Resulting Numbers: [8, 77, 65]
Generated Node #0,1: 20:[8, 77, 65] Operation: 68-3=65
Exploring Operation: 77-8=69, Resulting Numbers: [68, 3, 69]
Generated Node #0,2: 20:[68, 3, 69] Operation: 77-8=69
Exploring Operation: 68-8=60, Resulting Numbers: [77, 3, 60]
Generated Node #0,3: 20:[77, 3, 60] Operation: 68-8=60
Moving to Node #0,0
Current State: 20:[8, 3, 9], Operations: ['77-68=9']
Exploring Operation: 8+3=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 20:[9, 11] Operation: 8+3=11
Exploring Operation: 9-8=1, Resulting Numbers: [3, 1]
Generated Node #0,0,1: 20:[3, 1] Operation: 9-8=1
Exploring Operation: 8-3=5, Resulting Numbers: [9, 5]
Generated Node #0,0,2: 20:[9, 5] Operation: 8-3=5
Exploring Operation: 9-3=6, Resulting Numbers: [8, 6]
Generated Node #0,0,3: 20:[8, 6] Operation: 9-3=6
Moving to Node #0,3
Current State: 20:[77, 3, 60], Operations: ['68-8=60']
Exploring Operation: 77-60=17, Resulting Numbers: [3, 17]
Generated Node #0,3,0: 20:[3, 17] Operation: 77-60=17
Exploring Operation: 60/3=20, Resulting Numbers: [77, 20]
Generated Node #0,3,1: 20:[77, 20] Operation: 60/3=20
Exploring Operation: 77-3=74, Resulting Numbers: [60, 74]
Generated Node #0,3,2: 20:[60, 74] Operation: 77-3=74
Exploring Operation: 60-3=57, Resulting Numbers: [77, 57]
Generated Node #0,3,3: 20:[77, 57] Operation: 60-3=57
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[3, 17], Operations: ['68-8=60', '77-60=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[68, 8, 77, 3], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [77, 3, 60]
Generated Node #0,3: 20:[77, 3, 60] Operation: 68-8=60
Moving to Node #0,3
Current State: 20:[77, 3, 60], Operations: ['68-8=60']
Exploring Operation: 77-60=17, Resulting Numbers: [3, 17]
Generated Node #0,3,0: 20:[3, 17] Operation: 77-60=17
Moving to Node #0,3,0
Current State: 20:[3, 17], Operations: ['68-8=60', '77-60=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
25,
37,
17,
29
] | 64 | [
"25-17=8",
"37-29=8",
"8*8=64"
] | Current State: 64:[25, 37, 17, 29], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [37, 29, 8]
Generated Node #2: [37, 29, 8] from Operation: 25-17=8
Current State: 64:[37, 29, 8], Operations: ['25-17=8']
Exploring Operation: 37-29=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 37-29=8
Current State: 64:[8, 8], Operations: ['25-17=8', '37-29=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[25, 37, 17, 29], Operations: []
Exploring Operation: 25+37=62, Resulting Numbers: [17, 29, 62]
Generated Node #0,0: 64:[17, 29, 62] Operation: 25+37=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[17, 29, 62], Operations: ['25+37=62']
Exploring Operation: 62-29=33, Resulting Numbers: [17, 33]
Generated Node #0,0,0: 64:[17, 33] Operation: 62-29=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[17, 33], Operations: ['25+37=62', '62-29=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
79,
59,
81,
9
] | 52 | [
"79-59=20",
"81-9=72",
"72-20=52"
] | Current State: 52:[79, 59, 81, 9], Operations: []
Exploring Operation: 79-59=20, Resulting Numbers: [81, 9, 20]
Generated Node #2: [81, 9, 20] from Operation: 79-59=20
Current State: 52:[81, 9, 20], Operations: ['79-59=20']
Exploring Operation: 81-9=72, Resulting Numbers: [20, 72]
Generated Node #3: [20, 72] from Operation: 81-9=72
Current State: 52:[20, 72], Operations: ['79-59=20', '81-9=72']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[79, 59, 81, 9], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [79, 9, 22]
Generated Node #0,0: 52:[79, 9, 22] Operation: 81-59=22
Exploring Operation: 81-79=2, Resulting Numbers: [59, 9, 2]
Generated Node #0,1: 52:[59, 9, 2] Operation: 81-79=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[59, 9, 2], Operations: ['81-79=2']
Exploring Operation: 59-9=50, Resulting Numbers: [2, 50]
Generated Node #0,1,0: 52:[2, 50] Operation: 59-9=50
Exploring Operation: 59-2=57, Resulting Numbers: [9, 57]
Generated Node #0,1,1: 52:[9, 57] Operation: 59-2=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[2, 50], Operations: ['81-79=2', '59-9=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[79, 59, 81, 9], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [59, 9, 2]
Generated Node #0,1: 52:[59, 9, 2] Operation: 81-79=2
Moving to Node #0,1
Current State: 52:[59, 9, 2], Operations: ['81-79=2']
Exploring Operation: 59-9=50, Resulting Numbers: [2, 50]
Generated Node #0,1,0: 52:[2, 50] Operation: 59-9=50
Moving to Node #0,1,0
Current State: 52:[2, 50], Operations: ['81-79=2', '59-9=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
28,
74,
56,
83
] | 84 | [
"28+83=111",
"56*111=6216",
"6216/74=84"
] | Current State: 84:[28, 74, 56, 83], Operations: []
Exploring Operation: 28+83=111, Resulting Numbers: [74, 56, 111]
Generated Node #2: [74, 56, 111] from Operation: 28+83=111
Current State: 84:[74, 56, 111], Operations: ['28+83=111']
Exploring Operation: 56*111=6216, Resulting Numbers: [74, 6216]
Generated Node #3: [74, 6216] from Operation: 56*111=6216
Current State: 84:[74, 6216], Operations: ['28+83=111', '56*111=6216']
Exploring Operation: 6216/74=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[28, 74, 56, 83], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [28, 83, 18]
Generated Node #0,0: 84:[28, 83, 18] Operation: 74-56=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[28, 83, 18], Operations: ['74-56=18']
Exploring Operation: 28-18=10, Resulting Numbers: [83, 10]
Generated Node #0,0,0: 84:[83, 10] Operation: 28-18=10
Moving to Node #0,0,0
Current State: 84:[83, 10], Operations: ['74-56=18', '28-18=10']
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,84 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 |
[
43,
79,
40,
62
] | 100 | [
"43+79=122",
"62-40=22",
"122-22=100"
] | Current State: 100:[43, 79, 40, 62], Operations: []
Exploring Operation: 43+79=122, Resulting Numbers: [40, 62, 122]
Generated Node #2: [40, 62, 122] from Operation: 43+79=122
Current State: 100:[40, 62, 122], Operations: ['43+79=122']
Exploring Operation: 62-40=22, Resulting Numbers: [122, 22]
Generated Node #3: [122, 22] from Operation: 62-40=22
Current State: 100:[122, 22], Operations: ['43+79=122', '62-40=22']
Exploring Operation: 122-22=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[43, 79, 40, 62], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [43, 62, 39]
Generated Node #0,0: 100:[43, 62, 39] Operation: 79-40=39
Exploring Operation: 79-62=17, Resulting Numbers: [43, 40, 17]
Generated Node #0,1: 100:[43, 40, 17] Operation: 79-62=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[43, 40, 17], Operations: ['79-62=17']
Exploring Operation: 40-17=23, Resulting Numbers: [43, 23]
Generated Node #0,1,0: 100:[43, 23] Operation: 40-17=23
Exploring Operation: 43-40=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 100:[17, 3] Operation: 43-40=3
Moving to Node #0,1,1
Current State: 100:[17, 3], Operations: ['79-62=17', '43-40=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[43, 23], Operations: ['79-62=17', '40-17=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[43, 62, 39], Operations: ['79-40=39']
Exploring Operation: 62-39=23, Resulting Numbers: [43, 23]
Generated Node #0,0,0: 100:[43, 23] Operation: 62-39=23
Exploring Operation: 62+39=101, Resulting Numbers: [43, 101]
Generated Node #0,0,1: 100:[43, 101] Operation: 62+39=101
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[43, 101], Operations: ['79-40=39', '62+39=101']
Exploring Operation: 43+101=144, Resulting Numbers: [144]
144,100 unequal: No Solution
Exploring Operation: 101-43=58, Resulting Numbers: [58]
58,100 unequal: No Solution
No 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: 100:[43, 23], Operations: ['79-40=39', '62-39=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
87,
76,
58,
8
] | 30 | [
"87-76=11",
"8*11=88",
"88-58=30"
] | Current State: 30:[87, 76, 58, 8], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [58, 8, 11]
Generated Node #2: [58, 8, 11] from Operation: 87-76=11
Current State: 30:[58, 8, 11], Operations: ['87-76=11']
Exploring Operation: 8*11=88, Resulting Numbers: [58, 88]
Generated Node #3: [58, 88] from Operation: 8*11=88
Current State: 30:[58, 88], Operations: ['87-76=11', '8*11=88']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[87, 76, 58, 8], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [76, 8, 29]
Generated Node #0,0: 30:[76, 8, 29] Operation: 87-58=29
Exploring Operation: 76-8=68, Resulting Numbers: [87, 58, 68]
Generated Node #0,1: 30:[87, 58, 68] Operation: 76-8=68
Exploring Operation: 87-8=79, Resulting Numbers: [76, 58, 79]
Generated Node #0,2: 30:[76, 58, 79] Operation: 87-8=79
Exploring Operation: 76-58=18, Resulting Numbers: [87, 8, 18]
Generated Node #0,3: 30:[87, 8, 18] Operation: 76-58=18
Exploring Operation: 87-76=11, Resulting Numbers: [58, 8, 11]
Generated Node #0,4: 30:[58, 8, 11] Operation: 87-76=11
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[58, 8, 11], Operations: ['87-76=11']
Exploring Operation: 58-8=50, Resulting Numbers: [11, 50]
Generated Node #0,4,0: 30:[11, 50] Operation: 58-8=50
Exploring Operation: 58+8=66, Resulting Numbers: [11, 66]
Generated Node #0,4,1: 30:[11, 66] Operation: 58+8=66
Exploring Operation: 8+11=19, Resulting Numbers: [58, 19]
Generated Node #0,4,2: 30:[58, 19] Operation: 8+11=19
Exploring Operation: 11-8=3, Resulting Numbers: [58, 3]
Generated Node #0,4,3: 30:[58, 3] Operation: 11-8=3
Exploring Operation: 58-11=47, Resulting Numbers: [8, 47]
Generated Node #0,4,4: 30:[8, 47] Operation: 58-11=47
Moving to Node #0,4,4
Current State: 30:[8, 47], Operations: ['87-76=11', '58-11=47']
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,30 unequal: No Solution
Moving to Node #0,4,0
Current State: 30:[11, 50], Operations: ['87-76=11', '58-8=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,30 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[58, 3], Operations: ['87-76=11', '11-8=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[58, 19], Operations: ['87-76=11', '8+11=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[11, 66], Operations: ['87-76=11', '58+8=66']
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 11*66=726, Resulting Numbers: [726]
726,30 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[76, 8, 29], Operations: ['87-58=29']
Exploring Operation: 8+29=37, Resulting Numbers: [76, 37]
Generated Node #0,0,0: 30:[76, 37] Operation: 8+29=37
Exploring Operation: 29-8=21, Resulting Numbers: [76, 21]
Generated Node #0,0,1: 30:[76, 21] Operation: 29-8=21
Exploring Operation: 76+8=84, Resulting Numbers: [29, 84]
Generated Node #0,0,2: 30:[29, 84] Operation: 76+8=84
Exploring Operation: 76-29=47, Resulting Numbers: [8, 47]
Generated Node #0,0,3: 30:[8, 47] Operation: 76-29=47
Exploring Operation: 76-8=68, Resulting Numbers: [29, 68]
Generated Node #0,0,4: 30:[29, 68] Operation: 76-8=68
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 30:[8, 47], Operations: ['87-58=29', '76-29=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 8*47=376, Resulting Numbers: [376]
376,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 30:[29, 68], Operations: ['87-58=29', '76-8=68']
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,30 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 30:[76, 21], Operations: ['87-58=29', '29-8=21']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[76, 37], Operations: ['87-58=29', '8+29=37']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,30 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 30:[29, 84], Operations: ['87-58=29', '76+8=84']
Exploring Operation: 29*84=2436, Resulting Numbers: [2436]
2436,30 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 29+84=113, Resulting Numbers: [113]
113,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[87, 8, 18], Operations: ['76-58=18']
Exploring Operation: 87-18=69, Resulting Numbers: [8, 69]
Generated Node #0,3,0: 30:[8, 69] Operation: 87-18=69
Exploring Operation: 8+18=26, Resulting Numbers: [87, 26]
Generated Node #0,3,1: 30:[87, 26] Operation: 8+18=26
Exploring Operation: 87+8=95, Resulting Numbers: [18, 95]
Generated Node #0,3,2: 30:[18, 95] Operation: 87+8=95
Exploring Operation: 18-8=10, Resulting Numbers: [87, 10]
Generated Node #0,3,3: 30:[87, 10] Operation: 18-8=10
Exploring Operation: 87-8=79, Resulting Numbers: [18, 79]
Generated Node #0,3,4: 30:[18, 79] Operation: 87-8=79
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[8, 69], Operations: ['76-58=18', '87-18=69']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 8+69=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 8*69=552, Resulting Numbers: [552]
552,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 30:[18, 79], Operations: ['76-58=18', '87-8=79']
Exploring Operation: 18+79=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 18*79=1422, Resulting Numbers: [1422]
1422,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 30:[87, 10], Operations: ['76-58=18', '18-8=10']
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 30:[87, 26], Operations: ['76-58=18', '8+18=26']
Exploring Operation: 87*26=2262, Resulting Numbers: [2262]
2262,30 unequal: No Solution
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,30 unequal: No Solution
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 30:[18, 95], Operations: ['76-58=18', '87+8=95']
Exploring Operation: 18*95=1710, Resulting Numbers: [1710]
1710,30 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 18+95=113, Resulting Numbers: [113]
113,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[87, 58, 68], Operations: ['76-8=68']
Exploring Operation: 87-68=19, Resulting Numbers: [58, 19]
Generated Node #0,1,0: 30:[58, 19] Operation: 87-68=19
Exploring Operation: 87+58=145, Resulting Numbers: [68, 145]
Generated Node #0,1,1: 30:[68, 145] Operation: 87+58=145
Exploring Operation: 68-58=10, Resulting Numbers: [87, 10]
Generated Node #0,1,2: 30:[87, 10] Operation: 68-58=10
Exploring Operation: 87-58=29, Resulting Numbers: [68, 29]
Generated Node #0,1,3: 30:[68, 29] Operation: 87-58=29
Exploring Operation: 87+68=155, Resulting Numbers: [58, 155]
Generated Node #0,1,4: 30:[58, 155] Operation: 87+68=155
Moving to Node #0,1,0
Current State: 30:[58, 19], Operations: ['76-8=68', '87-68=19']
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,30 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Moving to Node #0,1,3
Current State: 30:[68, 29], Operations: ['76-8=68', '87-58=29']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,30 unequal: No Solution
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[87, 10], Operations: ['76-8=68', '68-58=10']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,30 unequal: No Solution
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[68, 145], Operations: ['76-8=68', '87+58=145']
Exploring Operation: 68*145=9860, Resulting Numbers: [9860]
9860,30 unequal: No Solution
Exploring Operation: 68+145=213, Resulting Numbers: [213]
213,30 unequal: No Solution
Exploring Operation: 145-68=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Moving to Node #0,1,4
Current State: 30:[58, 155], Operations: ['76-8=68', '87+68=155']
Exploring Operation: 58*155=8990, Resulting Numbers: [8990]
8990,30 unequal: No Solution
Exploring Operation: 155-58=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 58+155=213, Resulting Numbers: [213]
213,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[76, 58, 79], Operations: ['87-8=79']
Exploring Operation: 76-58=18, Resulting Numbers: [79, 18]
Generated Node #0,2,0: 30:[79, 18] Operation: 76-58=18
Exploring Operation: 76+79=155, Resulting Numbers: [58, 155]
Generated Node #0,2,1: 30:[58, 155] Operation: 76+79=155
Exploring Operation: 76+58=134, Resulting Numbers: [79, 134]
Generated Node #0,2,2: 30:[79, 134] Operation: 76+58=134
Exploring Operation: 79-76=3, Resulting Numbers: [58, 3]
Generated Node #0,2,3: 30:[58, 3] Operation: 79-76=3
Exploring Operation: 79-58=21, Resulting Numbers: [76, 21]
Generated Node #0,2,4: 30:[76, 21] Operation: 79-58=21
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 30:[58, 3], Operations: ['87-8=79', '79-76=3']
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,30 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 30:[79, 18], Operations: ['87-8=79', '76-58=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,30 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 30:[76, 21], Operations: ['87-8=79', '79-58=21']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 30:[58, 155], Operations: ['87-8=79', '76+79=155']
Exploring Operation: 155-58=97, Resulting Numbers: [97]
97,30 unequal: No Solution
Exploring Operation: 58*155=8990, Resulting Numbers: [8990]
8990,30 unequal: No Solution
Exploring Operation: 58+155=213, Resulting Numbers: [213]
213,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[79, 134], Operations: ['87-8=79', '76+58=134']
Exploring Operation: 79*134=10586, Resulting Numbers: [10586]
10586,30 unequal: No Solution
Exploring Operation: 134-79=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 79+134=213, Resulting Numbers: [213]
213,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
48,
16,
49,
79
] | 68 | [
"48/16=3",
"49*3=147",
"147-79=68"
] | Current State: 68:[48, 16, 49, 79], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [49, 79, 3]
Generated Node #2: [49, 79, 3] from Operation: 48/16=3
Current State: 68:[49, 79, 3], Operations: ['48/16=3']
Exploring Operation: 49*3=147, Resulting Numbers: [79, 147]
Generated Node #3: [79, 147] from Operation: 49*3=147
Current State: 68:[79, 147], Operations: ['48/16=3', '49*3=147']
Exploring Operation: 147-79=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[48, 16, 49, 79], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [49, 79, 3]
Generated Node #0,0: 68:[49, 79, 3] Operation: 48/16=3
Exploring Operation: 79-49=30, Resulting Numbers: [48, 16, 30]
Generated Node #0,1: 68:[48, 16, 30] Operation: 79-49=30
Exploring Operation: 49-48=1, Resulting Numbers: [16, 79, 1]
Generated Node #0,2: 68:[16, 79, 1] Operation: 49-48=1
Exploring Operation: 49-16=33, Resulting Numbers: [48, 79, 33]
Generated Node #0,3: 68:[48, 79, 33] Operation: 49-16=33
Exploring Operation: 79-48=31, Resulting Numbers: [16, 49, 31]
Generated Node #0,4: 68:[16, 49, 31] Operation: 79-48=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[16, 79, 1], Operations: ['49-48=1']
Exploring Operation: 16+1=17, Resulting Numbers: [79, 17]
Generated Node #0,2,0: 68:[79, 17] Operation: 16+1=17
Exploring Operation: 79-16=63, Resulting Numbers: [1, 63]
Generated Node #0,2,1: 68:[1, 63] Operation: 79-16=63
Exploring Operation: 79-1=78, Resulting Numbers: [16, 78]
Generated Node #0,2,2: 68:[16, 78] Operation: 79-1=78
Exploring Operation: 16/1=16, Resulting Numbers: [79, 16]
Generated Node #0,2,3: 68:[79, 16] Operation: 16/1=16
Exploring Operation: 16*1=16, Resulting Numbers: [79, 16]
Generated Node #0,2,4: 68:[79, 16] Operation: 16*1=16
Moving to Node #0,2,1
Current State: 68:[1, 63], Operations: ['49-48=1', '79-16=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[16, 78], Operations: ['49-48=1', '79-1=78']
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,68 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[79, 17], Operations: ['49-48=1', '16+1=17']
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,68 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[79, 16], Operations: ['49-48=1', '16/1=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,68 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[79, 16], Operations: ['49-48=1', '16*1=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,68 unequal: No Solution
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,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:[48, 16, 30], Operations: ['79-49=30']
Exploring Operation: 48-30=18, Resulting Numbers: [16, 18]
Generated Node #0,1,0: 68:[16, 18] Operation: 48-30=18
Exploring Operation: 48/16=3, Resulting Numbers: [30, 3]
Generated Node #0,1,1: 68:[30, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [30, 32]
Generated Node #0,1,2: 68:[30, 32] Operation: 48-16=32
Exploring Operation: 48+30=78, Resulting Numbers: [16, 78]
Generated Node #0,1,3: 68:[16, 78] Operation: 48+30=78
Exploring Operation: 48+16=64, Resulting Numbers: [30, 64]
Generated Node #0,1,4: 68:[30, 64] Operation: 48+16=64
Moving to Node #0,1,0
Current State: 68:[16, 18], Operations: ['79-49=30', '48-30=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[30, 3], Operations: ['79-49=30', '48/16=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,68 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[30, 32], Operations: ['79-49=30', '48-16=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,68 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[30, 64], Operations: ['79-49=30', '48+16=64']
Exploring Operation: 30*64=1920, Resulting Numbers: [1920]
1920,68 unequal: No Solution
Exploring Operation: 30+64=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[16, 78], Operations: ['79-49=30', '48+30=78']
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,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,4
Current State: 68:[16, 49, 31], Operations: ['79-48=31']
Exploring Operation: 49-16=33, Resulting Numbers: [31, 33]
Generated Node #0,4,0: 68:[31, 33] Operation: 49-16=33
Exploring Operation: 31-16=15, Resulting Numbers: [49, 15]
Generated Node #0,4,1: 68:[49, 15] Operation: 31-16=15
Exploring Operation: 49-31=18, Resulting Numbers: [16, 18]
Generated Node #0,4,2: 68:[16, 18] Operation: 49-31=18
Exploring Operation: 16+49=65, Resulting Numbers: [31, 65]
Generated Node #0,4,3: 68:[31, 65] Operation: 16+49=65
Exploring Operation: 49+31=80, Resulting Numbers: [16, 80]
Generated Node #0,4,4: 68:[16, 80] Operation: 49+31=80
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 68:[16, 18], Operations: ['79-48=31', '49-31=18']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,68 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,68 unequal: No Solution
No 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: 68:[31, 33], Operations: ['79-48=31', '49-16=33']
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,68 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No 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: 68:[31, 65], Operations: ['79-48=31', '16+49=65']
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,68 unequal: No Solution
No 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: 68:[16, 80], Operations: ['79-48=31', '49+31=80']
Exploring Operation: 16*80=1280, Resulting Numbers: [1280]
1280,68 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,68 unequal: No Solution
No 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: 68:[49, 15], Operations: ['79-48=31', '31-16=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,68 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,68 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: 68:[48, 79, 33], Operations: ['49-16=33']
Exploring Operation: 79-33=46, Resulting Numbers: [48, 46]
Generated Node #0,3,0: 68:[48, 46] Operation: 79-33=46
Exploring Operation: 48+33=81, Resulting Numbers: [79, 81]
Generated Node #0,3,1: 68:[79, 81] Operation: 48+33=81
Exploring Operation: 79-48=31, Resulting Numbers: [33, 31]
Generated Node #0,3,2: 68:[33, 31] Operation: 79-48=31
Exploring Operation: 48-33=15, Resulting Numbers: [79, 15]
Generated Node #0,3,3: 68:[79, 15] Operation: 48-33=15
Exploring Operation: 79+33=112, Resulting Numbers: [48, 112]
Generated Node #0,3,4: 68:[48, 112] Operation: 79+33=112
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[33, 31], Operations: ['49-16=33', '79-48=31']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 33*31=1023, Resulting Numbers: [1023]
1023,68 unequal: No Solution
No 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: 68:[79, 15], Operations: ['49-16=33', '48-33=15']
Exploring Operation: 79-15=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 79+15=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 79*15=1185, Resulting Numbers: [1185]
1185,68 unequal: No Solution
No 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: 68:[79, 81], Operations: ['49-16=33', '48+33=81']
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,68 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,68 unequal: No Solution
No 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: 68:[48, 46], Operations: ['49-16=33', '79-33=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,68 unequal: No Solution
No 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: 68:[48, 112], Operations: ['49-16=33', '79+33=112']
Exploring Operation: 112-48=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 48+112=160, Resulting Numbers: [160]
160,68 unequal: No Solution
Exploring Operation: 48*112=5376, Resulting Numbers: [5376]
5376,68 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: 68:[49, 79, 3], Operations: ['48/16=3']
Exploring Operation: 49+3=52, Resulting Numbers: [79, 52]
Generated Node #0,0,0: 68:[79, 52] Operation: 49+3=52
Exploring Operation: 79+3=82, Resulting Numbers: [49, 82]
Generated Node #0,0,1: 68:[49, 82] Operation: 79+3=82
Exploring Operation: 79-49=30, Resulting Numbers: [3, 30]
Generated Node #0,0,2: 68:[3, 30] Operation: 79-49=30
Exploring Operation: 49-3=46, Resulting Numbers: [79, 46]
Generated Node #0,0,3: 68:[79, 46] Operation: 49-3=46
Exploring Operation: 79-3=76, Resulting Numbers: [49, 76]
Generated Node #0,0,4: 68:[49, 76] Operation: 79-3=76
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[3, 30], Operations: ['48/16=3', '79-49=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,68 unequal: No Solution
No 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: 68:[79, 46], Operations: ['48/16=3', '49-3=46']
Exploring Operation: 79+46=125, Resulting Numbers: [125]
125,68 unequal: No Solution
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 79*46=3634, Resulting Numbers: [3634]
3634,68 unequal: No Solution
No 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: 68:[49, 76], Operations: ['48/16=3', '79-3=76']
Exploring Operation: 49*76=3724, Resulting Numbers: [3724]
3724,68 unequal: No Solution
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,68 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,68 unequal: No Solution
No 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: 68:[79, 52], Operations: ['48/16=3', '49+3=52']
Exploring Operation: 79*52=4108, Resulting Numbers: [4108]
4108,68 unequal: No Solution
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 79+52=131, Resulting Numbers: [131]
131,68 unequal: No Solution
No 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: 68:[49, 82], Operations: ['48/16=3', '79+3=82']
Exploring Operation: 49+82=131, Resulting Numbers: [131]
131,68 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,68 unequal: No Solution
Exploring Operation: 49*82=4018, Resulting Numbers: [4018]
4018,68 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 |
[
19,
5,
92,
4
] | 12 | [
"19*5=95",
"95-92=3",
"4*3=12"
] | Current State: 12:[19, 5, 92, 4], Operations: []
Exploring Operation: 19*5=95, Resulting Numbers: [92, 4, 95]
Generated Node #2: [92, 4, 95] from Operation: 19*5=95
Current State: 12:[92, 4, 95], Operations: ['19*5=95']
Exploring Operation: 95-92=3, Resulting Numbers: [4, 3]
Generated Node #3: [4, 3] from Operation: 95-92=3
Current State: 12:[4, 3], Operations: ['19*5=95', '95-92=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[19, 5, 92, 4], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [19, 5, 23]
Generated Node #0,0: 12:[19, 5, 23] Operation: 92/4=23
Moving to Node #0,0
Current State: 12:[19, 5, 23], Operations: ['92/4=23']
Exploring Operation: 23-19=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 12:[5, 4] Operation: 23-19=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[5, 4], Operations: ['92/4=23', '23-19=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,12 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 |
[
94,
71,
56,
85
] | 24 | [
"94+71=165",
"56+85=141",
"165-141=24"
] | Current State: 24:[94, 71, 56, 85], Operations: []
Exploring Operation: 94+71=165, Resulting Numbers: [56, 85, 165]
Generated Node #2: [56, 85, 165] from Operation: 94+71=165
Current State: 24:[56, 85, 165], Operations: ['94+71=165']
Exploring Operation: 56+85=141, Resulting Numbers: [165, 141]
Generated Node #3: [165, 141] from Operation: 56+85=141
Current State: 24:[165, 141], Operations: ['94+71=165', '56+85=141']
Exploring Operation: 165-141=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[94, 71, 56, 85], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [71, 56, 9]
Generated Node #0,0: 24:[71, 56, 9] Operation: 94-85=9
Exploring Operation: 94-71=23, Resulting Numbers: [56, 85, 23]
Generated Node #0,1: 24:[56, 85, 23] Operation: 94-71=23
Exploring Operation: 85-71=14, Resulting Numbers: [94, 56, 14]
Generated Node #0,2: 24:[94, 56, 14] Operation: 85-71=14
Moving to Node #0,0
Current State: 24:[71, 56, 9], Operations: ['94-85=9']
Exploring Operation: 71-9=62, Resulting Numbers: [56, 62]
Generated Node #0,0,0: 24:[56, 62] Operation: 71-9=62
Exploring Operation: 71-56=15, Resulting Numbers: [9, 15]
Generated Node #0,0,1: 24:[9, 15] Operation: 71-56=15
Exploring Operation: 56-9=47, Resulting Numbers: [71, 47]
Generated Node #0,0,2: 24:[71, 47] Operation: 56-9=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[9, 15], Operations: ['94-85=9', '71-56=15']
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,24 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[94, 71, 56, 85], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [71, 56, 9]
Generated Node #0,0: 24:[71, 56, 9] Operation: 94-85=9
Moving to Node #0,0
Current State: 24:[71, 56, 9], Operations: ['94-85=9']
Exploring Operation: 71-56=15, Resulting Numbers: [9, 15]
Generated Node #0,0,1: 24:[9, 15] Operation: 71-56=15
Moving to Node #0,0,1
Current State: 24:[9, 15], Operations: ['94-85=9', '71-56=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
80,
20,
84,
30
] | 82 | [
"80-20=60",
"60/30=2",
"84-2=82"
] | Current State: 82:[80, 20, 84, 30], Operations: []
Exploring Operation: 80-20=60, Resulting Numbers: [84, 30, 60]
Generated Node #2: [84, 30, 60] from Operation: 80-20=60
Current State: 82:[84, 30, 60], Operations: ['80-20=60']
Exploring Operation: 60/30=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 60/30=2
Current State: 82:[84, 2], Operations: ['80-20=60', '60/30=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[80, 20, 84, 30], Operations: []
Exploring Operation: 30-20=10, Resulting Numbers: [80, 84, 10]
Generated Node #0,0: 82:[80, 84, 10] Operation: 30-20=10
Moving to Node #0,0
Current State: 82:[80, 84, 10], Operations: ['30-20=10']
Exploring Operation: 80/10=8, Resulting Numbers: [84, 8]
Generated Node #0,0,0: 82:[84, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[84, 8], Operations: ['30-20=10', '80/10=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,82 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 |
[
49,
47,
47,
32
] | 63 | [
"49-47=2",
"32/2=16",
"47+16=63"
] | Current State: 63:[49, 47, 47, 32], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [32, 2]
Generated Node #2: [32, 2] from Operation: 49-47=2
Current State: 63:[32, 2], Operations: ['49-47=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,63 equal: Goal Reached
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[49, 47, 47, 32], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [47, 32, 2]
Generated Node #0,0: 63:[47, 32, 2] Operation: 49-47=2
Exploring Operation: 47/47=1, Resulting Numbers: [49, 32, 1]
Generated Node #0,1: 63:[49, 32, 1] Operation: 47/47=1
Moving to Node #0,1
Current State: 63:[49, 32, 1], Operations: ['47/47=1']
Exploring Operation: 49-32=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 63:[1, 17] Operation: 49-32=17
Exploring Operation: 49+32=81, Resulting Numbers: [1, 81]
Generated Node #0,1,1: 63:[1, 81] Operation: 49+32=81
Moving to Node #0,0
Current State: 63:[47, 32, 2], Operations: ['49-47=2']
Exploring Operation: 47+32=79, Resulting Numbers: [2, 79]
Generated Node #0,0,0: 63:[2, 79] Operation: 47+32=79
Exploring Operation: 47-32=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 63:[2, 15] Operation: 47-32=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[2, 15], Operations: ['49-47=2', '47-32=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No 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: 63:[2, 79], Operations: ['49-47=2', '47+32=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,63 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: 63:[1, 17], Operations: ['47/47=1', '49-32=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[1, 81], Operations: ['47/47=1', '49+32=81']
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,63 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
63,
47,
63
] | 38 | [
"63-63=0",
"47*0=0",
"38+0=38"
] | Current State: 38:[38, 63, 47, 63], Operations: []
Exploring Operation: 63-63=0, Resulting Numbers: [38, 47, 0]
Generated Node #2: [38, 47, 0] from Operation: 63-63=0
Current State: 38:[38, 47, 0], Operations: ['63-63=0']
Exploring Operation: 47*0=0, Resulting Numbers: [38, 0]
Generated Node #3: [38, 0] from Operation: 47*0=0
Current State: 38:[38, 0], Operations: ['63-63=0', '47*0=0']
Exploring Operation: 38+0=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[38, 63, 47, 63], Operations: []
Exploring Operation: 63/63=1, Resulting Numbers: [38, 47, 1]
Generated Node #0,0: 38:[38, 47, 1] Operation: 63/63=1
Moving to Node #0,0
Current State: 38:[38, 47, 1], Operations: ['63/63=1']
Exploring Operation: 47-38=9, Resulting Numbers: [1, 9]
Generated Node #0,0,0: 38:[1, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[1, 9], Operations: ['63/63=1', '47-38=9']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,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 | mult_heuristic |
[
37,
77,
70,
5
] | 26 | [
"77-37=40",
"70/5=14",
"40-14=26"
] | Current State: 26:[37, 77, 70, 5], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [70, 5, 40]
Generated Node #2: [70, 5, 40] from Operation: 77-37=40
Current State: 26:[70, 5, 40], Operations: ['77-37=40']
Exploring Operation: 70/5=14, Resulting Numbers: [40, 14]
Generated Node #3: [40, 14] from Operation: 70/5=14
Current State: 26:[40, 14], Operations: ['77-37=40', '70/5=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[37, 77, 70, 5], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [70, 5, 40]
Generated Node #0,0: 26:[70, 5, 40] Operation: 77-37=40
Exploring Operation: 77-70=7, Resulting Numbers: [37, 5, 7]
Generated Node #0,1: 26:[37, 5, 7] Operation: 77-70=7
Moving to Node #0,1
Current State: 26:[37, 5, 7], Operations: ['77-70=7']
Exploring Operation: 37-7=30, Resulting Numbers: [5, 30]
Generated Node #0,1,0: 26:[5, 30] Operation: 37-7=30
Exploring Operation: 37-5=32, Resulting Numbers: [7, 32]
Generated Node #0,1,1: 26:[7, 32] Operation: 37-5=32
Moving to Node #0,0
Current State: 26:[70, 5, 40], Operations: ['77-37=40']
Exploring Operation: 70-40=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 26:[5, 30] Operation: 70-40=30
Exploring Operation: 70/5=14, Resulting Numbers: [40, 14]
Generated Node #0,0,1: 26:[40, 14] Operation: 70/5=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[5, 30], Operations: ['77-37=40', '70-40=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[40, 14], Operations: ['77-37=40', '70/5=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[37, 77, 70, 5], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [70, 5, 40]
Generated Node #0,0: 26:[70, 5, 40] Operation: 77-37=40
Moving to Node #0,0
Current State: 26:[70, 5, 40], Operations: ['77-37=40']
Exploring Operation: 70/5=14, Resulting Numbers: [40, 14]
Generated Node #0,0,1: 26:[40, 14] Operation: 70/5=14
Moving to Node #0,0,1
Current State: 26:[40, 14], Operations: ['77-37=40', '70/5=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
66,
50,
68,
7
] | 10 | [
"68-66=2",
"7-2=5",
"50/5=10"
] | Current State: 10:[66, 50, 68, 7], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [50, 7, 2]
Generated Node #2: [50, 7, 2] from Operation: 68-66=2
Current State: 10:[50, 7, 2], Operations: ['68-66=2']
Exploring Operation: 7-2=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 7-2=5
Current State: 10:[50, 5], Operations: ['68-66=2', '7-2=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[66, 50, 68, 7], Operations: []
Exploring Operation: 68-50=18, Resulting Numbers: [66, 7, 18]
Generated Node #0,0: 10:[66, 7, 18] Operation: 68-50=18
Exploring Operation: 50-7=43, Resulting Numbers: [66, 68, 43]
Generated Node #0,1: 10:[66, 68, 43] Operation: 50-7=43
Exploring Operation: 66-7=59, Resulting Numbers: [50, 68, 59]
Generated Node #0,2: 10:[50, 68, 59] Operation: 66-7=59
Exploring Operation: 68-66=2, Resulting Numbers: [50, 7, 2]
Generated Node #0,3: 10:[50, 7, 2] Operation: 68-66=2
Exploring Operation: 66-50=16, Resulting Numbers: [68, 7, 16]
Generated Node #0,4: 10:[68, 7, 16] Operation: 66-50=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[50, 7, 2], Operations: ['68-66=2']
Exploring Operation: 50-7=43, Resulting Numbers: [2, 43]
Generated Node #0,3,0: 10:[2, 43] Operation: 50-7=43
Exploring Operation: 50/2=25, Resulting Numbers: [7, 25]
Generated Node #0,3,1: 10:[7, 25] Operation: 50/2=25
Exploring Operation: 7-2=5, Resulting Numbers: [50, 5]
Generated Node #0,3,2: 10:[50, 5] Operation: 7-2=5
Exploring Operation: 50-2=48, Resulting Numbers: [7, 48]
Generated Node #0,3,3: 10:[7, 48] Operation: 50-2=48
Exploring Operation: 7+2=9, Resulting Numbers: [50, 9]
Generated Node #0,3,4: 10:[50, 9] Operation: 7+2=9
Moving to Node #0,3,1
Current State: 10:[7, 25], Operations: ['68-66=2', '50/2=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,10 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[2, 43], Operations: ['68-66=2', '50-7=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,10 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,10 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[50, 5], Operations: ['68-66=2', '7-2=5']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[66, 50, 68, 7], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [50, 7, 2]
Generated Node #0,3: 10:[50, 7, 2] Operation: 68-66=2
Moving to Node #0,3
Current State: 10:[50, 7, 2], Operations: ['68-66=2']
Exploring Operation: 7-2=5, Resulting Numbers: [50, 5]
Generated Node #0,3,2: 10:[50, 5] Operation: 7-2=5
Moving to Node #0,3,2
Current State: 10:[50, 5], Operations: ['68-66=2', '7-2=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
39,
12,
43,
59
] | 75 | [
"39-12=27",
"43+59=102",
"102-27=75"
] | Current State: 75:[39, 12, 43, 59], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [43, 59, 27]
Generated Node #2: [43, 59, 27] from Operation: 39-12=27
Current State: 75:[43, 59, 27], Operations: ['39-12=27']
Exploring Operation: 43+59=102, Resulting Numbers: [27, 102]
Generated Node #3: [27, 102] from Operation: 43+59=102
Current State: 75:[27, 102], Operations: ['39-12=27', '43+59=102']
Exploring Operation: 102-27=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[39, 12, 43, 59], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [12, 59, 4]
Generated Node #0,0: 75:[12, 59, 4] Operation: 43-39=4
Exploring Operation: 39+43=82, Resulting Numbers: [12, 59, 82]
Generated Node #0,1: 75:[12, 59, 82] Operation: 39+43=82
Exploring Operation: 59-43=16, Resulting Numbers: [39, 12, 16]
Generated Node #0,2: 75:[39, 12, 16] Operation: 59-43=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[39, 12, 16], Operations: ['59-43=16']
Exploring Operation: 39-12=27, Resulting Numbers: [16, 27]
Generated Node #0,2,0: 75:[16, 27] Operation: 39-12=27
Exploring Operation: 39-16=23, Resulting Numbers: [12, 23]
Generated Node #0,2,1: 75:[12, 23] Operation: 39-16=23
Exploring Operation: 16-12=4, Resulting Numbers: [39, 4]
Generated Node #0,2,2: 75:[39, 4] Operation: 16-12=4
Moving to Node #0,2,0
Current State: 75:[16, 27], Operations: ['59-43=16', '39-12=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[12, 23], Operations: ['59-43=16', '39-16=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,75 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[39, 4], Operations: ['59-43=16', '16-12=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,75 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,75 unequal: No Solution
No 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: 75:[12, 59, 4], Operations: ['43-39=4']
Exploring Operation: 12+59=71, Resulting Numbers: [4, 71]
Generated Node #0,0,0: 75:[4, 71] Operation: 12+59=71
Exploring Operation: 12/4=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 75:[59, 3] Operation: 12/4=3
Exploring Operation: 59+4=63, Resulting Numbers: [12, 63]
Generated Node #0,0,2: 75:[12, 63] Operation: 59+4=63
Moving to Node #0,0,0
Current State: 75:[4, 71], Operations: ['43-39=4', '12+59=71']
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[39, 12, 43, 59], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [12, 59, 4]
Generated Node #0,0: 75:[12, 59, 4] Operation: 43-39=4
Moving to Node #0,0
Current State: 75:[12, 59, 4], Operations: ['43-39=4']
Exploring Operation: 12+59=71, Resulting Numbers: [4, 71]
Generated Node #0,0,0: 75:[4, 71] Operation: 12+59=71
Moving to Node #0,0,0
Current State: 75:[4, 71], Operations: ['43-39=4', '12+59=71']
Exploring Operation: 4+71=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
64,
60,
56,
59
] | 61 | [
"64+56=120",
"120/60=2",
"59+2=61"
] | Current State: 61:[64, 60, 56, 59], Operations: []
Exploring Operation: 64+56=120, Resulting Numbers: [60, 59, 120]
Generated Node #2: [60, 59, 120] from Operation: 64+56=120
Current State: 61:[60, 59, 120], Operations: ['64+56=120']
Exploring Operation: 120/60=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 120/60=2
Current State: 61:[59, 2], Operations: ['64+56=120', '120/60=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[64, 60, 56, 59], Operations: []
Exploring Operation: 60+56=116, Resulting Numbers: [64, 59, 116]
Generated Node #0,0: 61:[64, 59, 116] Operation: 60+56=116
Exploring Operation: 56+59=115, Resulting Numbers: [64, 60, 115]
Generated Node #0,1: 61:[64, 60, 115] Operation: 56+59=115
Exploring Operation: 64-56=8, Resulting Numbers: [60, 59, 8]
Generated Node #0,2: 61:[60, 59, 8] Operation: 64-56=8
Moving to Node #0,2
Current State: 61:[60, 59, 8], Operations: ['64-56=8']
Exploring Operation: 60+8=68, Resulting Numbers: [59, 68]
Generated Node #0,2,0: 61:[59, 68] Operation: 60+8=68
Exploring Operation: 59+8=67, Resulting Numbers: [60, 67]
Generated Node #0,2,1: 61:[60, 67] Operation: 59+8=67
Exploring Operation: 60-8=52, Resulting Numbers: [59, 52]
Generated Node #0,2,2: 61:[59, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[60, 67], Operations: ['64-56=8', '59+8=67']
Exploring Operation: 60+67=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 60*67=4020, Resulting Numbers: [4020]
4020,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,2,0
Current State: 61:[59, 68], Operations: ['64-56=8', '60+8=68']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 59+68=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 59*68=4012, Resulting Numbers: [4012]
4012,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,2,2
Current State: 61:[59, 52], Operations: ['64-56=8', '60-8=52']
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,61 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[64, 60, 115], Operations: ['56+59=115']
Exploring Operation: 115-64=51, Resulting Numbers: [60, 51]
Generated Node #0,1,0: 61:[60, 51] Operation: 115-64=51
Exploring Operation: 64-60=4, Resulting Numbers: [115, 4]
Generated Node #0,1,1: 61:[115, 4] Operation: 64-60=4
Exploring Operation: 115-60=55, Resulting Numbers: [64, 55]
Generated Node #0,1,2: 61:[64, 55] Operation: 115-60=55
Moving to Node #0,0
Current State: 61:[64, 59, 116], Operations: ['60+56=116']
Exploring Operation: 64-59=5, Resulting Numbers: [116, 5]
Generated Node #0,0,0: 61:[116, 5] Operation: 64-59=5
Exploring Operation: 116-64=52, Resulting Numbers: [59, 52]
Generated Node #0,0,1: 61:[59, 52] Operation: 116-64=52
Exploring Operation: 116-59=57, Resulting Numbers: [64, 57]
Generated Node #0,0,2: 61:[64, 57] Operation: 116-59=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[64, 57], Operations: ['60+56=116', '116-59=57']
Exploring Operation: 64+57=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 64*57=3648, Resulting Numbers: [3648]
3648,61 unequal: No Solution
Exploring Operation: 64-57=7, Resulting Numbers: [7]
7,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[59, 52], Operations: ['60+56=116', '116-64=52']
Exploring Operation: 59*52=3068, Resulting Numbers: [3068]
3068,61 unequal: No Solution
Exploring Operation: 59-52=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 59+52=111, Resulting Numbers: [111]
111,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[116, 5], Operations: ['60+56=116', '64-59=5']
Exploring Operation: 116-5=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 116+5=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 116*5=580, Resulting Numbers: [580]
580,61 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: 61:[64, 55], Operations: ['56+59=115', '115-60=55']
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[60, 51], Operations: ['56+59=115', '115-64=51']
Exploring Operation: 60+51=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 60*51=3060, Resulting Numbers: [3060]
3060,61 unequal: No Solution
Exploring Operation: 60-51=9, Resulting Numbers: [9]
9,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[115, 4], Operations: ['56+59=115', '64-60=4']
Exploring Operation: 115+4=119, Resulting Numbers: [119]
119,61 unequal: No Solution
Exploring Operation: 115-4=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 115*4=460, Resulting Numbers: [460]
460,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
21,
72,
7
] | 38 | [
"62-21=41",
"72+7=79",
"79-41=38"
] | Current State: 38:[62, 21, 72, 7], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [72, 7, 41]
Generated Node #2: [72, 7, 41] from Operation: 62-21=41
Current State: 38:[72, 7, 41], Operations: ['62-21=41']
Exploring Operation: 72+7=79, Resulting Numbers: [41, 79]
Generated Node #3: [41, 79] from Operation: 72+7=79
Current State: 38:[41, 79], Operations: ['62-21=41', '72+7=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[62, 21, 72, 7], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [21, 7, 10]
Generated Node #0,0: 38:[21, 7, 10] Operation: 72-62=10
Moving to Node #0,0
Current State: 38:[21, 7, 10], Operations: ['72-62=10']
Exploring Operation: 10-7=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 38:[21, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 38:[21, 3], Operations: ['72-62=10', '10-7=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
84,
23,
36,
28
] | 39 | [
"84/28=3",
"36-23=13",
"3*13=39"
] | Current State: 39:[84, 23, 36, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [23, 36, 3]
Generated Node #2: [23, 36, 3] from Operation: 84/28=3
Current State: 39:[23, 36, 3], Operations: ['84/28=3']
Exploring Operation: 36-23=13, Resulting Numbers: [3, 13]
Generated Node #3: [3, 13] from Operation: 36-23=13
Current State: 39:[3, 13], Operations: ['84/28=3', '36-23=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[84, 23, 36, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [23, 36, 3]
Generated Node #0,0: 39:[23, 36, 3] Operation: 84/28=3
Exploring Operation: 84-36=48, Resulting Numbers: [23, 28, 48]
Generated Node #0,1: 39:[23, 28, 48] Operation: 84-36=48
Exploring Operation: 84-28=56, Resulting Numbers: [23, 36, 56]
Generated Node #0,2: 39:[23, 36, 56] Operation: 84-28=56
Exploring Operation: 28-23=5, Resulting Numbers: [84, 36, 5]
Generated Node #0,3: 39:[84, 36, 5] Operation: 28-23=5
Exploring Operation: 84-23=61, Resulting Numbers: [36, 28, 61]
Generated Node #0,4: 39:[36, 28, 61] Operation: 84-23=61
Moving to Node #0,0
Current State: 39:[23, 36, 3], Operations: ['84/28=3']
Exploring Operation: 36/3=12, Resulting Numbers: [23, 12]
Generated Node #0,0,0: 39:[23, 12] Operation: 36/3=12
Exploring Operation: 36-23=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 39:[3, 13] Operation: 36-23=13
Exploring Operation: 23-3=20, Resulting Numbers: [36, 20]
Generated Node #0,0,2: 39:[36, 20] Operation: 23-3=20
Exploring Operation: 23+3=26, Resulting Numbers: [36, 26]
Generated Node #0,0,3: 39:[36, 26] Operation: 23+3=26
Exploring Operation: 36+3=39, Resulting Numbers: [23, 39]
Generated Node #0,0,4: 39:[23, 39] Operation: 36+3=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[3, 13], Operations: ['84/28=3', '36-23=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[84, 23, 36, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [23, 36, 3]
Generated Node #0,0: 39:[23, 36, 3] Operation: 84/28=3
Moving to Node #0,0
Current State: 39:[23, 36, 3], Operations: ['84/28=3']
Exploring Operation: 36-23=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 39:[3, 13] Operation: 36-23=13
Moving to Node #0,0,1
Current State: 39:[3, 13], Operations: ['84/28=3', '36-23=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
26,
95,
98,
79
] | 35 | [
"26+79=105",
"98-95=3",
"105/3=35"
] | Current State: 35:[26, 95, 98, 79], Operations: []
Exploring Operation: 26+79=105, Resulting Numbers: [95, 98, 105]
Generated Node #2: [95, 98, 105] from Operation: 26+79=105
Current State: 35:[95, 98, 105], Operations: ['26+79=105']
Exploring Operation: 98-95=3, Resulting Numbers: [105, 3]
Generated Node #3: [105, 3] from Operation: 98-95=3
Current State: 35:[105, 3], Operations: ['26+79=105', '98-95=3']
Exploring Operation: 105/3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[26, 95, 98, 79], Operations: []
Exploring Operation: 98-79=19, Resulting Numbers: [26, 95, 19]
Generated Node #0,0: 35:[26, 95, 19] Operation: 98-79=19
Exploring Operation: 95-79=16, Resulting Numbers: [26, 98, 16]
Generated Node #0,1: 35:[26, 98, 16] Operation: 95-79=16
Exploring Operation: 98-95=3, Resulting Numbers: [26, 79, 3]
Generated Node #0,2: 35:[26, 79, 3] Operation: 98-95=3
Moving to Node #0,2
Current State: 35:[26, 79, 3], Operations: ['98-95=3']
Exploring Operation: 79-3=76, Resulting Numbers: [26, 76]
Generated Node #0,2,0: 35:[26, 76] Operation: 79-3=76
Exploring Operation: 79-26=53, Resulting Numbers: [3, 53]
Generated Node #0,2,1: 35:[3, 53] Operation: 79-26=53
Exploring Operation: 26+3=29, Resulting Numbers: [79, 29]
Generated Node #0,2,2: 35:[79, 29] Operation: 26+3=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[3, 53], Operations: ['98-95=3', '79-26=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[26, 76], Operations: ['98-95=3', '79-3=76']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 26+76=102, Resulting Numbers: [102]
102,35 unequal: No Solution
Exploring Operation: 26*76=1976, Resulting Numbers: [1976]
1976,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[79, 29], Operations: ['98-95=3', '26+3=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,35 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 35:[26, 95, 19], Operations: ['98-79=19']
Exploring Operation: 95/19=5, Resulting Numbers: [26, 5]
Generated Node #0,0,0: 35:[26, 5] Operation: 95/19=5
Exploring Operation: 95-19=76, Resulting Numbers: [26, 76]
Generated Node #0,0,1: 35:[26, 76] Operation: 95-19=76
Exploring Operation: 95-26=69, Resulting Numbers: [19, 69]
Generated Node #0,0,2: 35:[19, 69] Operation: 95-26=69
Moving to Node #0,1
Current State: 35:[26, 98, 16], Operations: ['95-79=16']
Exploring Operation: 98-16=82, Resulting Numbers: [26, 82]
Generated Node #0,1,0: 35:[26, 82] Operation: 98-16=82
Exploring Operation: 26-16=10, Resulting Numbers: [98, 10]
Generated Node #0,1,1: 35:[98, 10] Operation: 26-16=10
Exploring Operation: 98-26=72, Resulting Numbers: [16, 72]
Generated Node #0,1,2: 35:[16, 72] Operation: 98-26=72
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[16, 72], Operations: ['95-79=16', '98-26=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[26, 82], Operations: ['95-79=16', '98-16=82']
Exploring Operation: 26*82=2132, Resulting Numbers: [2132]
2132,35 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[98, 10], Operations: ['95-79=16', '26-16=10']
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,35 unequal: No Solution
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,35 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: 35:[26, 5], Operations: ['98-79=19', '95/19=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,35 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[19, 69], Operations: ['98-79=19', '95-26=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[26, 76], Operations: ['98-79=19', '95-19=76']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 26+76=102, Resulting Numbers: [102]
102,35 unequal: No Solution
Exploring Operation: 26*76=1976, Resulting Numbers: [1976]
1976,35 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
36,
32,
50,
50
] | 25 | [
"36-32=4",
"50+50=100",
"100/4=25"
] | Current State: 25:[36, 32, 50, 50], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [50, 50, 4]
Generated Node #2: [50, 50, 4] from Operation: 36-32=4
Current State: 25:[50, 50, 4], Operations: ['36-32=4']
Exploring Operation: 50+50=100, Resulting Numbers: [4, 100]
Generated Node #3: [4, 100] from Operation: 50+50=100
Current State: 25:[4, 100], Operations: ['36-32=4', '50+50=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[36, 32, 50, 50], Operations: []
Exploring Operation: 50-50=0, Resulting Numbers: [36, 32, 0]
Generated Node #0,0: 25:[36, 32, 0] Operation: 50-50=0
Exploring Operation: 50/50=1, Resulting Numbers: [36, 32, 1]
Generated Node #0,1: 25:[36, 32, 1] Operation: 50/50=1
Exploring Operation: 50-36=14, Resulting Numbers: [32, 50, 14]
Generated Node #0,2: 25:[32, 50, 14] Operation: 50-36=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[36, 32, 1], Operations: ['50/50=1']
Exploring Operation: 36-1=35, Resulting Numbers: [32, 35]
Generated Node #0,1,0: 25:[32, 35] Operation: 36-1=35
Exploring Operation: 32-1=31, Resulting Numbers: [36, 31]
Generated Node #0,1,1: 25:[36, 31] Operation: 32-1=31
Exploring Operation: 36-32=4, Resulting Numbers: [1, 4]
Generated Node #0,1,2: 25:[1, 4] Operation: 36-32=4
Moving to Node #0,1,2
Current State: 25:[1, 4], Operations: ['50/50=1', '36-32=4']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[32, 35], Operations: ['50/50=1', '36-1=35']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[36, 31], Operations: ['50/50=1', '32-1=31']
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,25 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,25 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[36, 32, 0], Operations: ['50-50=0']
Exploring Operation: 36-32=4, Resulting Numbers: [0, 4]
Generated Node #0,0,0: 25:[0, 4] Operation: 36-32=4
Exploring Operation: 32*0=0, Resulting Numbers: [36, 0]
Generated Node #0,0,1: 25:[36, 0] Operation: 32*0=0
Exploring Operation: 36*0=0, Resulting Numbers: [32, 0]
Generated Node #0,0,2: 25:[32, 0] Operation: 36*0=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[0, 4], Operations: ['50-50=0', '36-32=4']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 0*4=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 0+4=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[32, 0], Operations: ['50-50=0', '36*0=0']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 32*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[36, 0], Operations: ['50-50=0', '32*0=0']
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[32, 50, 14], Operations: ['50-36=14']
Exploring Operation: 50-14=36, Resulting Numbers: [32, 36]
Generated Node #0,2,0: 25:[32, 36] Operation: 50-14=36
Exploring Operation: 32-14=18, Resulting Numbers: [50, 18]
Generated Node #0,2,1: 25:[50, 18] Operation: 32-14=18
Exploring Operation: 50-32=18, Resulting Numbers: [14, 18]
Generated Node #0,2,2: 25:[14, 18] Operation: 50-32=18
Moving to Node #0,2,2
Current State: 25:[14, 18], Operations: ['50-36=14', '50-32=18']
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[32, 36], Operations: ['50-36=14', '50-14=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,25 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[50, 18], Operations: ['50-36=14', '32-14=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,25 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 |
[
49,
36,
27,
36
] | 27 | [
"49*27=1323",
"36*36=1296",
"1323-1296=27"
] | Current State: 27:[49, 36, 27, 36], Operations: []
Exploring Operation: 49*27=1323, Resulting Numbers: [36, 36, 1323]
Generated Node #2: [36, 36, 1323] from Operation: 49*27=1323
Current State: 27:[36, 36, 1323], Operations: ['49*27=1323']
Exploring Operation: 36*36=1296, Resulting Numbers: [1323, 1296]
Generated Node #3: [1323, 1296] from Operation: 36*36=1296
Current State: 27:[1323, 1296], Operations: ['49*27=1323', '36*36=1296']
Exploring Operation: 1323-1296=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[49, 36, 27, 36], Operations: []
Exploring Operation: 49-36=13, Resulting Numbers: [27, 36, 13]
Generated Node #0,0: 27:[27, 36, 13] Operation: 49-36=13
Exploring Operation: 49-36=13, Resulting Numbers: [36, 27, 13]
Generated Node #0,1: 27:[36, 27, 13] Operation: 49-36=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[27, 36, 13], Operations: ['49-36=13']
Exploring Operation: 36-13=23, Resulting Numbers: [27, 23]
Generated Node #0,0,0: 27:[27, 23] Operation: 36-13=23
Exploring Operation: 36-27=9, Resulting Numbers: [13, 9]
Generated Node #0,0,1: 27:[13, 9] Operation: 36-27=9
Moving to Node #0,0,0
Current State: 27:[27, 23], Operations: ['49-36=13', '36-13=23']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[13, 9], Operations: ['49-36=13', '36-27=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,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
Current State: 27:[36, 27, 13], Operations: ['49-36=13']
Exploring Operation: 36-13=23, Resulting Numbers: [27, 23]
Generated Node #0,1,0: 27:[27, 23] Operation: 36-13=23
Exploring Operation: 36-27=9, Resulting Numbers: [13, 9]
Generated Node #0,1,1: 27:[13, 9] Operation: 36-27=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[27, 23], Operations: ['49-36=13', '36-13=23']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,27 unequal: No Solution
No 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: 27:[13, 9], Operations: ['49-36=13', '36-27=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
7,
29,
90
] | 15 | [
"16+7=23",
"29-23=6",
"90/6=15"
] | Current State: 15:[16, 7, 29, 90], Operations: []
Exploring Operation: 16+7=23, Resulting Numbers: [29, 90, 23]
Generated Node #2: [29, 90, 23] from Operation: 16+7=23
Current State: 15:[29, 90, 23], Operations: ['16+7=23']
Exploring Operation: 29-23=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 29-23=6
Current State: 15:[90, 6], Operations: ['16+7=23', '29-23=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[16, 7, 29, 90], Operations: []
Exploring Operation: 90-29=61, Resulting Numbers: [16, 7, 61]
Generated Node #0,0: 15:[16, 7, 61] Operation: 90-29=61
Moving to Node #0,0
Current State: 15:[16, 7, 61], Operations: ['90-29=61']
Exploring Operation: 61-16=45, Resulting Numbers: [7, 45]
Generated Node #0,0,0: 15:[7, 45] Operation: 61-16=45
Moving to Node #0,0,0
Current State: 15:[7, 45], Operations: ['90-29=61', '61-16=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
84,
20,
10
] | 24 | [
"96-84=12",
"20/10=2",
"12*2=24"
] | Current State: 24:[96, 84, 20, 10], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [20, 10, 12]
Generated Node #2: [20, 10, 12] from Operation: 96-84=12
Current State: 24:[20, 10, 12], Operations: ['96-84=12']
Exploring Operation: 20/10=2, Resulting Numbers: [12, 2]
Generated Node #3: [12, 2] from Operation: 20/10=2
Current State: 24:[12, 2], Operations: ['96-84=12', '20/10=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[96, 84, 20, 10], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [20, 10, 12]
Generated Node #0,0: 24:[20, 10, 12] Operation: 96-84=12
Exploring Operation: 96-20=76, Resulting Numbers: [84, 10, 76]
Generated Node #0,1: 24:[84, 10, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[20, 10, 12], Operations: ['96-84=12']
Exploring Operation: 20/10=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 24:[12, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [12, 10]
Generated Node #0,0,1: 24:[12, 10] Operation: 20-10=10
Moving to Node #0,0,0
Current State: 24:[12, 2], Operations: ['96-84=12', '20/10=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[96, 84, 20, 10], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [20, 10, 12]
Generated Node #0,0: 24:[20, 10, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 24:[20, 10, 12], Operations: ['96-84=12']
Exploring Operation: 20/10=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 24:[12, 2] Operation: 20/10=2
Moving to Node #0,0,0
Current State: 24:[12, 2], Operations: ['96-84=12', '20/10=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
94,
65,
36,
87
] | 89 | [
"94+36=130",
"130/65=2",
"87+2=89"
] | Current State: 89:[94, 65, 36, 87], Operations: []
Exploring Operation: 94+36=130, Resulting Numbers: [65, 87, 130]
Generated Node #2: [65, 87, 130] from Operation: 94+36=130
Current State: 89:[65, 87, 130], Operations: ['94+36=130']
Exploring Operation: 130/65=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 130/65=2
Current State: 89:[87, 2], Operations: ['94+36=130', '130/65=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[94, 65, 36, 87], Operations: []
Exploring Operation: 94+36=130, Resulting Numbers: [65, 87, 130]
Generated Node #0,0: 89:[65, 87, 130] Operation: 94+36=130
Exploring Operation: 65+36=101, Resulting Numbers: [94, 87, 101]
Generated Node #0,1: 89:[94, 87, 101] Operation: 65+36=101
Exploring Operation: 94-36=58, Resulting Numbers: [65, 87, 58]
Generated Node #0,2: 89:[65, 87, 58] Operation: 94-36=58
Exploring Operation: 36+87=123, Resulting Numbers: [94, 65, 123]
Generated Node #0,3: 89:[94, 65, 123] Operation: 36+87=123
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[94, 87, 101], Operations: ['65+36=101']
Exploring Operation: 101-87=14, Resulting Numbers: [94, 14]
Generated Node #0,1,0: 89:[94, 14] Operation: 101-87=14
Exploring Operation: 101-94=7, Resulting Numbers: [87, 7]
Generated Node #0,1,1: 89:[87, 7] Operation: 101-94=7
Exploring Operation: 94-87=7, Resulting Numbers: [101, 7]
Generated Node #0,1,2: 89:[101, 7] Operation: 94-87=7
Exploring Operation: 94+87=181, Resulting Numbers: [101, 181]
Generated Node #0,1,3: 89:[101, 181] Operation: 94+87=181
Moving to Node #0,1,0
Current State: 89:[94, 14], Operations: ['65+36=101', '101-87=14']
Exploring Operation: 94*14=1316, Resulting Numbers: [1316]
1316,89 unequal: No Solution
Exploring Operation: 94+14=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[87, 7], Operations: ['65+36=101', '101-94=7']
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,89 unequal: No Solution
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[101, 7], Operations: ['65+36=101', '94-87=7']
Exploring Operation: 101*7=707, Resulting Numbers: [707]
707,89 unequal: No Solution
Exploring Operation: 101+7=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[101, 181], Operations: ['65+36=101', '94+87=181']
Exploring Operation: 101*181=18281, Resulting Numbers: [18281]
18281,89 unequal: No Solution
Exploring Operation: 101+181=282, Resulting Numbers: [282]
282,89 unequal: No Solution
Exploring Operation: 181-101=80, Resulting Numbers: [80]
80,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[65, 87, 58], Operations: ['94-36=58']
Exploring Operation: 87-58=29, Resulting Numbers: [65, 29]
Generated Node #0,2,0: 89:[65, 29] Operation: 87-58=29
Exploring Operation: 65+58=123, Resulting Numbers: [87, 123]
Generated Node #0,2,1: 89:[87, 123] Operation: 65+58=123
Exploring Operation: 87+58=145, Resulting Numbers: [65, 145]
Generated Node #0,2,2: 89:[65, 145] Operation: 87+58=145
Exploring Operation: 65-58=7, Resulting Numbers: [87, 7]
Generated Node #0,2,3: 89:[87, 7] Operation: 65-58=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[87, 123], Operations: ['94-36=58', '65+58=123']
Exploring Operation: 87+123=210, Resulting Numbers: [210]
210,89 unequal: No Solution
Exploring Operation: 123-87=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 87*123=10701, Resulting Numbers: [10701]
10701,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[65, 145], Operations: ['94-36=58', '87+58=145']
Exploring Operation: 145-65=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 65*145=9425, Resulting Numbers: [9425]
9425,89 unequal: No Solution
Exploring Operation: 65+145=210, Resulting Numbers: [210]
210,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[65, 29], Operations: ['94-36=58', '87-58=29']
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,89 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[87, 7], Operations: ['94-36=58', '65-58=7']
Exploring Operation: 87+7=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 87*7=609, Resulting Numbers: [609]
609,89 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[94, 65, 123], Operations: ['36+87=123']
Exploring Operation: 94+65=159, Resulting Numbers: [123, 159]
Generated Node #0,3,0: 89:[123, 159] Operation: 94+65=159
Exploring Operation: 94-65=29, Resulting Numbers: [123, 29]
Generated Node #0,3,1: 89:[123, 29] Operation: 94-65=29
Exploring Operation: 123-94=29, Resulting Numbers: [65, 29]
Generated Node #0,3,2: 89:[65, 29] Operation: 123-94=29
Exploring Operation: 123-65=58, Resulting Numbers: [94, 58]
Generated Node #0,3,3: 89:[94, 58] Operation: 123-65=58
Moving to Node #0,3,3
Current State: 89:[94, 58], Operations: ['36+87=123', '123-65=58']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 94+58=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 94*58=5452, Resulting Numbers: [5452]
5452,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[65, 29], Operations: ['36+87=123', '123-94=29']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[123, 29], Operations: ['36+87=123', '94-65=29']
Exploring Operation: 123-29=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 123+29=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 123*29=3567, Resulting Numbers: [3567]
3567,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[123, 159], Operations: ['36+87=123', '94+65=159']
Exploring Operation: 159-123=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 123+159=282, Resulting Numbers: [282]
282,89 unequal: No Solution
Exploring Operation: 123*159=19557, Resulting Numbers: [19557]
19557,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[65, 87, 130], Operations: ['94+36=130']
Exploring Operation: 130-65=65, Resulting Numbers: [87, 65]
Generated Node #0,0,0: 89:[87, 65] Operation: 130-65=65
Exploring Operation: 130-87=43, Resulting Numbers: [65, 43]
Generated Node #0,0,1: 89:[65, 43] Operation: 130-87=43
Exploring Operation: 65+87=152, Resulting Numbers: [130, 152]
Generated Node #0,0,2: 89:[130, 152] Operation: 65+87=152
Exploring Operation: 130/65=2, Resulting Numbers: [87, 2]
Generated Node #0,0,3: 89:[87, 2] Operation: 130/65=2
Moving to Node #0,0,0
Current State: 89:[87, 65], Operations: ['94+36=130', '130-65=65']
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,89 unequal: No Solution
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[65, 43], Operations: ['94+36=130', '130-87=43']
Exploring Operation: 65-43=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 65+43=108, Resulting Numbers: [108]
108,89 unequal: No Solution
Exploring Operation: 65*43=2795, Resulting Numbers: [2795]
2795,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[87, 2], Operations: ['94+36=130', '130/65=2']
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[94, 65, 36, 87], Operations: []
Exploring Operation: 94+36=130, Resulting Numbers: [65, 87, 130]
Generated Node #0,0: 89:[65, 87, 130] Operation: 94+36=130
Moving to Node #0,0
Current State: 89:[65, 87, 130], Operations: ['94+36=130']
Exploring Operation: 130/65=2, Resulting Numbers: [87, 2]
Generated Node #0,0,3: 89:[87, 2] Operation: 130/65=2
Moving to Node #0,0,3
Current State: 89:[87, 2], Operations: ['94+36=130', '130/65=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_4 | mult_heuristic |
[
36,
63,
92,
45
] | 20 | [
"63-36=27",
"92-45=47",
"47-27=20"
] | Current State: 20:[36, 63, 92, 45], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [92, 45, 27]
Generated Node #2: [92, 45, 27] from Operation: 63-36=27
Current State: 20:[92, 45, 27], Operations: ['63-36=27']
Exploring Operation: 92-45=47, Resulting Numbers: [27, 47]
Generated Node #3: [27, 47] from Operation: 92-45=47
Current State: 20:[27, 47], Operations: ['63-36=27', '92-45=47']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[36, 63, 92, 45], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [36, 92, 18]
Generated Node #0,0: 20:[36, 92, 18] Operation: 63-45=18
Exploring Operation: 92-45=47, Resulting Numbers: [36, 63, 47]
Generated Node #0,1: 20:[36, 63, 47] Operation: 92-45=47
Exploring Operation: 63-36=27, Resulting Numbers: [92, 45, 27]
Generated Node #0,2: 20:[92, 45, 27] Operation: 63-36=27
Exploring Operation: 92-63=29, Resulting Numbers: [36, 45, 29]
Generated Node #0,3: 20:[36, 45, 29] Operation: 92-63=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[36, 45, 29], Operations: ['92-63=29']
Exploring Operation: 36-29=7, Resulting Numbers: [45, 7]
Generated Node #0,3,0: 20:[45, 7] Operation: 36-29=7
Exploring Operation: 45-29=16, Resulting Numbers: [36, 16]
Generated Node #0,3,1: 20:[36, 16] Operation: 45-29=16
Exploring Operation: 45-36=9, Resulting Numbers: [29, 9]
Generated Node #0,3,2: 20:[29, 9] Operation: 45-36=9
Exploring Operation: 36+45=81, Resulting Numbers: [29, 81]
Generated Node #0,3,3: 20:[29, 81] Operation: 36+45=81
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 20:[29, 9], Operations: ['92-63=29', '45-36=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[36, 63, 92, 45], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [36, 45, 29]
Generated Node #0,3: 20:[36, 45, 29] Operation: 92-63=29
Moving to Node #0,3
Current State: 20:[36, 45, 29], Operations: ['92-63=29']
Exploring Operation: 45-36=9, Resulting Numbers: [29, 9]
Generated Node #0,3,2: 20:[29, 9] Operation: 45-36=9
Moving to Node #0,3,2
Current State: 20:[29, 9], Operations: ['92-63=29', '45-36=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
42,
55,
42,
35
] | 89 | [
"42/42=1",
"55+35=90",
"90-1=89"
] | Current State: 89:[42, 55, 42, 35], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [55, 35, 1]
Generated Node #2: [55, 35, 1] from Operation: 42/42=1
Current State: 89:[55, 35, 1], Operations: ['42/42=1']
Exploring Operation: 55+35=90, Resulting Numbers: [1, 90]
Generated Node #3: [1, 90] from Operation: 55+35=90
Current State: 89:[1, 90], Operations: ['42/42=1', '55+35=90']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[42, 55, 42, 35], Operations: []
Exploring Operation: 42+35=77, Resulting Numbers: [55, 42, 77]
Generated Node #0,0: 89:[55, 42, 77] Operation: 42+35=77
Exploring Operation: 55+35=90, Resulting Numbers: [42, 42, 90]
Generated Node #0,1: 89:[42, 42, 90] Operation: 55+35=90
Exploring Operation: 42+42=84, Resulting Numbers: [55, 35, 84]
Generated Node #0,2: 89:[55, 35, 84] Operation: 42+42=84
Exploring Operation: 42+35=77, Resulting Numbers: [42, 55, 77]
Generated Node #0,3: 89:[42, 55, 77] Operation: 42+35=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[55, 42, 77], Operations: ['42+35=77']
Exploring Operation: 77-42=35, Resulting Numbers: [55, 35]
Generated Node #0,0,0: 89:[55, 35] Operation: 77-42=35
Exploring Operation: 42+77=119, Resulting Numbers: [55, 119]
Generated Node #0,0,1: 89:[55, 119] Operation: 42+77=119
Exploring Operation: 55+42=97, Resulting Numbers: [77, 97]
Generated Node #0,0,2: 89:[77, 97] Operation: 55+42=97
Exploring Operation: 55-42=13, Resulting Numbers: [77, 13]
Generated Node #0,0,3: 89:[77, 13] Operation: 55-42=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[77, 97], Operations: ['42+35=77', '55+42=97']
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[55, 119], Operations: ['42+35=77', '42+77=119']
Exploring Operation: 55*119=6545, Resulting Numbers: [6545]
6545,89 unequal: No Solution
Exploring Operation: 55+119=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 119-55=64, Resulting Numbers: [64]
64,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[55, 35], Operations: ['42+35=77', '77-42=35']
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,89 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[77, 13], Operations: ['42+35=77', '55-42=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,89 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[55, 35, 84], Operations: ['42+42=84']
Exploring Operation: 35+84=119, Resulting Numbers: [55, 119]
Generated Node #0,2,0: 89:[55, 119] Operation: 35+84=119
Exploring Operation: 55+35=90, Resulting Numbers: [84, 90]
Generated Node #0,2,1: 89:[84, 90] Operation: 55+35=90
Exploring Operation: 84-35=49, Resulting Numbers: [55, 49]
Generated Node #0,2,2: 89:[55, 49] Operation: 84-35=49
Exploring Operation: 55-35=20, Resulting Numbers: [84, 20]
Generated Node #0,2,3: 89:[84, 20] Operation: 55-35=20
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[84, 90], Operations: ['42+42=84', '55+35=90']
Exploring Operation: 84+90=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 84*90=7560, Resulting Numbers: [7560]
7560,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[55, 119], Operations: ['42+42=84', '35+84=119']
Exploring Operation: 119-55=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 55*119=6545, Resulting Numbers: [6545]
6545,89 unequal: No Solution
Exploring Operation: 55+119=174, Resulting Numbers: [174]
174,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[55, 49], Operations: ['42+42=84', '84-35=49']
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,89 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[84, 20], Operations: ['42+42=84', '55-35=20']
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,89 unequal: No Solution
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,89 unequal: No Solution
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[42, 55, 77], Operations: ['42+35=77']
Exploring Operation: 55-42=13, Resulting Numbers: [77, 13]
Generated Node #0,3,0: 89:[77, 13] Operation: 55-42=13
Exploring Operation: 42+55=97, Resulting Numbers: [77, 97]
Generated Node #0,3,1: 89:[77, 97] Operation: 42+55=97
Exploring Operation: 42+77=119, Resulting Numbers: [55, 119]
Generated Node #0,3,2: 89:[55, 119] Operation: 42+77=119
Exploring Operation: 77-42=35, Resulting Numbers: [55, 35]
Generated Node #0,3,3: 89:[55, 35] Operation: 77-42=35
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[77, 97], Operations: ['42+35=77', '42+55=97']
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,89 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[55, 119], Operations: ['42+35=77', '42+77=119']
Exploring Operation: 55+119=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 55*119=6545, Resulting Numbers: [6545]
6545,89 unequal: No Solution
Exploring Operation: 119-55=64, Resulting Numbers: [64]
64,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[77, 13], Operations: ['42+35=77', '55-42=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,89 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[55, 35], Operations: ['42+35=77', '77-42=35']
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,89 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[42, 42, 90], Operations: ['55+35=90']
Exploring Operation: 90-42=48, Resulting Numbers: [42, 48]
Generated Node #0,1,0: 89:[42, 48] Operation: 90-42=48
Exploring Operation: 42+42=84, Resulting Numbers: [90, 84]
Generated Node #0,1,1: 89:[90, 84] Operation: 42+42=84
Exploring Operation: 42/42=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 89:[90, 1] Operation: 42/42=1
Exploring Operation: 90-42=48, Resulting Numbers: [42, 48]
Generated Node #0,1,3: 89:[42, 48] Operation: 90-42=48
Moving to Node #0,1,1
Current State: 89:[90, 84], Operations: ['55+35=90', '42+42=84']
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,89 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[42, 48], Operations: ['55+35=90', '90-42=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,89 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[42, 48], Operations: ['55+35=90', '90-42=48']
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,89 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[90, 1], Operations: ['55+35=90', '42/42=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[42, 55, 42, 35], Operations: []
Exploring Operation: 55+35=90, Resulting Numbers: [42, 42, 90]
Generated Node #0,1: 89:[42, 42, 90] Operation: 55+35=90
Moving to Node #0,1
Current State: 89:[42, 42, 90], Operations: ['55+35=90']
Exploring Operation: 42/42=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 89:[90, 1] Operation: 42/42=1
Moving to Node #0,1,2
Current State: 89:[90, 1], Operations: ['55+35=90', '42/42=1']
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.9375 | hs_4 | mult_heuristic |
[
13,
38,
80,
97
] | 42 | [
"38-13=25",
"97-80=17",
"25+17=42"
] | Current State: 42:[13, 38, 80, 97], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [80, 97, 25]
Generated Node #2: [80, 97, 25] from Operation: 38-13=25
Current State: 42:[80, 97, 25], Operations: ['38-13=25']
Exploring Operation: 97-80=17, Resulting Numbers: [25, 17]
Generated Node #3: [25, 17] from Operation: 97-80=17
Current State: 42:[25, 17], Operations: ['38-13=25', '97-80=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[13, 38, 80, 97], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [13, 97, 42]
Generated Node #0,0: 42:[13, 97, 42] Operation: 80-38=42
Exploring Operation: 80-13=67, Resulting Numbers: [38, 97, 67]
Generated Node #0,1: 42:[38, 97, 67] Operation: 80-13=67
Exploring Operation: 97-80=17, Resulting Numbers: [13, 38, 17]
Generated Node #0,2: 42:[13, 38, 17] Operation: 97-80=17
Exploring Operation: 97-38=59, Resulting Numbers: [13, 80, 59]
Generated Node #0,3: 42:[13, 80, 59] Operation: 97-38=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[13, 38, 17], Operations: ['97-80=17']
Exploring Operation: 38-17=21, Resulting Numbers: [13, 21]
Generated Node #0,2,0: 42:[13, 21] Operation: 38-17=21
Exploring Operation: 17-13=4, Resulting Numbers: [38, 4]
Generated Node #0,2,1: 42:[38, 4] Operation: 17-13=4
Exploring Operation: 38-13=25, Resulting Numbers: [17, 25]
Generated Node #0,2,2: 42:[17, 25] Operation: 38-13=25
Exploring Operation: 13+38=51, Resulting Numbers: [17, 51]
Generated Node #0,2,3: 42:[17, 51] Operation: 13+38=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[13, 21], Operations: ['97-80=17', '38-17=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,42 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,42 unequal: No Solution
No 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: 42:[38, 4], Operations: ['97-80=17', '17-13=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[13, 38, 80, 97], Operations: []
Exploring Operation: 97-80=17, Resulting Numbers: [13, 38, 17]
Generated Node #0,2: 42:[13, 38, 17] Operation: 97-80=17
Moving to Node #0,2
Current State: 42:[13, 38, 17], Operations: ['97-80=17']
Exploring Operation: 17-13=4, Resulting Numbers: [38, 4]
Generated Node #0,2,1: 42:[38, 4] Operation: 17-13=4
Moving to Node #0,2,1
Current State: 42:[38, 4], Operations: ['97-80=17', '17-13=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
6,
23,
89,
37
] | 12 | [
"6*23=138",
"89+37=126",
"138-126=12"
] | Current State: 12:[6, 23, 89, 37], Operations: []
Exploring Operation: 6*23=138, Resulting Numbers: [89, 37, 138]
Generated Node #2: [89, 37, 138] from Operation: 6*23=138
Current State: 12:[89, 37, 138], Operations: ['6*23=138']
Exploring Operation: 89+37=126, Resulting Numbers: [138, 126]
Generated Node #3: [138, 126] from Operation: 89+37=126
Current State: 12:[138, 126], Operations: ['6*23=138', '89+37=126']
Exploring Operation: 138-126=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 23, 89, 37], Operations: []
Exploring Operation: 89-6=83, Resulting Numbers: [23, 37, 83]
Generated Node #0,0: 12:[23, 37, 83] Operation: 89-6=83
Exploring Operation: 37-23=14, Resulting Numbers: [6, 89, 14]
Generated Node #0,1: 12:[6, 89, 14] Operation: 37-23=14
Exploring Operation: 23-6=17, Resulting Numbers: [89, 37, 17]
Generated Node #0,2: 12:[89, 37, 17] Operation: 23-6=17
Exploring Operation: 89-37=52, Resulting Numbers: [6, 23, 52]
Generated Node #0,3: 12:[6, 23, 52] Operation: 89-37=52
Exploring Operation: 89-23=66, Resulting Numbers: [6, 37, 66]
Generated Node #0,4: 12:[6, 37, 66] Operation: 89-23=66
Moving to Node #0,3
Current State: 12:[6, 23, 52], Operations: ['89-37=52']
Exploring Operation: 6+23=29, Resulting Numbers: [52, 29]
Generated Node #0,3,0: 12:[52, 29] Operation: 6+23=29
Exploring Operation: 52-6=46, Resulting Numbers: [23, 46]
Generated Node #0,3,1: 12:[23, 46] Operation: 52-6=46
Exploring Operation: 23-6=17, Resulting Numbers: [52, 17]
Generated Node #0,3,2: 12:[52, 17] Operation: 23-6=17
Exploring Operation: 6+52=58, Resulting Numbers: [23, 58]
Generated Node #0,3,3: 12:[23, 58] Operation: 6+52=58
Exploring Operation: 52-23=29, Resulting Numbers: [6, 29]
Generated Node #0,3,4: 12:[6, 29] Operation: 52-23=29
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 12:[6, 29], Operations: ['89-37=52', '52-23=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,12 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[23, 46], Operations: ['89-37=52', '52-6=46']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,12 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[52, 17], Operations: ['89-37=52', '23-6=17']
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,12 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[52, 29], Operations: ['89-37=52', '6+23=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,12 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[23, 58], Operations: ['89-37=52', '6+52=58']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 23*58=1334, Resulting Numbers: [1334]
1334,12 unequal: No Solution
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 12:[6, 37, 66], Operations: ['89-23=66']
Exploring Operation: 6+37=43, Resulting Numbers: [66, 43]
Generated Node #0,4,0: 12:[66, 43] Operation: 6+37=43
Exploring Operation: 66/6=11, Resulting Numbers: [37, 11]
Generated Node #0,4,1: 12:[37, 11] Operation: 66/6=11
Exploring Operation: 37-6=31, Resulting Numbers: [66, 31]
Generated Node #0,4,2: 12:[66, 31] Operation: 37-6=31
Exploring Operation: 66-6=60, Resulting Numbers: [37, 60]
Generated Node #0,4,3: 12:[37, 60] Operation: 66-6=60
Exploring Operation: 66-37=29, Resulting Numbers: [6, 29]
Generated Node #0,4,4: 12:[6, 29] Operation: 66-37=29
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 12:[6, 29], Operations: ['89-23=66', '66-37=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 12:[37, 11], Operations: ['89-23=66', '66/6=11']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 12:[66, 31], Operations: ['89-23=66', '37-6=31']
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 12:[37, 60], Operations: ['89-23=66', '66-6=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,12 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 12:[66, 43], Operations: ['89-23=66', '6+37=43']
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,12 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[6, 89, 14], Operations: ['37-23=14']
Exploring Operation: 89-14=75, Resulting Numbers: [6, 75]
Generated Node #0,1,0: 12:[6, 75] Operation: 89-14=75
Exploring Operation: 6+14=20, Resulting Numbers: [89, 20]
Generated Node #0,1,1: 12:[89, 20] Operation: 6+14=20
Exploring Operation: 14-6=8, Resulting Numbers: [89, 8]
Generated Node #0,1,2: 12:[89, 8] Operation: 14-6=8
Exploring Operation: 89-6=83, Resulting Numbers: [14, 83]
Generated Node #0,1,3: 12:[14, 83] Operation: 89-6=83
Exploring Operation: 6+89=95, Resulting Numbers: [14, 95]
Generated Node #0,1,4: 12:[14, 95] Operation: 6+89=95
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[6, 75], Operations: ['37-23=14', '89-14=75']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 6*75=450, Resulting Numbers: [450]
450,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[14, 83], Operations: ['37-23=14', '89-6=83']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[89, 8], Operations: ['37-23=14', '14-6=8']
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,12 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[89, 20], Operations: ['37-23=14', '6+14=20']
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,12 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[14, 95], Operations: ['37-23=14', '6+89=95']
Exploring Operation: 14*95=1330, Resulting Numbers: [1330]
1330,12 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 12:[23, 37, 83], Operations: ['89-6=83']
Exploring Operation: 83-23=60, Resulting Numbers: [37, 60]
Generated Node #0,0,0: 12:[37, 60] Operation: 83-23=60
Exploring Operation: 37-23=14, Resulting Numbers: [83, 14]
Generated Node #0,0,1: 12:[83, 14] Operation: 37-23=14
Exploring Operation: 83-37=46, Resulting Numbers: [23, 46]
Generated Node #0,0,2: 12:[23, 46] Operation: 83-37=46
Exploring Operation: 23+83=106, Resulting Numbers: [37, 106]
Generated Node #0,0,3: 12:[37, 106] Operation: 23+83=106
Exploring Operation: 23+37=60, Resulting Numbers: [83, 60]
Generated Node #0,0,4: 12:[83, 60] Operation: 23+37=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[23, 46], Operations: ['89-6=83', '83-37=46']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,12 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[37, 60], Operations: ['89-6=83', '83-23=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[83, 14], Operations: ['89-6=83', '37-23=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 83*14=1162, Resulting Numbers: [1162]
1162,12 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[37, 106], Operations: ['89-6=83', '23+83=106']
Exploring Operation: 37+106=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 37*106=3922, Resulting Numbers: [3922]
3922,12 unequal: No Solution
Exploring Operation: 106-37=69, Resulting Numbers: [69]
69,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[83, 60], Operations: ['89-6=83', '23+37=60']
Exploring Operation: 83+60=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 83*60=4980, Resulting Numbers: [4980]
4980,12 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: 12:[89, 37, 17], Operations: ['23-6=17']
Exploring Operation: 89-17=72, Resulting Numbers: [37, 72]
Generated Node #0,2,0: 12:[37, 72] Operation: 89-17=72
Exploring Operation: 89+17=106, Resulting Numbers: [37, 106]
Generated Node #0,2,1: 12:[37, 106] Operation: 89+17=106
Exploring Operation: 89-37=52, Resulting Numbers: [17, 52]
Generated Node #0,2,2: 12:[17, 52] Operation: 89-37=52
Exploring Operation: 89+37=126, Resulting Numbers: [17, 126]
Generated Node #0,2,3: 12:[17, 126] Operation: 89+37=126
Exploring Operation: 37-17=20, Resulting Numbers: [89, 20]
Generated Node #0,2,4: 12:[89, 20] Operation: 37-17=20
Moving to Node #0,2,2
Current State: 12:[17, 52], Operations: ['23-6=17', '89-37=52']
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,12 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Moving to Node #0,2,4
Current State: 12:[89, 20], Operations: ['23-6=17', '37-17=20']
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[37, 72], Operations: ['23-6=17', '89-17=72']
Exploring Operation: 37*72=2664, Resulting Numbers: [2664]
2664,12 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Exploring Operation: 37+72=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[37, 106], Operations: ['23-6=17', '89+17=106']
Exploring Operation: 106-37=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 37*106=3922, Resulting Numbers: [3922]
3922,12 unequal: No Solution
Exploring Operation: 37+106=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[17, 126], Operations: ['23-6=17', '89+37=126']
Exploring Operation: 17*126=2142, Resulting Numbers: [2142]
2142,12 unequal: No Solution
Exploring Operation: 126-17=109, Resulting Numbers: [109]
109,12 unequal: No Solution
Exploring Operation: 17+126=143, Resulting Numbers: [143]
143,12 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
36,
40,
41,
54
] | 54 | [
"40+41=81",
"36*81=2916",
"2916/54=54"
] | Current State: 54:[36, 40, 41, 54], Operations: []
Exploring Operation: 40+41=81, Resulting Numbers: [36, 54, 81]
Generated Node #2: [36, 54, 81] from Operation: 40+41=81
Current State: 54:[36, 54, 81], Operations: ['40+41=81']
Exploring Operation: 36*81=2916, Resulting Numbers: [54, 2916]
Generated Node #3: [54, 2916] from Operation: 36*81=2916
Current State: 54:[54, 2916], Operations: ['40+41=81', '36*81=2916']
Exploring Operation: 2916/54=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[36, 40, 41, 54], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [41, 54, 4]
Generated Node #0,0: 54:[41, 54, 4] Operation: 40-36=4
Exploring Operation: 41-40=1, Resulting Numbers: [36, 54, 1]
Generated Node #0,1: 54:[36, 54, 1] Operation: 41-40=1
Exploring Operation: 41-36=5, Resulting Numbers: [40, 54, 5]
Generated Node #0,2: 54:[40, 54, 5] Operation: 41-36=5
Moving to Node #0,1
Current State: 54:[36, 54, 1], Operations: ['41-40=1']
Exploring Operation: 54-36=18, Resulting Numbers: [1, 18]
Generated Node #0,1,0: 54:[1, 18] Operation: 54-36=18
Exploring Operation: 36*1=36, Resulting Numbers: [54, 36]
Generated Node #0,1,1: 54:[54, 36] Operation: 36*1=36
Exploring Operation: 36-1=35, Resulting Numbers: [54, 35]
Generated Node #0,1,2: 54:[54, 35] Operation: 36-1=35
Moving to Node #0,0
Current State: 54:[41, 54, 4], Operations: ['40-36=4']
Exploring Operation: 54-41=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 54:[4, 13] Operation: 54-41=13
Exploring Operation: 41-4=37, Resulting Numbers: [54, 37]
Generated Node #0,0,1: 54:[54, 37] Operation: 41-4=37
Exploring Operation: 41+4=45, Resulting Numbers: [54, 45]
Generated Node #0,0,2: 54:[54, 45] Operation: 41+4=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[4, 13], Operations: ['40-36=4', '54-41=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[54, 45], Operations: ['40-36=4', '41+4=45']
Exploring Operation: 54*45=2430, Resulting Numbers: [2430]
2430,54 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 54+45=99, Resulting Numbers: [99]
99,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[54, 37], Operations: ['40-36=4', '41-4=37']
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 54*37=1998, Resulting Numbers: [1998]
1998,54 unequal: No Solution
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,54 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: 54:[40, 54, 5], Operations: ['41-36=5']
Exploring Operation: 54-40=14, Resulting Numbers: [5, 14]
Generated Node #0,2,0: 54:[5, 14] Operation: 54-40=14
Exploring Operation: 40-5=35, Resulting Numbers: [54, 35]
Generated Node #0,2,1: 54:[54, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [54, 8]
Generated Node #0,2,2: 54:[54, 8] Operation: 40/5=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[54, 8], Operations: ['41-36=5', '40/5=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,54 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,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,2,0
Current State: 54:[5, 14], Operations: ['41-36=5', '54-40=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,54 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[54, 35], Operations: ['41-36=5', '40-5=35']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,54 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: 54:[1, 18], Operations: ['41-40=1', '54-36=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[54, 35], Operations: ['41-40=1', '36-1=35']
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[54, 36], Operations: ['41-40=1', '36*1=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,54 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
3,
17,
26
] | 65 | [
"35*26=910",
"17-3=14",
"910/14=65"
] | Current State: 65:[35, 3, 17, 26], Operations: []
Exploring Operation: 35*26=910, Resulting Numbers: [3, 17, 910]
Generated Node #2: [3, 17, 910] from Operation: 35*26=910
Current State: 65:[3, 17, 910], Operations: ['35*26=910']
Exploring Operation: 17-3=14, Resulting Numbers: [910, 14]
Generated Node #3: [910, 14] from Operation: 17-3=14
Current State: 65:[910, 14], Operations: ['35*26=910', '17-3=14']
Exploring Operation: 910/14=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[35, 3, 17, 26], Operations: []
Exploring Operation: 35+17=52, Resulting Numbers: [3, 26, 52]
Generated Node #0,0: 65:[3, 26, 52] Operation: 35+17=52
Exploring Operation: 35-26=9, Resulting Numbers: [3, 17, 9]
Generated Node #0,1: 65:[3, 17, 9] Operation: 35-26=9
Exploring Operation: 35-17=18, Resulting Numbers: [3, 26, 18]
Generated Node #0,2: 65:[3, 26, 18] Operation: 35-17=18
Exploring Operation: 35+26=61, Resulting Numbers: [3, 17, 61]
Generated Node #0,3: 65:[3, 17, 61] Operation: 35+26=61
Moving to Node #0,1
Current State: 65:[3, 17, 9], Operations: ['35-26=9']
Exploring Operation: 3+9=12, Resulting Numbers: [17, 12]
Generated Node #0,1,0: 65:[17, 12] Operation: 3+9=12
Exploring Operation: 17-9=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 65:[3, 8] Operation: 17-9=8
Exploring Operation: 17-3=14, Resulting Numbers: [9, 14]
Generated Node #0,1,2: 65:[9, 14] Operation: 17-3=14
Exploring Operation: 9-3=6, Resulting Numbers: [17, 6]
Generated Node #0,1,3: 65:[17, 6] Operation: 9-3=6
Moving to Node #0,3
Current State: 65:[3, 17, 61], Operations: ['35+26=61']
Exploring Operation: 17-3=14, Resulting Numbers: [61, 14]
Generated Node #0,3,0: 65:[61, 14] Operation: 17-3=14
Exploring Operation: 61-3=58, Resulting Numbers: [17, 58]
Generated Node #0,3,1: 65:[17, 58] Operation: 61-3=58
Exploring Operation: 3+61=64, Resulting Numbers: [17, 64]
Generated Node #0,3,2: 65:[17, 64] Operation: 3+61=64
Exploring Operation: 3+17=20, Resulting Numbers: [61, 20]
Generated Node #0,3,3: 65:[61, 20] Operation: 3+17=20
Moving to Node #0,2
Current State: 65:[3, 26, 18], Operations: ['35-17=18']
Exploring Operation: 26-3=23, Resulting Numbers: [18, 23]
Generated Node #0,2,0: 65:[18, 23] Operation: 26-3=23
Exploring Operation: 18/3=6, Resulting Numbers: [26, 6]
Generated Node #0,2,1: 65:[26, 6] Operation: 18/3=6
Exploring Operation: 18-3=15, Resulting Numbers: [26, 15]
Generated Node #0,2,2: 65:[26, 15] Operation: 18-3=15
Exploring Operation: 26-18=8, Resulting Numbers: [3, 8]
Generated Node #0,2,3: 65:[3, 8] Operation: 26-18=8
Moving to Node #0,0
Current State: 65:[3, 26, 52], Operations: ['35+17=52']
Exploring Operation: 52-26=26, Resulting Numbers: [3, 26]
Generated Node #0,0,0: 65:[3, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 65:[3, 2] Operation: 52/26=2
Exploring Operation: 26+52=78, Resulting Numbers: [3, 78]
Generated Node #0,0,2: 65:[3, 78] Operation: 26+52=78
Exploring Operation: 26-3=23, Resulting Numbers: [52, 23]
Generated Node #0,0,3: 65:[52, 23] Operation: 26-3=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[3, 2], Operations: ['35+17=52', '52/26=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[3, 26], Operations: ['35+17=52', '52-26=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[3, 78], Operations: ['35+17=52', '26+52=78']
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,65 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[52, 23], Operations: ['35+17=52', '26-3=23']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,65 unequal: No Solution
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,65 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: 65:[17, 12], Operations: ['35-26=9', '3+9=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[9, 14], Operations: ['35-26=9', '17-3=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[17, 64], Operations: ['35+26=61', '3+61=64']
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,65 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[3, 8], Operations: ['35-26=9', '17-9=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[61, 14], Operations: ['35+26=61', '17-3=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[17, 6], Operations: ['35-26=9', '9-3=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,65 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[3, 8], Operations: ['35-17=18', '26-18=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[17, 58], Operations: ['35+26=61', '61-3=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,65 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[61, 20], Operations: ['35+26=61', '3+17=20']
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,65 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[26, 6], Operations: ['35-17=18', '18/3=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,65 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[18, 23], Operations: ['35-17=18', '26-3=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,65 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[26, 15], Operations: ['35-17=18', '18-3=15']
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,65 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,65 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
75,
18,
3,
2
] | 63 | [
"75-18=57",
"3*2=6",
"57+6=63"
] | Current State: 63:[75, 18, 3, 2], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [3, 2, 57]
Generated Node #2: [3, 2, 57] from Operation: 75-18=57
Current State: 63:[3, 2, 57], Operations: ['75-18=57']
Exploring Operation: 3*2=6, Resulting Numbers: [57, 6]
Generated Node #3: [57, 6] from Operation: 3*2=6
Current State: 63:[57, 6], Operations: ['75-18=57', '3*2=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[75, 18, 3, 2], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [3, 2, 57]
Generated Node #0,0: 63:[3, 2, 57] Operation: 75-18=57
Moving to Node #0,0
Current State: 63:[3, 2, 57], Operations: ['75-18=57']
Exploring Operation: 57/3=19, Resulting Numbers: [2, 19]
Generated Node #0,0,0: 63:[2, 19] Operation: 57/3=19
Moving to Node #0,0,0
Current State: 63:[2, 19], Operations: ['75-18=57', '57/3=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,63 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
2,
58,
50
] | 10 | [
"36/2=18",
"58-50=8",
"18-8=10"
] | Current State: 10:[36, 2, 58, 50], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [58, 50, 18]
Generated Node #2: [58, 50, 18] from Operation: 36/2=18
Current State: 10:[58, 50, 18], Operations: ['36/2=18']
Exploring Operation: 58-50=8, Resulting Numbers: [18, 8]
Generated Node #3: [18, 8] from Operation: 58-50=8
Current State: 10:[18, 8], Operations: ['36/2=18', '58-50=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[36, 2, 58, 50], Operations: []
Exploring Operation: 58/2=29, Resulting Numbers: [36, 50, 29]
Generated Node #0,0: 10:[36, 50, 29] Operation: 58/2=29
Exploring Operation: 58-36=22, Resulting Numbers: [2, 50, 22]
Generated Node #0,1: 10:[2, 50, 22] Operation: 58-36=22
Exploring Operation: 58-50=8, Resulting Numbers: [36, 2, 8]
Generated Node #0,2: 10:[36, 2, 8] Operation: 58-50=8
Exploring Operation: 50-36=14, Resulting Numbers: [2, 58, 14]
Generated Node #0,3: 10:[2, 58, 14] Operation: 50-36=14
Moving to Node #0,2
Current State: 10:[36, 2, 8], Operations: ['58-50=8']
Exploring Operation: 36-8=28, Resulting Numbers: [2, 28]
Generated Node #0,2,0: 10:[2, 28] Operation: 36-8=28
Exploring Operation: 2+8=10, Resulting Numbers: [36, 10]
Generated Node #0,2,1: 10:[36, 10] Operation: 2+8=10
Exploring Operation: 36-2=34, Resulting Numbers: [8, 34]
Generated Node #0,2,2: 10:[8, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [8, 18]
Generated Node #0,2,3: 10:[8, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[8, 18], Operations: ['58-50=8', '36/2=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,10 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[36, 2, 58, 50], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [36, 2, 8]
Generated Node #0,2: 10:[36, 2, 8] Operation: 58-50=8
Moving to Node #0,2
Current State: 10:[36, 2, 8], Operations: ['58-50=8']
Exploring Operation: 36/2=18, Resulting Numbers: [8, 18]
Generated Node #0,2,3: 10:[8, 18] Operation: 36/2=18
Moving to Node #0,2,3
Current State: 10:[8, 18], Operations: ['58-50=8', '36/2=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
12,
10,
13,
85
] | 11 | [
"12+13=25",
"85+25=110",
"110/10=11"
] | Current State: 11:[12, 10, 13, 85], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [10, 85, 25]
Generated Node #2: [10, 85, 25] from Operation: 12+13=25
Current State: 11:[10, 85, 25], Operations: ['12+13=25']
Exploring Operation: 85+25=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 85+25=110
Current State: 11:[10, 110], Operations: ['12+13=25', '85+25=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[12, 10, 13, 85], Operations: []
Exploring Operation: 85-13=72, Resulting Numbers: [12, 10, 72]
Generated Node #0,0: 11:[12, 10, 72] Operation: 85-13=72
Exploring Operation: 85-12=73, Resulting Numbers: [10, 13, 73]
Generated Node #0,1: 11:[10, 13, 73] Operation: 85-12=73
Moving to Node #0,0
Current State: 11:[12, 10, 72], Operations: ['85-13=72']
Exploring Operation: 72-12=60, Resulting Numbers: [10, 60]
Generated Node #0,0,0: 11:[10, 60] Operation: 72-12=60
Exploring Operation: 72/12=6, Resulting Numbers: [10, 6]
Generated Node #0,0,1: 11:[10, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[10, 6], Operations: ['85-13=72', '72/12=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[10, 60], Operations: ['85-13=72', '72-12=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,11 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: 11:[10, 13, 73], Operations: ['85-12=73']
Exploring Operation: 73-13=60, Resulting Numbers: [10, 60]
Generated Node #0,1,0: 11:[10, 60] Operation: 73-13=60
Exploring Operation: 73-10=63, Resulting Numbers: [13, 63]
Generated Node #0,1,1: 11:[13, 63] Operation: 73-10=63
Moving to Node #0,1,0
Current State: 11:[10, 60], Operations: ['85-12=73', '73-13=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[13, 63], Operations: ['85-12=73', '73-10=63']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,11 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
41,
72,
5
] | 10 | [
"10*41=410",
"410/5=82",
"82-72=10"
] | Current State: 10:[10, 41, 72, 5], Operations: []
Exploring Operation: 10*41=410, Resulting Numbers: [72, 5, 410]
Generated Node #2: [72, 5, 410] from Operation: 10*41=410
Current State: 10:[72, 5, 410], Operations: ['10*41=410']
Exploring Operation: 410/5=82, Resulting Numbers: [72, 82]
Generated Node #3: [72, 82] from Operation: 410/5=82
Current State: 10:[72, 82], Operations: ['10*41=410', '410/5=82']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[10, 41, 72, 5], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [10, 5, 31]
Generated Node #0,0: 10:[10, 5, 31] Operation: 72-41=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[10, 5, 31], Operations: ['72-41=31']
Exploring Operation: 31-10=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 10:[5, 21] Operation: 31-10=21
Moving to Node #0,0,0
Current State: 10:[5, 21], Operations: ['72-41=31', '31-10=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,10 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 |
[
68,
29,
22,
24
] | 51 | [
"68+29=97",
"22+24=46",
"97-46=51"
] | Current State: 51:[68, 29, 22, 24], Operations: []
Exploring Operation: 68+29=97, Resulting Numbers: [22, 24, 97]
Generated Node #2: [22, 24, 97] from Operation: 68+29=97
Current State: 51:[22, 24, 97], Operations: ['68+29=97']
Exploring Operation: 22+24=46, Resulting Numbers: [97, 46]
Generated Node #3: [97, 46] from Operation: 22+24=46
Current State: 51:[97, 46], Operations: ['68+29=97', '22+24=46']
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[68, 29, 22, 24], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [22, 24, 39]
Generated Node #0,0: 51:[22, 24, 39] Operation: 68-29=39
Moving to Node #0,0
Current State: 51:[22, 24, 39], Operations: ['68-29=39']
Exploring Operation: 39-22=17, Resulting Numbers: [24, 17]
Generated Node #0,0,0: 51:[24, 17] Operation: 39-22=17
Moving to Node #0,0,0
Current State: 51:[24, 17], Operations: ['68-29=39', '39-22=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
76,
30,
98,
84
] | 16 | [
"84-76=8",
"30+98=128",
"128/8=16"
] | Current State: 16:[76, 30, 98, 84], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [30, 98, 8]
Generated Node #2: [30, 98, 8] from Operation: 84-76=8
Current State: 16:[30, 98, 8], Operations: ['84-76=8']
Exploring Operation: 30+98=128, Resulting Numbers: [8, 128]
Generated Node #3: [8, 128] from Operation: 30+98=128
Current State: 16:[8, 128], Operations: ['84-76=8', '30+98=128']
Exploring Operation: 128/8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[76, 30, 98, 84], Operations: []
Exploring Operation: 98-84=14, Resulting Numbers: [76, 30, 14]
Generated Node #0,0: 16:[76, 30, 14] Operation: 98-84=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[76, 30, 14], Operations: ['98-84=14']
Exploring Operation: 76-30=46, Resulting Numbers: [14, 46]
Generated Node #0,0,0: 16:[14, 46] Operation: 76-30=46
Moving to Node #0,0,0
Current State: 16:[14, 46], Operations: ['98-84=14', '76-30=46']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,16 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 |
[
17,
60,
32,
44
] | 32 | [
"60-17=43",
"44-43=1",
"32*1=32"
] | Current State: 32:[17, 60, 32, 44], Operations: []
Exploring Operation: 60-17=43, Resulting Numbers: [32, 44, 43]
Generated Node #2: [32, 44, 43] from Operation: 60-17=43
Current State: 32:[32, 44, 43], Operations: ['60-17=43']
Exploring Operation: 44-43=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 44-43=1
Current State: 32:[32, 1], Operations: ['60-17=43', '44-43=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[17, 60, 32, 44], Operations: []
Exploring Operation: 60-44=16, Resulting Numbers: [17, 32, 16]
Generated Node #0,0: 32:[17, 32, 16] Operation: 60-44=16
Exploring Operation: 60-32=28, Resulting Numbers: [17, 44, 28]
Generated Node #0,1: 32:[17, 44, 28] Operation: 60-32=28
Moving to Node #0,0
Current State: 32:[17, 32, 16], Operations: ['60-44=16']
Exploring Operation: 17+16=33, Resulting Numbers: [32, 33]
Generated Node #0,0,0: 32:[32, 33] Operation: 17+16=33
Exploring Operation: 32-17=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 32:[16, 15] Operation: 32-17=15
Moving to Node #0,1
Current State: 32:[17, 44, 28], Operations: ['60-32=28']
Exploring Operation: 44-28=16, Resulting Numbers: [17, 16]
Generated Node #0,1,0: 32:[17, 16] Operation: 44-28=16
Exploring Operation: 44-17=27, Resulting Numbers: [28, 27]
Generated Node #0,1,1: 32:[28, 27] Operation: 44-17=27
Moving to Node #0,0,0
Current State: 32:[32, 33], Operations: ['60-44=16', '17+16=33']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[17, 16], Operations: ['60-32=28', '44-28=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[16, 15], Operations: ['60-44=16', '32-17=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[28, 27], Operations: ['60-32=28', '44-17=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,32 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,32 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
9,
63,
15
] | 36 | [
"14+15=29",
"63/9=7",
"29+7=36"
] | Current State: 36:[14, 9, 63, 15], Operations: []
Exploring Operation: 14+15=29, Resulting Numbers: [9, 63, 29]
Generated Node #2: [9, 63, 29] from Operation: 14+15=29
Current State: 36:[9, 63, 29], Operations: ['14+15=29']
Exploring Operation: 63/9=7, Resulting Numbers: [29, 7]
Generated Node #3: [29, 7] from Operation: 63/9=7
Current State: 36:[29, 7], Operations: ['14+15=29', '63/9=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[14, 9, 63, 15], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [14, 15, 7]
Generated Node #0,0: 36:[14, 15, 7] Operation: 63/9=7
Exploring Operation: 63-14=49, Resulting Numbers: [9, 15, 49]
Generated Node #0,1: 36:[9, 15, 49] Operation: 63-14=49
Exploring Operation: 63-15=48, Resulting Numbers: [14, 9, 48]
Generated Node #0,2: 36:[14, 9, 48] Operation: 63-15=48
Moving to Node #0,0
Current State: 36:[14, 15, 7], Operations: ['63/9=7']
Exploring Operation: 14/7=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 36:[15, 2] Operation: 14/7=2
Exploring Operation: 15-14=1, Resulting Numbers: [7, 1]
Generated Node #0,0,1: 36:[7, 1] Operation: 15-14=1
Exploring Operation: 15-7=8, Resulting Numbers: [14, 8]
Generated Node #0,0,2: 36:[14, 8] Operation: 15-7=8
Moving to Node #0,2
Current State: 36:[14, 9, 48], Operations: ['63-15=48']
Exploring Operation: 48-9=39, Resulting Numbers: [14, 39]
Generated Node #0,2,0: 36:[14, 39] Operation: 48-9=39
Exploring Operation: 14-9=5, Resulting Numbers: [48, 5]
Generated Node #0,2,1: 36:[48, 5] Operation: 14-9=5
Exploring Operation: 48-14=34, Resulting Numbers: [9, 34]
Generated Node #0,2,2: 36:[9, 34] Operation: 48-14=34
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[9, 34], Operations: ['63-15=48', '48-14=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[14, 39], Operations: ['63-15=48', '48-9=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[48, 5], Operations: ['63-15=48', '14-9=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,36 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[9, 15, 49], Operations: ['63-14=49']
Exploring Operation: 49-15=34, Resulting Numbers: [9, 34]
Generated Node #0,1,0: 36:[9, 34] Operation: 49-15=34
Exploring Operation: 15-9=6, Resulting Numbers: [49, 6]
Generated Node #0,1,1: 36:[49, 6] Operation: 15-9=6
Exploring Operation: 49-9=40, Resulting Numbers: [15, 40]
Generated Node #0,1,2: 36:[15, 40] Operation: 49-9=40
Moving to Node #0,0,1
Current State: 36:[7, 1], Operations: ['63/9=7', '15-14=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[9, 34], Operations: ['63-14=49', '49-15=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,36 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[14, 8], Operations: ['63/9=7', '15-7=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,36 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[15, 2], Operations: ['63/9=7', '14/7=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[15, 40], Operations: ['63-14=49', '49-9=40']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[49, 6], Operations: ['63-14=49', '15-9=6']
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,36 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,36 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
68,
38,
79
] | 38 | [
"12+68=80",
"80-79=1",
"38*1=38"
] | Current State: 38:[12, 68, 38, 79], Operations: []
Exploring Operation: 12+68=80, Resulting Numbers: [38, 79, 80]
Generated Node #2: [38, 79, 80] from Operation: 12+68=80
Current State: 38:[38, 79, 80], Operations: ['12+68=80']
Exploring Operation: 80-79=1, Resulting Numbers: [38, 1]
Generated Node #3: [38, 1] from Operation: 80-79=1
Current State: 38:[38, 1], Operations: ['12+68=80', '80-79=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[12, 68, 38, 79], Operations: []
Exploring Operation: 68-38=30, Resulting Numbers: [12, 79, 30]
Generated Node #0,0: 38:[12, 79, 30] Operation: 68-38=30
Exploring Operation: 79-38=41, Resulting Numbers: [12, 68, 41]
Generated Node #0,1: 38:[12, 68, 41] Operation: 79-38=41
Exploring Operation: 79-68=11, Resulting Numbers: [12, 38, 11]
Generated Node #0,2: 38:[12, 38, 11] Operation: 79-68=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[12, 38, 11], Operations: ['79-68=11']
Exploring Operation: 38-12=26, Resulting Numbers: [11, 26]
Generated Node #0,2,0: 38:[11, 26] Operation: 38-12=26
Exploring Operation: 12+11=23, Resulting Numbers: [38, 23]
Generated Node #0,2,1: 38:[38, 23] Operation: 12+11=23
Exploring Operation: 12-11=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 38:[38, 1] Operation: 12-11=1
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[38, 1], Operations: ['79-68=11', '12-11=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[12, 68, 38, 79], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [12, 38, 11]
Generated Node #0,2: 38:[12, 38, 11] Operation: 79-68=11
Moving to Node #0,2
Current State: 38:[12, 38, 11], Operations: ['79-68=11']
Exploring Operation: 12-11=1, Resulting Numbers: [38, 1]
Generated Node #0,2,2: 38:[38, 1] Operation: 12-11=1
Moving to Node #0,2,2
Current State: 38:[38, 1], Operations: ['79-68=11', '12-11=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
31,
23,
49,
23
] | 79 | [
"31+49=80",
"23/23=1",
"80-1=79"
] | Current State: 79:[31, 23, 49, 23], Operations: []
Exploring Operation: 31+49=80, Resulting Numbers: [23, 23, 80]
Generated Node #2: [23, 23, 80] from Operation: 31+49=80
Current State: 79:[23, 23, 80], Operations: ['31+49=80']
Exploring Operation: 23/23=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 23/23=1
Current State: 79:[80, 1], Operations: ['31+49=80', '23/23=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[31, 23, 49, 23], Operations: []
Exploring Operation: 23+23=46, Resulting Numbers: [31, 49, 46]
Generated Node #0,0: 79:[31, 49, 46] Operation: 23+23=46
Exploring Operation: 23+49=72, Resulting Numbers: [31, 23, 72]
Generated Node #0,1: 79:[31, 23, 72] Operation: 23+49=72
Exploring Operation: 49+23=72, Resulting Numbers: [31, 23, 72]
Generated Node #0,2: 79:[31, 23, 72] Operation: 49+23=72
Exploring Operation: 31+23=54, Resulting Numbers: [49, 23, 54]
Generated Node #0,3: 79:[49, 23, 54] Operation: 31+23=54
Exploring Operation: 31+23=54, Resulting Numbers: [23, 49, 54]
Generated Node #0,4: 79:[23, 49, 54] Operation: 31+23=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[31, 49, 46], Operations: ['23+23=46']
Exploring Operation: 46-31=15, Resulting Numbers: [49, 15]
Generated Node #0,0,0: 79:[49, 15] Operation: 46-31=15
Exploring Operation: 49-31=18, Resulting Numbers: [46, 18]
Generated Node #0,0,1: 79:[46, 18] Operation: 49-31=18
Exploring Operation: 31+49=80, Resulting Numbers: [46, 80]
Generated Node #0,0,2: 79:[46, 80] Operation: 31+49=80
Exploring Operation: 49+46=95, Resulting Numbers: [31, 95]
Generated Node #0,0,3: 79:[31, 95] Operation: 49+46=95
Exploring Operation: 31+46=77, Resulting Numbers: [49, 77]
Generated Node #0,0,4: 79:[49, 77] Operation: 31+46=77
Moving to Node #0,0,4
Current State: 79:[49, 77], Operations: ['23+23=46', '31+46=77']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,79 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[46, 80], Operations: ['23+23=46', '31+49=80']
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[31, 95], Operations: ['23+23=46', '49+46=95']
Exploring Operation: 31+95=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 31*95=2945, Resulting Numbers: [2945]
2945,79 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[49, 15], Operations: ['23+23=46', '46-31=15']
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[46, 18], Operations: ['23+23=46', '49-31=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,79 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[31, 23, 72], Operations: ['23+49=72']
Exploring Operation: 31-23=8, Resulting Numbers: [72, 8]
Generated Node #0,1,0: 79:[72, 8] Operation: 31-23=8
Exploring Operation: 23+72=95, Resulting Numbers: [31, 95]
Generated Node #0,1,1: 79:[31, 95] Operation: 23+72=95
Exploring Operation: 31+72=103, Resulting Numbers: [23, 103]
Generated Node #0,1,2: 79:[23, 103] Operation: 31+72=103
Exploring Operation: 72-23=49, Resulting Numbers: [31, 49]
Generated Node #0,1,3: 79:[31, 49] Operation: 72-23=49
Exploring Operation: 31+23=54, Resulting Numbers: [72, 54]
Generated Node #0,1,4: 79:[72, 54] Operation: 31+23=54
Moving to Node #0,1,4
Current State: 79:[72, 54], Operations: ['23+49=72', '31+23=54']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,79 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[31, 95], Operations: ['23+49=72', '23+72=95']
Exploring Operation: 31*95=2945, Resulting Numbers: [2945]
2945,79 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 31+95=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[72, 8], Operations: ['23+49=72', '31-23=8']
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[31, 49], Operations: ['23+49=72', '72-23=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,79 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[23, 103], Operations: ['23+49=72', '31+72=103']
Exploring Operation: 23*103=2369, Resulting Numbers: [2369]
2369,79 unequal: No Solution
Exploring Operation: 23+103=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[31, 23, 72], Operations: ['49+23=72']
Exploring Operation: 31+23=54, Resulting Numbers: [72, 54]
Generated Node #0,2,0: 79:[72, 54] Operation: 31+23=54
Exploring Operation: 31-23=8, Resulting Numbers: [72, 8]
Generated Node #0,2,1: 79:[72, 8] Operation: 31-23=8
Exploring Operation: 72-23=49, Resulting Numbers: [31, 49]
Generated Node #0,2,2: 79:[31, 49] Operation: 72-23=49
Exploring Operation: 31+72=103, Resulting Numbers: [23, 103]
Generated Node #0,2,3: 79:[23, 103] Operation: 31+72=103
Exploring Operation: 23+72=95, Resulting Numbers: [31, 95]
Generated Node #0,2,4: 79:[31, 95] Operation: 23+72=95
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[72, 54], Operations: ['49+23=72', '31+23=54']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,79 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,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,4
Current State: 79:[31, 95], Operations: ['49+23=72', '23+72=95']
Exploring Operation: 31+95=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 31*95=2945, Resulting Numbers: [2945]
2945,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:[72, 8], Operations: ['49+23=72', '31-23=8']
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,79 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,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,2
Current State: 79:[31, 49], Operations: ['49+23=72', '72-23=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,79 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,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,3
Current State: 79:[23, 103], Operations: ['49+23=72', '31+72=103']
Exploring Operation: 23*103=2369, Resulting Numbers: [2369]
2369,79 unequal: No Solution
Exploring Operation: 23+103=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,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,3
Current State: 79:[49, 23, 54], Operations: ['31+23=54']
Exploring Operation: 49+54=103, Resulting Numbers: [23, 103]
Generated Node #0,3,0: 79:[23, 103] Operation: 49+54=103
Exploring Operation: 54-23=31, Resulting Numbers: [49, 31]
Generated Node #0,3,1: 79:[49, 31] Operation: 54-23=31
Exploring Operation: 49-23=26, Resulting Numbers: [54, 26]
Generated Node #0,3,2: 79:[54, 26] Operation: 49-23=26
Exploring Operation: 23+54=77, Resulting Numbers: [49, 77]
Generated Node #0,3,3: 79:[49, 77] Operation: 23+54=77
Exploring Operation: 49+23=72, Resulting Numbers: [54, 72]
Generated Node #0,3,4: 79:[54, 72] Operation: 49+23=72
Moving to Node #0,3,3
Current State: 79:[49, 77], Operations: ['31+23=54', '23+54=77']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[54, 72], Operations: ['31+23=54', '49+23=72']
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,79 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[49, 31], Operations: ['31+23=54', '54-23=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[54, 26], Operations: ['31+23=54', '49-23=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,79 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[23, 103], Operations: ['31+23=54', '49+54=103']
Exploring Operation: 23*103=2369, Resulting Numbers: [2369]
2369,79 unequal: No Solution
Exploring Operation: 23+103=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[23, 49, 54], Operations: ['31+23=54']
Exploring Operation: 23+54=77, Resulting Numbers: [49, 77]
Generated Node #0,4,0: 79:[49, 77] Operation: 23+54=77
Exploring Operation: 54-23=31, Resulting Numbers: [49, 31]
Generated Node #0,4,1: 79:[49, 31] Operation: 54-23=31
Exploring Operation: 23+49=72, Resulting Numbers: [54, 72]
Generated Node #0,4,2: 79:[54, 72] Operation: 23+49=72
Exploring Operation: 49+54=103, Resulting Numbers: [23, 103]
Generated Node #0,4,3: 79:[23, 103] Operation: 49+54=103
Exploring Operation: 49-23=26, Resulting Numbers: [54, 26]
Generated Node #0,4,4: 79:[54, 26] Operation: 49-23=26
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 79:[49, 77], Operations: ['31+23=54', '23+54=77']
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,79 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,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,4,2
Current State: 79:[54, 72], Operations: ['31+23=54', '23+49=72']
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,79 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,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,4,1
Current State: 79:[49, 31], Operations: ['31+23=54', '54-23=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,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,4,4
Current State: 79:[54, 26], Operations: ['31+23=54', '49-23=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,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,4,3
Current State: 79:[23, 103], Operations: ['31+23=54', '49+54=103']
Exploring Operation: 23+103=126, Resulting Numbers: [126]
126,79 unequal: No Solution
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 23*103=2369, Resulting Numbers: [2369]
2369,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
89,
13,
3,
83
] | 39 | [
"89-3=86",
"86-83=3",
"13*3=39"
] | Current State: 39:[89, 13, 3, 83], Operations: []
Exploring Operation: 89-3=86, Resulting Numbers: [13, 83, 86]
Generated Node #2: [13, 83, 86] from Operation: 89-3=86
Current State: 39:[13, 83, 86], Operations: ['89-3=86']
Exploring Operation: 86-83=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 86-83=3
Current State: 39:[13, 3], Operations: ['89-3=86', '86-83=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[89, 13, 3, 83], Operations: []
Exploring Operation: 89-13=76, Resulting Numbers: [3, 83, 76]
Generated Node #0,0: 39:[3, 83, 76] Operation: 89-13=76
Exploring Operation: 89-83=6, Resulting Numbers: [13, 3, 6]
Generated Node #0,1: 39:[13, 3, 6] Operation: 89-83=6
Moving to Node #0,1
Current State: 39:[13, 3, 6], Operations: ['89-83=6']
Exploring Operation: 6-3=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 39:[13, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [13, 2]
Generated Node #0,1,1: 39:[13, 2] Operation: 6/3=2
Moving to Node #0,0
Current State: 39:[3, 83, 76], Operations: ['89-13=76']
Exploring Operation: 83-3=80, Resulting Numbers: [76, 80]
Generated Node #0,0,0: 39:[76, 80] Operation: 83-3=80
Exploring Operation: 83-76=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 39:[3, 7] Operation: 83-76=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[3, 7], Operations: ['89-13=76', '83-76=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[76, 80], Operations: ['89-13=76', '83-3=80']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,39 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: 39:[13, 3], Operations: ['89-83=6', '6-3=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[89, 13, 3, 83], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [13, 3, 6]
Generated Node #0,1: 39:[13, 3, 6] Operation: 89-83=6
Moving to Node #0,1
Current State: 39:[13, 3, 6], Operations: ['89-83=6']
Exploring Operation: 6-3=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 39:[13, 3] Operation: 6-3=3
Moving to Node #0,1,0
Current State: 39:[13, 3], Operations: ['89-83=6', '6-3=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
50,
94,
98,
32
] | 56 | [
"94+98=192",
"192/32=6",
"50+6=56"
] | Current State: 56:[50, 94, 98, 32], Operations: []
Exploring Operation: 94+98=192, Resulting Numbers: [50, 32, 192]
Generated Node #2: [50, 32, 192] from Operation: 94+98=192
Current State: 56:[50, 32, 192], Operations: ['94+98=192']
Exploring Operation: 192/32=6, Resulting Numbers: [50, 6]
Generated Node #3: [50, 6] from Operation: 192/32=6
Current State: 56:[50, 6], Operations: ['94+98=192', '192/32=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[50, 94, 98, 32], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [50, 32, 4]
Generated Node #0,0: 56:[50, 32, 4] Operation: 98-94=4
Exploring Operation: 94-32=62, Resulting Numbers: [50, 98, 62]
Generated Node #0,1: 56:[50, 98, 62] Operation: 94-32=62
Exploring Operation: 98-50=48, Resulting Numbers: [94, 32, 48]
Generated Node #0,2: 56:[94, 32, 48] Operation: 98-50=48
Exploring Operation: 98-32=66, Resulting Numbers: [50, 94, 66]
Generated Node #0,3: 56:[50, 94, 66] Operation: 98-32=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[50, 32, 4], Operations: ['98-94=4']
Exploring Operation: 32-4=28, Resulting Numbers: [50, 28]
Generated Node #0,0,0: 56:[50, 28] Operation: 32-4=28
Exploring Operation: 50-32=18, Resulting Numbers: [4, 18]
Generated Node #0,0,1: 56:[4, 18] Operation: 50-32=18
Exploring Operation: 50+4=54, Resulting Numbers: [32, 54]
Generated Node #0,0,2: 56:[32, 54] Operation: 50+4=54
Exploring Operation: 32/4=8, Resulting Numbers: [50, 8]
Generated Node #0,0,3: 56:[50, 8] Operation: 32/4=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[4, 18], Operations: ['98-94=4', '50-32=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,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,0,0
Current State: 56:[50, 28], Operations: ['98-94=4', '32-4=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,56 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,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,0,2
Current State: 56:[32, 54], Operations: ['98-94=4', '50+4=54']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,56 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,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,0,3
Current State: 56:[50, 8], Operations: ['98-94=4', '32/4=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[94, 32, 48], Operations: ['98-50=48']
Exploring Operation: 48-32=16, Resulting Numbers: [94, 16]
Generated Node #0,2,0: 56:[94, 16] Operation: 48-32=16
Exploring Operation: 94-48=46, Resulting Numbers: [32, 46]
Generated Node #0,2,1: 56:[32, 46] Operation: 94-48=46
Exploring Operation: 32+48=80, Resulting Numbers: [94, 80]
Generated Node #0,2,2: 56:[94, 80] Operation: 32+48=80
Exploring Operation: 94-32=62, Resulting Numbers: [48, 62]
Generated Node #0,2,3: 56:[48, 62] Operation: 94-32=62
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[32, 46], Operations: ['98-50=48', '94-48=46']
Exploring Operation: 32*46=1472, Resulting Numbers: [1472]
1472,56 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 32+46=78, Resulting Numbers: [78]
78,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 56:[48, 62], Operations: ['98-50=48', '94-32=62']
Exploring Operation: 48*62=2976, Resulting Numbers: [2976]
2976,56 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 48+62=110, Resulting Numbers: [110]
110,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[94, 16], Operations: ['98-50=48', '48-32=16']
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,56 unequal: No Solution
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[94, 80], Operations: ['98-50=48', '32+48=80']
Exploring Operation: 94+80=174, Resulting Numbers: [174]
174,56 unequal: No Solution
Exploring Operation: 94*80=7520, Resulting Numbers: [7520]
7520,56 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[50, 98, 62], Operations: ['94-32=62']
Exploring Operation: 98-50=48, Resulting Numbers: [62, 48]
Generated Node #0,1,0: 56:[62, 48] Operation: 98-50=48
Exploring Operation: 98-62=36, Resulting Numbers: [50, 36]
Generated Node #0,1,1: 56:[50, 36] Operation: 98-62=36
Exploring Operation: 50+98=148, Resulting Numbers: [62, 148]
Generated Node #0,1,2: 56:[62, 148] Operation: 50+98=148
Exploring Operation: 62-50=12, Resulting Numbers: [98, 12]
Generated Node #0,1,3: 56:[98, 12] Operation: 62-50=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[62, 48], Operations: ['94-32=62', '98-50=48']
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[50, 36], Operations: ['94-32=62', '98-62=36']
Exploring Operation: 50-36=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 50+36=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 50*36=1800, Resulting Numbers: [1800]
1800,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[98, 12], Operations: ['94-32=62', '62-50=12']
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 98+12=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 98*12=1176, Resulting Numbers: [1176]
1176,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[62, 148], Operations: ['94-32=62', '50+98=148']
Exploring Operation: 62+148=210, Resulting Numbers: [210]
210,56 unequal: No Solution
Exploring Operation: 148-62=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 62*148=9176, Resulting Numbers: [9176]
9176,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[50, 94, 66], Operations: ['98-32=66']
Exploring Operation: 94-50=44, Resulting Numbers: [66, 44]
Generated Node #0,3,0: 56:[66, 44] Operation: 94-50=44
Exploring Operation: 66-50=16, Resulting Numbers: [94, 16]
Generated Node #0,3,1: 56:[94, 16] Operation: 66-50=16
Exploring Operation: 94-66=28, Resulting Numbers: [50, 28]
Generated Node #0,3,2: 56:[50, 28] Operation: 94-66=28
Exploring Operation: 50+94=144, Resulting Numbers: [66, 144]
Generated Node #0,3,3: 56:[66, 144] Operation: 50+94=144
Moving to Node #0,3,2
Current State: 56:[50, 28], Operations: ['98-32=66', '94-66=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,56 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[66, 44], Operations: ['98-32=66', '94-50=44']
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,56 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[94, 16], Operations: ['98-32=66', '66-50=16']
Exploring Operation: 94*16=1504, Resulting Numbers: [1504]
1504,56 unequal: No Solution
Exploring Operation: 94+16=110, Resulting Numbers: [110]
110,56 unequal: No Solution
Exploring Operation: 94-16=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[66, 144], Operations: ['98-32=66', '50+94=144']
Exploring Operation: 144-66=78, Resulting Numbers: [78]
78,56 unequal: No Solution
Exploring Operation: 66*144=9504, Resulting Numbers: [9504]
9504,56 unequal: No Solution
Exploring Operation: 66+144=210, Resulting Numbers: [210]
210,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
13,
18,
7,
25
] | 22 | [
"13-7=6",
"18/6=3",
"25-3=22"
] | Current State: 22:[13, 18, 7, 25], Operations: []
Exploring Operation: 13-7=6, Resulting Numbers: [18, 25, 6]
Generated Node #2: [18, 25, 6] from Operation: 13-7=6
Current State: 22:[18, 25, 6], Operations: ['13-7=6']
Exploring Operation: 18/6=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 18/6=3
Current State: 22:[25, 3], Operations: ['13-7=6', '18/6=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[13, 18, 7, 25], Operations: []
Exploring Operation: 18+7=25, Resulting Numbers: [13, 25, 25]
Generated Node #0,0: 22:[13, 25, 25] Operation: 18+7=25
Exploring Operation: 18-7=11, Resulting Numbers: [13, 25, 11]
Generated Node #0,1: 22:[13, 25, 11] Operation: 18-7=11
Exploring Operation: 13+7=20, Resulting Numbers: [18, 25, 20]
Generated Node #0,2: 22:[18, 25, 20] Operation: 13+7=20
Moving to Node #0,1
Current State: 22:[13, 25, 11], Operations: ['18-7=11']
Exploring Operation: 13-11=2, Resulting Numbers: [25, 2]
Generated Node #0,1,0: 22:[25, 2] Operation: 13-11=2
Exploring Operation: 25-13=12, Resulting Numbers: [11, 12]
Generated Node #0,1,1: 22:[11, 12] Operation: 25-13=12
Exploring Operation: 13+11=24, Resulting Numbers: [25, 24]
Generated Node #0,1,2: 22:[25, 24] Operation: 13+11=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[11, 12], Operations: ['18-7=11', '25-13=12']
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,22 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[25, 2], Operations: ['18-7=11', '13-11=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[25, 24], Operations: ['18-7=11', '13+11=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,22 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,22 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 22:[13, 25, 25], Operations: ['18+7=25']
Exploring Operation: 25/25=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 22:[13, 1] Operation: 25/25=1
Exploring Operation: 25-13=12, Resulting Numbers: [25, 12]
Generated Node #0,0,1: 22:[25, 12] Operation: 25-13=12
Exploring Operation: 25-13=12, Resulting Numbers: [25, 12]
Generated Node #0,0,2: 22:[25, 12] Operation: 25-13=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[13, 1], Operations: ['18+7=25', '25/25=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[25, 12], Operations: ['18+7=25', '25-13=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[25, 12], Operations: ['18+7=25', '25-13=12']
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,22 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,22 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: 22:[18, 25, 20], Operations: ['13+7=20']
Exploring Operation: 20-18=2, Resulting Numbers: [25, 2]
Generated Node #0,2,0: 22:[25, 2] Operation: 20-18=2
Exploring Operation: 25-18=7, Resulting Numbers: [20, 7]
Generated Node #0,2,1: 22:[20, 7] Operation: 25-18=7
Exploring Operation: 25-20=5, Resulting Numbers: [18, 5]
Generated Node #0,2,2: 22:[18, 5] Operation: 25-20=5
Moving to Node #0,2,0
Current State: 22:[25, 2], Operations: ['13+7=20', '20-18=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,22 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[20, 7], Operations: ['13+7=20', '25-18=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,22 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[18, 5], Operations: ['13+7=20', '25-20=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,22 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,22 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
79,
36,
54,
5
] | 11 | [
"54-36=18",
"5*18=90",
"90-79=11"
] | Current State: 11:[79, 36, 54, 5], Operations: []
Exploring Operation: 54-36=18, Resulting Numbers: [79, 5, 18]
Generated Node #2: [79, 5, 18] from Operation: 54-36=18
Current State: 11:[79, 5, 18], Operations: ['54-36=18']
Exploring Operation: 5*18=90, Resulting Numbers: [79, 90]
Generated Node #3: [79, 90] from Operation: 5*18=90
Current State: 11:[79, 90], Operations: ['54-36=18', '5*18=90']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[79, 36, 54, 5], Operations: []
Exploring Operation: 79-54=25, Resulting Numbers: [36, 5, 25]
Generated Node #0,0: 11:[36, 5, 25] Operation: 79-54=25
Exploring Operation: 79-36=43, Resulting Numbers: [54, 5, 43]
Generated Node #0,1: 11:[54, 5, 43] Operation: 79-36=43
Exploring Operation: 54-36=18, Resulting Numbers: [79, 5, 18]
Generated Node #0,2: 11:[79, 5, 18] Operation: 54-36=18
Moving to Node #0,0
Current State: 11:[36, 5, 25], Operations: ['79-54=25']
Exploring Operation: 36-25=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 11:[5, 11] Operation: 36-25=11
Exploring Operation: 25/5=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 11:[36, 5] Operation: 25/5=5
Exploring Operation: 36-5=31, Resulting Numbers: [25, 31]
Generated Node #0,0,2: 11:[25, 31] Operation: 36-5=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[5, 11], Operations: ['79-54=25', '36-25=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[36, 5], Operations: ['79-54=25', '25/5=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[25, 31], Operations: ['79-54=25', '36-5=31']
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,11 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: 11:[54, 5, 43], Operations: ['79-36=43']
Exploring Operation: 43-5=38, Resulting Numbers: [54, 38]
Generated Node #0,1,0: 11:[54, 38] Operation: 43-5=38
Exploring Operation: 54-5=49, Resulting Numbers: [43, 49]
Generated Node #0,1,1: 11:[43, 49] Operation: 54-5=49
Exploring Operation: 54-43=11, Resulting Numbers: [5, 11]
Generated Node #0,1,2: 11:[5, 11] Operation: 54-43=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[5, 11], Operations: ['79-36=43', '54-43=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[54, 38], Operations: ['79-36=43', '43-5=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,11 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,11 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[43, 49], Operations: ['79-36=43', '54-5=49']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,11 unequal: No Solution
Exploring Operation: 43*49=2107, Resulting Numbers: [2107]
2107,11 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: 11:[79, 5, 18], Operations: ['54-36=18']
Exploring Operation: 79-18=61, Resulting Numbers: [5, 61]
Generated Node #0,2,0: 11:[5, 61] Operation: 79-18=61
Exploring Operation: 79-5=74, Resulting Numbers: [18, 74]
Generated Node #0,2,1: 11:[18, 74] Operation: 79-5=74
Exploring Operation: 18-5=13, Resulting Numbers: [79, 13]
Generated Node #0,2,2: 11:[79, 13] Operation: 18-5=13
Moving to Node #0,2,0
Current State: 11:[5, 61], Operations: ['54-36=18', '79-18=61']
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[18, 74], Operations: ['54-36=18', '79-5=74']
Exploring Operation: 18+74=92, Resulting Numbers: [92]
92,11 unequal: No Solution
Exploring Operation: 18*74=1332, Resulting Numbers: [1332]
1332,11 unequal: No Solution
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[79, 13], Operations: ['54-36=18', '18-5=13']
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,11 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,11 unequal: No Solution
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
39,
2,
68
] | 22 | [
"6+39=45",
"2*45=90",
"90-68=22"
] | Current State: 22:[6, 39, 2, 68], Operations: []
Exploring Operation: 6+39=45, Resulting Numbers: [2, 68, 45]
Generated Node #2: [2, 68, 45] from Operation: 6+39=45
Current State: 22:[2, 68, 45], Operations: ['6+39=45']
Exploring Operation: 2*45=90, Resulting Numbers: [68, 90]
Generated Node #3: [68, 90] from Operation: 2*45=90
Current State: 22:[68, 90], Operations: ['6+39=45', '2*45=90']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[6, 39, 2, 68], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [6, 39, 34]
Generated Node #0,0: 22:[6, 39, 34] Operation: 68/2=34
Exploring Operation: 68-39=29, Resulting Numbers: [6, 2, 29]
Generated Node #0,1: 22:[6, 2, 29] Operation: 68-39=29
Moving to Node #0,1
Current State: 22:[6, 2, 29], Operations: ['68-39=29']
Exploring Operation: 29-6=23, Resulting Numbers: [2, 23]
Generated Node #0,1,0: 22:[2, 23] Operation: 29-6=23
Exploring Operation: 6*2=12, Resulting Numbers: [29, 12]
Generated Node #0,1,1: 22:[29, 12] Operation: 6*2=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[2, 23], Operations: ['68-39=29', '29-6=23']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[29, 12], Operations: ['68-39=29', '6*2=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 22:[6, 39, 34], Operations: ['68/2=34']
Exploring Operation: 39-34=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 22:[6, 5] Operation: 39-34=5
Exploring Operation: 39-6=33, Resulting Numbers: [34, 33]
Generated Node #0,0,1: 22:[34, 33] Operation: 39-6=33
Moving to Node #0,0,0
Current State: 22:[6, 5], Operations: ['68/2=34', '39-34=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[34, 33], Operations: ['68/2=34', '39-6=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,22 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
2,
66,
52
] | 90 | [
"85-66=19",
"2*19=38",
"52+38=90"
] | Current State: 90:[85, 2, 66, 52], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [2, 52, 19]
Generated Node #2: [2, 52, 19] from Operation: 85-66=19
Current State: 90:[2, 52, 19], Operations: ['85-66=19']
Exploring Operation: 2*19=38, Resulting Numbers: [52, 38]
Generated Node #3: [52, 38] from Operation: 2*19=38
Current State: 90:[52, 38], Operations: ['85-66=19', '2*19=38']
Exploring Operation: 52+38=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[85, 2, 66, 52], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [85, 52, 33]
Generated Node #0,0: 90:[85, 52, 33] Operation: 66/2=33
Exploring Operation: 85-52=33, Resulting Numbers: [2, 66, 33]
Generated Node #0,1: 90:[2, 66, 33] Operation: 85-52=33
Exploring Operation: 85-66=19, Resulting Numbers: [2, 52, 19]
Generated Node #0,2: 90:[2, 52, 19] Operation: 85-66=19
Exploring Operation: 66-52=14, Resulting Numbers: [85, 2, 14]
Generated Node #0,3: 90:[85, 2, 14] Operation: 66-52=14
Exploring Operation: 52/2=26, Resulting Numbers: [85, 66, 26]
Generated Node #0,4: 90:[85, 66, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[85, 2, 14], Operations: ['66-52=14']
Exploring Operation: 14/2=7, Resulting Numbers: [85, 7]
Generated Node #0,3,0: 90:[85, 7] Operation: 14/2=7
Exploring Operation: 2*14=28, Resulting Numbers: [85, 28]
Generated Node #0,3,1: 90:[85, 28] Operation: 2*14=28
Exploring Operation: 2+14=16, Resulting Numbers: [85, 16]
Generated Node #0,3,2: 90:[85, 16] Operation: 2+14=16
Exploring Operation: 14-2=12, Resulting Numbers: [85, 12]
Generated Node #0,3,3: 90:[85, 12] Operation: 14-2=12
Exploring Operation: 85+2=87, Resulting Numbers: [14, 87]
Generated Node #0,3,4: 90:[14, 87] Operation: 85+2=87
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 90:[14, 87], Operations: ['66-52=14', '85+2=87']
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,90 unequal: No Solution
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,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,3,0
Current State: 90:[85, 7], Operations: ['66-52=14', '14/2=7']
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,90 unequal: No Solution
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,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,3,2
Current State: 90:[85, 16], Operations: ['66-52=14', '2+14=16']
Exploring Operation: 85+16=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 85*16=1360, Resulting Numbers: [1360]
1360,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,3,1
Current State: 90:[85, 28], Operations: ['66-52=14', '2*14=28']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,90 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,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,3,3
Current State: 90:[85, 12], Operations: ['66-52=14', '14-2=12']
Exploring Operation: 85+12=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 85*12=1020, Resulting Numbers: [1020]
1020,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,2
Current State: 90:[2, 52, 19], Operations: ['85-66=19']
Exploring Operation: 19-2=17, Resulting Numbers: [52, 17]
Generated Node #0,2,0: 90:[52, 17] Operation: 19-2=17
Exploring Operation: 52-19=33, Resulting Numbers: [2, 33]
Generated Node #0,2,1: 90:[2, 33] Operation: 52-19=33
Exploring Operation: 52/2=26, Resulting Numbers: [19, 26]
Generated Node #0,2,2: 90:[19, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [19, 50]
Generated Node #0,2,3: 90:[19, 50] Operation: 52-2=50
Exploring Operation: 2+52=54, Resulting Numbers: [19, 54]
Generated Node #0,2,4: 90:[19, 54] Operation: 2+52=54
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[2, 33], Operations: ['85-66=19', '52-19=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,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:[19, 26], Operations: ['85-66=19', '52/2=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,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,3
Current State: 90:[19, 50], Operations: ['85-66=19', '52-2=50']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,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:[52, 17], Operations: ['85-66=19', '19-2=17']
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,90 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,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:[19, 54], Operations: ['85-66=19', '2+52=54']
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,90 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,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:[85, 52, 33], Operations: ['66/2=33']
Exploring Operation: 85-52=33, Resulting Numbers: [33, 33]
Generated Node #0,0,0: 90:[33, 33] Operation: 85-52=33
Exploring Operation: 85-33=52, Resulting Numbers: [52, 52]
Generated Node #0,0,1: 90:[52, 52] Operation: 85-33=52
Exploring Operation: 85+33=118, Resulting Numbers: [52, 118]
Generated Node #0,0,2: 90:[52, 118] Operation: 85+33=118
Exploring Operation: 52-33=19, Resulting Numbers: [85, 19]
Generated Node #0,0,3: 90:[85, 19] Operation: 52-33=19
Exploring Operation: 52+33=85, Resulting Numbers: [85, 85]
Generated Node #0,0,4: 90:[85, 85] Operation: 52+33=85
Moving to Node #0,0,0
Current State: 90:[33, 33], Operations: ['66/2=33', '85-52=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[85, 19], Operations: ['66/2=33', '52-33=19']
Exploring Operation: 85+19=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 85*19=1615, Resulting Numbers: [1615]
1615,90 unequal: No Solution
Moving to Node #0,0,4
Current State: 90:[85, 85], Operations: ['66/2=33', '52+33=85']
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,90 unequal: No Solution
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 85*85=7225, Resulting Numbers: [7225]
7225,90 unequal: No Solution
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[52, 52], Operations: ['66/2=33', '85-33=52']
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,90 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[52, 118], Operations: ['66/2=33', '85+33=118']
Exploring Operation: 52*118=6136, Resulting Numbers: [6136]
6136,90 unequal: No Solution
Exploring Operation: 52+118=170, Resulting Numbers: [170]
170,90 unequal: No Solution
Exploring Operation: 118-52=66, Resulting Numbers: [66]
66,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:[2, 66, 33], Operations: ['85-52=33']
Exploring Operation: 66/33=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 90:[2, 2] Operation: 66/33=2
Exploring Operation: 66-2=64, Resulting Numbers: [33, 64]
Generated Node #0,1,1: 90:[33, 64] Operation: 66-2=64
Exploring Operation: 66-33=33, Resulting Numbers: [2, 33]
Generated Node #0,1,2: 90:[2, 33] Operation: 66-33=33
Exploring Operation: 66/2=33, Resulting Numbers: [33, 33]
Generated Node #0,1,3: 90:[33, 33] Operation: 66/2=33
Exploring Operation: 66+33=99, Resulting Numbers: [2, 99]
Generated Node #0,1,4: 90:[2, 99] Operation: 66+33=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[2, 2], Operations: ['85-52=33', '66/33=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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,1,2
Current State: 90:[2, 33], Operations: ['85-52=33', '66-33=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,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,1,3
Current State: 90:[33, 33], Operations: ['85-52=33', '66/2=33']
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,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,1,4
Current State: 90:[2, 99], Operations: ['85-52=33', '66+33=99']
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,90 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,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,1,1
Current State: 90:[33, 64], Operations: ['85-52=33', '66-2=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,90 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,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,4
Current State: 90:[85, 66, 26], Operations: ['52/2=26']
Exploring Operation: 85-66=19, Resulting Numbers: [26, 19]
Generated Node #0,4,0: 90:[26, 19] Operation: 85-66=19
Exploring Operation: 85-26=59, Resulting Numbers: [66, 59]
Generated Node #0,4,1: 90:[66, 59] Operation: 85-26=59
Exploring Operation: 66-26=40, Resulting Numbers: [85, 40]
Generated Node #0,4,2: 90:[85, 40] Operation: 66-26=40
Exploring Operation: 85+26=111, Resulting Numbers: [66, 111]
Generated Node #0,4,3: 90:[66, 111] Operation: 85+26=111
Exploring Operation: 66+26=92, Resulting Numbers: [85, 92]
Generated Node #0,4,4: 90:[85, 92] Operation: 66+26=92
Moving to Node #0,4,0
Current State: 90:[26, 19], Operations: ['52/2=26', '85-66=19']
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,90 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Moving to Node #0,4,4
Current State: 90:[85, 92], Operations: ['52/2=26', '66+26=92']
Exploring Operation: 85+92=177, Resulting Numbers: [177]
177,90 unequal: No Solution
Exploring Operation: 92-85=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 85*92=7820, Resulting Numbers: [7820]
7820,90 unequal: No Solution
Moving to Node #0,4,2
Current State: 90:[85, 40], Operations: ['52/2=26', '66-26=40']
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 85*40=3400, Resulting Numbers: [3400]
3400,90 unequal: No Solution
Exploring Operation: 85+40=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Moving to Node #0,4,1
Current State: 90:[66, 59], Operations: ['52/2=26', '85-26=59']
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,90 unequal: No Solution
Moving to Node #0,4,3
Current State: 90:[66, 111], Operations: ['52/2=26', '85+26=111']
Exploring Operation: 66+111=177, Resulting Numbers: [177]
177,90 unequal: No Solution
Exploring Operation: 111-66=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 66*111=7326, Resulting Numbers: [7326]
7326,90 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 |
[
83,
32,
56,
85
] | 22 | [
"83-32=51",
"85-56=29",
"51-29=22"
] | Current State: 22:[83, 32, 56, 85], Operations: []
Exploring Operation: 83-32=51, Resulting Numbers: [56, 85, 51]
Generated Node #2: [56, 85, 51] from Operation: 83-32=51
Current State: 22:[56, 85, 51], Operations: ['83-32=51']
Exploring Operation: 85-56=29, Resulting Numbers: [51, 29]
Generated Node #3: [51, 29] from Operation: 85-56=29
Current State: 22:[51, 29], Operations: ['83-32=51', '85-56=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[83, 32, 56, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [32, 56, 2]
Generated Node #0,0: 22:[32, 56, 2] Operation: 85-83=2
Exploring Operation: 85-56=29, Resulting Numbers: [83, 32, 29]
Generated Node #0,1: 22:[83, 32, 29] Operation: 85-56=29
Exploring Operation: 83-32=51, Resulting Numbers: [56, 85, 51]
Generated Node #0,2: 22:[56, 85, 51] Operation: 83-32=51
Exploring Operation: 83-56=27, Resulting Numbers: [32, 85, 27]
Generated Node #0,3: 22:[32, 85, 27] Operation: 83-56=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[32, 56, 2], Operations: ['85-83=2']
Exploring Operation: 56/2=28, Resulting Numbers: [32, 28]
Generated Node #0,0,0: 22:[32, 28] Operation: 56/2=28
Exploring Operation: 32-2=30, Resulting Numbers: [56, 30]
Generated Node #0,0,1: 22:[56, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [56, 16]
Generated Node #0,0,2: 22:[56, 16] Operation: 32/2=16
Exploring Operation: 56-32=24, Resulting Numbers: [2, 24]
Generated Node #0,0,3: 22:[2, 24] Operation: 56-32=24
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 22:[2, 24], Operations: ['85-83=2', '56-32=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[83, 32, 56, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [32, 56, 2]
Generated Node #0,0: 22:[32, 56, 2] Operation: 85-83=2
Moving to Node #0,0
Current State: 22:[32, 56, 2], Operations: ['85-83=2']
Exploring Operation: 56-32=24, Resulting Numbers: [2, 24]
Generated Node #0,0,3: 22:[2, 24] Operation: 56-32=24
Moving to Node #0,0,3
Current State: 22:[2, 24], Operations: ['85-83=2', '56-32=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
10,
44,
80,
45
] | 88 | [
"10+80=90",
"44*90=3960",
"3960/45=88"
] | Current State: 88:[10, 44, 80, 45], Operations: []
Exploring Operation: 10+80=90, Resulting Numbers: [44, 45, 90]
Generated Node #2: [44, 45, 90] from Operation: 10+80=90
Current State: 88:[44, 45, 90], Operations: ['10+80=90']
Exploring Operation: 44*90=3960, Resulting Numbers: [45, 3960]
Generated Node #3: [45, 3960] from Operation: 44*90=3960
Current State: 88:[45, 3960], Operations: ['10+80=90', '44*90=3960']
Exploring Operation: 3960/45=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[10, 44, 80, 45], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [44, 45, 8]
Generated Node #0,0: 88:[44, 45, 8] Operation: 80/10=8
Exploring Operation: 80-44=36, Resulting Numbers: [10, 45, 36]
Generated Node #0,1: 88:[10, 45, 36] Operation: 80-44=36
Exploring Operation: 10+80=90, Resulting Numbers: [44, 45, 90]
Generated Node #0,2: 88:[44, 45, 90] Operation: 10+80=90
Moving to Node #0,0
Current State: 88:[44, 45, 8], Operations: ['80/10=8']
Exploring Operation: 44+45=89, Resulting Numbers: [8, 89]
Generated Node #0,0,0: 88:[8, 89] Operation: 44+45=89
Exploring Operation: 45-8=37, Resulting Numbers: [44, 37]
Generated Node #0,0,1: 88:[44, 37] Operation: 45-8=37
Exploring Operation: 45-44=1, Resulting Numbers: [8, 1]
Generated Node #0,0,2: 88:[8, 1] Operation: 45-44=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[8, 89], Operations: ['80/10=8', '44+45=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,88 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[8, 1], Operations: ['80/10=8', '45-44=1']
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[44, 37], Operations: ['80/10=8', '45-8=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,88 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,88 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: 88:[44, 45, 90], Operations: ['10+80=90']
Exploring Operation: 44+45=89, Resulting Numbers: [90, 89]
Generated Node #0,2,0: 88:[90, 89] Operation: 44+45=89
Exploring Operation: 90-45=45, Resulting Numbers: [44, 45]
Generated Node #0,2,1: 88:[44, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 88:[44, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[44, 2], Operations: ['10+80=90', '90/45=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,88 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[10, 44, 80, 45], Operations: []
Exploring Operation: 10+80=90, Resulting Numbers: [44, 45, 90]
Generated Node #0,2: 88:[44, 45, 90] Operation: 10+80=90
Moving to Node #0,2
Current State: 88:[44, 45, 90], Operations: ['10+80=90']
Exploring Operation: 90/45=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 88:[44, 2] Operation: 90/45=2
Moving to Node #0,2,2
Current State: 88:[44, 2], Operations: ['10+80=90', '90/45=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
70,
47,
60,
60
] | 22 | [
"70-47=23",
"60/60=1",
"23-1=22"
] | Current State: 22:[70, 47, 60, 60], Operations: []
Exploring Operation: 70-47=23, Resulting Numbers: [60, 60, 23]
Generated Node #2: [60, 60, 23] from Operation: 70-47=23
Current State: 22:[60, 60, 23], Operations: ['70-47=23']
Exploring Operation: 60/60=1, Resulting Numbers: [23, 1]
Generated Node #3: [23, 1] from Operation: 60/60=1
Current State: 22:[23, 1], Operations: ['70-47=23', '60/60=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[70, 47, 60, 60], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [47, 60, 10]
Generated Node #0,0: 22:[47, 60, 10] Operation: 70-60=10
Exploring Operation: 60/60=1, Resulting Numbers: [70, 47, 1]
Generated Node #0,1: 22:[70, 47, 1] Operation: 60/60=1
Exploring Operation: 70-60=10, Resulting Numbers: [47, 60, 10]
Generated Node #0,2: 22:[47, 60, 10] Operation: 70-60=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[47, 60, 10], Operations: ['70-60=10']
Exploring Operation: 60/10=6, Resulting Numbers: [47, 6]
Generated Node #0,0,0: 22:[47, 6] Operation: 60/10=6
Exploring Operation: 60-47=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 22:[10, 13] Operation: 60-47=13
Exploring Operation: 47-10=37, Resulting Numbers: [60, 37]
Generated Node #0,0,2: 22:[60, 37] Operation: 47-10=37
Moving to Node #0,0,1
Current State: 22:[10, 13], Operations: ['70-60=10', '60-47=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[47, 6], Operations: ['70-60=10', '60/10=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,22 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[60, 37], Operations: ['70-60=10', '47-10=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,22 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[47, 60, 10], Operations: ['70-60=10']
Exploring Operation: 60/10=6, Resulting Numbers: [47, 6]
Generated Node #0,2,0: 22:[47, 6] Operation: 60/10=6
Exploring Operation: 60-47=13, Resulting Numbers: [10, 13]
Generated Node #0,2,1: 22:[10, 13] Operation: 60-47=13
Exploring Operation: 47-10=37, Resulting Numbers: [60, 37]
Generated Node #0,2,2: 22:[60, 37] Operation: 47-10=37
Moving to Node #0,2,1
Current State: 22:[10, 13], Operations: ['70-60=10', '60-47=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[47, 6], Operations: ['70-60=10', '60/10=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,22 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,22 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[60, 37], Operations: ['70-60=10', '47-10=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,22 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[70, 47, 1], Operations: ['60/60=1']
Exploring Operation: 70-1=69, Resulting Numbers: [47, 69]
Generated Node #0,1,0: 22:[47, 69] Operation: 70-1=69
Exploring Operation: 47-1=46, Resulting Numbers: [70, 46]
Generated Node #0,1,1: 22:[70, 46] Operation: 47-1=46
Exploring Operation: 70-47=23, Resulting Numbers: [1, 23]
Generated Node #0,1,2: 22:[1, 23] Operation: 70-47=23
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[1, 23], Operations: ['60/60=1', '70-47=23']
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[70, 47, 60, 60], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [70, 47, 1]
Generated Node #0,1: 22:[70, 47, 1] Operation: 60/60=1
Moving to Node #0,1
Current State: 22:[70, 47, 1], Operations: ['60/60=1']
Exploring Operation: 70-47=23, Resulting Numbers: [1, 23]
Generated Node #0,1,2: 22:[1, 23] Operation: 70-47=23
Moving to Node #0,1,2
Current State: 22:[1, 23], Operations: ['60/60=1', '70-47=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
32,
9,
18,
15
] | 20 | [
"32-9=23",
"18-15=3",
"23-3=20"
] | Current State: 20:[32, 9, 18, 15], Operations: []
Exploring Operation: 32-9=23, Resulting Numbers: [18, 15, 23]
Generated Node #2: [18, 15, 23] from Operation: 32-9=23
Current State: 20:[18, 15, 23], Operations: ['32-9=23']
Exploring Operation: 18-15=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 18-15=3
Current State: 20:[23, 3], Operations: ['32-9=23', '18-15=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 9, 18, 15], Operations: []
Exploring Operation: 32-15=17, Resulting Numbers: [9, 18, 17]
Generated Node #0,0: 20:[9, 18, 17] Operation: 32-15=17
Exploring Operation: 32-9=23, Resulting Numbers: [18, 15, 23]
Generated Node #0,1: 20:[18, 15, 23] Operation: 32-9=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[9, 18, 17], Operations: ['32-15=17']
Exploring Operation: 18-17=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 20:[9, 1] Operation: 18-17=1
Exploring Operation: 18/9=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 20:[17, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 20:[9, 1], Operations: ['32-15=17', '18-17=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[17, 2], Operations: ['32-15=17', '18/9=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[18, 15, 23], Operations: ['32-9=23']
Exploring Operation: 18-15=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 20:[23, 3] Operation: 18-15=3
Exploring Operation: 23-15=8, Resulting Numbers: [18, 8]
Generated Node #0,1,1: 20:[18, 8] Operation: 23-15=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[23, 3], Operations: ['32-9=23', '18-15=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[32, 9, 18, 15], Operations: []
Exploring Operation: 32-9=23, Resulting Numbers: [18, 15, 23]
Generated Node #0,1: 20:[18, 15, 23] Operation: 32-9=23
Moving to Node #0,1
Current State: 20:[18, 15, 23], Operations: ['32-9=23']
Exploring Operation: 18-15=3, Resulting Numbers: [23, 3]
Generated Node #0,1,0: 20:[23, 3] Operation: 18-15=3
Moving to Node #0,1,0
Current State: 20:[23, 3], Operations: ['32-9=23', '18-15=3']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.