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 |
|---|---|---|---|---|---|---|---|---|
[
18,
29,
20,
16
] | 90 | [
"20-18=2",
"29+16=45",
"2*45=90"
] | Current State: 90:[18, 29, 20, 16], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [29, 16, 2]
Generated Node #2: [29, 16, 2] from Operation: 20-18=2
Current State: 90:[29, 16, 2], Operations: ['20-18=2']
Exploring Operation: 29+16=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 29+16=45
Current State: 90:[2, 45], Operations: ['20-18=2', '29+16=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[18, 29, 20, 16], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [29, 16, 2]
Generated Node #0,0: 90:[29, 16, 2] Operation: 20-18=2
Exploring Operation: 29+16=45, Resulting Numbers: [18, 20, 45]
Generated Node #0,1: 90:[18, 20, 45] Operation: 29+16=45
Exploring Operation: 29-20=9, Resulting Numbers: [18, 16, 9]
Generated Node #0,2: 90:[18, 16, 9] Operation: 29-20=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[18, 16, 9], Operations: ['29-20=9']
Exploring Operation: 18/9=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 90:[16, 2] Operation: 18/9=2
Exploring Operation: 18-16=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 90:[9, 2] Operation: 18-16=2
Exploring Operation: 18-9=9, Resulting Numbers: [16, 9]
Generated Node #0,2,2: 90:[16, 9] Operation: 18-9=9
Moving to Node #0,2,1
Current State: 90:[9, 2], Operations: ['29-20=9', '18-16=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[16, 2], Operations: ['29-20=9', '18/9=2']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[16, 9], Operations: ['29-20=9', '18-9=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,90 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[29, 16, 2], Operations: ['20-18=2']
Exploring Operation: 29-16=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 90:[2, 13] Operation: 29-16=13
Exploring Operation: 16+2=18, Resulting Numbers: [29, 18]
Generated Node #0,0,1: 90:[29, 18] Operation: 16+2=18
Exploring Operation: 29+16=45, Resulting Numbers: [2, 45]
Generated Node #0,0,2: 90:[2, 45] Operation: 29+16=45
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[2, 45], Operations: ['20-18=2', '29+16=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[18, 29, 20, 16], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [29, 16, 2]
Generated Node #0,0: 90:[29, 16, 2] Operation: 20-18=2
Moving to Node #0,0
Current State: 90:[29, 16, 2], Operations: ['20-18=2']
Exploring Operation: 29+16=45, Resulting Numbers: [2, 45]
Generated Node #0,0,2: 90:[2, 45] Operation: 29+16=45
Moving to Node #0,0,2
Current State: 90:[2, 45], Operations: ['20-18=2', '29+16=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
3,
3,
87,
99
] | 39 | [
"99-87=12",
"3*12=36",
"3+36=39"
] | Current State: 39:[3, 3, 87, 99], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [3, 3, 12]
Generated Node #2: [3, 3, 12] from Operation: 99-87=12
Current State: 39:[3, 3, 12], Operations: ['99-87=12']
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,39 equal: Goal Reached
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[3, 3, 87, 99], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [3, 3, 12]
Generated Node #0,0: 39:[3, 3, 12] Operation: 99-87=12
Exploring Operation: 99/3=33, Resulting Numbers: [3, 87, 33]
Generated Node #0,1: 39:[3, 87, 33] Operation: 99/3=33
Moving to Node #0,0
Current State: 39:[3, 3, 12], Operations: ['99-87=12']
Exploring Operation: 12/3=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 39:[3, 4] Operation: 12/3=4
Exploring Operation: 12/3=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 39:[3, 4] Operation: 12/3=4
Moving to Node #0,1
Current State: 39:[3, 87, 33], Operations: ['99/3=33']
Exploring Operation: 87/3=29, Resulting Numbers: [33, 29]
Generated Node #0,1,0: 39:[33, 29] Operation: 87/3=29
Exploring Operation: 87-33=54, Resulting Numbers: [3, 54]
Generated Node #0,1,1: 39:[3, 54] Operation: 87-33=54
Moving to Node #0,0,0
Current State: 39:[3, 4], Operations: ['99-87=12', '12/3=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[3, 4], Operations: ['99-87=12', '12/3=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[3, 54], Operations: ['99/3=33', '87-33=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[33, 29], Operations: ['99/3=33', '87/3=29']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 33+29=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
89,
86,
96
] | 42 | [
"89-86=3",
"96/3=32",
"74-32=42"
] | Current State: 42:[74, 89, 86, 96], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [74, 96, 3]
Generated Node #2: [74, 96, 3] from Operation: 89-86=3
Current State: 42:[74, 96, 3], Operations: ['89-86=3']
Exploring Operation: 96/3=32, Resulting Numbers: [74, 32]
Generated Node #3: [74, 32] from Operation: 96/3=32
Current State: 42:[74, 32], Operations: ['89-86=3', '96/3=32']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[74, 89, 86, 96], Operations: []
Exploring Operation: 96-86=10, Resulting Numbers: [74, 89, 10]
Generated Node #0,0: 42:[74, 89, 10] Operation: 96-86=10
Exploring Operation: 96-89=7, Resulting Numbers: [74, 86, 7]
Generated Node #0,1: 42:[74, 86, 7] Operation: 96-89=7
Exploring Operation: 89-86=3, Resulting Numbers: [74, 96, 3]
Generated Node #0,2: 42:[74, 96, 3] Operation: 89-86=3
Moving to Node #0,1
Current State: 42:[74, 86, 7], Operations: ['96-89=7']
Exploring Operation: 74-7=67, Resulting Numbers: [86, 67]
Generated Node #0,1,0: 42:[86, 67] Operation: 74-7=67
Exploring Operation: 86-74=12, Resulting Numbers: [7, 12]
Generated Node #0,1,1: 42:[7, 12] Operation: 86-74=12
Exploring Operation: 86-7=79, Resulting Numbers: [74, 79]
Generated Node #0,1,2: 42:[74, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[7, 12], Operations: ['96-89=7', '86-74=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,42 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,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,1,0
Current State: 42:[86, 67], Operations: ['96-89=7', '74-7=67']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,42 unequal: No Solution
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,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,1,2
Current State: 42:[74, 79], Operations: ['96-89=7', '86-7=79']
Exploring Operation: 74*79=5846, Resulting Numbers: [5846]
5846,42 unequal: No Solution
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 74+79=153, Resulting Numbers: [153]
153,42 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: 42:[74, 89, 10], Operations: ['96-86=10']
Exploring Operation: 89-74=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 42:[10, 15] Operation: 89-74=15
Exploring Operation: 74-10=64, Resulting Numbers: [89, 64]
Generated Node #0,0,1: 42:[89, 64] Operation: 74-10=64
Exploring Operation: 89-10=79, Resulting Numbers: [74, 79]
Generated Node #0,0,2: 42:[74, 79] Operation: 89-10=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[10, 15], Operations: ['96-86=10', '89-74=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,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:[89, 64], Operations: ['96-86=10', '74-10=64']
Exploring Operation: 89+64=153, Resulting Numbers: [153]
153,42 unequal: No Solution
Exploring Operation: 89*64=5696, Resulting Numbers: [5696]
5696,42 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,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:[74, 79], Operations: ['96-86=10', '89-10=79']
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 74+79=153, Resulting Numbers: [153]
153,42 unequal: No Solution
Exploring Operation: 74*79=5846, Resulting Numbers: [5846]
5846,42 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: 42:[74, 96, 3], Operations: ['89-86=3']
Exploring Operation: 96-74=22, Resulting Numbers: [3, 22]
Generated Node #0,2,0: 42:[3, 22] Operation: 96-74=22
Exploring Operation: 74-3=71, Resulting Numbers: [96, 71]
Generated Node #0,2,1: 42:[96, 71] Operation: 74-3=71
Exploring Operation: 96/3=32, Resulting Numbers: [74, 32]
Generated Node #0,2,2: 42:[74, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[3, 22], Operations: ['89-86=3', '96-74=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,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,2,2
Current State: 42:[74, 32], Operations: ['89-86=3', '96/3=32']
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,42 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[74, 89, 86, 96], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [74, 96, 3]
Generated Node #0,2: 42:[74, 96, 3] Operation: 89-86=3
Moving to Node #0,2
Current State: 42:[74, 96, 3], Operations: ['89-86=3']
Exploring Operation: 96/3=32, Resulting Numbers: [74, 32]
Generated Node #0,2,2: 42:[74, 32] Operation: 96/3=32
Moving to Node #0,2,2
Current State: 42:[74, 32], Operations: ['89-86=3', '96/3=32']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
65,
10,
64,
77
] | 42 | [
"65-10=55",
"77-64=13",
"55-13=42"
] | Current State: 42:[65, 10, 64, 77], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [64, 77, 55]
Generated Node #2: [64, 77, 55] from Operation: 65-10=55
Current State: 42:[64, 77, 55], Operations: ['65-10=55']
Exploring Operation: 77-64=13, Resulting Numbers: [55, 13]
Generated Node #3: [55, 13] from Operation: 77-64=13
Current State: 42:[55, 13], Operations: ['65-10=55', '77-64=13']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[65, 10, 64, 77], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [10, 64, 12]
Generated Node #0,0: 42:[10, 64, 12] Operation: 77-65=12
Exploring Operation: 77-64=13, Resulting Numbers: [65, 10, 13]
Generated Node #0,1: 42:[65, 10, 13] Operation: 77-64=13
Exploring Operation: 65-64=1, Resulting Numbers: [10, 77, 1]
Generated Node #0,2: 42:[10, 77, 1] Operation: 65-64=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[10, 64, 12], Operations: ['77-65=12']
Exploring Operation: 64-10=54, Resulting Numbers: [12, 54]
Generated Node #0,0,0: 42:[12, 54] Operation: 64-10=54
Exploring Operation: 12-10=2, Resulting Numbers: [64, 2]
Generated Node #0,0,1: 42:[64, 2] Operation: 12-10=2
Exploring Operation: 64-12=52, Resulting Numbers: [10, 52]
Generated Node #0,0,2: 42:[10, 52] Operation: 64-12=52
Moving to Node #0,0,2
Current State: 42:[10, 52], Operations: ['77-65=12', '64-12=52']
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,42 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[65, 10, 64, 77], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [10, 64, 12]
Generated Node #0,0: 42:[10, 64, 12] Operation: 77-65=12
Moving to Node #0,0
Current State: 42:[10, 64, 12], Operations: ['77-65=12']
Exploring Operation: 64-12=52, Resulting Numbers: [10, 52]
Generated Node #0,0,2: 42:[10, 52] Operation: 64-12=52
Moving to Node #0,0,2
Current State: 42:[10, 52], Operations: ['77-65=12', '64-12=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
57,
74,
60,
3
] | 80 | [
"74-57=17",
"60+3=63",
"17+63=80"
] | Current State: 80:[57, 74, 60, 3], Operations: []
Exploring Operation: 74-57=17, Resulting Numbers: [60, 3, 17]
Generated Node #2: [60, 3, 17] from Operation: 74-57=17
Current State: 80:[60, 3, 17], Operations: ['74-57=17']
Exploring Operation: 60+3=63, Resulting Numbers: [17, 63]
Generated Node #3: [17, 63] from Operation: 60+3=63
Current State: 80:[17, 63], Operations: ['74-57=17', '60+3=63']
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[57, 74, 60, 3], Operations: []
Exploring Operation: 74-57=17, Resulting Numbers: [60, 3, 17]
Generated Node #0,0: 80:[60, 3, 17] Operation: 74-57=17
Exploring Operation: 74-60=14, Resulting Numbers: [57, 3, 14]
Generated Node #0,1: 80:[57, 3, 14] Operation: 74-60=14
Exploring Operation: 60-57=3, Resulting Numbers: [74, 3, 3]
Generated Node #0,2: 80:[74, 3, 3] Operation: 60-57=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[74, 3, 3], Operations: ['60-57=3']
Exploring Operation: 3+3=6, Resulting Numbers: [74, 6]
Generated Node #0,2,0: 80:[74, 6] Operation: 3+3=6
Exploring Operation: 74+3=77, Resulting Numbers: [3, 77]
Generated Node #0,2,1: 80:[3, 77] Operation: 74+3=77
Exploring Operation: 74+3=77, Resulting Numbers: [3, 77]
Generated Node #0,2,2: 80:[3, 77] Operation: 74+3=77
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[3, 77], Operations: ['60-57=3', '74+3=77']
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,80 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[57, 74, 60, 3], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [74, 3, 3]
Generated Node #0,2: 80:[74, 3, 3] Operation: 60-57=3
Moving to Node #0,2
Current State: 80:[74, 3, 3], Operations: ['60-57=3']
Exploring Operation: 74+3=77, Resulting Numbers: [3, 77]
Generated Node #0,2,1: 80:[3, 77] Operation: 74+3=77
Moving to Node #0,2,1
Current State: 80:[3, 77], Operations: ['60-57=3', '74+3=77']
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
15,
30,
61,
30
] | 59 | [
"30-15=15",
"30/15=2",
"61-2=59"
] | Current State: 59:[15, 30, 61, 30], Operations: []
Exploring Operation: 30-15=15, Resulting Numbers: [61, 15]
Generated Node #2: [61, 15] from Operation: 30-15=15
Current State: 59:[61, 15], Operations: ['30-15=15']
Exploring Operation: 30/15=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 30/15=2
Current State: 59:[61, 2], Operations: ['30-15=15', '30/15=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[15, 30, 61, 30], Operations: []
Exploring Operation: 15+30=45, Resulting Numbers: [61, 30, 45]
Generated Node #0,0: 59:[61, 30, 45] Operation: 15+30=45
Exploring Operation: 15+30=45, Resulting Numbers: [30, 61, 45]
Generated Node #0,1: 59:[30, 61, 45] Operation: 15+30=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[61, 30, 45], Operations: ['15+30=45']
Exploring Operation: 61-30=31, Resulting Numbers: [45, 31]
Generated Node #0,0,0: 59:[45, 31] Operation: 61-30=31
Exploring Operation: 30+45=75, Resulting Numbers: [61, 75]
Generated Node #0,0,1: 59:[61, 75] Operation: 30+45=75
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[61, 75], Operations: ['15+30=45', '30+45=75']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,59 unequal: No Solution
No 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: 59:[45, 31], Operations: ['15+30=45', '61-30=31']
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,59 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: 59:[30, 61, 45], Operations: ['15+30=45']
Exploring Operation: 61-30=31, Resulting Numbers: [45, 31]
Generated Node #0,1,0: 59:[45, 31] Operation: 61-30=31
Exploring Operation: 30+45=75, Resulting Numbers: [61, 75]
Generated Node #0,1,1: 59:[61, 75] Operation: 30+45=75
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[61, 75], Operations: ['15+30=45', '30+45=75']
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No 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: 59:[45, 31], Operations: ['15+30=45', '61-30=31']
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,59 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 |
[
34,
43,
20,
83
] | 36 | [
"83-43=40",
"40/20=2",
"34+2=36"
] | Current State: 36:[34, 43, 20, 83], Operations: []
Exploring Operation: 83-43=40, Resulting Numbers: [34, 20, 40]
Generated Node #2: [34, 20, 40] from Operation: 83-43=40
Current State: 36:[34, 20, 40], Operations: ['83-43=40']
Exploring Operation: 40/20=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 40/20=2
Current State: 36:[34, 2], Operations: ['83-43=40', '40/20=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[34, 43, 20, 83], Operations: []
Exploring Operation: 83-43=40, Resulting Numbers: [34, 20, 40]
Generated Node #0,0: 36:[34, 20, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[34, 20, 40], Operations: ['83-43=40']
Exploring Operation: 40-34=6, Resulting Numbers: [20, 6]
Generated Node #0,0,0: 36:[20, 6] Operation: 40-34=6
Moving to Node #0,0,0
Current State: 36:[20, 6], Operations: ['83-43=40', '40-34=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,36 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 |
[
14,
47,
8,
55
] | 30 | [
"47-14=33",
"8+55=63",
"63-33=30"
] | Current State: 30:[14, 47, 8, 55], Operations: []
Exploring Operation: 47-14=33, Resulting Numbers: [8, 55, 33]
Generated Node #2: [8, 55, 33] from Operation: 47-14=33
Current State: 30:[8, 55, 33], Operations: ['47-14=33']
Exploring Operation: 8+55=63, Resulting Numbers: [33, 63]
Generated Node #3: [33, 63] from Operation: 8+55=63
Current State: 30:[33, 63], Operations: ['47-14=33', '8+55=63']
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[14, 47, 8, 55], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [14, 8, 8]
Generated Node #0,0: 30:[14, 8, 8] Operation: 55-47=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[14, 8, 8], Operations: ['55-47=8']
Exploring Operation: 14-8=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 30:[8, 6] Operation: 14-8=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[8, 6], Operations: ['55-47=8', '14-8=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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_1 | mult_heuristic |
[
49,
91,
93,
68
] | 38 | [
"68-49=19",
"93-91=2",
"19*2=38"
] | Current State: 38:[49, 91, 93, 68], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [91, 93, 19]
Generated Node #2: [91, 93, 19] from Operation: 68-49=19
Current State: 38:[91, 93, 19], Operations: ['68-49=19']
Exploring Operation: 93-91=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 93-91=2
Current State: 38:[19, 2], Operations: ['68-49=19', '93-91=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[49, 91, 93, 68], Operations: []
Exploring Operation: 93-49=44, Resulting Numbers: [91, 68, 44]
Generated Node #0,0: 38:[91, 68, 44] Operation: 93-49=44
Exploring Operation: 93-91=2, Resulting Numbers: [49, 68, 2]
Generated Node #0,1: 38:[49, 68, 2] Operation: 93-91=2
Exploring Operation: 91-68=23, Resulting Numbers: [49, 93, 23]
Generated Node #0,2: 38:[49, 93, 23] Operation: 91-68=23
Exploring Operation: 91-49=42, Resulting Numbers: [93, 68, 42]
Generated Node #0,3: 38:[93, 68, 42] Operation: 91-49=42
Exploring Operation: 93-68=25, Resulting Numbers: [49, 91, 25]
Generated Node #0,4: 38:[49, 91, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[49, 68, 2], Operations: ['93-91=2']
Exploring Operation: 68-49=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 38:[2, 19] Operation: 68-49=19
Exploring Operation: 49-2=47, Resulting Numbers: [68, 47]
Generated Node #0,1,1: 38:[68, 47] Operation: 49-2=47
Exploring Operation: 68-2=66, Resulting Numbers: [49, 66]
Generated Node #0,1,2: 38:[49, 66] Operation: 68-2=66
Exploring Operation: 49+2=51, Resulting Numbers: [68, 51]
Generated Node #0,1,3: 38:[68, 51] Operation: 49+2=51
Exploring Operation: 68/2=34, Resulting Numbers: [49, 34]
Generated Node #0,1,4: 38:[49, 34] Operation: 68/2=34
Moving to Node #0,1,0
Current State: 38:[2, 19], Operations: ['93-91=2', '68-49=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[49, 91, 93, 68], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [49, 68, 2]
Generated Node #0,1: 38:[49, 68, 2] Operation: 93-91=2
Moving to Node #0,1
Current State: 38:[49, 68, 2], Operations: ['93-91=2']
Exploring Operation: 68-49=19, Resulting Numbers: [2, 19]
Generated Node #0,1,0: 38:[2, 19] Operation: 68-49=19
Moving to Node #0,1,0
Current State: 38:[2, 19], Operations: ['93-91=2', '68-49=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
2,
89,
4,
1
] | 24 | [
"89-1=88",
"88/4=22",
"2+22=24"
] | Current State: 24:[2, 89, 4, 1], Operations: []
Exploring Operation: 89-1=88, Resulting Numbers: [2, 4, 88]
Generated Node #2: [2, 4, 88] from Operation: 89-1=88
Current State: 24:[2, 4, 88], Operations: ['89-1=88']
Exploring Operation: 88/4=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 88/4=22
Current State: 24:[2, 22], Operations: ['89-1=88', '88/4=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[2, 89, 4, 1], Operations: []
Exploring Operation: 89-4=85, Resulting Numbers: [2, 1, 85]
Generated Node #0,0: 24:[2, 1, 85] Operation: 89-4=85
Exploring Operation: 89-2=87, Resulting Numbers: [4, 1, 87]
Generated Node #0,1: 24:[4, 1, 87] Operation: 89-2=87
Moving to Node #0,0
Current State: 24:[2, 1, 85], Operations: ['89-4=85']
Exploring Operation: 85-1=84, Resulting Numbers: [2, 84]
Generated Node #0,0,0: 24:[2, 84] Operation: 85-1=84
Exploring Operation: 85-2=83, Resulting Numbers: [1, 83]
Generated Node #0,0,1: 24:[1, 83] Operation: 85-2=83
Moving to Node #0,1
Current State: 24:[4, 1, 87], Operations: ['89-2=87']
Exploring Operation: 87-1=86, Resulting Numbers: [4, 86]
Generated Node #0,1,0: 24:[4, 86] Operation: 87-1=86
Exploring Operation: 87-4=83, Resulting Numbers: [1, 83]
Generated Node #0,1,1: 24:[1, 83] Operation: 87-4=83
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[1, 83], Operations: ['89-2=87', '87-4=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[4, 86], Operations: ['89-2=87', '87-1=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,24 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: 24:[2, 84], Operations: ['89-4=85', '85-1=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,24 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[1, 83], Operations: ['89-4=85', '85-2=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,24 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,24 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
34,
88,
19
] | 78 | [
"38/19=2",
"88/2=44",
"34+44=78"
] | Current State: 78:[38, 34, 88, 19], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [34, 88, 2]
Generated Node #2: [34, 88, 2] from Operation: 38/19=2
Current State: 78:[34, 88, 2], Operations: ['38/19=2']
Exploring Operation: 88/2=44, Resulting Numbers: [34, 44]
Generated Node #3: [34, 44] from Operation: 88/2=44
Current State: 78:[34, 44], Operations: ['38/19=2', '88/2=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[38, 34, 88, 19], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [38, 34, 69]
Generated Node #0,0: 78:[38, 34, 69] Operation: 88-19=69
Exploring Operation: 38-34=4, Resulting Numbers: [88, 19, 4]
Generated Node #0,1: 78:[88, 19, 4] Operation: 38-34=4
Exploring Operation: 38/19=2, Resulting Numbers: [34, 88, 2]
Generated Node #0,2: 78:[34, 88, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [34, 88, 19]
Generated Node #0,3: 78:[34, 88, 19] Operation: 38-19=19
Exploring Operation: 34-19=15, Resulting Numbers: [38, 88, 15]
Generated Node #0,4: 78:[38, 88, 15] Operation: 34-19=15
Moving to Node #0,4
Current State: 78:[38, 88, 15], Operations: ['34-19=15']
Exploring Operation: 38-15=23, Resulting Numbers: [88, 23]
Generated Node #0,4,0: 78:[88, 23] Operation: 38-15=23
Exploring Operation: 88-38=50, Resulting Numbers: [15, 50]
Generated Node #0,4,1: 78:[15, 50] Operation: 88-38=50
Exploring Operation: 38+15=53, Resulting Numbers: [88, 53]
Generated Node #0,4,2: 78:[88, 53] Operation: 38+15=53
Exploring Operation: 88-15=73, Resulting Numbers: [38, 73]
Generated Node #0,4,3: 78:[38, 73] Operation: 88-15=73
Exploring Operation: 88+15=103, Resulting Numbers: [38, 103]
Generated Node #0,4,4: 78:[38, 103] Operation: 88+15=103
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 78:[38, 73], Operations: ['34-19=15', '88-15=73']
Exploring Operation: 38*73=2774, Resulting Numbers: [2774]
2774,78 unequal: No Solution
Exploring Operation: 38+73=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 78:[88, 23], Operations: ['34-19=15', '38-15=23']
Exploring Operation: 88+23=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 88-23=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 88*23=2024, Resulting Numbers: [2024]
2024,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 78:[15, 50], Operations: ['34-19=15', '88-38=50']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 15*50=750, Resulting Numbers: [750]
750,78 unequal: No Solution
Exploring Operation: 15+50=65, Resulting Numbers: [65]
65,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 78:[88, 53], Operations: ['34-19=15', '38+15=53']
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 88*53=4664, Resulting Numbers: [4664]
4664,78 unequal: No Solution
Exploring Operation: 88+53=141, Resulting Numbers: [141]
141,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 78:[38, 103], Operations: ['34-19=15', '88+15=103']
Exploring Operation: 103-38=65, Resulting Numbers: [65]
65,78 unequal: No Solution
Exploring Operation: 38*103=3914, Resulting Numbers: [3914]
3914,78 unequal: No Solution
Exploring Operation: 38+103=141, Resulting Numbers: [141]
141,78 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: 78:[34, 88, 2], Operations: ['38/19=2']
Exploring Operation: 34+2=36, Resulting Numbers: [88, 36]
Generated Node #0,2,0: 78:[88, 36] Operation: 34+2=36
Exploring Operation: 88/2=44, Resulting Numbers: [34, 44]
Generated Node #0,2,1: 78:[34, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [34, 86]
Generated Node #0,2,2: 78:[34, 86] Operation: 88-2=86
Exploring Operation: 34/2=17, Resulting Numbers: [88, 17]
Generated Node #0,2,3: 78:[88, 17] Operation: 34/2=17
Exploring Operation: 88-34=54, Resulting Numbers: [2, 54]
Generated Node #0,2,4: 78:[2, 54] Operation: 88-34=54
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[34, 44], Operations: ['38/19=2', '88/2=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[38, 34, 88, 19], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [34, 88, 2]
Generated Node #0,2: 78:[34, 88, 2] Operation: 38/19=2
Moving to Node #0,2
Current State: 78:[34, 88, 2], Operations: ['38/19=2']
Exploring Operation: 88/2=44, Resulting Numbers: [34, 44]
Generated Node #0,2,1: 78:[34, 44] Operation: 88/2=44
Moving to Node #0,2,1
Current State: 78:[34, 44], Operations: ['38/19=2', '88/2=44']
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
94,
58,
69,
32
] | 51 | [
"94+58=152",
"69+32=101",
"152-101=51"
] | Current State: 51:[94, 58, 69, 32], Operations: []
Exploring Operation: 94+58=152, Resulting Numbers: [69, 32, 152]
Generated Node #2: [69, 32, 152] from Operation: 94+58=152
Current State: 51:[69, 32, 152], Operations: ['94+58=152']
Exploring Operation: 69+32=101, Resulting Numbers: [152, 101]
Generated Node #3: [152, 101] from Operation: 69+32=101
Current State: 51:[152, 101], Operations: ['94+58=152', '69+32=101']
Exploring Operation: 152-101=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[94, 58, 69, 32], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [58, 32, 25]
Generated Node #0,0: 51:[58, 32, 25] Operation: 94-69=25
Exploring Operation: 94-32=62, Resulting Numbers: [58, 69, 62]
Generated Node #0,1: 51:[58, 69, 62] Operation: 94-32=62
Exploring Operation: 69-58=11, Resulting Numbers: [94, 32, 11]
Generated Node #0,2: 51:[94, 32, 11] Operation: 69-58=11
Exploring Operation: 94-58=36, Resulting Numbers: [69, 32, 36]
Generated Node #0,3: 51:[69, 32, 36] Operation: 94-58=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[58, 32, 25], Operations: ['94-69=25']
Exploring Operation: 32+25=57, Resulting Numbers: [58, 57]
Generated Node #0,0,0: 51:[58, 57] Operation: 32+25=57
Exploring Operation: 58-25=33, Resulting Numbers: [32, 33]
Generated Node #0,0,1: 51:[32, 33] Operation: 58-25=33
Exploring Operation: 32-25=7, Resulting Numbers: [58, 7]
Generated Node #0,0,2: 51:[58, 7] Operation: 32-25=7
Exploring Operation: 58-32=26, Resulting Numbers: [25, 26]
Generated Node #0,0,3: 51:[25, 26] Operation: 58-32=26
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[58, 7], Operations: ['94-69=25', '32-25=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[94, 58, 69, 32], Operations: []
Exploring Operation: 94-69=25, Resulting Numbers: [58, 32, 25]
Generated Node #0,0: 51:[58, 32, 25] Operation: 94-69=25
Moving to Node #0,0
Current State: 51:[58, 32, 25], Operations: ['94-69=25']
Exploring Operation: 32-25=7, Resulting Numbers: [58, 7]
Generated Node #0,0,2: 51:[58, 7] Operation: 32-25=7
Moving to Node #0,0,2
Current State: 51:[58, 7], Operations: ['94-69=25', '32-25=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
81,
51,
17,
59
] | 66 | [
"81-59=22",
"51/17=3",
"22*3=66"
] | Current State: 66:[81, 51, 17, 59], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [51, 17, 22]
Generated Node #2: [51, 17, 22] from Operation: 81-59=22
Current State: 66:[51, 17, 22], Operations: ['81-59=22']
Exploring Operation: 51/17=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 51/17=3
Current State: 66:[22, 3], Operations: ['81-59=22', '51/17=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[81, 51, 17, 59], Operations: []
Exploring Operation: 51-17=34, Resulting Numbers: [81, 59, 34]
Generated Node #0,0: 66:[81, 59, 34] Operation: 51-17=34
Exploring Operation: 81-51=30, Resulting Numbers: [17, 59, 30]
Generated Node #0,1: 66:[17, 59, 30] Operation: 81-51=30
Exploring Operation: 51/17=3, Resulting Numbers: [81, 59, 3]
Generated Node #0,2: 66:[81, 59, 3] Operation: 51/17=3
Exploring Operation: 81-59=22, Resulting Numbers: [51, 17, 22]
Generated Node #0,3: 66:[51, 17, 22] Operation: 81-59=22
Exploring Operation: 59-51=8, Resulting Numbers: [81, 17, 8]
Generated Node #0,4: 66:[81, 17, 8] Operation: 59-51=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[17, 59, 30], Operations: ['81-51=30']
Exploring Operation: 59-17=42, Resulting Numbers: [30, 42]
Generated Node #0,1,0: 66:[30, 42] Operation: 59-17=42
Exploring Operation: 59-30=29, Resulting Numbers: [17, 29]
Generated Node #0,1,1: 66:[17, 29] Operation: 59-30=29
Exploring Operation: 30-17=13, Resulting Numbers: [59, 13]
Generated Node #0,1,2: 66:[59, 13] Operation: 30-17=13
Exploring Operation: 17+59=76, Resulting Numbers: [30, 76]
Generated Node #0,1,3: 66:[30, 76] Operation: 17+59=76
Exploring Operation: 17+30=47, Resulting Numbers: [59, 47]
Generated Node #0,1,4: 66:[59, 47] Operation: 17+30=47
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[17, 29], Operations: ['81-51=30', '59-30=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,66 unequal: No Solution
No 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: 66:[59, 13], Operations: ['81-51=30', '30-17=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,66 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,66 unequal: No Solution
No 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: 66:[30, 42], Operations: ['81-51=30', '59-17=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 30*42=1260, Resulting Numbers: [1260]
1260,66 unequal: No Solution
Exploring Operation: 30+42=72, Resulting Numbers: [72]
72,66 unequal: No Solution
No 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: 66:[30, 76], Operations: ['81-51=30', '17+59=76']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 30*76=2280, Resulting Numbers: [2280]
2280,66 unequal: No Solution
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,66 unequal: No Solution
No 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: 66:[59, 47], Operations: ['81-51=30', '17+30=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,66 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,66 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: 66:[51, 17, 22], Operations: ['81-59=22']
Exploring Operation: 51-22=29, Resulting Numbers: [17, 29]
Generated Node #0,3,0: 66:[17, 29] Operation: 51-22=29
Exploring Operation: 51/17=3, Resulting Numbers: [22, 3]
Generated Node #0,3,1: 66:[22, 3] Operation: 51/17=3
Exploring Operation: 51+17=68, Resulting Numbers: [22, 68]
Generated Node #0,3,2: 66:[22, 68] Operation: 51+17=68
Exploring Operation: 51-17=34, Resulting Numbers: [22, 34]
Generated Node #0,3,3: 66:[22, 34] Operation: 51-17=34
Exploring Operation: 51+22=73, Resulting Numbers: [17, 73]
Generated Node #0,3,4: 66:[17, 73] Operation: 51+22=73
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[22, 3], Operations: ['81-59=22', '51/17=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[81, 51, 17, 59], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [51, 17, 22]
Generated Node #0,3: 66:[51, 17, 22] Operation: 81-59=22
Moving to Node #0,3
Current State: 66:[51, 17, 22], Operations: ['81-59=22']
Exploring Operation: 51/17=3, Resulting Numbers: [22, 3]
Generated Node #0,3,1: 66:[22, 3] Operation: 51/17=3
Moving to Node #0,3,1
Current State: 66:[22, 3], Operations: ['81-59=22', '51/17=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
29,
45,
81,
36
] | 36 | [
"45-29=16",
"81*16=1296",
"1296/36=36"
] | Current State: 36:[29, 45, 81, 36], Operations: []
Exploring Operation: 45-29=16, Resulting Numbers: [81, 36, 16]
Generated Node #2: [81, 36, 16] from Operation: 45-29=16
Current State: 36:[81, 36, 16], Operations: ['45-29=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [36, 1296]
Generated Node #3: [36, 1296] from Operation: 81*16=1296
Current State: 36:[36, 1296], Operations: ['45-29=16', '81*16=1296']
Exploring Operation: 1296/36=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[29, 45, 81, 36], Operations: []
Exploring Operation: 81-29=52, Resulting Numbers: [45, 36, 52]
Generated Node #0,0: 36:[45, 36, 52] Operation: 81-29=52
Exploring Operation: 45-29=16, Resulting Numbers: [81, 36, 16]
Generated Node #0,1: 36:[81, 36, 16] Operation: 45-29=16
Exploring Operation: 81-45=36, Resulting Numbers: [29, 36, 36]
Generated Node #0,2: 36:[29, 36, 36] Operation: 81-45=36
Exploring Operation: 81-36=45, Resulting Numbers: [29, 45, 45]
Generated Node #0,3: 36:[29, 45, 45] Operation: 81-36=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[29, 36, 36], Operations: ['81-45=36']
Exploring Operation: 36-36=0, Resulting Numbers: [29, 0]
Generated Node #0,2,0: 36:[29, 0] Operation: 36-36=0
Exploring Operation: 36/36=1, Resulting Numbers: [29, 1]
Generated Node #0,2,1: 36:[29, 1] Operation: 36/36=1
Exploring Operation: 36-29=7, Resulting Numbers: [36, 7]
Generated Node #0,2,2: 36:[36, 7] Operation: 36-29=7
Exploring Operation: 36-29=7, Resulting Numbers: [36, 7]
Generated Node #0,2,3: 36:[36, 7] Operation: 36-29=7
Moving to Node #0,2,2
Current State: 36:[36, 7], Operations: ['81-45=36', '36-29=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Moving to Node #0,2,3
Current State: 36:[36, 7], Operations: ['81-45=36', '36-29=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[29, 1], Operations: ['81-45=36', '36/36=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[29, 0], Operations: ['81-45=36', '36-36=0']
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[45, 36, 52], Operations: ['81-29=52']
Exploring Operation: 45-36=9, Resulting Numbers: [52, 9]
Generated Node #0,0,0: 36:[52, 9] Operation: 45-36=9
Exploring Operation: 45+36=81, Resulting Numbers: [52, 81]
Generated Node #0,0,1: 36:[52, 81] Operation: 45+36=81
Exploring Operation: 52-36=16, Resulting Numbers: [45, 16]
Generated Node #0,0,2: 36:[45, 16] Operation: 52-36=16
Exploring Operation: 52-45=7, Resulting Numbers: [36, 7]
Generated Node #0,0,3: 36:[36, 7] Operation: 52-45=7
Moving to Node #0,0,3
Current State: 36:[36, 7], Operations: ['81-29=52', '52-45=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[45, 16], Operations: ['81-29=52', '52-36=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[52, 9], Operations: ['81-29=52', '45-36=9']
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,36 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[52, 81], Operations: ['81-29=52', '45+36=81']
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,36 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,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,3
Current State: 36:[29, 45, 45], Operations: ['81-36=45']
Exploring Operation: 45-45=0, Resulting Numbers: [29, 0]
Generated Node #0,3,0: 36:[29, 0] Operation: 45-45=0
Exploring Operation: 45/45=1, Resulting Numbers: [29, 1]
Generated Node #0,3,1: 36:[29, 1] Operation: 45/45=1
Exploring Operation: 45-29=16, Resulting Numbers: [45, 16]
Generated Node #0,3,2: 36:[45, 16] Operation: 45-29=16
Exploring Operation: 45-29=16, Resulting Numbers: [45, 16]
Generated Node #0,3,3: 36:[45, 16] Operation: 45-29=16
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 36:[29, 1], Operations: ['81-36=45', '45/45=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 36:[29, 0], Operations: ['81-36=45', '45-45=0']
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 36:[45, 16], Operations: ['81-36=45', '45-29=16']
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 36:[45, 16], Operations: ['81-36=45', '45-29=16']
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[81, 36, 16], Operations: ['45-29=16']
Exploring Operation: 36-16=20, Resulting Numbers: [81, 20]
Generated Node #0,1,0: 36:[81, 20] Operation: 36-16=20
Exploring Operation: 81-16=65, Resulting Numbers: [36, 65]
Generated Node #0,1,1: 36:[36, 65] Operation: 81-16=65
Exploring Operation: 81-36=45, Resulting Numbers: [16, 45]
Generated Node #0,1,2: 36:[16, 45] Operation: 81-36=45
Exploring Operation: 81+16=97, Resulting Numbers: [36, 97]
Generated Node #0,1,3: 36:[36, 97] Operation: 81+16=97
Moving to Node #0,1,2
Current State: 36:[16, 45], Operations: ['45-29=16', '81-36=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[36, 65], Operations: ['45-29=16', '81-16=65']
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,36 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[81, 20], Operations: ['45-29=16', '36-16=20']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,36 unequal: No Solution
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[36, 97], Operations: ['45-29=16', '81+16=97']
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Exploring Operation: 36+97=133, Resulting Numbers: [133]
133,36 unequal: No Solution
Exploring Operation: 36*97=3492, Resulting Numbers: [3492]
3492,36 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 |
[
48,
58,
80,
72
] | 64 | [
"58-48=10",
"80/10=8",
"72-8=64"
] | Current State: 64:[48, 58, 80, 72], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [80, 72, 10]
Generated Node #2: [80, 72, 10] from Operation: 58-48=10
Current State: 64:[80, 72, 10], Operations: ['58-48=10']
Exploring Operation: 80/10=8, Resulting Numbers: [72, 8]
Generated Node #3: [72, 8] from Operation: 80/10=8
Current State: 64:[72, 8], Operations: ['58-48=10', '80/10=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[48, 58, 80, 72], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [48, 58, 8]
Generated Node #0,0: 64:[48, 58, 8] Operation: 80-72=8
Exploring Operation: 58-48=10, Resulting Numbers: [80, 72, 10]
Generated Node #0,1: 64:[80, 72, 10] Operation: 58-48=10
Exploring Operation: 80-48=32, Resulting Numbers: [58, 72, 32]
Generated Node #0,2: 64:[58, 72, 32] Operation: 80-48=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[58, 72, 32], Operations: ['80-48=32']
Exploring Operation: 72-58=14, Resulting Numbers: [32, 14]
Generated Node #0,2,0: 64:[32, 14] Operation: 72-58=14
Exploring Operation: 72-32=40, Resulting Numbers: [58, 40]
Generated Node #0,2,1: 64:[58, 40] Operation: 72-32=40
Exploring Operation: 58-32=26, Resulting Numbers: [72, 26]
Generated Node #0,2,2: 64:[72, 26] Operation: 58-32=26
Moving to Node #0,2,0
Current State: 64:[32, 14], Operations: ['80-48=32', '72-58=14']
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,64 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[58, 40], Operations: ['80-48=32', '72-32=40']
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,64 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[72, 26], Operations: ['80-48=32', '58-32=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,64 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[48, 58, 8], Operations: ['80-72=8']
Exploring Operation: 48/8=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 64:[58, 6] Operation: 48/8=6
Exploring Operation: 58-48=10, Resulting Numbers: [8, 10]
Generated Node #0,0,1: 64:[8, 10] Operation: 58-48=10
Exploring Operation: 48+8=56, Resulting Numbers: [58, 56]
Generated Node #0,0,2: 64:[58, 56] Operation: 48+8=56
Moving to Node #0,0,1
Current State: 64:[8, 10], Operations: ['80-72=8', '58-48=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[58, 6], Operations: ['80-72=8', '48/8=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,64 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[48, 58, 80, 72], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [48, 58, 8]
Generated Node #0,0: 64:[48, 58, 8] Operation: 80-72=8
Moving to Node #0,0
Current State: 64:[48, 58, 8], Operations: ['80-72=8']
Exploring Operation: 48/8=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 64:[58, 6] Operation: 48/8=6
Moving to Node #0,0,0
Current State: 64:[58, 6], Operations: ['80-72=8', '48/8=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
78,
81,
36,
71
] | 37 | [
"81-78=3",
"36*3=108",
"108-71=37"
] | Current State: 37:[78, 81, 36, 71], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [36, 71, 3]
Generated Node #2: [36, 71, 3] from Operation: 81-78=3
Current State: 37:[36, 71, 3], Operations: ['81-78=3']
Exploring Operation: 36*3=108, Resulting Numbers: [71, 108]
Generated Node #3: [71, 108] from Operation: 36*3=108
Current State: 37:[71, 108], Operations: ['81-78=3', '36*3=108']
Exploring Operation: 108-71=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[78, 81, 36, 71], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [36, 71, 3]
Generated Node #0,0: 37:[36, 71, 3] Operation: 81-78=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[36, 71, 3], Operations: ['81-78=3']
Exploring Operation: 71-3=68, Resulting Numbers: [36, 68]
Generated Node #0,0,0: 37:[36, 68] Operation: 71-3=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[36, 68], Operations: ['81-78=3', '71-3=68']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,37 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 |
[
74,
32,
63,
76
] | 29 | [
"74-32=42",
"76-63=13",
"42-13=29"
] | Current State: 29:[74, 32, 63, 76], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [63, 76, 42]
Generated Node #2: [63, 76, 42] from Operation: 74-32=42
Current State: 29:[63, 76, 42], Operations: ['74-32=42']
Exploring Operation: 76-63=13, Resulting Numbers: [42, 13]
Generated Node #3: [42, 13] from Operation: 76-63=13
Current State: 29:[42, 13], Operations: ['74-32=42', '76-63=13']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[74, 32, 63, 76], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [74, 32, 13]
Generated Node #0,0: 29:[74, 32, 13] Operation: 76-63=13
Exploring Operation: 76-74=2, Resulting Numbers: [32, 63, 2]
Generated Node #0,1: 29:[32, 63, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 29:[74, 32, 13], Operations: ['76-63=13']
Exploring Operation: 74-13=61, Resulting Numbers: [32, 61]
Generated Node #0,0,0: 29:[32, 61] Operation: 74-13=61
Exploring Operation: 74-32=42, Resulting Numbers: [13, 42]
Generated Node #0,0,1: 29:[13, 42] Operation: 74-32=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[13, 42], Operations: ['76-63=13', '74-32=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,29 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[74, 32, 63, 76], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [74, 32, 13]
Generated Node #0,0: 29:[74, 32, 13] Operation: 76-63=13
Moving to Node #0,0
Current State: 29:[74, 32, 13], Operations: ['76-63=13']
Exploring Operation: 74-32=42, Resulting Numbers: [13, 42]
Generated Node #0,0,1: 29:[13, 42] Operation: 74-32=42
Moving to Node #0,0,1
Current State: 29:[13, 42], Operations: ['76-63=13', '74-32=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
7,
18,
43,
31
] | 15 | [
"7*43=301",
"301-31=270",
"270/18=15"
] | Current State: 15:[7, 18, 43, 31], Operations: []
Exploring Operation: 7*43=301, Resulting Numbers: [18, 31, 301]
Generated Node #2: [18, 31, 301] from Operation: 7*43=301
Current State: 15:[18, 31, 301], Operations: ['7*43=301']
Exploring Operation: 301-31=270, Resulting Numbers: [18, 270]
Generated Node #3: [18, 270] from Operation: 301-31=270
Current State: 15:[18, 270], Operations: ['7*43=301', '301-31=270']
Exploring Operation: 270/18=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 18, 43, 31], Operations: []
Exploring Operation: 31-18=13, Resulting Numbers: [7, 43, 13]
Generated Node #0,0: 15:[7, 43, 13] Operation: 31-18=13
Exploring Operation: 43-7=36, Resulting Numbers: [18, 31, 36]
Generated Node #0,1: 15:[18, 31, 36] Operation: 43-7=36
Exploring Operation: 43-18=25, Resulting Numbers: [7, 31, 25]
Generated Node #0,2: 15:[7, 31, 25] Operation: 43-18=25
Exploring Operation: 43-31=12, Resulting Numbers: [7, 18, 12]
Generated Node #0,3: 15:[7, 18, 12] Operation: 43-31=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[7, 18, 12], Operations: ['43-31=12']
Exploring Operation: 12-7=5, Resulting Numbers: [18, 5]
Generated Node #0,3,0: 15:[18, 5] Operation: 12-7=5
Exploring Operation: 18-12=6, Resulting Numbers: [7, 6]
Generated Node #0,3,1: 15:[7, 6] Operation: 18-12=6
Exploring Operation: 7+12=19, Resulting Numbers: [18, 19]
Generated Node #0,3,2: 15:[18, 19] Operation: 7+12=19
Exploring Operation: 18-7=11, Resulting Numbers: [12, 11]
Generated Node #0,3,3: 15:[12, 11] Operation: 18-7=11
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 15:[18, 5], Operations: ['43-31=12', '12-7=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,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,3,1
Current State: 15:[7, 6], Operations: ['43-31=12', '18-12=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,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,3,2
Current State: 15:[18, 19], Operations: ['43-31=12', '7+12=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,15 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,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,3,3
Current State: 15:[12, 11], Operations: ['43-31=12', '18-7=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,15 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,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,2
Current State: 15:[7, 31, 25], Operations: ['43-18=25']
Exploring Operation: 25-7=18, Resulting Numbers: [31, 18]
Generated Node #0,2,0: 15:[31, 18] Operation: 25-7=18
Exploring Operation: 31-7=24, Resulting Numbers: [25, 24]
Generated Node #0,2,1: 15:[25, 24] Operation: 31-7=24
Exploring Operation: 31-25=6, Resulting Numbers: [7, 6]
Generated Node #0,2,2: 15:[7, 6] Operation: 31-25=6
Exploring Operation: 7+31=38, Resulting Numbers: [25, 38]
Generated Node #0,2,3: 15:[25, 38] Operation: 7+31=38
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[7, 6], Operations: ['43-18=25', '31-25=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,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,2,0
Current State: 15:[31, 18], Operations: ['43-18=25', '25-7=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,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,2,1
Current State: 15:[25, 24], Operations: ['43-18=25', '31-7=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,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,2,3
Current State: 15:[25, 38], Operations: ['43-18=25', '7+31=38']
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,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:[7, 43, 13], Operations: ['31-18=13']
Exploring Operation: 43-7=36, Resulting Numbers: [13, 36]
Generated Node #0,0,0: 15:[13, 36] Operation: 43-7=36
Exploring Operation: 13-7=6, Resulting Numbers: [43, 6]
Generated Node #0,0,1: 15:[43, 6] Operation: 13-7=6
Exploring Operation: 43-13=30, Resulting Numbers: [7, 30]
Generated Node #0,0,2: 15:[7, 30] Operation: 43-13=30
Exploring Operation: 7+13=20, Resulting Numbers: [43, 20]
Generated Node #0,0,3: 15:[43, 20] Operation: 7+13=20
Moving to Node #0,0,2
Current State: 15:[7, 30], Operations: ['31-18=13', '43-13=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,15 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[13, 36], Operations: ['31-18=13', '43-7=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,15 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[43, 6], Operations: ['31-18=13', '13-7=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[43, 20], Operations: ['31-18=13', '7+13=20']
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,15 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,15 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[18, 31, 36], Operations: ['43-7=36']
Exploring Operation: 36/18=2, Resulting Numbers: [31, 2]
Generated Node #0,1,0: 15:[31, 2] Operation: 36/18=2
Exploring Operation: 36-31=5, Resulting Numbers: [18, 5]
Generated Node #0,1,1: 15:[18, 5] Operation: 36-31=5
Exploring Operation: 36-18=18, Resulting Numbers: [31, 18]
Generated Node #0,1,2: 15:[31, 18] Operation: 36-18=18
Exploring Operation: 31-18=13, Resulting Numbers: [36, 13]
Generated Node #0,1,3: 15:[36, 13] Operation: 31-18=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[18, 5], Operations: ['43-7=36', '36-31=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,15 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,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,0
Current State: 15:[31, 2], Operations: ['43-7=36', '36/18=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,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,2
Current State: 15:[31, 18], Operations: ['43-7=36', '36-18=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,15 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,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,3
Current State: 15:[36, 13], Operations: ['43-7=36', '31-18=13']
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,15 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,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_4 | mult_heuristic |
[
72,
59,
5,
36
] | 53 | [
"59+36=95",
"95/5=19",
"72-19=53"
] | Current State: 53:[72, 59, 5, 36], Operations: []
Exploring Operation: 59+36=95, Resulting Numbers: [72, 5, 95]
Generated Node #2: [72, 5, 95] from Operation: 59+36=95
Current State: 53:[72, 5, 95], Operations: ['59+36=95']
Exploring Operation: 95/5=19, Resulting Numbers: [72, 19]
Generated Node #3: [72, 19] from Operation: 95/5=19
Current State: 53:[72, 19], Operations: ['59+36=95', '95/5=19']
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[72, 59, 5, 36], Operations: []
Exploring Operation: 72-5=67, Resulting Numbers: [59, 36, 67]
Generated Node #0,0: 53:[59, 36, 67] Operation: 72-5=67
Exploring Operation: 59-5=54, Resulting Numbers: [72, 36, 54]
Generated Node #0,1: 53:[72, 36, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[59, 36, 67], Operations: ['72-5=67']
Exploring Operation: 59-36=23, Resulting Numbers: [67, 23]
Generated Node #0,0,0: 53:[67, 23] Operation: 59-36=23
Exploring Operation: 67-36=31, Resulting Numbers: [59, 31]
Generated Node #0,0,1: 53:[59, 31] Operation: 67-36=31
Moving to Node #0,0,1
Current State: 53:[59, 31], Operations: ['72-5=67', '67-36=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[67, 23], Operations: ['72-5=67', '59-36=23']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[72, 36, 54], Operations: ['59-5=54']
Exploring Operation: 72/36=2, Resulting Numbers: [54, 2]
Generated Node #0,1,0: 53:[54, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [54, 36]
Generated Node #0,1,1: 53:[54, 36] Operation: 72-36=36
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[54, 36], Operations: ['59-5=54', '72-36=36']
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[54, 2], Operations: ['59-5=54', '72/36=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,53 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
53,
6,
97
] | 16 | [
"97-53=44",
"44/2=22",
"22-6=16"
] | Current State: 16:[2, 53, 6, 97], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [2, 6, 44]
Generated Node #2: [2, 6, 44] from Operation: 97-53=44
Current State: 16:[2, 6, 44], Operations: ['97-53=44']
Exploring Operation: 44/2=22, Resulting Numbers: [6, 22]
Generated Node #3: [6, 22] from Operation: 44/2=22
Current State: 16:[6, 22], Operations: ['97-53=44', '44/2=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[2, 53, 6, 97], Operations: []
Exploring Operation: 97-6=91, Resulting Numbers: [2, 53, 91]
Generated Node #0,0: 16:[2, 53, 91] Operation: 97-6=91
Exploring Operation: 53-2=51, Resulting Numbers: [6, 97, 51]
Generated Node #0,1: 16:[6, 97, 51] Operation: 53-2=51
Exploring Operation: 53-6=47, Resulting Numbers: [2, 97, 47]
Generated Node #0,2: 16:[2, 97, 47] Operation: 53-6=47
Exploring Operation: 2+6=8, Resulting Numbers: [53, 97, 8]
Generated Node #0,3: 16:[53, 97, 8] Operation: 2+6=8
Exploring Operation: 97-53=44, Resulting Numbers: [2, 6, 44]
Generated Node #0,4: 16:[2, 6, 44] Operation: 97-53=44
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[2, 6, 44], Operations: ['97-53=44']
Exploring Operation: 44-2=42, Resulting Numbers: [6, 42]
Generated Node #0,4,0: 16:[6, 42] Operation: 44-2=42
Exploring Operation: 44-6=38, Resulting Numbers: [2, 38]
Generated Node #0,4,1: 16:[2, 38] Operation: 44-6=38
Exploring Operation: 44/2=22, Resulting Numbers: [6, 22]
Generated Node #0,4,2: 16:[6, 22] Operation: 44/2=22
Exploring Operation: 6-2=4, Resulting Numbers: [44, 4]
Generated Node #0,4,3: 16:[44, 4] Operation: 6-2=4
Exploring Operation: 2+6=8, Resulting Numbers: [44, 8]
Generated Node #0,4,4: 16:[44, 8] Operation: 2+6=8
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 16:[6, 22], Operations: ['97-53=44', '44/2=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[2, 53, 6, 97], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [2, 6, 44]
Generated Node #0,4: 16:[2, 6, 44] Operation: 97-53=44
Moving to Node #0,4
Current State: 16:[2, 6, 44], Operations: ['97-53=44']
Exploring Operation: 44/2=22, Resulting Numbers: [6, 22]
Generated Node #0,4,2: 16:[6, 22] Operation: 44/2=22
Moving to Node #0,4,2
Current State: 16:[6, 22], Operations: ['97-53=44', '44/2=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
70,
79,
66,
57
] | 18 | [
"79-70=9",
"66-57=9",
"9+9=18"
] | Current State: 18:[70, 79, 66, 57], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [66, 57, 9]
Generated Node #2: [66, 57, 9] from Operation: 79-70=9
Current State: 18:[66, 57, 9], Operations: ['79-70=9']
Exploring Operation: 66-57=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 66-57=9
Current State: 18:[9, 9], Operations: ['79-70=9', '66-57=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[70, 79, 66, 57], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [79, 57, 4]
Generated Node #0,0: 18:[79, 57, 4] Operation: 70-66=4
Exploring Operation: 79-66=13, Resulting Numbers: [70, 57, 13]
Generated Node #0,1: 18:[70, 57, 13] Operation: 79-66=13
Exploring Operation: 79-70=9, Resulting Numbers: [66, 57, 9]
Generated Node #0,2: 18:[66, 57, 9] Operation: 79-70=9
Exploring Operation: 79-57=22, Resulting Numbers: [70, 66, 22]
Generated Node #0,3: 18:[70, 66, 22] Operation: 79-57=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[66, 57, 9], Operations: ['79-70=9']
Exploring Operation: 66-9=57, Resulting Numbers: [57, 57]
Generated Node #0,2,0: 18:[57, 57] Operation: 66-9=57
Exploring Operation: 66+9=75, Resulting Numbers: [57, 75]
Generated Node #0,2,1: 18:[57, 75] Operation: 66+9=75
Exploring Operation: 57-9=48, Resulting Numbers: [66, 48]
Generated Node #0,2,2: 18:[66, 48] Operation: 57-9=48
Exploring Operation: 66-57=9, Resulting Numbers: [9, 9]
Generated Node #0,2,3: 18:[9, 9] Operation: 66-57=9
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 18:[9, 9], Operations: ['79-70=9', '66-57=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[70, 79, 66, 57], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [66, 57, 9]
Generated Node #0,2: 18:[66, 57, 9] Operation: 79-70=9
Moving to Node #0,2
Current State: 18:[66, 57, 9], Operations: ['79-70=9']
Exploring Operation: 66-57=9, Resulting Numbers: [9, 9]
Generated Node #0,2,3: 18:[9, 9] Operation: 66-57=9
Moving to Node #0,2,3
Current State: 18:[9, 9], Operations: ['79-70=9', '66-57=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
65,
21,
47,
23
] | 49 | [
"65-23=42",
"42/21=2",
"47+2=49"
] | Current State: 49:[65, 21, 47, 23], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [21, 47, 42]
Generated Node #2: [21, 47, 42] from Operation: 65-23=42
Current State: 49:[21, 47, 42], Operations: ['65-23=42']
Exploring Operation: 42/21=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 42/21=2
Current State: 49:[47, 2], Operations: ['65-23=42', '42/21=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[65, 21, 47, 23], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [47, 23, 44]
Generated Node #0,0: 49:[47, 23, 44] Operation: 65-21=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[47, 23, 44], Operations: ['65-21=44']
Exploring Operation: 44-23=21, Resulting Numbers: [47, 21]
Generated Node #0,0,0: 49:[47, 21] Operation: 44-23=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[47, 21], Operations: ['65-21=44', '44-23=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,49 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 |
[
54,
78,
76,
67
] | 94 | [
"78-76=2",
"54/2=27",
"67+27=94"
] | Current State: 94:[54, 78, 76, 67], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [54, 67, 2]
Generated Node #2: [54, 67, 2] from Operation: 78-76=2
Current State: 94:[54, 67, 2], Operations: ['78-76=2']
Exploring Operation: 54/2=27, Resulting Numbers: [67, 27]
Generated Node #3: [67, 27] from Operation: 54/2=27
Current State: 94:[67, 27], Operations: ['78-76=2', '54/2=27']
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[54, 78, 76, 67], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [54, 67, 2]
Generated Node #0,0: 94:[54, 67, 2] Operation: 78-76=2
Moving to Node #0,0
Current State: 94:[54, 67, 2], Operations: ['78-76=2']
Exploring Operation: 67-54=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 94:[2, 13] Operation: 67-54=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 13], Operations: ['78-76=2', '67-54=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
7,
75,
52
] | 96 | [
"24+7=31",
"75+52=127",
"127-31=96"
] | Current State: 96:[24, 7, 75, 52], Operations: []
Exploring Operation: 24+7=31, Resulting Numbers: [75, 52, 31]
Generated Node #2: [75, 52, 31] from Operation: 24+7=31
Current State: 96:[75, 52, 31], Operations: ['24+7=31']
Exploring Operation: 75+52=127, Resulting Numbers: [31, 127]
Generated Node #3: [31, 127] from Operation: 75+52=127
Current State: 96:[31, 127], Operations: ['24+7=31', '75+52=127']
Exploring Operation: 127-31=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[24, 7, 75, 52], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [24, 7, 23]
Generated Node #0,0: 96:[24, 7, 23] Operation: 75-52=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[24, 7, 23], Operations: ['75-52=23']
Exploring Operation: 23-7=16, Resulting Numbers: [24, 16]
Generated Node #0,0,0: 96:[24, 16] Operation: 23-7=16
Moving to Node #0,0,0
Current State: 96:[24, 16], Operations: ['75-52=23', '23-7=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
94,
74,
19
] | 70 | [
"94-71=23",
"74+19=93",
"93-23=70"
] | Current State: 70:[71, 94, 74, 19], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [74, 19, 23]
Generated Node #2: [74, 19, 23] from Operation: 94-71=23
Current State: 70:[74, 19, 23], Operations: ['94-71=23']
Exploring Operation: 74+19=93, Resulting Numbers: [23, 93]
Generated Node #3: [23, 93] from Operation: 74+19=93
Current State: 70:[23, 93], Operations: ['94-71=23', '74+19=93']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[71, 94, 74, 19], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [94, 19, 3]
Generated Node #0,0: 70:[94, 19, 3] Operation: 74-71=3
Exploring Operation: 94-71=23, Resulting Numbers: [74, 19, 23]
Generated Node #0,1: 70:[74, 19, 23] Operation: 94-71=23
Exploring Operation: 94-74=20, Resulting Numbers: [71, 19, 20]
Generated Node #0,2: 70:[71, 19, 20] Operation: 94-74=20
Exploring Operation: 74-19=55, Resulting Numbers: [71, 94, 55]
Generated Node #0,3: 70:[71, 94, 55] Operation: 74-19=55
Exploring Operation: 94-19=75, Resulting Numbers: [71, 74, 75]
Generated Node #0,4: 70:[71, 74, 75] Operation: 94-19=75
Moving to Node #0,4
Current State: 70:[71, 74, 75], Operations: ['94-19=75']
Exploring Operation: 71+74=145, Resulting Numbers: [75, 145]
Generated Node #0,4,0: 70:[75, 145] Operation: 71+74=145
Exploring Operation: 71+75=146, Resulting Numbers: [74, 146]
Generated Node #0,4,1: 70:[74, 146] Operation: 71+75=146
Exploring Operation: 74-71=3, Resulting Numbers: [75, 3]
Generated Node #0,4,2: 70:[75, 3] Operation: 74-71=3
Exploring Operation: 75-71=4, Resulting Numbers: [74, 4]
Generated Node #0,4,3: 70:[74, 4] Operation: 75-71=4
Exploring Operation: 75-74=1, Resulting Numbers: [71, 1]
Generated Node #0,4,4: 70:[71, 1] Operation: 75-74=1
Moving to Node #0,2
Current State: 70:[71, 19, 20], Operations: ['94-74=20']
Exploring Operation: 20-19=1, Resulting Numbers: [71, 1]
Generated Node #0,2,0: 70:[71, 1] Operation: 20-19=1
Exploring Operation: 71-20=51, Resulting Numbers: [19, 51]
Generated Node #0,2,1: 70:[19, 51] Operation: 71-20=51
Exploring Operation: 19+20=39, Resulting Numbers: [71, 39]
Generated Node #0,2,2: 70:[71, 39] Operation: 19+20=39
Exploring Operation: 71+19=90, Resulting Numbers: [20, 90]
Generated Node #0,2,3: 70:[20, 90] Operation: 71+19=90
Exploring Operation: 71-19=52, Resulting Numbers: [20, 52]
Generated Node #0,2,4: 70:[20, 52] Operation: 71-19=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[71, 1], Operations: ['94-74=20', '20-19=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[71, 94, 74, 19], Operations: []
Exploring Operation: 94-74=20, Resulting Numbers: [71, 19, 20]
Generated Node #0,2: 70:[71, 19, 20] Operation: 94-74=20
Moving to Node #0,2
Current State: 70:[71, 19, 20], Operations: ['94-74=20']
Exploring Operation: 20-19=1, Resulting Numbers: [71, 1]
Generated Node #0,2,0: 70:[71, 1] Operation: 20-19=1
Moving to Node #0,2,0
Current State: 70:[71, 1], Operations: ['94-74=20', '20-19=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
74,
80,
29,
5
] | 28 | [
"80-74=6",
"29+5=34",
"34-6=28"
] | Current State: 28:[74, 80, 29, 5], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [29, 5, 6]
Generated Node #2: [29, 5, 6] from Operation: 80-74=6
Current State: 28:[29, 5, 6], Operations: ['80-74=6']
Exploring Operation: 29+5=34, Resulting Numbers: [6, 34]
Generated Node #3: [6, 34] from Operation: 29+5=34
Current State: 28:[6, 34], Operations: ['80-74=6', '29+5=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[74, 80, 29, 5], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [29, 5, 6]
Generated Node #0,0: 28:[29, 5, 6] Operation: 80-74=6
Moving to Node #0,0
Current State: 28:[29, 5, 6], Operations: ['80-74=6']
Exploring Operation: 6-5=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 28:[29, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 28:[29, 1], Operations: ['80-74=6', '6-5=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[74, 80, 29, 5], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [29, 5, 6]
Generated Node #0,0: 28:[29, 5, 6] Operation: 80-74=6
Moving to Node #0,0
Current State: 28:[29, 5, 6], Operations: ['80-74=6']
Exploring Operation: 6-5=1, Resulting Numbers: [29, 1]
Generated Node #0,0,0: 28:[29, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 28:[29, 1], Operations: ['80-74=6', '6-5=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
53,
45,
79,
1
] | 88 | [
"53-45=8",
"79+1=80",
"8+80=88"
] | Current State: 88:[53, 45, 79, 1], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [79, 1, 8]
Generated Node #2: [79, 1, 8] from Operation: 53-45=8
Current State: 88:[79, 1, 8], Operations: ['53-45=8']
Exploring Operation: 79+1=80, Resulting Numbers: [8, 80]
Generated Node #3: [8, 80] from Operation: 79+1=80
Current State: 88:[8, 80], Operations: ['53-45=8', '79+1=80']
Exploring Operation: 8+80=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[53, 45, 79, 1], Operations: []
Exploring Operation: 53-1=52, Resulting Numbers: [45, 79, 52]
Generated Node #0,0: 88:[45, 79, 52] Operation: 53-1=52
Exploring Operation: 45-1=44, Resulting Numbers: [53, 79, 44]
Generated Node #0,1: 88:[53, 79, 44] Operation: 45-1=44
Exploring Operation: 79-53=26, Resulting Numbers: [45, 1, 26]
Generated Node #0,2: 88:[45, 1, 26] Operation: 79-53=26
Exploring Operation: 53-45=8, Resulting Numbers: [79, 1, 8]
Generated Node #0,3: 88:[79, 1, 8] Operation: 53-45=8
Moving to Node #0,2
Current State: 88:[45, 1, 26], Operations: ['79-53=26']
Exploring Operation: 45-26=19, Resulting Numbers: [1, 19]
Generated Node #0,2,0: 88:[1, 19] Operation: 45-26=19
Exploring Operation: 45*1=45, Resulting Numbers: [26, 45]
Generated Node #0,2,1: 88:[26, 45] Operation: 45*1=45
Exploring Operation: 45-1=44, Resulting Numbers: [26, 44]
Generated Node #0,2,2: 88:[26, 44] Operation: 45-1=44
Exploring Operation: 26-1=25, Resulting Numbers: [45, 25]
Generated Node #0,2,3: 88:[45, 25] Operation: 26-1=25
Moving to Node #0,3
Current State: 88:[79, 1, 8], Operations: ['53-45=8']
Exploring Operation: 79/1=79, Resulting Numbers: [8, 79]
Generated Node #0,3,0: 88:[8, 79] Operation: 79/1=79
Exploring Operation: 79*1=79, Resulting Numbers: [8, 79]
Generated Node #0,3,1: 88:[8, 79] Operation: 79*1=79
Exploring Operation: 79+8=87, Resulting Numbers: [1, 87]
Generated Node #0,3,2: 88:[1, 87] Operation: 79+8=87
Exploring Operation: 79+1=80, Resulting Numbers: [8, 80]
Generated Node #0,3,3: 88:[8, 80] Operation: 79+1=80
Moving to Node #0,1
Current State: 88:[53, 79, 44], Operations: ['45-1=44']
Exploring Operation: 79-44=35, Resulting Numbers: [53, 35]
Generated Node #0,1,0: 88:[53, 35] Operation: 79-44=35
Exploring Operation: 53+44=97, Resulting Numbers: [79, 97]
Generated Node #0,1,1: 88:[79, 97] Operation: 53+44=97
Exploring Operation: 53-44=9, Resulting Numbers: [79, 9]
Generated Node #0,1,2: 88:[79, 9] Operation: 53-44=9
Exploring Operation: 79-53=26, Resulting Numbers: [44, 26]
Generated Node #0,1,3: 88:[44, 26] Operation: 79-53=26
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[44, 26], Operations: ['45-1=44', '79-53=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 44*26=1144, Resulting Numbers: [1144]
1144,88 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[79, 9], Operations: ['45-1=44', '53-44=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,88 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[53, 45, 79, 1], Operations: []
Exploring Operation: 45-1=44, Resulting Numbers: [53, 79, 44]
Generated Node #0,1: 88:[53, 79, 44] Operation: 45-1=44
Moving to Node #0,1
Current State: 88:[53, 79, 44], Operations: ['45-1=44']
Exploring Operation: 53-44=9, Resulting Numbers: [79, 9]
Generated Node #0,1,2: 88:[79, 9] Operation: 53-44=9
Moving to Node #0,1,2
Current State: 88:[79, 9], Operations: ['45-1=44', '53-44=9']
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
7,
96,
55,
60
] | 62 | [
"55-7=48",
"96/48=2",
"60+2=62"
] | Current State: 62:[7, 96, 55, 60], Operations: []
Exploring Operation: 55-7=48, Resulting Numbers: [96, 60, 48]
Generated Node #2: [96, 60, 48] from Operation: 55-7=48
Current State: 62:[96, 60, 48], Operations: ['55-7=48']
Exploring Operation: 96/48=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 96/48=2
Current State: 62:[60, 2], Operations: ['55-7=48', '96/48=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[7, 96, 55, 60], Operations: []
Exploring Operation: 96-60=36, Resulting Numbers: [7, 55, 36]
Generated Node #0,0: 62:[7, 55, 36] Operation: 96-60=36
Exploring Operation: 96-55=41, Resulting Numbers: [7, 60, 41]
Generated Node #0,1: 62:[7, 60, 41] Operation: 96-55=41
Moving to Node #0,0
Current State: 62:[7, 55, 36], Operations: ['96-60=36']
Exploring Operation: 7+55=62, Resulting Numbers: [36, 62]
Generated Node #0,0,0: 62:[36, 62] Operation: 7+55=62
Exploring Operation: 36-7=29, Resulting Numbers: [55, 29]
Generated Node #0,0,1: 62:[55, 29] Operation: 36-7=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[36, 62], Operations: ['96-60=36', '7+55=62']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[55, 29], Operations: ['96-60=36', '36-7=29']
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[7, 60, 41], Operations: ['96-55=41']
Exploring Operation: 41-7=34, Resulting Numbers: [60, 34]
Generated Node #0,1,0: 62:[60, 34] Operation: 41-7=34
Exploring Operation: 7+60=67, Resulting Numbers: [41, 67]
Generated Node #0,1,1: 62:[41, 67] Operation: 7+60=67
Moving to Node #0,1,0
Current State: 62:[60, 34], Operations: ['96-55=41', '41-7=34']
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[41, 67], Operations: ['96-55=41', '7+60=67']
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,62 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,62 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
50,
84,
48
] | 63 | [
"42+84=126",
"50-48=2",
"126/2=63"
] | Current State: 63:[42, 50, 84, 48], Operations: []
Exploring Operation: 42+84=126, Resulting Numbers: [50, 48, 126]
Generated Node #2: [50, 48, 126] from Operation: 42+84=126
Current State: 63:[50, 48, 126], Operations: ['42+84=126']
Exploring Operation: 50-48=2, Resulting Numbers: [126, 2]
Generated Node #3: [126, 2] from Operation: 50-48=2
Current State: 63:[126, 2], Operations: ['42+84=126', '50-48=2']
Exploring Operation: 126/2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[42, 50, 84, 48], Operations: []
Exploring Operation: 50-42=8, Resulting Numbers: [84, 48, 8]
Generated Node #0,0: 63:[84, 48, 8] Operation: 50-42=8
Exploring Operation: 48-42=6, Resulting Numbers: [50, 84, 6]
Generated Node #0,1: 63:[50, 84, 6] Operation: 48-42=6
Exploring Operation: 84/42=2, Resulting Numbers: [50, 48, 2]
Generated Node #0,2: 63:[50, 48, 2] Operation: 84/42=2
Moving to Node #0,2
Current State: 63:[50, 48, 2], Operations: ['84/42=2']
Exploring Operation: 48/2=24, Resulting Numbers: [50, 24]
Generated Node #0,2,0: 63:[50, 24] Operation: 48/2=24
Exploring Operation: 50-48=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 63:[2, 2] Operation: 50-48=2
Exploring Operation: 50/2=25, Resulting Numbers: [48, 25]
Generated Node #0,2,2: 63:[48, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[2, 2], Operations: ['84/42=2', '50-48=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,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,2,0
Current State: 63:[50, 24], Operations: ['84/42=2', '48/2=24']
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,63 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,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,2,2
Current State: 63:[48, 25], Operations: ['84/42=2', '50/2=25']
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 48*25=1200, Resulting Numbers: [1200]
1200,63 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,63 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: 63:[50, 84, 6], Operations: ['48-42=6']
Exploring Operation: 84/6=14, Resulting Numbers: [50, 14]
Generated Node #0,1,0: 63:[50, 14] Operation: 84/6=14
Exploring Operation: 50+6=56, Resulting Numbers: [84, 56]
Generated Node #0,1,1: 63:[84, 56] Operation: 50+6=56
Exploring Operation: 84-50=34, Resulting Numbers: [6, 34]
Generated Node #0,1,2: 63:[6, 34] Operation: 84-50=34
Moving to Node #0,0
Current State: 63:[84, 48, 8], Operations: ['50-42=8']
Exploring Operation: 84-8=76, Resulting Numbers: [48, 76]
Generated Node #0,0,0: 63:[48, 76] Operation: 84-8=76
Exploring Operation: 48/8=6, Resulting Numbers: [84, 6]
Generated Node #0,0,1: 63:[84, 6] Operation: 48/8=6
Exploring Operation: 84-48=36, Resulting Numbers: [8, 36]
Generated Node #0,0,2: 63:[8, 36] Operation: 84-48=36
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[8, 36], Operations: ['50-42=8', '84-48=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,63 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,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,1
Current State: 63:[84, 6], Operations: ['50-42=8', '48/8=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,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:[48, 76], Operations: ['50-42=8', '84-8=76']
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,63 unequal: No Solution
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,63 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: 63:[6, 34], Operations: ['48-42=6', '84-50=34']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,63 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[50, 14], Operations: ['48-42=6', '84/6=14']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 50*14=700, Resulting Numbers: [700]
700,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[84, 56], Operations: ['48-42=6', '50+6=56']
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,63 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,63 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,63 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
22,
44,
58
] | 61 | [
"69-22=47",
"58-44=14",
"47+14=61"
] | Current State: 61:[69, 22, 44, 58], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [44, 58, 47]
Generated Node #2: [44, 58, 47] from Operation: 69-22=47
Current State: 61:[44, 58, 47], Operations: ['69-22=47']
Exploring Operation: 58-44=14, Resulting Numbers: [47, 14]
Generated Node #3: [47, 14] from Operation: 58-44=14
Current State: 61:[47, 14], Operations: ['69-22=47', '58-44=14']
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[69, 22, 44, 58], Operations: []
Exploring Operation: 22+58=80, Resulting Numbers: [69, 44, 80]
Generated Node #0,0: 61:[69, 44, 80] Operation: 22+58=80
Exploring Operation: 22+44=66, Resulting Numbers: [69, 58, 66]
Generated Node #0,1: 61:[69, 58, 66] Operation: 22+44=66
Exploring Operation: 69+22=91, Resulting Numbers: [44, 58, 91]
Generated Node #0,2: 61:[44, 58, 91] Operation: 69+22=91
Exploring Operation: 69-22=47, Resulting Numbers: [44, 58, 47]
Generated Node #0,3: 61:[44, 58, 47] Operation: 69-22=47
Moving to Node #0,1
Current State: 61:[69, 58, 66], Operations: ['22+44=66']
Exploring Operation: 69-58=11, Resulting Numbers: [66, 11]
Generated Node #0,1,0: 61:[66, 11] Operation: 69-58=11
Exploring Operation: 66-58=8, Resulting Numbers: [69, 8]
Generated Node #0,1,1: 61:[69, 8] Operation: 66-58=8
Exploring Operation: 69+58=127, Resulting Numbers: [66, 127]
Generated Node #0,1,2: 61:[66, 127] Operation: 69+58=127
Exploring Operation: 69-66=3, Resulting Numbers: [58, 3]
Generated Node #0,1,3: 61:[58, 3] Operation: 69-66=3
Moving to Node #0,3
Current State: 61:[44, 58, 47], Operations: ['69-22=47']
Exploring Operation: 44+47=91, Resulting Numbers: [58, 91]
Generated Node #0,3,0: 61:[58, 91] Operation: 44+47=91
Exploring Operation: 47-44=3, Resulting Numbers: [58, 3]
Generated Node #0,3,1: 61:[58, 3] Operation: 47-44=3
Exploring Operation: 44+58=102, Resulting Numbers: [47, 102]
Generated Node #0,3,2: 61:[47, 102] Operation: 44+58=102
Exploring Operation: 58-44=14, Resulting Numbers: [47, 14]
Generated Node #0,3,3: 61:[47, 14] Operation: 58-44=14
Moving to Node #0,0
Current State: 61:[69, 44, 80], Operations: ['22+58=80']
Exploring Operation: 69-44=25, Resulting Numbers: [80, 25]
Generated Node #0,0,0: 61:[80, 25] Operation: 69-44=25
Exploring Operation: 80-69=11, Resulting Numbers: [44, 11]
Generated Node #0,0,1: 61:[44, 11] Operation: 80-69=11
Exploring Operation: 80-44=36, Resulting Numbers: [69, 36]
Generated Node #0,0,2: 61:[69, 36] Operation: 80-44=36
Exploring Operation: 69+44=113, Resulting Numbers: [80, 113]
Generated Node #0,0,3: 61:[80, 113] Operation: 69+44=113
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[69, 36], Operations: ['22+58=80', '80-44=36']
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,61 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,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:[80, 25], Operations: ['22+58=80', '69-44=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,61 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,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:[44, 11], Operations: ['22+58=80', '80-69=11']
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,61 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[80, 113], Operations: ['22+58=80', '69+44=113']
Exploring Operation: 80*113=9040, Resulting Numbers: [9040]
9040,61 unequal: No Solution
Exploring Operation: 113-80=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 80+113=193, Resulting Numbers: [193]
193,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[44, 58, 91], Operations: ['69+22=91']
Exploring Operation: 91-58=33, Resulting Numbers: [44, 33]
Generated Node #0,2,0: 61:[44, 33] Operation: 91-58=33
Exploring Operation: 58-44=14, Resulting Numbers: [91, 14]
Generated Node #0,2,1: 61:[91, 14] Operation: 58-44=14
Exploring Operation: 91-44=47, Resulting Numbers: [58, 47]
Generated Node #0,2,2: 61:[58, 47] Operation: 91-44=47
Exploring Operation: 44+58=102, Resulting Numbers: [91, 102]
Generated Node #0,2,3: 61:[91, 102] Operation: 44+58=102
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[58, 47], Operations: ['69+22=91', '91-44=47']
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,61 unequal: No Solution
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,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:[44, 33], Operations: ['69+22=91', '91-58=33']
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,61 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,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,3
Current State: 61:[91, 102], Operations: ['69+22=91', '44+58=102']
Exploring Operation: 91+102=193, Resulting Numbers: [193]
193,61 unequal: No Solution
Exploring Operation: 91*102=9282, Resulting Numbers: [9282]
9282,61 unequal: No Solution
Exploring Operation: 102-91=11, Resulting Numbers: [11]
11,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,1
Current State: 61:[91, 14], Operations: ['69+22=91', '58-44=14']
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,61 unequal: No Solution
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 61:[58, 91], Operations: ['69-22=47', '44+47=91']
Exploring Operation: 58+91=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 58*91=5278, Resulting Numbers: [5278]
5278,61 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[47, 102], Operations: ['69-22=47', '44+58=102']
Exploring Operation: 47+102=149, Resulting Numbers: [149]
149,61 unequal: No Solution
Exploring Operation: 102-47=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 47*102=4794, Resulting Numbers: [4794]
4794,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[66, 11], Operations: ['22+44=66', '69-58=11']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,61 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,61 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[58, 3], Operations: ['69-22=47', '47-44=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[69, 22, 44, 58], Operations: []
Exploring Operation: 69-22=47, Resulting Numbers: [44, 58, 47]
Generated Node #0,3: 61:[44, 58, 47] Operation: 69-22=47
Moving to Node #0,3
Current State: 61:[44, 58, 47], Operations: ['69-22=47']
Exploring Operation: 47-44=3, Resulting Numbers: [58, 3]
Generated Node #0,3,1: 61:[58, 3] Operation: 47-44=3
Moving to Node #0,3,1
Current State: 61:[58, 3], Operations: ['69-22=47', '47-44=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.947917 | hs_4 | sum_heuristic |
[
98,
35,
80,
85
] | 32 | [
"98+35=133",
"80+85=165",
"165-133=32"
] | Current State: 32:[98, 35, 80, 85], Operations: []
Exploring Operation: 98+35=133, Resulting Numbers: [80, 85, 133]
Generated Node #2: [80, 85, 133] from Operation: 98+35=133
Current State: 32:[80, 85, 133], Operations: ['98+35=133']
Exploring Operation: 80+85=165, Resulting Numbers: [133, 165]
Generated Node #3: [133, 165] from Operation: 80+85=165
Current State: 32:[133, 165], Operations: ['98+35=133', '80+85=165']
Exploring Operation: 165-133=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[98, 35, 80, 85], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [35, 80, 13]
Generated Node #0,0: 32:[35, 80, 13] Operation: 98-85=13
Exploring Operation: 98-80=18, Resulting Numbers: [35, 85, 18]
Generated Node #0,1: 32:[35, 85, 18] Operation: 98-80=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[35, 80, 13], Operations: ['98-85=13']
Exploring Operation: 80-13=67, Resulting Numbers: [35, 67]
Generated Node #0,0,0: 32:[35, 67] Operation: 80-13=67
Exploring Operation: 80-35=45, Resulting Numbers: [13, 45]
Generated Node #0,0,1: 32:[13, 45] Operation: 80-35=45
Moving to Node #0,0,1
Current State: 32:[13, 45], Operations: ['98-85=13', '80-35=45']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[98, 35, 80, 85], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [35, 80, 13]
Generated Node #0,0: 32:[35, 80, 13] Operation: 98-85=13
Moving to Node #0,0
Current State: 32:[35, 80, 13], Operations: ['98-85=13']
Exploring Operation: 80-35=45, Resulting Numbers: [13, 45]
Generated Node #0,0,1: 32:[13, 45] Operation: 80-35=45
Moving to Node #0,0,1
Current State: 32:[13, 45], Operations: ['98-85=13', '80-35=45']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
35,
4,
2,
25
] | 73 | [
"2+25=27",
"4*27=108",
"108-35=73"
] | Current State: 73:[35, 4, 2, 25], Operations: []
Exploring Operation: 2+25=27, Resulting Numbers: [35, 4, 27]
Generated Node #2: [35, 4, 27] from Operation: 2+25=27
Current State: 73:[35, 4, 27], Operations: ['2+25=27']
Exploring Operation: 4*27=108, Resulting Numbers: [35, 108]
Generated Node #3: [35, 108] from Operation: 4*27=108
Current State: 73:[35, 108], Operations: ['2+25=27', '4*27=108']
Exploring Operation: 108-35=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[35, 4, 2, 25], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [35, 4, 50]
Generated Node #0,0: 73:[35, 4, 50] Operation: 2*25=50
Exploring Operation: 35+4=39, Resulting Numbers: [2, 25, 39]
Generated Node #0,1: 73:[2, 25, 39] Operation: 35+4=39
Exploring Operation: 4*2=8, Resulting Numbers: [35, 25, 8]
Generated Node #0,2: 73:[35, 25, 8] Operation: 4*2=8
Exploring Operation: 4*25=100, Resulting Numbers: [35, 2, 100]
Generated Node #0,3: 73:[35, 2, 100] Operation: 4*25=100
Exploring Operation: 35*2=70, Resulting Numbers: [4, 25, 70]
Generated Node #0,4: 73:[4, 25, 70] Operation: 35*2=70
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[4, 25, 70], Operations: ['35*2=70']
Exploring Operation: 4+70=74, Resulting Numbers: [25, 74]
Generated Node #0,4,0: 73:[25, 74] Operation: 4+70=74
Exploring Operation: 4+25=29, Resulting Numbers: [70, 29]
Generated Node #0,4,1: 73:[70, 29] Operation: 4+25=29
Exploring Operation: 70-4=66, Resulting Numbers: [25, 66]
Generated Node #0,4,2: 73:[25, 66] Operation: 70-4=66
Exploring Operation: 4*25=100, Resulting Numbers: [70, 100]
Generated Node #0,4,3: 73:[70, 100] Operation: 4*25=100
Exploring Operation: 25-4=21, Resulting Numbers: [70, 21]
Generated Node #0,4,4: 73:[70, 21] Operation: 25-4=21
Moving to Node #0,4,3
Current State: 73:[70, 100], Operations: ['35*2=70', '4*25=100']
Exploring Operation: 100-70=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 70*100=7000, Resulting Numbers: [7000]
7000,73 unequal: No Solution
Exploring Operation: 70+100=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[70, 29], Operations: ['35*2=70', '4+25=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[25, 74], Operations: ['35*2=70', '4+70=74']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[25, 66], Operations: ['35*2=70', '70-4=66']
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,73 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,73 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[70, 21], Operations: ['35*2=70', '25-4=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,73 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[35, 4, 50], Operations: ['2*25=50']
Exploring Operation: 35+50=85, Resulting Numbers: [4, 85]
Generated Node #0,0,0: 73:[4, 85] Operation: 35+50=85
Exploring Operation: 35+4=39, Resulting Numbers: [50, 39]
Generated Node #0,0,1: 73:[50, 39] Operation: 35+4=39
Exploring Operation: 35-4=31, Resulting Numbers: [50, 31]
Generated Node #0,0,2: 73:[50, 31] Operation: 35-4=31
Exploring Operation: 50-4=46, Resulting Numbers: [35, 46]
Generated Node #0,0,3: 73:[35, 46] Operation: 50-4=46
Exploring Operation: 4+50=54, Resulting Numbers: [35, 54]
Generated Node #0,0,4: 73:[35, 54] Operation: 4+50=54
Moving to Node #0,0,1
Current State: 73:[50, 39], Operations: ['2*25=50', '35+4=39']
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,73 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[35, 54], Operations: ['2*25=50', '4+50=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,73 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[50, 31], Operations: ['2*25=50', '35-4=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[35, 46], Operations: ['2*25=50', '50-4=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[4, 85], Operations: ['2*25=50', '35+50=85']
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Exploring Operation: 4*85=340, Resulting Numbers: [340]
340,73 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[35, 2, 100], Operations: ['4*25=100']
Exploring Operation: 35*2=70, Resulting Numbers: [100, 70]
Generated Node #0,3,0: 73:[100, 70] Operation: 35*2=70
Exploring Operation: 100-2=98, Resulting Numbers: [35, 98]
Generated Node #0,3,1: 73:[35, 98] Operation: 100-2=98
Exploring Operation: 35+2=37, Resulting Numbers: [100, 37]
Generated Node #0,3,2: 73:[100, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [100, 33]
Generated Node #0,3,3: 73:[100, 33] Operation: 35-2=33
Exploring Operation: 100/2=50, Resulting Numbers: [35, 50]
Generated Node #0,3,4: 73:[35, 50] Operation: 100/2=50
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 73:[100, 70], Operations: ['4*25=100', '35*2=70']
Exploring Operation: 100+70=170, Resulting Numbers: [170]
170,73 unequal: No Solution
Exploring Operation: 100-70=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 100*70=7000, Resulting Numbers: [7000]
7000,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 73:[35, 50], Operations: ['4*25=100', '100/2=50']
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,73 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 73:[35, 98], Operations: ['4*25=100', '100-2=98']
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 35+98=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Exploring Operation: 35*98=3430, Resulting Numbers: [3430]
3430,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[100, 37], Operations: ['4*25=100', '35+2=37']
Exploring Operation: 100*37=3700, Resulting Numbers: [3700]
3700,73 unequal: No Solution
Exploring Operation: 100-37=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 100+37=137, Resulting Numbers: [137]
137,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[100, 33], Operations: ['4*25=100', '35-2=33']
Exploring Operation: 100+33=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 100*33=3300, Resulting Numbers: [3300]
3300,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[35, 25, 8], Operations: ['4*2=8']
Exploring Operation: 25+8=33, Resulting Numbers: [35, 33]
Generated Node #0,2,0: 73:[35, 33] Operation: 25+8=33
Exploring Operation: 25-8=17, Resulting Numbers: [35, 17]
Generated Node #0,2,1: 73:[35, 17] Operation: 25-8=17
Exploring Operation: 35+25=60, Resulting Numbers: [8, 60]
Generated Node #0,2,2: 73:[8, 60] Operation: 35+25=60
Exploring Operation: 35+8=43, Resulting Numbers: [25, 43]
Generated Node #0,2,3: 73:[25, 43] Operation: 35+8=43
Exploring Operation: 35-8=27, Resulting Numbers: [25, 27]
Generated Node #0,2,4: 73:[25, 27] Operation: 35-8=27
Moving to Node #0,2,0
Current State: 73:[35, 33], Operations: ['4*2=8', '25+8=33']
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,73 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[25, 43], Operations: ['4*2=8', '35+8=43']
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[8, 60], Operations: ['4*2=8', '35+25=60']
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,73 unequal: No Solution
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[35, 17], Operations: ['4*2=8', '25-8=17']
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,73 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[25, 27], Operations: ['4*2=8', '35-8=27']
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,73 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[2, 25, 39], Operations: ['35+4=39']
Exploring Operation: 2+39=41, Resulting Numbers: [25, 41]
Generated Node #0,1,0: 73:[25, 41] Operation: 2+39=41
Exploring Operation: 2*39=78, Resulting Numbers: [25, 78]
Generated Node #0,1,1: 73:[25, 78] Operation: 2*39=78
Exploring Operation: 2*25=50, Resulting Numbers: [39, 50]
Generated Node #0,1,2: 73:[39, 50] Operation: 2*25=50
Exploring Operation: 2+25=27, Resulting Numbers: [39, 27]
Generated Node #0,1,3: 73:[39, 27] Operation: 2+25=27
Exploring Operation: 25+39=64, Resulting Numbers: [2, 64]
Generated Node #0,1,4: 73:[2, 64] Operation: 25+39=64
Moving to Node #0,1,1
Current State: 73:[25, 78], Operations: ['35+4=39', '2*39=78']
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,73 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[39, 50], Operations: ['35+4=39', '2*25=50']
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,73 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,73 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[25, 41], Operations: ['35+4=39', '2+39=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,73 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[39, 27], Operations: ['35+4=39', '2+25=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,73 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[2, 64], Operations: ['35+4=39', '25+39=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,73 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,73 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,73 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 |
[
10,
91,
51,
70
] | 11 | [
"91-51=40",
"70+40=110",
"110/10=11"
] | Current State: 11:[10, 91, 51, 70], Operations: []
Exploring Operation: 91-51=40, Resulting Numbers: [10, 70, 40]
Generated Node #2: [10, 70, 40] from Operation: 91-51=40
Current State: 11:[10, 70, 40], Operations: ['91-51=40']
Exploring Operation: 70+40=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 70+40=110
Current State: 11:[10, 110], Operations: ['91-51=40', '70+40=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[10, 91, 51, 70], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [10, 51, 21]
Generated Node #0,0: 11:[10, 51, 21] Operation: 91-70=21
Exploring Operation: 91-51=40, Resulting Numbers: [10, 70, 40]
Generated Node #0,1: 11:[10, 70, 40] Operation: 91-51=40
Exploring Operation: 70/10=7, Resulting Numbers: [91, 51, 7]
Generated Node #0,2: 11:[91, 51, 7] Operation: 70/10=7
Exploring Operation: 91-10=81, Resulting Numbers: [51, 70, 81]
Generated Node #0,3: 11:[51, 70, 81] Operation: 91-10=81
Exploring Operation: 70-51=19, Resulting Numbers: [10, 91, 19]
Generated Node #0,4: 11:[10, 91, 19] Operation: 70-51=19
Moving to Node #0,0
Current State: 11:[10, 51, 21], Operations: ['91-70=21']
Exploring Operation: 21-10=11, Resulting Numbers: [51, 11]
Generated Node #0,0,0: 11:[51, 11] Operation: 21-10=11
Exploring Operation: 51-10=41, Resulting Numbers: [21, 41]
Generated Node #0,0,1: 11:[21, 41] Operation: 51-10=41
Exploring Operation: 10+51=61, Resulting Numbers: [21, 61]
Generated Node #0,0,2: 11:[21, 61] Operation: 10+51=61
Exploring Operation: 10+21=31, Resulting Numbers: [51, 31]
Generated Node #0,0,3: 11:[51, 31] Operation: 10+21=31
Exploring Operation: 51-21=30, Resulting Numbers: [10, 30]
Generated Node #0,0,4: 11:[10, 30] Operation: 51-21=30
Moving to Node #0,4
Current State: 11:[10, 91, 19], Operations: ['70-51=19']
Exploring Operation: 19-10=9, Resulting Numbers: [91, 9]
Generated Node #0,4,0: 11:[91, 9] Operation: 19-10=9
Exploring Operation: 91-19=72, Resulting Numbers: [10, 72]
Generated Node #0,4,1: 11:[10, 72] Operation: 91-19=72
Exploring Operation: 91-10=81, Resulting Numbers: [19, 81]
Generated Node #0,4,2: 11:[19, 81] Operation: 91-10=81
Exploring Operation: 10+91=101, Resulting Numbers: [19, 101]
Generated Node #0,4,3: 11:[19, 101] Operation: 10+91=101
Exploring Operation: 10+19=29, Resulting Numbers: [91, 29]
Generated Node #0,4,4: 11:[91, 29] Operation: 10+19=29
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 11:[10, 72], Operations: ['70-51=19', '91-19=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,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,4,2
Current State: 11:[19, 81], Operations: ['70-51=19', '91-10=81']
Exploring Operation: 19*81=1539, Resulting Numbers: [1539]
1539,11 unequal: No Solution
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,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,4,0
Current State: 11:[91, 9], Operations: ['70-51=19', '19-10=9']
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,11 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,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,4,3
Current State: 11:[19, 101], Operations: ['70-51=19', '10+91=101']
Exploring Operation: 19+101=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 101-19=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Exploring Operation: 19*101=1919, Resulting Numbers: [1919]
1919,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,4,4
Current State: 11:[91, 29], Operations: ['70-51=19', '10+19=29']
Exploring Operation: 91*29=2639, Resulting Numbers: [2639]
2639,11 unequal: No Solution
Exploring Operation: 91+29=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,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, 70, 40], Operations: ['91-51=40']
Exploring Operation: 40/10=4, Resulting Numbers: [70, 4]
Generated Node #0,1,0: 11:[70, 4] Operation: 40/10=4
Exploring Operation: 70-10=60, Resulting Numbers: [40, 60]
Generated Node #0,1,1: 11:[40, 60] Operation: 70-10=60
Exploring Operation: 40-10=30, Resulting Numbers: [70, 30]
Generated Node #0,1,2: 11:[70, 30] Operation: 40-10=30
Exploring Operation: 70/10=7, Resulting Numbers: [40, 7]
Generated Node #0,1,3: 11:[40, 7] Operation: 70/10=7
Exploring Operation: 70-40=30, Resulting Numbers: [10, 30]
Generated Node #0,1,4: 11:[10, 30] Operation: 70-40=30
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 11:[10, 30], Operations: ['91-51=40', '70-40=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,11 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,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,3
Current State: 11:[40, 7], Operations: ['91-51=40', '70/10=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,11 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,11 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,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:[70, 4], Operations: ['91-51=40', '40/10=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,11 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,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:[40, 60], Operations: ['91-51=40', '70-10=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,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,2
Current State: 11:[70, 30], Operations: ['91-51=40', '40-10=30']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,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:[91, 51, 7], Operations: ['70/10=7']
Exploring Operation: 51-7=44, Resulting Numbers: [91, 44]
Generated Node #0,2,0: 11:[91, 44] Operation: 51-7=44
Exploring Operation: 91-7=84, Resulting Numbers: [51, 84]
Generated Node #0,2,1: 11:[51, 84] Operation: 91-7=84
Exploring Operation: 91+7=98, Resulting Numbers: [51, 98]
Generated Node #0,2,2: 11:[51, 98] Operation: 91+7=98
Exploring Operation: 91/7=13, Resulting Numbers: [51, 13]
Generated Node #0,2,3: 11:[51, 13] Operation: 91/7=13
Exploring Operation: 91-51=40, Resulting Numbers: [7, 40]
Generated Node #0,2,4: 11:[7, 40] Operation: 91-51=40
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 11:[7, 40], Operations: ['70/10=7', '91-51=40']
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,11 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,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,2,3
Current State: 11:[51, 13], Operations: ['70/10=7', '91/7=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,11 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,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,2,0
Current State: 11:[91, 44], Operations: ['70/10=7', '51-7=44']
Exploring Operation: 91*44=4004, Resulting Numbers: [4004]
4004,11 unequal: No Solution
Exploring Operation: 91+44=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,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,2,1
Current State: 11:[51, 84], Operations: ['70/10=7', '91-7=84']
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,11 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,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,2,2
Current State: 11:[51, 98], Operations: ['70/10=7', '91+7=98']
Exploring Operation: 51*98=4998, Resulting Numbers: [4998]
4998,11 unequal: No Solution
Exploring Operation: 51+98=149, Resulting Numbers: [149]
149,11 unequal: No Solution
Exploring Operation: 98-51=47, Resulting Numbers: [47]
47,11 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: 11:[51, 70, 81], Operations: ['91-10=81']
Exploring Operation: 70-51=19, Resulting Numbers: [81, 19]
Generated Node #0,3,0: 11:[81, 19] Operation: 70-51=19
Exploring Operation: 51+81=132, Resulting Numbers: [70, 132]
Generated Node #0,3,1: 11:[70, 132] Operation: 51+81=132
Exploring Operation: 81-51=30, Resulting Numbers: [70, 30]
Generated Node #0,3,2: 11:[70, 30] Operation: 81-51=30
Exploring Operation: 81-70=11, Resulting Numbers: [51, 11]
Generated Node #0,3,3: 11:[51, 11] Operation: 81-70=11
Exploring Operation: 51+70=121, Resulting Numbers: [81, 121]
Generated Node #0,3,4: 11:[81, 121] Operation: 51+70=121
Moving to Node #0,0,4
Current State: 11:[10, 30], Operations: ['91-70=21', '51-21=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[21, 41], Operations: ['91-70=21', '51-10=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[51, 11], Operations: ['91-10=81', '81-70=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,11 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[51, 11], Operations: ['91-70=21', '21-10=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,11 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[51, 31], Operations: ['91-70=21', '10+21=31']
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,11 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[21, 61], Operations: ['91-70=21', '10+51=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,11 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[81, 19], Operations: ['91-10=81', '70-51=19']
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[70, 30], Operations: ['91-10=81', '81-51=30']
Exploring Operation: 70*30=2100, Resulting Numbers: [2100]
2100,11 unequal: No Solution
Exploring Operation: 70+30=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[70, 132], Operations: ['91-10=81', '51+81=132']
Exploring Operation: 70*132=9240, Resulting Numbers: [9240]
9240,11 unequal: No Solution
Exploring Operation: 70+132=202, Resulting Numbers: [202]
202,11 unequal: No Solution
Exploring Operation: 132-70=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[81, 121], Operations: ['91-10=81', '51+70=121']
Exploring Operation: 121-81=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 81*121=9801, Resulting Numbers: [9801]
9801,11 unequal: No Solution
Exploring Operation: 81+121=202, Resulting Numbers: [202]
202,11 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
66,
84,
82
] | 38 | [
"85-66=19",
"84-82=2",
"19*2=38"
] | Current State: 38:[85, 66, 84, 82], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [84, 82, 19]
Generated Node #2: [84, 82, 19] from Operation: 85-66=19
Current State: 38:[84, 82, 19], Operations: ['85-66=19']
Exploring Operation: 84-82=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 84-82=2
Current State: 38:[19, 2], Operations: ['85-66=19', '84-82=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[85, 66, 84, 82], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [66, 82, 1]
Generated Node #0,0: 38:[66, 82, 1] Operation: 85-84=1
Exploring Operation: 85-82=3, Resulting Numbers: [66, 84, 3]
Generated Node #0,1: 38:[66, 84, 3] Operation: 85-82=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[66, 82, 1], Operations: ['85-84=1']
Exploring Operation: 66-1=65, Resulting Numbers: [82, 65]
Generated Node #0,0,0: 38:[82, 65] Operation: 66-1=65
Exploring Operation: 82-66=16, Resulting Numbers: [1, 16]
Generated Node #0,0,1: 38:[1, 16] Operation: 82-66=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 38:[1, 16], Operations: ['85-84=1', '82-66=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,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,0,0
Current State: 38:[82, 65], Operations: ['85-84=1', '66-1=65']
Exploring Operation: 82-65=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 82+65=147, Resulting Numbers: [147]
147,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,1
Current State: 38:[66, 84, 3], Operations: ['85-82=3']
Exploring Operation: 84-66=18, Resulting Numbers: [3, 18]
Generated Node #0,1,0: 38:[3, 18] Operation: 84-66=18
Exploring Operation: 84/3=28, Resulting Numbers: [66, 28]
Generated Node #0,1,1: 38:[66, 28] Operation: 84/3=28
Moving to Node #0,1,0
Current State: 38:[3, 18], Operations: ['85-82=3', '84-66=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[66, 28], Operations: ['85-82=3', '84/3=28']
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,38 unequal: No Solution
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[85, 66, 84, 82], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [66, 84, 3]
Generated Node #0,1: 38:[66, 84, 3] Operation: 85-82=3
Moving to Node #0,1
Current State: 38:[66, 84, 3], Operations: ['85-82=3']
Exploring Operation: 84/3=28, Resulting Numbers: [66, 28]
Generated Node #0,1,1: 38:[66, 28] Operation: 84/3=28
Moving to Node #0,1,1
Current State: 38:[66, 28], Operations: ['85-82=3', '84/3=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
37,
33,
46,
40
] | 90 | [
"37-33=4",
"46+40=86",
"4+86=90"
] | Current State: 90:[37, 33, 46, 40], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [46, 40, 4]
Generated Node #2: [46, 40, 4] from Operation: 37-33=4
Current State: 90:[46, 40, 4], Operations: ['37-33=4']
Exploring Operation: 46+40=86, Resulting Numbers: [4, 86]
Generated Node #3: [4, 86] from Operation: 46+40=86
Current State: 90:[4, 86], Operations: ['37-33=4', '46+40=86']
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[37, 33, 46, 40], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [33, 46, 3]
Generated Node #0,0: 90:[33, 46, 3] Operation: 40-37=3
Moving to Node #0,0
Current State: 90:[33, 46, 3], Operations: ['40-37=3']
Exploring Operation: 33-3=30, Resulting Numbers: [46, 30]
Generated Node #0,0,0: 90:[46, 30] Operation: 33-3=30
Moving to Node #0,0,0
Current State: 90:[46, 30], Operations: ['40-37=3', '33-3=30']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,90 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
69,
72,
23,
91
] | 71 | [
"72-69=3",
"91-23=68",
"3+68=71"
] | Current State: 71:[69, 72, 23, 91], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [23, 91, 3]
Generated Node #2: [23, 91, 3] from Operation: 72-69=3
Current State: 71:[23, 91, 3], Operations: ['72-69=3']
Exploring Operation: 91-23=68, Resulting Numbers: [3, 68]
Generated Node #3: [3, 68] from Operation: 91-23=68
Current State: 71:[3, 68], Operations: ['72-69=3', '91-23=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[69, 72, 23, 91], Operations: []
Exploring Operation: 91-23=68, Resulting Numbers: [69, 72, 68]
Generated Node #0,0: 71:[69, 72, 68] Operation: 91-23=68
Moving to Node #0,0
Current State: 71:[69, 72, 68], Operations: ['91-23=68']
Exploring Operation: 69+68=137, Resulting Numbers: [72, 137]
Generated Node #0,0,0: 71:[72, 137] Operation: 69+68=137
Moving to Node #0,0,0
Current State: 71:[72, 137], Operations: ['91-23=68', '69+68=137']
Exploring Operation: 137-72=65, Resulting Numbers: [65]
65,71 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
40,
5,
60
] | 85 | [
"60-40=20",
"4*20=80",
"5+80=85"
] | Current State: 85:[4, 40, 5, 60], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [4, 5, 20]
Generated Node #2: [4, 5, 20] from Operation: 60-40=20
Current State: 85:[4, 5, 20], Operations: ['60-40=20']
Exploring Operation: 4*20=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 4*20=80
Current State: 85:[5, 80], Operations: ['60-40=20', '4*20=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[4, 40, 5, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [40, 5, 15]
Generated Node #0,0: 85:[40, 5, 15] Operation: 60/4=15
Exploring Operation: 60-40=20, Resulting Numbers: [4, 5, 20]
Generated Node #0,1: 85:[4, 5, 20] Operation: 60-40=20
Exploring Operation: 40/5=8, Resulting Numbers: [4, 60, 8]
Generated Node #0,2: 85:[4, 60, 8] Operation: 40/5=8
Exploring Operation: 40+60=100, Resulting Numbers: [4, 5, 100]
Generated Node #0,3: 85:[4, 5, 100] Operation: 40+60=100
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[4, 5, 20], Operations: ['60-40=20']
Exploring Operation: 20-4=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 85:[5, 16] Operation: 20-4=16
Exploring Operation: 20/5=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 85:[4, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [4, 15]
Generated Node #0,1,2: 85:[4, 15] Operation: 20-5=15
Exploring Operation: 20/4=5, Resulting Numbers: [5, 5]
Generated Node #0,1,3: 85:[5, 5] Operation: 20/4=5
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[5, 5], Operations: ['60-40=20', '20/4=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[5, 16], Operations: ['60-40=20', '20-4=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[4, 4], Operations: ['60-40=20', '20/5=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[4, 15], Operations: ['60-40=20', '20-5=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[4, 5, 100], Operations: ['40+60=100']
Exploring Operation: 100/5=20, Resulting Numbers: [4, 20]
Generated Node #0,3,0: 85:[4, 20] Operation: 100/5=20
Exploring Operation: 100-5=95, Resulting Numbers: [4, 95]
Generated Node #0,3,1: 85:[4, 95] Operation: 100-5=95
Exploring Operation: 100/4=25, Resulting Numbers: [5, 25]
Generated Node #0,3,2: 85:[5, 25] Operation: 100/4=25
Exploring Operation: 100-4=96, Resulting Numbers: [5, 96]
Generated Node #0,3,3: 85:[5, 96] Operation: 100-4=96
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[4, 20], Operations: ['40+60=100', '100/5=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[5, 25], Operations: ['40+60=100', '100/4=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[4, 95], Operations: ['40+60=100', '100-5=95']
Exploring Operation: 4*95=380, Resulting Numbers: [380]
380,85 unequal: No Solution
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,85 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 85:[5, 96], Operations: ['40+60=100', '100-4=96']
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,85 unequal: No Solution
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[40, 5, 15], Operations: ['60/4=15']
Exploring Operation: 15/5=3, Resulting Numbers: [40, 3]
Generated Node #0,0,0: 85:[40, 3] Operation: 15/5=3
Exploring Operation: 40-5=35, Resulting Numbers: [15, 35]
Generated Node #0,0,1: 85:[15, 35] Operation: 40-5=35
Exploring Operation: 40-15=25, Resulting Numbers: [5, 25]
Generated Node #0,0,2: 85:[5, 25] Operation: 40-15=25
Exploring Operation: 40/5=8, Resulting Numbers: [15, 8]
Generated Node #0,0,3: 85:[15, 8] Operation: 40/5=8
Moving to Node #0,0,3
Current State: 85:[15, 8], Operations: ['60/4=15', '40/5=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[5, 25], Operations: ['60/4=15', '40-15=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[15, 35], Operations: ['60/4=15', '40-5=35']
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,85 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[40, 3], Operations: ['60/4=15', '15/5=3']
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[4, 60, 8], Operations: ['40/5=8']
Exploring Operation: 60+8=68, Resulting Numbers: [4, 68]
Generated Node #0,2,0: 85:[4, 68] Operation: 60+8=68
Exploring Operation: 4+60=64, Resulting Numbers: [8, 64]
Generated Node #0,2,1: 85:[8, 64] Operation: 4+60=64
Exploring Operation: 8-4=4, Resulting Numbers: [60, 4]
Generated Node #0,2,2: 85:[60, 4] Operation: 8-4=4
Exploring Operation: 60/4=15, Resulting Numbers: [8, 15]
Generated Node #0,2,3: 85:[8, 15] Operation: 60/4=15
Moving to Node #0,2,3
Current State: 85:[8, 15], Operations: ['40/5=8', '60/4=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,85 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[4, 68], Operations: ['40/5=8', '60+8=68']
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,85 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[8, 64], Operations: ['40/5=8', '4+60=64']
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,85 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[60, 4], Operations: ['40/5=8', '8-4=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,85 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,85 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 |
[
99,
58,
32,
93
] | 32 | [
"99+58=157",
"32+93=125",
"157-125=32"
] | Current State: 32:[99, 58, 32, 93], Operations: []
Exploring Operation: 99+58=157, Resulting Numbers: [32, 93, 157]
Generated Node #2: [32, 93, 157] from Operation: 99+58=157
Current State: 32:[32, 93, 157], Operations: ['99+58=157']
Exploring Operation: 32+93=125, Resulting Numbers: [157, 125]
Generated Node #3: [157, 125] from Operation: 32+93=125
Current State: 32:[157, 125], Operations: ['99+58=157', '32+93=125']
Exploring Operation: 157-125=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[99, 58, 32, 93], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [58, 32, 6]
Generated Node #0,0: 32:[58, 32, 6] Operation: 99-93=6
Exploring Operation: 99-58=41, Resulting Numbers: [32, 93, 41]
Generated Node #0,1: 32:[32, 93, 41] Operation: 99-58=41
Exploring Operation: 93-58=35, Resulting Numbers: [99, 32, 35]
Generated Node #0,2: 32:[99, 32, 35] Operation: 93-58=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[58, 32, 6], Operations: ['99-93=6']
Exploring Operation: 58+6=64, Resulting Numbers: [32, 64]
Generated Node #0,0,0: 32:[32, 64] Operation: 58+6=64
Exploring Operation: 58-32=26, Resulting Numbers: [6, 26]
Generated Node #0,0,1: 32:[6, 26] Operation: 58-32=26
Exploring Operation: 58-6=52, Resulting Numbers: [32, 52]
Generated Node #0,0,2: 32:[32, 52] Operation: 58-6=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[6, 26], Operations: ['99-93=6', '58-32=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[99, 58, 32, 93], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [58, 32, 6]
Generated Node #0,0: 32:[58, 32, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 32:[58, 32, 6], Operations: ['99-93=6']
Exploring Operation: 58-32=26, Resulting Numbers: [6, 26]
Generated Node #0,0,1: 32:[6, 26] Operation: 58-32=26
Moving to Node #0,0,1
Current State: 32:[6, 26], Operations: ['99-93=6', '58-32=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
59,
33,
3,
81
] | 24 | [
"59*33=1947",
"1947-3=1944",
"1944/81=24"
] | Current State: 24:[59, 33, 3, 81], Operations: []
Exploring Operation: 59*33=1947, Resulting Numbers: [3, 81, 1947]
Generated Node #2: [3, 81, 1947] from Operation: 59*33=1947
Current State: 24:[3, 81, 1947], Operations: ['59*33=1947']
Exploring Operation: 1947-3=1944, Resulting Numbers: [81, 1944]
Generated Node #3: [81, 1944] from Operation: 1947-3=1944
Current State: 24:[81, 1944], Operations: ['59*33=1947', '1947-3=1944']
Exploring Operation: 1944/81=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[59, 33, 3, 81], Operations: []
Exploring Operation: 59-33=26, Resulting Numbers: [3, 81, 26]
Generated Node #0,0: 24:[3, 81, 26] Operation: 59-33=26
Exploring Operation: 81-59=22, Resulting Numbers: [33, 3, 22]
Generated Node #0,1: 24:[33, 3, 22] Operation: 81-59=22
Exploring Operation: 81-33=48, Resulting Numbers: [59, 3, 48]
Generated Node #0,2: 24:[59, 3, 48] Operation: 81-33=48
Exploring Operation: 81/3=27, Resulting Numbers: [59, 33, 27]
Generated Node #0,3: 24:[59, 33, 27] Operation: 81/3=27
Moving to Node #0,1
Current State: 24:[33, 3, 22], Operations: ['81-59=22']
Exploring Operation: 3+22=25, Resulting Numbers: [33, 25]
Generated Node #0,1,0: 24:[33, 25] Operation: 3+22=25
Exploring Operation: 33-3=30, Resulting Numbers: [22, 30]
Generated Node #0,1,1: 24:[22, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [22, 11]
Generated Node #0,1,2: 24:[22, 11] Operation: 33/3=11
Exploring Operation: 33-22=11, Resulting Numbers: [3, 11]
Generated Node #0,1,3: 24:[3, 11] Operation: 33-22=11
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[3, 11], Operations: ['81-59=22', '33-22=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[22, 11], Operations: ['81-59=22', '33/3=11']
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[22, 30], Operations: ['81-59=22', '33-3=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[33, 25], Operations: ['81-59=22', '3+22=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,24 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: 24:[59, 33, 27], Operations: ['81/3=27']
Exploring Operation: 33-27=6, Resulting Numbers: [59, 6]
Generated Node #0,3,0: 24:[59, 6] Operation: 33-27=6
Exploring Operation: 59+33=92, Resulting Numbers: [27, 92]
Generated Node #0,3,1: 24:[27, 92] Operation: 59+33=92
Exploring Operation: 59-33=26, Resulting Numbers: [27, 26]
Generated Node #0,3,2: 24:[27, 26] Operation: 59-33=26
Exploring Operation: 59-27=32, Resulting Numbers: [33, 32]
Generated Node #0,3,3: 24:[33, 32] Operation: 59-27=32
Moving to Node #0,2
Current State: 24:[59, 3, 48], Operations: ['81-33=48']
Exploring Operation: 59-48=11, Resulting Numbers: [3, 11]
Generated Node #0,2,0: 24:[3, 11] Operation: 59-48=11
Exploring Operation: 48-3=45, Resulting Numbers: [59, 45]
Generated Node #0,2,1: 24:[59, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [59, 16]
Generated Node #0,2,2: 24:[59, 16] Operation: 48/3=16
Exploring Operation: 59-3=56, Resulting Numbers: [48, 56]
Generated Node #0,2,3: 24:[48, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[3, 11], Operations: ['81-33=48', '59-48=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[59, 16], Operations: ['81-33=48', '48/3=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,24 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[59, 45], Operations: ['81-33=48', '48-3=45']
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[48, 56], Operations: ['81-33=48', '59-3=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,24 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,24 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: 24:[3, 81, 26], Operations: ['59-33=26']
Exploring Operation: 81/3=27, Resulting Numbers: [26, 27]
Generated Node #0,0,0: 24:[26, 27] Operation: 81/3=27
Exploring Operation: 81-26=55, Resulting Numbers: [3, 55]
Generated Node #0,0,1: 24:[3, 55] Operation: 81-26=55
Exploring Operation: 26-3=23, Resulting Numbers: [81, 23]
Generated Node #0,0,2: 24:[81, 23] Operation: 26-3=23
Exploring Operation: 81-3=78, Resulting Numbers: [26, 78]
Generated Node #0,0,3: 24:[26, 78] Operation: 81-3=78
Moving to Node #0,3,2
Current State: 24:[27, 26], Operations: ['81/3=27', '59-33=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[26, 27], Operations: ['59-33=26', '81/3=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[33, 32], Operations: ['81/3=27', '59-27=32']
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,24 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[3, 55], Operations: ['59-33=26', '81-26=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,24 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[59, 6], Operations: ['81/3=27', '33-27=6']
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,24 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[26, 78], Operations: ['59-33=26', '81-3=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,24 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[81, 23], Operations: ['59-33=26', '26-3=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,24 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[27, 92], Operations: ['81/3=27', '59+33=92']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,24 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
29,
43,
78,
11
] | 75 | [
"43-29=14",
"78+11=89",
"89-14=75"
] | Current State: 75:[29, 43, 78, 11], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [78, 11, 14]
Generated Node #2: [78, 11, 14] from Operation: 43-29=14
Current State: 75:[78, 11, 14], Operations: ['43-29=14']
Exploring Operation: 78+11=89, Resulting Numbers: [14, 89]
Generated Node #3: [14, 89] from Operation: 78+11=89
Current State: 75:[14, 89], Operations: ['43-29=14', '78+11=89']
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[29, 43, 78, 11], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [78, 11, 14]
Generated Node #0,0: 75:[78, 11, 14] Operation: 43-29=14
Exploring Operation: 29-11=18, Resulting Numbers: [43, 78, 18]
Generated Node #0,1: 75:[43, 78, 18] Operation: 29-11=18
Exploring Operation: 29+43=72, Resulting Numbers: [78, 11, 72]
Generated Node #0,2: 75:[78, 11, 72] Operation: 29+43=72
Exploring Operation: 43-11=32, Resulting Numbers: [29, 78, 32]
Generated Node #0,3: 75:[29, 78, 32] Operation: 43-11=32
Exploring Operation: 78-43=35, Resulting Numbers: [29, 11, 35]
Generated Node #0,4: 75:[29, 11, 35] Operation: 78-43=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[78, 11, 14], Operations: ['43-29=14']
Exploring Operation: 78+11=89, Resulting Numbers: [14, 89]
Generated Node #0,0,0: 75:[14, 89] Operation: 78+11=89
Exploring Operation: 78-11=67, Resulting Numbers: [14, 67]
Generated Node #0,0,1: 75:[14, 67] Operation: 78-11=67
Exploring Operation: 14-11=3, Resulting Numbers: [78, 3]
Generated Node #0,0,2: 75:[78, 3] Operation: 14-11=3
Exploring Operation: 78-14=64, Resulting Numbers: [11, 64]
Generated Node #0,0,3: 75:[11, 64] Operation: 78-14=64
Exploring Operation: 11+14=25, Resulting Numbers: [78, 25]
Generated Node #0,0,4: 75:[78, 25] Operation: 11+14=25
Moving to Node #0,0,2
Current State: 75:[78, 3], Operations: ['43-29=14', '14-11=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,75 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[29, 43, 78, 11], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [78, 11, 14]
Generated Node #0,0: 75:[78, 11, 14] Operation: 43-29=14
Moving to Node #0,0
Current State: 75:[78, 11, 14], Operations: ['43-29=14']
Exploring Operation: 14-11=3, Resulting Numbers: [78, 3]
Generated Node #0,0,2: 75:[78, 3] Operation: 14-11=3
Moving to Node #0,0,2
Current State: 75:[78, 3], Operations: ['43-29=14', '14-11=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
71,
61,
6,
98
] | 76 | [
"71+61=132",
"132/6=22",
"98-22=76"
] | Current State: 76:[71, 61, 6, 98], Operations: []
Exploring Operation: 71+61=132, Resulting Numbers: [6, 98, 132]
Generated Node #2: [6, 98, 132] from Operation: 71+61=132
Current State: 76:[6, 98, 132], Operations: ['71+61=132']
Exploring Operation: 132/6=22, Resulting Numbers: [98, 22]
Generated Node #3: [98, 22] from Operation: 132/6=22
Current State: 76:[98, 22], Operations: ['71+61=132', '132/6=22']
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[71, 61, 6, 98], Operations: []
Exploring Operation: 98-61=37, Resulting Numbers: [71, 6, 37]
Generated Node #0,0: 76:[71, 6, 37] Operation: 98-61=37
Exploring Operation: 98-71=27, Resulting Numbers: [61, 6, 27]
Generated Node #0,1: 76:[61, 6, 27] Operation: 98-71=27
Exploring Operation: 71-61=10, Resulting Numbers: [6, 98, 10]
Generated Node #0,2: 76:[6, 98, 10] Operation: 71-61=10
Exploring Operation: 61+6=67, Resulting Numbers: [71, 98, 67]
Generated Node #0,3: 76:[71, 98, 67] Operation: 61+6=67
Moving to Node #0,0
Current State: 76:[71, 6, 37], Operations: ['98-61=37']
Exploring Operation: 6+37=43, Resulting Numbers: [71, 43]
Generated Node #0,0,0: 76:[71, 43] Operation: 6+37=43
Exploring Operation: 71+6=77, Resulting Numbers: [37, 77]
Generated Node #0,0,1: 76:[37, 77] Operation: 71+6=77
Exploring Operation: 71-37=34, Resulting Numbers: [6, 34]
Generated Node #0,0,2: 76:[6, 34] Operation: 71-37=34
Exploring Operation: 71-6=65, Resulting Numbers: [37, 65]
Generated Node #0,0,3: 76:[37, 65] Operation: 71-6=65
Moving to Node #0,1
Current State: 76:[61, 6, 27], Operations: ['98-71=27']
Exploring Operation: 61+27=88, Resulting Numbers: [6, 88]
Generated Node #0,1,0: 76:[6, 88] Operation: 61+27=88
Exploring Operation: 61-27=34, Resulting Numbers: [6, 34]
Generated Node #0,1,1: 76:[6, 34] Operation: 61-27=34
Exploring Operation: 27-6=21, Resulting Numbers: [61, 21]
Generated Node #0,1,2: 76:[61, 21] Operation: 27-6=21
Exploring Operation: 61+6=67, Resulting Numbers: [27, 67]
Generated Node #0,1,3: 76:[27, 67] Operation: 61+6=67
Moving to Node #0,2
Current State: 76:[6, 98, 10], Operations: ['71-61=10']
Exploring Operation: 98-10=88, Resulting Numbers: [6, 88]
Generated Node #0,2,0: 76:[6, 88] Operation: 98-10=88
Exploring Operation: 10-6=4, Resulting Numbers: [98, 4]
Generated Node #0,2,1: 76:[98, 4] Operation: 10-6=4
Exploring Operation: 98-6=92, Resulting Numbers: [10, 92]
Generated Node #0,2,2: 76:[10, 92] Operation: 98-6=92
Exploring Operation: 6+10=16, Resulting Numbers: [98, 16]
Generated Node #0,2,3: 76:[98, 16] Operation: 6+10=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[6, 88], Operations: ['71-61=10', '98-10=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 6*88=528, Resulting Numbers: [528]
528,76 unequal: No Solution
Exploring Operation: 6+88=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,2,1
Current State: 76:[98, 4], Operations: ['71-61=10', '10-6=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,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:[10, 92], Operations: ['71-61=10', '98-6=92']
Exploring Operation: 10*92=920, Resulting Numbers: [920]
920,76 unequal: No Solution
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 10+92=102, Resulting Numbers: [102]
102,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:[98, 16], Operations: ['71-61=10', '6+10=16']
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,76 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,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:[71, 98, 67], Operations: ['61+6=67']
Exploring Operation: 98-71=27, Resulting Numbers: [67, 27]
Generated Node #0,3,0: 76:[67, 27] Operation: 98-71=27
Exploring Operation: 71-67=4, Resulting Numbers: [98, 4]
Generated Node #0,3,1: 76:[98, 4] Operation: 71-67=4
Exploring Operation: 71+67=138, Resulting Numbers: [98, 138]
Generated Node #0,3,2: 76:[98, 138] Operation: 71+67=138
Exploring Operation: 98-67=31, Resulting Numbers: [71, 31]
Generated Node #0,3,3: 76:[71, 31] Operation: 98-67=31
Moving to Node #0,0,1
Current State: 76:[37, 77], Operations: ['98-61=37', '71+6=77']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 37+77=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 37*77=2849, Resulting Numbers: [2849]
2849,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[6, 34], Operations: ['98-61=37', '71-37=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[6, 34], Operations: ['98-71=27', '61-27=34']
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,76 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[71, 43], Operations: ['98-61=37', '6+37=43']
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,76 unequal: No Solution
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[37, 65], Operations: ['98-61=37', '71-6=65']
Exploring Operation: 37*65=2405, Resulting Numbers: [2405]
2405,76 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 37+65=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[71, 31], Operations: ['61+6=67', '98-67=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,76 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[6, 88], Operations: ['98-71=27', '61+27=88']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 6*88=528, Resulting Numbers: [528]
528,76 unequal: No Solution
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[61, 21], Operations: ['98-71=27', '27-6=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,76 unequal: No Solution
Exploring Operation: 61*21=1281, Resulting Numbers: [1281]
1281,76 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[67, 27], Operations: ['61+6=67', '98-71=27']
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,76 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[27, 67], Operations: ['98-71=27', '61+6=67']
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,76 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[98, 4], Operations: ['61+6=67', '71-67=4']
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,76 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,76 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[98, 138], Operations: ['61+6=67', '71+67=138']
Exploring Operation: 98+138=236, Resulting Numbers: [236]
236,76 unequal: No Solution
Exploring Operation: 138-98=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 98*138=13524, Resulting Numbers: [13524]
13524,76 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
40,
54,
27,
64
] | 12 | [
"64-40=24",
"54/27=2",
"24/2=12"
] | Current State: 12:[40, 54, 27, 64], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [54, 27, 24]
Generated Node #2: [54, 27, 24] from Operation: 64-40=24
Current State: 12:[54, 27, 24], Operations: ['64-40=24']
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 54/27=2
Current State: 12:[24, 2], Operations: ['64-40=24', '54/27=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[40, 54, 27, 64], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [54, 27, 24]
Generated Node #0,0: 12:[54, 27, 24] Operation: 64-40=24
Exploring Operation: 40-27=13, Resulting Numbers: [54, 64, 13]
Generated Node #0,1: 12:[54, 64, 13] Operation: 40-27=13
Exploring Operation: 54-40=14, Resulting Numbers: [27, 64, 14]
Generated Node #0,2: 12:[27, 64, 14] Operation: 54-40=14
Exploring Operation: 54/27=2, Resulting Numbers: [40, 64, 2]
Generated Node #0,3: 12:[40, 64, 2] Operation: 54/27=2
Exploring Operation: 64-54=10, Resulting Numbers: [40, 27, 10]
Generated Node #0,4: 12:[40, 27, 10] Operation: 64-54=10
Moving to Node #0,4
Current State: 12:[40, 27, 10], Operations: ['64-54=10']
Exploring Operation: 27-10=17, Resulting Numbers: [40, 17]
Generated Node #0,4,0: 12:[40, 17] Operation: 27-10=17
Exploring Operation: 40/10=4, Resulting Numbers: [27, 4]
Generated Node #0,4,1: 12:[27, 4] Operation: 40/10=4
Exploring Operation: 40+10=50, Resulting Numbers: [27, 50]
Generated Node #0,4,2: 12:[27, 50] Operation: 40+10=50
Exploring Operation: 40-10=30, Resulting Numbers: [27, 30]
Generated Node #0,4,3: 12:[27, 30] Operation: 40-10=30
Exploring Operation: 40-27=13, Resulting Numbers: [10, 13]
Generated Node #0,4,4: 12:[10, 13] Operation: 40-27=13
Moving to Node #0,2
Current State: 12:[27, 64, 14], Operations: ['54-40=14']
Exploring Operation: 64-14=50, Resulting Numbers: [27, 50]
Generated Node #0,2,0: 12:[27, 50] Operation: 64-14=50
Exploring Operation: 64-27=37, Resulting Numbers: [14, 37]
Generated Node #0,2,1: 12:[14, 37] Operation: 64-27=37
Exploring Operation: 27+64=91, Resulting Numbers: [14, 91]
Generated Node #0,2,2: 12:[14, 91] Operation: 27+64=91
Exploring Operation: 27-14=13, Resulting Numbers: [64, 13]
Generated Node #0,2,3: 12:[64, 13] Operation: 27-14=13
Exploring Operation: 27+14=41, Resulting Numbers: [64, 41]
Generated Node #0,2,4: 12:[64, 41] Operation: 27+14=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[14, 37], Operations: ['54-40=14', '64-27=37']
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,12 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[27, 50], Operations: ['54-40=14', '64-14=50']
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,12 unequal: No Solution
Exploring Operation: 50-27=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,2,3
Current State: 12:[64, 13], Operations: ['54-40=14', '27-14=13']
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,12 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[14, 91], Operations: ['54-40=14', '27+64=91']
Exploring Operation: 14+91=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Exploring Operation: 14*91=1274, Resulting Numbers: [1274]
1274,12 unequal: No Solution
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[64, 41], Operations: ['54-40=14', '27+14=41']
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,12 unequal: No Solution
Exploring Operation: 64-41=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,0
Current State: 12:[54, 27, 24], Operations: ['64-40=24']
Exploring Operation: 27-24=3, Resulting Numbers: [54, 3]
Generated Node #0,0,0: 12:[54, 3] Operation: 27-24=3
Exploring Operation: 54+27=81, Resulting Numbers: [24, 81]
Generated Node #0,0,1: 12:[24, 81] Operation: 54+27=81
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 12:[24, 2] Operation: 54/27=2
Exploring Operation: 54-24=30, Resulting Numbers: [27, 30]
Generated Node #0,0,3: 12:[27, 30] Operation: 54-24=30
Exploring Operation: 54-27=27, Resulting Numbers: [24, 27]
Generated Node #0,0,4: 12:[24, 27] Operation: 54-27=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[24, 2], Operations: ['64-40=24', '54/27=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[40, 54, 27, 64], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [54, 27, 24]
Generated Node #0,0: 12:[54, 27, 24] Operation: 64-40=24
Moving to Node #0,0
Current State: 12:[54, 27, 24], Operations: ['64-40=24']
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #0,0,2: 12:[24, 2] Operation: 54/27=2
Moving to Node #0,0,2
Current State: 12:[24, 2], Operations: ['64-40=24', '54/27=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
4,
36,
7,
44
] | 46 | [
"36/4=9",
"44-7=37",
"9+37=46"
] | Current State: 46:[4, 36, 7, 44], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [7, 44, 9]
Generated Node #2: [7, 44, 9] from Operation: 36/4=9
Current State: 46:[7, 44, 9], Operations: ['36/4=9']
Exploring Operation: 44-7=37, Resulting Numbers: [9, 37]
Generated Node #3: [9, 37] from Operation: 44-7=37
Current State: 46:[9, 37], Operations: ['36/4=9', '44-7=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[4, 36, 7, 44], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [4, 44, 29]
Generated Node #0,0: 46:[4, 44, 29] Operation: 36-7=29
Exploring Operation: 36+7=43, Resulting Numbers: [4, 44, 43]
Generated Node #0,1: 46:[4, 44, 43] Operation: 36+7=43
Exploring Operation: 4+36=40, Resulting Numbers: [7, 44, 40]
Generated Node #0,2: 46:[7, 44, 40] Operation: 4+36=40
Exploring Operation: 7-4=3, Resulting Numbers: [36, 44, 3]
Generated Node #0,3: 46:[36, 44, 3] Operation: 7-4=3
Moving to Node #0,1
Current State: 46:[4, 44, 43], Operations: ['36+7=43']
Exploring Operation: 4+43=47, Resulting Numbers: [44, 47]
Generated Node #0,1,0: 46:[44, 47] Operation: 4+43=47
Exploring Operation: 44-4=40, Resulting Numbers: [43, 40]
Generated Node #0,1,1: 46:[43, 40] Operation: 44-4=40
Exploring Operation: 4+44=48, Resulting Numbers: [43, 48]
Generated Node #0,1,2: 46:[43, 48] Operation: 4+44=48
Exploring Operation: 44-43=1, Resulting Numbers: [4, 1]
Generated Node #0,1,3: 46:[4, 1] Operation: 44-43=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[44, 47], Operations: ['36+7=43', '4+43=47']
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,46 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[4, 1], Operations: ['36+7=43', '44-43=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[43, 48], Operations: ['36+7=43', '4+44=48']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[43, 40], Operations: ['36+7=43', '44-4=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 46:[4, 44, 29], Operations: ['36-7=29']
Exploring Operation: 29-4=25, Resulting Numbers: [44, 25]
Generated Node #0,0,0: 46:[44, 25] Operation: 29-4=25
Exploring Operation: 44-29=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 46:[4, 15] Operation: 44-29=15
Exploring Operation: 44-4=40, Resulting Numbers: [29, 40]
Generated Node #0,0,2: 46:[29, 40] Operation: 44-4=40
Exploring Operation: 4+44=48, Resulting Numbers: [29, 48]
Generated Node #0,0,3: 46:[29, 48] Operation: 4+44=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[44, 25], Operations: ['36-7=29', '29-4=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,46 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[29, 48], Operations: ['36-7=29', '4+44=48']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,46 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[4, 15], Operations: ['36-7=29', '44-29=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[29, 40], Operations: ['36-7=29', '44-4=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,46 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: 46:[36, 44, 3], Operations: ['7-4=3']
Exploring Operation: 44+3=47, Resulting Numbers: [36, 47]
Generated Node #0,3,0: 46:[36, 47] Operation: 44+3=47
Exploring Operation: 36-3=33, Resulting Numbers: [44, 33]
Generated Node #0,3,1: 46:[44, 33] Operation: 36-3=33
Exploring Operation: 44-36=8, Resulting Numbers: [3, 8]
Generated Node #0,3,2: 46:[3, 8] Operation: 44-36=8
Exploring Operation: 36+3=39, Resulting Numbers: [44, 39]
Generated Node #0,3,3: 46:[44, 39] Operation: 36+3=39
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[3, 8], Operations: ['7-4=3', '44-36=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[44, 39], Operations: ['7-4=3', '36+3=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[36, 47], Operations: ['7-4=3', '44+3=47']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[44, 33], Operations: ['7-4=3', '36-3=33']
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,46 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,46 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: 46:[7, 44, 40], Operations: ['4+36=40']
Exploring Operation: 7+40=47, Resulting Numbers: [44, 47]
Generated Node #0,2,0: 46:[44, 47] Operation: 7+40=47
Exploring Operation: 7+44=51, Resulting Numbers: [40, 51]
Generated Node #0,2,1: 46:[40, 51] Operation: 7+44=51
Exploring Operation: 44-40=4, Resulting Numbers: [7, 4]
Generated Node #0,2,2: 46:[7, 4] Operation: 44-40=4
Exploring Operation: 40-7=33, Resulting Numbers: [44, 33]
Generated Node #0,2,3: 46:[44, 33] Operation: 40-7=33
Moving to Node #0,2,0
Current State: 46:[44, 47], Operations: ['4+36=40', '7+40=47']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[7, 4], Operations: ['4+36=40', '44-40=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[40, 51], Operations: ['4+36=40', '7+44=51']
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,46 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[44, 33], Operations: ['4+36=40', '40-7=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,46 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,46 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
59,
40,
79,
4
] | 64 | [
"59-40=19",
"79+4=83",
"83-19=64"
] | Current State: 64:[59, 40, 79, 4], Operations: []
Exploring Operation: 59-40=19, Resulting Numbers: [79, 4, 19]
Generated Node #2: [79, 4, 19] from Operation: 59-40=19
Current State: 64:[79, 4, 19], Operations: ['59-40=19']
Exploring Operation: 79+4=83, Resulting Numbers: [19, 83]
Generated Node #3: [19, 83] from Operation: 79+4=83
Current State: 64:[19, 83], Operations: ['59-40=19', '79+4=83']
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[59, 40, 79, 4], Operations: []
Exploring Operation: 79-59=20, Resulting Numbers: [40, 4, 20]
Generated Node #0,0: 64:[40, 4, 20] Operation: 79-59=20
Exploring Operation: 59-40=19, Resulting Numbers: [79, 4, 19]
Generated Node #0,1: 64:[79, 4, 19] Operation: 59-40=19
Exploring Operation: 79-40=39, Resulting Numbers: [59, 4, 39]
Generated Node #0,2: 64:[59, 4, 39] Operation: 79-40=39
Moving to Node #0,0
Current State: 64:[40, 4, 20], Operations: ['79-59=20']
Exploring Operation: 40-20=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 64:[4, 20] Operation: 40-20=20
Exploring Operation: 40+20=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 64:[4, 60] Operation: 40+20=60
Exploring Operation: 40/20=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 64:[4, 2] Operation: 40/20=2
Moving to Node #0,2
Current State: 64:[59, 4, 39], Operations: ['79-40=39']
Exploring Operation: 39-4=35, Resulting Numbers: [59, 35]
Generated Node #0,2,0: 64:[59, 35] Operation: 39-4=35
Exploring Operation: 59-39=20, Resulting Numbers: [4, 20]
Generated Node #0,2,1: 64:[4, 20] Operation: 59-39=20
Exploring Operation: 59+4=63, Resulting Numbers: [39, 63]
Generated Node #0,2,2: 64:[39, 63] Operation: 59+4=63
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[4, 20], Operations: ['79-40=39', '59-39=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[59, 35], Operations: ['79-40=39', '39-4=35']
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,64 unequal: No Solution
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,64 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[39, 63], Operations: ['79-40=39', '59+4=63']
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,64 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[79, 4, 19], Operations: ['59-40=19']
Exploring Operation: 79-4=75, Resulting Numbers: [19, 75]
Generated Node #0,1,0: 64:[19, 75] Operation: 79-4=75
Exploring Operation: 19-4=15, Resulting Numbers: [79, 15]
Generated Node #0,1,1: 64:[79, 15] Operation: 19-4=15
Exploring Operation: 79-19=60, Resulting Numbers: [4, 60]
Generated Node #0,1,2: 64:[4, 60] Operation: 79-19=60
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[4, 60], Operations: ['59-40=19', '79-19=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[59, 40, 79, 4], Operations: []
Exploring Operation: 59-40=19, Resulting Numbers: [79, 4, 19]
Generated Node #0,1: 64:[79, 4, 19] Operation: 59-40=19
Moving to Node #0,1
Current State: 64:[79, 4, 19], Operations: ['59-40=19']
Exploring Operation: 79-19=60, Resulting Numbers: [4, 60]
Generated Node #0,1,2: 64:[4, 60] Operation: 79-19=60
Moving to Node #0,1,2
Current State: 64:[4, 60], Operations: ['59-40=19', '79-19=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
53,
45,
77,
37
] | 79 | [
"53+37=90",
"90/45=2",
"77+2=79"
] | Current State: 79:[53, 45, 77, 37], Operations: []
Exploring Operation: 53+37=90, Resulting Numbers: [45, 77, 90]
Generated Node #2: [45, 77, 90] from Operation: 53+37=90
Current State: 79:[45, 77, 90], Operations: ['53+37=90']
Exploring Operation: 90/45=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 90/45=2
Current State: 79:[77, 2], Operations: ['53+37=90', '90/45=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[53, 45, 77, 37], Operations: []
Exploring Operation: 53+37=90, Resulting Numbers: [45, 77, 90]
Generated Node #0,0: 79:[45, 77, 90] Operation: 53+37=90
Exploring Operation: 45+37=82, Resulting Numbers: [53, 77, 82]
Generated Node #0,1: 79:[53, 77, 82] Operation: 45+37=82
Moving to Node #0,1
Current State: 79:[53, 77, 82], Operations: ['45+37=82']
Exploring Operation: 82-53=29, Resulting Numbers: [77, 29]
Generated Node #0,1,0: 79:[77, 29] Operation: 82-53=29
Exploring Operation: 53+77=130, Resulting Numbers: [82, 130]
Generated Node #0,1,1: 79:[82, 130] Operation: 53+77=130
Moving to Node #0,0
Current State: 79:[45, 77, 90], Operations: ['53+37=90']
Exploring Operation: 90-45=45, Resulting Numbers: [77, 45]
Generated Node #0,0,0: 79:[77, 45] Operation: 90-45=45
Exploring Operation: 45+77=122, Resulting Numbers: [90, 122]
Generated Node #0,0,1: 79:[90, 122] Operation: 45+77=122
Moving to Node #0,0,0
Current State: 79:[77, 45], Operations: ['53+37=90', '90-45=45']
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[77, 29], Operations: ['45+37=82', '82-53=29']
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[82, 130], Operations: ['45+37=82', '53+77=130']
Exploring Operation: 130-82=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 82+130=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[90, 122], Operations: ['53+37=90', '45+77=122']
Exploring Operation: 122-90=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 90+122=212, Resulting Numbers: [212]
212,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
78,
62,
8
] | 78 | [
"8-8=0",
"62*0=0",
"78+0=78"
] | Current State: 78:[8, 78, 62, 8], Operations: []
Exploring Operation: 8-8=0, Resulting Numbers: [78, 62, 0]
Generated Node #2: [78, 62, 0] from Operation: 8-8=0
Current State: 78:[78, 62, 0], Operations: ['8-8=0']
Exploring Operation: 62*0=0, Resulting Numbers: [78, 0]
Generated Node #3: [78, 0] from Operation: 62*0=0
Current State: 78:[78, 0], Operations: ['8-8=0', '62*0=0']
Exploring Operation: 78+0=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[8, 78, 62, 8], Operations: []
Exploring Operation: 8+62=70, Resulting Numbers: [78, 8, 70]
Generated Node #0,0: 78:[78, 8, 70] Operation: 8+62=70
Exploring Operation: 78-62=16, Resulting Numbers: [8, 8, 16]
Generated Node #0,1: 78:[8, 8, 16] Operation: 78-62=16
Moving to Node #0,1
Current State: 78:[8, 8, 16], Operations: ['78-62=16']
Exploring Operation: 16/8=2, Resulting Numbers: [8, 2]
Generated Node #0,1,0: 78:[8, 2] Operation: 16/8=2
Exploring Operation: 16/8=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 78:[8, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[8, 2], Operations: ['78-62=16', '16/8=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[8, 2], Operations: ['78-62=16', '16/8=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,78 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: 78:[78, 8, 70], Operations: ['8+62=70']
Exploring Operation: 8+70=78, Resulting Numbers: [78, 78]
Generated Node #0,0,0: 78:[78, 78] Operation: 8+70=78
Exploring Operation: 78-70=8, Resulting Numbers: [8, 8]
Generated Node #0,0,1: 78:[8, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[78, 78], Operations: ['8+62=70', '8+70=78']
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[8, 8], Operations: ['8+62=70', '78-70=8']
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,78 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 |
[
54,
45,
47,
28
] | 55 | [
"47-45=2",
"54/2=27",
"28+27=55"
] | Current State: 55:[54, 45, 47, 28], Operations: []
Exploring Operation: 47-45=2, Resulting Numbers: [54, 28, 2]
Generated Node #2: [54, 28, 2] from Operation: 47-45=2
Current State: 55:[54, 28, 2], Operations: ['47-45=2']
Exploring Operation: 54/2=27, Resulting Numbers: [28, 27]
Generated Node #3: [28, 27] from Operation: 54/2=27
Current State: 55:[28, 27], Operations: ['47-45=2', '54/2=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[54, 45, 47, 28], Operations: []
Exploring Operation: 45-28=17, Resulting Numbers: [54, 47, 17]
Generated Node #0,0: 55:[54, 47, 17] Operation: 45-28=17
Exploring Operation: 47-45=2, Resulting Numbers: [54, 28, 2]
Generated Node #0,1: 55:[54, 28, 2] Operation: 47-45=2
Exploring Operation: 45+28=73, Resulting Numbers: [54, 47, 73]
Generated Node #0,2: 55:[54, 47, 73] Operation: 45+28=73
Exploring Operation: 54-45=9, Resulting Numbers: [47, 28, 9]
Generated Node #0,3: 55:[47, 28, 9] Operation: 54-45=9
Exploring Operation: 47-28=19, Resulting Numbers: [54, 45, 19]
Generated Node #0,4: 55:[54, 45, 19] Operation: 47-28=19
Moving to Node #0,0
Current State: 55:[54, 47, 17], Operations: ['45-28=17']
Exploring Operation: 54-17=37, Resulting Numbers: [47, 37]
Generated Node #0,0,0: 55:[47, 37] Operation: 54-17=37
Exploring Operation: 47+17=64, Resulting Numbers: [54, 64]
Generated Node #0,0,1: 55:[54, 64] Operation: 47+17=64
Exploring Operation: 47-17=30, Resulting Numbers: [54, 30]
Generated Node #0,0,2: 55:[54, 30] Operation: 47-17=30
Exploring Operation: 54-47=7, Resulting Numbers: [17, 7]
Generated Node #0,0,3: 55:[17, 7] Operation: 54-47=7
Exploring Operation: 54+17=71, Resulting Numbers: [47, 71]
Generated Node #0,0,4: 55:[47, 71] Operation: 54+17=71
Moving to Node #0,4
Current State: 55:[54, 45, 19], Operations: ['47-28=19']
Exploring Operation: 54-19=35, Resulting Numbers: [45, 35]
Generated Node #0,4,0: 55:[45, 35] Operation: 54-19=35
Exploring Operation: 54+19=73, Resulting Numbers: [45, 73]
Generated Node #0,4,1: 55:[45, 73] Operation: 54+19=73
Exploring Operation: 45+19=64, Resulting Numbers: [54, 64]
Generated Node #0,4,2: 55:[54, 64] Operation: 45+19=64
Exploring Operation: 54-45=9, Resulting Numbers: [19, 9]
Generated Node #0,4,3: 55:[19, 9] Operation: 54-45=9
Exploring Operation: 45-19=26, Resulting Numbers: [54, 26]
Generated Node #0,4,4: 55:[54, 26] Operation: 45-19=26
Moving to Node #0,1
Current State: 55:[54, 28, 2], Operations: ['47-45=2']
Exploring Operation: 28-2=26, Resulting Numbers: [54, 26]
Generated Node #0,1,0: 55:[54, 26] Operation: 28-2=26
Exploring Operation: 54-28=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 55:[2, 26] Operation: 54-28=26
Exploring Operation: 28/2=14, Resulting Numbers: [54, 14]
Generated Node #0,1,2: 55:[54, 14] Operation: 28/2=14
Exploring Operation: 54+2=56, Resulting Numbers: [28, 56]
Generated Node #0,1,3: 55:[28, 56] Operation: 54+2=56
Exploring Operation: 28*2=56, Resulting Numbers: [54, 56]
Generated Node #0,1,4: 55:[54, 56] Operation: 28*2=56
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 55:[54, 56], Operations: ['47-45=2', '28*2=56']
Exploring Operation: 54+56=110, Resulting Numbers: [110]
110,55 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 54*56=3024, Resulting Numbers: [3024]
3024,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[54, 14], Operations: ['47-45=2', '28/2=14']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[54, 26], Operations: ['47-45=2', '28-2=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,55 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[2, 26], Operations: ['47-45=2', '54-28=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[28, 56], Operations: ['47-45=2', '54+2=56']
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,55 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,55 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: 55:[54, 47, 73], Operations: ['45+28=73']
Exploring Operation: 47+73=120, Resulting Numbers: [54, 120]
Generated Node #0,2,0: 55:[54, 120] Operation: 47+73=120
Exploring Operation: 73-54=19, Resulting Numbers: [47, 19]
Generated Node #0,2,1: 55:[47, 19] Operation: 73-54=19
Exploring Operation: 54-47=7, Resulting Numbers: [73, 7]
Generated Node #0,2,2: 55:[73, 7] Operation: 54-47=7
Exploring Operation: 54+47=101, Resulting Numbers: [73, 101]
Generated Node #0,2,3: 55:[73, 101] Operation: 54+47=101
Exploring Operation: 73-47=26, Resulting Numbers: [54, 26]
Generated Node #0,2,4: 55:[54, 26] Operation: 73-47=26
Moving to Node #0,3
Current State: 55:[47, 28, 9], Operations: ['54-45=9']
Exploring Operation: 47-28=19, Resulting Numbers: [9, 19]
Generated Node #0,3,0: 55:[9, 19] Operation: 47-28=19
Exploring Operation: 28-9=19, Resulting Numbers: [47, 19]
Generated Node #0,3,1: 55:[47, 19] Operation: 28-9=19
Exploring Operation: 28+9=37, Resulting Numbers: [47, 37]
Generated Node #0,3,2: 55:[47, 37] Operation: 28+9=37
Exploring Operation: 47+28=75, Resulting Numbers: [9, 75]
Generated Node #0,3,3: 55:[9, 75] Operation: 47+28=75
Exploring Operation: 47+9=56, Resulting Numbers: [28, 56]
Generated Node #0,3,4: 55:[28, 56] Operation: 47+9=56
Moving to Node #0,0,3
Current State: 55:[17, 7], Operations: ['45-28=17', '54-47=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,55 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[54, 64], Operations: ['47-28=19', '45+19=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,55 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,55 unequal: No Solution
Moving to Node #0,4,3
Current State: 55:[19, 9], Operations: ['47-28=19', '54-45=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,55 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[54, 64], Operations: ['45-28=17', '47+17=64']
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,55 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,55 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[9, 19], Operations: ['54-45=9', '47-28=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,55 unequal: No Solution
Moving to Node #0,2,4
Current State: 55:[54, 26], Operations: ['45+28=73', '73-47=26']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,55 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[47, 19], Operations: ['45+28=73', '73-54=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[54, 26], Operations: ['47-28=19', '45-19=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,55 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[47, 19], Operations: ['54-45=9', '28-9=19']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[28, 56], Operations: ['54-45=9', '47+9=56']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,55 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[73, 7], Operations: ['45+28=73', '54-47=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[54, 30], Operations: ['45-28=17', '47-17=30']
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[9, 75], Operations: ['54-45=9', '47+28=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[47, 71], Operations: ['45-28=17', '54+17=71']
Exploring Operation: 47*71=3337, Resulting Numbers: [3337]
3337,55 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 47+71=118, Resulting Numbers: [118]
118,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[47, 37], Operations: ['54-45=9', '28+9=37']
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,55 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[47, 37], Operations: ['45-28=17', '54-17=37']
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[45, 73], Operations: ['47-28=19', '54+19=73']
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,55 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[45, 35], Operations: ['47-28=19', '54-19=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,55 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[73, 101], Operations: ['45+28=73', '54+47=101']
Exploring Operation: 73+101=174, Resulting Numbers: [174]
174,55 unequal: No Solution
Exploring Operation: 101-73=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 73*101=7373, Resulting Numbers: [7373]
7373,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[54, 120], Operations: ['45+28=73', '47+73=120']
Exploring Operation: 120-54=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 54+120=174, Resulting Numbers: [174]
174,55 unequal: No Solution
Exploring Operation: 54*120=6480, Resulting Numbers: [6480]
6480,55 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
51,
58,
42,
74
] | 68 | [
"58-51=7",
"42/7=6",
"74-6=68"
] | Current State: 68:[51, 58, 42, 74], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [42, 74, 7]
Generated Node #2: [42, 74, 7] from Operation: 58-51=7
Current State: 68:[42, 74, 7], Operations: ['58-51=7']
Exploring Operation: 42/7=6, Resulting Numbers: [74, 6]
Generated Node #3: [74, 6] from Operation: 42/7=6
Current State: 68:[74, 6], Operations: ['58-51=7', '42/7=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[51, 58, 42, 74], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [42, 74, 7]
Generated Node #0,0: 68:[42, 74, 7] Operation: 58-51=7
Exploring Operation: 51-42=9, Resulting Numbers: [58, 74, 9]
Generated Node #0,1: 68:[58, 74, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 68:[42, 74, 7], Operations: ['58-51=7']
Exploring Operation: 42-7=35, Resulting Numbers: [74, 35]
Generated Node #0,0,0: 68:[74, 35] Operation: 42-7=35
Exploring Operation: 74-42=32, Resulting Numbers: [7, 32]
Generated Node #0,0,1: 68:[7, 32] Operation: 74-42=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[7, 32], Operations: ['58-51=7', '74-42=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,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,0,0
Current State: 68:[74, 35], Operations: ['58-51=7', '42-7=35']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,68 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: 68:[58, 74, 9], Operations: ['51-42=9']
Exploring Operation: 74-58=16, Resulting Numbers: [9, 16]
Generated Node #0,1,0: 68:[9, 16] Operation: 74-58=16
Exploring Operation: 58+9=67, Resulting Numbers: [74, 67]
Generated Node #0,1,1: 68:[74, 67] Operation: 58+9=67
Moving to Node #0,1,0
Current State: 68:[9, 16], Operations: ['51-42=9', '74-58=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[74, 67], Operations: ['51-42=9', '58+9=67']
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,68 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,68 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
64,
95,
89
] | 76 | [
"89-9=80",
"64*95=6080",
"6080/80=76"
] | Current State: 76:[9, 64, 95, 89], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [64, 95, 80]
Generated Node #2: [64, 95, 80] from Operation: 89-9=80
Current State: 76:[64, 95, 80], Operations: ['89-9=80']
Exploring Operation: 64*95=6080, Resulting Numbers: [80, 6080]
Generated Node #3: [80, 6080] from Operation: 64*95=6080
Current State: 76:[80, 6080], Operations: ['89-9=80', '64*95=6080']
Exploring Operation: 6080/80=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 64, 95, 89], Operations: []
Exploring Operation: 9+64=73, Resulting Numbers: [95, 89, 73]
Generated Node #0,0: 76:[95, 89, 73] Operation: 9+64=73
Exploring Operation: 89-64=25, Resulting Numbers: [9, 95, 25]
Generated Node #0,1: 76:[9, 95, 25] Operation: 89-64=25
Exploring Operation: 95-64=31, Resulting Numbers: [9, 89, 31]
Generated Node #0,2: 76:[9, 89, 31] Operation: 95-64=31
Exploring Operation: 95-9=86, Resulting Numbers: [64, 89, 86]
Generated Node #0,3: 76:[64, 89, 86] Operation: 95-9=86
Exploring Operation: 95-89=6, Resulting Numbers: [9, 64, 6]
Generated Node #0,4: 76:[9, 64, 6] Operation: 95-89=6
Moving to Node #0,4
Current State: 76:[9, 64, 6], Operations: ['95-89=6']
Exploring Operation: 64+6=70, Resulting Numbers: [9, 70]
Generated Node #0,4,0: 76:[9, 70] Operation: 64+6=70
Exploring Operation: 64-9=55, Resulting Numbers: [6, 55]
Generated Node #0,4,1: 76:[6, 55] Operation: 64-9=55
Exploring Operation: 9-6=3, Resulting Numbers: [64, 3]
Generated Node #0,4,2: 76:[64, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [64, 15]
Generated Node #0,4,3: 76:[64, 15] Operation: 9+6=15
Exploring Operation: 9+64=73, Resulting Numbers: [6, 73]
Generated Node #0,4,4: 76:[6, 73] Operation: 9+64=73
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[6, 73], Operations: ['95-89=6', '9+64=73']
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,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:[9, 70], Operations: ['95-89=6', '64+6=70']
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,76 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,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:[64, 3], Operations: ['95-89=6', '9-6=3']
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,76 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,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:[64, 15], Operations: ['95-89=6', '9+6=15']
Exploring Operation: 64-15=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 64*15=960, Resulting Numbers: [960]
960,76 unequal: No Solution
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,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:[6, 55], Operations: ['95-89=6', '64-9=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,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:[9, 89, 31], Operations: ['95-64=31']
Exploring Operation: 31-9=22, Resulting Numbers: [89, 22]
Generated Node #0,2,0: 76:[89, 22] Operation: 31-9=22
Exploring Operation: 9+89=98, Resulting Numbers: [31, 98]
Generated Node #0,2,1: 76:[31, 98] Operation: 9+89=98
Exploring Operation: 9+31=40, Resulting Numbers: [89, 40]
Generated Node #0,2,2: 76:[89, 40] Operation: 9+31=40
Exploring Operation: 89-9=80, Resulting Numbers: [31, 80]
Generated Node #0,2,3: 76:[31, 80] Operation: 89-9=80
Exploring Operation: 89-31=58, Resulting Numbers: [9, 58]
Generated Node #0,2,4: 76:[9, 58] Operation: 89-31=58
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[31, 80], Operations: ['95-64=31', '89-9=80']
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 31+80=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 31*80=2480, Resulting Numbers: [2480]
2480,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:[89, 40], Operations: ['95-64=31', '9+31=40']
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,76 unequal: No Solution
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,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:[89, 22], Operations: ['95-64=31', '31-9=22']
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,76 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,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:[9, 58], Operations: ['95-64=31', '89-31=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,76 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,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:[31, 98], Operations: ['95-64=31', '9+89=98']
Exploring Operation: 31+98=129, Resulting Numbers: [129]
129,76 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 31*98=3038, Resulting Numbers: [3038]
3038,76 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: 76:[9, 95, 25], Operations: ['89-64=25']
Exploring Operation: 25-9=16, Resulting Numbers: [95, 16]
Generated Node #0,1,0: 76:[95, 16] Operation: 25-9=16
Exploring Operation: 95-9=86, Resulting Numbers: [25, 86]
Generated Node #0,1,1: 76:[25, 86] Operation: 95-9=86
Exploring Operation: 9+95=104, Resulting Numbers: [25, 104]
Generated Node #0,1,2: 76:[25, 104] Operation: 9+95=104
Exploring Operation: 95-25=70, Resulting Numbers: [9, 70]
Generated Node #0,1,3: 76:[9, 70] Operation: 95-25=70
Exploring Operation: 9+25=34, Resulting Numbers: [95, 34]
Generated Node #0,1,4: 76:[95, 34] Operation: 9+25=34
Moving to Node #0,0
Current State: 76:[95, 89, 73], Operations: ['9+64=73']
Exploring Operation: 89+73=162, Resulting Numbers: [95, 162]
Generated Node #0,0,0: 76:[95, 162] Operation: 89+73=162
Exploring Operation: 95+73=168, Resulting Numbers: [89, 168]
Generated Node #0,0,1: 76:[89, 168] Operation: 95+73=168
Exploring Operation: 95-89=6, Resulting Numbers: [73, 6]
Generated Node #0,0,2: 76:[73, 6] Operation: 95-89=6
Exploring Operation: 89-73=16, Resulting Numbers: [95, 16]
Generated Node #0,0,3: 76:[95, 16] Operation: 89-73=16
Exploring Operation: 95-73=22, Resulting Numbers: [89, 22]
Generated Node #0,0,4: 76:[89, 22] Operation: 95-73=22
Moving to Node #0,3
Current State: 76:[64, 89, 86], Operations: ['95-9=86']
Exploring Operation: 86-64=22, Resulting Numbers: [89, 22]
Generated Node #0,3,0: 76:[89, 22] Operation: 86-64=22
Exploring Operation: 64+86=150, Resulting Numbers: [89, 150]
Generated Node #0,3,1: 76:[89, 150] Operation: 64+86=150
Exploring Operation: 64+89=153, Resulting Numbers: [86, 153]
Generated Node #0,3,2: 76:[86, 153] Operation: 64+89=153
Exploring Operation: 89-64=25, Resulting Numbers: [86, 25]
Generated Node #0,3,3: 76:[86, 25] Operation: 89-64=25
Exploring Operation: 89-86=3, Resulting Numbers: [64, 3]
Generated Node #0,3,4: 76:[64, 3] Operation: 89-86=3
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 76:[64, 3], Operations: ['95-9=86', '89-86=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,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:[89, 22], Operations: ['95-9=86', '86-64=22']
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,76 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,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:[86, 25], Operations: ['95-9=86', '89-64=25']
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,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,1
Current State: 76:[89, 150], Operations: ['95-9=86', '64+86=150']
Exploring Operation: 89*150=13350, Resulting Numbers: [13350]
13350,76 unequal: No Solution
Exploring Operation: 150-89=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 89+150=239, Resulting Numbers: [239]
239,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:[86, 153], Operations: ['95-9=86', '64+89=153']
Exploring Operation: 86+153=239, Resulting Numbers: [239]
239,76 unequal: No Solution
Exploring Operation: 86*153=13158, Resulting Numbers: [13158]
13158,76 unequal: No Solution
Exploring Operation: 153-86=67, Resulting Numbers: [67]
67,76 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: 76:[73, 6], Operations: ['9+64=73', '95-89=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,76 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[9, 70], Operations: ['89-64=25', '95-25=70']
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,76 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[89, 22], Operations: ['9+64=73', '95-73=22']
Exploring Operation: 89+22=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,76 unequal: No Solution
Exploring Operation: 89*22=1958, Resulting Numbers: [1958]
1958,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[25, 86], Operations: ['89-64=25', '95-9=86']
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 25*86=2150, Resulting Numbers: [2150]
2150,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[95, 16], Operations: ['89-64=25', '25-9=16']
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[95, 16], Operations: ['9+64=73', '89-73=16']
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 95*16=1520, Resulting Numbers: [1520]
1520,76 unequal: No Solution
Exploring Operation: 95+16=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[95, 34], Operations: ['89-64=25', '9+25=34']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,76 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[25, 104], Operations: ['89-64=25', '9+95=104']
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 25*104=2600, Resulting Numbers: [2600]
2600,76 unequal: No Solution
Exploring Operation: 25+104=129, Resulting Numbers: [129]
129,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[89, 168], Operations: ['9+64=73', '95+73=168']
Exploring Operation: 168-89=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 89*168=14952, Resulting Numbers: [14952]
14952,76 unequal: No Solution
Exploring Operation: 89+168=257, Resulting Numbers: [257]
257,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[95, 162], Operations: ['9+64=73', '89+73=162']
Exploring Operation: 95*162=15390, Resulting Numbers: [15390]
15390,76 unequal: No Solution
Exploring Operation: 95+162=257, Resulting Numbers: [257]
257,76 unequal: No Solution
Exploring Operation: 162-95=67, Resulting Numbers: [67]
67,76 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
20,
20,
49
] | 49 | [
"20-20=0",
"83*0=0",
"49+0=49"
] | Current State: 49:[83, 20, 20, 49], Operations: []
Exploring Operation: 20-20=0, Resulting Numbers: [83, 49, 0]
Generated Node #2: [83, 49, 0] from Operation: 20-20=0
Current State: 49:[83, 49, 0], Operations: ['20-20=0']
Exploring Operation: 83*0=0, Resulting Numbers: [49, 0]
Generated Node #3: [49, 0] from Operation: 83*0=0
Current State: 49:[49, 0], Operations: ['20-20=0', '83*0=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 20, 20, 49], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [20, 49, 63]
Generated Node #0,0: 49:[20, 49, 63] Operation: 83-20=63
Exploring Operation: 83-20=63, Resulting Numbers: [20, 49, 63]
Generated Node #0,1: 49:[20, 49, 63] Operation: 83-20=63
Exploring Operation: 20/20=1, Resulting Numbers: [83, 49, 1]
Generated Node #0,2: 49:[83, 49, 1] Operation: 20/20=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[20, 49, 63], Operations: ['83-20=63']
Exploring Operation: 63-20=43, Resulting Numbers: [49, 43]
Generated Node #0,0,0: 49:[49, 43] Operation: 63-20=43
Exploring Operation: 20+49=69, Resulting Numbers: [63, 69]
Generated Node #0,0,1: 49:[63, 69] Operation: 20+49=69
Exploring Operation: 63-49=14, Resulting Numbers: [20, 14]
Generated Node #0,0,2: 49:[20, 14] Operation: 63-49=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[49, 43], Operations: ['83-20=63', '63-20=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,49 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No 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: 49:[20, 14], Operations: ['83-20=63', '63-49=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,49 unequal: No Solution
No 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: 49:[63, 69], Operations: ['83-20=63', '20+49=69']
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,49 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,49 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,49 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: 49:[20, 49, 63], Operations: ['83-20=63']
Exploring Operation: 63-49=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 49:[20, 14] Operation: 63-49=14
Exploring Operation: 63-20=43, Resulting Numbers: [49, 43]
Generated Node #0,1,1: 49:[49, 43] Operation: 63-20=43
Exploring Operation: 20+49=69, Resulting Numbers: [63, 69]
Generated Node #0,1,2: 49:[63, 69] Operation: 20+49=69
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[49, 43], Operations: ['83-20=63', '63-20=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,49 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,49 unequal: No Solution
No 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: 49:[20, 14], Operations: ['83-20=63', '63-49=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,49 unequal: No Solution
No 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: 49:[63, 69], Operations: ['83-20=63', '20+49=69']
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,49 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,49 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: 49:[83, 49, 1], Operations: ['20/20=1']
Exploring Operation: 83*1=83, Resulting Numbers: [49, 83]
Generated Node #0,2,0: 49:[49, 83] Operation: 83*1=83
Exploring Operation: 83-49=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 49:[1, 34] Operation: 83-49=34
Exploring Operation: 83-1=82, Resulting Numbers: [49, 82]
Generated Node #0,2,2: 49:[49, 82] Operation: 83-1=82
Moving to Node #0,2,1
Current State: 49:[1, 34], Operations: ['20/20=1', '83-49=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[49, 82], Operations: ['20/20=1', '83-1=82']
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 49*82=4018, Resulting Numbers: [4018]
4018,49 unequal: No Solution
Exploring Operation: 49+82=131, Resulting Numbers: [131]
131,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[49, 83], Operations: ['20/20=1', '83*1=83']
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 49*83=4067, Resulting Numbers: [4067]
4067,49 unequal: No Solution
Exploring Operation: 49+83=132, Resulting Numbers: [132]
132,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
50,
82,
84
] | 12 | [
"56-50=6",
"84-82=2",
"6*2=12"
] | Current State: 12:[56, 50, 82, 84], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [82, 84, 6]
Generated Node #2: [82, 84, 6] from Operation: 56-50=6
Current State: 12:[82, 84, 6], Operations: ['56-50=6']
Exploring Operation: 84-82=2, Resulting Numbers: [6, 2]
Generated Node #3: [6, 2] from Operation: 84-82=2
Current State: 12:[6, 2], Operations: ['56-50=6', '84-82=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[56, 50, 82, 84], Operations: []
Exploring Operation: 82-50=32, Resulting Numbers: [56, 84, 32]
Generated Node #0,0: 12:[56, 84, 32] Operation: 82-50=32
Exploring Operation: 82-56=26, Resulting Numbers: [50, 84, 26]
Generated Node #0,1: 12:[50, 84, 26] Operation: 82-56=26
Exploring Operation: 84-50=34, Resulting Numbers: [56, 82, 34]
Generated Node #0,2: 12:[56, 82, 34] Operation: 84-50=34
Exploring Operation: 84-56=28, Resulting Numbers: [50, 82, 28]
Generated Node #0,3: 12:[50, 82, 28] Operation: 84-56=28
Exploring Operation: 84-82=2, Resulting Numbers: [56, 50, 2]
Generated Node #0,4: 12:[56, 50, 2] Operation: 84-82=2
Moving to Node #0,4
Current State: 12:[56, 50, 2], Operations: ['84-82=2']
Exploring Operation: 56-2=54, Resulting Numbers: [50, 54]
Generated Node #0,4,0: 12:[50, 54] Operation: 56-2=54
Exploring Operation: 50/2=25, Resulting Numbers: [56, 25]
Generated Node #0,4,1: 12:[56, 25] Operation: 50/2=25
Exploring Operation: 56/2=28, Resulting Numbers: [50, 28]
Generated Node #0,4,2: 12:[50, 28] Operation: 56/2=28
Exploring Operation: 56-50=6, Resulting Numbers: [2, 6]
Generated Node #0,4,3: 12:[2, 6] Operation: 56-50=6
Exploring Operation: 50-2=48, Resulting Numbers: [56, 48]
Generated Node #0,4,4: 12:[56, 48] Operation: 50-2=48
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 12:[2, 6], Operations: ['84-82=2', '56-50=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[56, 50, 82, 84], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [56, 50, 2]
Generated Node #0,4: 12:[56, 50, 2] Operation: 84-82=2
Moving to Node #0,4
Current State: 12:[56, 50, 2], Operations: ['84-82=2']
Exploring Operation: 56-50=6, Resulting Numbers: [2, 6]
Generated Node #0,4,3: 12:[2, 6] Operation: 56-50=6
Moving to Node #0,4,3
Current State: 12:[2, 6], Operations: ['84-82=2', '56-50=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
2,
30,
54,
20
] | 29 | [
"30+20=50",
"50/2=25",
"54-25=29"
] | Current State: 29:[2, 30, 54, 20], Operations: []
Exploring Operation: 30+20=50, Resulting Numbers: [2, 54, 50]
Generated Node #2: [2, 54, 50] from Operation: 30+20=50
Current State: 29:[2, 54, 50], Operations: ['30+20=50']
Exploring Operation: 50/2=25, Resulting Numbers: [54, 25]
Generated Node #3: [54, 25] from Operation: 50/2=25
Current State: 29:[54, 25], Operations: ['30+20=50', '50/2=25']
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[2, 30, 54, 20], Operations: []
Exploring Operation: 54-2=52, Resulting Numbers: [30, 20, 52]
Generated Node #0,0: 29:[30, 20, 52] Operation: 54-2=52
Exploring Operation: 54/2=27, Resulting Numbers: [30, 20, 27]
Generated Node #0,1: 29:[30, 20, 27] Operation: 54/2=27
Moving to Node #0,1
Current State: 29:[30, 20, 27], Operations: ['54/2=27']
Exploring Operation: 20+27=47, Resulting Numbers: [30, 47]
Generated Node #0,1,0: 29:[30, 47] Operation: 20+27=47
Exploring Operation: 30-20=10, Resulting Numbers: [27, 10]
Generated Node #0,1,1: 29:[27, 10] Operation: 30-20=10
Moving to Node #0,0
Current State: 29:[30, 20, 52], Operations: ['54-2=52']
Exploring Operation: 52-20=32, Resulting Numbers: [30, 32]
Generated Node #0,0,0: 29:[30, 32] Operation: 52-20=32
Exploring Operation: 52-30=22, Resulting Numbers: [20, 22]
Generated Node #0,0,1: 29:[20, 22] Operation: 52-30=22
Moving to Node #0,0,0
Current State: 29:[30, 32], Operations: ['54-2=52', '52-20=32']
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[20, 22], Operations: ['54-2=52', '52-30=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[30, 47], Operations: ['54/2=27', '20+27=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[27, 10], Operations: ['54/2=27', '30-20=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,29 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
40,
27,
19
] | 33 | [
"27-19=8",
"40/8=5",
"38-5=33"
] | Current State: 33:[38, 40, 27, 19], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [38, 40, 8]
Generated Node #2: [38, 40, 8] from Operation: 27-19=8
Current State: 33:[38, 40, 8], Operations: ['27-19=8']
Exploring Operation: 40/8=5, Resulting Numbers: [38, 5]
Generated Node #3: [38, 5] from Operation: 40/8=5
Current State: 33:[38, 5], Operations: ['27-19=8', '40/8=5']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[38, 40, 27, 19], Operations: []
Exploring Operation: 40-38=2, Resulting Numbers: [27, 19, 2]
Generated Node #0,0: 33:[27, 19, 2] Operation: 40-38=2
Exploring Operation: 38/19=2, Resulting Numbers: [40, 27, 2]
Generated Node #0,1: 33:[40, 27, 2] Operation: 38/19=2
Exploring Operation: 38-27=11, Resulting Numbers: [40, 19, 11]
Generated Node #0,2: 33:[40, 19, 11] Operation: 38-27=11
Moving to Node #0,1
Current State: 33:[40, 27, 2], Operations: ['38/19=2']
Exploring Operation: 27+2=29, Resulting Numbers: [40, 29]
Generated Node #0,1,0: 33:[40, 29] Operation: 27+2=29
Exploring Operation: 40-27=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 33:[2, 13] Operation: 40-27=13
Exploring Operation: 40-2=38, Resulting Numbers: [27, 38]
Generated Node #0,1,2: 33:[27, 38] Operation: 40-2=38
Moving to Node #0,0
Current State: 33:[27, 19, 2], Operations: ['40-38=2']
Exploring Operation: 27-19=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 33:[2, 8] Operation: 27-19=8
Exploring Operation: 19*2=38, Resulting Numbers: [27, 38]
Generated Node #0,0,1: 33:[27, 38] Operation: 19*2=38
Exploring Operation: 27+2=29, Resulting Numbers: [19, 29]
Generated Node #0,0,2: 33:[19, 29] Operation: 27+2=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[2, 8], Operations: ['40-38=2', '27-19=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[27, 38], Operations: ['40-38=2', '19*2=38']
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[19, 29], Operations: ['40-38=2', '27+2=29']
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,33 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,33 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: 33:[40, 19, 11], Operations: ['38-27=11']
Exploring Operation: 19-11=8, Resulting Numbers: [40, 8]
Generated Node #0,2,0: 33:[40, 8] Operation: 19-11=8
Exploring Operation: 19+11=30, Resulting Numbers: [40, 30]
Generated Node #0,2,1: 33:[40, 30] Operation: 19+11=30
Exploring Operation: 40-19=21, Resulting Numbers: [11, 21]
Generated Node #0,2,2: 33:[11, 21] Operation: 40-19=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[40, 8], Operations: ['38-27=11', '19-11=8']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[40, 30], Operations: ['38-27=11', '19+11=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[11, 21], Operations: ['38-27=11', '40-19=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,33 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 33:[2, 13], Operations: ['38/19=2', '40-27=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[40, 29], Operations: ['38/19=2', '27+2=29']
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,33 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[27, 38], Operations: ['38/19=2', '40-2=38']
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,33 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,33 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,33 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
57,
37,
45
] | 63 | [
"57/3=19",
"37+45=82",
"82-19=63"
] | Current State: 63:[3, 57, 37, 45], Operations: []
Exploring Operation: 57/3=19, Resulting Numbers: [37, 45, 19]
Generated Node #2: [37, 45, 19] from Operation: 57/3=19
Current State: 63:[37, 45, 19], Operations: ['57/3=19']
Exploring Operation: 37+45=82, Resulting Numbers: [19, 82]
Generated Node #3: [19, 82] from Operation: 37+45=82
Current State: 63:[19, 82], Operations: ['57/3=19', '37+45=82']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[3, 57, 37, 45], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [3, 57, 8]
Generated Node #0,0: 63:[3, 57, 8] Operation: 45-37=8
Exploring Operation: 57-45=12, Resulting Numbers: [3, 37, 12]
Generated Node #0,1: 63:[3, 37, 12] Operation: 57-45=12
Exploring Operation: 57-37=20, Resulting Numbers: [3, 45, 20]
Generated Node #0,2: 63:[3, 45, 20] Operation: 57-37=20
Moving to Node #0,0
Current State: 63:[3, 57, 8], Operations: ['45-37=8']
Exploring Operation: 57+8=65, Resulting Numbers: [3, 65]
Generated Node #0,0,0: 63:[3, 65] Operation: 57+8=65
Exploring Operation: 3+57=60, Resulting Numbers: [8, 60]
Generated Node #0,0,1: 63:[8, 60] Operation: 3+57=60
Exploring Operation: 57/3=19, Resulting Numbers: [8, 19]
Generated Node #0,0,2: 63:[8, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[3, 65], Operations: ['45-37=8', '57+8=65']
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,63 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,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,2
Current State: 63:[8, 19], Operations: ['45-37=8', '57/3=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,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,1
Current State: 63:[8, 60], Operations: ['45-37=8', '3+57=60']
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,63 unequal: No Solution
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,63 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: 63:[3, 37, 12], Operations: ['57-45=12']
Exploring Operation: 37-3=34, Resulting Numbers: [12, 34]
Generated Node #0,1,0: 63:[12, 34] Operation: 37-3=34
Exploring Operation: 37-12=25, Resulting Numbers: [3, 25]
Generated Node #0,1,1: 63:[3, 25] Operation: 37-12=25
Exploring Operation: 37+12=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 63:[3, 49] Operation: 37+12=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[3, 25], Operations: ['57-45=12', '37-12=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,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,1,2
Current State: 63:[3, 49], Operations: ['57-45=12', '37+12=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,63 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,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,1,0
Current State: 63:[12, 34], Operations: ['57-45=12', '37-3=34']
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,63 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,63 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: 63:[3, 45, 20], Operations: ['57-37=20']
Exploring Operation: 45/3=15, Resulting Numbers: [20, 15]
Generated Node #0,2,0: 63:[20, 15] Operation: 45/3=15
Exploring Operation: 45-20=25, Resulting Numbers: [3, 25]
Generated Node #0,2,1: 63:[3, 25] Operation: 45-20=25
Exploring Operation: 45+20=65, Resulting Numbers: [3, 65]
Generated Node #0,2,2: 63:[3, 65] Operation: 45+20=65
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[3, 65], Operations: ['57-37=20', '45+20=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,63 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,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,2,1
Current State: 63:[3, 25], Operations: ['57-37=20', '45-20=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,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,2,0
Current State: 63:[20, 15], Operations: ['57-37=20', '45/3=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,63 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,63 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 |
[
41,
65,
75,
40
] | 38 | [
"65-40=25",
"75/25=3",
"41-3=38"
] | Current State: 38:[41, 65, 75, 40], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [41, 75, 25]
Generated Node #2: [41, 75, 25] from Operation: 65-40=25
Current State: 38:[41, 75, 25], Operations: ['65-40=25']
Exploring Operation: 75/25=3, Resulting Numbers: [41, 3]
Generated Node #3: [41, 3] from Operation: 75/25=3
Current State: 38:[41, 3], Operations: ['65-40=25', '75/25=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[41, 65, 75, 40], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [41, 40, 10]
Generated Node #0,0: 38:[41, 40, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 38:[41, 40, 10], Operations: ['75-65=10']
Exploring Operation: 40/10=4, Resulting Numbers: [41, 4]
Generated Node #0,0,0: 38:[41, 4] Operation: 40/10=4
Moving to Node #0,0,0
Current State: 38:[41, 4], Operations: ['75-65=10', '40/10=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,38 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
70,
53,
5,
36
] | 24 | [
"70-53=17",
"5+36=41",
"41-17=24"
] | Current State: 24:[70, 53, 5, 36], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [5, 36, 17]
Generated Node #2: [5, 36, 17] from Operation: 70-53=17
Current State: 24:[5, 36, 17], Operations: ['70-53=17']
Exploring Operation: 5+36=41, Resulting Numbers: [17, 41]
Generated Node #3: [17, 41] from Operation: 5+36=41
Current State: 24:[17, 41], Operations: ['70-53=17', '5+36=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[70, 53, 5, 36], Operations: []
Exploring Operation: 70-36=34, Resulting Numbers: [53, 5, 34]
Generated Node #0,0: 24:[53, 5, 34] Operation: 70-36=34
Exploring Operation: 70-53=17, Resulting Numbers: [5, 36, 17]
Generated Node #0,1: 24:[5, 36, 17] Operation: 70-53=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[5, 36, 17], Operations: ['70-53=17']
Exploring Operation: 36-17=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 24:[5, 19] Operation: 36-17=19
Exploring Operation: 36-5=31, Resulting Numbers: [17, 31]
Generated Node #0,1,1: 24:[17, 31] Operation: 36-5=31
Moving to Node #0,1,0
Current State: 24:[5, 19], Operations: ['70-53=17', '36-17=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[70, 53, 5, 36], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [5, 36, 17]
Generated Node #0,1: 24:[5, 36, 17] Operation: 70-53=17
Moving to Node #0,1
Current State: 24:[5, 36, 17], Operations: ['70-53=17']
Exploring Operation: 36-17=19, Resulting Numbers: [5, 19]
Generated Node #0,1,0: 24:[5, 19] Operation: 36-17=19
Moving to Node #0,1,0
Current State: 24:[5, 19], Operations: ['70-53=17', '36-17=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
60,
93,
88,
11
] | 25 | [
"93-60=33",
"88/11=8",
"33-8=25"
] | Current State: 25:[60, 93, 88, 11], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [88, 11, 33]
Generated Node #2: [88, 11, 33] from Operation: 93-60=33
Current State: 25:[88, 11, 33], Operations: ['93-60=33']
Exploring Operation: 88/11=8, Resulting Numbers: [33, 8]
Generated Node #3: [33, 8] from Operation: 88/11=8
Current State: 25:[33, 8], Operations: ['93-60=33', '88/11=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[60, 93, 88, 11], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [60, 11, 5]
Generated Node #0,0: 25:[60, 11, 5] Operation: 93-88=5
Exploring Operation: 88/11=8, Resulting Numbers: [60, 93, 8]
Generated Node #0,1: 25:[60, 93, 8] Operation: 88/11=8
Exploring Operation: 88-60=28, Resulting Numbers: [93, 11, 28]
Generated Node #0,2: 25:[93, 11, 28] Operation: 88-60=28
Exploring Operation: 93-60=33, Resulting Numbers: [88, 11, 33]
Generated Node #0,3: 25:[88, 11, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[60, 11, 5], Operations: ['93-88=5']
Exploring Operation: 60/5=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 25:[11, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [11, 55]
Generated Node #0,0,1: 25:[11, 55] Operation: 60-5=55
Exploring Operation: 11-5=6, Resulting Numbers: [60, 6]
Generated Node #0,0,2: 25:[60, 6] Operation: 11-5=6
Exploring Operation: 60-11=49, Resulting Numbers: [5, 49]
Generated Node #0,0,3: 25:[5, 49] Operation: 60-11=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[11, 12], Operations: ['93-88=5', '60/5=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,25 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[5, 49], Operations: ['93-88=5', '60-11=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,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:[11, 55], Operations: ['93-88=5', '60-5=55']
Exploring Operation: 11*55=605, Resulting Numbers: [605]
605,25 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[60, 6], Operations: ['93-88=5', '11-5=6']
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,25 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,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:[93, 11, 28], Operations: ['88-60=28']
Exploring Operation: 93-11=82, Resulting Numbers: [28, 82]
Generated Node #0,2,0: 25:[28, 82] Operation: 93-11=82
Exploring Operation: 93-28=65, Resulting Numbers: [11, 65]
Generated Node #0,2,1: 25:[11, 65] Operation: 93-28=65
Exploring Operation: 28-11=17, Resulting Numbers: [93, 17]
Generated Node #0,2,2: 25:[93, 17] Operation: 28-11=17
Exploring Operation: 93+11=104, Resulting Numbers: [28, 104]
Generated Node #0,2,3: 25:[28, 104] Operation: 93+11=104
Moving to Node #0,2,1
Current State: 25:[11, 65], Operations: ['88-60=28', '93-28=65']
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,25 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[28, 82], Operations: ['88-60=28', '93-11=82']
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,25 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[93, 17], Operations: ['88-60=28', '28-11=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,25 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[28, 104], Operations: ['88-60=28', '93+11=104']
Exploring Operation: 28+104=132, Resulting Numbers: [132]
132,25 unequal: No Solution
Exploring Operation: 104-28=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 28*104=2912, Resulting Numbers: [2912]
2912,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[88, 11, 33], Operations: ['93-60=33']
Exploring Operation: 88-33=55, Resulting Numbers: [11, 55]
Generated Node #0,3,0: 25:[11, 55] Operation: 88-33=55
Exploring Operation: 88/11=8, Resulting Numbers: [33, 8]
Generated Node #0,3,1: 25:[33, 8] Operation: 88/11=8
Exploring Operation: 33/11=3, Resulting Numbers: [88, 3]
Generated Node #0,3,2: 25:[88, 3] Operation: 33/11=3
Exploring Operation: 88-11=77, Resulting Numbers: [33, 77]
Generated Node #0,3,3: 25:[33, 77] Operation: 88-11=77
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[33, 8], Operations: ['93-60=33', '88/11=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,25 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,25 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[60, 93, 88, 11], Operations: []
Exploring Operation: 93-60=33, Resulting Numbers: [88, 11, 33]
Generated Node #0,3: 25:[88, 11, 33] Operation: 93-60=33
Moving to Node #0,3
Current State: 25:[88, 11, 33], Operations: ['93-60=33']
Exploring Operation: 88/11=8, Resulting Numbers: [33, 8]
Generated Node #0,3,1: 25:[33, 8] Operation: 88/11=8
Moving to Node #0,3,1
Current State: 25:[33, 8], Operations: ['93-60=33', '88/11=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
4,
17,
59,
10
] | 49 | [
"17+10=27",
"4*27=108",
"108-59=49"
] | Current State: 49:[4, 17, 59, 10], Operations: []
Exploring Operation: 17+10=27, Resulting Numbers: [4, 59, 27]
Generated Node #2: [4, 59, 27] from Operation: 17+10=27
Current State: 49:[4, 59, 27], Operations: ['17+10=27']
Exploring Operation: 4*27=108, Resulting Numbers: [59, 108]
Generated Node #3: [59, 108] from Operation: 4*27=108
Current State: 49:[59, 108], Operations: ['17+10=27', '4*27=108']
Exploring Operation: 108-59=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[4, 17, 59, 10], Operations: []
Exploring Operation: 59-10=49, Resulting Numbers: [4, 17, 49]
Generated Node #0,0: 49:[4, 17, 49] Operation: 59-10=49
Exploring Operation: 59-4=55, Resulting Numbers: [17, 10, 55]
Generated Node #0,1: 49:[17, 10, 55] Operation: 59-4=55
Exploring Operation: 59-17=42, Resulting Numbers: [4, 10, 42]
Generated Node #0,2: 49:[4, 10, 42] Operation: 59-17=42
Exploring Operation: 17-4=13, Resulting Numbers: [59, 10, 13]
Generated Node #0,3: 49:[59, 10, 13] Operation: 17-4=13
Exploring Operation: 17-10=7, Resulting Numbers: [4, 59, 7]
Generated Node #0,4: 49:[4, 59, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 17, 49], Operations: ['59-10=49']
Exploring Operation: 4+49=53, Resulting Numbers: [17, 53]
Generated Node #0,0,0: 49:[17, 53] Operation: 4+49=53
Exploring Operation: 49-4=45, Resulting Numbers: [17, 45]
Generated Node #0,0,1: 49:[17, 45] Operation: 49-4=45
Exploring Operation: 4+17=21, Resulting Numbers: [49, 21]
Generated Node #0,0,2: 49:[49, 21] Operation: 4+17=21
Exploring Operation: 17-4=13, Resulting Numbers: [49, 13]
Generated Node #0,0,3: 49:[49, 13] Operation: 17-4=13
Exploring Operation: 4*17=68, Resulting Numbers: [49, 68]
Generated Node #0,0,4: 49:[49, 68] Operation: 4*17=68
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[49, 13], Operations: ['59-10=49', '17-4=13']
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,49 unequal: No Solution
No 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: 49:[17, 53], Operations: ['59-10=49', '4+49=53']
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,49 unequal: No Solution
No 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: 49:[17, 45], Operations: ['59-10=49', '49-4=45']
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,49 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No 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: 49:[49, 21], Operations: ['59-10=49', '4+17=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,49 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,49 unequal: No Solution
No 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: 49:[49, 68], Operations: ['59-10=49', '4*17=68']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,49 unequal: No Solution
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,49 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: 49:[4, 10, 42], Operations: ['59-17=42']
Exploring Operation: 42-4=38, Resulting Numbers: [10, 38]
Generated Node #0,2,0: 49:[10, 38] Operation: 42-4=38
Exploring Operation: 4+10=14, Resulting Numbers: [42, 14]
Generated Node #0,2,1: 49:[42, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [42, 6]
Generated Node #0,2,2: 49:[42, 6] Operation: 10-4=6
Exploring Operation: 4+42=46, Resulting Numbers: [10, 46]
Generated Node #0,2,3: 49:[10, 46] Operation: 4+42=46
Exploring Operation: 10+42=52, Resulting Numbers: [4, 52]
Generated Node #0,2,4: 49:[4, 52] Operation: 10+42=52
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 49:[10, 46], Operations: ['59-17=42', '4+42=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,49 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,49 unequal: No Solution
No 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: 49:[4, 52], Operations: ['59-17=42', '10+42=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,49 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,49 unequal: No Solution
No 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: 49:[42, 6], Operations: ['59-17=42', '10-4=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,49 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No 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: 49:[10, 38], Operations: ['59-17=42', '42-4=38']
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,49 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No 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: 49:[42, 14], Operations: ['59-17=42', '4+10=14']
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,49 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,49 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: 49:[4, 59, 7], Operations: ['17-10=7']
Exploring Operation: 59-7=52, Resulting Numbers: [4, 52]
Generated Node #0,4,0: 49:[4, 52] Operation: 59-7=52
Exploring Operation: 59-4=55, Resulting Numbers: [7, 55]
Generated Node #0,4,1: 49:[7, 55] Operation: 59-4=55
Exploring Operation: 7-4=3, Resulting Numbers: [59, 3]
Generated Node #0,4,2: 49:[59, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [59, 11]
Generated Node #0,4,3: 49:[59, 11] Operation: 4+7=11
Exploring Operation: 4+59=63, Resulting Numbers: [7, 63]
Generated Node #0,4,4: 49:[7, 63] Operation: 4+59=63
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 49:[4, 52], Operations: ['17-10=7', '59-7=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,49 unequal: No Solution
No 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: 49:[7, 55], Operations: ['17-10=7', '59-4=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,49 unequal: No Solution
No 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: 49:[59, 3], Operations: ['17-10=7', '7-4=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,49 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No 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: 49:[59, 11], Operations: ['17-10=7', '4+7=11']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,49 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,49 unequal: No Solution
No 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: 49:[7, 63], Operations: ['17-10=7', '4+59=63']
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 7*63=441, Resulting Numbers: [441]
441,49 unequal: No Solution
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,49 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: 49:[17, 10, 55], Operations: ['59-4=55']
Exploring Operation: 55-10=45, Resulting Numbers: [17, 45]
Generated Node #0,1,0: 49:[17, 45] Operation: 55-10=45
Exploring Operation: 17+10=27, Resulting Numbers: [55, 27]
Generated Node #0,1,1: 49:[55, 27] Operation: 17+10=27
Exploring Operation: 17-10=7, Resulting Numbers: [55, 7]
Generated Node #0,1,2: 49:[55, 7] Operation: 17-10=7
Exploring Operation: 55-17=38, Resulting Numbers: [10, 38]
Generated Node #0,1,3: 49:[10, 38] Operation: 55-17=38
Exploring Operation: 17+55=72, Resulting Numbers: [10, 72]
Generated Node #0,1,4: 49:[10, 72] Operation: 17+55=72
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[55, 7], Operations: ['59-4=55', '17-10=7']
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,49 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,49 unequal: No Solution
No 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: 49:[17, 45], Operations: ['59-4=55', '55-10=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,49 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No 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: 49:[10, 38], Operations: ['59-4=55', '55-17=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,49 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,49 unequal: No Solution
No 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: 49:[55, 27], Operations: ['59-4=55', '17+10=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,49 unequal: No Solution
No 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: 49:[10, 72], Operations: ['59-4=55', '17+55=72']
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,49 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: 49:[59, 10, 13], Operations: ['17-4=13']
Exploring Operation: 59-10=49, Resulting Numbers: [13, 49]
Generated Node #0,3,0: 49:[13, 49] Operation: 59-10=49
Exploring Operation: 59+13=72, Resulting Numbers: [10, 72]
Generated Node #0,3,1: 49:[10, 72] Operation: 59+13=72
Exploring Operation: 13-10=3, Resulting Numbers: [59, 3]
Generated Node #0,3,2: 49:[59, 3] Operation: 13-10=3
Exploring Operation: 59+10=69, Resulting Numbers: [13, 69]
Generated Node #0,3,3: 49:[13, 69] Operation: 59+10=69
Exploring Operation: 59-13=46, Resulting Numbers: [10, 46]
Generated Node #0,3,4: 49:[10, 46] Operation: 59-13=46
Moving to Node #0,3,0
Current State: 49:[13, 49], Operations: ['17-4=13', '59-10=49']
Exploring Operation: 13+49=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 13*49=637, Resulting Numbers: [637]
637,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[10, 46], Operations: ['17-4=13', '59-13=46']
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[59, 3], Operations: ['17-4=13', '13-10=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,49 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,49 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[10, 72], Operations: ['17-4=13', '59+13=72']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 10+72=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 10*72=720, Resulting Numbers: [720]
720,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[13, 69], Operations: ['17-4=13', '59+10=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,49 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
4,
8,
20
] | 58 | [
"9+20=29",
"8/4=2",
"29*2=58"
] | Current State: 58:[9, 4, 8, 20], Operations: []
Exploring Operation: 9+20=29, Resulting Numbers: [4, 8, 29]
Generated Node #2: [4, 8, 29] from Operation: 9+20=29
Current State: 58:[4, 8, 29], Operations: ['9+20=29']
Exploring Operation: 8/4=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 8/4=2
Current State: 58:[29, 2], Operations: ['9+20=29', '8/4=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[9, 4, 8, 20], Operations: []
Exploring Operation: 9-8=1, Resulting Numbers: [4, 20, 1]
Generated Node #0,0: 58:[4, 20, 1] Operation: 9-8=1
Exploring Operation: 8+20=28, Resulting Numbers: [9, 4, 28]
Generated Node #0,1: 58:[9, 4, 28] Operation: 8+20=28
Exploring Operation: 9+20=29, Resulting Numbers: [4, 8, 29]
Generated Node #0,2: 58:[4, 8, 29] Operation: 9+20=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[4, 8, 29], Operations: ['9+20=29']
Exploring Operation: 8-4=4, Resulting Numbers: [29, 4]
Generated Node #0,2,0: 58:[29, 4] Operation: 8-4=4
Exploring Operation: 4*8=32, Resulting Numbers: [29, 32]
Generated Node #0,2,1: 58:[29, 32] Operation: 4*8=32
Exploring Operation: 8/4=2, Resulting Numbers: [29, 2]
Generated Node #0,2,2: 58:[29, 2] Operation: 8/4=2
Moving to Node #0,2,2
Current State: 58:[29, 2], Operations: ['9+20=29', '8/4=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[9, 4, 8, 20], Operations: []
Exploring Operation: 9+20=29, Resulting Numbers: [4, 8, 29]
Generated Node #0,2: 58:[4, 8, 29] Operation: 9+20=29
Moving to Node #0,2
Current State: 58:[4, 8, 29], Operations: ['9+20=29']
Exploring Operation: 8/4=2, Resulting Numbers: [29, 2]
Generated Node #0,2,2: 58:[29, 2] Operation: 8/4=2
Moving to Node #0,2,2
Current State: 58:[29, 2], Operations: ['9+20=29', '8/4=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
50,
9,
7,
38
] | 55 | [
"7+38=45",
"45/9=5",
"50+5=55"
] | Current State: 55:[50, 9, 7, 38], Operations: []
Exploring Operation: 7+38=45, Resulting Numbers: [50, 9, 45]
Generated Node #2: [50, 9, 45] from Operation: 7+38=45
Current State: 55:[50, 9, 45], Operations: ['7+38=45']
Exploring Operation: 45/9=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 45/9=5
Current State: 55:[50, 5], Operations: ['7+38=45', '45/9=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[50, 9, 7, 38], Operations: []
Exploring Operation: 9+38=47, Resulting Numbers: [50, 7, 47]
Generated Node #0,0: 55:[50, 7, 47] Operation: 9+38=47
Exploring Operation: 7+38=45, Resulting Numbers: [50, 9, 45]
Generated Node #0,1: 55:[50, 9, 45] Operation: 7+38=45
Exploring Operation: 50+7=57, Resulting Numbers: [9, 38, 57]
Generated Node #0,2: 55:[9, 38, 57] Operation: 50+7=57
Exploring Operation: 50+9=59, Resulting Numbers: [7, 38, 59]
Generated Node #0,3: 55:[7, 38, 59] Operation: 50+9=59
Exploring Operation: 50-38=12, Resulting Numbers: [9, 7, 12]
Generated Node #0,4: 55:[9, 7, 12] Operation: 50-38=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[9, 7, 12], Operations: ['50-38=12']
Exploring Operation: 9*7=63, Resulting Numbers: [12, 63]
Generated Node #0,4,0: 55:[12, 63] Operation: 9*7=63
Exploring Operation: 12-7=5, Resulting Numbers: [9, 5]
Generated Node #0,4,1: 55:[9, 5] Operation: 12-7=5
Exploring Operation: 9-7=2, Resulting Numbers: [12, 2]
Generated Node #0,4,2: 55:[12, 2] Operation: 9-7=2
Exploring Operation: 9+7=16, Resulting Numbers: [12, 16]
Generated Node #0,4,3: 55:[12, 16] Operation: 9+7=16
Exploring Operation: 12-9=3, Resulting Numbers: [7, 3]
Generated Node #0,4,4: 55:[7, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 55:[9, 5], Operations: ['50-38=12', '12-7=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No 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: 55:[12, 2], Operations: ['50-38=12', '9-7=2']
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No 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: 55:[7, 3], Operations: ['50-38=12', '12-9=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No 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: 55:[12, 16], Operations: ['50-38=12', '9+7=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,55 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,55 unequal: No Solution
No 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: 55:[12, 63], Operations: ['50-38=12', '9*7=63']
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,55 unequal: No Solution
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,55 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,55 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: 55:[50, 7, 47], Operations: ['9+38=47']
Exploring Operation: 47-7=40, Resulting Numbers: [50, 40]
Generated Node #0,0,0: 55:[50, 40] Operation: 47-7=40
Exploring Operation: 50-47=3, Resulting Numbers: [7, 3]
Generated Node #0,0,1: 55:[7, 3] Operation: 50-47=3
Exploring Operation: 50+7=57, Resulting Numbers: [47, 57]
Generated Node #0,0,2: 55:[47, 57] Operation: 50+7=57
Exploring Operation: 50-7=43, Resulting Numbers: [47, 43]
Generated Node #0,0,3: 55:[47, 43] Operation: 50-7=43
Exploring Operation: 7+47=54, Resulting Numbers: [50, 54]
Generated Node #0,0,4: 55:[50, 54] Operation: 7+47=54
Moving to Node #0,0,1
Current State: 55:[7, 3], Operations: ['9+38=47', '50-47=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[50, 54], Operations: ['9+38=47', '7+47=54']
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 50*54=2700, Resulting Numbers: [2700]
2700,55 unequal: No Solution
Exploring Operation: 50+54=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[47, 57], Operations: ['9+38=47', '50+7=57']
Exploring Operation: 47+57=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 47*57=2679, Resulting Numbers: [2679]
2679,55 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[50, 40], Operations: ['9+38=47', '47-7=40']
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,55 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[47, 43], Operations: ['9+38=47', '50-7=43']
Exploring Operation: 47+43=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 47*43=2021, Resulting Numbers: [2021]
2021,55 unequal: No Solution
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[50, 9, 45], Operations: ['7+38=45']
Exploring Operation: 50-45=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 55:[9, 5] Operation: 50-45=5
Exploring Operation: 45/9=5, Resulting Numbers: [50, 5]
Generated Node #0,1,1: 55:[50, 5] Operation: 45/9=5
Exploring Operation: 50-9=41, Resulting Numbers: [45, 41]
Generated Node #0,1,2: 55:[45, 41] Operation: 50-9=41
Exploring Operation: 50+9=59, Resulting Numbers: [45, 59]
Generated Node #0,1,3: 55:[45, 59] Operation: 50+9=59
Exploring Operation: 9+45=54, Resulting Numbers: [50, 54]
Generated Node #0,1,4: 55:[50, 54] Operation: 9+45=54
Moving to Node #0,1,0
Current State: 55:[9, 5], Operations: ['7+38=45', '50-45=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[50, 5], Operations: ['7+38=45', '45/9=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[50, 9, 7, 38], Operations: []
Exploring Operation: 7+38=45, Resulting Numbers: [50, 9, 45]
Generated Node #0,1: 55:[50, 9, 45] Operation: 7+38=45
Moving to Node #0,1
Current State: 55:[50, 9, 45], Operations: ['7+38=45']
Exploring Operation: 45/9=5, Resulting Numbers: [50, 5]
Generated Node #0,1,1: 55:[50, 5] Operation: 45/9=5
Moving to Node #0,1,1
Current State: 55:[50, 5], Operations: ['7+38=45', '45/9=5']
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
46,
82,
60,
44
] | 44 | [
"46-44=2",
"82-60=22",
"2*22=44"
] | Current State: 44:[46, 82, 60, 44], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [82, 60, 2]
Generated Node #2: [82, 60, 2] from Operation: 46-44=2
Current State: 44:[82, 60, 2], Operations: ['46-44=2']
Exploring Operation: 82-60=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 82-60=22
Current State: 44:[2, 22], Operations: ['46-44=2', '82-60=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 82, 60, 44], Operations: []
Exploring Operation: 82-44=38, Resulting Numbers: [46, 60, 38]
Generated Node #0,0: 44:[46, 60, 38] Operation: 82-44=38
Exploring Operation: 82-60=22, Resulting Numbers: [46, 44, 22]
Generated Node #0,1: 44:[46, 44, 22] Operation: 82-60=22
Exploring Operation: 82-46=36, Resulting Numbers: [60, 44, 36]
Generated Node #0,2: 44:[60, 44, 36] Operation: 82-46=36
Exploring Operation: 60-44=16, Resulting Numbers: [46, 82, 16]
Generated Node #0,3: 44:[46, 82, 16] Operation: 60-44=16
Exploring Operation: 60-46=14, Resulting Numbers: [82, 44, 14]
Generated Node #0,4: 44:[82, 44, 14] Operation: 60-46=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[46, 44, 22], Operations: ['82-60=22']
Exploring Operation: 46-22=24, Resulting Numbers: [44, 24]
Generated Node #0,1,0: 44:[44, 24] Operation: 46-22=24
Exploring Operation: 44-22=22, Resulting Numbers: [46, 22]
Generated Node #0,1,1: 44:[46, 22] Operation: 44-22=22
Exploring Operation: 46-44=2, Resulting Numbers: [22, 2]
Generated Node #0,1,2: 44:[22, 2] Operation: 46-44=2
Exploring Operation: 46+22=68, Resulting Numbers: [44, 68]
Generated Node #0,1,3: 44:[44, 68] Operation: 46+22=68
Exploring Operation: 44/22=2, Resulting Numbers: [46, 2]
Generated Node #0,1,4: 44:[46, 2] Operation: 44/22=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[22, 2], Operations: ['82-60=22', '46-44=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[46, 82, 60, 44], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [46, 44, 22]
Generated Node #0,1: 44:[46, 44, 22] Operation: 82-60=22
Moving to Node #0,1
Current State: 44:[46, 44, 22], Operations: ['82-60=22']
Exploring Operation: 46-44=2, Resulting Numbers: [22, 2]
Generated Node #0,1,2: 44:[22, 2] Operation: 46-44=2
Moving to Node #0,1,2
Current State: 44:[22, 2], Operations: ['82-60=22', '46-44=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
68,
7,
41,
13
] | 89 | [
"68-7=61",
"41-13=28",
"61+28=89"
] | Current State: 89:[68, 7, 41, 13], Operations: []
Exploring Operation: 68-7=61, Resulting Numbers: [41, 13, 61]
Generated Node #2: [41, 13, 61] from Operation: 68-7=61
Current State: 89:[41, 13, 61], Operations: ['68-7=61']
Exploring Operation: 41-13=28, Resulting Numbers: [61, 28]
Generated Node #3: [61, 28] from Operation: 41-13=28
Current State: 89:[61, 28], Operations: ['68-7=61', '41-13=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[68, 7, 41, 13], Operations: []
Exploring Operation: 7*13=91, Resulting Numbers: [68, 41, 91]
Generated Node #0,0: 89:[68, 41, 91] Operation: 7*13=91
Moving to Node #0,0
Current State: 89:[68, 41, 91], Operations: ['7*13=91']
Exploring Operation: 68+41=109, Resulting Numbers: [91, 109]
Generated Node #0,0,0: 89:[91, 109] Operation: 68+41=109
Moving to Node #0,0,0
Current State: 89:[91, 109], Operations: ['7*13=91', '68+41=109']
Exploring Operation: 109-91=18, Resulting Numbers: [18]
18,89 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
9,
60,
9,
16
] | 62 | [
"9+60=69",
"16-9=7",
"69-7=62"
] | Current State: 62:[9, 60, 9, 16], Operations: []
Exploring Operation: 9+60=69, Resulting Numbers: [16, 69]
Generated Node #2: [16, 69] from Operation: 9+60=69
Current State: 62:[16, 69], Operations: ['9+60=69']
Exploring Operation: 16-9=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 16-9=7
Current State: 62:[69, 7], Operations: ['9+60=69', '16-9=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[9, 60, 9, 16], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [9, 60, 7]
Generated Node #0,0: 62:[9, 60, 7] Operation: 16-9=7
Exploring Operation: 9+16=25, Resulting Numbers: [9, 60, 25]
Generated Node #0,1: 62:[9, 60, 25] Operation: 9+16=25
Exploring Operation: 9/9=1, Resulting Numbers: [60, 16, 1]
Generated Node #0,2: 62:[60, 16, 1] Operation: 9/9=1
Exploring Operation: 9+16=25, Resulting Numbers: [60, 9, 25]
Generated Node #0,3: 62:[60, 9, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [60, 9, 7]
Generated Node #0,4: 62:[60, 9, 7] Operation: 16-9=7
Moving to Node #0,0
Current State: 62:[9, 60, 7], Operations: ['16-9=7']
Exploring Operation: 9+60=69, Resulting Numbers: [7, 69]
Generated Node #0,0,0: 62:[7, 69] Operation: 9+60=69
Exploring Operation: 60-9=51, Resulting Numbers: [7, 51]
Generated Node #0,0,1: 62:[7, 51] Operation: 60-9=51
Exploring Operation: 9*7=63, Resulting Numbers: [60, 63]
Generated Node #0,0,2: 62:[60, 63] Operation: 9*7=63
Exploring Operation: 9-7=2, Resulting Numbers: [60, 2]
Generated Node #0,0,3: 62:[60, 2] Operation: 9-7=2
Exploring Operation: 60+7=67, Resulting Numbers: [9, 67]
Generated Node #0,0,4: 62:[9, 67] Operation: 60+7=67
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[60, 2], Operations: ['16-9=7', '9-7=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,62 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[9, 60, 9, 16], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [9, 60, 7]
Generated Node #0,0: 62:[9, 60, 7] Operation: 16-9=7
Moving to Node #0,0
Current State: 62:[9, 60, 7], Operations: ['16-9=7']
Exploring Operation: 9-7=2, Resulting Numbers: [60, 2]
Generated Node #0,0,3: 62:[60, 2] Operation: 9-7=2
Moving to Node #0,0,3
Current State: 62:[60, 2], Operations: ['16-9=7', '9-7=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
34,
95,
35,
34
] | 35 | [
"34-34=0",
"95*0=0",
"35+0=35"
] | Current State: 35:[34, 95, 35, 34], Operations: []
Exploring Operation: 34-34=0, Resulting Numbers: [95, 35, 0]
Generated Node #2: [95, 35, 0] from Operation: 34-34=0
Current State: 35:[95, 35, 0], Operations: ['34-34=0']
Exploring Operation: 95*0=0, Resulting Numbers: [35, 0]
Generated Node #3: [35, 0] from Operation: 95*0=0
Current State: 35:[35, 0], Operations: ['34-34=0', '95*0=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[34, 95, 35, 34], Operations: []
Exploring Operation: 95-34=61, Resulting Numbers: [35, 34, 61]
Generated Node #0,0: 35:[35, 34, 61] Operation: 95-34=61
Exploring Operation: 95-35=60, Resulting Numbers: [34, 34, 60]
Generated Node #0,1: 35:[34, 34, 60] Operation: 95-35=60
Exploring Operation: 95-34=61, Resulting Numbers: [34, 35, 61]
Generated Node #0,2: 35:[34, 35, 61] Operation: 95-34=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[35, 34, 61], Operations: ['95-34=61']
Exploring Operation: 35-34=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 35:[61, 1] Operation: 35-34=1
Exploring Operation: 61-35=26, Resulting Numbers: [34, 26]
Generated Node #0,0,1: 35:[34, 26] Operation: 61-35=26
Exploring Operation: 61-34=27, Resulting Numbers: [35, 27]
Generated Node #0,0,2: 35:[35, 27] Operation: 61-34=27
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[35, 27], Operations: ['95-34=61', '61-34=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,35 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[34, 26], Operations: ['95-34=61', '61-35=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[61, 1], Operations: ['95-34=61', '35-34=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,35 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: 35:[34, 34, 60], Operations: ['95-35=60']
Exploring Operation: 60-34=26, Resulting Numbers: [34, 26]
Generated Node #0,1,0: 35:[34, 26] Operation: 60-34=26
Exploring Operation: 34/34=1, Resulting Numbers: [60, 1]
Generated Node #0,1,1: 35:[60, 1] Operation: 34/34=1
Exploring Operation: 60-34=26, Resulting Numbers: [34, 26]
Generated Node #0,1,2: 35:[34, 26] Operation: 60-34=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[34, 26], Operations: ['95-35=60', '60-34=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,35 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[34, 26], Operations: ['95-35=60', '60-34=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,35 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[60, 1], Operations: ['95-35=60', '34/34=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,35 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: 35:[34, 35, 61], Operations: ['95-34=61']
Exploring Operation: 35-34=1, Resulting Numbers: [61, 1]
Generated Node #0,2,0: 35:[61, 1] Operation: 35-34=1
Exploring Operation: 61-35=26, Resulting Numbers: [34, 26]
Generated Node #0,2,1: 35:[34, 26] Operation: 61-35=26
Exploring Operation: 61-34=27, Resulting Numbers: [35, 27]
Generated Node #0,2,2: 35:[35, 27] Operation: 61-34=27
Moving to Node #0,2,2
Current State: 35:[35, 27], Operations: ['95-34=61', '61-34=27']
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,35 unequal: No Solution
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[34, 26], Operations: ['95-34=61', '61-35=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,35 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[61, 1], Operations: ['95-34=61', '35-34=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,35 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,35 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 |
[
56,
36,
25,
76
] | 12 | [
"56+76=132",
"36-25=11",
"132/11=12"
] | Current State: 12:[56, 36, 25, 76], Operations: []
Exploring Operation: 56+76=132, Resulting Numbers: [36, 25, 132]
Generated Node #2: [36, 25, 132] from Operation: 56+76=132
Current State: 12:[36, 25, 132], Operations: ['56+76=132']
Exploring Operation: 36-25=11, Resulting Numbers: [132, 11]
Generated Node #3: [132, 11] from Operation: 36-25=11
Current State: 12:[132, 11], Operations: ['56+76=132', '36-25=11']
Exploring Operation: 132/11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[56, 36, 25, 76], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [36, 25, 20]
Generated Node #0,0: 12:[36, 25, 20] Operation: 76-56=20
Exploring Operation: 56-25=31, Resulting Numbers: [36, 76, 31]
Generated Node #0,1: 12:[36, 76, 31] Operation: 56-25=31
Exploring Operation: 76-36=40, Resulting Numbers: [56, 25, 40]
Generated Node #0,2: 12:[56, 25, 40] Operation: 76-36=40
Exploring Operation: 56-36=20, Resulting Numbers: [25, 76, 20]
Generated Node #0,3: 12:[25, 76, 20] Operation: 56-36=20
Moving to Node #0,0
Current State: 12:[36, 25, 20], Operations: ['76-56=20']
Exploring Operation: 36-25=11, Resulting Numbers: [20, 11]
Generated Node #0,0,0: 12:[20, 11] Operation: 36-25=11
Exploring Operation: 25-20=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 12:[36, 5] Operation: 25-20=5
Exploring Operation: 36+25=61, Resulting Numbers: [20, 61]
Generated Node #0,0,2: 12:[20, 61] Operation: 36+25=61
Exploring Operation: 36-20=16, Resulting Numbers: [25, 16]
Generated Node #0,0,3: 12:[25, 16] Operation: 36-20=16
Moving to Node #0,3
Current State: 12:[25, 76, 20], Operations: ['56-36=20']
Exploring Operation: 25-20=5, Resulting Numbers: [76, 5]
Generated Node #0,3,0: 12:[76, 5] Operation: 25-20=5
Exploring Operation: 25+76=101, Resulting Numbers: [20, 101]
Generated Node #0,3,1: 12:[20, 101] Operation: 25+76=101
Exploring Operation: 76-20=56, Resulting Numbers: [25, 56]
Generated Node #0,3,2: 12:[25, 56] Operation: 76-20=56
Exploring Operation: 76-25=51, Resulting Numbers: [20, 51]
Generated Node #0,3,3: 12:[20, 51] Operation: 76-25=51
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[20, 51], Operations: ['56-36=20', '76-25=51']
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,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:[25, 56], Operations: ['56-36=20', '76-20=56']
Exploring Operation: 25*56=1400, Resulting Numbers: [1400]
1400,12 unequal: No Solution
Exploring Operation: 56-25=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 25+56=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,0
Current State: 12:[76, 5], Operations: ['56-36=20', '25-20=5']
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,12 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,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:[20, 101], Operations: ['56-36=20', '25+76=101']
Exploring Operation: 20+101=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 20*101=2020, Resulting Numbers: [2020]
2020,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:[56, 25, 40], Operations: ['76-36=40']
Exploring Operation: 56-40=16, Resulting Numbers: [25, 16]
Generated Node #0,2,0: 12:[25, 16] Operation: 56-40=16
Exploring Operation: 56+25=81, Resulting Numbers: [40, 81]
Generated Node #0,2,1: 12:[40, 81] Operation: 56+25=81
Exploring Operation: 40-25=15, Resulting Numbers: [56, 15]
Generated Node #0,2,2: 12:[56, 15] Operation: 40-25=15
Exploring Operation: 56-25=31, Resulting Numbers: [40, 31]
Generated Node #0,2,3: 12:[40, 31] Operation: 56-25=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[25, 16], Operations: ['76-36=40', '56-40=16']
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,12 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[56, 15], Operations: ['76-36=40', '40-25=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,12 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[40, 31], Operations: ['76-36=40', '56-25=31']
Exploring Operation: 40*31=1240, Resulting Numbers: [1240]
1240,12 unequal: No Solution
Exploring Operation: 40+31=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[40, 81], Operations: ['76-36=40', '56+25=81']
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,12 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,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:[36, 76, 31], Operations: ['56-25=31']
Exploring Operation: 36+76=112, Resulting Numbers: [31, 112]
Generated Node #0,1,0: 12:[31, 112] Operation: 36+76=112
Exploring Operation: 76-31=45, Resulting Numbers: [36, 45]
Generated Node #0,1,1: 12:[36, 45] Operation: 76-31=45
Exploring Operation: 76-36=40, Resulting Numbers: [31, 40]
Generated Node #0,1,2: 12:[31, 40] Operation: 76-36=40
Exploring Operation: 36-31=5, Resulting Numbers: [76, 5]
Generated Node #0,1,3: 12:[76, 5] Operation: 36-31=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[31, 40], Operations: ['56-25=31', '76-36=40']
Exploring Operation: 31*40=1240, Resulting Numbers: [1240]
1240,12 unequal: No Solution
Exploring Operation: 40-31=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 31+40=71, Resulting Numbers: [71]
71,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:[36, 45], Operations: ['56-25=31', '76-31=45']
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,12 unequal: No Solution
Exploring Operation: 36+45=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,3
Current State: 12:[76, 5], Operations: ['56-25=31', '36-31=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,12 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,12 unequal: No Solution
Exploring Operation: 76+5=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,0
Current State: 12:[31, 112], Operations: ['56-25=31', '36+76=112']
Exploring Operation: 31+112=143, Resulting Numbers: [143]
143,12 unequal: No Solution
Exploring Operation: 112-31=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 31*112=3472, Resulting Numbers: [3472]
3472,12 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: 12:[20, 11], Operations: ['76-56=20', '36-25=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[25, 16], Operations: ['76-56=20', '36-20=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,12 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[36, 5], Operations: ['76-56=20', '25-20=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[20, 61], Operations: ['76-56=20', '36+25=61']
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,12 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
27,
58,
55
] | 59 | [
"83-27=56",
"58-55=3",
"56+3=59"
] | Current State: 59:[83, 27, 58, 55], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [58, 55, 56]
Generated Node #2: [58, 55, 56] from Operation: 83-27=56
Current State: 59:[58, 55, 56], Operations: ['83-27=56']
Exploring Operation: 58-55=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 58-55=3
Current State: 59:[56, 3], Operations: ['83-27=56', '58-55=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[83, 27, 58, 55], Operations: []
Exploring Operation: 27+55=82, Resulting Numbers: [83, 58, 82]
Generated Node #0,0: 59:[83, 58, 82] Operation: 27+55=82
Exploring Operation: 83-27=56, Resulting Numbers: [58, 55, 56]
Generated Node #0,1: 59:[58, 55, 56] Operation: 83-27=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[58, 55, 56], Operations: ['83-27=56']
Exploring Operation: 58+55=113, Resulting Numbers: [56, 113]
Generated Node #0,1,0: 59:[56, 113] Operation: 58+55=113
Exploring Operation: 55+56=111, Resulting Numbers: [58, 111]
Generated Node #0,1,1: 59:[58, 111] Operation: 55+56=111
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[58, 111], Operations: ['83-27=56', '55+56=111']
Exploring Operation: 111-58=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 58+111=169, Resulting Numbers: [169]
169,59 unequal: No Solution
No 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: 59:[56, 113], Operations: ['83-27=56', '58+55=113']
Exploring Operation: 113-56=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 56+113=169, Resulting Numbers: [169]
169,59 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: 59:[83, 58, 82], Operations: ['27+55=82']
Exploring Operation: 83-58=25, Resulting Numbers: [82, 25]
Generated Node #0,0,0: 59:[82, 25] Operation: 83-58=25
Exploring Operation: 83-82=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 59:[58, 1] Operation: 83-82=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[82, 25], Operations: ['27+55=82', '83-58=25']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,59 unequal: No Solution
No 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: 59:[58, 1], Operations: ['27+55=82', '83-82=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[83, 27, 58, 55], Operations: []
Exploring Operation: 27+55=82, Resulting Numbers: [83, 58, 82]
Generated Node #0,0: 59:[83, 58, 82] Operation: 27+55=82
Moving to Node #0,0
Current State: 59:[83, 58, 82], Operations: ['27+55=82']
Exploring Operation: 83-82=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 59:[58, 1] Operation: 83-82=1
Moving to Node #0,0,1
Current State: 59:[58, 1], Operations: ['27+55=82', '83-82=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
41,
82,
12,
79
] | 55 | [
"82/41=2",
"12*2=24",
"79-24=55"
] | Current State: 55:[41, 82, 12, 79], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [12, 79, 2]
Generated Node #2: [12, 79, 2] from Operation: 82/41=2
Current State: 55:[12, 79, 2], Operations: ['82/41=2']
Exploring Operation: 12*2=24, Resulting Numbers: [79, 24]
Generated Node #3: [79, 24] from Operation: 12*2=24
Current State: 55:[79, 24], Operations: ['82/41=2', '12*2=24']
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[41, 82, 12, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [41, 12, 3]
Generated Node #0,0: 55:[41, 12, 3] Operation: 82-79=3
Exploring Operation: 82/41=2, Resulting Numbers: [12, 79, 2]
Generated Node #0,1: 55:[12, 79, 2] Operation: 82/41=2
Exploring Operation: 79-41=38, Resulting Numbers: [82, 12, 38]
Generated Node #0,2: 55:[82, 12, 38] Operation: 79-41=38
Exploring Operation: 82-41=41, Resulting Numbers: [12, 79, 41]
Generated Node #0,3: 55:[12, 79, 41] Operation: 82-41=41
Moving to Node #0,0
Current State: 55:[41, 12, 3], Operations: ['82-79=3']
Exploring Operation: 12-3=9, Resulting Numbers: [41, 9]
Generated Node #0,0,0: 55:[41, 9] Operation: 12-3=9
Exploring Operation: 41+3=44, Resulting Numbers: [12, 44]
Generated Node #0,0,1: 55:[12, 44] Operation: 41+3=44
Exploring Operation: 41+12=53, Resulting Numbers: [3, 53]
Generated Node #0,0,2: 55:[3, 53] Operation: 41+12=53
Exploring Operation: 12/3=4, Resulting Numbers: [41, 4]
Generated Node #0,0,3: 55:[41, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[3, 53], Operations: ['82-79=3', '41+12=53']
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[12, 44], Operations: ['82-79=3', '41+3=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,55 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[41, 4], Operations: ['82-79=3', '12/3=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[41, 9], Operations: ['82-79=3', '12-3=9']
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,55 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,55 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: 55:[12, 79, 2], Operations: ['82/41=2']
Exploring Operation: 79-12=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 55:[2, 67] Operation: 79-12=67
Exploring Operation: 79-2=77, Resulting Numbers: [12, 77]
Generated Node #0,1,1: 55:[12, 77] Operation: 79-2=77
Exploring Operation: 12/2=6, Resulting Numbers: [79, 6]
Generated Node #0,1,2: 55:[79, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [79, 10]
Generated Node #0,1,3: 55:[79, 10] Operation: 12-2=10
Moving to Node #0,3
Current State: 55:[12, 79, 41], Operations: ['82-41=41']
Exploring Operation: 79-12=67, Resulting Numbers: [41, 67]
Generated Node #0,3,0: 55:[41, 67] Operation: 79-12=67
Exploring Operation: 41-12=29, Resulting Numbers: [79, 29]
Generated Node #0,3,1: 55:[79, 29] Operation: 41-12=29
Exploring Operation: 79-41=38, Resulting Numbers: [12, 38]
Generated Node #0,3,2: 55:[12, 38] Operation: 79-41=38
Exploring Operation: 12+41=53, Resulting Numbers: [79, 53]
Generated Node #0,3,3: 55:[79, 53] Operation: 12+41=53
Moving to Node #0,2
Current State: 55:[82, 12, 38], Operations: ['79-41=38']
Exploring Operation: 12+38=50, Resulting Numbers: [82, 50]
Generated Node #0,2,0: 55:[82, 50] Operation: 12+38=50
Exploring Operation: 82-12=70, Resulting Numbers: [38, 70]
Generated Node #0,2,1: 55:[38, 70] Operation: 82-12=70
Exploring Operation: 38-12=26, Resulting Numbers: [82, 26]
Generated Node #0,2,2: 55:[82, 26] Operation: 38-12=26
Exploring Operation: 82-38=44, Resulting Numbers: [12, 44]
Generated Node #0,2,3: 55:[12, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[12, 44], Operations: ['79-41=38', '82-38=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[82, 50], Operations: ['79-41=38', '12+38=50']
Exploring Operation: 82*50=4100, Resulting Numbers: [4100]
4100,55 unequal: No Solution
Exploring Operation: 82+50=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[38, 70], Operations: ['79-41=38', '82-12=70']
Exploring Operation: 38+70=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 38*70=2660, Resulting Numbers: [2660]
2660,55 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[82, 26], Operations: ['79-41=38', '38-12=26']
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 82*26=2132, Resulting Numbers: [2132]
2132,55 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,55 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: 55:[2, 67], Operations: ['82/41=2', '79-12=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[12, 38], Operations: ['82-41=41', '79-41=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,55 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[12, 77], Operations: ['82/41=2', '79-2=77']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,55 unequal: No Solution
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[79, 6], Operations: ['82/41=2', '12/2=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,55 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,55 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[79, 10], Operations: ['82/41=2', '12-2=10']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,55 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[41, 67], Operations: ['82-41=41', '79-12=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,55 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[79, 53], Operations: ['82-41=41', '12+41=53']
Exploring Operation: 79+53=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 79*53=4187, Resulting Numbers: [4187]
4187,55 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[79, 29], Operations: ['82-41=41', '41-12=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,55 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,55 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
50,
35,
8,
16
] | 77 | [
"50+35=85",
"16-8=8",
"85-8=77"
] | Current State: 77:[50, 35, 8, 16], Operations: []
Exploring Operation: 50+35=85, Resulting Numbers: [8, 16, 85]
Generated Node #2: [8, 16, 85] from Operation: 50+35=85
Current State: 77:[8, 16, 85], Operations: ['50+35=85']
Exploring Operation: 16-8=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 16-8=8
Current State: 77:[85, 8], Operations: ['50+35=85', '16-8=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[50, 35, 8, 16], Operations: []
Exploring Operation: 50+35=85, Resulting Numbers: [8, 16, 85]
Generated Node #0,0: 77:[8, 16, 85] Operation: 50+35=85
Exploring Operation: 50-35=15, Resulting Numbers: [8, 16, 15]
Generated Node #0,1: 77:[8, 16, 15] Operation: 50-35=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[8, 16, 15], Operations: ['50-35=15']
Exploring Operation: 16-8=8, Resulting Numbers: [15, 8]
Generated Node #0,1,0: 77:[15, 8] Operation: 16-8=8
Exploring Operation: 15-8=7, Resulting Numbers: [16, 7]
Generated Node #0,1,1: 77:[16, 7] Operation: 15-8=7
Moving to Node #0,1,0
Current State: 77:[15, 8], Operations: ['50-35=15', '16-8=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[16, 7], Operations: ['50-35=15', '15-8=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,77 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[8, 16, 85], Operations: ['50+35=85']
Exploring Operation: 85-8=77, Resulting Numbers: [16, 77]
Generated Node #0,0,0: 77:[16, 77] Operation: 85-8=77
Exploring Operation: 16-8=8, Resulting Numbers: [85, 8]
Generated Node #0,0,1: 77:[85, 8] Operation: 16-8=8
Moving to Node #0,0,0
Current State: 77:[16, 77], Operations: ['50+35=85', '85-8=77']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[85, 8], Operations: ['50+35=85', '16-8=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[50, 35, 8, 16], Operations: []
Exploring Operation: 50+35=85, Resulting Numbers: [8, 16, 85]
Generated Node #0,0: 77:[8, 16, 85] Operation: 50+35=85
Moving to Node #0,0
Current State: 77:[8, 16, 85], Operations: ['50+35=85']
Exploring Operation: 16-8=8, Resulting Numbers: [85, 8]
Generated Node #0,0,1: 77:[85, 8] Operation: 16-8=8
Moving to Node #0,0,1
Current State: 77:[85, 8], Operations: ['50+35=85', '16-8=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
81,
53,
76,
19
] | 24 | [
"81-53=28",
"76/19=4",
"28-4=24"
] | Current State: 24:[81, 53, 76, 19], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [76, 19, 28]
Generated Node #2: [76, 19, 28] from Operation: 81-53=28
Current State: 24:[76, 19, 28], Operations: ['81-53=28']
Exploring Operation: 76/19=4, Resulting Numbers: [28, 4]
Generated Node #3: [28, 4] from Operation: 76/19=4
Current State: 24:[28, 4], Operations: ['81-53=28', '76/19=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[81, 53, 76, 19], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [76, 19, 28]
Generated Node #0,0: 24:[76, 19, 28] Operation: 81-53=28
Exploring Operation: 76/19=4, Resulting Numbers: [81, 53, 4]
Generated Node #0,1: 24:[81, 53, 4] Operation: 76/19=4
Exploring Operation: 81-76=5, Resulting Numbers: [53, 19, 5]
Generated Node #0,2: 24:[53, 19, 5] Operation: 81-76=5
Exploring Operation: 76-53=23, Resulting Numbers: [81, 19, 23]
Generated Node #0,3: 24:[81, 19, 23] Operation: 76-53=23
Moving to Node #0,2
Current State: 24:[53, 19, 5], Operations: ['81-76=5']
Exploring Operation: 53-19=34, Resulting Numbers: [5, 34]
Generated Node #0,2,0: 24:[5, 34] Operation: 53-19=34
Exploring Operation: 19+5=24, Resulting Numbers: [53, 24]
Generated Node #0,2,1: 24:[53, 24] Operation: 19+5=24
Exploring Operation: 19-5=14, Resulting Numbers: [53, 14]
Generated Node #0,2,2: 24:[53, 14] Operation: 19-5=14
Exploring Operation: 53-5=48, Resulting Numbers: [19, 48]
Generated Node #0,2,3: 24:[19, 48] Operation: 53-5=48
Moving to Node #0,0
Current State: 24:[76, 19, 28], Operations: ['81-53=28']
Exploring Operation: 76/19=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 24:[28, 4] Operation: 76/19=4
Exploring Operation: 28-19=9, Resulting Numbers: [76, 9]
Generated Node #0,0,1: 24:[76, 9] Operation: 28-19=9
Exploring Operation: 76-19=57, Resulting Numbers: [28, 57]
Generated Node #0,0,2: 24:[28, 57] Operation: 76-19=57
Exploring Operation: 76-28=48, Resulting Numbers: [19, 48]
Generated Node #0,0,3: 24:[19, 48] Operation: 76-28=48
Moving to Node #0,3
Current State: 24:[81, 19, 23], Operations: ['76-53=23']
Exploring Operation: 19+23=42, Resulting Numbers: [81, 42]
Generated Node #0,3,0: 24:[81, 42] Operation: 19+23=42
Exploring Operation: 81-19=62, Resulting Numbers: [23, 62]
Generated Node #0,3,1: 24:[23, 62] Operation: 81-19=62
Exploring Operation: 81-23=58, Resulting Numbers: [19, 58]
Generated Node #0,3,2: 24:[19, 58] Operation: 81-23=58
Exploring Operation: 23-19=4, Resulting Numbers: [81, 4]
Generated Node #0,3,3: 24:[81, 4] Operation: 23-19=4
Moving to Node #0,1
Current State: 24:[81, 53, 4], Operations: ['76/19=4']
Exploring Operation: 81-53=28, Resulting Numbers: [4, 28]
Generated Node #0,1,0: 24:[4, 28] Operation: 81-53=28
Exploring Operation: 81-4=77, Resulting Numbers: [53, 77]
Generated Node #0,1,1: 24:[53, 77] Operation: 81-4=77
Exploring Operation: 53-4=49, Resulting Numbers: [81, 49]
Generated Node #0,1,2: 24:[81, 49] Operation: 53-4=49
Exploring Operation: 81+4=85, Resulting Numbers: [53, 85]
Generated Node #0,1,3: 24:[53, 85] Operation: 81+4=85
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[4, 28], Operations: ['76/19=4', '81-53=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[81, 53, 76, 19], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [81, 53, 4]
Generated Node #0,1: 24:[81, 53, 4] Operation: 76/19=4
Moving to Node #0,1
Current State: 24:[81, 53, 4], Operations: ['76/19=4']
Exploring Operation: 81-53=28, Resulting Numbers: [4, 28]
Generated Node #0,1,0: 24:[4, 28] Operation: 81-53=28
Moving to Node #0,1,0
Current State: 24:[4, 28], Operations: ['76/19=4', '81-53=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
52,
67,
28,
23
] | 67 | [
"52-28=24",
"24-23=1",
"67*1=67"
] | Current State: 67:[52, 67, 28, 23], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [67, 23, 24]
Generated Node #2: [67, 23, 24] from Operation: 52-28=24
Current State: 67:[67, 23, 24], Operations: ['52-28=24']
Exploring Operation: 24-23=1, Resulting Numbers: [67, 1]
Generated Node #3: [67, 1] from Operation: 24-23=1
Current State: 67:[67, 1], Operations: ['52-28=24', '24-23=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[52, 67, 28, 23], Operations: []
Exploring Operation: 52+23=75, Resulting Numbers: [67, 28, 75]
Generated Node #0,0: 67:[67, 28, 75] Operation: 52+23=75
Exploring Operation: 28+23=51, Resulting Numbers: [52, 67, 51]
Generated Node #0,1: 67:[52, 67, 51] Operation: 28+23=51
Exploring Operation: 52+28=80, Resulting Numbers: [67, 23, 80]
Generated Node #0,2: 67:[67, 23, 80] Operation: 52+28=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[52, 67, 51], Operations: ['28+23=51']
Exploring Operation: 67+51=118, Resulting Numbers: [52, 118]
Generated Node #0,1,0: 67:[52, 118] Operation: 67+51=118
Exploring Operation: 52+51=103, Resulting Numbers: [67, 103]
Generated Node #0,1,1: 67:[67, 103] Operation: 52+51=103
Exploring Operation: 52-51=1, Resulting Numbers: [67, 1]
Generated Node #0,1,2: 67:[67, 1] Operation: 52-51=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[67, 103], Operations: ['28+23=51', '52+51=103']
Exploring Operation: 67*103=6901, Resulting Numbers: [6901]
6901,67 unequal: No Solution
Exploring Operation: 67+103=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Exploring Operation: 103-67=36, Resulting Numbers: [36]
36,67 unequal: No Solution
No 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: 67:[52, 118], Operations: ['28+23=51', '67+51=118']
Exploring Operation: 118-52=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 52*118=6136, Resulting Numbers: [6136]
6136,67 unequal: No Solution
Exploring Operation: 52+118=170, Resulting Numbers: [170]
170,67 unequal: No Solution
No 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: 67:[67, 1], Operations: ['28+23=51', '52-51=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[52, 67, 28, 23], Operations: []
Exploring Operation: 28+23=51, Resulting Numbers: [52, 67, 51]
Generated Node #0,1: 67:[52, 67, 51] Operation: 28+23=51
Moving to Node #0,1
Current State: 67:[52, 67, 51], Operations: ['28+23=51']
Exploring Operation: 52-51=1, Resulting Numbers: [67, 1]
Generated Node #0,1,2: 67:[67, 1] Operation: 52-51=1
Moving to Node #0,1,2
Current State: 67:[67, 1], Operations: ['28+23=51', '52-51=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
23,
33,
12,
80
] | 37 | [
"12+80=92",
"92/23=4",
"33+4=37"
] | Current State: 37:[23, 33, 12, 80], Operations: []
Exploring Operation: 12+80=92, Resulting Numbers: [23, 33, 92]
Generated Node #2: [23, 33, 92] from Operation: 12+80=92
Current State: 37:[23, 33, 92], Operations: ['12+80=92']
Exploring Operation: 92/23=4, Resulting Numbers: [33, 4]
Generated Node #3: [33, 4] from Operation: 92/23=4
Current State: 37:[33, 4], Operations: ['12+80=92', '92/23=4']
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[23, 33, 12, 80], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [33, 12, 57]
Generated Node #0,0: 37:[33, 12, 57] Operation: 80-23=57
Exploring Operation: 23+12=35, Resulting Numbers: [33, 80, 35]
Generated Node #0,1: 37:[33, 80, 35] Operation: 23+12=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[33, 12, 57], Operations: ['80-23=57']
Exploring Operation: 57-12=45, Resulting Numbers: [33, 45]
Generated Node #0,0,0: 37:[33, 45] Operation: 57-12=45
Exploring Operation: 33+12=45, Resulting Numbers: [57, 45]
Generated Node #0,0,1: 37:[57, 45] Operation: 33+12=45
Moving to Node #0,0,0
Current State: 37:[33, 45], Operations: ['80-23=57', '57-12=45']
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,37 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[57, 45], Operations: ['80-23=57', '33+12=45']
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[33, 80, 35], Operations: ['23+12=35']
Exploring Operation: 80-33=47, Resulting Numbers: [35, 47]
Generated Node #0,1,0: 37:[35, 47] Operation: 80-33=47
Exploring Operation: 80-35=45, Resulting Numbers: [33, 45]
Generated Node #0,1,1: 37:[33, 45] Operation: 80-35=45
Moving to Node #0,1,0
Current State: 37:[35, 47], Operations: ['23+12=35', '80-33=47']
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 35+47=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[33, 45], Operations: ['23+12=35', '80-35=45']
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
8,
32,
8
] | 88 | [
"72-8=64",
"32-8=24",
"64+24=88"
] | Current State: 88:[72, 8, 32, 8], Operations: []
Exploring Operation: 72-8=64, Resulting Numbers: [32, 64]
Generated Node #2: [32, 64] from Operation: 72-8=64
Current State: 88:[32, 64], Operations: ['72-8=64']
Exploring Operation: 32-8=24, Resulting Numbers: [64, 24]
Generated Node #3: [64, 24] from Operation: 32-8=24
Current State: 88:[64, 24], Operations: ['72-8=64', '32-8=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[72, 8, 32, 8], Operations: []
Exploring Operation: 72-32=40, Resulting Numbers: [8, 8, 40]
Generated Node #0,0: 88:[8, 8, 40] Operation: 72-32=40
Exploring Operation: 72/8=9, Resulting Numbers: [8, 32, 9]
Generated Node #0,1: 88:[8, 32, 9] Operation: 72/8=9
Exploring Operation: 72/8=9, Resulting Numbers: [32, 8, 9]
Generated Node #0,2: 88:[32, 8, 9] Operation: 72/8=9
Moving to Node #0,0
Current State: 88:[8, 8, 40], Operations: ['72-32=40']
Exploring Operation: 8+40=48, Resulting Numbers: [8, 48]
Generated Node #0,0,0: 88:[8, 48] Operation: 8+40=48
Exploring Operation: 40/8=5, Resulting Numbers: [8, 5]
Generated Node #0,0,1: 88:[8, 5] Operation: 40/8=5
Exploring Operation: 40/8=5, Resulting Numbers: [8, 5]
Generated Node #0,0,2: 88:[8, 5] Operation: 40/8=5
Moving to Node #0,1
Current State: 88:[8, 32, 9], Operations: ['72/8=9']
Exploring Operation: 32-9=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 88:[8, 23] Operation: 32-9=23
Exploring Operation: 32-8=24, Resulting Numbers: [9, 24]
Generated Node #0,1,1: 88:[9, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [9, 4]
Generated Node #0,1,2: 88:[9, 4] Operation: 32/8=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[8, 23], Operations: ['72/8=9', '32-9=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,88 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[9, 4], Operations: ['72/8=9', '32/8=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[9, 24], Operations: ['72/8=9', '32-8=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,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:[32, 8, 9], Operations: ['72/8=9']
Exploring Operation: 32/8=4, Resulting Numbers: [9, 4]
Generated Node #0,2,0: 88:[9, 4] Operation: 32/8=4
Exploring Operation: 32-9=23, Resulting Numbers: [8, 23]
Generated Node #0,2,1: 88:[8, 23] Operation: 32-9=23
Exploring Operation: 32-8=24, Resulting Numbers: [9, 24]
Generated Node #0,2,2: 88:[9, 24] Operation: 32-8=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[9, 4], Operations: ['72/8=9', '32/8=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[8, 23], Operations: ['72/8=9', '32-9=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,88 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[9, 24], Operations: ['72/8=9', '32-8=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 88:[8, 5], Operations: ['72-32=40', '40/8=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[8, 5], Operations: ['72-32=40', '40/8=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[8, 48], Operations: ['72-32=40', '8+40=48']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,88 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
30,
45,
88
] | 33 | [
"70+30=100",
"45+88=133",
"133-100=33"
] | Current State: 33:[70, 30, 45, 88], Operations: []
Exploring Operation: 70+30=100, Resulting Numbers: [45, 88, 100]
Generated Node #2: [45, 88, 100] from Operation: 70+30=100
Current State: 33:[45, 88, 100], Operations: ['70+30=100']
Exploring Operation: 45+88=133, Resulting Numbers: [100, 133]
Generated Node #3: [100, 133] from Operation: 45+88=133
Current State: 33:[100, 133], Operations: ['70+30=100', '45+88=133']
Exploring Operation: 133-100=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[70, 30, 45, 88], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [70, 30, 43]
Generated Node #0,0: 33:[70, 30, 43] Operation: 88-45=43
Exploring Operation: 88-70=18, Resulting Numbers: [30, 45, 18]
Generated Node #0,1: 33:[30, 45, 18] Operation: 88-70=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[30, 45, 18], Operations: ['88-70=18']
Exploring Operation: 45-30=15, Resulting Numbers: [18, 15]
Generated Node #0,1,0: 33:[18, 15] Operation: 45-30=15
Exploring Operation: 45-18=27, Resulting Numbers: [30, 27]
Generated Node #0,1,1: 33:[30, 27] Operation: 45-18=27
Moving to Node #0,1,1
Current State: 33:[30, 27], Operations: ['88-70=18', '45-18=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[18, 15], Operations: ['88-70=18', '45-30=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[70, 30, 45, 88], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [30, 45, 18]
Generated Node #0,1: 33:[30, 45, 18] Operation: 88-70=18
Moving to Node #0,1
Current State: 33:[30, 45, 18], Operations: ['88-70=18']
Exploring Operation: 45-30=15, Resulting Numbers: [18, 15]
Generated Node #0,1,0: 33:[18, 15] Operation: 45-30=15
Moving to Node #0,1,0
Current State: 33:[18, 15], Operations: ['88-70=18', '45-30=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
25,
62,
67,
7
] | 10 | [
"67-62=5",
"7*5=35",
"35-25=10"
] | Current State: 10:[25, 62, 67, 7], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [25, 7, 5]
Generated Node #2: [25, 7, 5] from Operation: 67-62=5
Current State: 10:[25, 7, 5], Operations: ['67-62=5']
Exploring Operation: 7*5=35, Resulting Numbers: [25, 35]
Generated Node #3: [25, 35] from Operation: 7*5=35
Current State: 10:[25, 35], Operations: ['67-62=5', '7*5=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[25, 62, 67, 7], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [25, 7, 5]
Generated Node #0,0: 10:[25, 7, 5] Operation: 67-62=5
Exploring Operation: 67-25=42, Resulting Numbers: [62, 7, 42]
Generated Node #0,1: 10:[62, 7, 42] Operation: 67-25=42
Exploring Operation: 25-7=18, Resulting Numbers: [62, 67, 18]
Generated Node #0,2: 10:[62, 67, 18] Operation: 25-7=18
Exploring Operation: 62-25=37, Resulting Numbers: [67, 7, 37]
Generated Node #0,3: 10:[67, 7, 37] Operation: 62-25=37
Moving to Node #0,0
Current State: 10:[25, 7, 5], Operations: ['67-62=5']
Exploring Operation: 25-7=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 10:[5, 18] Operation: 25-7=18
Exploring Operation: 25/5=5, Resulting Numbers: [7, 5]
Generated Node #0,0,1: 10:[7, 5] Operation: 25/5=5
Exploring Operation: 7-5=2, Resulting Numbers: [25, 2]
Generated Node #0,0,2: 10:[25, 2] Operation: 7-5=2
Exploring Operation: 25-5=20, Resulting Numbers: [7, 20]
Generated Node #0,0,3: 10:[7, 20] Operation: 25-5=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[7, 5], Operations: ['67-62=5', '25/5=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,10 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,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,0,0
Current State: 10:[5, 18], Operations: ['67-62=5', '25-7=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,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,0,3
Current State: 10:[7, 20], Operations: ['67-62=5', '25-5=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,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,0,2
Current State: 10:[25, 2], Operations: ['67-62=5', '7-5=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,10 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: 10:[67, 7, 37], Operations: ['62-25=37']
Exploring Operation: 67+7=74, Resulting Numbers: [37, 74]
Generated Node #0,3,0: 10:[37, 74] Operation: 67+7=74
Exploring Operation: 67-7=60, Resulting Numbers: [37, 60]
Generated Node #0,3,1: 10:[37, 60] Operation: 67-7=60
Exploring Operation: 37-7=30, Resulting Numbers: [67, 30]
Generated Node #0,3,2: 10:[67, 30] Operation: 37-7=30
Exploring Operation: 67-37=30, Resulting Numbers: [7, 30]
Generated Node #0,3,3: 10:[7, 30] Operation: 67-37=30
Moving to Node #0,1
Current State: 10:[62, 7, 42], Operations: ['67-25=42']
Exploring Operation: 62-7=55, Resulting Numbers: [42, 55]
Generated Node #0,1,0: 10:[42, 55] Operation: 62-7=55
Exploring Operation: 42/7=6, Resulting Numbers: [62, 6]
Generated Node #0,1,1: 10:[62, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [62, 35]
Generated Node #0,1,2: 10:[62, 35] Operation: 42-7=35
Exploring Operation: 62-42=20, Resulting Numbers: [7, 20]
Generated Node #0,1,3: 10:[7, 20] Operation: 62-42=20
Moving to Node #0,2
Current State: 10:[62, 67, 18], Operations: ['25-7=18']
Exploring Operation: 62-18=44, Resulting Numbers: [67, 44]
Generated Node #0,2,0: 10:[67, 44] Operation: 62-18=44
Exploring Operation: 67-62=5, Resulting Numbers: [18, 5]
Generated Node #0,2,1: 10:[18, 5] Operation: 67-62=5
Exploring Operation: 62+67=129, Resulting Numbers: [18, 129]
Generated Node #0,2,2: 10:[18, 129] Operation: 62+67=129
Exploring Operation: 67-18=49, Resulting Numbers: [62, 49]
Generated Node #0,2,3: 10:[62, 49] Operation: 67-18=49
Moving to Node #0,2,1
Current State: 10:[18, 5], Operations: ['25-7=18', '67-62=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[7, 20], Operations: ['67-25=42', '62-42=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[7, 30], Operations: ['62-25=37', '67-37=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[62, 6], Operations: ['67-25=42', '42/7=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,10 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,10 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[42, 55], Operations: ['67-25=42', '62-7=55']
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 42*55=2310, Resulting Numbers: [2310]
2310,10 unequal: No Solution
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[67, 30], Operations: ['62-25=37', '37-7=30']
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,10 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[37, 60], Operations: ['62-25=37', '67-7=60']
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,10 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[62, 35], Operations: ['67-25=42', '42-7=35']
Exploring Operation: 62+35=97, Resulting Numbers: [97]
97,10 unequal: No Solution
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,10 unequal: No Solution
Exploring Operation: 62*35=2170, Resulting Numbers: [2170]
2170,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[62, 49], Operations: ['25-7=18', '67-18=49']
Exploring Operation: 62*49=3038, Resulting Numbers: [3038]
3038,10 unequal: No Solution
Exploring Operation: 62+49=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[67, 44], Operations: ['25-7=18', '62-18=44']
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 67*44=2948, Resulting Numbers: [2948]
2948,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[37, 74], Operations: ['62-25=37', '67+7=74']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,10 unequal: No Solution
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[18, 129], Operations: ['25-7=18', '62+67=129']
Exploring Operation: 129-18=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 18*129=2322, Resulting Numbers: [2322]
2322,10 unequal: No Solution
Exploring Operation: 18+129=147, Resulting Numbers: [147]
147,10 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
36,
36,
34,
32
] | 50 | [
"36-34=2",
"36/2=18",
"32+18=50"
] | Current State: 50:[36, 36, 34, 32], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [32, 2]
Generated Node #2: [32, 2] from Operation: 36-34=2
Current State: 50:[32, 2], Operations: ['36-34=2']
Exploring Operation: 36/2=18, Resulting Numbers: [32, 18]
Generated Node #3: [32, 18] from Operation: 36/2=18
Current State: 50:[32, 18], Operations: ['36-34=2', '36/2=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[36, 36, 34, 32], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [34, 32, 1]
Generated Node #0,0: 50:[34, 32, 1] Operation: 36/36=1
Exploring Operation: 36-34=2, Resulting Numbers: [36, 32, 2]
Generated Node #0,1: 50:[36, 32, 2] Operation: 36-34=2
Exploring Operation: 36-34=2, Resulting Numbers: [36, 32, 2]
Generated Node #0,2: 50:[36, 32, 2] Operation: 36-34=2
Exploring Operation: 36-36=0, Resulting Numbers: [34, 32, 0]
Generated Node #0,3: 50:[34, 32, 0] Operation: 36-36=0
Moving to Node #0,0
Current State: 50:[34, 32, 1], Operations: ['36/36=1']
Exploring Operation: 32-1=31, Resulting Numbers: [34, 31]
Generated Node #0,0,0: 50:[34, 31] Operation: 32-1=31
Exploring Operation: 34-32=2, Resulting Numbers: [1, 2]
Generated Node #0,0,1: 50:[1, 2] Operation: 34-32=2
Exploring Operation: 34*1=34, Resulting Numbers: [32, 34]
Generated Node #0,0,2: 50:[32, 34] Operation: 34*1=34
Exploring Operation: 34-1=33, Resulting Numbers: [32, 33]
Generated Node #0,0,3: 50:[32, 33] Operation: 34-1=33
Moving to Node #0,2
Current State: 50:[36, 32, 2], Operations: ['36-34=2']
Exploring Operation: 36-32=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 50:[2, 4] Operation: 36-32=4
Exploring Operation: 32-2=30, Resulting Numbers: [36, 30]
Generated Node #0,2,1: 50:[36, 30] Operation: 32-2=30
Exploring Operation: 36/2=18, Resulting Numbers: [32, 18]
Generated Node #0,2,2: 50:[32, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [32, 34]
Generated Node #0,2,3: 50:[32, 34] Operation: 36-2=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[2, 4], Operations: ['36-34=2', '36-32=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[32, 18], Operations: ['36-34=2', '36/2=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,50 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[36, 36, 34, 32], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [36, 32, 2]
Generated Node #0,2: 50:[36, 32, 2] Operation: 36-34=2
Moving to Node #0,2
Current State: 50:[36, 32, 2], Operations: ['36-34=2']
Exploring Operation: 36/2=18, Resulting Numbers: [32, 18]
Generated Node #0,2,2: 50:[32, 18] Operation: 36/2=18
Moving to Node #0,2,2
Current State: 50:[32, 18], Operations: ['36-34=2', '36/2=18']
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
73,
85,
93,
90
] | 98 | [
"90-73=17",
"85/17=5",
"93+5=98"
] | Current State: 98:[73, 85, 93, 90], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [85, 93, 17]
Generated Node #2: [85, 93, 17] from Operation: 90-73=17
Current State: 98:[85, 93, 17], Operations: ['90-73=17']
Exploring Operation: 85/17=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 85/17=5
Current State: 98:[93, 5], Operations: ['90-73=17', '85/17=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[73, 85, 93, 90], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [85, 93, 17]
Generated Node #0,0: 98:[85, 93, 17] Operation: 90-73=17
Exploring Operation: 85-73=12, Resulting Numbers: [93, 90, 12]
Generated Node #0,1: 98:[93, 90, 12] Operation: 85-73=12
Moving to Node #0,1
Current State: 98:[93, 90, 12], Operations: ['85-73=12']
Exploring Operation: 90+12=102, Resulting Numbers: [93, 102]
Generated Node #0,1,0: 98:[93, 102] Operation: 90+12=102
Exploring Operation: 93-90=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 98:[12, 3] Operation: 93-90=3
Moving to Node #0,0
Current State: 98:[85, 93, 17], Operations: ['90-73=17']
Exploring Operation: 85/17=5, Resulting Numbers: [93, 5]
Generated Node #0,0,0: 98:[93, 5] Operation: 85/17=5
Exploring Operation: 93-85=8, Resulting Numbers: [17, 8]
Generated Node #0,0,1: 98:[17, 8] Operation: 93-85=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[17, 8], Operations: ['90-73=17', '93-85=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,98 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[93, 5], Operations: ['90-73=17', '85/17=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[73, 85, 93, 90], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [85, 93, 17]
Generated Node #0,0: 98:[85, 93, 17] Operation: 90-73=17
Moving to Node #0,0
Current State: 98:[85, 93, 17], Operations: ['90-73=17']
Exploring Operation: 85/17=5, Resulting Numbers: [93, 5]
Generated Node #0,0,0: 98:[93, 5] Operation: 85/17=5
Moving to Node #0,0,0
Current State: 98:[93, 5], Operations: ['90-73=17', '85/17=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
83,
22,
48,
16
] | 58 | [
"83-22=61",
"48/16=3",
"61-3=58"
] | Current State: 58:[83, 22, 48, 16], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [48, 16, 61]
Generated Node #2: [48, 16, 61] from Operation: 83-22=61
Current State: 58:[48, 16, 61], Operations: ['83-22=61']
Exploring Operation: 48/16=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 48/16=3
Current State: 58:[61, 3], Operations: ['83-22=61', '48/16=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[83, 22, 48, 16], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [48, 16, 61]
Generated Node #0,0: 58:[48, 16, 61] Operation: 83-22=61
Exploring Operation: 83-48=35, Resulting Numbers: [22, 16, 35]
Generated Node #0,1: 58:[22, 16, 35] Operation: 83-48=35
Exploring Operation: 83-16=67, Resulting Numbers: [22, 48, 67]
Generated Node #0,2: 58:[22, 48, 67] Operation: 83-16=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[48, 16, 61], Operations: ['83-22=61']
Exploring Operation: 48-16=32, Resulting Numbers: [61, 32]
Generated Node #0,0,0: 58:[61, 32] Operation: 48-16=32
Exploring Operation: 48+16=64, Resulting Numbers: [61, 64]
Generated Node #0,0,1: 58:[61, 64] Operation: 48+16=64
Exploring Operation: 48/16=3, Resulting Numbers: [61, 3]
Generated Node #0,0,2: 58:[61, 3] Operation: 48/16=3
Moving to Node #0,0,2
Current State: 58:[61, 3], Operations: ['83-22=61', '48/16=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[83, 22, 48, 16], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [48, 16, 61]
Generated Node #0,0: 58:[48, 16, 61] Operation: 83-22=61
Moving to Node #0,0
Current State: 58:[48, 16, 61], Operations: ['83-22=61']
Exploring Operation: 48/16=3, Resulting Numbers: [61, 3]
Generated Node #0,0,2: 58:[61, 3] Operation: 48/16=3
Moving to Node #0,0,2
Current State: 58:[61, 3], Operations: ['83-22=61', '48/16=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
91,
13,
4,
24
] | 68 | [
"91/13=7",
"24-7=17",
"4*17=68"
] | Current State: 68:[91, 13, 4, 24], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [4, 24, 7]
Generated Node #2: [4, 24, 7] from Operation: 91/13=7
Current State: 68:[4, 24, 7], Operations: ['91/13=7']
Exploring Operation: 24-7=17, Resulting Numbers: [4, 17]
Generated Node #3: [4, 17] from Operation: 24-7=17
Current State: 68:[4, 17], Operations: ['91/13=7', '24-7=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[91, 13, 4, 24], Operations: []
Exploring Operation: 13+24=37, Resulting Numbers: [91, 4, 37]
Generated Node #0,0: 68:[91, 4, 37] Operation: 13+24=37
Exploring Operation: 24-13=11, Resulting Numbers: [91, 4, 11]
Generated Node #0,1: 68:[91, 4, 11] Operation: 24-13=11
Exploring Operation: 91-13=78, Resulting Numbers: [4, 24, 78]
Generated Node #0,2: 68:[4, 24, 78] Operation: 91-13=78
Exploring Operation: 91-24=67, Resulting Numbers: [13, 4, 67]
Generated Node #0,3: 68:[13, 4, 67] Operation: 91-24=67
Exploring Operation: 91/13=7, Resulting Numbers: [4, 24, 7]
Generated Node #0,4: 68:[4, 24, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[13, 4, 67], Operations: ['91-24=67']
Exploring Operation: 13+4=17, Resulting Numbers: [67, 17]
Generated Node #0,3,0: 68:[67, 17] Operation: 13+4=17
Exploring Operation: 13-4=9, Resulting Numbers: [67, 9]
Generated Node #0,3,1: 68:[67, 9] Operation: 13-4=9
Exploring Operation: 67-4=63, Resulting Numbers: [13, 63]
Generated Node #0,3,2: 68:[13, 63] Operation: 67-4=63
Exploring Operation: 4+67=71, Resulting Numbers: [13, 71]
Generated Node #0,3,3: 68:[13, 71] Operation: 4+67=71
Exploring Operation: 13+67=80, Resulting Numbers: [4, 80]
Generated Node #0,3,4: 68:[4, 80] Operation: 13+67=80
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[67, 17], Operations: ['91-24=67', '13+4=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,68 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,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:[67, 9], Operations: ['91-24=67', '13-4=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,68 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,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:[13, 71], Operations: ['91-24=67', '4+67=71']
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,68 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,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,2
Current State: 68:[13, 63], Operations: ['91-24=67', '67-4=63']
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,68 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,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:[4, 80], Operations: ['91-24=67', '13+67=80']
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,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,4
Current State: 68:[4, 24, 7], Operations: ['91/13=7']
Exploring Operation: 24+7=31, Resulting Numbers: [4, 31]
Generated Node #0,4,0: 68:[4, 31] Operation: 24+7=31
Exploring Operation: 24-7=17, Resulting Numbers: [4, 17]
Generated Node #0,4,1: 68:[4, 17] Operation: 24-7=17
Exploring Operation: 7-4=3, Resulting Numbers: [24, 3]
Generated Node #0,4,2: 68:[24, 3] Operation: 7-4=3
Exploring Operation: 24-4=20, Resulting Numbers: [7, 20]
Generated Node #0,4,3: 68:[7, 20] Operation: 24-4=20
Exploring Operation: 24/4=6, Resulting Numbers: [7, 6]
Generated Node #0,4,4: 68:[7, 6] Operation: 24/4=6
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 68:[4, 17], Operations: ['91/13=7', '24-7=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[91, 13, 4, 24], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [4, 24, 7]
Generated Node #0,4: 68:[4, 24, 7] Operation: 91/13=7
Moving to Node #0,4
Current State: 68:[4, 24, 7], Operations: ['91/13=7']
Exploring Operation: 24-7=17, Resulting Numbers: [4, 17]
Generated Node #0,4,1: 68:[4, 17] Operation: 24-7=17
Moving to Node #0,4,1
Current State: 68:[4, 17], Operations: ['91/13=7', '24-7=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
3,
88,
15,
44
] | 32 | [
"3+88=91",
"15+44=59",
"91-59=32"
] | Current State: 32:[3, 88, 15, 44], Operations: []
Exploring Operation: 3+88=91, Resulting Numbers: [15, 44, 91]
Generated Node #2: [15, 44, 91] from Operation: 3+88=91
Current State: 32:[15, 44, 91], Operations: ['3+88=91']
Exploring Operation: 15+44=59, Resulting Numbers: [91, 59]
Generated Node #3: [91, 59] from Operation: 15+44=59
Current State: 32:[91, 59], Operations: ['3+88=91', '15+44=59']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[3, 88, 15, 44], Operations: []
Exploring Operation: 88-15=73, Resulting Numbers: [3, 44, 73]
Generated Node #0,0: 32:[3, 44, 73] Operation: 88-15=73
Exploring Operation: 88/44=2, Resulting Numbers: [3, 15, 2]
Generated Node #0,1: 32:[3, 15, 2] Operation: 88/44=2
Exploring Operation: 88-44=44, Resulting Numbers: [3, 15, 44]
Generated Node #0,2: 32:[3, 15, 44] Operation: 88-44=44
Moving to Node #0,1
Current State: 32:[3, 15, 2], Operations: ['88/44=2']
Exploring Operation: 3+2=5, Resulting Numbers: [15, 5]
Generated Node #0,1,0: 32:[15, 5] Operation: 3+2=5
Exploring Operation: 3+15=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 32:[2, 18] Operation: 3+15=18
Exploring Operation: 15/3=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 32:[2, 5] Operation: 15/3=5
Moving to Node #0,2
Current State: 32:[3, 15, 44], Operations: ['88-44=44']
Exploring Operation: 15/3=5, Resulting Numbers: [44, 5]
Generated Node #0,2,0: 32:[44, 5] Operation: 15/3=5
Exploring Operation: 44-15=29, Resulting Numbers: [3, 29]
Generated Node #0,2,1: 32:[3, 29] Operation: 44-15=29
Exploring Operation: 44-3=41, Resulting Numbers: [15, 41]
Generated Node #0,2,2: 32:[15, 41] Operation: 44-3=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[3, 29], Operations: ['88-44=44', '44-15=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[3, 88, 15, 44], Operations: []
Exploring Operation: 88-44=44, Resulting Numbers: [3, 15, 44]
Generated Node #0,2: 32:[3, 15, 44] Operation: 88-44=44
Moving to Node #0,2
Current State: 32:[3, 15, 44], Operations: ['88-44=44']
Exploring Operation: 44-15=29, Resulting Numbers: [3, 29]
Generated Node #0,2,1: 32:[3, 29] Operation: 44-15=29
Moving to Node #0,2,1
Current State: 32:[3, 29], Operations: ['88-44=44', '44-15=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
58,
8,
89,
4
] | 19 | [
"58+8=66",
"89-4=85",
"85-66=19"
] | Current State: 19:[58, 8, 89, 4], Operations: []
Exploring Operation: 58+8=66, Resulting Numbers: [89, 4, 66]
Generated Node #2: [89, 4, 66] from Operation: 58+8=66
Current State: 19:[89, 4, 66], Operations: ['58+8=66']
Exploring Operation: 89-4=85, Resulting Numbers: [66, 85]
Generated Node #3: [66, 85] from Operation: 89-4=85
Current State: 19:[66, 85], Operations: ['58+8=66', '89-4=85']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[58, 8, 89, 4], Operations: []
Exploring Operation: 89-58=31, Resulting Numbers: [8, 4, 31]
Generated Node #0,0: 19:[8, 4, 31] Operation: 89-58=31
Exploring Operation: 8+4=12, Resulting Numbers: [58, 89, 12]
Generated Node #0,1: 19:[58, 89, 12] Operation: 8+4=12
Exploring Operation: 89-8=81, Resulting Numbers: [58, 4, 81]
Generated Node #0,2: 19:[58, 4, 81] Operation: 89-8=81
Exploring Operation: 58-4=54, Resulting Numbers: [8, 89, 54]
Generated Node #0,3: 19:[8, 89, 54] Operation: 58-4=54
Exploring Operation: 58-8=50, Resulting Numbers: [89, 4, 50]
Generated Node #0,4: 19:[89, 4, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[8, 4, 31], Operations: ['89-58=31']
Exploring Operation: 31-4=27, Resulting Numbers: [8, 27]
Generated Node #0,0,0: 19:[8, 27] Operation: 31-4=27
Exploring Operation: 8+4=12, Resulting Numbers: [31, 12]
Generated Node #0,0,1: 19:[31, 12] Operation: 8+4=12
Exploring Operation: 8*4=32, Resulting Numbers: [31, 32]
Generated Node #0,0,2: 19:[31, 32] Operation: 8*4=32
Exploring Operation: 8-4=4, Resulting Numbers: [31, 4]
Generated Node #0,0,3: 19:[31, 4] Operation: 8-4=4
Exploring Operation: 31-8=23, Resulting Numbers: [4, 23]
Generated Node #0,0,4: 19:[4, 23] Operation: 31-8=23
Moving to Node #0,0,0
Current State: 19:[8, 27], Operations: ['89-58=31', '31-4=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,19 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[58, 8, 89, 4], Operations: []
Exploring Operation: 89-58=31, Resulting Numbers: [8, 4, 31]
Generated Node #0,0: 19:[8, 4, 31] Operation: 89-58=31
Moving to Node #0,0
Current State: 19:[8, 4, 31], Operations: ['89-58=31']
Exploring Operation: 31-4=27, Resulting Numbers: [8, 27]
Generated Node #0,0,0: 19:[8, 27] Operation: 31-4=27
Moving to Node #0,0,0
Current State: 19:[8, 27], Operations: ['89-58=31', '31-4=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
20,
23,
2,
81
] | 49 | [
"81-23=58",
"58/2=29",
"20+29=49"
] | Current State: 49:[20, 23, 2, 81], Operations: []
Exploring Operation: 81-23=58, Resulting Numbers: [20, 2, 58]
Generated Node #2: [20, 2, 58] from Operation: 81-23=58
Current State: 49:[20, 2, 58], Operations: ['81-23=58']
Exploring Operation: 58/2=29, Resulting Numbers: [20, 29]
Generated Node #3: [20, 29] from Operation: 58/2=29
Current State: 49:[20, 29], Operations: ['81-23=58', '58/2=29']
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[20, 23, 2, 81], Operations: []
Exploring Operation: 81-20=61, Resulting Numbers: [23, 2, 61]
Generated Node #0,0: 49:[23, 2, 61] Operation: 81-20=61
Exploring Operation: 81-23=58, Resulting Numbers: [20, 2, 58]
Generated Node #0,1: 49:[20, 2, 58] Operation: 81-23=58
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[20, 2, 58], Operations: ['81-23=58']
Exploring Operation: 20/2=10, Resulting Numbers: [58, 10]
Generated Node #0,1,0: 49:[58, 10] Operation: 20/2=10
Exploring Operation: 58-20=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 49:[2, 38] Operation: 58-20=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[58, 10], Operations: ['81-23=58', '20/2=10']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,49 unequal: No Solution
No 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: 49:[2, 38], Operations: ['81-23=58', '58-20=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,49 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: 49:[23, 2, 61], Operations: ['81-20=61']
Exploring Operation: 61-23=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 49:[2, 38] Operation: 61-23=38
Exploring Operation: 23*2=46, Resulting Numbers: [61, 46]
Generated Node #0,0,1: 49:[61, 46] Operation: 23*2=46
Moving to Node #0,0,1
Current State: 49:[61, 46], Operations: ['81-20=61', '23*2=46']
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[2, 38], Operations: ['81-20=61', '61-23=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,49 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 |
[
31,
1,
26,
86
] | 29 | [
"31*1=31",
"86-26=60",
"60-31=29"
] | Current State: 29:[31, 1, 26, 86], Operations: []
Exploring Operation: 31*1=31, Resulting Numbers: [26, 86, 31]
Generated Node #2: [26, 86, 31] from Operation: 31*1=31
Current State: 29:[26, 86, 31], Operations: ['31*1=31']
Exploring Operation: 86-26=60, Resulting Numbers: [31, 60]
Generated Node #3: [31, 60] from Operation: 86-26=60
Current State: 29:[31, 60], Operations: ['31*1=31', '86-26=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[31, 1, 26, 86], Operations: []
Exploring Operation: 86-31=55, Resulting Numbers: [1, 26, 55]
Generated Node #0,0: 29:[1, 26, 55] Operation: 86-31=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[1, 26, 55], Operations: ['86-31=55']
Exploring Operation: 1+26=27, Resulting Numbers: [55, 27]
Generated Node #0,0,0: 29:[55, 27] Operation: 1+26=27
Moving to Node #0,0,0
Current State: 29:[55, 27], Operations: ['86-31=55', '1+26=27']
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,29 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 |
[
72,
50,
36,
47
] | 11 | [
"72-50=22",
"47-36=11",
"22-11=11"
] | Current State: 11:[72, 50, 36, 47], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [36, 47, 22]
Generated Node #2: [36, 47, 22] from Operation: 72-50=22
Current State: 11:[36, 47, 22], Operations: ['72-50=22']
Exploring Operation: 47-36=11, Resulting Numbers: [22, 11]
Generated Node #3: [22, 11] from Operation: 47-36=11
Current State: 11:[22, 11], Operations: ['72-50=22', '47-36=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[72, 50, 36, 47], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [50, 47, 2]
Generated Node #0,0: 11:[50, 47, 2] Operation: 72/36=2
Exploring Operation: 72-47=25, Resulting Numbers: [50, 36, 25]
Generated Node #0,1: 11:[50, 36, 25] Operation: 72-47=25
Exploring Operation: 72-50=22, Resulting Numbers: [36, 47, 22]
Generated Node #0,2: 11:[36, 47, 22] Operation: 72-50=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[36, 47, 22], Operations: ['72-50=22']
Exploring Operation: 47-36=11, Resulting Numbers: [22, 11]
Generated Node #0,2,0: 11:[22, 11] Operation: 47-36=11
Exploring Operation: 36-22=14, Resulting Numbers: [47, 14]
Generated Node #0,2,1: 11:[47, 14] Operation: 36-22=14
Exploring Operation: 47-22=25, Resulting Numbers: [36, 25]
Generated Node #0,2,2: 11:[36, 25] Operation: 47-22=25
Moving to Node #0,2,0
Current State: 11:[22, 11], Operations: ['72-50=22', '47-36=11']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[72, 50, 36, 47], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [36, 47, 22]
Generated Node #0,2: 11:[36, 47, 22] Operation: 72-50=22
Moving to Node #0,2
Current State: 11:[36, 47, 22], Operations: ['72-50=22']
Exploring Operation: 47-36=11, Resulting Numbers: [22, 11]
Generated Node #0,2,0: 11:[22, 11] Operation: 47-36=11
Moving to Node #0,2,0
Current State: 11:[22, 11], Operations: ['72-50=22', '47-36=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
76,
78,
54,
73
] | 60 | [
"76-73=3",
"54/3=18",
"78-18=60"
] | Current State: 60:[76, 78, 54, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [78, 54, 3]
Generated Node #2: [78, 54, 3] from Operation: 76-73=3
Current State: 60:[78, 54, 3], Operations: ['76-73=3']
Exploring Operation: 54/3=18, Resulting Numbers: [78, 18]
Generated Node #3: [78, 18] from Operation: 54/3=18
Current State: 60:[78, 18], Operations: ['76-73=3', '54/3=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[76, 78, 54, 73], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [54, 73, 2]
Generated Node #0,0: 60:[54, 73, 2] Operation: 78-76=2
Exploring Operation: 76-73=3, Resulting Numbers: [78, 54, 3]
Generated Node #0,1: 60:[78, 54, 3] Operation: 76-73=3
Exploring Operation: 78-73=5, Resulting Numbers: [76, 54, 5]
Generated Node #0,2: 60:[76, 54, 5] Operation: 78-73=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[54, 73, 2], Operations: ['78-76=2']
Exploring Operation: 54+2=56, Resulting Numbers: [73, 56]
Generated Node #0,0,0: 60:[73, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [73, 27]
Generated Node #0,0,1: 60:[73, 27] Operation: 54/2=27
Exploring Operation: 73-54=19, Resulting Numbers: [2, 19]
Generated Node #0,0,2: 60:[2, 19] Operation: 73-54=19
Moving to Node #0,0,2
Current State: 60:[2, 19], Operations: ['78-76=2', '73-54=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[73, 27], Operations: ['78-76=2', '54/2=27']
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,60 unequal: No Solution
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,60 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[73, 56], Operations: ['78-76=2', '54+2=56']
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,60 unequal: No Solution
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[76, 54, 5], Operations: ['78-73=5']
Exploring Operation: 76-5=71, Resulting Numbers: [54, 71]
Generated Node #0,2,0: 60:[54, 71] Operation: 76-5=71
Exploring Operation: 54+5=59, Resulting Numbers: [76, 59]
Generated Node #0,2,1: 60:[76, 59] Operation: 54+5=59
Exploring Operation: 76-54=22, Resulting Numbers: [5, 22]
Generated Node #0,2,2: 60:[5, 22] Operation: 76-54=22
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[5, 22], Operations: ['78-73=5', '76-54=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[54, 71], Operations: ['78-73=5', '76-5=71']
Exploring Operation: 54+71=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 54*71=3834, Resulting Numbers: [3834]
3834,60 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[76, 59], Operations: ['78-73=5', '54+5=59']
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,60 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,60 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[78, 54, 3], Operations: ['76-73=3']
Exploring Operation: 78/3=26, Resulting Numbers: [54, 26]
Generated Node #0,1,0: 60:[54, 26] Operation: 78/3=26
Exploring Operation: 78-54=24, Resulting Numbers: [3, 24]
Generated Node #0,1,1: 60:[3, 24] Operation: 78-54=24
Exploring Operation: 54/3=18, Resulting Numbers: [78, 18]
Generated Node #0,1,2: 60:[78, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[3, 24], Operations: ['76-73=3', '78-54=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[54, 26], Operations: ['76-73=3', '78/3=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,60 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[78, 18], Operations: ['76-73=3', '54/3=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[76, 78, 54, 73], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [78, 54, 3]
Generated Node #0,1: 60:[78, 54, 3] Operation: 76-73=3
Moving to Node #0,1
Current State: 60:[78, 54, 3], Operations: ['76-73=3']
Exploring Operation: 54/3=18, Resulting Numbers: [78, 18]
Generated Node #0,1,2: 60:[78, 18] Operation: 54/3=18
Moving to Node #0,1,2
Current State: 60:[78, 18], Operations: ['76-73=3', '54/3=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_3 | mult_heuristic |
[
49,
47,
74,
50
] | 62 | [
"49-47=2",
"74+50=124",
"124/2=62"
] | Current State: 62:[49, 47, 74, 50], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [74, 50, 2]
Generated Node #2: [74, 50, 2] from Operation: 49-47=2
Current State: 62:[74, 50, 2], Operations: ['49-47=2']
Exploring Operation: 74+50=124, Resulting Numbers: [2, 124]
Generated Node #3: [2, 124] from Operation: 74+50=124
Current State: 62:[2, 124], Operations: ['49-47=2', '74+50=124']
Exploring Operation: 124/2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[49, 47, 74, 50], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [49, 74, 3]
Generated Node #0,0: 62:[49, 74, 3] Operation: 50-47=3
Exploring Operation: 49-47=2, Resulting Numbers: [74, 50, 2]
Generated Node #0,1: 62:[74, 50, 2] Operation: 49-47=2
Moving to Node #0,1
Current State: 62:[74, 50, 2], Operations: ['49-47=2']
Exploring Operation: 74-50=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 62:[2, 24] Operation: 74-50=24
Exploring Operation: 74/2=37, Resulting Numbers: [50, 37]
Generated Node #0,1,1: 62:[50, 37] Operation: 74/2=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[2, 24], Operations: ['49-47=2', '74-50=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[50, 37], Operations: ['49-47=2', '74/2=37']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 62:[49, 74, 3], Operations: ['50-47=3']
Exploring Operation: 74-49=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 62:[3, 25] Operation: 74-49=25
Exploring Operation: 49+3=52, Resulting Numbers: [74, 52]
Generated Node #0,0,1: 62:[74, 52] Operation: 49+3=52
Moving to Node #0,0,0
Current State: 62:[3, 25], Operations: ['50-47=3', '74-49=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[74, 52], Operations: ['50-47=3', '49+3=52']
Exploring Operation: 74+52=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,62 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
8,
97,
81
] | 41 | [
"88-81=7",
"8*7=56",
"97-56=41"
] | Current State: 41:[88, 8, 97, 81], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [8, 97, 7]
Generated Node #2: [8, 97, 7] from Operation: 88-81=7
Current State: 41:[8, 97, 7], Operations: ['88-81=7']
Exploring Operation: 8*7=56, Resulting Numbers: [97, 56]
Generated Node #3: [97, 56] from Operation: 8*7=56
Current State: 41:[97, 56], Operations: ['88-81=7', '8*7=56']
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[88, 8, 97, 81], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [97, 81, 11]
Generated Node #0,0: 41:[97, 81, 11] Operation: 88/8=11
Exploring Operation: 97-88=9, Resulting Numbers: [8, 81, 9]
Generated Node #0,1: 41:[8, 81, 9] Operation: 97-88=9
Exploring Operation: 88-8=80, Resulting Numbers: [97, 81, 80]
Generated Node #0,2: 41:[97, 81, 80] Operation: 88-8=80
Exploring Operation: 97-81=16, Resulting Numbers: [88, 8, 16]
Generated Node #0,3: 41:[88, 8, 16] Operation: 97-81=16
Exploring Operation: 88-81=7, Resulting Numbers: [8, 97, 7]
Generated Node #0,4: 41:[8, 97, 7] Operation: 88-81=7
Moving to Node #0,1
Current State: 41:[8, 81, 9], Operations: ['97-88=9']
Exploring Operation: 8+9=17, Resulting Numbers: [81, 17]
Generated Node #0,1,0: 41:[81, 17] Operation: 8+9=17
Exploring Operation: 8*9=72, Resulting Numbers: [81, 72]
Generated Node #0,1,1: 41:[81, 72] Operation: 8*9=72
Exploring Operation: 81-9=72, Resulting Numbers: [8, 72]
Generated Node #0,1,2: 41:[8, 72] Operation: 81-9=72
Exploring Operation: 81-8=73, Resulting Numbers: [9, 73]
Generated Node #0,1,3: 41:[9, 73] Operation: 81-8=73
Exploring Operation: 81/9=9, Resulting Numbers: [8, 9]
Generated Node #0,1,4: 41:[8, 9] Operation: 81/9=9
Moving to Node #0,3
Current State: 41:[88, 8, 16], Operations: ['97-81=16']
Exploring Operation: 8+16=24, Resulting Numbers: [88, 24]
Generated Node #0,3,0: 41:[88, 24] Operation: 8+16=24
Exploring Operation: 88+8=96, Resulting Numbers: [16, 96]
Generated Node #0,3,1: 41:[16, 96] Operation: 88+8=96
Exploring Operation: 88/8=11, Resulting Numbers: [16, 11]
Generated Node #0,3,2: 41:[16, 11] Operation: 88/8=11
Exploring Operation: 88-16=72, Resulting Numbers: [8, 72]
Generated Node #0,3,3: 41:[8, 72] Operation: 88-16=72
Exploring Operation: 88-8=80, Resulting Numbers: [16, 80]
Generated Node #0,3,4: 41:[16, 80] Operation: 88-8=80
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[16, 11], Operations: ['97-81=16', '88/8=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[88, 24], Operations: ['97-81=16', '8+16=24']
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 88*24=2112, Resulting Numbers: [2112]
2112,41 unequal: No Solution
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[8, 72], Operations: ['97-81=16', '88-16=72']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 8*72=576, Resulting Numbers: [576]
576,41 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[16, 80], Operations: ['97-81=16', '88-8=80']
Exploring Operation: 16+80=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 16*80=1280, Resulting Numbers: [1280]
1280,41 unequal: No Solution
Exploring Operation: 80/16=5, Resulting Numbers: [5]
5,41 unequal: No Solution
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[16, 96], Operations: ['97-81=16', '88+8=96']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 16*96=1536, Resulting Numbers: [1536]
1536,41 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 16+96=112, Resulting Numbers: [112]
112,41 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: 41:[8, 97, 7], Operations: ['88-81=7']
Exploring Operation: 97-7=90, Resulting Numbers: [8, 90]
Generated Node #0,4,0: 41:[8, 90] Operation: 97-7=90
Exploring Operation: 8+7=15, Resulting Numbers: [97, 15]
Generated Node #0,4,1: 41:[97, 15] Operation: 8+7=15
Exploring Operation: 97-8=89, Resulting Numbers: [7, 89]
Generated Node #0,4,2: 41:[7, 89] Operation: 97-8=89
Exploring Operation: 8*7=56, Resulting Numbers: [97, 56]
Generated Node #0,4,3: 41:[97, 56] Operation: 8*7=56
Exploring Operation: 8-7=1, Resulting Numbers: [97, 1]
Generated Node #0,4,4: 41:[97, 1] Operation: 8-7=1
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[97, 56], Operations: ['88-81=7', '8*7=56']
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,41 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[88, 8, 97, 81], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [8, 97, 7]
Generated Node #0,4: 41:[8, 97, 7] Operation: 88-81=7
Moving to Node #0,4
Current State: 41:[8, 97, 7], Operations: ['88-81=7']
Exploring Operation: 8*7=56, Resulting Numbers: [97, 56]
Generated Node #0,4,3: 41:[97, 56] Operation: 8*7=56
Moving to Node #0,4,3
Current State: 41:[97, 56], Operations: ['88-81=7', '8*7=56']
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
32,
84,
74,
39
] | 37 | [
"74-32=42",
"84/42=2",
"39-2=37"
] | Current State: 37:[32, 84, 74, 39], Operations: []
Exploring Operation: 74-32=42, Resulting Numbers: [84, 39, 42]
Generated Node #2: [84, 39, 42] from Operation: 74-32=42
Current State: 37:[84, 39, 42], Operations: ['74-32=42']
Exploring Operation: 84/42=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 84/42=2
Current State: 37:[39, 2], Operations: ['74-32=42', '84/42=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[32, 84, 74, 39], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [32, 39, 10]
Generated Node #0,0: 37:[32, 39, 10] Operation: 84-74=10
Exploring Operation: 84-39=45, Resulting Numbers: [32, 74, 45]
Generated Node #0,1: 37:[32, 74, 45] Operation: 84-39=45
Exploring Operation: 84-32=52, Resulting Numbers: [74, 39, 52]
Generated Node #0,2: 37:[74, 39, 52] Operation: 84-32=52
Moving to Node #0,0
Current State: 37:[32, 39, 10], Operations: ['84-74=10']
Exploring Operation: 32-10=22, Resulting Numbers: [39, 22]
Generated Node #0,0,0: 37:[39, 22] Operation: 32-10=22
Exploring Operation: 32+10=42, Resulting Numbers: [39, 42]
Generated Node #0,0,1: 37:[39, 42] Operation: 32+10=42
Exploring Operation: 39-10=29, Resulting Numbers: [32, 29]
Generated Node #0,0,2: 37:[32, 29] Operation: 39-10=29
Moving to Node #0,1
Current State: 37:[32, 74, 45], Operations: ['84-39=45']
Exploring Operation: 74-32=42, Resulting Numbers: [45, 42]
Generated Node #0,1,0: 37:[45, 42] Operation: 74-32=42
Exploring Operation: 45-32=13, Resulting Numbers: [74, 13]
Generated Node #0,1,1: 37:[74, 13] Operation: 45-32=13
Exploring Operation: 74-45=29, Resulting Numbers: [32, 29]
Generated Node #0,1,2: 37:[32, 29] Operation: 74-45=29
Moving to Node #0,2
Current State: 37:[74, 39, 52], Operations: ['84-32=52']
Exploring Operation: 52-39=13, Resulting Numbers: [74, 13]
Generated Node #0,2,0: 37:[74, 13] Operation: 52-39=13
Exploring Operation: 74-52=22, Resulting Numbers: [39, 22]
Generated Node #0,2,1: 37:[39, 22] Operation: 74-52=22
Exploring Operation: 74-39=35, Resulting Numbers: [52, 35]
Generated Node #0,2,2: 37:[52, 35] Operation: 74-39=35
Moving to Node #0,0,1
Current State: 37:[39, 42], Operations: ['84-74=10', '32+10=42']
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,37 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[32, 29], Operations: ['84-74=10', '39-10=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,37 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[32, 29], Operations: ['84-39=45', '74-45=29']
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,37 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[45, 42], Operations: ['84-39=45', '74-32=42']
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,37 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[39, 22], Operations: ['84-74=10', '32-10=22']
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,37 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[52, 35], Operations: ['84-32=52', '74-39=35']
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,37 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[39, 22], Operations: ['84-32=52', '74-52=22']
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,37 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[74, 13], Operations: ['84-32=52', '52-39=13']
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,37 unequal: No Solution
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[74, 13], Operations: ['84-39=45', '45-32=13']
Exploring Operation: 74+13=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 74*13=962, Resulting Numbers: [962]
962,37 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
19,
40,
23
] | 99 | [
"40/10=4",
"19*4=76",
"23+76=99"
] | Current State: 99:[10, 19, 40, 23], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [19, 23, 4]
Generated Node #2: [19, 23, 4] from Operation: 40/10=4
Current State: 99:[19, 23, 4], Operations: ['40/10=4']
Exploring Operation: 19*4=76, Resulting Numbers: [23, 76]
Generated Node #3: [23, 76] from Operation: 19*4=76
Current State: 99:[23, 76], Operations: ['40/10=4', '19*4=76']
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[10, 19, 40, 23], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [10, 40, 4]
Generated Node #0,0: 99:[10, 40, 4] Operation: 23-19=4
Moving to Node #0,0
Current State: 99:[10, 40, 4], Operations: ['23-19=4']
Exploring Operation: 40/10=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 99:[4, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[4, 4], Operations: ['23-19=4', '40/10=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,99 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 |
[
92,
8,
98,
2
] | 70 | [
"92-8=84",
"2*84=168",
"168-98=70"
] | Current State: 70:[92, 8, 98, 2], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [98, 2, 84]
Generated Node #2: [98, 2, 84] from Operation: 92-8=84
Current State: 70:[98, 2, 84], Operations: ['92-8=84']
Exploring Operation: 2*84=168, Resulting Numbers: [98, 168]
Generated Node #3: [98, 168] from Operation: 2*84=168
Current State: 70:[98, 168], Operations: ['92-8=84', '2*84=168']
Exploring Operation: 168-98=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[92, 8, 98, 2], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [92, 2, 90]
Generated Node #0,0: 70:[92, 2, 90] Operation: 98-8=90
Exploring Operation: 98/2=49, Resulting Numbers: [92, 8, 49]
Generated Node #0,1: 70:[92, 8, 49] Operation: 98/2=49
Exploring Operation: 98-92=6, Resulting Numbers: [8, 2, 6]
Generated Node #0,2: 70:[8, 2, 6] Operation: 98-92=6
Exploring Operation: 92-8=84, Resulting Numbers: [98, 2, 84]
Generated Node #0,3: 70:[98, 2, 84] Operation: 92-8=84
Exploring Operation: 92/2=46, Resulting Numbers: [8, 98, 46]
Generated Node #0,4: 70:[8, 98, 46] Operation: 92/2=46
Moving to Node #0,2
Current State: 70:[8, 2, 6], Operations: ['98-92=6']
Exploring Operation: 8/2=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 70:[6, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [6, 6]
Generated Node #0,2,1: 70:[6, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [6, 10]
Generated Node #0,2,2: 70:[6, 10] Operation: 8+2=10
Exploring Operation: 8+6=14, Resulting Numbers: [2, 14]
Generated Node #0,2,3: 70:[2, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [2, 2]
Generated Node #0,2,4: 70:[2, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[2, 14], Operations: ['98-92=6', '8+6=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
No 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: 70:[2, 2], Operations: ['98-92=6', '8-6=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No 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: 70:[6, 10], Operations: ['98-92=6', '8+2=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,70 unequal: No Solution
No 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: 70:[6, 4], Operations: ['98-92=6', '8/2=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No 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: 70:[6, 6], Operations: ['98-92=6', '8-2=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,70 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: 70:[92, 8, 49], Operations: ['98/2=49']
Exploring Operation: 92-49=43, Resulting Numbers: [8, 43]
Generated Node #0,1,0: 70:[8, 43] Operation: 92-49=43
Exploring Operation: 8+49=57, Resulting Numbers: [92, 57]
Generated Node #0,1,1: 70:[92, 57] Operation: 8+49=57
Exploring Operation: 92+8=100, Resulting Numbers: [49, 100]
Generated Node #0,1,2: 70:[49, 100] Operation: 92+8=100
Exploring Operation: 92-8=84, Resulting Numbers: [49, 84]
Generated Node #0,1,3: 70:[49, 84] Operation: 92-8=84
Exploring Operation: 49-8=41, Resulting Numbers: [92, 41]
Generated Node #0,1,4: 70:[92, 41] Operation: 49-8=41
Moving to Node #0,4
Current State: 70:[8, 98, 46], Operations: ['92/2=46']
Exploring Operation: 98-46=52, Resulting Numbers: [8, 52]
Generated Node #0,4,0: 70:[8, 52] Operation: 98-46=52
Exploring Operation: 46-8=38, Resulting Numbers: [98, 38]
Generated Node #0,4,1: 70:[98, 38] Operation: 46-8=38
Exploring Operation: 98-8=90, Resulting Numbers: [46, 90]
Generated Node #0,4,2: 70:[46, 90] Operation: 98-8=90
Exploring Operation: 8+98=106, Resulting Numbers: [46, 106]
Generated Node #0,4,3: 70:[46, 106] Operation: 8+98=106
Exploring Operation: 8+46=54, Resulting Numbers: [98, 54]
Generated Node #0,4,4: 70:[98, 54] Operation: 8+46=54
Moving to Node #0,0
Current State: 70:[92, 2, 90], Operations: ['98-8=90']
Exploring Operation: 90-2=88, Resulting Numbers: [92, 88]
Generated Node #0,0,0: 70:[92, 88] Operation: 90-2=88
Exploring Operation: 92/2=46, Resulting Numbers: [90, 46]
Generated Node #0,0,1: 70:[90, 46] Operation: 92/2=46
Exploring Operation: 92-90=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 70:[2, 2] Operation: 92-90=2
Exploring Operation: 90/2=45, Resulting Numbers: [92, 45]
Generated Node #0,0,3: 70:[92, 45] Operation: 90/2=45
Exploring Operation: 92-2=90, Resulting Numbers: [90, 90]
Generated Node #0,0,4: 70:[90, 90] Operation: 92-2=90
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[2, 2], Operations: ['98-8=90', '92-90=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,70 unequal: No Solution
No 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: 70:[90, 46], Operations: ['98-8=90', '92/2=46']
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,70 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No 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: 70:[92, 45], Operations: ['98-8=90', '90/2=45']
Exploring Operation: 92*45=4140, Resulting Numbers: [4140]
4140,70 unequal: No Solution
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 92+45=137, Resulting Numbers: [137]
137,70 unequal: No Solution
No 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: 70:[92, 88], Operations: ['98-8=90', '90-2=88']
Exploring Operation: 92+88=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 92-88=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 92*88=8096, Resulting Numbers: [8096]
8096,70 unequal: No Solution
No 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: 70:[90, 90], Operations: ['98-8=90', '92-2=90']
Exploring Operation: 90*90=8100, Resulting Numbers: [8100]
8100,70 unequal: No Solution
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,70 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: 70:[98, 2, 84], Operations: ['92-8=84']
Exploring Operation: 98-84=14, Resulting Numbers: [2, 14]
Generated Node #0,3,0: 70:[2, 14] Operation: 98-84=14
Exploring Operation: 98-2=96, Resulting Numbers: [84, 96]
Generated Node #0,3,1: 70:[84, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [84, 49]
Generated Node #0,3,2: 70:[84, 49] Operation: 98/2=49
Exploring Operation: 84/2=42, Resulting Numbers: [98, 42]
Generated Node #0,3,3: 70:[98, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [98, 82]
Generated Node #0,3,4: 70:[98, 82] Operation: 84-2=82
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[2, 14], Operations: ['92-8=84', '98-84=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,70 unequal: No Solution
No 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: 70:[84, 49], Operations: ['92-8=84', '98/2=49']
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,70 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,70 unequal: No Solution
No 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: 70:[98, 42], Operations: ['92-8=84', '84/2=42']
Exploring Operation: 98+42=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 98*42=4116, Resulting Numbers: [4116]
4116,70 unequal: No Solution
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No 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: 70:[84, 96], Operations: ['92-8=84', '98-2=96']
Exploring Operation: 84*96=8064, Resulting Numbers: [8064]
8064,70 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 84+96=180, Resulting Numbers: [180]
180,70 unequal: No Solution
No 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: 70:[98, 82], Operations: ['92-8=84', '84-2=82']
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 98+82=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 98*82=8036, Resulting Numbers: [8036]
8036,70 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: 70:[8, 43], Operations: ['98/2=49', '92-49=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,70 unequal: No Solution
Moving to Node #0,4,0
Current State: 70:[8, 52], Operations: ['92/2=46', '98-46=52']
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,70 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[92, 41], Operations: ['98/2=49', '49-8=41']
Exploring Operation: 92+41=133, Resulting Numbers: [133]
133,70 unequal: No Solution
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 92*41=3772, Resulting Numbers: [3772]
3772,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[49, 84], Operations: ['98/2=49', '92-8=84']
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,70 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,70 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[98, 38], Operations: ['92/2=46', '46-8=38']
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[46, 90], Operations: ['92/2=46', '98-8=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[92, 57], Operations: ['98/2=49', '8+49=57']
Exploring Operation: 92*57=5244, Resulting Numbers: [5244]
5244,70 unequal: No Solution
Exploring Operation: 92+57=149, Resulting Numbers: [149]
149,70 unequal: No Solution
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[98, 54], Operations: ['92/2=46', '8+46=54']
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,70 unequal: No Solution
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,70 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[49, 100], Operations: ['98/2=49', '92+8=100']
Exploring Operation: 49+100=149, Resulting Numbers: [149]
149,70 unequal: No Solution
Exploring Operation: 49*100=4900, Resulting Numbers: [4900]
4900,70 unequal: No Solution
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[46, 106], Operations: ['92/2=46', '8+98=106']
Exploring Operation: 46+106=152, Resulting Numbers: [152]
152,70 unequal: No Solution
Exploring Operation: 46*106=4876, Resulting Numbers: [4876]
4876,70 unequal: No Solution
Exploring Operation: 106-46=60, Resulting Numbers: [60]
60,70 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
89,
24,
34,
91
] | 82 | [
"91-89=2",
"24*2=48",
"34+48=82"
] | Current State: 82:[89, 24, 34, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [24, 34, 2]
Generated Node #2: [24, 34, 2] from Operation: 91-89=2
Current State: 82:[24, 34, 2], Operations: ['91-89=2']
Exploring Operation: 24*2=48, Resulting Numbers: [34, 48]
Generated Node #3: [34, 48] from Operation: 24*2=48
Current State: 82:[34, 48], Operations: ['91-89=2', '24*2=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[89, 24, 34, 91], Operations: []
Exploring Operation: 24+34=58, Resulting Numbers: [89, 91, 58]
Generated Node #0,0: 82:[89, 91, 58] Operation: 24+34=58
Exploring Operation: 91-89=2, Resulting Numbers: [24, 34, 2]
Generated Node #0,1: 82:[24, 34, 2] Operation: 91-89=2
Exploring Operation: 34-24=10, Resulting Numbers: [89, 91, 10]
Generated Node #0,2: 82:[89, 91, 10] Operation: 34-24=10
Exploring Operation: 91-24=67, Resulting Numbers: [89, 34, 67]
Generated Node #0,3: 82:[89, 34, 67] Operation: 91-24=67
Exploring Operation: 89-24=65, Resulting Numbers: [34, 91, 65]
Generated Node #0,4: 82:[34, 91, 65] Operation: 89-24=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[24, 34, 2], Operations: ['91-89=2']
Exploring Operation: 24+2=26, Resulting Numbers: [34, 26]
Generated Node #0,1,0: 82:[34, 26] Operation: 24+2=26
Exploring Operation: 24+34=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 82:[2, 58] Operation: 24+34=58
Exploring Operation: 24*2=48, Resulting Numbers: [34, 48]
Generated Node #0,1,2: 82:[34, 48] Operation: 24*2=48
Exploring Operation: 34-24=10, Resulting Numbers: [2, 10]
Generated Node #0,1,3: 82:[2, 10] Operation: 34-24=10
Exploring Operation: 24/2=12, Resulting Numbers: [34, 12]
Generated Node #0,1,4: 82:[34, 12] Operation: 24/2=12
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 82:[2, 10], Operations: ['91-89=2', '34-24=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,82 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[34, 48], Operations: ['91-89=2', '24*2=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[89, 24, 34, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [24, 34, 2]
Generated Node #0,1: 82:[24, 34, 2] Operation: 91-89=2
Moving to Node #0,1
Current State: 82:[24, 34, 2], Operations: ['91-89=2']
Exploring Operation: 24*2=48, Resulting Numbers: [34, 48]
Generated Node #0,1,2: 82:[34, 48] Operation: 24*2=48
Moving to Node #0,1,2
Current State: 82:[34, 48], Operations: ['91-89=2', '24*2=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
52,
54,
18,
24
] | 20 | [
"54/18=3",
"24*3=72",
"72-52=20"
] | Current State: 20:[52, 54, 18, 24], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [52, 24, 3]
Generated Node #2: [52, 24, 3] from Operation: 54/18=3
Current State: 20:[52, 24, 3], Operations: ['54/18=3']
Exploring Operation: 24*3=72, Resulting Numbers: [52, 72]
Generated Node #3: [52, 72] from Operation: 24*3=72
Current State: 20:[52, 72], Operations: ['54/18=3', '24*3=72']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[52, 54, 18, 24], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [52, 24, 3]
Generated Node #0,0: 20:[52, 24, 3] Operation: 54/18=3
Exploring Operation: 52-24=28, Resulting Numbers: [54, 18, 28]
Generated Node #0,1: 20:[54, 18, 28] Operation: 52-24=28
Exploring Operation: 54-52=2, Resulting Numbers: [18, 24, 2]
Generated Node #0,2: 20:[18, 24, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[18, 24, 2], Operations: ['54-52=2']
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 20:[2, 6] Operation: 24-18=6
Exploring Operation: 18+2=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 20:[24, 20] Operation: 18+2=20
Exploring Operation: 24-2=22, Resulting Numbers: [18, 22]
Generated Node #0,2,2: 20:[18, 22] Operation: 24-2=22
Moving to Node #0,2,0
Current State: 20:[2, 6], Operations: ['54-52=2', '24-18=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[24, 20], Operations: ['54-52=2', '18+2=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,20 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[18, 22], Operations: ['54-52=2', '24-2=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,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,0
Current State: 20:[52, 24, 3], Operations: ['54/18=3']
Exploring Operation: 52-3=49, Resulting Numbers: [24, 49]
Generated Node #0,0,0: 20:[24, 49] Operation: 52-3=49
Exploring Operation: 52-24=28, Resulting Numbers: [3, 28]
Generated Node #0,0,1: 20:[3, 28] Operation: 52-24=28
Exploring Operation: 24-3=21, Resulting Numbers: [52, 21]
Generated Node #0,0,2: 20:[52, 21] Operation: 24-3=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[3, 28], Operations: ['54/18=3', '52-24=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,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,0,0
Current State: 20:[24, 49], Operations: ['54/18=3', '52-3=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,20 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,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,0,2
Current State: 20:[52, 21], Operations: ['54/18=3', '24-3=21']
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,20 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,20 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[54, 18, 28], Operations: ['52-24=28']
Exploring Operation: 54-18=36, Resulting Numbers: [28, 36]
Generated Node #0,1,0: 20:[28, 36] Operation: 54-18=36
Exploring Operation: 54-28=26, Resulting Numbers: [18, 26]
Generated Node #0,1,1: 20:[18, 26] Operation: 54-28=26
Exploring Operation: 54/18=3, Resulting Numbers: [28, 3]
Generated Node #0,1,2: 20:[28, 3] Operation: 54/18=3
Moving to Node #0,1,1
Current State: 20:[18, 26], Operations: ['52-24=28', '54-28=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,20 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[28, 3], Operations: ['52-24=28', '54/18=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[28, 36], Operations: ['52-24=28', '54-18=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,20 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
9,
63,
97,
5
] | 40 | [
"9-5=4",
"63+97=160",
"160/4=40"
] | Current State: 40:[9, 63, 97, 5], Operations: []
Exploring Operation: 9-5=4, Resulting Numbers: [63, 97, 4]
Generated Node #2: [63, 97, 4] from Operation: 9-5=4
Current State: 40:[63, 97, 4], Operations: ['9-5=4']
Exploring Operation: 63+97=160, Resulting Numbers: [4, 160]
Generated Node #3: [4, 160] from Operation: 63+97=160
Current State: 40:[4, 160], Operations: ['9-5=4', '63+97=160']
Exploring Operation: 160/4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[9, 63, 97, 5], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [9, 5, 34]
Generated Node #0,0: 40:[9, 5, 34] Operation: 97-63=34
Exploring Operation: 63/9=7, Resulting Numbers: [97, 5, 7]
Generated Node #0,1: 40:[97, 5, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [97, 5, 54]
Generated Node #0,2: 40:[97, 5, 54] Operation: 63-9=54
Exploring Operation: 97-9=88, Resulting Numbers: [63, 5, 88]
Generated Node #0,3: 40:[63, 5, 88] Operation: 97-9=88
Moving to Node #0,0
Current State: 40:[9, 5, 34], Operations: ['97-63=34']
Exploring Operation: 9+34=43, Resulting Numbers: [5, 43]
Generated Node #0,0,0: 40:[5, 43] Operation: 9+34=43
Exploring Operation: 34-9=25, Resulting Numbers: [5, 25]
Generated Node #0,0,1: 40:[5, 25] Operation: 34-9=25
Exploring Operation: 5+34=39, Resulting Numbers: [9, 39]
Generated Node #0,0,2: 40:[9, 39] Operation: 5+34=39
Exploring Operation: 9-5=4, Resulting Numbers: [34, 4]
Generated Node #0,0,3: 40:[34, 4] Operation: 9-5=4
Moving to Node #0,1
Current State: 40:[97, 5, 7], Operations: ['63/9=7']
Exploring Operation: 7-5=2, Resulting Numbers: [97, 2]
Generated Node #0,1,0: 40:[97, 2] Operation: 7-5=2
Exploring Operation: 97-7=90, Resulting Numbers: [5, 90]
Generated Node #0,1,1: 40:[5, 90] Operation: 97-7=90
Exploring Operation: 5+7=12, Resulting Numbers: [97, 12]
Generated Node #0,1,2: 40:[97, 12] Operation: 5+7=12
Exploring Operation: 97-5=92, Resulting Numbers: [7, 92]
Generated Node #0,1,3: 40:[7, 92] Operation: 97-5=92
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[5, 90], Operations: ['63/9=7', '97-7=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,40 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,40 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,40 unequal: No Solution
No 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: 40:[7, 92], Operations: ['63/9=7', '97-5=92']
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,40 unequal: No Solution
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,40 unequal: No Solution
No 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: 40:[97, 2], Operations: ['63/9=7', '7-5=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 97*2=194, Resulting Numbers: [194]
194,40 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,40 unequal: No Solution
No 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: 40:[97, 12], Operations: ['63/9=7', '5+7=12']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,40 unequal: No Solution
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,40 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,40 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: 40:[63, 5, 88], Operations: ['97-9=88']
Exploring Operation: 63-5=58, Resulting Numbers: [88, 58]
Generated Node #0,3,0: 40:[88, 58] Operation: 63-5=58
Exploring Operation: 88-5=83, Resulting Numbers: [63, 83]
Generated Node #0,3,1: 40:[63, 83] Operation: 88-5=83
Exploring Operation: 88-63=25, Resulting Numbers: [5, 25]
Generated Node #0,3,2: 40:[5, 25] Operation: 88-63=25
Exploring Operation: 63+5=68, Resulting Numbers: [88, 68]
Generated Node #0,3,3: 40:[88, 68] Operation: 63+5=68
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[5, 25], Operations: ['97-9=88', '88-63=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,40 unequal: No Solution
No 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: 40:[88, 58], Operations: ['97-9=88', '63-5=58']
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,40 unequal: No Solution
Exploring Operation: 88*58=5104, Resulting Numbers: [5104]
5104,40 unequal: No Solution
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,40 unequal: No Solution
No 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: 40:[63, 83], Operations: ['97-9=88', '88-5=83']
Exploring Operation: 63+83=146, Resulting Numbers: [146]
146,40 unequal: No Solution
Exploring Operation: 63*83=5229, Resulting Numbers: [5229]
5229,40 unequal: No Solution
Exploring Operation: 83-63=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No 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: 40:[88, 68], Operations: ['97-9=88', '63+5=68']
Exploring Operation: 88+68=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 88*68=5984, Resulting Numbers: [5984]
5984,40 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: 40:[97, 5, 54], Operations: ['63-9=54']
Exploring Operation: 97+5=102, Resulting Numbers: [54, 102]
Generated Node #0,2,0: 40:[54, 102] Operation: 97+5=102
Exploring Operation: 97-54=43, Resulting Numbers: [5, 43]
Generated Node #0,2,1: 40:[5, 43] Operation: 97-54=43
Exploring Operation: 54-5=49, Resulting Numbers: [97, 49]
Generated Node #0,2,2: 40:[97, 49] Operation: 54-5=49
Exploring Operation: 97-5=92, Resulting Numbers: [54, 92]
Generated Node #0,2,3: 40:[54, 92] Operation: 97-5=92
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[5, 43], Operations: ['63-9=54', '97-54=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,40 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No 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: 40:[97, 49], Operations: ['63-9=54', '54-5=49']
Exploring Operation: 97*49=4753, Resulting Numbers: [4753]
4753,40 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,40 unequal: No Solution
No 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: 40:[54, 92], Operations: ['63-9=54', '97-5=92']
Exploring Operation: 54*92=4968, Resulting Numbers: [4968]
4968,40 unequal: No Solution
Exploring Operation: 54+92=146, Resulting Numbers: [146]
146,40 unequal: No Solution
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No 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: 40:[54, 102], Operations: ['63-9=54', '97+5=102']
Exploring Operation: 54+102=156, Resulting Numbers: [156]
156,40 unequal: No Solution
Exploring Operation: 54*102=5508, Resulting Numbers: [5508]
5508,40 unequal: No Solution
Exploring Operation: 102-54=48, Resulting Numbers: [48]
48,40 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: 40:[9, 39], Operations: ['97-63=34', '5+34=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[5, 43], Operations: ['97-63=34', '9+34=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,40 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[5, 25], Operations: ['97-63=34', '34-9=25']
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,40 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[34, 4], Operations: ['97-63=34', '9-5=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,40 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
14,
44,
89,
2
] | 27 | [
"14+44=58",
"2*58=116",
"116-89=27"
] | Current State: 27:[14, 44, 89, 2], Operations: []
Exploring Operation: 14+44=58, Resulting Numbers: [89, 2, 58]
Generated Node #2: [89, 2, 58] from Operation: 14+44=58
Current State: 27:[89, 2, 58], Operations: ['14+44=58']
Exploring Operation: 2*58=116, Resulting Numbers: [89, 116]
Generated Node #3: [89, 116] from Operation: 2*58=116
Current State: 27:[89, 116], Operations: ['14+44=58', '2*58=116']
Exploring Operation: 116-89=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[14, 44, 89, 2], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [14, 2, 45]
Generated Node #0,0: 27:[14, 2, 45] Operation: 89-44=45
Exploring Operation: 44-14=30, Resulting Numbers: [89, 2, 30]
Generated Node #0,1: 27:[89, 2, 30] Operation: 44-14=30
Moving to Node #0,0
Current State: 27:[14, 2, 45], Operations: ['89-44=45']
Exploring Operation: 45-14=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 27:[2, 31] Operation: 45-14=31
Exploring Operation: 14*2=28, Resulting Numbers: [45, 28]
Generated Node #0,0,1: 27:[45, 28] Operation: 14*2=28
Moving to Node #0,1
Current State: 27:[89, 2, 30], Operations: ['44-14=30']
Exploring Operation: 89-2=87, Resulting Numbers: [30, 87]
Generated Node #0,1,0: 27:[30, 87] Operation: 89-2=87
Exploring Operation: 89-30=59, Resulting Numbers: [2, 59]
Generated Node #0,1,1: 27:[2, 59] Operation: 89-30=59
Moving to Node #0,0,0
Current State: 27:[2, 31], Operations: ['89-44=45', '45-14=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[45, 28], Operations: ['89-44=45', '14*2=28']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[2, 59], Operations: ['44-14=30', '89-30=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[30, 87], Operations: ['44-14=30', '89-2=87']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 30+87=117, Resulting Numbers: [117]
117,27 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
1,
43,
91,
73
] | 62 | [
"1+43=44",
"91-73=18",
"44+18=62"
] | Current State: 62:[1, 43, 91, 73], Operations: []
Exploring Operation: 1+43=44, Resulting Numbers: [91, 73, 44]
Generated Node #2: [91, 73, 44] from Operation: 1+43=44
Current State: 62:[91, 73, 44], Operations: ['1+43=44']
Exploring Operation: 91-73=18, Resulting Numbers: [44, 18]
Generated Node #3: [44, 18] from Operation: 91-73=18
Current State: 62:[44, 18], Operations: ['1+43=44', '91-73=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[1, 43, 91, 73], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [1, 43, 18]
Generated Node #0,0: 62:[1, 43, 18] Operation: 91-73=18
Exploring Operation: 43-1=42, Resulting Numbers: [91, 73, 42]
Generated Node #0,1: 62:[91, 73, 42] Operation: 43-1=42
Exploring Operation: 73-43=30, Resulting Numbers: [1, 91, 30]
Generated Node #0,2: 62:[1, 91, 30] Operation: 73-43=30
Exploring Operation: 91-1=90, Resulting Numbers: [43, 73, 90]
Generated Node #0,3: 62:[43, 73, 90] Operation: 91-1=90
Exploring Operation: 91-43=48, Resulting Numbers: [1, 73, 48]
Generated Node #0,4: 62:[1, 73, 48] Operation: 91-43=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[1, 43, 18], Operations: ['91-73=18']
Exploring Operation: 1+18=19, Resulting Numbers: [43, 19]
Generated Node #0,0,0: 62:[43, 19] Operation: 1+18=19
Exploring Operation: 43-18=25, Resulting Numbers: [1, 25]
Generated Node #0,0,1: 62:[1, 25] Operation: 43-18=25
Exploring Operation: 1*43=43, Resulting Numbers: [18, 43]
Generated Node #0,0,2: 62:[18, 43] Operation: 1*43=43
Exploring Operation: 43+18=61, Resulting Numbers: [1, 61]
Generated Node #0,0,3: 62:[1, 61] Operation: 43+18=61
Exploring Operation: 43-1=42, Resulting Numbers: [18, 42]
Generated Node #0,0,4: 62:[18, 42] Operation: 43-1=42
Moving to Node #0,0,3
Current State: 62:[1, 61], Operations: ['91-73=18', '43+18=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[1, 43, 91, 73], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [1, 43, 18]
Generated Node #0,0: 62:[1, 43, 18] Operation: 91-73=18
Moving to Node #0,0
Current State: 62:[1, 43, 18], Operations: ['91-73=18']
Exploring Operation: 43+18=61, Resulting Numbers: [1, 61]
Generated Node #0,0,3: 62:[1, 61] Operation: 43+18=61
Moving to Node #0,0,3
Current State: 62:[1, 61], Operations: ['91-73=18', '43+18=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
31,
60,
3,
48
] | 27 | [
"60-48=12",
"12/3=4",
"31-4=27"
] | Current State: 27:[31, 60, 3, 48], Operations: []
Exploring Operation: 60-48=12, Resulting Numbers: [31, 3, 12]
Generated Node #2: [31, 3, 12] from Operation: 60-48=12
Current State: 27:[31, 3, 12], Operations: ['60-48=12']
Exploring Operation: 12/3=4, Resulting Numbers: [31, 4]
Generated Node #3: [31, 4] from Operation: 12/3=4
Current State: 27:[31, 4], Operations: ['60-48=12', '12/3=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[31, 60, 3, 48], Operations: []
Exploring Operation: 60-48=12, Resulting Numbers: [31, 3, 12]
Generated Node #0,0: 27:[31, 3, 12] Operation: 60-48=12
Moving to Node #0,0
Current State: 27:[31, 3, 12], Operations: ['60-48=12']
Exploring Operation: 31-3=28, Resulting Numbers: [12, 28]
Generated Node #0,0,0: 27:[12, 28] Operation: 31-3=28
Moving to Node #0,0,0
Current State: 27:[12, 28], Operations: ['60-48=12', '31-3=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
47,
12,
29
] | 14 | [
"48/12=4",
"47-29=18",
"18-4=14"
] | Current State: 14:[48, 47, 12, 29], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [47, 29, 4]
Generated Node #2: [47, 29, 4] from Operation: 48/12=4
Current State: 14:[47, 29, 4], Operations: ['48/12=4']
Exploring Operation: 47-29=18, Resulting Numbers: [4, 18]
Generated Node #3: [4, 18] from Operation: 47-29=18
Current State: 14:[4, 18], Operations: ['48/12=4', '47-29=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[48, 47, 12, 29], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [12, 29, 1]
Generated Node #0,0: 14:[12, 29, 1] Operation: 48-47=1
Exploring Operation: 48-29=19, Resulting Numbers: [47, 12, 19]
Generated Node #0,1: 14:[47, 12, 19] Operation: 48-29=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[12, 29, 1], Operations: ['48-47=1']
Exploring Operation: 29-12=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 14:[1, 17] Operation: 29-12=17
Exploring Operation: 12+1=13, Resulting Numbers: [29, 13]
Generated Node #0,0,1: 14:[29, 13] Operation: 12+1=13
Moving to Node #0,0,0
Current State: 14:[1, 17], Operations: ['48-47=1', '29-12=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[29, 13], Operations: ['48-47=1', '12+1=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[47, 12, 19], Operations: ['48-29=19']
Exploring Operation: 47-12=35, Resulting Numbers: [19, 35]
Generated Node #0,1,0: 14:[19, 35] Operation: 47-12=35
Exploring Operation: 47-19=28, Resulting Numbers: [12, 28]
Generated Node #0,1,1: 14:[12, 28] Operation: 47-19=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[12, 28], Operations: ['48-29=19', '47-19=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,14 unequal: No Solution
No 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: 14:[19, 35], Operations: ['48-29=19', '47-12=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,14 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 |
[
82,
4,
10,
5
] | 22 | [
"10+5=15",
"4*15=60",
"82-60=22"
] | Current State: 22:[82, 4, 10, 5], Operations: []
Exploring Operation: 10+5=15, Resulting Numbers: [82, 4, 15]
Generated Node #2: [82, 4, 15] from Operation: 10+5=15
Current State: 22:[82, 4, 15], Operations: ['10+5=15']
Exploring Operation: 4*15=60, Resulting Numbers: [82, 60]
Generated Node #3: [82, 60] from Operation: 4*15=60
Current State: 22:[82, 60], Operations: ['10+5=15', '4*15=60']
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[82, 4, 10, 5], Operations: []
Exploring Operation: 82-5=77, Resulting Numbers: [4, 10, 77]
Generated Node #0,0: 22:[4, 10, 77] Operation: 82-5=77
Exploring Operation: 82-10=72, Resulting Numbers: [4, 5, 72]
Generated Node #0,1: 22:[4, 5, 72] Operation: 82-10=72
Exploring Operation: 82-4=78, Resulting Numbers: [10, 5, 78]
Generated Node #0,2: 22:[10, 5, 78] Operation: 82-4=78
Moving to Node #0,1
Current State: 22:[4, 5, 72], Operations: ['82-10=72']
Exploring Operation: 72-5=67, Resulting Numbers: [4, 67]
Generated Node #0,1,0: 22:[4, 67] Operation: 72-5=67
Exploring Operation: 72/4=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 22:[5, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [5, 68]
Generated Node #0,1,2: 22:[5, 68] Operation: 72-4=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[5, 18], Operations: ['82-10=72', '72/4=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[4, 67], Operations: ['82-10=72', '72-5=67']
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,22 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,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:[5, 68], Operations: ['82-10=72', '72-4=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,22 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,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:[4, 10, 77], Operations: ['82-5=77']
Exploring Operation: 77-10=67, Resulting Numbers: [4, 67]
Generated Node #0,0,0: 22:[4, 67] Operation: 77-10=67
Exploring Operation: 77-4=73, Resulting Numbers: [10, 73]
Generated Node #0,0,1: 22:[10, 73] Operation: 77-4=73
Exploring Operation: 4+10=14, Resulting Numbers: [77, 14]
Generated Node #0,0,2: 22:[77, 14] Operation: 4+10=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[4, 67], Operations: ['82-5=77', '77-10=67']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,22 unequal: No Solution
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,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:[10, 73], Operations: ['82-5=77', '77-4=73']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,22 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,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:[77, 14], Operations: ['82-5=77', '4+10=14']
Exploring Operation: 77+14=91, Resulting Numbers: [91]
91,22 unequal: No Solution
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 77*14=1078, Resulting Numbers: [1078]
1078,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:[10, 5, 78], Operations: ['82-4=78']
Exploring Operation: 78-10=68, Resulting Numbers: [5, 68]
Generated Node #0,2,0: 22:[5, 68] Operation: 78-10=68
Exploring Operation: 10/5=2, Resulting Numbers: [78, 2]
Generated Node #0,2,1: 22:[78, 2] Operation: 10/5=2
Exploring Operation: 78-5=73, Resulting Numbers: [10, 73]
Generated Node #0,2,2: 22:[10, 73] Operation: 78-5=73
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[5, 68], Operations: ['82-4=78', '78-10=68']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,22 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,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,2
Current State: 22:[10, 73], Operations: ['82-4=78', '78-5=73']
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,22 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,22 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,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,1
Current State: 22:[78, 2], Operations: ['82-4=78', '10/5=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,22 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,22 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 |
[
52,
88,
40,
65
] | 61 | [
"88-52=36",
"65-40=25",
"36+25=61"
] | Current State: 61:[52, 88, 40, 65], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [40, 65, 36]
Generated Node #2: [40, 65, 36] from Operation: 88-52=36
Current State: 61:[40, 65, 36], Operations: ['88-52=36']
Exploring Operation: 65-40=25, Resulting Numbers: [36, 25]
Generated Node #3: [36, 25] from Operation: 65-40=25
Current State: 61:[36, 25], Operations: ['88-52=36', '65-40=25']
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[52, 88, 40, 65], Operations: []
Exploring Operation: 88-40=48, Resulting Numbers: [52, 65, 48]
Generated Node #0,0: 61:[52, 65, 48] Operation: 88-40=48
Moving to Node #0,0
Current State: 61:[52, 65, 48], Operations: ['88-40=48']
Exploring Operation: 52+48=100, Resulting Numbers: [65, 100]
Generated Node #0,0,0: 61:[65, 100] Operation: 52+48=100
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[65, 100], Operations: ['88-40=48', '52+48=100']
Exploring Operation: 100-65=35, Resulting Numbers: [35]
35,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
19,
19,
79,
57
] | 21 | [
"19/19=1",
"79-57=22",
"22-1=21"
] | Current State: 21:[19, 19, 79, 57], Operations: []
Exploring Operation: 19/19=1, Resulting Numbers: [79, 57, 1]
Generated Node #2: [79, 57, 1] from Operation: 19/19=1
Current State: 21:[79, 57, 1], Operations: ['19/19=1']
Exploring Operation: 79-57=22, Resulting Numbers: [1, 22]
Generated Node #3: [1, 22] from Operation: 79-57=22
Current State: 21:[1, 22], Operations: ['19/19=1', '79-57=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[19, 19, 79, 57], Operations: []
Exploring Operation: 79-19=60, Resulting Numbers: [19, 57, 60]
Generated Node #0,0: 21:[19, 57, 60] Operation: 79-19=60
Exploring Operation: 79-57=22, Resulting Numbers: [19, 19, 22]
Generated Node #0,1: 21:[19, 19, 22] Operation: 79-57=22
Exploring Operation: 57/19=3, Resulting Numbers: [19, 79, 3]
Generated Node #0,2: 21:[19, 79, 3] Operation: 57/19=3
Exploring Operation: 57/19=3, Resulting Numbers: [19, 79, 3]
Generated Node #0,3: 21:[19, 79, 3] Operation: 57/19=3
Moving to Node #0,1
Current State: 21:[19, 19, 22], Operations: ['79-57=22']
Exploring Operation: 22-19=3, Resulting Numbers: [19, 3]
Generated Node #0,1,0: 21:[19, 3] Operation: 22-19=3
Exploring Operation: 19-19=0, Resulting Numbers: [22, 0]
Generated Node #0,1,1: 21:[22, 0] Operation: 19-19=0
Exploring Operation: 19/19=1, Resulting Numbers: [22, 1]
Generated Node #0,1,2: 21:[22, 1] Operation: 19/19=1
Exploring Operation: 22-19=3, Resulting Numbers: [19, 3]
Generated Node #0,1,3: 21:[19, 3] Operation: 22-19=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[19, 3], Operations: ['79-57=22', '22-19=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
No 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: 21:[19, 3], Operations: ['79-57=22', '22-19=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[22, 1], Operations: ['79-57=22', '19/19=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[19, 19, 79, 57], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [19, 19, 22]
Generated Node #0,1: 21:[19, 19, 22] Operation: 79-57=22
Moving to Node #0,1
Current State: 21:[19, 19, 22], Operations: ['79-57=22']
Exploring Operation: 19/19=1, Resulting Numbers: [22, 1]
Generated Node #0,1,2: 21:[22, 1] Operation: 19/19=1
Moving to Node #0,1,2
Current State: 21:[22, 1], Operations: ['79-57=22', '19/19=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
20,
2,
30,
29
] | 19 | [
"20*2=40",
"30+29=59",
"59-40=19"
] | Current State: 19:[20, 2, 30, 29], Operations: []
Exploring Operation: 20*2=40, Resulting Numbers: [30, 29, 40]
Generated Node #2: [30, 29, 40] from Operation: 20*2=40
Current State: 19:[30, 29, 40], Operations: ['20*2=40']
Exploring Operation: 30+29=59, Resulting Numbers: [40, 59]
Generated Node #3: [40, 59] from Operation: 30+29=59
Current State: 19:[40, 59], Operations: ['20*2=40', '30+29=59']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[20, 2, 30, 29], Operations: []
Exploring Operation: 29-2=27, Resulting Numbers: [20, 30, 27]
Generated Node #0,0: 19:[20, 30, 27] Operation: 29-2=27
Exploring Operation: 30/2=15, Resulting Numbers: [20, 29, 15]
Generated Node #0,1: 19:[20, 29, 15] Operation: 30/2=15
Exploring Operation: 20+2=22, Resulting Numbers: [30, 29, 22]
Generated Node #0,2: 19:[30, 29, 22] Operation: 20+2=22
Exploring Operation: 30-2=28, Resulting Numbers: [20, 29, 28]
Generated Node #0,3: 19:[20, 29, 28] Operation: 30-2=28
Exploring Operation: 20-2=18, Resulting Numbers: [30, 29, 18]
Generated Node #0,4: 19:[30, 29, 18] Operation: 20-2=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[20, 29, 15], Operations: ['30/2=15']
Exploring Operation: 29-15=14, Resulting Numbers: [20, 14]
Generated Node #0,1,0: 19:[20, 14] Operation: 29-15=14
Exploring Operation: 20-15=5, Resulting Numbers: [29, 5]
Generated Node #0,1,1: 19:[29, 5] Operation: 20-15=5
Exploring Operation: 29-20=9, Resulting Numbers: [15, 9]
Generated Node #0,1,2: 19:[15, 9] Operation: 29-20=9
Exploring Operation: 20+15=35, Resulting Numbers: [29, 35]
Generated Node #0,1,3: 19:[29, 35] Operation: 20+15=35
Exploring Operation: 29+15=44, Resulting Numbers: [20, 44]
Generated Node #0,1,4: 19:[20, 44] Operation: 29+15=44
Moving to Node #0,1,0
Current State: 19:[20, 14], Operations: ['30/2=15', '29-15=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,19 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[15, 9], Operations: ['30/2=15', '29-20=9']
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,19 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[29, 5], Operations: ['30/2=15', '20-15=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,19 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[29, 35], Operations: ['30/2=15', '20+15=35']
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[20, 44], Operations: ['30/2=15', '29+15=44']
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,19 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[20, 30, 27], Operations: ['29-2=27']
Exploring Operation: 20+27=47, Resulting Numbers: [30, 47]
Generated Node #0,0,0: 19:[30, 47] Operation: 20+27=47
Exploring Operation: 30-27=3, Resulting Numbers: [20, 3]
Generated Node #0,0,1: 19:[20, 3] Operation: 30-27=3
Exploring Operation: 30-20=10, Resulting Numbers: [27, 10]
Generated Node #0,0,2: 19:[27, 10] Operation: 30-20=10
Exploring Operation: 27-20=7, Resulting Numbers: [30, 7]
Generated Node #0,0,3: 19:[30, 7] Operation: 27-20=7
Exploring Operation: 20+30=50, Resulting Numbers: [27, 50]
Generated Node #0,0,4: 19:[27, 50] Operation: 20+30=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[20, 3], Operations: ['29-2=27', '30-27=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[27, 10], Operations: ['29-2=27', '30-20=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,19 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 19:[30, 7], Operations: ['29-2=27', '27-20=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,19 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[30, 47], Operations: ['29-2=27', '20+27=47']
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,19 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 19:[27, 50], Operations: ['29-2=27', '20+30=50']
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,19 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[20, 29, 28], Operations: ['30-2=28']
Exploring Operation: 20+28=48, Resulting Numbers: [29, 48]
Generated Node #0,3,0: 19:[29, 48] Operation: 20+28=48
Exploring Operation: 20+29=49, Resulting Numbers: [28, 49]
Generated Node #0,3,1: 19:[28, 49] Operation: 20+29=49
Exploring Operation: 29-20=9, Resulting Numbers: [28, 9]
Generated Node #0,3,2: 19:[28, 9] Operation: 29-20=9
Exploring Operation: 28-20=8, Resulting Numbers: [29, 8]
Generated Node #0,3,3: 19:[29, 8] Operation: 28-20=8
Exploring Operation: 29-28=1, Resulting Numbers: [20, 1]
Generated Node #0,3,4: 19:[20, 1] Operation: 29-28=1
Moving to Node #0,3,2
Current State: 19:[28, 9], Operations: ['30-2=28', '29-20=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[20, 2, 30, 29], Operations: []
Exploring Operation: 30-2=28, Resulting Numbers: [20, 29, 28]
Generated Node #0,3: 19:[20, 29, 28] Operation: 30-2=28
Moving to Node #0,3
Current State: 19:[20, 29, 28], Operations: ['30-2=28']
Exploring Operation: 29-20=9, Resulting Numbers: [28, 9]
Generated Node #0,3,2: 19:[28, 9] Operation: 29-20=9
Moving to Node #0,3,2
Current State: 19:[28, 9], Operations: ['30-2=28', '29-20=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.